Class: Google::Cloud::NetworkConnectivity::V1::Destination

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb

Overview

The Destination resource. It specifies the IP prefix and the associated autonomous system numbers (ASN) that you want to include in a MulticloudDataTransferConfig resource.

Defined Under Namespace

Classes: DestinationEndpoint, LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time when the Destination resource was created.

Returns:



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 319

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The metadata for a `DestinationEndpoint` resource.
  # @!attribute [rw] asn
  #   @return [::Integer]
  #     Required. The ASN of the remote IP prefix.
  # @!attribute [rw] csp
  #   @return [::String]
  #     Required. The CSP of the remote IP prefix.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint::State]
  #     Output only. The state of the `DestinationEndpoint` resource.
  # @!attribute [r] update_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. Time when the `DestinationEndpoint` resource was updated.
  class DestinationEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of the `DestinationEndpoint` resource.
    module State
      # An invalid state, which is the default case.
      STATE_UNSPECIFIED = 0

      # The `DestinationEndpoint` resource is valid.
      VALID = 1

      # The `DestinationEndpoint` resource is invalid.
      INVALID = 2
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#description::String

Returns Optional. A description of this resource.

Returns:

  • (::String)

    Optional. A description of this resource.



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 319

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The metadata for a `DestinationEndpoint` resource.
  # @!attribute [rw] asn
  #   @return [::Integer]
  #     Required. The ASN of the remote IP prefix.
  # @!attribute [rw] csp
  #   @return [::String]
  #     Required. The CSP of the remote IP prefix.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint::State]
  #     Output only. The state of the `DestinationEndpoint` resource.
  # @!attribute [r] update_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. Time when the `DestinationEndpoint` resource was updated.
  class DestinationEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of the `DestinationEndpoint` resource.
    module State
      # An invalid state, which is the default case.
      STATE_UNSPECIFIED = 0

      # The `DestinationEndpoint` resource is valid.
      VALID = 1

      # The `DestinationEndpoint` resource is invalid.
      INVALID = 2
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#endpoints::Array<::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint>

Returns Required. Unordered list. The list of DestinationEndpoint resources configured for the IP prefix.

Returns:



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 319

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The metadata for a `DestinationEndpoint` resource.
  # @!attribute [rw] asn
  #   @return [::Integer]
  #     Required. The ASN of the remote IP prefix.
  # @!attribute [rw] csp
  #   @return [::String]
  #     Required. The CSP of the remote IP prefix.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint::State]
  #     Output only. The state of the `DestinationEndpoint` resource.
  # @!attribute [r] update_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. Time when the `DestinationEndpoint` resource was updated.
  class DestinationEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of the `DestinationEndpoint` resource.
    module State
      # An invalid state, which is the default case.
      STATE_UNSPECIFIED = 0

      # The `DestinationEndpoint` resource is valid.
      VALID = 1

      # The `DestinationEndpoint` resource is invalid.
      INVALID = 2
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#etag::String

Returns 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.



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 319

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The metadata for a `DestinationEndpoint` resource.
  # @!attribute [rw] asn
  #   @return [::Integer]
  #     Required. The ASN of the remote IP prefix.
  # @!attribute [rw] csp
  #   @return [::String]
  #     Required. The CSP of the remote IP prefix.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint::State]
  #     Output only. The state of the `DestinationEndpoint` resource.
  # @!attribute [r] update_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. Time when the `DestinationEndpoint` resource was updated.
  class DestinationEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of the `DestinationEndpoint` resource.
    module State
      # An invalid state, which is the default case.
      STATE_UNSPECIFIED = 0

      # The `DestinationEndpoint` resource is valid.
      VALID = 1

      # The `DestinationEndpoint` resource is invalid.
      INVALID = 2
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#ip_prefix::String

