google-apis-securityposture_v1 0.4.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/securityposture_v1/classes.rb +17 -12
- data/lib/google/apis/securityposture_v1/gem_version.rb +2 -2
- data/lib/google/apis/securityposture_v1/representations.rb +1 -0
- data/lib/google/apis/securityposture_v1/service.rb +11 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 74cc58ecc90d1c77e21f767e9156719068785aebe81e4c09c13e3f26f6161366
|
|
4
|
+
data.tar.gz: 0a57bb201e32edd86ac160010fc3800fb85c82ed308d5e0981f4e899c905e820
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2947eb44fc9557ae66ba15933229a202b419a820075cbba3c1827aeaa21e246807fed24a464c0666f63c31226d8be1ef2b5e1d0d6da4eda9df1bc44f688af7f
|
|
7
|
+
data.tar.gz: f927ca92f04631dd3e9cc4c3a39bb1747464c3db9e57cb9e7c2f99231eeb27e5e6f9158810fd9ccb44b88bb1a449e51e3387fdfe2aa4116d93b6d154b76c069e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-securityposture_v1
|
|
2
2
|
|
|
3
|
+
### v0.6.0 (2025-11-02)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251028
|
|
6
|
+
|
|
7
|
+
### v0.5.0 (2025-08-24)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250819
|
|
10
|
+
|
|
3
11
|
### v0.4.0 (2025-06-29)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250624
|
|
@@ -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"
|
|
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`.
|
|
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
|
|
@@ -635,6 +634,13 @@ module Google
|
|
|
635
634
|
# @return [Array<Google::Apis::SecuritypostureV1::Operation>]
|
|
636
635
|
attr_accessor :operations
|
|
637
636
|
|
|
637
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
638
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
639
|
+
# when attempting to list all resources across all supported locations.
|
|
640
|
+
# Corresponds to the JSON property `unreachable`
|
|
641
|
+
# @return [Array<String>]
|
|
642
|
+
attr_accessor :unreachable
|
|
643
|
+
|
|
638
644
|
def initialize(**args)
|
|
639
645
|
update!(**args)
|
|
640
646
|
end
|
|
@@ -643,6 +649,7 @@ module Google
|
|
|
643
649
|
def update!(**args)
|
|
644
650
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
645
651
|
@operations = args[:operations] if args.key?(:operations)
|
|
652
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
646
653
|
end
|
|
647
654
|
end
|
|
648
655
|
|
|
@@ -1540,17 +1547,15 @@ module Google
|
|
|
1540
1547
|
end
|
|
1541
1548
|
end
|
|
1542
1549
|
|
|
1543
|
-
# Set multiple resource types for one policy, for example: resourceTypes:
|
|
1544
|
-
# included: - compute.googleapis.com/Instance - compute.googleapis.com/Disk
|
|
1550
|
+
# Set multiple resource types for one policy, for example: ``` resourceTypes:
|
|
1551
|
+
# included: - compute.googleapis.com/Instance - compute.googleapis.com/Disk ```
|
|
1545
1552
|
# Constraint definition contains an empty resource type in order to support
|
|
1546
1553
|
# multiple resource types in the policy. Only supports managed constraints.
|
|
1547
|
-
# Method type is `GOVERN_TAGS`.
|
|
1548
|
-
# to get more details.
|
|
1554
|
+
# Method type is `GOVERN_TAGS`.
|
|
1549
1555
|
class ResourceTypes
|
|
1550
1556
|
include Google::Apis::Core::Hashable
|
|
1551
1557
|
|
|
1552
|
-
# Optional. The resource types we currently support.
|
|
1553
|
-
# customconstraintconfig/prod/resource_types.prototext
|
|
1558
|
+
# Optional. The resource types we currently support.
|
|
1554
1559
|
# Corresponds to the JSON property `included`
|
|
1555
1560
|
# @return [Array<String>]
|
|
1556
1561
|
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.
|
|
19
|
+
GEM_VERSION = "0.6.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251028"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -434,6 +434,7 @@ module Google
|
|
|
434
434
|
property :next_page_token, as: 'nextPageToken'
|
|
435
435
|
collection :operations, as: 'operations', class: Google::Apis::SecuritypostureV1::Operation, decorator: Google::Apis::SecuritypostureV1::Operation::Representation
|
|
436
436
|
|
|
437
|
+
collection :unreachable, as: 'unreachable'
|
|
437
438
|
end
|
|
438
439
|
end
|
|
439
440
|
|
|
@@ -168,6 +168,13 @@ module Google
|
|
|
168
168
|
# The standard list page size.
|
|
169
169
|
# @param [String] page_token
|
|
170
170
|
# The standard list page token.
|
|
171
|
+
# @param [Boolean] return_partial_success
|
|
172
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
173
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
174
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
175
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
176
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
177
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
171
178
|
# @param [String] fields
|
|
172
179
|
# Selector specifying which fields to include in a partial response.
|
|
173
180
|
# @param [String] quota_user
|
|
@@ -185,7 +192,7 @@ module Google
|
|
|
185
192
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
186
193
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
187
194
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
188
|
-
def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
195
|
+
def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
189
196
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
190
197
|
command.response_representation = Google::Apis::SecuritypostureV1::ListOperationsResponse::Representation
|
|
191
198
|
command.response_class = Google::Apis::SecuritypostureV1::ListOperationsResponse
|
|
@@ -193,6 +200,7 @@ module Google
|
|
|
193
200
|
command.query['filter'] = filter unless filter.nil?
|
|
194
201
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
195
202
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
203
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
196
204
|
command.query['fields'] = fields unless fields.nil?
|
|
197
205
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
198
206
|
execute_or_queue_command(command, &block)
|
|
@@ -901,8 +909,8 @@ module Google
|
|
|
901
909
|
# @param [String] name
|
|
902
910
|
# The resource that owns the locations collection, if applicable.
|
|
903
911
|
# @param [Array<String>, String] extra_location_types
|
|
904
|
-
# Optional.
|
|
905
|
-
#
|
|
912
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
|
913
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
|
906
914
|
# @param [String] filter
|
|
907
915
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
908
916
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
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.
|
|
4
|
+
version: 0.6.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securityposture_v1/v0.6.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:
|