google-apis-securityposture_v1 0.12.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/securityposture_v1/gem_version.rb +2 -2
- data/lib/google/apis/securityposture_v1/service.rb +86 -86
- 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: 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
|
@@ -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,92 +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
|
-
# lists locations based on the resource scope provided in the
|
|
911
|
-
# ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
|
|
912
|
-
# the method lists the public locations available to all projects. * **Project-
|
|
913
|
-
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
914
|
-
# method lists locations visible to that specific project. This includes public,
|
|
915
|
-
# private, or other project-specific locations enabled for the project. For gRPC
|
|
916
|
-
# and client library implementations, the resource name is passed as the `name`
|
|
917
|
-
# field. For direct service calls, the resource name is incorporated into the
|
|
918
|
-
# request path based on the specific service implementation and version.
|
|
919
|
-
# @param [String] name
|
|
920
|
-
# The resource that owns the locations collection, if applicable.
|
|
921
|
-
# @param [Array<String>, String] extra_location_types
|
|
922
|
-
# Optional. Do not use this field unless explicitly documented otherwise. This
|
|
923
|
-
# is primarily for internal usage.
|
|
924
|
-
# @param [String] filter
|
|
925
|
-
# A filter to narrow down results to a preferred subset. The filtering language
|
|
926
|
-
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
927
|
-
# in [AIP-160](https://google.aip.dev/160).
|
|
928
|
-
# @param [Fixnum] page_size
|
|
929
|
-
# The maximum number of results to return. If not set, the service selects a
|
|
930
|
-
# default.
|
|
931
|
-
# @param [String] page_token
|
|
932
|
-
# A page token received from the `next_page_token` field in the response. Send
|
|
933
|
-
# that page token to receive the subsequent page.
|
|
934
|
-
# @param [String] fields
|
|
935
|
-
# Selector specifying which fields to include in a partial response.
|
|
936
|
-
# @param [String] quota_user
|
|
937
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
938
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
939
|
-
# @param [Google::Apis::RequestOptions] options
|
|
940
|
-
# Request-specific options
|
|
941
|
-
#
|
|
942
|
-
# @yield [result, err] Result & error if block supplied
|
|
943
|
-
# @yieldparam result [Google::Apis::SecuritypostureV1::ListLocationsResponse] parsed result object
|
|
944
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
945
|
-
#
|
|
946
|
-
# @return [Google::Apis::SecuritypostureV1::ListLocationsResponse]
|
|
947
|
-
#
|
|
948
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
949
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
950
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
951
|
-
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)
|
|
952
|
-
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
|
953
|
-
command.response_representation = Google::Apis::SecuritypostureV1::ListLocationsResponse::Representation
|
|
954
|
-
command.response_class = Google::Apis::SecuritypostureV1::ListLocationsResponse
|
|
955
|
-
command.params['name'] = name unless name.nil?
|
|
956
|
-
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
|
957
|
-
command.query['filter'] = filter unless filter.nil?
|
|
958
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
959
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
960
|
-
command.query['fields'] = fields unless fields.nil?
|
|
961
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
962
|
-
execute_or_queue_command(command, &block)
|
|
963
|
-
end
|
|
964
964
|
|
|
965
965
|
protected
|
|
966
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:
|