Google Cloud Build V2 Client - Class ServiceDirectoryConfig (0.7.3)

Reference documentation and code samples for the Google Cloud Build V2 Client class ServiceDirectoryConfig.

ServiceDirectoryConfig represents Service Directory configuration for a connection.

Generated from protobuf message google.devtools.cloudbuild.v2.ServiceDirectoryConfig

Namespace

Google \ Cloud \ Build \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ service string

Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

getService

Required. The Service Directory service name.

Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

Returns
TypeDescription
string

setService

Required. The Service Directory service name.

Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this