Class Dependency (0.2.0)

Dependency(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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 or between an Operation and External API.

Attributes

Name Description
name str
Identifier. The name of the dependency in the API Hub. Format: projects/{project}/locations/{location}/dependencies/{dependency}
consumer google.cloud.apihub_v1.types.DependencyEntityReference
Required. Immutable. The entity acting as the consumer in the dependency.
supplier google.cloud.apihub_v1.types.DependencyEntityReference
Required. Immutable. The entity acting as the supplier in the dependency.
state google.cloud.apihub_v1.types.Dependency.State
Output only. State of the dependency.
description str
Optional. Human readable description corresponding of the dependency.
discovery_mode google.cloud.apihub_v1.types.Dependency.DiscoveryMode
Output only. Discovery mode of the dependency.
error_detail google.cloud.apihub_v1.types.DependencyErrorDetail
Output only. Error details of a dependency if the system has detected it internally.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the dependency was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the dependency was last updated.
attributes MutableMapping[str, google.cloud.apihub_v1.types.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.

Classes

AttributesEntry

AttributesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

DiscoveryMode

DiscoveryMode(value)

Possible modes of discovering the dependency.

State

State(value)

Possible states for a dependency.