Skip to main content

multicloud_data_transfer_configs

Creates, updates, deletes, gets or lists a multicloud_data_transfer_configs resource.

Overview

Namemulticloud_data_transfer_configs
TypeResource
Idgoogle.networkconnectivity.multicloud_data_transfer_configs

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. The name of the MulticloudDataTransferConfig resource. Format: projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}.
createTimestring (google-datetime)Output only. Time when the MulticloudDataTransferConfig was created.
descriptionstringOptional. An optional field to provide a description of this resource.
destinationsActiveCountinteger (int32)Output only. The number of Destinations in use under the MulticloudDataTransferConfig resource.
destinationsCountinteger (int32)Output only. The number of Destinations configured under the MulticloudDataTransferConfig resource.
etagstringThe etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
labelsobjectOptional. User-defined labels.
servicesobjectOptional. This map services to either their current or planned states. Service names are keys, and the associated values describe the service's state. If a state change is expected, the value will be the list of ADDING or DELETING states depending on the actions taken. Example: "services": { "big-query": { "states": [ { "state": "ADDING", "effective_time": "2024-12-12T08:00:00Z" }, ] }, "cloud-storage": { "states": [ { "state": "ACTIVE", } ] } }
uidstringOutput only. The Google-generated UUID for the MulticloudDataTransferConfig. This value is unique across all MulticloudDataTransferConfig resources. If a MulticloudDataTransferConfig is deleted and another with the same name is created, the new MulticloudDataTransferConfig is assigned a different uid.
updateTimestring (google-datetime)Output only. Time when the MulticloudDataTransferConfig was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, multicloudDataTransferConfigsIdGets details of a single MulticloudDataTransferConfig.
listselectprojectsId, locationsIdpageSize, pageToken, filter, orderBy, returnPartialSuccessLists MulticloudDataTransferConfigs in a given project and location.
createinsertprojectsId, locationsIdmulticloudDataTransferConfigId, requestIdCreates a MulticloudDataTransferConfig in a given project and location.
patchupdateprojectsId, locationsId, multicloudDataTransferConfigsIdupdateMask, requestIdUpdates a MulticloudDataTransferConfig in a given project and location.
deletedeleteprojectsId, locationsId, multicloudDataTransferConfigsIdrequestId, etagDeletes a single MulticloudDataTransferConfig.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
multicloudDataTransferConfigsIdstring
projectsIdstring
etagstring
filterstring
multicloudDataTransferConfigIdstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
returnPartialSuccessboolean
updateMaskstring (google-fieldmask)

SELECT examples

Gets details of a single MulticloudDataTransferConfig.

SELECT
name,
createTime,
description,
destinationsActiveCount,
destinationsCount,
etag,
labels,
services,
uid,
updateTime
FROM google.networkconnectivity.multicloud_data_transfer_configs
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND multicloudDataTransferConfigsId = '{{ multicloudDataTransferConfigsId }}' -- required;

INSERT examples

Creates a MulticloudDataTransferConfig in a given project and location.

INSERT INTO google.networkconnectivity.multicloud_data_transfer_configs (
data__name,
data__labels,
data__etag,
data__description,
data__services,
projectsId,
locationsId,
multicloudDataTransferConfigId,
requestId
)
SELECT
'{{ name }}',
'{{ labels }}',
'{{ etag }}',
'{{ description }}',
'{{ services }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ multicloudDataTransferConfigId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates a MulticloudDataTransferConfig in a given project and location.

UPDATE google.networkconnectivity.multicloud_data_transfer_configs
SET
data__name = '{{ name }}',
data__labels = '{{ labels }}',
data__etag = '{{ etag }}',
data__description = '{{ description }}',
data__services = '{{ services }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND multicloudDataTransferConfigsId = '{{ multicloudDataTransferConfigsId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes a single MulticloudDataTransferConfig.

DELETE FROM google.networkconnectivity.multicloud_data_transfer_configs
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND multicloudDataTransferConfigsId = '{{ multicloudDataTransferConfigsId }}' --required
AND requestId = '{{ requestId }}'
AND etag = '{{ etag }}';