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

Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::MulticloudDataTransferConfig.

The MulticloudDataTransferConfig resource. It lists the services that you configure for Data Transfer Essentials billing and metering.

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.

#destinations_active_count

def destinations_active_count() -> ::Integer
Returns
  • (::Integer) — Output only. The number of Destination resources in use with the MulticloudDataTransferConfig resource.

#destinations_count

def destinations_count() -> ::Integer
Returns
  • (::Integer) — Output only. The number of Destination resources configured for the MulticloudDataTransferConfig resource.

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

#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 MulticloudDataTransferConfig resource. Format: projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The name of the MulticloudDataTransferConfig resource. Format: projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}.
Returns
  • (::String) — Identifier. The name of the MulticloudDataTransferConfig resource. Format: projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}.

#services

def services() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkConnectivity::V1::StateTimeline}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkConnectivity::V1::StateTimeline}) — Optional. Maps services to their current or planned states. Service names are keys, and the associated values describe the state of the service. If a state change is expected, the value is either ADDING or DELETING, depending on the actions taken.

    Sample output: "services": { "big-query": { "states": [ { "effectiveTime": "2024-12-12T08:00:00Z" "state": "ADDING", }, ] }, "cloud-storage": { "states": [ { "state": "ACTIVE", } ] } }

#services=

def services=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkConnectivity::V1::StateTimeline}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkConnectivity::V1::StateTimeline}) — Optional. Maps services to their current or planned states. Service names are keys, and the associated values describe the state of the service. If a state change is expected, the value is either ADDING or DELETING, depending on the actions taken.

    Sample output: "services": { "big-query": { "states": [ { "effectiveTime": "2024-12-12T08:00:00Z" "state": "ADDING", }, ] }, "cloud-storage": { "states": [ { "state": "ACTIVE", } ] } }

Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkConnectivity::V1::StateTimeline}) — Optional. Maps services to their current or planned states. Service names are keys, and the associated values describe the state of the service. If a state change is expected, the value is either ADDING or DELETING, depending on the actions taken.

    Sample output: "services": { "big-query": { "states": [ { "effectiveTime": "2024-12-12T08:00:00Z" "state": "ADDING", }, ] }, "cloud-storage": { "states": [ { "state": "ACTIVE", } ] } }

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. The Google-generated unique ID for the MulticloudDataTransferConfig resource. This value is unique across all MulticloudDataTransferConfig 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