Google Cloud BeyondCorp Client Gateways V1 Client - Class ClientGateway (1.0.3)

Reference documentation and code samples for the Google Cloud BeyondCorp Client Gateways V1 Client class ClientGateway.

Message describing ClientGateway object.

Generated from protobuf message google.cloud.beyondcorp.clientgateways.v1.ClientGateway

Namespace

Google \ Cloud \ BeyondCorp \ ClientGateways \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. name of resource. The name is ignored during creation.

↳ create_time Google\Protobuf\Timestamp

Output only. [Output only] Create time stamp.

↳ update_time Google\Protobuf\Timestamp

Output only. [Output only] Update time stamp.

↳ state int

Output only. The operational state of the gateway.

↳ id string

Output only. A unique identifier for the instance generated by the system.

↳ client_connector_service string

Output only. The client connector service name that the client gateway is associated to. Client Connector Services, named as follows: projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}.

getName

Required. name of resource. The name is ignored during creation.

Returns
Type Description
string

setName

Required. name of resource. The name is ignored during creation.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. [Output only] Create time stamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. [Output only] Create time stamp.

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

getUpdateTime

Output only. [Output only] Update time stamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. [Output only] Update time stamp.

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

getState

Output only. The operational state of the gateway.

Returns
Type Description
int

setState

Output only. The operational state of the gateway.

Parameter
Name Description
var int
Returns
Type Description
$this

getId

Output only. A unique identifier for the instance generated by the system.

Returns
Type Description
string

setId

Output only. A unique identifier for the instance generated by the system.

Parameter
Name Description
var string
Returns
Type Description
$this

getClientConnectorService

Output only. The client connector service name that the client gateway is associated to. Client Connector Services, named as follows: projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}.

Returns
Type Description
string

setClientConnectorService

Output only. The client connector service name that the client gateway is associated to. Client Connector Services, named as follows: projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}.

Parameter
Name Description
var string
Returns
Type Description
$this