# Google Cloud Network Security V1 Client - Class SecurityProfileGroup (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.0 1.0.4 0.6.5 0.5.2 0.4.1 0.3.7 Reference documentation and code samples for the Google Cloud Network Security V1 Client class SecurityProfileGroup.

SecurityProfileGroup is a resource that defines the behavior for various
ProfileTypes.

Generated from protobuf message `google.cloud.networksecurity.v1.SecurityProfileGroup`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getName

Immutable. Identifier. Name of the SecurityProfileGroup resource. It
matches pattern
`projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`.

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

### setName

Immutable. Identifier. Name of the SecurityProfileGroup resource. It
matches pattern
`projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`.

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

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

### getDescription

Optional. An optional description of the profile group. Max length 2048
characters.

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

### setDescription

Optional. An optional description of the profile group. Max length 2048
characters.

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

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

### getCreateTime

Output only. Resource creation timestamp.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Resource creation timestamp.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getUpdateTime

Output only. Last resource update timestamp.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. Last resource update timestamp.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getEtag

Output only. This checksum is computed by the server based on the value of
other fields, and may be sent on update and delete requests to ensure the
client has an up-to-date value before proceeding.

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

### setEtag

Output only. This checksum is computed by the server based on the value of
other fields, and may be sent on update and delete requests to ensure the
client has an up-to-date value before proceeding.

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

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

### getDataPathId

Output only. Identifier used by the data-path. Unique within {container,
location}.

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

### setDataPathId

Output only. Identifier used by the data-path. Unique within {container,
location}.

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

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

### getLabels

Optional. Labels as key value pairs.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setLabels

Optional. Labels as key value pairs.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getThreatPreventionProfile

Optional. Reference to a SecurityProfile with the ThreatPrevention
configuration.

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

### setThreatPreventionProfile

Optional. Reference to a SecurityProfile with the ThreatPrevention
configuration.

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

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

### getCustomMirroringProfile

Optional. Reference to a SecurityProfile with the CustomMirroring
configuration.

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

### setCustomMirroringProfile

Optional. Reference to a SecurityProfile with the CustomMirroring
configuration.

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

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

### getCustomInterceptProfile

Optional. Reference to a SecurityProfile with the CustomIntercept
configuration.

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

### setCustomInterceptProfile

Optional. Reference to a SecurityProfile with the CustomIntercept
configuration.

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

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

### getUrlFilteringProfile

Optional. Reference to a SecurityProfile with the UrlFiltering
configuration.

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

### setUrlFilteringProfile

Optional. Reference to a SecurityProfile with the UrlFiltering
configuration.

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

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