Network Connectivity V1 API - Class Google::Cloud::NetworkConnectivity::V1::Destination (v1.9.0)

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
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. A description of this resource.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. A description of this resource.
Returns
  • (::String) — Optional. A description of this resource.

#endpoints

def endpoints() -> ::Array<::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint>
Returns

#endpoints=

def endpoints=(value) -> ::Array<::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint>
Parameter
Returns

#etag

def etag() -> ::String
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::String) — Required. Immutable. The IP prefix that represents your workload on another CSP.

#ip_prefix=

def ip_prefix=(value) -> ::String
Parameter
  • value (::String) — Required. Immutable. The IP prefix that represents your workload on another CSP.
Returns
  • (::String) — Required. Immutable. The IP prefix that represents your workload on another CSP.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.

#name

def name() -> ::String
Returns
  • (::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
Parameter
  • value (::String) — Identifier. The name of the Destination resource. Format: projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}.
Returns
  • (::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
Returns
  • (::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 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

def uid() -> ::String
Returns
  • (::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.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns