Skip to main content

networks_consumer_config

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

Overview​

Namenetworks_consumer_config
TypeResource
Idgoogle.servicenetworking.networks_consumer_config

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
update_consumer_configupdateservicesId, projectsId, networksIdService producers use this method to update the configuration of their connection including the import/export of custom routes and subnetwork routes with public IP.

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
networksIdstring
projectsIdstring
servicesIdstring

UPDATE examples​

Service producers use this method to update the configuration of their connection including the import/export of custom routes and subnetwork routes with public IP.

UPDATE google.servicenetworking.networks_consumer_config
SET
data__consumerConfig = '{{ consumerConfig }}'
WHERE
servicesId = '{{ servicesId }}' --required
AND projectsId = '{{ projectsId }}' --required
AND networksId = '{{ networksId }}' --required
RETURNING
name,
done,
error,
metadata,
response;