Skip to content

Commit

Permalink
feat(networksecurity): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Dec 12, 2023
1 parent 3ddf64c commit a2e8323
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 19 deletions.
Expand Up @@ -114,13 +114,19 @@ <h3>Method Details</h3>
&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}.
&quot;A String&quot;,
],
&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.
{ # This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}
&quot;network&quot;: &quot;A String&quot;, # Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.
},
],
&quot;billingProjectId&quot;: &quot;A String&quot;, # Optional. Project to bill on endpoint uptime usage.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the firewall endpoint. Max length 2048 characters.
&quot;labels&quot;: { # Optional. Labels as key value pairs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the endpoint.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
Expand Down Expand Up @@ -211,13 +217,19 @@ <h3>Method Details</h3>
&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}.
&quot;A String&quot;,
],
&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.
{ # This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}
&quot;network&quot;: &quot;A String&quot;, # Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.
},
],
&quot;billingProjectId&quot;: &quot;A String&quot;, # Optional. Project to bill on endpoint uptime usage.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the firewall endpoint. Max length 2048 characters.
&quot;labels&quot;: { # Optional. Labels as key value pairs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the endpoint.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
Expand Down Expand Up @@ -248,13 +260,19 @@ <h3>Method Details</h3>
&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}.
&quot;A String&quot;,
],
&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.
{ # This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}
&quot;network&quot;: &quot;A String&quot;, # Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.
},
],
&quot;billingProjectId&quot;: &quot;A String&quot;, # Optional. Project to bill on endpoint uptime usage.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the firewall endpoint. Max length 2048 characters.
&quot;labels&quot;: { # Optional. Labels as key value pairs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the endpoint.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
Expand Down Expand Up @@ -286,21 +304,27 @@ <h3>Method Details</h3>
<pre>Update a single Endpoint.

Args:
name: string, Output only. name of resource (required)
name: string, Immutable. Identifier. name of resource (required)
body: object, The request body.
The object takes the form of:

{ # Message describing Endpoint object
&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}.
&quot;A String&quot;,
],
&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.
{ # This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}
&quot;network&quot;: &quot;A String&quot;, # Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.
},
],
&quot;billingProjectId&quot;: &quot;A String&quot;, # Optional. Project to bill on endpoint uptime usage.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the firewall endpoint. Max length 2048 characters.
&quot;labels&quot;: { # Optional. Labels as key value pairs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the endpoint.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
Expand Down
Expand Up @@ -116,15 +116,15 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Labels as key value pairs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
&quot;network&quot;: &quot;A String&quot;, # Required. The URL of the network that is being associated.
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the association.
&quot;tlsInspectionPolicy&quot;: &quot;A String&quot;, # Optional. The URL of the TlsInspectionPolicy that is being associated.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp
}

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.
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.
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).
x__xgafv: string, V1 error format.
Allowed values
Expand Down Expand Up @@ -211,7 +211,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Labels as key value pairs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
&quot;network&quot;: &quot;A String&quot;, # Required. The URL of the network that is being associated.
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the association.
Expand Down Expand Up @@ -246,7 +246,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Labels as key value pairs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
&quot;network&quot;: &quot;A String&quot;, # Required. The URL of the network that is being associated.
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the association.
Expand Down Expand Up @@ -280,7 +280,7 @@ <h3>Method Details</h3>
<pre>Update a single FirewallEndpointAssociation.

Args:
name: string, Output only. name of resource (required)
name: string, Immutable. Identifier. name of resource (required)
body: object, The request body.
The object takes the form of:

Expand All @@ -290,7 +290,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Labels as key value pairs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. name of resource
&quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. name of resource
&quot;network&quot;: &quot;A String&quot;, # Required. The URL of the network that is being associated.
&quot;reconciling&quot;: True or False, # Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
&quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the association.
Expand Down
Expand Up @@ -2474,7 +2474,7 @@
}
}
},
"revision": "20231101",
"revision": "20231205",
"rootUrl": "https://networksecurity.googleapis.com/",
"schemas": {
"AddAddressGroupItemsRequest": {
Expand Down
Expand Up @@ -552,7 +552,7 @@
],
"parameters": {
"name": {
"description": "Output only. name of resource",
"description": "Immutable. Identifier. name of resource",
"location": "path",
"pattern": "^organizations/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$",
"required": true,
Expand Down Expand Up @@ -2124,7 +2124,7 @@
],
"parameters": {
"name": {
"description": "Output only. name of resource",
"description": "Immutable. Identifier. name of resource",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/firewallEndpointAssociations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -3162,7 +3162,7 @@
}
}
},
"revision": "20231101",
"revision": "20231205",
"rootUrl": "https://networksecurity.googleapis.com/",
"schemas": {
"AddAddressGroupItemsRequest": {
Expand Down Expand Up @@ -3451,13 +3451,22 @@
"id": "FirewallEndpoint",
"properties": {
"associatedNetworks": {
"deprecated": true,
"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}.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"associations": {
"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.",
"items": {
"$ref": "FirewallEndpointAssociationReference"
},
"readOnly": true,
"type": "array"
},
"billingProjectId": {
"description": "Optional. Project to bill on endpoint uptime usage.",
"type": "string"
Expand All @@ -3480,8 +3489,7 @@
"type": "object"
},
"name": {
"description": "Output only. name of resource",
"readOnly": true,
"description": "Immutable. Identifier. name of resource",
"type": "string"
},
"reconciling": {
Expand Down Expand Up @@ -3539,8 +3547,7 @@
"type": "object"
},
"name": {
"description": "Output only. name of resource",
"readOnly": true,
"description": "Immutable. Identifier. name of resource",
"type": "string"
},
"network": {
Expand Down Expand Up @@ -3584,6 +3591,23 @@
},
"type": "object"
},
"FirewallEndpointAssociationReference": {
"description": "This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.",
"id": "FirewallEndpointAssociationReference",
"properties": {
"name": {
"description": "Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}",
"readOnly": true,
"type": "string"
},
"network": {
"description": "Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GatewaySecurityPolicy": {
"description": "The GatewaySecurityPolicy resource contains a collection of GatewaySecurityPolicyRules and associated metadata.",
"id": "GatewaySecurityPolicy",
Expand Down

0 comments on commit a2e8323

Please sign in to comment.