API hub V1 API - Class Google::Cloud::ApiHub::V1::ApiHubResource (v0.2.0)

Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::ApiHubResource.

ApiHubResource is one of the resources such as Api, Operation, Deployment, Definition, Spec and Version resources stored in API-Hub.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#api

def api() -> ::Google::Cloud::ApiHub::V1::Api
Returns
  • (::Google::Cloud::ApiHub::V1::Api) — This represents Api resource in search results. Only name, display_name, description and owner fields are populated in search results.

#api=

def api=(value) -> ::Google::Cloud::ApiHub::V1::Api
Parameter
  • value (::Google::Cloud::ApiHub::V1::Api) — This represents Api resource in search results. Only name, display_name, description and owner fields are populated in search results.
Returns
  • (::Google::Cloud::ApiHub::V1::Api) — This represents Api resource in search results. Only name, display_name, description and owner fields are populated in search results.

#definition

def definition() -> ::Google::Cloud::ApiHub::V1::Definition
Returns

#definition=

def definition=(value) -> ::Google::Cloud::ApiHub::V1::Definition
Parameter
Returns

#deployment

def deployment() -> ::Google::Cloud::ApiHub::V1::Deployment
Returns

#deployment=

def deployment=(value) -> ::Google::Cloud::ApiHub::V1::Deployment
Parameter
Returns

#operation

def operation() -> ::Google::Cloud::ApiHub::V1::ApiOperation
Returns

#operation=

def operation=(value) -> ::Google::Cloud::ApiHub::V1::ApiOperation
Parameter
Returns

#spec

def spec() -> ::Google::Cloud::ApiHub::V1::Spec
Returns
  • (::Google::Cloud::ApiHub::V1::Spec) — This represents Spec resource in search results. Only name, display_name and description fields are populated in search results.

#spec=

def spec=(value) -> ::Google::Cloud::ApiHub::V1::Spec
Parameter
  • value (::Google::Cloud::ApiHub::V1::Spec) — This represents Spec resource in search results. Only name, display_name and description fields are populated in search results.
Returns
  • (::Google::Cloud::ApiHub::V1::Spec) — This represents Spec resource in search results. Only name, display_name and description fields are populated in search results.

#version

def version() -> ::Google::Cloud::ApiHub::V1::Version
Returns

#version=

def version=(value) -> ::Google::Cloud::ApiHub::V1::Version
Parameter
  • value (::Google::Cloud::ApiHub::V1::Version) — This represents Version resource in search results. Only name, display_name and description fields are populated in search results.
Returns