Google Cloud Service Management V1 Client - Class ConfigSource (2.0.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
Name Description
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<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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getFiles

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFiles

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

Parameter
Name Description
var array<ConfigFile>
Returns
Type Description
$this