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
- (::Google::Cloud::ApiGateway::V1::Api) — Required. API resource.
#api=
def api=(value) -> ::Google::Cloud::ApiGateway::V1::Api
Parameter
- value (::Google::Cloud::ApiGateway::V1::Api) — Required. API resource.
Returns
- (::Google::Cloud::ApiGateway::V1::Api) — Required. API resource.
#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