API hub V1 API - Class Google::Cloud::ApiHub::V1::ApiHubResource (v0.4.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.

    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
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.

    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.

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.

    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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
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.

    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
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.

    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.

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.

    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
Returns
  • (::Google::Cloud::ApiHub::V1::ApiOperation) — This represents ApiOperation resource in search results. Only name, and description 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
Parameter
  • value (::Google::Cloud::ApiHub::V1::ApiOperation) — This represents ApiOperation resource in search results. Only name, and description 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.

Returns
  • (::Google::Cloud::ApiHub::V1::ApiOperation) — This represents ApiOperation resource in search results. Only name, and description 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
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.

    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
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.

    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.

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.

    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
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.

    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
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.

    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.

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.

    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.