Skip to content

Commit af889b9

Browse files
feat(networkconnectivity): update the api
#### networkconnectivity:v1 The following keys were added: - resources.projects.resources.locations.resources.global.resources.hubs.methods.queryStatus (Total Keys: 22) - schemas.HubStatusEntry (Total Keys: 6) - schemas.LinkedProducerVpcNetwork.properties.includeExportRanges (Total Keys: 2) - schemas.PscPropagationStatus (Total Keys: 9) - schemas.QueryHubStatusResponse (Total Keys: 5) #### networkconnectivity:v1alpha1 The following keys were added: - schemas.InternalRange.properties.immutable.type (Total Keys: 1)
1 parent 1acf476 commit af889b9

9 files changed

+278
-36
lines changed

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

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ <h2>Instance Methods</h2>
117117
<p class="toc_element">
118118
<code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
119119
<p class="firstline">Updates the description and/or labels of a Network Connectivity Center hub.</p>
120+
<p class="toc_element">
121+
<code><a href="#queryStatus">queryStatus(name, filter=None, groupBy=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
122+
<p class="firstline">Query PSC propagation status the status of a Network Connectivity Center hub.</p>
123+
<p class="toc_element">
124+
<code><a href="#queryStatus_next">queryStatus_next()</a></code></p>
125+
<p class="firstline">Retrieves the next page of results.</p>
120126
<p class="toc_element">
121127
<code><a href="#rejectSpoke">rejectSpoke(name, body=None, x__xgafv=None)</a></code></p>
122128
<p class="firstline">Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was previously in the `ACTIVE` state, it transitions to the `INACTIVE` state and is no longer able to connect to other spokes that are attached to the hub.</p>
@@ -518,10 +524,13 @@ <h3>Method Details</h3>
518524
],
519525
&quot;vpcNetwork&quot;: &quot;A String&quot;, # Output only. The VPC network where these VLAN attachments are located.
520526
},
521-
&quot;linkedProducerVpcNetwork&quot;: { # Next ID: 7 # Optional. The linked producer VPC that is associated with the spoke.
527+
&quot;linkedProducerVpcNetwork&quot;: { # Optional. The linked producer VPC that is associated with the spoke.
522528
&quot;excludeExportRanges&quot;: [ # Optional. IP ranges encompassing the subnets to be excluded from peering.
523529
&quot;A String&quot;,
524530
],
531+
&quot;includeExportRanges&quot;: [ # Optional. IP ranges allowed to be included from peering.
532+
&quot;A String&quot;,
533+
],
525534
&quot;network&quot;: &quot;A String&quot;, # Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered with.
526535
&quot;peering&quot;: &quot;A String&quot;, # Immutable. The name of the VPC peering between the Service Consumer VPC and the Producer VPC (defined in the Tenant project) which is added to the NCC hub. This peering must be in ACTIVE state.
527536
&quot;producerNetwork&quot;: &quot;A String&quot;, # Output only. The URI of the Producer VPC.
@@ -563,7 +572,7 @@ <h3>Method Details</h3>
563572
&quot;vpcNetwork&quot;: &quot;A String&quot;, # Output only. The VPC network where these VPN tunnels are located.
564573
},
565574
&quot;name&quot;: &quot;A String&quot;, # Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
566-
&quot;reasons&quot;: [ # Output only. The reasons for current state of the spoke. Only present when the spoke is in the `INACTIVE` state.
575+
&quot;reasons&quot;: [ # Output only. The reasons for current state of the spoke.
567576
{ # The reason a spoke is inactive.
568577
&quot;code&quot;: &quot;A String&quot;, # The code associated with this reason.
569578
&quot;message&quot;: &quot;A String&quot;, # Human-readable details about this reason.
@@ -694,6 +703,59 @@ <h3>Method Details</h3>
694703
}</pre>
695704
</div>
696705

706+
<div class="method">
707+
<code class="details" id="queryStatus">queryStatus(name, filter=None, groupBy=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
708+
<pre>Query PSC propagation status the status of a Network Connectivity Center hub.
709+
710+
Args:
711+
name: string, Required. The name of the hub. (required)
712+
filter: string, Optional. An expression that filters the list of results. The filter can be used to filter the results by the following fields: * psc_propagation_status.source_spoke * psc_propagation_status.source_group * psc_propagation_status.source_forwarding_rule * psc_propagation_status.target_spoke * psc_propagation_status.target_group * psc_propagation_status.code * psc_propagation_status.message
713+
groupBy: string, Optional. A field that counts are grouped by. A comma-separated list of any of these fields: * psc_propagation_status.source_spoke * psc_propagation_status.source_group * psc_propagation_status.source_forwarding_rule * psc_propagation_status.target_spoke * psc_propagation_status.target_group * psc_propagation_status.code
714+
orderBy: string, Optional. Sort the results in the ascending order by specific fields returned in the response. A comma-separated list of any of these fields: * psc_propagation_status.source_spoke * psc_propagation_status.source_group * psc_propagation_status.source_forwarding_rule * psc_propagation_status.target_spoke * psc_propagation_status.target_group * psc_propagation_status.code If `group_by` is set, the value of the `order_by` field must be the same as or a subset of the `group_by` field.
715+
pageSize: integer, Optional. The maximum number of results to return per page.
716+
pageToken: string, Optional. The page token.
717+
x__xgafv: string, V1 error format.
718+
Allowed values
719+
1 - v1 error format
720+
2 - v2 error format
721+
722+
Returns:
723+
An object of the form:
724+
725+
{ # The response for HubService.QueryHubStatus.
726+
&quot;hubStatusEntries&quot;: [ # The list of hub status.
727+
{ # The hub status entry.
728+
&quot;count&quot;: 42, # The number of status. If group_by is not set in the request, the default is 1.
729+
&quot;groupBy&quot;: &quot;A String&quot;, # The same group_by field from the request.
730+
&quot;pscPropagationStatus&quot;: { # The PSC propagation status in a hub. # The PSC propagation status.
731+
&quot;code&quot;: &quot;A String&quot;, # The propagation status.
732+
&quot;message&quot;: &quot;A String&quot;, # The human-readable summary of the PSC connection propagation status.
733+
&quot;sourceForwardingRule&quot;: &quot;A String&quot;, # The name of the forwarding rule exported to the hub.
734+
&quot;sourceGroup&quot;: &quot;A String&quot;, # The name of the group that the source spoke belongs to.
735+
&quot;sourceSpoke&quot;: &quot;A String&quot;, # The name of the spoke that the source forwarding rule belongs to.
736+
&quot;targetGroup&quot;: &quot;A String&quot;, # The name of the group that the target spoke belongs to.
737+
&quot;targetSpoke&quot;: &quot;A String&quot;, # The name of the spoke that the source forwarding rule propagates to.
738+
},
739+
},
740+
],
741+
&quot;nextPageToken&quot;: &quot;A String&quot;, # The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.
742+
}</pre>
743+
</div>
744+
745+
<div class="method">
746+
<code class="details" id="queryStatus_next">queryStatus_next()</code>
747+
<pre>Retrieves the next page of results.
748+
749+
Args:
750+
previous_request: The request for the previous page. (required)
751+
previous_response: The response from the request for the previous page. (required)
752+
753+
Returns:
754+
A request object that you can call &#x27;execute()&#x27; on to request the next
755+
page. Returns None if there are no more items in the collection.
756+
</pre>
757+
</div>
758+
697759
<div class="method">
698760
<code class="details" id="rejectSpoke">rejectSpoke(name, body=None, x__xgafv=None)</code>
699761
<pre>Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was previously in the `ACTIVE` state, it transitions to the `INACTIVE` state and is no longer able to connect to other spokes that are attached to the hub.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ <h3>Method Details</h3>
158158
Returns:
159159
An object of the form:
160160

161-
{ # The ServiceClass resource. Next id: 9
161+
{ # The ServiceClass resource.
162162
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the ServiceClass was created.
163163
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
164164
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
@@ -240,7 +240,7 @@ <h3>Method Details</h3>
240240
{ # Response for ListServiceClasses.
241241
&quot;nextPageToken&quot;: &quot;A String&quot;, # The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
242242
&quot;serviceClasses&quot;: [ # ServiceClasses to be returned.
243-
{ # The ServiceClass resource. Next id: 9
243+
{ # The ServiceClass resource.
244244
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the ServiceClass was created.
245245
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
246246
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
@@ -281,7 +281,7 @@ <h3>Method Details</h3>
281281
body: object, The request body.
282282
The object takes the form of:
283283

284-
{ # The ServiceClass resource. Next id: 9
284+
{ # The ServiceClass resource.
285285
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the ServiceClass was created.
286286
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
287287
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ <h3>Method Details</h3>
119119
body: object, The request body.
120120
The object takes the form of:
121121

122-
{ # The ServiceConnectionMap resource. Next id: 15
122+
{ # The ServiceConnectionMap resource.
123123
&quot;consumerPscConfigs&quot;: [ # The PSC configurations on consumer side.
124124
{ # Allow the producer to specify which consumers can connect to it.
125125
&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;
@@ -273,7 +273,7 @@ <h3>Method Details</h3>
273273
Returns:
274274
An object of the form:
275275

276-
{ # The ServiceConnectionMap resource. Next id: 15
276+
{ # The ServiceConnectionMap resource.
277277
&quot;consumerPscConfigs&quot;: [ # The PSC configurations on consumer side.
278278
{ # Allow the producer to specify which consumers can connect to it.
279279
&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;
@@ -415,7 +415,7 @@ <h3>Method Details</h3>
415415
{ # Response for ListServiceConnectionMaps.
416416
&quot;nextPageToken&quot;: &quot;A String&quot;, # The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
417417
&quot;serviceConnectionMaps&quot;: [ # ServiceConnectionMaps to be returned.
418-
{ # The ServiceConnectionMap resource. Next id: 15
418+
{ # The ServiceConnectionMap resource.
419419
&quot;consumerPscConfigs&quot;: [ # The PSC configurations on consumer side.
420420
{ # Allow the producer to specify which consumers can connect to it.
421421
&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;
@@ -516,7 +516,7 @@ <h3>Method Details</h3>
516516
body: object, The request body.
517517
The object takes the form of:
518518

519-
{ # The ServiceConnectionMap resource. Next id: 15
519+
{ # The ServiceConnectionMap resource.
520520
&quot;consumerPscConfigs&quot;: [ # The PSC configurations on consumer side.
521521
{ # Allow the producer to specify which consumers can connect to it.
522522
&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;

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ <h3>Method Details</h3>
119119
body: object, The request body.
120120
The object takes the form of:
121121

122-
{ # The ServiceConnectionPolicy resource. Next id: 12
122+
{ # The ServiceConnectionPolicy resource.
123123
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the ServiceConnectionPolicy was created.
124124
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
125125
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
@@ -259,7 +259,7 @@ <h3>Method Details</h3>
259259
Returns:
260260
An object of the form:
261261

262-
{ # The ServiceConnectionPolicy resource. Next id: 12
262+
{ # The ServiceConnectionPolicy resource.
263263
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the ServiceConnectionPolicy was created.
264264
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
265265
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
@@ -387,7 +387,7 @@ <h3>Method Details</h3>
387387
{ # Response for ListServiceConnectionPolicies.
388388
&quot;nextPageToken&quot;: &quot;A String&quot;, # The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
389389
&quot;serviceConnectionPolicies&quot;: [ # ServiceConnectionPolicies to be returned.
390-
{ # The ServiceConnectionPolicy resource. Next id: 12
390+
{ # The ServiceConnectionPolicy resource.
391391
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the ServiceConnectionPolicy was created.
392392
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
393393
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
@@ -474,7 +474,7 @@ <h3>Method Details</h3>
474474
body: object, The request body.
475475
The object takes the form of:
476476

477-
{ # The ServiceConnectionPolicy resource. Next id: 12
477+
{ # The ServiceConnectionPolicy resource.
478478
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the ServiceConnectionPolicy was created.
479479
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
480480
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ <h3>Method Details</h3>
107107
body: object, The request body.
108108
The object takes the form of:
109109

110-
{ # The ServiceConnectionToken resource. Next id: 10
110+
{ # The ServiceConnectionToken resource.
111111
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the ServiceConnectionToken was created.
112112
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
113113
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
@@ -203,7 +203,7 @@ <h3>Method Details</h3>
203203
Returns:
204204
An object of the form:
205205

206-
{ # The ServiceConnectionToken resource. Next id: 10
206+
{ # The ServiceConnectionToken resource.
207207
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the ServiceConnectionToken was created.
208208
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
209209
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
@@ -239,7 +239,7 @@ <h3>Method Details</h3>
239239
{ # Response for ListServiceConnectionTokens.
240240
&quot;nextPageToken&quot;: &quot;A String&quot;, # The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
241241
&quot;serviceConnectionTokens&quot;: [ # ServiceConnectionTokens to be returned.
242-
{ # The ServiceConnectionToken resource. Next id: 10
242+
{ # The ServiceConnectionToken resource.
243243
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the ServiceConnectionToken was created.
244244
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
245245
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

0 commit comments

Comments
 (0)