# Google Cloud Vm Migration V1 Client - Class AwsSecurityGroup (1.4.0)

1.4.0 (latest) 1.3.0 1.2.1 1.1.0 1.0.5 0.6.5 0.5.2 0.4.2 0.3.2 0.2.3 Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class AwsSecurityGroup.

AwsSecurityGroup describes a security group of an AWS VM.

Generated from protobuf message `google.cloud.vmmigration.v1.AwsSecurityGroup`

## Namespace

Google \\ Cloud \\ VMMigration \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `string` The AWS security group id. |
| `↳ name` | `string` The AWS security group name. |

### getId

The AWS security group id.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setId

The AWS security group id.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getName

The AWS security group name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

The AWS security group name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |