Skip to content

Commit 8f1af4a

Browse files
feat(networkconnectivity): update the api
#### networkconnectivity:v1 The following keys were added: - resources.projects.resources.locations.resources.global.resources.hubs.resources.groups.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.global.resources.hubs.resources.groups.methods.list (Total Keys: 20) - schemas.Group (Total Keys: 15) - schemas.ListGroupsResponse (Total Keys: 7) - schemas.Spoke.properties.group.type (Total Keys: 1)
1 parent c4f5485 commit 8f1af4a

9 files changed

+276
-16
lines changed

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

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,18 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Gets details about a Network Connectivity Center group.</p>
8083
<p class="toc_element">
8184
<code><a href="#getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</a></code></p>
8285
<p class="firstline">Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.</p>
86+
<p class="toc_element">
87+
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Lists groups in a given hub.</p>
89+
<p class="toc_element">
90+
<code><a href="#list_next">list_next()</a></code></p>
91+
<p class="firstline">Retrieves the next page of results.</p>
8392
<p class="toc_element">
8493
<code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
8594
<p class="firstline">Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.</p>
@@ -92,6 +101,33 @@ <h3>Method Details</h3>
92101
<pre>Close httplib2 connections.</pre>
93102
</div>
94103

104+
<div class="method">
105+
<code class="details" id="get">get(name, x__xgafv=None)</code>
106+
<pre>Gets details about a Network Connectivity Center group.
107+
108+
Args:
109+
name: string, Required. The name of the route table resource. (required)
110+
x__xgafv: string, V1 error format.
111+
Allowed values
112+
1 - v1 error format
113+
2 - v2 error format
114+
115+
Returns:
116+
An object of the form:
117+
118+
{ # A group is a set of spokes to which you can apply policies. Each group of spokes has its own route table. For each group, you can also set different rules for whether spokes can be automatically attached to the hub.
119+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the group was created.
120+
&quot;description&quot;: &quot;A String&quot;, # Optional. The description of the group.
121+
&quot;labels&quot;: { # Optional. Labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
122+
&quot;a_key&quot;: &quot;A String&quot;,
123+
},
124+
&quot;name&quot;: &quot;A String&quot;, # Immutable. The name of the group. Group names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}`
125+
&quot;state&quot;: &quot;A String&quot;, # Output only. The current lifecycle state of this group.
126+
&quot;uid&quot;: &quot;A String&quot;, # Output only. The Google-generated UUID for the group. This value is unique across all group resources. If a group is deleted and another with the same name is created, the new route table is assigned a different unique_id.
127+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
128+
}</pre>
129+
</div>
130+
95131
<div class="method">
96132
<code class="details" id="getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</code>
97133
<pre>Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
@@ -140,6 +176,59 @@ <h3>Method Details</h3>
140176
}</pre>
141177
</div>
142178

