Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a2e8323

Browse files
committedDec 12, 2023
feat(networksecurity): update the api
#### networksecurity:v1beta1 The following keys were deleted: - schemas.FirewallEndpoint.properties.name.readOnly (Total Keys: 1) - schemas.FirewallEndpointAssociation.properties.name.readOnly (Total Keys: 1) The following keys were added: - schemas.FirewallEndpoint.properties.associatedNetworks.deprecated (Total Keys: 1) - schemas.FirewallEndpoint.properties.associations (Total Keys: 3) - schemas.FirewallEndpointAssociationReference (Total Keys: 6)
1 parent 3ddf64c commit a2e8323

4 files changed

+67
-19
lines changed
 

‎docs/dyn/networksecurity_v1beta1.organizations.locations.firewallEndpoints.html

+29-5
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,19 @@ <h3>Method Details</h3>
114114
&quot;associatedNetworks&quot;: [ # Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
115115
&quot;A String&quot;,
116116
],
117+
&quot;associations&quot;: [ # Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
118+
{ # This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.
119+
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}
120+
&quot;network&quot;: &quot;A String&quot;, # Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.
121+
},
122+
],
117123
&quot;billingProjectId&quot;: &quot;A String&quot;, # Optional. Project to bill on endpoint uptime usage.
118124
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp
119125
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the firewall endpoint. Max length 2048 characters.
120126
&quot;labels&quot;: { # Optional. Labels as key value pairs
121127
&quot;a_key&quot;: &quot;A String&quot;,
122128
},
123-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
129+
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
124130
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
125131
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the endpoint.
126132
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
@@ -211,13 +217,19 @@ <h3>Method Details</h3>
211217
&quot;associatedNetworks&quot;: [ # Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
212218
&quot;A String&quot;,
213219
],
220+
&quot;associations&quot;: [ # Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
221+
{ # This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.
222+
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}
223+
&quot;network&quot;: &quot;A String&quot;, # Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.
224+
},
225+
],
214226
&quot;billingProjectId&quot;: &quot;A String&quot;, # Optional. Project to bill on endpoint uptime usage.
215227
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp
216228
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the firewall endpoint. Max length 2048 characters.
217229
&quot;labels&quot;: { # Optional. Labels as key value pairs
218230
&quot;a_key&quot;: &quot;A String&quot;,
219231
},
220-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
232+
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
221233
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
222234
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the endpoint.
223235
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
@@ -248,13 +260,19 @@ <h3>Method Details</h3>
248260
&quot;associatedNetworks&quot;: [ # Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
249261
&quot;A String&quot;,
250262
],
263+
&quot;associations&quot;: [ # Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
264+
{ # This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.
265+
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}
266+
&quot;network&quot;: &quot;A String&quot;, # Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.
267+
},
268+
],
251269
&quot;billingProjectId&quot;: &quot;A String&quot;, # Optional. Project to bill on endpoint uptime usage.
252270
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp
253271
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the firewall endpoint. Max length 2048 characters.
254272
&quot;labels&quot;: { # Optional. Labels as key value pairs
255273
&quot;a_key&quot;: &quot;A String&quot;,
256274
},
257-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
275+
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
258276
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
259277
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the endpoint.
260278
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
@@ -286,21 +304,27 @@ <h3>Method Details</h3>
286304
<pre>Update a single Endpoint.
287305

288306
Args:
289-
name: string, Output only. name of resource (required)
307+
name: string, Immutable. Identifier. name of resource (required)
290308
body: object, The request body.
291309
The object takes the form of:
292310

293311
{ # Message describing Endpoint object
294312
&quot;associatedNetworks&quot;: [ # Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
295313
&quot;A String&quot;,
296314
],
315+
&quot;associations&quot;: [ # Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
316+
{ # This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.
317+
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}
318+
&quot;network&quot;: &quot;A String&quot;, # Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.
319+
},
320+
],
297321
&quot;billingProjectId&quot;: &quot;A String&quot;, # Optional. Project to bill on endpoint uptime usage.
298322
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp
299323
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the firewall endpoint. Max length 2048 characters.
300324
&quot;labels&quot;: { # Optional. Labels as key value pairs
301325
&quot;a_key&quot;: &quot;A String&quot;,
302326
},
303-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
327+
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
304328
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
305329
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the endpoint.
306330
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp

‎docs/dyn/networksecurity_v1beta1.projects.locations.firewallEndpointAssociations.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ <h3>Method Details</h3>
116116
&quot;labels&quot;: { # Optional. Labels as key value pairs
117117
&quot;a_key&quot;: &quot;A String&quot;,
118118
},
119-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
119+
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
120120
&quot;network&quot;: &quot;A String&quot;, # Required. The URL of the network that is being associated.
121121
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
122122
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the association.
123123
&quot;tlsInspectionPolicy&quot;: &quot;A String&quot;, # Optional. The URL of the TlsInspectionPolicy that is being associated.
124124
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
125125
}
126126

127-
firewallEndpointAssociationId: string, Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC.
127+
firewallEndpointAssociationId: string, Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC.
128128
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).
129129
x__xgafv: string, V1 error format.
130130
Allowed values
@@ -211,7 +211,7 @@ <h3>Method Details</h3>
211211
&quot;labels&quot;: { # Optional. Labels as key value pairs
212212
&quot;a_key&quot;: &quot;A String&quot;,
213213
},
214-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
214+
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
215215
&quot;network&quot;: &quot;A String&quot;, # Required. The URL of the network that is being associated.
216216
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
217217
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the association.
@@ -246,7 +246,7 @@ <h3>Method Details</h3>
246246
&quot;labels&quot;: { # Optional. Labels as key value pairs
247247
&quot;a_key&quot;: &quot;A String&quot;,
248248
},
249-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
249+
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
250250
&quot;network&quot;: &quot;A String&quot;, # Required. The URL of the network that is being associated.
251251
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
252252
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the association.
@@ -280,7 +280,7 @@ <h3>Method Details</h3>
280280
<pre>Update a single FirewallEndpointAssociation.
281281

282282
Args:
283-
name: string, Output only. name of resource (required)
283+
name: string, Immutable. Identifier. name of resource (required)
284284
body: object, The request body.
285285
The object takes the form of:
286286

@@ -290,7 +290,7 @@ <h3>Method Details</h3>
290290
&quot;labels&quot;: { # Optional. Labels as key value pairs
291291
&quot;a_key&quot;: &quot;A String&quot;,
292292
},
293-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
293+
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
294294
&quot;network&quot;: &quot;A String&quot;, # Required. The URL of the network that is being associated.
295295
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
296296
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the association.

‎googleapiclient/discovery_cache/documents/networksecurity.v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2474,7 +2474,7 @@
24742474
}
24752475
}
24762476
},
2477-
"revision": "20231101",
2477+
"revision": "20231205",
24782478
"rootUrl": "https://networksecurity.googleapis.com/",
24792479
"schemas": {
24802480
"AddAddressGroupItemsRequest": {

‎googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json

+31-7
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@
552552
],
553553
"parameters": {
554554
"name": {
555-
"description": "Output only. name of resource",
555+
"description": "Immutable. Identifier. name of resource",
556556
"location": "path",
557557
"pattern": "^organizations/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$",
558558
"required": true,
@@ -2124,7 +2124,7 @@
21242124
],
21252125
"parameters": {
21262126
"name": {
2127-
"description": "Output only. name of resource",
2127+
"description": "Immutable. Identifier. name of resource",
21282128
"location": "path",
21292129
"pattern": "^projects/[^/]+/locations/[^/]+/firewallEndpointAssociations/[^/]+$",
21302130
"required": true,
@@ -3162,7 +3162,7 @@
31623162
}
31633163
}
31643164
},
3165-
"revision": "20231101",
3165+
"revision": "20231205",
31663166
"rootUrl": "https://networksecurity.googleapis.com/",
31673167
"schemas": {
31683168
"AddAddressGroupItemsRequest": {
@@ -3451,13 +3451,22 @@
34513451
"id": "FirewallEndpoint",
34523452
"properties": {
34533453
"associatedNetworks": {
3454+
"deprecated": true,
34543455
"description": "Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.",
34553456
"items": {
34563457
"type": "string"
34573458
},
34583459
"readOnly": true,
34593460
"type": "array"
34603461
},
3462+
"associations": {
3463+
"description": "Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.",
3464+
"items": {
3465+
"$ref": "FirewallEndpointAssociationReference"
3466+
},
3467+
"readOnly": true,
3468+
"type": "array"
3469+
},
34613470
"billingProjectId": {
34623471
"description": "Optional. Project to bill on endpoint uptime usage.",
34633472
"type": "string"
@@ -3480,8 +3489,7 @@
34803489
"type": "object"
34813490
},
34823491
"name": {
3483-
"description": "Output only. name of resource",
3484-
"readOnly": true,
3492+
"description": "Immutable. Identifier. name of resource",
34853493
"type": "string"
34863494
},
34873495
"reconciling": {
@@ -3539,8 +3547,7 @@
35393547
"type": "object"
35403548
},
35413549
"name": {
3542-
"description": "Output only. name of resource",
3543-
"readOnly": true,
3550+
"description": "Immutable. Identifier. name of resource",
35443551
"type": "string"
35453552
},
35463553
"network": {
@@ -3584,6 +3591,23 @@
35843591
},
35853592
"type": "object"
35863593
},
3594+
"FirewallEndpointAssociationReference": {
3595+
"description": "This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.",
3596+
"id": "FirewallEndpointAssociationReference",
3597+
"properties": {
3598+
"name": {
3599+
"description": "Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}",
3600+
"readOnly": true,
3601+
"type": "string"
3602+
},
3603+
"network": {
3604+
"description": "Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.",
3605+
"readOnly": true,
3606+
"type": "string"
3607+
}
3608+
},
3609+
"type": "object"
3610+
},
35873611
"GatewaySecurityPolicy": {
35883612
"description": "The GatewaySecurityPolicy resource contains a collection of GatewaySecurityPolicyRules and associated metadata.",
35893613
"id": "GatewaySecurityPolicy",

0 commit comments

Comments
 (0)
Please sign in to comment.