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}
-
(::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}
-
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.
-
(::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
- (::Google::Cloud::ApiHub::V1::DependencyEntityReference) — Required. Immutable. The entity acting as the consumer in the dependency.
#consumer=
def consumer=(value) -> ::Google::Cloud::ApiHub::V1::DependencyEntityReference
- value (::Google::Cloud::ApiHub::V1::DependencyEntityReference) — Required. Immutable. The entity acting as the consumer in the dependency.
- (::Google::Cloud::ApiHub::V1::DependencyEntityReference) — Required. Immutable. The entity acting as the consumer in the dependency.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time at which the dependency was created.
#description
def description() -> ::String
- (::String) — Optional. Human readable description corresponding of the dependency.
#description=
def description=(value) -> ::String
- value (::String) — Optional. Human readable description corresponding of the dependency.
- (::String) — Optional. Human readable description corresponding of the dependency.
#discovery_mode
def discovery_mode() -> ::Google::Cloud::ApiHub::V1::Dependency::DiscoveryMode
- (::Google::Cloud::ApiHub::V1::Dependency::DiscoveryMode) — Output only. Discovery mode of the dependency.
#error_detail
def error_detail() -> ::Google::Cloud::ApiHub::V1::DependencyErrorDetail
- (::Google::Cloud::ApiHub::V1::DependencyErrorDetail) — Output only. Error details of a dependency if the system has detected it internally.
#name
def name() -> ::String
-
(::String) — Identifier. The name of the dependency in the API Hub.
Format:
projects/{project}/locations/{location}/dependencies/{dependency}
#name=
def name=(value) -> ::String
-
value (::String) — Identifier. The name of the dependency in the API Hub.
Format:
projects/{project}/locations/{location}/dependencies/{dependency}
-
(::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
- (::Google::Cloud::ApiHub::V1::Dependency::State) — Output only. State of the dependency.
#supplier
def supplier() -> ::Google::Cloud::ApiHub::V1::DependencyEntityReference
- (::Google::Cloud::ApiHub::V1::DependencyEntityReference) — Required. Immutable. The entity acting as the supplier in the dependency.
#supplier=
def supplier=(value) -> ::Google::Cloud::ApiHub::V1::DependencyEntityReference
- value (::Google::Cloud::ApiHub::V1::DependencyEntityReference) — Required. Immutable. The entity acting as the supplier in the dependency.
- (::Google::Cloud::ApiHub::V1::DependencyEntityReference) — Required. Immutable. The entity acting as the supplier in the dependency.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time at which the dependency was last updated.