google-cloud-kms-inventory-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: d29a59bc696c02da3cbd1016d4ce7922f7937649a7e520afb5a506a8d6c237f4
4
- data.tar.gz: 3ff49b91231b8560cc9b9da2b7b962d2650ae7fef41c9f43837ddeef9c94a729
3
+ metadata.gz: 01ac015453553e8551996661a953ac40f0738730a46d6a9bfbcc0f7b78fb2b31
4
+ data.tar.gz: 6380ccd859e3a41317f6c02609d5f3e0ec201345283a8e793d51fe31e7bea517
5
5
  SHA512:
6
- metadata.gz: 4c8effe8fdd5f2ac529eb80f9788d59b1f0740fe3234358223e5a410f75d1ea74b8e0d880dfb68a9b25b93d82b0cfce7faa14e28ded59e2cb47972b86c6fb521
7
- data.tar.gz: 385d6e5b8f9241cf317afe016491c561e8f9ed29203abec6130056a73736010969c09e3fb38126c414c05b9471d75f81ee8e60db42e7b9aa2e8cfcfa8f99b42a
6
+ metadata.gz: ac7f2533f468a3d104591d5ccb87f2b01fd86f8865f792bfe572964c7d4744a9e51fea551fc65679edc60e653baba24883502a1977a9b4342bb2443a233fd51b
7
+ data.tar.gz: 7dc515e98bf88e40ce172bfaea3442e45a170f2b712c08713b2ef18cefbbde2cf42a5d986ac298135fedb4f3f9d802c797ae1744e9039427702a7afcdb1a40a1
@@ -254,7 +254,7 @@ module Google
254
254
  # @param options [::Gapic::CallOptions, ::Hash]
255
255
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
256
256
  #
257
- # @overload search_protected_resources(scope: nil, crypto_key: nil, page_size: nil, page_token: nil)
257
+ # @overload search_protected_resources(scope: nil, crypto_key: nil, page_size: nil, page_token: nil, resource_types: nil)
258
258
  # Pass arguments to `search_protected_resources` via keyword arguments. Note that at
259
259
  # least one keyword argument is required. To specify no parameters, or to keep all
260
260
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -278,6 +278,21 @@ module Google
278
278
  # When paginating, all other parameters provided to
279
279
  # {::Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Client#search_protected_resources KeyTrackingService.SearchProtectedResources}
280
280
  # must match the call that provided the page token.
281
+ # @param resource_types [::Array<::String>]
282
+ # Optional. A list of resource types that this request searches for. If
283
+ # empty, it will search all the [trackable resource
284
+ # types](https://cloud.google.com/kms/docs/view-key-usage#tracked-resource-types).
285
+ #
286
+ # Regular expressions are also supported. For example:
287
+ #
288
+ # * `compute.googleapis.com.*` snapshots resources whose type starts
289
+ # with `compute.googleapis.com`.
290
+ # * `.*Image` snapshots resources whose type ends with `Image`.
291
+ # * `.*Image.*` snapshots resources whose type contains `Image`.
292
+ #
293
+ # See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
294
+ # regular expression syntax. If the regular expression does not match any
295
+ # supported resource type, an INVALID_ARGUMENT error will be returned.
281
296
  #
282
297
  # @yield [response, operation] Access the result along with the RPC operation
283
298
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Kms::Inventory::V1::ProtectedResource>]
@@ -222,7 +222,7 @@ module Google
222
222
  # @param options [::Gapic::CallOptions, ::Hash]
223
223
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
224
224
  #
225
- # @overload search_protected_resources(scope: nil, crypto_key: nil, page_size: nil, page_token: nil)
225
+ # @overload search_protected_resources(scope: nil, crypto_key: nil, page_size: nil, page_token: nil, resource_types: nil)
226
226
  # Pass arguments to `search_protected_resources` via keyword arguments. Note that at
227
227
  # least one keyword argument is required. To specify no parameters, or to keep all
228
228
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -246,6 +246,21 @@ module Google
246
246
  # When paginating, all other parameters provided to
247
247
  # {::Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Rest::Client#search_protected_resources KeyTrackingService.SearchProtectedResources}
248
248
  # must match the call that provided the page token.
249
+ # @param resource_types [::Array<::String>]
250
+ # Optional. A list of resource types that this request searches for. If
251
+ # empty, it will search all the [trackable resource
252
+ # types](https://cloud.google.com/kms/docs/view-key-usage#tracked-resource-types).
253
+ #
254
+ # Regular expressions are also supported. For example:
255
+ #
256
+ # * `compute.googleapis.com.*` snapshots resources whose type starts
257
+ # with `compute.googleapis.com`.
258
+ # * `.*Image` snapshots resources whose type ends with `Image`.
259
+ # * `.*Image.*` snapshots resources whose type contains `Image`.
260
+ #
261
+ # See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
262
+ # regular expression syntax. If the regular expression does not match any
263
+ # supported resource type, an INVALID_ARGUMENT error will be returned.
249
264
  # @yield [result, operation] Access the result along with the TransportOperation object
250
265
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Kms::Inventory::V1::ProtectedResource>]
251
266
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
11
11
  require 'google/protobuf/timestamp_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n8google/cloud/kms/inventory/v1/key_tracking_service.proto\x12\x1dgoogle.cloud.kms.inventory.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"r\n#GetProtectedResourcesSummaryRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5kmsinventory.googleapis.com/ProtectedResourcesSummary\"\xe0\x06\n\x19ProtectedResourcesSummary\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x16\n\x0eresource_count\x18\x01 \x01(\x03\x12\x15\n\rproject_count\x18\x02 \x01(\x05\x12\x63\n\x0eresource_types\x18\x03 \x03(\x0b\x32K.google.cloud.kms.inventory.v1.ProtectedResourcesSummary.ResourceTypesEntry\x12\x63\n\x0e\x63loud_products\x18\x06 \x03(\x0b\x32K.google.cloud.kms.inventory.v1.ProtectedResourcesSummary.CloudProductsEntry\x12Z\n\tlocations\x18\x04 \x03(\x0b\x32G.google.cloud.kms.inventory.v1.ProtectedResourcesSummary.LocationsEntry\x1a\x34\n\x12ResourceTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a\x34\n\x12\x43loudProductsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a\x30\n\x0eLocationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01:\xc1\x02\xea\x41\xbd\x02\n5kmsinventory.googleapis.com/ProtectedResourcesSummary\x12mprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/protectedResourcesSummary\x12\x94\x01projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}/protectedResourcesSummary\"\xb0\x01\n\x1fSearchProtectedResourcesRequest\x12G\n\x05scope\x18\x02 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x1d\n\ncrypto_key\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x8a\x01\n SearchProtectedResourcesResponse\x12M\n\x13protected_resources\x18\x01 \x03(\x0b\x32\x30.google.cloud.kms.inventory.v1.ProtectedResource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf9\x03\n\x11ProtectedResource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x12\n\nproject_id\x18\t \x01(\t\x12\x15\n\rcloud_product\x18\x08 \x01(\t\x12\x15\n\rresource_type\x18\x03 \x01(\t\x12\x10\n\x08location\x18\x04 \x01(\t\x12L\n\x06labels\x18\x05 \x03(\x0b\x32<.google.cloud.kms.inventory.v1.ProtectedResource.LabelsEntry\x12I\n\x12\x63rypto_key_version\x18\x06 \x01(\tB-\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\x12J\n\x13\x63rypto_key_versions\x18\n \x03(\tB-\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\'\xea\x41$\n\x1f\x63loudasset.googleapis.com/Asset\x12\x01*2\xda\x04\n\x12KeyTrackingService\x12\x81\x02\n\x1cGetProtectedResourcesSummary\x12\x42.google.cloud.kms.inventory.v1.GetProtectedResourcesSummaryRequest\x1a\x38.google.cloud.kms.inventory.v1.ProtectedResourcesSummary\"c\x82\xd3\xe4\x93\x02V\x12T/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/**}/protectedResourcesSummary\xda\x41\x04name\x12\xee\x01\n\x18SearchProtectedResources\x12>.google.cloud.kms.inventory.v1.SearchProtectedResourcesRequest\x1a?.google.cloud.kms.inventory.v1.SearchProtectedResourcesResponse\"Q\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{scope=organizations/*}/protectedResources:search\xda\x41\x11scope, crypto_key\x1aO\xca\x41\x1bkmsinventory.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc2\x01\n!com.google.cloud.kms.inventory.v1B\x17KeyTrackingServiceProtoP\x01Z?cloud.google.com/go/kms/inventory/apiv1/inventorypb;inventorypb\xf8\x01\x01\xaa\x02\x1dGoogle.Cloud.Kms.Inventory.V1\xca\x02\x1dGoogle\\Cloud\\Kms\\Inventory\\V1b\x06proto3"
