Skip to content

Commit 65ff579

Browse files
feat: Automated regeneration of securityposture v1 client (#26038)
Auto-created at 2026-03-22 10:45:17 +0000 using the toys pull request generator.
1 parent 6880a5b commit 65ff579

4 files changed

Lines changed: 6 additions & 104 deletions

File tree

generated/google-apis-securityposture_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-securityposture_v1
22

3+
### v0.10.0 (2026-03-22)
4+
5+
* Regenerated from discovery document revision 20260317
6+
37
### v0.9.0 (2026-02-08)
48

59
* Regenerated from discovery document revision 20260205

generated/google-apis-securityposture_v1/lib/google/apis/securityposture_v1/classes.rb

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -595,51 +595,6 @@ def update!(**args)
595595
end
596596
end
597597

598-
# Represents the criteria for considering an IaC validation as a failure.
599-
class IacValidationFailureCriteria
600-
include Google::Apis::Core::Hashable
601-
602-
# Output only. The time at which the resource was created.
603-
# Corresponds to the JSON property `createTime`
604-
# @return [String]
605-
attr_accessor :create_time
606-
607-
# Optional. The etag for optimistic concurrency.
608-
# Corresponds to the JSON property `etag`
609-
# @return [String]
610-
attr_accessor :etag
611-
612-
# Identifier. The resource name of the IacValidationFailureCriteria. Format:
613-
# organizations/`organization`/locations/`location`/iacValidationFailureCriteria
614-
# Corresponds to the JSON property `name`
615-
# @return [String]
616-
attr_accessor :name
617-
618-
# Optional. A list of severity thresholds. An IaC validation fails if any
619-
# threshold is exceeded.
620-
# Corresponds to the JSON property `severityCountThresholds`
621-
# @return [Array<Google::Apis::SecuritypostureV1::SeverityCountThreshold>]
622-
attr_accessor :severity_count_thresholds
623-
624-
# Output only. The time at which the resource was last updated.
625-
# Corresponds to the JSON property `updateTime`
626-
# @return [String]
627-
attr_accessor :update_time
628-
629-
def initialize(**args)
630-
update!(**args)
631-
end
632-
633-
# Update properties of this object
634-
def update!(**args)
635-
@create_time = args[:create_time] if args.key?(:create_time)
636-
@etag = args[:etag] if args.key?(:etag)
637-
@name = args[:name] if args.key?(:name)
638-
@severity_count_thresholds = args[:severity_count_thresholds] if args.key?(:severity_count_thresholds)
639-
@update_time = args[:update_time] if args.key?(:update_time)
640-
end
641-
end
642-
643598
# The response message for Locations.ListLocations.
644599
class ListLocationsResponse
645600
include Google::Apis::Core::Hashable
@@ -1687,31 +1642,6 @@ def update!(**args)
16871642
end
16881643
end
16891644

1690-
# Represents a threshold for a specific severity.
1691-
class SeverityCountThreshold
1692-
include Google::Apis::Core::Hashable
1693-
1694-
# Optional. The severity level, reusing the existing Violation.Severity.
1695-
# Corresponds to the JSON property `severity`
1696-
# @return [String]
1697-
attr_accessor :severity
1698-
1699-
# Optional. If violation count meets or exceeds this threshold, validation fails.
1700-
# Corresponds to the JSON property `thresholdCount`
1701-
# @return [Fixnum]
1702-
attr_accessor :threshold_count
1703-
1704-
def initialize(**args)
1705-
update!(**args)
1706-
end
1707-
1708-
# Update properties of this object
1709-
def update!(**args)
1710-
@severity = args[:severity] if args.key?(:severity)
1711-
@threshold_count = args[:threshold_count] if args.key?(:threshold_count)
1712-
end
1713-
end
1714-
17151645
# The `Status` type defines a logical error model that is suitable for different
17161646
# programming environments, including REST APIs and RPC APIs. It is used by [
17171647
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of

generated/google-apis-securityposture_v1/lib/google/apis/securityposture_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module SecuritypostureV1
1818
# Version of the google-apis-securityposture_v1 gem
19-
GEM_VERSION = "0.9.0"
19+
GEM_VERSION = "0.10.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260205"
25+
REVISION = "20260317"
2626
end
2727
end
2828
end

generated/google-apis-securityposture_v1/lib/google/apis/securityposture_v1/representations.rb

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
112112
include Google::Apis::Core::JsonObjectSupport
113113
end
114114

115-
class IacValidationFailureCriteria
116-
class Representation < Google::Apis::Core::JsonRepresentation; end
117-
118-
include Google::Apis::Core::JsonObjectSupport
119-
end
120-
121115
class ListLocationsResponse
122116
class Representation < Google::Apis::Core::JsonRepresentation; end
123117

@@ -268,12 +262,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
268262
include Google::Apis::Core::JsonObjectSupport
269263
end
270264

271-
class SeverityCountThreshold
272-
class Representation < Google::Apis::Core::JsonRepresentation; end
273-
274-
include Google::Apis::Core::JsonObjectSupport
275-
end
276-
277265
class Status
278266
class Representation < Google::Apis::Core::JsonRepresentation; end
279267

@@ -431,18 +419,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
431419
end
432420
end
433421

434-
class IacValidationFailureCriteria
435-
# @private
436-
class Representation < Google::Apis::Core::JsonRepresentation
437-
property :create_time, as: 'createTime'
438-
property :etag, as: 'etag'
439-
property :name, as: 'name'
440-
collection :severity_count_thresholds, as: 'severityCountThresholds', class: Google::Apis::SecuritypostureV1::SeverityCountThreshold, decorator: Google::Apis::SecuritypostureV1::SeverityCountThreshold::Representation
441-
442-
property :update_time, as: 'updateTime'
443-
end
444-
end
445-
446422
class ListLocationsResponse
447423
# @private
448424
class Representation < Google::Apis::Core::JsonRepresentation
@@ -714,14 +690,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
714690
end
715691
end
716692

717-
class SeverityCountThreshold
718-
# @private
719-
class Representation < Google::Apis::Core::JsonRepresentation
720-
property :severity, as: 'severity'
721-
property :threshold_count, as: 'thresholdCount'
722-
end
723-
end
724-
725693
class Status
726694
# @private
727695
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)