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 added:
- schemas.AddressGroup.properties.purpose (Total Keys: 2)
  • Loading branch information
yoshi-automation committed May 10, 2024
1 parent 3c6a641 commit 5590fc1
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.
&quot;purpose&quot;: [ # Optional. List of supported purposes of the Address Group.
&quot;A String&quot;,
],
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. Server-defined fully-qualified URL for this resource.
&quot;type&quot;: &quot;A String&quot;, # Required. The type of the Address Group. Possible values are &quot;IPv4&quot; or &quot;IPV6&quot;.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was updated.
Expand Down Expand Up @@ -321,6 +324,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.
&quot;purpose&quot;: [ # Optional. List of supported purposes of the Address Group.
&quot;A String&quot;,
],
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. Server-defined fully-qualified URL for this resource.
&quot;type&quot;: &quot;A String&quot;, # Required. The type of the Address Group. Possible values are &quot;IPv4&quot; or &quot;IPV6&quot;.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was updated.
Expand Down Expand Up @@ -356,6 +362,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.
&quot;purpose&quot;: [ # Optional. List of supported purposes of the Address Group.
&quot;A String&quot;,
],
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. Server-defined fully-qualified URL for this resource.
&quot;type&quot;: &quot;A String&quot;, # Required. The type of the Address Group. Possible values are &quot;IPv4&quot; or &quot;IPV6&quot;.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was updated.
Expand Down Expand Up @@ -441,6 +450,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.
&quot;purpose&quot;: [ # Optional. List of supported purposes of the Address Group.
&quot;A String&quot;,
],
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. Server-defined fully-qualified URL for this resource.
&quot;type&quot;: &quot;A String&quot;, # Required. The type of the Address Group. Possible values are &quot;IPv4&quot; or &quot;IPV6&quot;.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was updated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 8
{ # SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 9
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Resource creation timestamp.
&quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the profile group. Max length 2048 characters.
&quot;etag&quot;: &quot;A String&quot;, # Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Expand Down Expand Up @@ -202,7 +202,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 8
{ # SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 9
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Resource creation timestamp.
&quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the profile group. Max length 2048 characters.
&quot;etag&quot;: &quot;A String&quot;, # Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Expand Down Expand Up @@ -234,7 +234,7 @@ <h3>Method Details</h3>
{ # Response returned by the ListSecurityProfileGroups method.
&quot;nextPageToken&quot;: &quot;A String&quot;, # If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
&quot;securityProfileGroups&quot;: [ # List of SecurityProfileGroups resources.
{ # SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 8
{ # SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 9
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Resource creation timestamp.
&quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the profile group. Max length 2048 characters.
&quot;etag&quot;: &quot;A String&quot;, # Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Expand Down Expand Up @@ -272,7 +272,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 8
{ # SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 9
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Resource creation timestamp.
&quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the profile group. Max length 2048 characters.
&quot;etag&quot;: &quot;A String&quot;, # Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 9
{ # SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 10
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Resource creation timestamp.
&quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the profile. Max length 512 characters.
&quot;etag&quot;: &quot;A String&quot;, # Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Expand Down Expand Up @@ -217,7 +217,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 9
{ # SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 10
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Resource creation timestamp.
&quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the profile. Max length 512 characters.
&quot;etag&quot;: &quot;A String&quot;, # Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Expand Down Expand Up @@ -264,7 +264,7 @@ <h3>Method Details</h3>
{ # Response returned by the ListSecurityProfiles method.
&quot;nextPageToken&quot;: &quot;A String&quot;, # If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
&quot;securityProfiles&quot;: [ # List of SecurityProfile resources.
{ # SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 9
{ # SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 10
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Resource creation timestamp.
&quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the profile. Max length 512 characters.
&quot;etag&quot;: &quot;A String&quot;, # Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Expand Down Expand Up @@ -317,7 +317,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 9
{ # SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 10
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Resource creation timestamp.
&quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the profile. Max length 512 characters.
&quot;etag&quot;: &quot;A String&quot;, # Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.
&quot;purpose&quot;: [ # Optional. List of supported purposes of the Address Group.
&quot;A String&quot;,
],
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. Server-defined fully-qualified URL for this resource.
&quot;type&quot;: &quot;A String&quot;, # Required. The type of the Address Group. Possible values are &quot;IPv4&quot; or &quot;IPV6&quot;.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was updated.
Expand Down Expand Up @@ -330,6 +333,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.
&quot;purpose&quot;: [ # Optional. List of supported purposes of the Address Group.
&quot;A String&quot;,
],
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. Server-defined fully-qualified URL for this resource.
&quot;type&quot;: &quot;A String&quot;, # Required. The type of the Address Group. Possible values are &quot;IPv4&quot; or &quot;IPV6&quot;.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was updated.
Expand Down Expand Up @@ -413,6 +419,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.
&quot;purpose&quot;: [ # Optional. List of supported purposes of the Address Group.
&quot;A String&quot;,
],
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. Server-defined fully-qualified URL for this resource.
&quot;type&quot;: &quot;A String&quot;, # Required. The type of the Address Group. Possible values are &quot;IPv4&quot; or &quot;IPV6&quot;.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was updated.
Expand Down Expand Up @@ -498,6 +507,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.
&quot;purpose&quot;: [ # Optional. List of supported purposes of the Address Group.
&quot;A String&quot;,
],
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. Server-defined fully-qualified URL for this resource.
&quot;type&quot;: &quot;A String&quot;, # Required. The type of the Address Group. Possible values are &quot;IPv4&quot; or &quot;IPV6&quot;.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was updated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3162,7 +3162,7 @@
}
}
},
"revision": "20240320",
"revision": "20240505",
"rootUrl": "https://networksecurity.googleapis.com/",
"schemas": {
"AddAddressGroupItemsRequest": {
Expand Down Expand Up @@ -3220,6 +3220,23 @@
"description": "Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.",
"type": "string"
},
"purpose": {
"description": "Optional. List of supported purposes of the Address Group.",
"items": {
"enum": [
"PURPOSE_UNSPECIFIED",
"DEFAULT",
"CLOUD_ARMOR"
],
"enumDescriptions": [
"Default value. Should never happen.",
"Address Group is distributed to VMC, and is usable in Firewall Policies and other systems that rely on VMC.",
"Address Group is usable in Cloud Armor."
],
"type": "string"
},
"type": "array"
},
"selfLink": {
"description": "Output only. Server-defined fully-qualified URL for this resource.",
"readOnly": true,
Expand Down Expand Up @@ -4408,7 +4425,7 @@
"type": "object"
},
"SecurityProfile": {
"description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 9",
"description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 10",
"id": "SecurityProfile",
"properties": {
"createTime": {
Expand Down Expand Up @@ -4463,7 +4480,7 @@
"type": "object"
},
"SecurityProfileGroup": {
"description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 8",
"description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 9",
"id": "SecurityProfileGroup",
"properties": {
"createTime": {
Expand Down

0 comments on commit 5590fc1

Please sign in to comment.