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:

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 resource was created.
descriptionstringOptional. A description of this resource.
destinationsActiveCountinteger (int32)Output only. The number of Destination resources in use with the MulticloudDataTransferConfig resource.
destinationsCountinteger (int32)Output only. The number of Destination resources configured for the MulticloudDataTransferConfig resource.
etagstringThe 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.
labelsobjectOptional. User-defined labels.
servicesobjectOptional. 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", } ] } }
uidstringOutput 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.
updateTimestring (google-datetime)Output only. Time when the MulticloudDataTransferConfig resource was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, multicloudDataTransferConfigsIdGets the details of a MulticloudDataTransferConfig resource.
listselectprojectsId, locationsIdpageSize, pageToken, returnPartialSuccess, filter, orderByLists the MulticloudDataTransferConfig resources in a specified project and location.
createinsertprojectsId, locationsIdrequestId, multicloudDataTransferConfigIdCreates a MulticloudDataTransferConfig resource in a specified project and location.
patchupdateprojectsId, locationsId, multicloudDataTransferConfigsIdupdateMask, requestIdUpdates a MulticloudDataTransferConfig resource in a specified project and location.
deletedeleteprojectsId, locationsId, multicloudDataTransferConfigsIdetag, requestIdDeletes a MulticloudDataTransferConfig resource.

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 the details of a MulticloudDataTransferConfig resource.

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 resource in a specified project and location.

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

UPDATE examples

Updates a MulticloudDataTransferConfig resource in a specified project and location.

UPDATE google.networkconnectivity.multicloud_data_transfer_configs
SET
data__labels = '{{ labels }}',
data__name = '{{ name }}',
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 MulticloudDataTransferConfig resource.

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