google-apis-logging_v2 0.23.0 → 0.26.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: 5d62efe21639bb7eb73de0a75c299d235e1b78c9979171a11d2a0b09ccf7e6bf
4
- data.tar.gz: 3ddf8f9a334ef8749207658c516437fb060bd09ffa181c7960c9568b8690709e
3
+ metadata.gz: 858a714d8b8b7e3f4e9ed08516ae3afe76f755250fbbe2c0842e2689e535bffa
4
+ data.tar.gz: 2db4a1f54886cc8ef30235971bd101561f05570109983d7cb8e2c021512daef8
5
5
  SHA512:
6
- metadata.gz: 8639b36e87cc44c173d2de829b4679f98b03a68b213d52312f638a71311a2e707ee16295f59ee262cd8dc8299ad34b4ca4a462dea7d3095d95a7cce0240c12b3
7
- data.tar.gz: db74de84475cabe5f1ee463cd273633870e644c335fd3b42e3c03d0159f9c5e14e39c05979406797f3f08c6da8f270cd8b358d6f207946b23dd810061e91bc00
6
+ metadata.gz: af253b9bbf95cd7311f37331232a399108aba5af6dd1cc4ae60d2ddee9ae0d3e2f50137ca592774802d35576992a8aba963014b65d5a4657fed106941cbb36f4
7
+ data.tar.gz: 7f26a8a01d705e78cbf5fee2e5654f911a7818bf6359c3d012020451e5035c6de01d1694e29d789a22e258a04d12e4e02f688ce3028fddb81ed2bf2a81c959ee
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.26.0 (2022-03-26)
4
+
5
+ * Regenerated from discovery document revision 20220318
6
+
7
+ ### v0.25.0 (2022-03-19)
8
+
9
+ * Regenerated from discovery document revision 20220311
10
+
11
+ ### v0.24.0 (2022-02-19)
12
+
13
+ * Regenerated from discovery document revision 20220211
14
+
3
15
  ### v0.23.0 (2022-02-12)
4
16
 
5
17
  * Regenerated from discovery document revision 20220204
@@ -156,6 +156,17 @@ module Google
156
156
  # @return [String]
157
157
  attr_accessor :kms_key_name
158
158
 
159
+ # The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key
160
+ # name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
161
+ # cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/
162
+ # locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"
163
+ # This is a read-only field used to convey the specific configured
164
+ # CryptoKeyVersion of kms_key that has been configured. It will be populated in
165
+ # cases where the CMEK settings are bound to a single key version.
166
+ # Corresponds to the JSON property `kmsKeyVersionName`
167
+ # @return [String]
168
+ attr_accessor :kms_key_version_name
169
+
159
170
  # Output only. The resource name of the CMEK settings.
160
171
  # Corresponds to the JSON property `name`
161
172
  # @return [String]
@@ -178,6 +189,7 @@ module Google
178
189
  # Update properties of this object
179
190
  def update!(**args)
180
191
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
192
+ @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
181
193
  @name = args[:name] if args.key?(:name)
182
194
  @service_account_id = args[:service_account_id] if args.key?(:service_account_id)
183
195
  end
@@ -297,8 +309,7 @@ module Google
297
309
  # A generic empty message that you can re-use to avoid defining duplicated empty
298
310
  # messages in your APIs. A typical example is to use it as the request or the
299
311
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
300
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
301
- # Empty is empty JSON object ``.
312
+ # protobuf.Empty) returns (google.protobuf.Empty); `
302
313
  class Empty
303
314
  include Google::Apis::Core::Hashable
304
315
 
@@ -2392,6 +2403,34 @@ module Google
2392
2403
  attr_accessor :disable_default_sink
2393
2404
  alias_method :disable_default_sink?, :disable_default_sink
2394
2405
 
2406
+ # Optional. The resource name for the configured Cloud KMS key.KMS key name
2407
+ # format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
2408
+ # cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/
2409
+ # keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this
2410
+ # field to a valid kms_key_name for which the associated service account has the
2411
+ # required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.
2412
+ # The Cloud KMS key used by the Log Router can be updated by changing the
2413
+ # kms_key_name to a new valid key name. Encryption operations that are in
2414
+ # progress will be completed with the key that was in use when they started.
2415
+ # Decryption operations will be completed using the key that was used at the
2416
+ # time of encryption unless access to that key has been revoked.To disable CMEK
2417
+ # for the Log Router, set this field to an empty string.See Enabling CMEK for
2418
+ # Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
2419
+ # for more information.
2420
+ # Corresponds to the JSON property `kmsKeyName`
2421
+ # @return [String]
2422
+ attr_accessor :kms_key_name
2423
+
2424
+ # Output only. The service account that will be used by the Log Router to access
2425
+ # your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign
2426
+ # the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account
2427
+ # that the Log Router will use to access your Cloud KMS key. Use GetSettings to
2428
+ # obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.
2429
+ # google.com/logging/docs/routing/managed-encryption) for more information.
2430
+ # Corresponds to the JSON property `kmsServiceAccountId`
2431
+ # @return [String]
2432
+ attr_accessor :kms_service_account_id
2433
+
2395
2434
  # Output only. The resource name of the settings.
2396
2435
  # Corresponds to the JSON property `name`
2397
2436
  # @return [String]
@@ -2411,6 +2450,8 @@ module Google
2411
2450
  # Update properties of this object
2412
2451
  def update!(**args)
2413
2452
  @disable_default_sink = args[:disable_default_sink] if args.key?(:disable_default_sink)
2453
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2454
+ @kms_service_account_id = args[:kms_service_account_id] if args.key?(:kms_service_account_id)
2414
2455
  @name = args[:name] if args.key?(:name)
2415
2456
  @storage_location = args[:storage_location] if args.key?(:storage_location)
2416
2457
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module LoggingV2
18
18
  # Version of the google-apis-logging_v2 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220204"
25
+ REVISION = "20220318"
26
26
  end
27
27
  end
28
28
  end
@@ -364,6 +364,7 @@ module Google
364
364
  # @private
365
365
  class Representation < Google::Apis::Core::JsonRepresentation
366
366
  property :kms_key_name, as: 'kmsKeyName'
367
+ property :kms_key_version_name, as: 'kmsKeyVersionName'
367
368
  property :name, as: 'name'
368
369
  property :service_account_id, as: 'serviceAccountId'
369
370
  end
@@ -833,6 +834,8 @@ module Google
833
834
  # @private
834
835
  class Representation < Google::Apis::Core::JsonRepresentation
835
836
  property :disable_default_sink, as: 'disableDefaultSink'
837
+ property :kms_key_name, as: 'kmsKeyName'
838
+ property :kms_service_account_id, as: 'kmsServiceAccountId'
836
839
  property :name, as: 'name'
837
840
  property :storage_location, as: 'storageLocation'
838
841
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-logging_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.26.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: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-03-28 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-logging_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.26.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2
63
63
  post_install_message:
64
64
  rdoc_options: []