Skip to content

Commit d7b7ae5

Browse files
feat(networkconnectivity): update the api
#### networkconnectivity:v1 The following keys were added: - schemas.ConsumerPscConfig.properties.consumerInstanceProject.type (Total Keys: 1) - schemas.LinkedInterconnectAttachments.properties.includeImportRanges (Total Keys: 2) - schemas.LinkedRouterApplianceInstances.properties.includeImportRanges (Total Keys: 2) - schemas.LinkedVpnTunnels.properties.includeImportRanges (Total Keys: 2) - schemas.PscConfig.properties.allowedGoogleProducersResourceHierarchyLevel (Total Keys: 2) - schemas.PscConfig.properties.producerInstanceLocation.type (Total Keys: 1)
1 parent 826d408 commit d7b7ae5

6 files changed

+111
-2
lines changed

docs/dyn/networkconnectivity_v1.projects.locations.global_.hubs.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,13 +509,19 @@ <h3>Method Details</h3>
509509
&quot;a_key&quot;: &quot;A String&quot;,
510510
},
511511
&quot;linkedInterconnectAttachments&quot;: { # A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. # VLAN attachments that are associated with the spoke.
512+
&quot;includeImportRanges&quot;: [ # Optional. IP ranges allowed to be included during import from hub.(does not control transit connectivity) The only allowed value for now is &quot;ALL_IPV4_RANGES&quot;.
513+
&quot;A String&quot;,
514+
],
512515
&quot;siteToSiteDataTransfer&quot;: True or False, # A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
513516
&quot;uris&quot;: [ # The URIs of linked interconnect attachment resources
514517
&quot;A String&quot;,
515518
],
516519
&quot;vpcNetwork&quot;: &quot;A String&quot;, # Output only. The VPC network where these VLAN attachments are located.
517520
},
518521
&quot;linkedRouterApplianceInstances&quot;: { # A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke. # Router appliance instances that are associated with the spoke.
522+
&quot;includeImportRanges&quot;: [ # Optional. IP ranges allowed to be included during import from hub.(does not control transit connectivity) The only allowed value for now is &quot;ALL_IPV4_RANGES&quot;.
523+
&quot;A String&quot;,
524+
],
519525
&quot;instances&quot;: [ # The list of router appliance instances.
520526
{ # A router appliance instance is a Compute Engine virtual machine (VM) instance that acts as a BGP speaker. A router appliance instance is specified by the URI of the VM and the internal IP address of one of the VM&#x27;s network interfaces.
521527
&quot;ipAddress&quot;: &quot;A String&quot;, # The IP address on the VM to use for peering.
@@ -535,6 +541,9 @@ <h3>Method Details</h3>
535541
&quot;uri&quot;: &quot;A String&quot;, # Required. The URI of the VPC network resource.
536542
},
537543
&quot;linkedVpnTunnels&quot;: { # A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes. # VPN tunnels that are associated with the spoke.
544+
&quot;includeImportRanges&quot;: [ # Optional. IP ranges allowed to be included during import from hub.(does not control transit connectivity) The only allowed value for now is &quot;ALL_IPV4_RANGES&quot;.
545+
&quot;A String&quot;,
546+
],
538547
&quot;siteToSiteDataTransfer&quot;: True or False, # A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
539548
&quot;uris&quot;: [ # The URIs of linked VPN tunnel resources.
540549
&quot;A String&quot;,

docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionMaps.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ <h3>Method Details</h3>
122122
{ # The ServiceConnectionMap resource. Next id: 15
123123
&quot;consumerPscConfigs&quot;: [ # The PSC configurations on consumer side.
124124
{ # Allow the producer to specify which consumers can connect to it.
125+
&quot;consumerInstanceProject&quot;: &quot;A String&quot;, # Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who&#x27;s created a producer instance, this is the project of the producer instance. Format: &#x27;projects/&#x27; Eg. &#x27;projects/consumer-project&#x27; or &#x27;projects/1234&#x27;
125126
&quot;disableGlobalAccess&quot;: True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
126127
&quot;network&quot;: &quot;A String&quot;, # The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
127128
&quot;producerInstanceId&quot;: &quot;A String&quot;, # Immutable. An immutable identifier for the producer instance.
@@ -267,6 +268,7 @@ <h3>Method Details</h3>
267268
{ # The ServiceConnectionMap resource. Next id: 15
268269
&quot;consumerPscConfigs&quot;: [ # The PSC configurations on consumer side.
269270
{ # Allow the producer to specify which consumers can connect to it.
271+
&quot;consumerInstanceProject&quot;: &quot;A String&quot;, # Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who&#x27;s created a producer instance, this is the project of the producer instance. Format: &#x27;projects/&#x27; Eg. &#x27;projects/consumer-project&#x27; or &#x27;projects/1234&#x27;
270272
&quot;disableGlobalAccess&quot;: True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
271273
&quot;network&quot;: &quot;A String&quot;, # The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
272274
&quot;producerInstanceId&quot;: &quot;A String&quot;, # Immutable. An immutable identifier for the producer instance.
@@ -400,6 +402,7 @@ <h3>Method Details</h3>
400402
{ # The ServiceConnectionMap resource. Next id: 15
401403
&quot;consumerPscConfigs&quot;: [ # The PSC configurations on consumer side.
402404
{ # Allow the producer to specify which consumers can connect to it.
405+
&quot;consumerInstanceProject&quot;: &quot;A String&quot;, # Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who&#x27;s created a producer instance, this is the project of the producer instance. Format: &#x27;projects/&#x27; Eg. &#x27;projects/consumer-project&#x27; or &#x27;projects/1234&#x27;
403406
&quot;disableGlobalAccess&quot;: True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
404407
&quot;network&quot;: &quot;A String&quot;, # The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
405408
&quot;producerInstanceId&quot;: &quot;A String&quot;, # Immutable. An immutable identifier for the producer instance.
@@ -492,6 +495,7 @@ <h3>Method Details</h3>
492495
{ # The ServiceConnectionMap resource. Next id: 15
493496
&quot;consumerPscConfigs&quot;: [ # The PSC configurations on consumer side.
494497
{ # Allow the producer to specify which consumers can connect to it.
498+
&quot;consumerInstanceProject&quot;: &quot;A String&quot;, # Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who&#x27;s created a producer instance, this is the project of the producer instance. Format: &#x27;projects/&#x27; Eg. &#x27;projects/consumer-project&#x27; or &#x27;projects/1234&#x27;
495499
&quot;disableGlobalAccess&quot;: True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
496500
&quot;network&quot;: &quot;A String&quot;, # The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
497501
&quot;producerInstanceId&quot;: &quot;A String&quot;, # Immutable. An immutable identifier for the producer instance.

docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionPolicies.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,11 @@ <h3>Method Details</h3>
130130
&quot;name&quot;: &quot;A String&quot;, # Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
131131
&quot;network&quot;: &quot;A String&quot;, # The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
132132
&quot;pscConfig&quot;: { # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
133+
&quot;allowedGoogleProducersResourceHierarchyLevel&quot;: [ # Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both &#x27;organizations/foo&#x27; and &#x27;projects/bar&#x27; as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the &#x27;foo&#x27; organization or the &#x27;bar&#x27; project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is / where is one of &#x27;projects&#x27;, &#x27;folders&#x27;, or &#x27;organizations&#x27; and is either the ID or the number of the resource type. Format for each allowed_google_producers_resource_hierarchy_level value: &#x27;projects/&#x27; or &#x27;folders/&#x27; or &#x27;organizations/&#x27; Eg. [projects/my-project-id, projects/567, folders/891, organizations/123]
134+
&quot;A String&quot;,
135+
],
133136
&quot;limit&quot;: &quot;A String&quot;, # Optional. Max number of PSC connections for this policy.
137+
&quot;producerInstanceLocation&quot;: &quot;A String&quot;, # Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
134138
&quot;subnetworks&quot;: [ # The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
135139
&quot;A String&quot;,
136140
],
@@ -261,7 +265,11 @@ <h3>Method Details</h3>
261265
&quot;name&quot;: &quot;A String&quot;, # Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
262266
&quot;network&quot;: &quot;A String&quot;, # The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
263267
&quot;pscConfig&quot;: { # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
268+
&quot;allowedGoogleProducersResourceHierarchyLevel&quot;: [ # Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both &#x27;organizations/foo&#x27; and &#x27;projects/bar&#x27; as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the &#x27;foo&#x27; organization or the &#x27;bar&#x27; project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is / where is one of &#x27;projects&#x27;, &#x27;folders&#x27;, or &#x27;organizations&#x27; and is either the ID or the number of the resource type. Format for each allowed_google_producers_resource_hierarchy_level value: &#x27;projects/&#x27; or &#x27;folders/&#x27; or &#x27;organizations/&#x27; Eg. [projects/my-project-id, projects/567, folders/891, organizations/123]
269+
&quot;A String&quot;,
270+
],
264271
&quot;limit&quot;: &quot;A String&quot;, # Optional. Max number of PSC connections for this policy.
272+
&quot;producerInstanceLocation&quot;: &quot;A String&quot;, # Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
265273
&quot;subnetworks&quot;: [ # The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
266274
&quot;A String&quot;,
267275
],
@@ -380,7 +388,11 @@ <h3>Method Details</h3>
380388
&quot;name&quot;: &quot;A String&quot;, # Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
381389
&quot;network&quot;: &quot;A String&quot;, # The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
382390
&quot;pscConfig&quot;: { # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
391+
&quot;allowedGoogleProducersResourceHierarchyLevel&quot;: [ # Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both &#x27;organizations/foo&#x27; and &#x27;projects/bar&#x27; as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the &#x27;foo&#x27; organization or the &#x27;bar&#x27; project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is / where is one of &#x27;projects&#x27;, &#x27;folders&#x27;, or &#x27;organizations&#x27; and is either the ID or the number of the resource type. Format for each allowed_google_producers_resource_hierarchy_level value: &#x27;projects/&#x27; or &#x27;folders/&#x27; or &#x27;organizations/&#x27; Eg. [projects/my-project-id, projects/567, folders/891, organizations/123]
392+
&quot;A String&quot;,
393+
],
383394
&quot;limit&quot;: &quot;A String&quot;, # Optional. Max number of PSC connections for this policy.
395+
&quot;producerInstanceLocation&quot;: &quot;A String&quot;, # Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
384396
&quot;subnetworks&quot;: [ # The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
385397
&quot;A String&quot;,
386398
],
@@ -458,7 +470,11 @@ <h3>Method Details</h3>
458470
&quot;name&quot;: &quot;A String&quot;, # Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
459471
&quot;network&quot;: &quot;A String&quot;, # The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
460472
&quot;pscConfig&quot;: { # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
473+
&quot;allowedGoogleProducersResourceHierarchyLevel&quot;: [ # Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both &#x27;organizations/foo&#x27; and &#x27;projects/bar&#x27; as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the &#x27;foo&#x27; organization or the &#x27;bar&#x27; project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is / where is one of &#x27;projects&#x27;, &#x27;folders&#x27;, or &#x27;organizations&#x27; and is either the ID or the number of the resource type. Format for each allowed_google_producers_resource_hierarchy_level value: &#x27;projects/&#x27; or &#x27;folders/&#x27; or &#x27;organizations/&#x27; Eg. [projects/my-project-id, projects/567, folders/891, organizations/123]
474+
&quot;A String&quot;,
475+
],
461476
&quot;limit&quot;: &quot;A String&quot;, # Optional. Max number of PSC connections for this policy.
477+
&quot;producerInstanceLocation&quot;: &quot;A String&quot;, # Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
462478
&quot;subnetworks&quot;: [ # The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
463479
&quot;A String&quot;,
464480
],

0 commit comments

Comments
 (0)