google-apis-kmsinventory_v1 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/kmsinventory_v1/gem_version.rb +2 -2
- data/lib/google/apis/kmsinventory_v1/service.rb +12 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c8e5445fd742e3fbf8fc85f6ce8882b56f19a6099b5d892f47825f875bc02bb
|
4
|
+
data.tar.gz: 57a65ed79904482d74b7999633904e49b487bb6cc5f094622bc6dc216420be07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c805ee0377eb7872f8614f7fa174d3858f4585e78f2603851188c69c26172dd65009ee6a30347dde7fc3cac1e980e6d4155c99ae38f316a0dba95fe94416ee7
|
7
|
+
data.tar.gz: 30ed1a525257519236cb5e15934a4b042e4479733e70ca171c4f34263cc51e1393020f2da8158a35c633538faaa88250661df2622135b8621f5b0362f34bdfd8
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module KmsinventoryV1
|
18
18
|
# Version of the google-apis-kmsinventory_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230708"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,16 @@ module Google
|
|
64
64
|
# SearchProtectedResources call. Provide this to retrieve the subsequent page.
|
65
65
|
# When paginating, all other parameters provided to KeyTrackingService.
|
66
66
|
# SearchProtectedResources must match the call that provided the page token.
|
67
|
+
# @param [Array<String>, String] resource_types
|
68
|
+
# Optional. A list of resource types that this request searches for. If empty,
|
69
|
+
# it will search all the [trackable resource types](https://cloud.google.com/kms/
|
70
|
+
# docs/view-key-usage#tracked-resource-types). Regular expressions are also
|
71
|
+
# supported. For example: * `compute.googleapis.com.*` snapshots resources whose
|
72
|
+
# type starts with `compute.googleapis.com`. * `.*Image` snapshots resources
|
73
|
+
# whose type ends with `Image`. * `.*Image.*` snapshots resources whose type
|
74
|
+
# contains `Image`. See [RE2](https://github.com/google/re2/wiki/Syntax) for all
|
75
|
+
# supported regular expression syntax. If the regular expression does not match
|
76
|
+
# any supported resource type, an INVALID_ARGUMENT error will be returned.
|
67
77
|
# @param [String] fields
|
68
78
|
# Selector specifying which fields to include in a partial response.
|
69
79
|
# @param [String] quota_user
|
@@ -81,7 +91,7 @@ module Google
|
|
81
91
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
82
92
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
83
93
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
84
|
-
def search_organization_protected_resources(scope, crypto_key: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
94
|
+
def search_organization_protected_resources(scope, crypto_key: nil, page_size: nil, page_token: nil, resource_types: nil, fields: nil, quota_user: nil, options: nil, &block)
|
85
95
|
command = make_simple_command(:get, 'v1/{+scope}/protectedResources:search', options)
|
86
96
|
command.response_representation = Google::Apis::KmsinventoryV1::GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse::Representation
|
87
97
|
command.response_class = Google::Apis::KmsinventoryV1::GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse
|
@@ -89,6 +99,7 @@ module Google
|
|
89
99
|
command.query['cryptoKey'] = crypto_key unless crypto_key.nil?
|
90
100
|
command.query['pageSize'] = page_size unless page_size.nil?
|
91
101
|
command.query['pageToken'] = page_token unless page_token.nil?
|
102
|
+
command.query['resourceTypes'] = resource_types unless resource_types.nil?
|
92
103
|
command.query['fields'] = fields unless fields.nil?
|
93
104
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
94
105
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-kmsinventory_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-kmsinventory_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-kmsinventory_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-kmsinventory_v1/v0.5.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-kmsinventory_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|