Google Cloud Apigee Registry V1 Client - Class GetApiSpecContentsRequest (1.0.2)

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

Request message for GetApiSpecContents.

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

Namespace

Google \ Cloud \ ApigeeRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the spec whose contents should be retrieved. Format: projects/*/locations/*/apis/*/versions/*/specs/*

getName

Required. The name of the spec whose contents should be retrieved.

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

Returns
Type Description
string

setName

Required. The name of the spec whose contents should be retrieved.

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the spec whose contents should be retrieved. Format: projects/*/locations/*/apis/*/versions/*/specs/* Please see RegistryClient::apiSpecName() for help formatting this field.

Returns
Type Description
GetApiSpecContentsRequest