Skip to content

Commit ec5b2f0

Browse files
feat(networkconnectivity): update the api
#### networkconnectivity:v1 The following keys were deleted: - resources.projects.resources.locations.resources.serviceClasses.methods.create (Total Keys: 16) The following keys were added: - resources.projects.resources.locations.resources.global.resources.hubs.resources.groups.methods.getIamPolicy (Total Keys: 14) - resources.projects.resources.locations.resources.global.resources.hubs.resources.groups.methods.setIamPolicy (Total Keys: 12) - resources.projects.resources.locations.resources.global.resources.hubs.resources.groups.methods.testIamPermissions (Total Keys: 12) - schemas.ConsumerPscConfig.properties.state (Total Keys: 2)
1 parent 7031e3a commit ec5b2f0

6 files changed

+377
-97
lines changed

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

+258
Large diffs are not rendered by default.

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

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<h1><a href="networkconnectivity_v1.html">Network Connectivity API</a> . <a href="networkconnectivity_v1.projects.html">projects</a> . <a href="networkconnectivity_v1.projects.locations.html">locations</a> . <a href="networkconnectivity_v1.projects.locations.global_.html">global_</a> . <a href="networkconnectivity_v1.projects.locations.global_.hubs.html">hubs</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="networkconnectivity_v1.projects.locations.global_.hubs.groups.html">groups()</a></code>
79+
</p>
80+
<p class="firstline">Returns the groups Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="#close">close()</a></code></p>
7984
<p class="firstline">Close httplib2 connections.</p>

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

-57
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ <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="#create">create(parent, body=None, requestId=None, serviceClassId=None, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Creates a new ServiceClass in a given project and location.</p>
8380
<p class="toc_element">
8481
<code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
8582
<p class="firstline">Deletes a single ServiceClass.</p>
@@ -110,60 +107,6 @@ <h3>Method Details</h3>
110107
<pre>Close httplib2 connections.</pre>
111108
</div>
112109

113-
<div class="method">
114-
<code class="details" id="create">create(parent, body=None, requestId=None, serviceClassId=None, x__xgafv=None)</code>
115-
<pre>Creates a new ServiceClass in a given project and location.
116-
117-
Args:
118-
parent: string, Required. The parent resource&#x27;s name of the ServiceClass. (required)
119-
body: object, The request body.
120-
The object takes the form of:
121-
122-
{ # The ServiceClass resource. Next id: 8
123-
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the ServiceClass was created.
124-
&quot;description&quot;: &quot;A String&quot;, # A description of this resource.
125-
&quot;labels&quot;: { # User-defined labels.
126-
&quot;a_key&quot;: &quot;A String&quot;,
127-
},
128-
&quot;name&quot;: &quot;A String&quot;, # Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names
129-
&quot;serviceClass&quot;: &quot;A String&quot;, # Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.
130-
&quot;serviceConnectionMaps&quot;: [ # Output only. URIs of all Service Connection Maps using this service class.
131-
&quot;A String&quot;,
132-
],
133-
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when the ServiceClass was updated.
134-
}
135-
136-
requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
137-
serviceClassId: string, Optional. Resource ID (i.e. &#x27;foo&#x27; in &#x27;[...]/projects/p/locations/l/serviceClasses/foo&#x27;) See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.
138-
x__xgafv: string, V1 error format.
139-
Allowed values
140-
1 - v1 error format
141-
2 - v2 error format
142-
143-
Returns:
144-
An object of the form:
145-
146-
{ # This resource represents a long-running operation that is the result of a network API call.
147-
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
148-
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
149-
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
150-
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
151-
{
152-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
153-
},
154-
],
155-
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
156-
},
157-
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
158-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
159-
},
160-
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
161-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
162-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
163-
},
164-
}</pre>
165-
</div>
166-
167110
<div class="method">
168111
<code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
169112
<pre>Deletes a single ServiceClass.

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

+4
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ <h3>Method Details</h3>
125125
&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.
126126
&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}.
127127
&quot;project&quot;: &quot;A String&quot;, # The consumer project where PSC connections are allowed to be created in.
128+
&quot;state&quot;: &quot;A String&quot;, # Output only. Overall state of PSC Connections management for this consumer psc config.
128129
},
129130
],
130131
&quot;consumerPscConnections&quot;: [ # Output only. PSC connection details on consumer side.
@@ -254,6 +255,7 @@ <h3>Method Details</h3>
254255
&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.
255256
&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}.
256257
&quot;project&quot;: &quot;A String&quot;, # The consumer project where PSC connections are allowed to be created in.
258+
&quot;state&quot;: &quot;A String&quot;, # Output only. Overall state of PSC Connections management for this consumer psc config.
257259
},
258260
],
259261
&quot;consumerPscConnections&quot;: [ # Output only. PSC connection details on consumer side.
@@ -372,6 +374,7 @@ <h3>Method Details</h3>
372374
&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.
373375
&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}.
374376
&quot;project&quot;: &quot;A String&quot;, # The consumer project where PSC connections are allowed to be created in.
377+
&quot;state&quot;: &quot;A String&quot;, # Output only. Overall state of PSC Connections management for this consumer psc config.
375378
},
376379
],
377380
&quot;consumerPscConnections&quot;: [ # Output only. PSC connection details on consumer side.
@@ -449,6 +452,7 @@ <h3>Method Details</h3>
449452
&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.
450453
&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}.
451454
&quot;project&quot;: &quot;A String&quot;, # The consumer project where PSC connections are allowed to be created in.
455+
&quot;state&quot;: &quot;A String&quot;, # Output only. Overall state of PSC Connections management for this consumer psc config.
452456
},
453457
],
454458
&quot;consumerPscConnections&quot;: [ # Output only. PSC connection details on consumer side.

0 commit comments

Comments
 (0)