API Gateway V1 API - Class Google::Cloud::ApiGateway::V1::CreateApiRequest (v0.1.5)

Reference documentation and code samples for the API Gateway V1 API class Google::Cloud::ApiGateway::V1::CreateApiRequest.

Request message for ApiGatewayService.CreateApi

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#api

def api() -> ::Google::Cloud::ApiGateway::V1::Api
Returns

#api=

def api=(value) -> ::Google::Cloud::ApiGateway::V1::Api
Parameter
Returns

#api_id

def api_id() -> ::String
Returns
  • (::String) — Required. Identifier to assign to the API. Must be unique within scope of the parent resource.

#api_id=

def api_id=(value) -> ::String
Parameter
  • value (::String) — Required. Identifier to assign to the API. Must be unique within scope of the parent resource.
Returns
  • (::String) — Required. Identifier to assign to the API. Must be unique within scope of the parent resource.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Parent resource of the API, of the form: projects/*/locations/global

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Parent resource of the API, of the form: projects/*/locations/global
Returns
  • (::String) — Required. Parent resource of the API, of the form: projects/*/locations/global