Google Cloud Agent Registry V1 Client - Class GetServiceRequest (0.2.0)

Reference documentation and code samples for the Google Cloud Agent Registry V1 Client class GetServiceRequest.

Message for getting a Service

Generated from protobuf message google.cloud.agentregistry.v1.GetServiceRequest

Namespace

Google \ Cloud \ AgentRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the Service. Format: projects/{project}/locations/{location}/services/{service}.

getName

Required. The name of the Service.

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

Returns
Type Description
string

setName

Required. The name of the Service.

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the Service. Format: projects/{project}/locations/{location}/services/{service}. Please see AgentRegistryClient::serviceName() for help formatting this field.

Returns
Type Description
GetServiceRequest