Google Cloud Network Security V1 Client - Class Deployment (1.3.0)

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

A deployment belonging to this deployment group.

Generated from protobuf message google.cloud.networksecurity.v1.InterceptDeploymentGroup.Deployment

Namespace

Google \ Cloud \ NetworkSecurity \ V1 \ InterceptDeploymentGroup

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The name of the Intercept Deployment, in the format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}.

↳ state int

Output only. Most recent known state of the deployment.

getName

Output only. The name of the Intercept Deployment, in the format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}.

Returns
Type Description
string

setName

Output only. The name of the Intercept Deployment, in the format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. Most recent known state of the deployment.

Returns
Type Description
int Enum of type State.

setState

Output only. Most recent known state of the deployment.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this