14
+ descriptor_data = "\n8google/cloud/kms/inventory/v1/key_tracking_service.proto\x12\x1dgoogle.cloud.kms.inventory.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"r\n#GetProtectedResourcesSummaryRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5kmsinventory.googleapis.com/ProtectedResourcesSummary\"\xe0\x06\n\x19ProtectedResourcesSummary\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x16\n\x0eresource_count\x18\x01 \x01(\x03\x12\x15\n\rproject_count\x18\x02 \x01(\x05\x12\x63\n\x0eresource_types\x18\x03 \x03(\x0b\x32K.google.cloud.kms.inventory.v1.ProtectedResourcesSummary.ResourceTypesEntry\x12\x63\n\x0e\x63loud_products\x18\x06 \x03(\x0b\x32K.google.cloud.kms.inventory.v1.ProtectedResourcesSummary.CloudProductsEntry\x12Z\n\tlocations\x18\x04 \x03(\x0b\x32G.google.cloud.kms.inventory.v1.ProtectedResourcesSummary.LocationsEntry\x1a\x34\n\x12ResourceTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a\x34\n\x12\x43loudProductsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a\x30\n\x0eLocationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01:\xc1\x02\xea\x41\xbd\x02\n5kmsinventory.googleapis.com/ProtectedResourcesSummary\x12mprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/protectedResourcesSummary\x12\x94\x01projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}/protectedResourcesSummary\"\xcd\x01\n\x1fSearchProtectedResourcesRequest\x12G\n\x05scope\x18\x02 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x1d\n\ncrypto_key\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x1b\n\x0eresource_types\x18\x05 \x03(\tB\x03\xe0\x41\x01\"\x8a\x01\n SearchProtectedResourcesResponse\x12M\n\x13protected_resources\x18\x01 \x03(\x0b\x32\x30.google.cloud.kms.inventory.v1.ProtectedResource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf9\x03\n\x11ProtectedResource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x12\n\nproject_id\x18\t \x01(\t\x12\x15\n\rcloud_product\x18\x08 \x01(\t\x12\x15\n\rresource_type\x18\x03 \x01(\t\x12\x10\n\x08location\x18\x04 \x01(\t\x12L\n\x06labels\x18\x05 \x03(\x0b\x32<.google.cloud.kms.inventory.v1.ProtectedResource.LabelsEntry\x12I\n\x12\x63rypto_key_version\x18\x06 \x01(\tB-\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\x12J\n\x13\x63rypto_key_versions\x18\n \x03(\tB-\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\'\xea\x41$\n\x1f\x63loudasset.googleapis.com/Asset\x12\x01*2\xda\x04\n\x12KeyTrackingService\x12\x81\x02\n\x1cGetProtectedResourcesSummary\x12\x42.google.cloud.kms.inventory.v1.GetProtectedResourcesSummaryRequest\x1a\x38.google.cloud.kms.inventory.v1.ProtectedResourcesSummary\"c\x82\xd3\xe4\x93\x02V\x12T/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/**}/protectedResourcesSummary\xda\x41\x04name\x12\xee\x01\n\x18SearchProtectedResources\x12>.google.cloud.kms.inventory.v1.SearchProtectedResourcesRequest\x1a?.google.cloud.kms.inventory.v1.SearchProtectedResourcesResponse\"Q\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{scope=organizations/*}/protectedResources:search\xda\x41\x11scope, crypto_key\x1aO\xca\x41\x1bkmsinventory.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc2\x01\n!com.google.cloud.kms.inventory.v1B\x17KeyTrackingServiceProtoP\x01Z?cloud.google.com/go/kms/inventory/apiv1/inventorypb;inventorypb\xf8\x01\x01\xaa\x02\x1dGoogle.Cloud.Kms.Inventory.V1\xca\x02\x1dGoogle\\Cloud\\Kms\\Inventory\\V1b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Kms
23
23
  module Inventory
