google-apis-securityposture_v1 0.11.0 → 0.13.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1cd4e1d1890d73240911aadb338e91f9252cfb6c0084a079af22d2392e96f73f
|
|
4
|
+
data.tar.gz: 6dabf0816f57de126b76a79e321a3a37e8a7f8e432f360a727260d565abc933e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bdee3a66bd0826c96eb769e3e74a98a18e4edb79bcc870016c38395cb72c8ad7e31e6f968c7f5864698f943e084c6941953bf99ccbc2ae2e1d3c71d6ce76f6fa
|
|
7
|
+
data.tar.gz: ec259bd71076987da79b4ec3168bd3af3d60d910d0aa832329c3ebb2fd2ffa6c5a82488c2c2164b0ce9ac32636de3c24b4ca37149a5837d6ba359553560f7914
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-securityposture_v1
|
|
2
2
|
|
|
3
|
+
### v0.13.0 (2026-08-23)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260817
|
|
6
|
+
|
|
7
|
+
### v0.12.0 (2026-06-21)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260618
|
|
10
|
+
|
|
3
11
|
### v0.11.0 (2026-06-14)
|
|
4
12
|
|
|
5
13
|
* Regenerated using generator version 0.19.0
|
|
@@ -1556,7 +1556,7 @@ module Google
|
|
|
1556
1556
|
class ResourceTypes
|
|
1557
1557
|
include Google::Apis::Core::Hashable
|
|
1558
1558
|
|
|
1559
|
-
# Optional. The resource types we
|
|
1559
|
+
# Optional. The resource types we support.
|
|
1560
1560
|
# Corresponds to the JSON property `included`
|
|
1561
1561
|
# @return [Array<String>]
|
|
1562
1562
|
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.13.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260817"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -54,6 +54,92 @@ module Google
|
|
|
54
54
|
@batch_path = 'batch'
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
+
# Gets information about a location.
|
|
58
|
+
# @param [String] name
|
|
59
|
+
# Resource name for the location.
|
|
60
|
+
# @param [String] fields
|
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
|
62
|
+
# @param [String] quota_user
|
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
65
|
+
# @param [Google::Apis::RequestOptions] options
|
|
66
|
+
# Request-specific options
|
|
67
|
+
#
|
|
68
|
+
# @yield [result, err] Result & error if block supplied
|
|
69
|
+
# @yieldparam result [Google::Apis::SecuritypostureV1::Location] parsed result object
|
|
70
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
71
|
+
#
|
|
72
|
+
# @return [Google::Apis::SecuritypostureV1::Location]
|
|
73
|
+
#
|
|
74
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
75
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
76
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
77
|
+
def get_organization_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
78
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
79
|
+
command.response_representation = Google::Apis::SecuritypostureV1::Location::Representation
|
|
80
|
+
command.response_class = Google::Apis::SecuritypostureV1::Location
|
|
81
|
+
command.params['name'] = name unless name.nil?
|
|
82
|
+
command.query['fields'] = fields unless fields.nil?
|
|
83
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
84
|
+
execute_or_queue_command(command, &block)
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Lists information about the supported locations for this service. This method
|
|
88
|
+
# lists locations based on the resource scope provided in the
|
|
89
|
+
# ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
|
|
90
|
+
# the method lists the public locations available to all projects. * **Project-
|
|
91
|
+
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
92
|
+
# method lists locations visible to that specific project. This includes public,
|
|
93
|
+
# private, or other project-specific locations enabled for the project. For gRPC
|
|
94
|
+
# and client library implementations, the resource name is passed as the `name`
|
|
95
|
+
# field. For direct service calls, the resource name is incorporated into the
|
|
96
|
+
# request path based on the specific service implementation and version.
|
|
97
|
+
# @param [String] name
|
|
98
|
+
# The resource that owns the locations collection, if applicable.
|
|
99
|
+
# @param [Array<String>, String] extra_location_types
|
|
100
|
+
# Optional. Do not use this field unless explicitly documented otherwise. This
|
|
101
|
+
# is primarily for internal usage.
|
|
102
|
+
# @param [String] filter
|
|
103
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
|
104
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
105
|
+
# in [AIP-160](https://google.aip.dev/160).
|
|
106
|
+
# @param [Fixnum] page_size
|
|
107
|
+
# The maximum number of results to return. If not set, the service selects a
|
|
108
|
+
# default.
|
|
109
|
+
# @param [String] page_token
|
|
110
|
+
# A page token received from the `next_page_token` field in the response. Send
|
|
111
|
+
# that page token to receive the subsequent page.
|
|
112
|
+
# @param [String] fields
|
|
113
|
+
# Selector specifying which fields to include in a partial response.
|
|
114
|
+
# @param [String] quota_user
|
|
115
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
116
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
117
|
+
# @param [Google::Apis::RequestOptions] options
|
|
118
|
+
# Request-specific options
|
|
119
|
+
#
|
|
120
|
+
# @yield [result, err] Result & error if block supplied
|
|
121
|
+
# @yieldparam result [Google::Apis::SecuritypostureV1::ListLocationsResponse] parsed result object
|
|
122
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
123
|
+
#
|
|
124
|
+
# @return [Google::Apis::SecuritypostureV1::ListLocationsResponse]
|
|
125
|
+
#
|
|
126
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
127
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
128
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
129
|
+
def list_organization_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
130
|
+
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
|
131
|
+
command.response_representation = Google::Apis::SecuritypostureV1::ListLocationsResponse::Representation
|
|
132
|
+
command.response_class = Google::Apis::SecuritypostureV1::ListLocationsResponse
|
|
133
|
+
command.params['name'] = name unless name.nil?
|
|
134
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
|
135
|
+
command.query['filter'] = filter unless filter.nil?
|
|
136
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
137
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
138
|
+
command.query['fields'] = fields unless fields.nil?
|
|
139
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
140
|
+
execute_or_queue_command(command, &block)
|
|
141
|
+
end
|
|
142
|
+
|
|
57
143
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
58
144
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
59
145
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -875,87 +961,6 @@ module Google
|
|
|
875
961
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
876
962
|
execute_or_queue_command(command, &block)
|
|
877
963
|
end
|
|
878
|
-
|
|
879
|
-
# Gets information about a location.
|
|
880
|
-
# @param [String] name
|
|
881
|
-
# Resource name for the location.
|
|
882
|
-
# @param [String] fields
|
|
883
|
-
# Selector specifying which fields to include in a partial response.
|
|
884
|
-
# @param [String] quota_user
|
|
885
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
886
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
887
|
-
# @param [Google::Apis::RequestOptions] options
|
|
888
|
-
# Request-specific options
|
|
889
|
-
#
|
|
890
|
-
# @yield [result, err] Result & error if block supplied
|
|
891
|
-
# @yieldparam result [Google::Apis::SecuritypostureV1::Location] parsed result object
|
|
892
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
893
|
-
#
|
|
894
|
-
# @return [Google::Apis::SecuritypostureV1::Location]
|
|
895
|
-
#
|
|
896
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
897
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
898
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
899
|
-
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
900
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
901
|
-
command.response_representation = Google::Apis::SecuritypostureV1::Location::Representation
|
|
902
|
-
command.response_class = Google::Apis::SecuritypostureV1::Location
|
|
903
|
-
command.params['name'] = name unless name.nil?
|
|
904
|
-
command.query['fields'] = fields unless fields.nil?
|
|
905
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
906
|
-
execute_or_queue_command(command, &block)
|
|
907
|
-
end
|
|
908
|
-
|
|
909
|
-
# Lists information about the supported locations for this service. This method
|
|
910
|
-
# can be called in two ways: * **List all public locations:** Use the path `GET /
|
|
911
|
-
# v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
|
|
912
|
-
# projects/`project_id`/locations`. This may include public locations as well as
|
|
913
|
-
# private or other locations specifically visible to the project.
|
|
914
|
-
# @param [String] name
|
|
915
|
-
# The resource that owns the locations collection, if applicable.
|
|
916
|
-
# @param [Array<String>, String] extra_location_types
|
|
917
|
-
# Optional. Do not use this field. It is unsupported and is ignored unless
|
|
918
|
-
# explicitly documented otherwise. This is primarily for internal usage.
|
|
919
|
-
# @param [String] filter
|
|
920
|
-
# A filter to narrow down results to a preferred subset. The filtering language
|
|
921
|
-
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
922
|
-
# in [AIP-160](https://google.aip.dev/160).
|
|
923
|
-
# @param [Fixnum] page_size
|
|
924
|
-
# The maximum number of results to return. If not set, the service selects a
|
|
925
|
-
# default.
|
|
926
|
-
# @param [String] page_token
|
|
927
|
-
# A page token received from the `next_page_token` field in the response. Send
|
|
928
|
-
# that page token to receive the subsequent page.
|
|
929
|
-
# @param [String] fields
|
|
930
|
-
# Selector specifying which fields to include in a partial response.
|
|
931
|
-
# @param [String] quota_user
|
|
932
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
933
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
934
|
-
# @param [Google::Apis::RequestOptions] options
|
|
935
|
-
# Request-specific options
|
|
936
|
-
#
|
|
937
|
-
# @yield [result, err] Result & error if block supplied
|
|
938
|
-
# @yieldparam result [Google::Apis::SecuritypostureV1::ListLocationsResponse] parsed result object
|
|
939
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
940
|
-
#
|
|
941
|
-
# @return [Google::Apis::SecuritypostureV1::ListLocationsResponse]
|
|
942
|
-
#
|
|
943
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
944
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
945
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
946
|
-
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)
|
|
947
|
-
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
|
948
|
-
command.response_representation = Google::Apis::SecuritypostureV1::ListLocationsResponse::Representation
|
|
949
|
-
command.response_class = Google::Apis::SecuritypostureV1::ListLocationsResponse
|
|
950
|
-
command.params['name'] = name unless name.nil?
|
|
951
|
-
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
|
952
|
-
command.query['filter'] = filter unless filter.nil?
|
|
953
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
954
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
955
|
-
command.query['fields'] = fields unless fields.nil?
|
|
956
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
957
|
-
execute_or_queue_command(command, &block)
|
|
958
|
-
end
|
|
959
964
|
|
|
960
965
|
protected
|
|
961
966
|
|
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.13.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.13.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:
|