google-apis-kmsinventory_v1 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6819aed9369a703eed0fe449022f13d559e7d7cc1a8fec82a867ce0832b03f04
4
- data.tar.gz: 6aefbe358f979654767550745dd09294dfe7e5c98e7d3564be18739bb58b69c5
3
+ metadata.gz: f224d76980601facf2b3022677906dd32062c38dca7c414a60ebcc8bc56047ab
4
+ data.tar.gz: 528ee8dc217ab45051609c51aabfcaa51f0ca8067bad99b8826b381faa3fcfe3
5
5
  SHA512:
6
- metadata.gz: 666ad7216679914ef8fd1e00154868927ef4064faf001cc1eb3e3c88bca94f00d7a2dbe1eafda568e14cf6f2b1ef4e4689b2905419716372ec994c39208b861c
7
- data.tar.gz: 12f12712ca91326333a93e8369432830465d5a68807924247d7e3efb6d7e71f81c9299b98b3485e844fc3e68062998a60629b2a93e0d2f936bac81451f0831aa
6
+ metadata.gz: 2a646d7d478c7059f1f986d25c7e34f0f92ff723978da2f6a0838ac7531db4e22dfe3f20d78194ad51c7a756dfbaa977fea0859753f22edb9d00d64718eeb71a
7
+ data.tar.gz: 69108a728ea77608596e596450a17ae5ae03693cc75f159968f60f1bea39dab3d7d06122d66c6611a0ae63dd61a272efd5b5a3fc127219c7ff563ef0e23415c4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-kmsinventory_v1
2
2
 
3
+ ### v0.6.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20230716
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.5.0 (2023-07-16)
9
+
10
+ * Regenerated from discovery document revision 20230708
11
+
3
12
  ### v0.4.0 (2023-03-19)
4
13
 
5
14
  * Regenerated from discovery document revision 20230312
@@ -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.4.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230312"
25
+ REVISION = "20230716"
26
26
  end
27
27
  end
28
28
  end
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/kms/
34
34
  class KmsinventoryService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://kmsinventory.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://kmsinventory.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-kmsinventory_v1',
48
50
  client_version: Google::Apis::KmsinventoryV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -64,6 +66,16 @@ module Google
64
66
  # SearchProtectedResources call. Provide this to retrieve the subsequent page.
65
67
  # When paginating, all other parameters provided to KeyTrackingService.
66
68
  # SearchProtectedResources must match the call that provided the page token.
69
+ # @param [Array<String>, String] resource_types
70
+ # Optional. A list of resource types that this request searches for. If empty,
71
+ # it will search all the [trackable resource types](https://cloud.google.com/kms/
72
+ # docs/view-key-usage#tracked-resource-types). Regular expressions are also
73
+ # supported. For example: * `compute.googleapis.com.*` snapshots resources whose
74
+ # type starts with `compute.googleapis.com`. * `.*Image` snapshots resources
75
+ # whose type ends with `Image`. * `.*Image.*` snapshots resources whose type
76
+ # contains `Image`. See [RE2](https://github.com/google/re2/wiki/Syntax) for all
77
+ # supported regular expression syntax. If the regular expression does not match
78
+ # any supported resource type, an INVALID_ARGUMENT error will be returned.
67
79
  # @param [String] fields
68
80
  # Selector specifying which fields to include in a partial response.
69
81
  # @param [String] quota_user
@@ -81,7 +93,7 @@ module Google
81
93
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
82
94
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
83
95
  # @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)
96
+ 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
97
  command = make_simple_command(:get, 'v1/{+scope}/protectedResources:search', options)
86
98
  command.response_representation = Google::Apis::KmsinventoryV1::GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse::Representation
87
99
  command.response_class = Google::Apis::KmsinventoryV1::GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse
@@ -89,6 +101,7 @@ module Google
89
101
  command.query['cryptoKey'] = crypto_key unless crypto_key.nil?
90
102
  command.query['pageSize'] = page_size unless page_size.nil?
91
103
  command.query['pageToken'] = page_token unless page_token.nil?
104
+ command.query['resourceTypes'] = resource_types unless resource_types.nil?
92
105
  command.query['fields'] = fields unless fields.nil?
93
106
  command.query['quotaUser'] = quota_user unless quota_user.nil?
94
107
  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.0
4
+ version: 0.6.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-03-19 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-kmsinventory_v1/v0.6.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for KMS Inventory API V1