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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. [Output only] Create time stamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. [Output only] Create time stamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. [Output only] Update time stamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. [Output only] Update time stamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getState

Output only. The operational state of the gateway.

Returns
TypeDescription
int

setState

Output only. The operational state of the gateway.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getId

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

Returns
TypeDescription
string

setId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this