API hub V1 API - Class Google::Cloud::ApiHub::V1::Dependency (v0.1.0)

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

A dependency resource defined in the API hub describes a dependency directed from a consumer to a supplier entity. A dependency can be defined between two [Operations][google.cloud.apihub.v1.Operation] or between an [Operation][google.cloud.apihub.v1.Operation] and [External API][google.cloud.apihub.v1.ExternalApi].

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attributes

def attributes() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::ApiHub::V1::AttributeValues}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::ApiHub::V1::AttributeValues}) — Optional. The list of user defined attributes associated with the dependency resource. The key is the attribute name. It will be of the format: projects/{project}/locations/{location}/attributes/{attribute}. The value is the attribute values associated with the resource.

#attributes=

def attributes=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::ApiHub::V1::AttributeValues}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::ApiHub::V1::AttributeValues}) — Optional. The list of user defined attributes associated with the dependency resource. The key is the attribute name. It will be of the format: projects/{project}/locations/{location}/attributes/{attribute}. The value is the attribute values associated with the resource.
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::ApiHub::V1::AttributeValues}) — Optional. The list of user defined attributes associated with the dependency resource. The key is the attribute name. It will be of the format: projects/{project}/locations/{location}/attributes/{attribute}. The value is the attribute values associated with the resource.

#consumer

def consumer() -> ::Google::Cloud::ApiHub::V1::DependencyEntityReference
Returns

#consumer=

def consumer=(value) -> ::Google::Cloud::ApiHub::V1::DependencyEntityReference
Parameter
Returns

#create_time

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

#description

def description() -> ::String
Returns
  • (::String) — Optional. Human readable description corresponding of the dependency.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Human readable description corresponding of the dependency.
Returns
  • (::String) — Optional. Human readable description corresponding of the dependency.

#discovery_mode

def discovery_mode() -> ::Google::Cloud::ApiHub::V1::Dependency::DiscoveryMode
Returns

#error_detail

def error_detail() -> ::Google::Cloud::ApiHub::V1::DependencyErrorDetail
Returns

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The name of the dependency in the API Hub.

    Format: projects/{project}/locations/{location}/dependencies/{dependency}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The name of the dependency in the API Hub.

    Format: projects/{project}/locations/{location}/dependencies/{dependency}

Returns
  • (::String) — Identifier. The name of the dependency in the API Hub.

    Format: projects/{project}/locations/{location}/dependencies/{dependency}

#state

def state() -> ::Google::Cloud::ApiHub::V1::Dependency::State
Returns

#supplier

def supplier() -> ::Google::Cloud::ApiHub::V1::DependencyEntityReference
Returns

#supplier=

def supplier=(value) -> ::Google::Cloud::ApiHub::V1::DependencyEntityReference
Parameter
Returns

#update_time

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