networks
Creates, updates, deletes, gets or lists a networks
resource.
Overview
Name | networks |
Type | Resource |
Id | google.servicenetworking.networks |
Fields
Name | Datatype | Description |
---|---|---|
cloudsqlConfigs | array | Represents one or multiple Cloud SQL configurations. |
consumerExportCustomRoutes | boolean | Export custom routes flag value for peering from consumer to producer. |
consumerExportSubnetRoutesWithPublicIp | boolean | Export subnet routes with public ip flag value for peering from consumer to producer. |
consumerImportCustomRoutes | boolean | Import custom routes flag value for peering from consumer to producer. |
consumerImportSubnetRoutesWithPublicIp | boolean | Import subnet routes with public ip flag value for peering from consumer to producer. |
producerExportCustomRoutes | boolean | Export custom routes flag value for peering from producer to consumer. |
producerExportSubnetRoutesWithPublicIp | boolean | Export subnet routes with public ip flag value for peering from producer to consumer. |
producerImportCustomRoutes | boolean | Import custom routes flag value for peering from producer to consumer. |
producerImportSubnetRoutesWithPublicIp | boolean | Import subnet routes with public ip flag value for peering from producer to consumer. |
producerNetwork | string | Output only. The VPC host network that is used to host managed service instances. In the format, projects/{project}/global/networks/{network} where {project} is the project number e.g. '12345' and {network} is the network name. |
reservedRanges | array | Output only. The reserved ranges associated with this private service access connection. |
usedIpRanges | array | Output only. The IP ranges already in use by consumer or producer |
vpcScReferenceArchitectureEnabled | boolean | Output only. Indicates whether the VPC Service Controls reference architecture is configured for the producer VPC host network. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | networksId, projectsId, servicesId | Service producers use this method to get the configuration of their connection including the import/export of custom routes and subnetwork routes with public IP. |
SELECT
examples
Service producers use this method to get the configuration of their connection including the import/export of custom routes and subnetwork routes with public IP.
SELECT
cloudsqlConfigs,
consumerExportCustomRoutes,
consumerExportSubnetRoutesWithPublicIp,
consumerImportCustomRoutes,
consumerImportSubnetRoutesWithPublicIp,
producerExportCustomRoutes,
producerExportSubnetRoutesWithPublicIp,
producerImportCustomRoutes,
producerImportSubnetRoutesWithPublicIp,
producerNetwork,
reservedRanges,
usedIpRanges,
vpcScReferenceArchitectureEnabled
FROM google.servicenetworking.networks
WHERE networksId = '{{ networksId }}'
AND projectsId = '{{ projectsId }}'
AND servicesId = '{{ servicesId }}';