Google Cloud App Hub V1 Client - Class ServiceProperties (0.1.4)

Reference documentation and code samples for the Google Cloud App Hub V1 Client class ServiceProperties.

Properties of an underlying cloud resource that can comprise a Service.

Generated from protobuf message google.cloud.apphub.v1.ServiceProperties

Namespace

Google \ Cloud \ AppHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ gcp_project string

Output only. The service project identifier that the underlying cloud resource resides in.

↳ location string

Output only. The location that the underlying resource resides in, for example, us-west1.

↳ zone string

Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a).

getGcpProject

Output only. The service project identifier that the underlying cloud resource resides in.

Returns
Type Description
string

setGcpProject

Output only. The service project identifier that the underlying cloud resource resides in.

Parameter
Name Description
var string
Returns
Type Description
$this

getLocation

Output only. The location that the underlying resource resides in, for example, us-west1.

Returns
Type Description
string

setLocation

Output only. The location that the underlying resource resides in, for example, us-west1.

Parameter
Name Description
var string
Returns
Type Description
$this

getZone

Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a).

Returns
Type Description
string

setZone

Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a).

Parameter
Name Description
var string
Returns
Type Description
$this