Skip to content

Commit 162acf0

Browse files
feat: Automated regeneration of SecurityCenter client (googleapis#13091)
Auto-created at 2025-03-05 13:14:25 +0000 using the toys pull request generator.
1 parent 94572b8 commit 162acf0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

clients/security_center/lib/google_api/security_center/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.SecurityCenter.V1 do
2020
API client metadata for GoogleApi.SecurityCenter.V1.
2121
"""
2222

23-
@discovery_revision "20250218"
23+
@discovery_revision "20250228"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/security_center/lib/google_api/security_center/v1/model/data_retention_deletion_event.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule GoogleApi.SecurityCenter.V1.Model.DataRetentionDeletionEvent do
2424
* `dataObjectCount` (*type:* `String.t`, *default:* `nil`) - Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.
2525
* `eventDetectionTime` (*type:* `DateTime.t`, *default:* `nil`) - Timestamp indicating when the event was detected.
2626
* `eventType` (*type:* `String.t`, *default:* `nil`) - Type of the DRD event.
27-
* `maxRetentionAllowed` (*type:* `String.t`, *default:* `nil`) - Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
27+
* `maxRetentionAllowed` (*type:* `String.t`, *default:* `nil`) - Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
2828
"""
2929

3030
use GoogleApi.Gax.ModelBase

clients/security_center/lib/google_api/security_center/v1/model/disk.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.SecurityCenter.V1.Model.Disk do
2121
2222
## Attributes
2323
24-
* `name` (*type:* `String.t`, *default:* `nil`) - The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
24+
* `name` (*type:* `String.t`, *default:* `nil`) - The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}".
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v2_data_retention_deletion_event.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2DataReten
2424
* `dataObjectCount` (*type:* `String.t`, *default:* `nil`) - Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.
2525
* `eventDetectionTime` (*type:* `DateTime.t`, *default:* `nil`) - Timestamp indicating when the event was detected.
2626
* `eventType` (*type:* `String.t`, *default:* `nil`) - Type of the DRD event.
27-
* `maxRetentionAllowed` (*type:* `String.t`, *default:* `nil`) - Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
27+
* `maxRetentionAllowed` (*type:* `String.t`, *default:* `nil`) - Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.
2828
"""
2929

3030
use GoogleApi.Gax.ModelBase

clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v2_disk.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2Disk do
2121
2222
## Attributes
2323
24-
* `name` (*type:* `String.t`, *default:* `nil`) - The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/project-id/zones/zone-id/disks/disk-id".
24+
* `name` (*type:* `String.t`, *default:* `nil`) - The name of the disk, for example, "https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}".
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

0 commit comments

Comments
 (0)