Google Cloud Network Security V1 Client - Class SACRealm (1.4.0)

Reference documentation and code samples for the Google Cloud Network Security V1 Client class SACRealm.

Represents a Secure Access Connect (SAC) realm resource.

A Secure Access Connect realm establishes a connection between your Google Cloud project and an SSE service.

Generated from protobuf message google.cloud.networksecurity.v1.SACRealm

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. Resource name, in the form projects/{project}/locations/global/sacRealms/{sacRealm}.

↳ create_time Google\Protobuf\Timestamp

Output only. Timestamp when the realm was created.

↳ update_time Google\Protobuf\Timestamp

Output only. Timestamp when the realm was last updated.

↳ labels array|Google\Protobuf\Internal\MapField

Optional. Optional list of labels applied to the resource.

↳ security_service int

Immutable. SSE service provider associated with the realm.

↳ pairing_key SACRealm\PairingKey

Output only. Key to be shared with SSE service provider during pairing.

↳ state int

Output only. State of the realm.

getName

Identifier. Resource name, in the form projects/{project}/locations/global/sacRealms/{sacRealm}.

Returns
Type Description
string

setName

Identifier. Resource name, in the form projects/{project}/locations/global/sacRealms/{sacRealm}.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. Timestamp when the realm was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Timestamp when the realm was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. Timestamp when the realm was last updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Timestamp when the realm was last updated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLabels

Optional. Optional list of labels applied to the resource.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Optional. Optional list of labels applied to the resource.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getSecurityService

Immutable. SSE service provider associated with the realm.

Returns
Type Description
int Enum of type SecurityService.

setSecurityService

Immutable. SSE service provider associated with the realm.

Parameter
Name Description
var int

Enum of type SecurityService.

Returns
Type Description
$this

getPairingKey

Output only. Key to be shared with SSE service provider during pairing.

Returns
Type Description
SACRealm\PairingKey|null

hasPairingKey

clearPairingKey

setPairingKey

Output only. Key to be shared with SSE service provider during pairing.

Parameter
Name Description
var SACRealm\PairingKey
Returns
Type Description
$this

getState

Output only. State of the realm.

Returns
Type Description
int Enum of type State.

setState

Output only. State of the realm.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this