Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Time when the
Destination
resource was created.
#description
def description() -> ::String
- (::String) — Optional. A description of this resource.
#description=
def description=(value) -> ::String
- value (::String) — Optional. A description of this resource.
- (::String) — Optional. A description of this resource.
#endpoints
def endpoints() -> ::Array<::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint>
-
(::Array<::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint>) — Required. Unordered list. The list of
DestinationEndpoint
resources configured for the IP prefix.
#endpoints=
def endpoints=(value) -> ::Array<::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint>
-
value (::Array<::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint>) — Required. Unordered list. The list of
DestinationEndpoint
resources configured for the IP prefix.
-
(::Array<::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint>) — Required. Unordered list. The list of
DestinationEndpoint
resources configured for the IP prefix.
#etag
def etag() -> ::String
- (::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.
#etag=
def etag=(value) -> ::String
- value (::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.
- (::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.
#ip_prefix
def ip_prefix() -> ::String
- (::String) — Required. Immutable. The IP prefix that represents your workload on another CSP.
#ip_prefix=
def ip_prefix=(value) -> ::String
- value (::String) — Required. Immutable. The IP prefix that represents your workload on another CSP.
- (::String) — Required. Immutable. The IP prefix that represents your workload on another CSP.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.
#name
def name() -> ::String
-
(::String) — Identifier. The name of the
Destination
resource. Format:projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}
.
#name=
def name=(value) -> ::String
-
value (::String) — Identifier. The name of the
Destination
resource. Format:projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}
.
-
(::String) — Identifier. The name of the
Destination
resource. Format:projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}
.
#state_timeline
def state_timeline() -> ::Google::Cloud::NetworkConnectivity::V1::StateTimeline
-
(::Google::Cloud::NetworkConnectivity::V1::StateTimeline) — Output only. The timeline of the expected
Destination
states or the current rest state. If a state change is expected, the value isADDING
,DELETING
orSUSPENDING
, 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 theDestination
resource will be suspended. "effectiveTime": "2024-12-01T20:00:00Z", "state": "SUSPENDING" } ] }
#uid
def uid() -> ::String
-
(::String) — Output only. The Google-generated unique ID for the
Destination
resource. This value is unique across allDestination
resources. If a resource is deleted and another with the same name is created, the new resource is assigned a different and unique ID.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Time when the
Destination
resource was updated.