google-apis-securityposture_v1 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34cd040a8509e9bc17dccfe7a24515ce18001085925a851f423754ebfe86b72f
4
- data.tar.gz: 94f35f73838f8fc44d07552fbb15b2a402f3b4ca3df588130b7ffb427eb1a1f2
3
+ metadata.gz: 833d45f129f19d2a55fe1dc1d77a920f25556f122c485504e23d24c375bca179
4
+ data.tar.gz: 61cb59c36e144405e298c3e83233707f954f3e66c4e588872d174f9923128e19
5
5
  SHA512:
6
- metadata.gz: f60d82ef694cb255dbbc2a7c16e479e71e4f569e960e88ce286c719f0d707d3ebbb89d2d3a74ff88b3119be1c9ab48e933d14a2a70bca430ff18f64fbfa3875e
7
- data.tar.gz: f68e9c084b4f0f348b1e67b7560d1af00cb8a31718f11f61f8b4536a23ae1a6899c9920330d8529a013c5f09a3f0b92deaef2619e7bc70f05c2f24e0a0a6a6b9
6
+ metadata.gz: 6b8d86a90cb1f950512efed46fdfe8435cf0935af0c2c3b35f627af5a46b4c65b5af00147a4cdf10f197a64a095d708b5b493597b98afe6c7e9a9161d996829e
7
+ data.tar.gz: 216720ca43ba25b5b9b9d34806d8026a7a6865cc0b9cd6fe27b31767f115bc0d25be5f9e793cbb96f3d222f83aae07a44b270a02a31d998d4315b8efc1b503c6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-securityposture_v1
2
2
 
3
+ ### v0.5.0 (2025-08-24)
4
+
5
+ * Regenerated from discovery document revision 20250819
6
+
7
+ ### v0.4.0 (2025-06-29)
8
+
9
+ * Regenerated from discovery document revision 20250624
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.3.0 (2025-05-11)
4
13
 
5
14
  * Regenerated using generator version 0.17.0
@@ -458,18 +458,17 @@ module Google
458
458
 
459
459
  # Optional. Required for managed constraints if parameters are defined. Passes
460
460
  # 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 ` ```
463
463
  # Corresponds to the JSON property `parameters`
464
464
  # @return [Hash<String,Object>]
465
465
  attr_accessor :parameters
466
466
 
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 ```
469
469
  # Constraint definition contains an empty resource type in order to support
470
470
  # 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`.
473
472
  # Corresponds to the JSON property `resourceTypes`
474
473
  # @return [Google::Apis::SecuritypostureV1::ResourceTypes]
475
474
  attr_accessor :resource_types
@@ -1540,17 +1539,15 @@ module Google
1540
1539
  end
1541
1540
  end
1542
1541
 
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 ```
1545
1544
  # Constraint definition contains an empty resource type in order to support
1546
1545
  # 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`.
1549
1547
  class ResourceTypes
1550
1548
  include Google::Apis::Core::Hashable
1551
1549
 
1552
- # Optional. The resource types we currently support. cloud/orgpolicy/
1553
- # customconstraintconfig/prod/resource_types.prototext
1550
+ # Optional. The resource types we currently support.
1554
1551
  # Corresponds to the JSON property `included`
1555
1552
  # @return [Array<String>]
1556
1553
  attr_accessor :included
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritypostureV1
18
18
  # Version of the google-apis-securityposture_v1 gem
19
- GEM_VERSION = "0.3.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250226"
25
+ REVISION = "20250819"
26
26
  end
27
27
  end
28
28
  end
@@ -900,6 +900,9 @@ module Google
900
900
  # Lists information about the supported locations for this service.
901
901
  # @param [String] name
902
902
  # The resource that owns the locations collection, if applicable.
903
+ # @param [Array<String>, String] extra_location_types
904
+ # Optional. Do not use this field. It is unsupported and is ignored unless
905
+ # explicitly documented otherwise. This is primarily for internal usage.
903
906
  # @param [String] filter
904
907
  # A filter to narrow down results to a preferred subset. The filtering language
905
908
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -927,11 +930,12 @@ module Google
927
930
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
928
931
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
929
932
  # @raise [Google::Apis::AuthorizationError] Authorization is required
930
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
933
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
931
934
  command = make_simple_command(:get, 'v1/{+name}/locations', options)
932
935
  command.response_representation = Google::Apis::SecuritypostureV1::ListLocationsResponse::Representation
933
936
  command.response_class = Google::Apis::SecuritypostureV1::ListLocationsResponse
934
937
  command.params['name'] = name unless name.nil?
938
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
935
939
  command.query['filter'] = filter unless filter.nil?
936
940
  command.query['pageSize'] = page_size unless page_size.nil?
937
941
  command.query['pageToken'] = page_token unless page_token.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securityposture_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securityposture_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-securityposture_v1/v0.3.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securityposture_v1/v0.5.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securityposture_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Security Posture API V1
79
79
  test_files: []