Google Cloud Api Gateway V1 Client - Class GetApiRequest (1.2.2)

Reference documentation and code samples for the Google Cloud Api Gateway V1 Client class GetApiRequest.

Request message for ApiGatewayService.GetApi

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

Namespace

Google \ Cloud \ ApiGateway \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Resource name of the form: projects/*/locations/global/apis/*

getName

Required. Resource name of the form: projects/*/locations/global/apis/*

Returns
TypeDescription
string

setName

Required. Resource name of the form: projects/*/locations/global/apis/*

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Resource name of the form: projects/*/locations/global/apis/* Please see Google\Cloud\ApiGateway\V1\ApiGatewayServiceClient::apiName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ApiGateway\V1\GetApiRequest