google-cloud-kms-inventory-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: 3d399520b026714db57a0c9ed91c55dcaff07a276d9a560b4cabe631f76b8561
4
- data.tar.gz: 137992d11fa0590484095ac9e4bb9aa1f1fd54b81f4e2f9602374deaceb23ed1
3
+ metadata.gz: 3e6dc0c23056d21bbd25ef775043ad1da093e532d340de056dcb3f48031ecc92
4
+ data.tar.gz: 4eca7d0a971610d7e819bd007e79d473648ef6f882af0fefa9f62033b005362b
5
5
  SHA512:
6
- metadata.gz: 8439a38d345543c6378bdc2be704c59aac2c44e481a2dc867ffbc006ab2b924f1bdc954e3a98c533562acb85ae8d6843ad50a3ed457d47298a03d882c156436c
7
- data.tar.gz: 0cc2e4710ef1d7497ee1cbd3d83be4c4701bee68255b20eae3e622913fcf03550f9a159841a8d41f82a6becfd913e00ef554dd0d26a69fcaa73edc7f970f188c
6
+ metadata.gz: 22bfc841cb23690ff6fba141ec54a2b901617f19af66faa60818cd7514b22cf6dfe4d8c25c3d4be4050691b078aa6039cc99d56616beea3b97f71a6cc4f1a7e2
7
+ data.tar.gz: 6ad8510f1d8a2121225bb9193b3c579086a1bb470526a1e8d6af0f9beeb2a373ba5bc8da10550a7c88386c95d9f4782fffe0fa2505bf733444f765177361538b
@@ -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.4.0"
25
+ VERSION = "0.6.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
@@ -434,6 +434,18 @@ module Google
434
434
  # AES-GCM (Galois Counter Mode) using 256-bit keys.
435
435
  AES_256_GCM = 19
436
436
 
437
+ # AES-CBC (Cipher Block Chaining Mode) using 128-bit keys.
438
+ AES_128_CBC = 42
439
+
440
+ # AES-CBC (Cipher Block Chaining Mode) using 256-bit keys.
441
+ AES_256_CBC = 43
442
+
443
+ # AES-CTR (Counter Mode) using 128-bit keys.
444
+ AES_128_CTR = 44
445
+
446
+ # AES-CTR (Counter Mode) using 256-bit keys.
447
+ AES_256_CTR = 45
448
+
437
449
  # RSASSA-PSS 2048 bit key with a SHA256 digest.
438
450
  RSA_SIGN_PSS_2048_SHA256 = 2
439
451
 
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.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-07-06 00:00:00.000000000 Z
11
+ date: 2023-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common