Resource: ConsumerConfig
Configuration information for a private service access connection.
JSON representation | |
---|---|
{
"producerNetwork": string,
"consumerImportCustomRoutes": boolean,
"consumerExportCustomRoutes": boolean,
"producerImportCustomRoutes": boolean,
"producerExportCustomRoutes": boolean,
"consumerImportSubnetRoutesWithPublicIp": boolean,
"consumerExportSubnetRoutesWithPublicIp": boolean,
"producerImportSubnetRoutesWithPublicIp": boolean,
"producerExportSubnetRoutesWithPublicIp": boolean,
"reservedRanges": [
{
object ( |
Fields | |
---|---|
producerNetwork |
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. |
consumerImportCustomRoutes |
Import custom routes flag value for peering from consumer to producer. |
consumerExportCustomRoutes |
Export custom routes flag value for peering from consumer to producer. |
producerImportCustomRoutes |
Import custom routes flag value for peering from producer to consumer. |
producerExportCustomRoutes |
Export custom routes flag value for peering from producer to consumer. |
consumerImportSubnetRoutesWithPublicIp |
Import subnet routes with public ip flag value for peering from consumer to producer. |
consumerExportSubnetRoutesWithPublicIp |
Export subnet routes with public ip flag value for peering from consumer to producer. |
producerImportSubnetRoutesWithPublicIp |
Import subnet routes with public ip flag value for peering from producer to consumer. |
producerExportSubnetRoutesWithPublicIp |
Export subnet routes with public ip flag value for peering from producer to consumer. |
reservedRanges[] |
Output only. The reserved ranges associated with this private service access connection. |
vpcScReferenceArchitectureEnabled |
Output only. Indicates whether the VPC Service Controls reference architecture is configured for the producer VPC host network. |
ReservedRange
Allocated IP address ranges for this private service access connection.
JSON representation | |
---|---|
{ "name": string, "ipPrefixLength": integer, "address": string } |
Fields | |
---|---|
name |
The name of the reserved range. |
ipPrefixLength |
The prefix length of the reserved range. |
address |
The starting address of the reserved range. The address must be a valid IPv4 address in the x.x.x.x format. This value combined with the IP prefix length is the CIDR range for the reserved range. |
Methods |
|
---|---|
|
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. |
|
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. |