Google Cloud Apigee Registry V1 Client - Class GetApiRequest (1.0.0)

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

Request message for GetApi.

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

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 API to retrieve. Format: projects/*/locations/*/apis/*

getName

Required. The name of the API to retrieve.

Format: projects/*/locations/*/apis/*

Returns
Type Description
string

setName

Required. The name of the API to retrieve.

Format: projects/*/locations/*/apis/*

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
Google\Cloud\ApigeeRegistry\V1\GetApiRequest