Returns 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.



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 319

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The metadata for a `DestinationEndpoint` resource.
  # @!attribute [rw] asn
  #   @return [::Integer]
  #     Required. The ASN of the remote IP prefix.
  # @!attribute [rw] csp
  #   @return [::String]
  #     Required. The CSP of the remote IP prefix.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint::State]
  #     Output only. The state of the `DestinationEndpoint` resource.
  # @!attribute [r] update_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. Time when the `DestinationEndpoint` resource was updated.
  class DestinationEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of the `DestinationEndpoint` resource.
    module State
      # An invalid state, which is the default case.
      STATE_UNSPECIFIED = 0

      # The `DestinationEndpoint` resource is valid.
      VALID = 1

      # The `DestinationEndpoint` resource is invalid.
      INVALID = 2
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Optional. User-defined labels.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. User-defined labels.



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 319

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The metadata for a `DestinationEndpoint` resource.
  # @!attribute [rw] asn
  #   @return [::Integer]
  #     Required. The ASN of the remote IP prefix.
  # @!attribute [rw] csp
  #   @return [::String]
  #     Required. The CSP of the remote IP prefix.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint::State]
  #     Output only. The state of the `DestinationEndpoint` resource.
  # @!attribute [r] update_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. Time when the `DestinationEndpoint` resource was updated.
  class DestinationEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of the `DestinationEndpoint` resource.
    module State
      # An invalid state, which is the default case.
      STATE_UNSPECIFIED = 0

      # The `DestinationEndpoint` resource is valid.
      VALID = 1

      # The `DestinationEndpoint` resource is invalid.
      INVALID = 2
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

Returns 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}.



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 319

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The metadata for a `DestinationEndpoint` resource.
  # @!attribute [rw] asn
  #   @return [::Integer]
  #     Required. The ASN of the remote IP prefix.
  # @!attribute [rw] csp
  #   @return [::String]
  #     Required. The CSP of the remote IP prefix.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint::State]
  #     Output only. The state of the `DestinationEndpoint` resource.
  # @!attribute [r] update_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. Time when the `DestinationEndpoint` resource was updated.
  class DestinationEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of the `DestinationEndpoint` resource.
    module State
      # An invalid state, which is the default case.
      STATE_UNSPECIFIED = 0

      # The `DestinationEndpoint` resource is valid.
      VALID = 1

      # The `DestinationEndpoint` resource is invalid.
      INVALID = 2
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#state_timeline::Google::Cloud::NetworkConnectivity::V1::StateTimeline (readonly)

Returns 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" } ] }.

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" } ] }



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 319

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The metadata for a `DestinationEndpoint` resource.
  # @!attribute [rw] asn
  #   @return [::Integer]
  #     Required. The ASN of the remote IP prefix.
  # @!attribute [rw] csp
  #   @return [::String]
  #     Required. The CSP of the remote IP prefix.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint::State]
  #     Output only. The state of the `DestinationEndpoint` resource.
  # @!attribute [r] update_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. Time when the `DestinationEndpoint` resource was updated.
  class DestinationEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of the `DestinationEndpoint` resource.
    module State
      # An invalid state, which is the default case.
      STATE_UNSPECIFIED = 0

      # The `DestinationEndpoint` resource is valid.
      VALID = 1

      # The `DestinationEndpoint` resource is invalid.
      INVALID = 2
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#uid::String (readonly)

Returns 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.

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.



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 319

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The metadata for a `DestinationEndpoint` resource.
  # @!attribute [rw] asn
  #   @return [::Integer]
  #     Required. The ASN of the remote IP prefix.
  # @!attribute [rw] csp
  #   @return [::String]
  #     Required. The CSP of the remote IP prefix.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint::State]
  #     Output only. The state of the `DestinationEndpoint` resource.
  # @!attribute [r] update_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. Time when the `DestinationEndpoint` resource was updated.
  class DestinationEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of the `DestinationEndpoint` resource.
    module State
      # An invalid state, which is the default case.
      STATE_UNSPECIFIED = 0

      # The `DestinationEndpoint` resource is valid.
      VALID = 1

      # The `DestinationEndpoint` resource is invalid.
      INVALID = 2
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time when the Destination resource was updated.

Returns:



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/networkconnectivity/v1/data_transfer.rb', line 319

class Destination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The metadata for a `DestinationEndpoint` resource.
  # @!attribute [rw] asn
  #   @return [::Integer]
  #     Required. The ASN of the remote IP prefix.
  # @!attribute [rw] csp
  #   @return [::String]
  #     Required. The CSP of the remote IP prefix.
  # @!attribute [r] state
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Destination::DestinationEndpoint::State]
  #     Output only. The state of the `DestinationEndpoint` resource.
  # @!attribute [r] update_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. Time when the `DestinationEndpoint` resource was updated.
  class DestinationEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The state of the `DestinationEndpoint` resource.
    module State
      # An invalid state, which is the default case.
      STATE_UNSPECIFIED = 0

      # The `DestinationEndpoint` resource is valid.
      VALID = 1

      # The `DestinationEndpoint` resource is invalid.
      INVALID = 2
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end