API Gateway V1 API - Class Google::Cloud::ApiGateway::V1::Api (v1.1.0)

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

An API that can be served by one or more Gateways.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. Display name.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. Display name.
Returns
  • (::String) — Optional. Display name.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

#managed_service

def managed_service() -> ::String
Returns
  • (::String) — Optional. Immutable. The name of a Google Managed Service ( https://cloud.google.com/service-infrastructure/docs/glossary#managed). If not specified, a new Service will automatically be created in the same project as this API.

#managed_service=

def managed_service=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. The name of a Google Managed Service ( https://cloud.google.com/service-infrastructure/docs/glossary#managed). If not specified, a new Service will automatically be created in the same project as this API.
Returns
  • (::String) — Optional. Immutable. The name of a Google Managed Service ( https://cloud.google.com/service-infrastructure/docs/glossary#managed). If not specified, a new Service will automatically be created in the same project as this API.

#name

def name() -> ::String
Returns
  • (::String) — Output only. Resource name of the API. Format: projects/{project}/locations/global/apis/{api}

#state

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

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns