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

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

Request message for GetServiceConfig method.

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

Namespace

Google \ Cloud \ ServiceManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ service_name string

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

↳ config_id string

Required. The id of the service configuration resource. This field must be specified for the server to return all fields, including SourceInfo.

↳ view int

Specifies which parts of the Service Config should be returned in the response.

getServiceName

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

Returns
TypeDescription
string

setServiceName

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConfigId

Required. The id of the service configuration resource.

This field must be specified for the server to return all fields, including SourceInfo.

Returns
TypeDescription
string

setConfigId

Required. The id of the service configuration resource.

This field must be specified for the server to return all fields, including SourceInfo.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getView

Specifies which parts of the Service Config should be returned in the response.

Returns
TypeDescription
int

setView

Specifies which parts of the Service Config should be returned in the response.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
serviceName string

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

configId string

Required. The id of the service configuration resource.

This field must be specified for the server to return all fields, including SourceInfo.

view int

Specifies which parts of the Service Config should be returned in the response. For allowed values, use constants defined on Google\Cloud\ServiceManagement\V1\GetServiceConfigRequest\ConfigView

Returns
TypeDescription
Google\Cloud\ServiceManagement\V1\GetServiceConfigRequest