This page describes how to manage resources created by using Data Transfer Essentials.
Manage configurations
You can list Data Transfer Essentials configurations in your project, check the state of a configuration, update a configuration, or delete it.
List the configurations in a project
To list all configurations in a location in a project, use one of the following ways:
gcloud
Use the gcloud network-connectivity multicloud-data-transfer-configs list
command.
gcloud network-connectivity multicloud-data-transfer-configs list \ --location=LOCATION
Replace LOCATION
with the region of the
configuration.
API
Use the
multicloudDataTransferConfigs.get
method.
GET https://networkconnectivity.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/multicloudDataTransferConfigs
Replace the following:
PROJECT_ID
: the ID of your projectLOCATION
: the region of the configuration
Optionally, use the requestID
query parameter to identify your API
requests. If you retry your request, the server can use the identifier
to ignore a request that has already been responded to.
View the details of a configuration
To view the details of a configuration, use one of the following ways:
gcloud
Use the gcloud network-connectivity multicloud-data-transfer-configs describe
command.
gcloud network-connectivity multicloud-data-transfer-configs describe CONFIGURATION_NAME \ --location=LOCATION
Replace the following:
CONFIGURATION_NAME
: the name of the configurationLOCATION
: the region of the configuration
The following sample output shows that traffic from compute-engine
is
ready to be considered for Data Transfer Essentials
billing. For cloud-sql
and cloud-storage
, the update is pending.
The effectiveTime
value indicates the time at which the state is expected
to take effect. The sample also shows the total number of destinations in
the configuration and the number of destinations that are active.
description: 'sample config'
destinationsCount: 2
destinationsActiveCount: 0
name: config1
region: https://www.googleapis.com/network-connectivity/v1/projects/my-project/locations/europe-west3
services:
- cloud-sql:
states:
- effectiveTime: 2024-12-12T08:00:00Z
state: DELETING
- cloud-storage:
states:
- effectiveTime: 2024-12-12T08:00:00Z
state: ADDING
- compute-engine:
states:
- state: ACTIVE
…
API
Use the
multicloudDataTransferConfigs.list
method.
GET https://networkconnectivity.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/multicloudDataTransferConfigs/CONFIGURATION_NAME
Replace the following:
PROJECT_ID
: the ID of your projectLOCATION
: the region of the configurationCONFIGURATION_NAME
: the name of the configuration
The following sample output shows that traffic from compute-engine
is
ready to be considered for Data Transfer Essentials billing.
For cloud-storage
and cloud-sql
, the update is pending.
The effectiveTime
value indicates the time at which the state is
expected to take effect. The sample also shows the total number of
destinations in the configuration and the number of destinations that are
active.
{
"multicloudDataTransferConfig": [
{
"name": "projects/test-project/locations/europe-west1/multicloudDataTransferConfigs/config1",
"createTime": "2025-05-14T10:16:22.761275571Z",
"updateTime": "2025-05-14T10:16:25.872465362Z",
"etag": "l-WY4OT6hBsMT8sAwEbuSpviLsE9iC_UDJXDyfE265I",
"description": "sample config",
"destinationsCount": 1,
"destinationsActiveCount": 1,
"services": {
"cloud-sql": {
"states": [
{
"effectiveTime": "2025-05-29T07:00:00Z",
"state": "DELETING"
}
]
},
"cloud-storage": {
"states": [
{
"effectiveTime": "2025-05-29T07:00:00Z",
"state": "ADDING"
}
]
},
"compute-engine": {
"states": [
{
"state": "ACTIVE"
}
]
}
}
}
]
}
The state of a service can be one of the following:
ADDING
: the service is being added.DELETING
: the service is being deleted.ACTIVE
: the service is configured for Data Transfer Essentials billing.
Update a configuration
To add or delete services from a configuration, use one of the following ways:
gcloud
Use the gcloud network-connectivity multicloud-data-transfer-configs update
command.
To specify services, use one of the following options:
services
: replaces the services in the configuration with the specified listupdate-services
: adds the specified services to the configurationremove-services
: removes the specified services from the configurationclear-services
: removes all services from the configuration
gcloud network-connectivity multicloud-data-transfer-configs update CONFIGURATION_NAME \ --location=LOCATION \ --description=DESCRIPTION \ --services=SERVICE-A,... | --update-services=SERVICE-A,... | --remove-services=SERVICE-A,... | --clear-services
Replace the following:
CONFIGURATION_NAME
: the name of the configuration that you want to update.LOCATION
: the region of the configuration.DESCRIPTION
: a description of the configuration and its purpose.SERVICE-A,...
: a series of strings that represent the services that you want to add or delete from the configuration. For valid strings, see Supported services and regions. Useclear-services
to remove all services from the configuration.
API
Use the
multicloudDataTransferConfigs.update
method.
PATCH https://networkconnectivity.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/multicloudDataTransferConfigs/CONFIGURATION_NAME { "description": "DESCRIPTION", "services": { "SERVICE-A", "SERVICE-B" } }
Replace the following:
PROJECT_ID
: the ID of your project.LOCATION
: the region of the configuration.CONFIGURATION_NAME
: the name of the configuration.DESCRIPTION
: a description of the configuration and its purpose.SERVICE-A
: a series of strings that represent the services that you want to add or delete from the configuration. For valid strings, see Supported services and regions.
Additionally, to prevent a specified set of fields from being overwritten
during an update operation, you can use the updateMask
option, which
follows the fieldMask format.
Updates to Data Transfer Essentials configurations take effect in approximately 24 hours.
Delete a configuration
You can delete a configuration only after you delete all destinations that are associated with it.
To delete a configuration, use one of the following ways:
gcloud
Use the gcloud network-connectivity multicloud-data-transfer-configs delete
command.
gcloud network-connectivity multicloud-data-transfer-configs delete CONFIGURATION_NAME \ --location=LOCATION
API
Use the
multicloudDataTransferConfigs.delete
method.
DELETE https://networkconnectivity.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/multicloudDataTransferConfigs/CONFIGURATION_NAME
Manage destinations
You can list Data Transfer Essentials destinations in your project, check the state of a destination, update a destination, or delete it.
List the destinations in a project
To list all destinations in a project, use one of the following ways:
gcloud
Use the gcloud network-connectivity multicloud-data-transfer-configs destinations list
command.
gcloud network-connectivity multicloud-data-transfer-configs destinations list \ --multicloud-data-transfer-config=CONFIGURATION_NAME \ --location=LOCATION
Replace the following:
CONFIGURATION_NAME
: the name of the configuration whose destinations you want to listLOCATION
: the region of the configuration
API
Use the
multicloudDataTransferConfigs.destinations.list
method.
GET https://networkconnectivity.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/multicloudDataTransferConfigs/CONFIGURATION_NAME
Replace the following:
PROJECT_ID
: the ID of your projectLOCATION
: the region of the configurationCONFIGURATION_NAME
: the name of the configuration whose destinations you want to list
View the details of a destination
To view the details of a destination, use one of the following ways:
gcloud
Use the gcloud network-connectivity multicloud-data-transfer-configs destinations describe
command.
gcloud network-connectivity multicloud-data-transfer-configs destinations describe DESTINATION_NAME \ --multicloud-data-transfer-config=CONFIGURATION_NAME \ --location=LOCATION
Replace the following:
DESTINATION_NAME
: the name of the destinationCONFIGURATION_NAME
: the name of the configuration whose destination you want to viewLOCATION
: the region of the configuration
The following sample shows that the endpoint specified for destination1
is
valid and the destination is being added by the time indicated by
effectiveTime
.
createTime: '2025-05-28T13:08:00.171978514Z'
description: 'sample destination'
endpoints:
- asn: 16509
csp: aws
state: VALID
etag: tag1
ipPrefix: 203.0.113.0/24
name: projects/test-project/locations/europe-west3/multicloudDataTransferConfig/config1/destinations/destination1
stateTimeline:
states:
- effectiveTime: '2025-05-29T07:00:00Z'
state: ADDING
updateTime: '2025-05-28T13:08:03.431862259Z'
…
API
Use the
multicloudDataTransferConfigs.destinations.get
method.
GET https://networkconnectivity.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/multicloudDataTransferConfigs/CONFIGURATION_NAME/destinations/DESTINATION_NAME
Replace the following:
PROJECT_ID
: the ID of your projectLOCATION
: the region of the configurationCONFIGURATION_NAME
: the name of the configurationDESTINATION_NAME
: the name of the destination
The following sample output shows that the endpoint specified for
destination1
is valid and the destination is being added by the
time indicated by effectiveTime
.
{
"destination": [
{
"name": "projects/test-project/locations/europe-west3/multicloudDataTransferConfig/config1/destinations/destination1",
"createTime": "2025-05-14T10:18:16.941520739Z",
"updateTime": "2025-05-14T10:18:20.028116272Z",
"etag": "tag1",
"description": "sample destination",
"ipPrefix": "203.0.113.0/24",
"endpoints": [
{
"asn": 16509,
"csp": "aws",
"state": "VALID"
}
],
"stateTimeline": {
"states": [
{
"state": "ADDING",
"effectiveTime": "2025-05-29T07:00:00Z"
}
]
}
}
]
}
For a destination, the state can be one of the following:
ADDING
: the destination is being added.DELETING
: the destination is being deleted.SUSPENDING
: the destination is being suspended based on auditing.ACTIVE
: the destination is considered for Data Transfer Essentials billing.SUSPENDED
: the destination was either deleted or violates the terms of usage and won't be considered for Data Transfer Essentials billing.
For an endpoint, the state can be one of the following:
VALID
: the combination of ASN and CSP values is valid.INVALID
: the combination of ASN and CSP values isn't valid.
If the state for even one endpoint is VALID
, then the destination is
considered as qualifying for Data Transfer Essentials billing.
If the state for all endpoints is INVALID
, then the destination
is considered as not qualifying for Data Transfer Essentials
billing. In this case, the state of the destination is set to
SUSPENDING
or SUSPENDED
, depending on whether the current state is
ADDING
or ACTIVE
, respectively. The traffic to such a destination is
treated as regular internet traffic.
Update a destination
A destination must have at least one endpoint and can't have more than five endpoints.
To add or delete endpoints from a destination, use one of the following ways:
gcloud
Use the gcloud network-connectivity multicloud-data-transfer-configs destinations update
command.
To specify endpoints, use one of the following options. You can specify the
add-endpoints
or remove-endpoints
flags multiple times in the same
command.
endpoints
: replaces the endpoints in the destination with the specified listadd-endpoints
: adds the specified endpoints to the destinationremove-endpoints
: removes the specified endpoints from the destination
gcloud network-connectivity multicloud-data-transfer-configs destinations update DESTINATION_NAME \ --multicloud-data-transfer-config=CONFIGURATION_NAME \ --location=LOCATION \ --description=DESCRIPTION \ --ip-prefix=IP_PREFIX \ --endpoints=asn=ASN,csp=CSP | --add-endpoints=asn=ASN,csp=CSP | --remove-endpoints=asn=ASN,csp=CSP
Replace the following:
DESTINATION_NAME
: the name of the destination.CONFIGURATION_NAME
: the name of the configuration that you want to update.LOCATION
: the region of the configuration.DESCRIPTION
: a description of the destination and its purpose.IP_PREFIX
: the IP prefix of the destination specified as a range or a value.For each endpoint, specify the following:
ASN
: the ASN that is expected to announce the prefix. See Recognized ASNs.CSP
: a string that represents the CSP of the ASN that is announcing the prefix.
API
Use the
multicloudDataTransferConfigs.destinations.update
method.
PATCH https://networkconnectivity.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/multicloudDataTransferConfigs/CONFIGURATION_NAME/destinations/DESTINATION_NAME { "description": "DESCRIPTION", "ip_prefix": "IP_PREFIX", "endpoints": [ { "asn": "ASN", "csp": "CSP" } ] }
Replace the following:
PROJECT_ID
: the ID of your project.LOCATION
: the region of the configuration.CONFIGURATION_NAME
: the name of the configuration.DESTINATION_NAME
: the name of the destination.DESCRIPTION
: a description of the destination and its purpose.IP_PREFIX
: the IP prefix of the destination specified as a range (for example,203.0.113.0/24
or2001:db8::/32
) or a value (for example,203.0.113.6
or2001:db8:2:2:2:2:2:2
). An IP prefix must be used only once in a configuration and for only one ASN.Specify strings corresponding to endpoints that you want to add to the destination or remove endpoints that you don't want to retain in the destination:
ASN
: the ASN that is expected to announce the prefix. See Recognized ASNs.CSP
: a string that represents the CSP of the ASN that is announcing the prefix.
Additionally, to prevent a specified set of fields from being overwritten
during an update operation, you can use the updateMask
option, which
follows the fieldMask format.
Updates to Data Transfer Essentials destinations and the related configurations take effect in approximately 24 hours.
Delete a destination
To delete a destination, use one of the following ways:
gcloud
Use the gcloud network-connectivity multicloud-data-transfer-configs destinations delete
command.
gcloud network-connectivity multicloud-data-transfer-configs destinations delete DESTINATION_NAME \ --multicloud-data-transfer-config=CONFIGURATION_NAME \ --location=LOCATION
API
Use the
multicloudDataTransferConfigs.destinations.delete
method.
DELETE https://networkconnectivity.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/multicloudDataTransferConfigs/CONFIGURATION_NAME/destinations/DESTINATION_NAME