24
24
  module V1
25
- VERSION = "0.3.0"
25
+ VERSION = "0.5.0"
26
26
  end
27
27
  end
28
28
  end
@@ -114,6 +114,22 @@ module Google
114
114
  # When paginating, all other parameters provided to
115
115
  # {::Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Client#search_protected_resources KeyTrackingService.SearchProtectedResources}
116
116
  # must match the call that provided the page token.
117
+ # @!attribute [rw] resource_types
118
+ # @return [::Array<::String>]
119
+ # Optional. A list of resource types that this request searches for. If
120
+ # empty, it will search all the [trackable resource
121
+ # types](https://cloud.google.com/kms/docs/view-key-usage#tracked-resource-types).
122
+ #
123
+ # Regular expressions are also supported. For example:
124
+ #
125
+ # * `compute.googleapis.com.*` snapshots resources whose type starts
126
+ # with `compute.googleapis.com`.
127
+ # * `.*Image` snapshots resources whose type ends with `Image`.
128
+ # * `.*Image.*` snapshots resources whose type contains `Image`.
129
+ #
130
+ # See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
131
+ # regular expression syntax. If the regular expression does not match any
132
+ # supported resource type, an INVALID_ARGUMENT error will be returned.
117
133
  class SearchProtectedResourcesRequest
118
134
  include ::Google::Protobuf::MessageExts
119
135
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -178,6 +178,13 @@ module Google
178
178
  # [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
179
179
  ASYMMETRIC_DECRYPT = 6
180
180
 
181
+ # {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys} with this purpose may be used
182
+ # with [RawEncrypt][google.cloud.kms.v1.KeyManagementService.RawEncrypt]
183
+ # and [RawDecrypt][google.cloud.kms.v1.KeyManagementService.RawDecrypt].
184
+ # This purpose is meant to be used for interoperable symmetric
185
+ # encryption and does not support automatic CryptoKey rotation.
186
+ RAW_ENCRYPT_DECRYPT = 7
187
+
181
188
  # {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys} with this purpose may be used
182
189
  # with [MacSign][google.cloud.kms.v1.KeyManagementService.MacSign].
183
190
  MAC = 9
@@ -421,6 +428,12 @@ module Google
421
428
  # Creates symmetric encryption keys.
422
429
  GOOGLE_SYMMETRIC_ENCRYPTION = 1
423
430
 
431
+ # AES-GCM (Galois Counter Mode) using 128-bit keys.
432
+ AES_128_GCM = 41
433
+
434
+ # AES-GCM (Galois Counter Mode) using 256-bit keys.
435
+ AES_256_GCM = 19
436
+
424
437
  # RSASSA-PSS 2048 bit key with a SHA256 digest.
425
438
  RSA_SIGN_PSS_2048_SHA256 = 2
426
439
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-kms-inventory-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.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-06-06 00:00:00.000000000 Z
11
+ date: 2023-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common