Reference documentation and code samples for the Google Cloud Api Hub V1 Client 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 or between an Operation and External API .
Generated from protobuf message google.cloud.apihub.v1.Dependency
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of the dependency in the API Hub. Format: projects/{project}/locations/{location}/dependencies/{dependency}
↳ consumer
↳ supplier
↳ state
int
Output only. State of the dependency.
↳ description
string
Optional. Human readable description corresponding of the dependency.
↳ discovery_mode
int
Output only. Discovery mode of the dependency.
↳ error_detail
DependencyErrorDetail
Output only. Error details of a dependency if the system has detected it internally.
↳ create_time
↳ update_time
↳ attributes
array| Google\Protobuf\Internal\MapField
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.
getName
Identifier. The name of the dependency in the API Hub.
Format: projects/{project}/locations/{location}/dependencies/{dependency}
string
setName
Identifier. The name of the dependency in the API Hub.
Format: projects/{project}/locations/{location}/dependencies/{dependency}
var
string
$this
getConsumer
Required. Immutable. The entity acting as the consumer in the dependency.
hasConsumer
clearConsumer
setConsumer
Required. Immutable. The entity acting as the consumer in the dependency.
$this
getSupplier
Required. Immutable. The entity acting as the supplier in the dependency.
hasSupplier
clearSupplier
setSupplier
Required. Immutable. The entity acting as the supplier in the dependency.
$this
getState
Output only. State of the dependency.
setState
Output only. State of the dependency.
$this
getDescription
Optional. Human readable description corresponding of the dependency.
string
setDescription
Optional. Human readable description corresponding of the dependency.
var
string
$this
getDiscoveryMode
Output only. Discovery mode of the dependency.
setDiscoveryMode
Output only. Discovery mode of the dependency.
$this
getErrorDetail
Output only. Error details of a dependency if the system has detected it internally.
hasErrorDetail
clearErrorDetail
setErrorDetail
Output only. Error details of a dependency if the system has detected it internally.
$this
getCreateTime
Output only. The time at which the dependency was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which the dependency was created.
$this
getUpdateTime
Output only. The time at which the dependency was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time at which the dependency was last updated.
$this
getAttributes
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.
setAttributes
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.
$this