179+
<div class="method">
180+
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
181+
<pre>Lists groups in a given hub.
182+
183+
Args:
184+
parent: string, Required. The parent resource&#x27;s name. (required)
185+
filter: string, An expression that filters the list of results.
186+
orderBy: string, Sort the results by a certain order.
187+
pageSize: integer, The maximum number of results to return per page.
188+
pageToken: string, The page token.
189+
x__xgafv: string, V1 error format.
190+
Allowed values
191+
1 - v1 error format
192+
2 - v2 error format
193+
194+
Returns:
195+
An object of the form:
196+
197+
{ # Response for HubService.ListGroups method.
198+
&quot;groups&quot;: [ # The requested groups.
199+
{ # A group is a set of spokes to which you can apply policies. Each group of spokes has its own route table. For each group, you can also set different rules for whether spokes can be automatically attached to the hub.
200+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the group was created.
201+
&quot;description&quot;: &quot;A String&quot;, # Optional. The description of the group.
202+
&quot;labels&quot;: { # Optional. Labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
203+
&quot;a_key&quot;: &quot;A String&quot;,
204+
},
205+
&quot;name&quot;: &quot;A String&quot;, # Immutable. The name of the group. Group names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}`
206+
&quot;state&quot;: &quot;A String&quot;, # Output only. The current lifecycle state of this group.
207+
&quot;uid&quot;: &quot;A String&quot;, # Output only. The Google-generated UUID for the group. This value is unique across all group resources. If a group is deleted and another with the same name is created, the new route table is assigned a different unique_id.
208+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the group was last updated.
209+
},
210+
],
211+
&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.
212+
&quot;unreachable&quot;: [ # Hubs that could not be reached.
213+
&quot;A String&quot;,
214+
],
215+
}</pre>
216+
</div>
217+
218+
<div class="method">
219+
<code class="details" id="list_next">list_next()</code>
220+
<pre>Retrieves the next page of results.
221+
222+
Args:
223+
previous_request: The request for the previous page. (required)
224+
previous_response: The response from the request for the previous page. (required)
225+
226+
Returns:
227+
A request object that you can call &#x27;execute()&#x27; on to request the next
228+
page. Returns None if there are no more items in the collection.
229+
</pre>
230+
</div>
231+
143232
<div class="method">
144233
<code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
145234
<pre>Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ <h3>Method Details</h3>
445445
{ # A Network Connectivity Center spoke represents one or more network connectivity resources. When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields: * linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances
446446
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the spoke was created.
447447
&quot;description&quot;: &quot;A String&quot;, # An optional description of the spoke.
448+
&quot;group&quot;: &quot;A String&quot;, # The name of the group that this spoke is associated with.
448449
&quot;hub&quot;: &quot;A String&quot;, # Immutable. The name of the hub that this spoke is attached to.
449450
&quot;labels&quot;: { # Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
450451
&quot;a_key&quot;: &quot;A String&quot;,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ <h3>Method Details</h3>
224224
<pre>Lists ServiceClasses in a given project and location.
225225

226226
Args:
227-
parent: string, Required. The parent resource&#x27;s name. (required)
227+
parent: string, Required. The parent resource&#x27;s name. ex. projects/123/locations/us-east1 (required)
228228
filter: string, A filter expression that filters the results listed in the response.
229229
orderBy: string, Sort the results by a certain order.
230230
pageSize: integer, The maximum number of results per page that should be returned.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ <h3>Method Details</h3>
115115
<pre>Creates a new ServiceConnectionMap in a given project and location.
116116

117117
Args:
118-
parent: string, Required. The parent resource&#x27;s name of the ServiceConnectionMap. (required)
118+
parent: string, Required. The parent resource&#x27;s name of the ServiceConnectionMap. ex. projects/123/locations/us-east1 (required)
119119
body: object, The request body.
120120
The object takes the form of:
121121

@@ -369,7 +369,7 @@ <h3>Method Details</h3>
369369
<pre>Lists ServiceConnectionMaps in a given project and location.
370370

371371
Args:
372-
parent: string, Required. The parent resource&#x27;s name. (required)
372+
parent: string, Required. The parent resource&#x27;s name. ex. projects/123/locations/us-east1 (required)
373373
filter: string, A filter expression that filters the results listed in the response.
374374
orderBy: string, Sort the results by a certain order.
375375
pageSize: integer, The maximum number of results per page that should be returned.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ <h3>Method Details</h3>
115115
<pre>Creates a new ServiceConnectionPolicy in a given project and location.
116116

117117
Args:
118-
parent: string, Required. The parent resource&#x27;s name of the ServiceConnectionPolicy. (required)
118+
parent: string, Required. The parent resource&#x27;s name of the ServiceConnectionPolicy. ex. projects/123/locations/us-east1 (required)
119119
body: object, The request body.
120120
The object takes the form of:
121121

@@ -349,7 +349,7 @@ <h3>Method Details</h3>
349349
<pre>Lists ServiceConnectionPolicies in a given project and location.
350350

351351
Args:
352-
parent: string, Required. The parent resource&#x27;s name. (required)
352+
parent: string, Required. The parent resource&#x27;s name. ex. projects/123/locations/us-east1 (required)
353353
filter: string, A filter expression that filters the results listed in the response.
354354
orderBy: string, Sort the results by a certain order.
355355
pageSize: integer, The maximum number of results per page that should be returned.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h3>Method Details</h3>
103103
<pre>Creates a new ServiceConnectionToken in a given project and location.
104104

105105
Args:
106-
parent: string, Required. The parent resource&#x27;s name of the ServiceConnectionToken. (required)
106+
parent: string, Required. The parent resource&#x27;s name of the ServiceConnectionToken. ex. projects/123/locations/us-east1 (required)
107107
body: object, The request body.
108108
The object takes the form of:
109109

@@ -223,7 +223,7 @@ <h3>Method Details</h3>
223223
<pre>Lists ServiceConnectionTokens in a given project and location.
224224

225225
Args:
226-
parent: string, Required. The parent resource&#x27;s name. (required)
226+
parent: string, Required. The parent resource&#x27;s name. ex. projects/123/locations/us-east1 (required)
227227
filter: string, A filter expression that filters the results listed in the response.
228228
orderBy: string, Sort the results by a certain order.
229229
pageSize: integer, The maximum number of results per page that should be returned.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ <h3>Method Details</h3>
170170
{ # A Network Connectivity Center spoke represents one or more network connectivity resources. When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields: * linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances
171171
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the spoke was created.
172172
&quot;description&quot;: &quot;A String&quot;, # An optional description of the spoke.
173+
&quot;group&quot;: &quot;A String&quot;, # The name of the group that this spoke is associated with.
173174
&quot;hub&quot;: &quot;A String&quot;, # Immutable. The name of the hub that this spoke is attached to.
174175
&quot;labels&quot;: { # Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
175176
&quot;a_key&quot;: &quot;A String&quot;,
@@ -302,6 +303,7 @@ <h3>Method Details</h3>
302303
{ # A Network Connectivity Center spoke represents one or more network connectivity resources. When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields: * linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances
303304
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the spoke was created.
304305
&quot;description&quot;: &quot;A String&quot;, # An optional description of the spoke.
306+
&quot;group&quot;: &quot;A String&quot;, # The name of the group that this spoke is associated with.
305307
&quot;hub&quot;: &quot;A String&quot;, # Immutable. The name of the hub that this spoke is attached to.
306308
&quot;labels&quot;: { # Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
307309
&quot;a_key&quot;: &quot;A String&quot;,
@@ -423,6 +425,7 @@ <h3>Method Details</h3>
423425
{ # A Network Connectivity Center spoke represents one or more network connectivity resources. When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields: * linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances
424426
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the spoke was created.
425427
&quot;description&quot;: &quot;A String&quot;, # An optional description of the spoke.
428+
&quot;group&quot;: &quot;A String&quot;, # The name of the group that this spoke is associated with.
426429
&quot;hub&quot;: &quot;A String&quot;, # Immutable. The name of the hub that this spoke is attached to.
427430
&quot;labels&quot;: { # Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
428431
&quot;a_key&quot;: &quot;A String&quot;,
@@ -503,6 +506,7 @@ <h3>Method Details</h3>
503506
{ # A Network Connectivity Center spoke represents one or more network connectivity resources. When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields: * linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances
504507
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the spoke was created.
505508
&quot;description&quot;: &quot;A String&quot;, # An optional description of the spoke.
509+
&quot;group&quot;: &quot;A String&quot;, # The name of the group that this spoke is associated with.
506510
&quot;hub&quot;: &quot;A String&quot;, # Immutable. The name of the hub that this spoke is attached to.
507511
&quot;labels&quot;: { # Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
508512
&quot;a_key&quot;: &quot;A String&quot;,

0 commit comments

Comments
 (0)