Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class Destination.
The Destination
resource. It specifies the IP prefix and the associated
autonomous system numbers (ASN) that you want to include in a MulticloudDataTransferConfig
resource.
Generated from protobuf message google.cloud.networkconnectivity.v1.Destination
Namespace
Google \ Cloud \ NetworkConnectivity \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of the Destination
resource. Format: projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}
.
↳ create_time
↳ update_time
↳ labels
↳ etag
string
The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding.
↳ description
string
Optional. A description of this resource.
↳ ip_prefix
string
Required. Immutable. The IP prefix that represents your workload on another CSP.
↳ endpoints
array< Destination\DestinationEndpoint
>
Required. Unordered list. The list of DestinationEndpoint
resources configured for the IP prefix.
↳ state_timeline
StateTimeline
Output only. The timeline of the expected Destination
states or the current rest state. If a state change is expected, the value is ADDING
, DELETING
or SUSPENDING
, depending on the action specified. Example: "state_timeline": { "states": [ { // The time when the Destination
resource will be activated. "effectiveTime": "2024-12-01T08:00:00Z", "state": "ADDING" }, { // The time when the Destination
resource will be suspended. "effectiveTime": "2024-12-01T20:00:00Z", "state": "SUSPENDING" } ] }
↳ uid
string
Output only. The Google-generated unique ID for the Destination
resource. This value is unique across all Destination
resources. If a resource is deleted and another with the same name is created, the new resource is assigned a different and unique ID.
getName
Identifier. The name of the Destination
resource.
Format: projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}
.
string
setName
Identifier. The name of the Destination
resource.
Format: projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}
.
var
string
$this
getCreateTime
Output only. Time when the Destination
resource was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Time when the Destination
resource was created.
$this
getUpdateTime
Output only. Time when the Destination
resource was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Time when the Destination
resource was updated.
$this
getLabels
Optional. User-defined labels.
setLabels
Optional. User-defined labels.
$this
getEtag
The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding.
string
setEtag
The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding.
var
string
$this
getDescription
Optional. A description of this resource.
string
setDescription
Optional. A description of this resource.
var
string
$this
getIpPrefix
Required. Immutable. The IP prefix that represents your workload on another CSP.
string
setIpPrefix
Required. Immutable. The IP prefix that represents your workload on another CSP.
var
string
$this
getEndpoints
Required. Unordered list. The list of DestinationEndpoint
resources
configured for the IP prefix.
setEndpoints
Required. Unordered list. The list of DestinationEndpoint
resources
configured for the IP prefix.
$this
getStateTimeline
Output only. The timeline of the expected Destination
states or the
current rest state. If a state change is expected, the value is ADDING
, DELETING
or SUSPENDING
, depending on the action specified.
Example:
"state_timeline": {
"states": [
{
// The time when the Destination
resource will be activated.
"effectiveTime": "2024-12-01T08:00:00Z",
"state": "ADDING"
},
{
// The time when the Destination
resource will be suspended.
"effectiveTime": "2024-12-01T20:00:00Z",
"state": "SUSPENDING"
}
]
}
hasStateTimeline
clearStateTimeline
setStateTimeline
Output only. The timeline of the expected Destination
states or the
current rest state. If a state change is expected, the value is ADDING
, DELETING
or SUSPENDING
, depending on the action specified.
Example:
"state_timeline": {
"states": [
{
// The time when the Destination
resource will be activated.
"effectiveTime": "2024-12-01T08:00:00Z",
"state": "ADDING"
},
{
// The time when the Destination
resource will be suspended.
"effectiveTime": "2024-12-01T20:00:00Z",
"state": "SUSPENDING"
}
]
}
$this
getUid
Output only. The Google-generated unique ID for the Destination
resource.
This value is unique across all Destination
resources.
If a resource is deleted and another with the same name is
created, the new resource is assigned a different and unique ID.
string
setUid
Output only. The Google-generated unique ID for the Destination
resource.
This value is unique across all Destination
resources.
If a resource is deleted and another with the same name is
created, the new resource is assigned a different and unique ID.
var
string
$this

