Google Cloud Api Gateway V1 Client - Class GetApiRequest (2.0.0-RC1)

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
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\ApiGateway\V1\GetApiRequest