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
- (::Google::Cloud::ApiHub::V1::Definition) — This represents Definition resource in search results. Only name field is populated in search results.
#definition=
def definition=(value) -> ::Google::Cloud::ApiHub::V1::Definition
Parameter
- value (::Google::Cloud::ApiHub::V1::Definition) — This represents Definition resource in search results. Only name field is populated in search results.
Returns
- (::Google::Cloud::ApiHub::V1::Definition) — This represents Definition resource in search results. Only name field is populated in search results.
#deployment
def deployment() -> ::Google::Cloud::ApiHub::V1::Deployment
Returns
- (::Google::Cloud::ApiHub::V1::Deployment) — This represents Deployment resource in search results. Only name, display_name and description fields are populated in search results.
#deployment=
def deployment=(value) -> ::Google::Cloud::ApiHub::V1::Deployment
Parameter
- value (::Google::Cloud::ApiHub::V1::Deployment) — This represents Deployment resource in search results. Only name, display_name and description fields are populated in search results.
Returns
- (::Google::Cloud::ApiHub::V1::Deployment) — This represents Deployment resource in search results. Only name, display_name and description fields are populated in search results.
#operation
def operation() -> ::Google::Cloud::ApiHub::V1::ApiOperation
Returns
- (::Google::Cloud::ApiHub::V1::ApiOperation) — This represents ApiOperation resource in search results. Only name, and description fields are populated in search results.
#operation=
def operation=(value) -> ::Google::Cloud::ApiHub::V1::ApiOperation
Parameter
- value (::Google::Cloud::ApiHub::V1::ApiOperation) — This represents ApiOperation resource in search results. Only name, and description fields are populated in search results.
Returns
- (::Google::Cloud::ApiHub::V1::ApiOperation) — This represents ApiOperation resource in search results. Only name, and description fields are populated in search results.
#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
- (::Google::Cloud::ApiHub::V1::Version) — This represents Version resource in search results. Only name, display_name and description fields are populated in search results.
#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
- (::Google::Cloud::ApiHub::V1::Version) — This represents Version resource in search results. Only name, display_name and description fields are populated in search results.