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-
(::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.
Note: The following fields are mutually exclusive:
api,operation,deployment,spec,definition,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
#api=
def api=(value) -> ::Google::Cloud::ApiHub::V1::Api-
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.
Note: The following fields are mutually exclusive:
api,operation,deployment,spec,definition,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::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.
Note: The following fields are mutually exclusive:
api,operation,deployment,spec,definition,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
#definition
def definition() -> ::Google::Cloud::ApiHub::V1::Definition-
(::Google::Cloud::ApiHub::V1::Definition) — This represents Definition resource in search results.
Only name field is populated in search results.
Note: The following fields are mutually exclusive:
definition,api,operation,deployment,spec,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
#definition=
def definition=(value) -> ::Google::Cloud::ApiHub::V1::Definition-
value (::Google::Cloud::ApiHub::V1::Definition) — This represents Definition resource in search results.
Only name field is populated in search results.
Note: The following fields are mutually exclusive:
definition,api,operation,deployment,spec,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::ApiHub::V1::Definition) — This represents Definition resource in search results.
Only name field is populated in search results.
Note: The following fields are mutually exclusive:
definition,api,operation,deployment,spec,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
#deployment
def deployment() -> ::Google::Cloud::ApiHub::V1::Deployment-
(::Google::Cloud::ApiHub::V1::Deployment) — This represents Deployment resource in search results. Only name,
display_name, description, deployment_type and api_versions fields are
populated in search results.
Note: The following fields are mutually exclusive:
deployment,api,operation,spec,definition,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
#deployment=
def deployment=(value) -> ::Google::Cloud::ApiHub::V1::Deployment-
value (::Google::Cloud::ApiHub::V1::Deployment) — This represents Deployment resource in search results. Only name,
display_name, description, deployment_type and api_versions fields are
populated in search results.
Note: The following fields are mutually exclusive:
deployment,api,operation,spec,definition,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::ApiHub::V1::Deployment) — This represents Deployment resource in search results. Only name,
display_name, description, deployment_type and api_versions fields are
populated in search results.
Note: The following fields are mutually exclusive:
deployment,api,operation,spec,definition,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
#operation
def operation() -> ::Google::Cloud::ApiHub::V1::ApiOperation-
(::Google::Cloud::ApiHub::V1::ApiOperation) — This represents ApiOperation resource in search results. Only name,
description, spec and details fields are populated in search results.
Note: The following fields are mutually exclusive:
operation,api,deployment,spec,definition,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
#operation=
def operation=(value) -> ::Google::Cloud::ApiHub::V1::ApiOperation-
value (::Google::Cloud::ApiHub::V1::ApiOperation) — This represents ApiOperation resource in search results. Only name,
description, spec and details fields are populated in search results.
Note: The following fields are mutually exclusive:
operation,api,deployment,spec,definition,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::ApiHub::V1::ApiOperation) — This represents ApiOperation resource in search results. Only name,
description, spec and details fields are populated in search results.
Note: The following fields are mutually exclusive:
operation,api,deployment,spec,definition,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
#spec
def spec() -> ::Google::Cloud::ApiHub::V1::Spec-
(::Google::Cloud::ApiHub::V1::Spec) — This represents Spec resource in search results. Only name,
display_name, description, spec_type and documentation fields are
populated in search results.
Note: The following fields are mutually exclusive:
spec,api,operation,deployment,definition,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
#spec=
def spec=(value) -> ::Google::Cloud::ApiHub::V1::Spec-
value (::Google::Cloud::ApiHub::V1::Spec) — This represents Spec resource in search results. Only name,
display_name, description, spec_type and documentation fields are
populated in search results.
Note: The following fields are mutually exclusive:
spec,api,operation,deployment,definition,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::ApiHub::V1::Spec) — This represents Spec resource in search results. Only name,
display_name, description, spec_type and documentation fields are
populated in search results.
Note: The following fields are mutually exclusive:
spec,api,operation,deployment,definition,version. If a field in that set is populated, all other fields in the set will automatically be cleared.
#version
def version() -> ::Google::Cloud::ApiHub::V1::Version-
(::Google::Cloud::ApiHub::V1::Version) — This represents Version resource in search results. Only name,
display_name, description, lifecycle, compliance and accreditation fields
are populated in search results.
Note: The following fields are mutually exclusive:
version,api,operation,deployment,spec,definition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#version=
def version=(value) -> ::Google::Cloud::ApiHub::V1::Version-
value (::Google::Cloud::ApiHub::V1::Version) — This represents Version resource in search results. Only name,
display_name, description, lifecycle, compliance and accreditation fields
are populated in search results.
Note: The following fields are mutually exclusive:
version,api,operation,deployment,spec,definition. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::ApiHub::V1::Version) — This represents Version resource in search results. Only name,
display_name, description, lifecycle, compliance and accreditation fields
are populated in search results.
Note: The following fields are mutually exclusive:
version,api,operation,deployment,spec,definition. If a field in that set is populated, all other fields in the set will automatically be cleared.