Skip to content

Commit 17bc4b7

Browse files
feat: Automated regeneration of securityposture v1 client (googleapis#24068)
Auto-created at 2025-08-24 10:31:57 +0000 using the toys pull request generator.
1 parent 6f5024e commit 17bc4b7

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

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.5.0 (2025-08-24)
4+
5+
* Regenerated from discovery document revision 20250819
6+
37
### v0.4.0 (2025-06-29)
48

59
* Regenerated from discovery document revision 20250624

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

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -458,18 +458,17 @@ class GoogleCloudSecuritypostureV1PolicyRule
458458

459459
# Optional. Required for managed constraints if parameters are defined. Passes
460460
# parameter values when policy enforcement is enabled. Ensure that parameter
461-
# value types match those defined in the constraint definition. For example: ` "
462-
# allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true `
461+
# value types match those defined in the constraint definition. For example: ```
462+
# ` "allowedLocations": ["us-east1", "us-west1"], "allowAll": true ` ```
463463
# Corresponds to the JSON property `parameters`
464464
# @return [Hash<String,Object>]
465465
attr_accessor :parameters
466466

467-
# Set multiple resource types for one policy, for example: resourceTypes:
468-
# included: - compute.googleapis.com/Instance - compute.googleapis.com/Disk
467+
# Set multiple resource types for one policy, for example: ``` resourceTypes:
468+
# included: - compute.googleapis.com/Instance - compute.googleapis.com/Disk ```
469469
# Constraint definition contains an empty resource type in order to support
470470
# multiple resource types in the policy. Only supports managed constraints.
471-
# Method type is `GOVERN_TAGS`. Refer go/multi-resource-support-force-tags-gmc
472-
# to get more details.
471+
# Method type is `GOVERN_TAGS`.
473472
# Corresponds to the JSON property `resourceTypes`
474473
# @return [Google::Apis::SecuritypostureV1::ResourceTypes]
475474
attr_accessor :resource_types
@@ -1540,17 +1539,15 @@ def update!(**args)
15401539
end
15411540
end
15421541

1543-
# Set multiple resource types for one policy, for example: resourceTypes:
1544-
# included: - compute.googleapis.com/Instance - compute.googleapis.com/Disk
1542+
# Set multiple resource types for one policy, for example: ``` resourceTypes:
1543+
# included: - compute.googleapis.com/Instance - compute.googleapis.com/Disk ```
15451544
# Constraint definition contains an empty resource type in order to support
15461545
# multiple resource types in the policy. Only supports managed constraints.
1547-
# Method type is `GOVERN_TAGS`. Refer go/multi-resource-support-force-tags-gmc
1548-
# to get more details.
1546+
# Method type is `GOVERN_TAGS`.
15491547
class ResourceTypes
15501548
include Google::Apis::Core::Hashable
15511549

1552-
# Optional. The resource types we currently support. cloud/orgpolicy/
1553-
# customconstraintconfig/prod/resource_types.prototext
1550+
# Optional. The resource types we currently support.
15541551
# Corresponds to the JSON property `included`
15551552
# @return [Array<String>]
15561553
attr_accessor :included

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.4.0"
19+
GEM_VERSION = "0.5.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 = "20250624"
25+
REVISION = "20250819"
2626
end
2727
end
2828
end

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -901,8 +901,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
901901
# @param [String] name
902902
# The resource that owns the locations collection, if applicable.
903903
# @param [Array<String>, String] extra_location_types
904-
# Optional. A list of extra location types that should be used as conditions for
905-
# controlling the visibility of the locations.
904+
# Optional. Do not use this field. It is unsupported and is ignored unless
905+
# explicitly documented otherwise. This is primarily for internal usage.
906906
# @param [String] filter
907907
# A filter to narrow down results to a preferred subset. The filtering language
908908
# accepts strings like `"displayName=tokyo"`, and is documented in more detail

0 commit comments

Comments
 (0)