Google Cloud Service Management V1 Client - Class ConfigSource (1.1.1)

Reference documentation and code samples for the Google Cloud Service Management V1 Client class ConfigSource.

Represents a source file which is used to generate the service configuration defined by google.api.Service.

Generated from protobuf message google.api.servicemanagement.v1.ConfigSource

Namespace

Google \ Cloud \ ServiceManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ id string

A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead.

↳ files array<Google\Cloud\ServiceManagement\V1\ConfigFile>

Set of source configuration files that are used to generate a service configuration (google.api.Service).

getId

A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead.

Returns
TypeDescription
string

setId

A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFiles

Set of source configuration files that are used to generate a service configuration (google.api.Service).

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFiles

Set of source configuration files that are used to generate a service configuration (google.api.Service).

Parameter
NameDescription
var array<Google\Cloud\ServiceManagement\V1\ConfigFile>
Returns
TypeDescription
$this