Skip to content

Commit 6348dd5

Browse files
feat(networkconnectivity): update the api
#### networkconnectivity:v1 The following keys were added: - schemas.LocationMetadata (Total Keys: 4)
1 parent a85503e commit 6348dd5

8 files changed

+42
-18
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ <h3>Method Details</h3>
136136
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the hub was last updated.
137137
}
138138

139-
hubId: string, Optional. A unique identifier for the hub.
139+
hubId: string, Required. A unique identifier for the hub.
140140
requestId: string, Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after 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 to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly 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).
141141
x__xgafv: string, V1 error format.
142142
Allowed values
@@ -241,7 +241,7 @@ <h3>Method Details</h3>
241241

242242
Args:
243243
resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
244-
options_requestedPolicyVersion: integer, Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
244+
options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
245245
x__xgafv: string, V1 error format.
246246
Allowed values
247247
1 - v1 error format

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h3>Method Details</h3>
9898

9999
Args:
100100
resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
101-
options_requestedPolicyVersion: integer, Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
101+
options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
102102
x__xgafv: string, V1 error format.
103103
Allowed values
104104
1 - v1 error format

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ <h3>Method Details</h3>
154154
}
155155

156156
requestId: string, Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after 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 to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly 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).
157-
spokeId: string, Optional. Unique id for the spoke to create.
157+
spokeId: string, Required. Unique id for the spoke to create.
158158
x__xgafv: string, V1 error format.
159159
Allowed values
160160
1 - v1 error format
@@ -275,7 +275,7 @@ <h3>Method Details</h3>
275275

276276
Args:
277277
resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
278-
options_requestedPolicyVersion: integer, Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
278+
options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
279279
x__xgafv: string, V1 error format.
280280
Allowed values
281281
1 - v1 error format

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ <h3>Method Details</h3>
237237

238238
Args:
239239
resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
240-
options_requestedPolicyVersion: integer, Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
240+
options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
241241
x__xgafv: string, V1 error format.
242242
Allowed values
243243
1 - v1 error format

docs/dyn/networkconnectivity_v1alpha1.projects.locations.internalRanges.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h3>Method Details</h3>
9898

9999
Args:
100100
resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
101-
options_requestedPolicyVersion: integer, Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
101+
options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
102102
x__xgafv: string, V1 error format.
103103
Allowed values
104104
1 - v1 error format

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ <h3>Method Details</h3>
259259

260260
Args:
261261
resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
262-
options_requestedPolicyVersion: integer, Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
262+
options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
263263
x__xgafv: string, V1 error format.
264264
Allowed values
265265
1 - v1 error format

googleapiclient/discovery_cache/documents/networkconnectivity.v1.json

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
],
192192
"parameters": {
193193
"hubId": {
194-
"description": "Optional. A unique identifier for the hub.",
194+
"description": "Required. A unique identifier for the hub.",
195195
"location": "query",
196196
"type": "string"
197197
},
@@ -284,7 +284,7 @@
284284
],
285285
"parameters": {
286286
"options.requestedPolicyVersion": {
287-
"description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
287+
"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
288288
"format": "int32",
289289
"location": "query",
290290
"type": "integer"
@@ -460,7 +460,7 @@
460460
],
461461
"parameters": {
462462
"options.requestedPolicyVersion": {
463-
"description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
463+
"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
464464
"format": "int32",
465465
"location": "query",
466466
"type": "integer"
@@ -688,7 +688,7 @@
688688
"type": "string"
689689
},
690690
"spokeId": {
691-
"description": "Optional. Unique id for the spoke to create.",
691+
"description": "Required. Unique id for the spoke to create.",
692692
"location": "query",
693693
"type": "string"
694694
}
@@ -769,7 +769,7 @@
769769
],
770770
"parameters": {
771771
"options.requestedPolicyVersion": {
772-
"description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
772+
"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
773773
"format": "int32",
774774
"location": "query",
775775
"type": "integer"
@@ -938,7 +938,7 @@
938938
}
939939
}
940940
},
941-
"revision": "20211026",
941+
"revision": "20211113",
942942
"rootUrl": "https://networkconnectivity.googleapis.com/",
943943
"schemas": {
944944
"AuditConfig": {
@@ -1345,6 +1345,30 @@
13451345
},
13461346
"type": "object"
13471347
},
1348+
"LocationMetadata": {
1349+
"description": "Metadata about locations",
1350+
"id": "LocationMetadata",
1351+
"properties": {
1352+
"locationFeatures": {
1353+
"description": "List of supported features",
1354+
"items": {
1355+
"enum": [
1356+
"LOCATION_FEATURE_UNSPECIFIED",
1357+
"SITE_TO_CLOUD_SPOKES",
1358+
"SITE_TO_SITE_SPOKES"
1359+
],
1360+
"enumDescriptions": [
1361+
"No publicly supported feature in this location",
1362+
"Site-to-cloud spokes are supported in this location",
1363+
"Site-to-site spokes are supported in this location"
1364+
],
1365+
"type": "string"
1366+
},
1367+
"type": "array"
1368+
}
1369+
},
1370+
"type": "object"
1371+
},
13481372
"OperationMetadata": {
13491373
"description": "Represents the metadata of the long-running operation.",
13501374
"id": "OperationMetadata",

0 commit comments

Comments
 (0)