API hub v1 API - Class Dependency (1.0.0-beta01)

public sealed class Dependency : IMessage<Dependency>, IEquatable<Dependency>, IDeepCloneable<Dependency>, IBufferMessage, IMessage

Reference documentation and code samples for the API hub v1 API class 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].

Inheritance

object > Dependency

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

Dependency()

public Dependency()

Dependency(Dependency)

public Dependency(Dependency other)
Parameter
Name Description
other Dependency

Properties

Attributes

public MapField<string, AttributeValues> Attributes { get; }

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.

Property Value
Type Description
MapFieldstringAttributeValues

Consumer

public DependencyEntityReference Consumer { get; set; }

Required. Immutable. The entity acting as the consumer in the dependency.

Property Value
Type Description
DependencyEntityReference

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time at which the dependency was created.

Property Value
Type Description
Timestamp

DependencyName

public DependencyName DependencyName { get; set; }

DependencyName-typed view over the Name resource name property.

Property Value
Type Description
DependencyName

Description

public string Description { get; set; }

Optional. Human readable description corresponding of the dependency.

Property Value
Type Description
string

DiscoveryMode

public Dependency.Types.DiscoveryMode DiscoveryMode { get; set; }

Output only. Discovery mode of the dependency.

Property Value
Type Description
DependencyTypesDiscoveryMode

ErrorDetail

public DependencyErrorDetail ErrorDetail { get; set; }

Output only. Error details of a dependency if the system has detected it internally.

Property Value
Type Description
DependencyErrorDetail

Name

public string Name { get; set; }

Identifier. The name of the dependency in the API Hub.

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

Property Value
Type Description
string

State

public Dependency.Types.State State { get; set; }

Output only. State of the dependency.

Property Value
Type Description
DependencyTypesState

Supplier

public DependencyEntityReference Supplier { get; set; }

Required. Immutable. The entity acting as the supplier in the dependency.

Property Value
Type Description
DependencyEntityReference

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time at which the dependency was last updated.

Property Value
Type Description
Timestamp