google-apis-kmsinventory_v1 0.3.0 → 0.5.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:
|
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
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-kmsinventory_v1
|
2
2
|
|
3
|
+
### v0.5.0 (2023-07-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230708
|
6
|
+
|
7
|
+
### v0.4.0 (2023-03-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230312
|
10
|
+
|
3
11
|
### v0.3.0 (2023-02-15)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.12.0
|
@@ -357,6 +357,12 @@ module Google
|
|
357
357
|
# @return [String]
|
358
358
|
attr_accessor :destroy_time
|
359
359
|
|
360
|
+
# Output only. The root cause of the most recent external destruction failure.
|
361
|
+
# Only present if state is EXTERNAL_DESTRUCTION_FAILED.
|
362
|
+
# Corresponds to the JSON property `externalDestructionFailureReason`
|
363
|
+
# @return [String]
|
364
|
+
attr_accessor :external_destruction_failure_reason
|
365
|
+
|
360
366
|
# ExternalProtectionLevelOptions stores a group of additional fields for
|
361
367
|
# configuring a CryptoKeyVersion that are specific to the EXTERNAL protection
|
362
368
|
# level and EXTERNAL_VPC protection levels.
|
@@ -369,6 +375,12 @@ module Google
|
|
369
375
|
# @return [String]
|
370
376
|
attr_accessor :generate_time
|
371
377
|
|
378
|
+
# Output only. The root cause of the most recent generation failure. Only
|
379
|
+
# present if state is GENERATION_FAILED.
|
380
|
+
# Corresponds to the JSON property `generationFailureReason`
|
381
|
+
# @return [String]
|
382
|
+
attr_accessor :generation_failure_reason
|
383
|
+
|
372
384
|
# Output only. The root cause of the most recent import failure. Only present if
|
373
385
|
# state is IMPORT_FAILED.
|
374
386
|
# Corresponds to the JSON property `importFailureReason`
|
@@ -423,8 +435,10 @@ module Google
|
|
423
435
|
@create_time = args[:create_time] if args.key?(:create_time)
|
424
436
|
@destroy_event_time = args[:destroy_event_time] if args.key?(:destroy_event_time)
|
425
437
|
@destroy_time = args[:destroy_time] if args.key?(:destroy_time)
|
438
|
+
@external_destruction_failure_reason = args[:external_destruction_failure_reason] if args.key?(:external_destruction_failure_reason)
|
426
439
|
@external_protection_level_options = args[:external_protection_level_options] if args.key?(:external_protection_level_options)
|
427
440
|
@generate_time = args[:generate_time] if args.key?(:generate_time)
|
441
|
+
@generation_failure_reason = args[:generation_failure_reason] if args.key?(:generation_failure_reason)
|
428
442
|
@import_failure_reason = args[:import_failure_reason] if args.key?(:import_failure_reason)
|
429
443
|
@import_job = args[:import_job] if args.key?(:import_job)
|
430
444
|
@import_time = args[:import_time] if args.key?(:import_time)
|
@@ -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
|
@@ -156,9 +156,11 @@ module Google
|
|
156
156
|
property :create_time, as: 'createTime'
|
157
157
|
property :destroy_event_time, as: 'destroyEventTime'
|
158
158
|
property :destroy_time, as: 'destroyTime'
|
159
|
+
property :external_destruction_failure_reason, as: 'externalDestructionFailureReason'
|
159
160
|
property :external_protection_level_options, as: 'externalProtectionLevelOptions', class: Google::Apis::KmsinventoryV1::GoogleCloudKmsV1ExternalProtectionLevelOptions, decorator: Google::Apis::KmsinventoryV1::GoogleCloudKmsV1ExternalProtectionLevelOptions::Representation
|
160
161
|
|
161
162
|
property :generate_time, as: 'generateTime'
|
163
|
+
property :generation_failure_reason, as: 'generationFailureReason'
|
162
164
|
property :import_failure_reason, as: 'importFailureReason'
|
163
165
|
property :import_job, as: 'importJob'
|
164
166
|
property :import_time, as: 'importTime'
|
@@ -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: []
|