Google Cloud Apigee Registry V1 Client - Class GetApiSpecRequest (0.3.2)

Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class GetApiSpecRequest.

Request message for GetApiSpec.

Generated from protobuf message google.cloud.apigeeregistry.v1.GetApiSpecRequest

Namespace

Google \ Cloud \ ApigeeRegistry \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the spec to retrieve. Format: projects/*/locations/*/apis/*/versions/*/specs/*

getName

Required. The name of the spec to retrieve.

Format: projects/*/locations/*/apis/*/versions/*/specs/*

Returns
TypeDescription
string

setName

Required. The name of the spec to retrieve.

Format: projects/*/locations/*/apis/*/versions/*/specs/*

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the spec to retrieve. Format: projects/*/locations/*/apis/*/versions/*/specs/* Please see Google\Cloud\ApigeeRegistry\V1\RegistryClient::apiSpecName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ApigeeRegistry\V1\GetApiSpecRequest