google-apis-logging_v2 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2454c651ce51159190a0c3450909bc39c02469aece9a6c8ed1d82ef898a9d8d1
4
- data.tar.gz: e03a7292f079132b2bc01c1d7262097079793a8e9c9ba10ff59ac96d9b20fbcc
3
+ metadata.gz: 9a366e5cf9298df4b8fc7e3860e21dc80e1d9e2db2b02612d5f5dcdbbd97edfe
4
+ data.tar.gz: 85cbaad452a63295a01785179e36c6c1b4042888262df1e662a8028c977aa57f
5
5
  SHA512:
6
- metadata.gz: 3eeef64377ec68b5fe7243cf60dad887f8b976f882e71815a86e85a9125def62db51572cff43e4429ba7f7d178340a6f7f06ae0c944409539c6776fc4241bed0
7
- data.tar.gz: 9883c27385dcb3a4f717c67db5c8238399261a7c3ce8595941ae064d51a06e2373194037bb99878f4f4272c44bfa54dfbf2bbfc5a70d8bf6102f8adf02ae76f3
6
+ metadata.gz: 176992bac9bcfddeb5f638a2245a46cd085e051af5a55374c21bdc1ffa1f5e0a73a261f1a9c93955bc45f4e7f7bc5170c721dde5848aab9da0af5c3d9bec7fb0
7
+ data.tar.gz: 3b86aeacbab0bdf1dd2a3c1b4c86a712363e7a795b0db5e2555c09a2d4880544ec46a45cbeb169afbfa8a0862f30617113200d83df04f533da7446c909bbfe42
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.18.0 (2021-11-19)
4
+
5
+ * Regenerated from discovery document revision 20211108
6
+
3
7
  ### v0.17.0 (2021-11-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20211019
@@ -131,9 +131,9 @@ module Google
131
131
 
132
132
  # Describes the customer-managed encryption key (CMEK) settings associated with
133
133
  # a project, folder, organization, billing account, or flexible resource.Note:
134
- # CMEK for the Logs Router can currently only be configured for Google Cloud
134
+ # CMEK for the Log Router can currently only be configured for Google Cloud
135
135
  # organizations. Once configured, it applies to all projects and folders in the
136
- # Google Cloud organization.See Enabling CMEK for Logs Router (https://cloud.
136
+ # Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.
137
137
  # google.com/logging/docs/routing/managed-encryption) for more information.
138
138
  class CmekSettings
139
139
  include Google::Apis::Core::Hashable
@@ -141,17 +141,17 @@ module Google
141
141
  # The resource name for the configured Cloud KMS key.KMS key name format: "
142
142
  # projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
143
143
  # For example:"projects/my-project/locations/us-central1/keyRings/my-ring/
144
- # cryptoKeys/my-key"To enable CMEK for the Logs Router, set this field to a
145
- # valid kms_key_name for which the associated service account has the required
144
+ # cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid
145
+ # kms_key_name for which the associated service account has the required
146
146
  # cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS
147
147
  # key used by the Log Router can be updated by changing the kms_key_name to a
148
148
  # new valid key name or disabled by setting the key name to an empty string.
149
149
  # Encryption operations that are in progress will be completed with the key that
150
150
  # was in use when they started. Decryption operations will be completed using
151
151
  # the key that was used at the time of encryption unless access to that key has
152
- # been revoked.To disable CMEK for the Logs Router, set this field to an empty
153
- # string.See Enabling CMEK for Logs Router (https://cloud.google.com/logging/
154
- # docs/routing/managed-encryption) for more information.
152
+ # been revoked.To disable CMEK for the Log Router, set this field to an empty
153
+ # string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/
154
+ # routing/managed-encryption) for more information.
155
155
  # Corresponds to the JSON property `kmsKeyName`
156
156
  # @return [String]
157
157
  attr_accessor :kms_key_name
@@ -161,13 +161,12 @@ module Google
161
161
  # @return [String]
162
162
  attr_accessor :name
163
163
 
164
- # Output only. The service account that will be used by the Logs Router to
165
- # access your Cloud KMS key.Before enabling CMEK for Logs Router, you must first
166
- # assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account
167
- # that the Logs Router will use to access your Cloud KMS key. Use
168
- # GetCmekSettings to obtain the service account ID.See Enabling CMEK for Logs
169
- # Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for
170
- # more information.
164
+ # Output only. The service account that will be used by the Log Router to access
165
+ # your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign
166
+ # the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the
167
+ # Log Router will use to access your Cloud KMS key. Use GetCmekSettings to
168
+ # obtain the service account ID.See Enabling CMEK for Logs Router (https://cloud.
169
+ # google.com/logging/docs/routing/managed-encryption) for more information.
171
170
  # Corresponds to the JSON property `serviceAccountId`
172
171
  # @return [String]
173
172
  attr_accessor :service_account_id
@@ -959,6 +958,16 @@ module Google
959
958
  class LogBucket
960
959
  include Google::Apis::Core::Hashable
961
960
 
961
+ # Describes the customer-managed encryption key (CMEK) settings associated with
962
+ # a project, folder, organization, billing account, or flexible resource.Note:
963
+ # CMEK for the Log Router can currently only be configured for Google Cloud
964
+ # organizations. Once configured, it applies to all projects and folders in the
965
+ # Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.
966
+ # google.com/logging/docs/routing/managed-encryption) for more information.
967
+ # Corresponds to the JSON property `cmekSettings`
968
+ # @return [Google::Apis::LoggingV2::CmekSettings]
969
+ attr_accessor :cmek_settings
970
+
962
971
  # Output only. The creation timestamp of the bucket. This is not set for any of
963
972
  # the default buckets.
964
973
  # Corresponds to the JSON property `createTime`
@@ -1019,6 +1028,7 @@ module Google
1019
1028
 
1020
1029
  # Update properties of this object
1021
1030
  def update!(**args)
1031
+ @cmek_settings = args[:cmek_settings] if args.key?(:cmek_settings)
1022
1032
  @create_time = args[:create_time] if args.key?(:create_time)
1023
1033
  @description = args[:description] if args.key?(:description)
1024
1034
  @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
@@ -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.17.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211019"
25
+ REVISION = "20211108"
26
26
  end
27
27
  end
28
28
  end
@@ -563,6 +563,8 @@ module Google
563
563
  class LogBucket
564
564
  # @private
565
565
  class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :cmek_settings, as: 'cmekSettings', class: Google::Apis::LoggingV2::CmekSettings, decorator: Google::Apis::LoggingV2::CmekSettings::Representation
567
+
566
568
  property :create_time, as: 'createTime'
567
569
  property :description, as: 'description'
568
570
  property :lifecycle_state, as: 'lifecycleState'
@@ -22,10 +22,7 @@ module Google
22
22
  module LoggingV2
23
23
  # Cloud Logging API
24
24
  #
25
- # Writes log entries and manages your Cloud Logging configuration. The table
26
- # entries below are presented in alphabetical order, not in order of common use.
27
- # For explanations of the concepts found in the table entries, read the
28
- # documentation at https://cloud.google.com/logging/docs.
25
+ # Writes log entries and manages your Cloud Logging configuration.
29
26
  #
30
27
  # @example
31
28
  # require 'google/apis/logging_v2'
@@ -52,6 +49,47 @@ module Google
52
49
  @batch_path = 'batch'
53
50
  end
54
51
 
52
+ # Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log
53
+ # Router can be configured for Google Cloud projects, folders, organizations and
54
+ # billing accounts. Once configured for an organization, it applies to all
55
+ # projects and folders in the Google Cloud organization.See Enabling CMEK for
56
+ # Logs Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
57
+ # for more information.
58
+ # @param [String] name
59
+ # Required. The resource for which to retrieve CMEK settings. "projects/[
60
+ # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
61
+ # billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
62
+ # cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
63
+ # Log Router can be configured for Google Cloud projects, folders, organizations
64
+ # and billing accounts. Once configured for an organization, it applies to all
65
+ # projects and folders in the Google Cloud organization.
66
+ # @param [String] fields
67
+ # Selector specifying which fields to include in a partial response.
68
+ # @param [String] quota_user
69
+ # Available to use for quota purposes for server-side applications. Can be any
70
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
71
+ # @param [Google::Apis::RequestOptions] options
72
+ # Request-specific options
73
+ #
74
+ # @yield [result, err] Result & error if block supplied
75
+ # @yieldparam result [Google::Apis::LoggingV2::CmekSettings] parsed result object
76
+ # @yieldparam err [StandardError] error object if request failed
77
+ #
78
+ # @return [Google::Apis::LoggingV2::CmekSettings]
79
+ #
80
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
81
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
82
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
83
+ def get_billing_account_cmek_settings(name, fields: nil, quota_user: nil, options: nil, &block)
84
+ command = make_simple_command(:get, 'v2/{+name}/cmekSettings', options)
85
+ command.response_representation = Google::Apis::LoggingV2::CmekSettings::Representation
86
+ command.response_class = Google::Apis::LoggingV2::CmekSettings
87
+ command.params['name'] = name unless name.nil?
88
+ command.query['fields'] = fields unless fields.nil?
89
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
90
+ execute_or_queue_command(command, &block)
91
+ end
92
+
55
93
  # Gets a log bucket.
56
94
  # @param [String] name
57
95
  # Required. The resource name of the bucket: "projects/[PROJECT_ID]/locations/[
@@ -1571,6 +1609,47 @@ module Google
1571
1609
  execute_or_queue_command(command, &block)
1572
1610
  end
1573
1611
 
1612
+ # Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log
1613
+ # Router can be configured for Google Cloud projects, folders, organizations and
1614
+ # billing accounts. Once configured for an organization, it applies to all
1615
+ # projects and folders in the Google Cloud organization.See Enabling CMEK for
1616
+ # Logs Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
1617
+ # for more information.
1618
+ # @param [String] name
1619
+ # Required. The resource for which to retrieve CMEK settings. "projects/[
1620
+ # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
1621
+ # billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
1622
+ # cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
1623
+ # Log Router can be configured for Google Cloud projects, folders, organizations
1624
+ # and billing accounts. Once configured for an organization, it applies to all
1625
+ # projects and folders in the Google Cloud organization.
1626
+ # @param [String] fields
1627
+ # Selector specifying which fields to include in a partial response.
1628
+ # @param [String] quota_user
1629
+ # Available to use for quota purposes for server-side applications. Can be any
1630
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1631
+ # @param [Google::Apis::RequestOptions] options
1632
+ # Request-specific options
1633
+ #
1634
+ # @yield [result, err] Result & error if block supplied
1635
+ # @yieldparam result [Google::Apis::LoggingV2::CmekSettings] parsed result object
1636
+ # @yieldparam err [StandardError] error object if request failed
1637
+ #
1638
+ # @return [Google::Apis::LoggingV2::CmekSettings]
1639
+ #
1640
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1641
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1642
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1643
+ def get_folder_cmek_settings(name, fields: nil, quota_user: nil, options: nil, &block)
1644
+ command = make_simple_command(:get, 'v2/{+name}/cmekSettings', options)
1645
+ command.response_representation = Google::Apis::LoggingV2::CmekSettings::Representation
1646
+ command.response_class = Google::Apis::LoggingV2::CmekSettings
1647
+ command.params['name'] = name unless name.nil?
1648
+ command.query['fields'] = fields unless fields.nil?
1649
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1650
+ execute_or_queue_command(command, &block)
1651
+ end
1652
+
1574
1653
  # Creates a new exclusion in the _Default sink in a specified parent resource.
1575
1654
  # Only log entries belonging to that resource can be excluded. You can have up
1576
1655
  # to 10 exclusions in a resource.
@@ -3530,19 +3609,20 @@ module Google
3530
3609
  execute_or_queue_command(command, &block)
3531
3610
  end
3532
3611
 
3533
- # Gets the Logs Router CMEK settings for the given resource.Note: CMEK for the
3534
- # Logs Router can currently only be configured for Google Cloud organizations.
3535
- # Once configured, it applies to all projects and folders in the Google Cloud
3536
- # organization.See Enabling CMEK for Logs Router (https://cloud.google.com/
3537
- # logging/docs/routing/managed-encryption) for more information.
3612
+ # Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log
3613
+ # Router can be configured for Google Cloud projects, folders, organizations and
3614
+ # billing accounts. Once configured for an organization, it applies to all
3615
+ # projects and folders in the Google Cloud organization.See Enabling CMEK for
3616
+ # Logs Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
3617
+ # for more information.
3538
3618
  # @param [String] name
3539
3619
  # Required. The resource for which to retrieve CMEK settings. "projects/[
3540
3620
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
3541
3621
  # billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
3542
3622
  # cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
3543
- # Logs Router can currently only be configured for Google Cloud organizations.
3544
- # Once configured, it applies to all projects and folders in the Google Cloud
3545
- # organization.
3623
+ # Log Router can be configured for Google Cloud projects, folders, organizations
3624
+ # and billing accounts. Once configured for an organization, it applies to all
3625
+ # projects and folders in the Google Cloud organization.
3546
3626
  # @param [String] fields
3547
3627
  # Selector specifying which fields to include in a partial response.
3548
3628
  # @param [String] quota_user
@@ -3570,20 +3650,20 @@ module Google
3570
3650
  execute_or_queue_command(command, &block)
3571
3651
  end
3572
3652
 
3573
- # Updates the Logs Router CMEK settings for the given resource.Note: CMEK for
3574
- # the Logs Router can currently only be configured for Google Cloud
3575
- # organizations. Once configured, it applies to all projects and folders in the
3576
- # Google Cloud organization.UpdateCmekSettings will fail if 1) kms_key_name is
3577
- # invalid, or 2) the associated service account does not have the required roles/
3578
- # cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access
3579
- # to the key is disabled.See Enabling CMEK for Logs Router (https://cloud.google.
3580
- # com/logging/docs/routing/managed-encryption) for more information.
3653
+ # Updates the Log Router CMEK settings for the given resource.Note: CMEK for the
3654
+ # Log Router can currently only be configured for Google Cloud organizations.
3655
+ # Once configured, it applies to all projects and folders in the Google Cloud
3656
+ # organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or 2)
3657
+ # the associated service account does not have the required roles/cloudkms.
3658
+ # cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key
3659
+ # is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/
3660
+ # docs/routing/managed-encryption) for more information.
3581
3661
  # @param [String] name
3582
3662
  # Required. The resource name for the CMEK settings to update. "projects/[
3583
3663
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
3584
3664
  # billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
3585
3665
  # cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
3586
- # Logs Router can currently only be configured for Google Cloud organizations.
3666
+ # Log Router can currently only be configured for Google Cloud organizations.
3587
3667
  # Once configured, it applies to all projects and folders in the Google Cloud
3588
3668
  # organization.
3589
3669
  # @param [Google::Apis::LoggingV2::CmekSettings] cmek_settings_object
@@ -4820,6 +4900,47 @@ module Google
4820
4900
  execute_or_queue_command(command, &block)
4821
4901
  end
4822
4902
 
4903
+ # Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log
4904
+ # Router can be configured for Google Cloud projects, folders, organizations and
4905
+ # billing accounts. Once configured for an organization, it applies to all
4906
+ # projects and folders in the Google Cloud organization.See Enabling CMEK for
4907
+ # Logs Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
4908
+ # for more information.
4909
+ # @param [String] name
4910
+ # Required. The resource for which to retrieve CMEK settings. "projects/[
4911
+ # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
4912
+ # billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
4913
+ # cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
4914
+ # Log Router can be configured for Google Cloud projects, folders, organizations
4915
+ # and billing accounts. Once configured for an organization, it applies to all
4916
+ # projects and folders in the Google Cloud organization.
4917
+ # @param [String] fields
4918
+ # Selector specifying which fields to include in a partial response.
4919
+ # @param [String] quota_user
4920
+ # Available to use for quota purposes for server-side applications. Can be any
4921
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4922
+ # @param [Google::Apis::RequestOptions] options
4923
+ # Request-specific options
4924
+ #
4925
+ # @yield [result, err] Result & error if block supplied
4926
+ # @yieldparam result [Google::Apis::LoggingV2::CmekSettings] parsed result object
4927
+ # @yieldparam err [StandardError] error object if request failed
4928
+ #
4929
+ # @return [Google::Apis::LoggingV2::CmekSettings]
4930
+ #
4931
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4932
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4933
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4934
+ def get_project_cmek_settings(name, fields: nil, quota_user: nil, options: nil, &block)
4935
+ command = make_simple_command(:get, 'v2/{+name}/cmekSettings', options)
4936
+ command.response_representation = Google::Apis::LoggingV2::CmekSettings::Representation
4937
+ command.response_class = Google::Apis::LoggingV2::CmekSettings
4938
+ command.params['name'] = name unless name.nil?
4939
+ command.query['fields'] = fields unless fields.nil?
4940
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4941
+ execute_or_queue_command(command, &block)
4942
+ end
4943
+
4823
4944
  # Creates a new exclusion in the _Default sink in a specified parent resource.
4824
4945
  # Only log entries belonging to that resource can be excluded. You can have up
4825
4946
  # to 10 exclusions in a resource.
@@ -6413,19 +6534,20 @@ module Google
6413
6534
  execute_or_queue_command(command, &block)
6414
6535
  end
6415
6536
 
6416
- # Gets the Logs Router CMEK settings for the given resource.Note: CMEK for the
6417
- # Logs Router can currently only be configured for Google Cloud organizations.
6418
- # Once configured, it applies to all projects and folders in the Google Cloud
6419
- # organization.See Enabling CMEK for Logs Router (https://cloud.google.com/
6420
- # logging/docs/routing/managed-encryption) for more information.
6537
+ # Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log
6538
+ # Router can be configured for Google Cloud projects, folders, organizations and
6539
+ # billing accounts. Once configured for an organization, it applies to all
6540
+ # projects and folders in the Google Cloud organization.See Enabling CMEK for
6541
+ # Logs Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
6542
+ # for more information.
6421
6543
  # @param [String] name
6422
6544
  # Required. The resource for which to retrieve CMEK settings. "projects/[
6423
6545
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
6424
6546
  # billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
6425
6547
  # cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
6426
- # Logs Router can currently only be configured for Google Cloud organizations.
6427
- # Once configured, it applies to all projects and folders in the Google Cloud
6428
- # organization.
6548
+ # Log Router can be configured for Google Cloud projects, folders, organizations
6549
+ # and billing accounts. Once configured for an organization, it applies to all
6550
+ # projects and folders in the Google Cloud organization.
6429
6551
  # @param [String] fields
6430
6552
  # Selector specifying which fields to include in a partial response.
6431
6553
  # @param [String] quota_user
@@ -6453,20 +6575,20 @@ module Google
6453
6575
  execute_or_queue_command(command, &block)
6454
6576
  end
6455
6577
 
6456
- # Updates the Logs Router CMEK settings for the given resource.Note: CMEK for
6457
- # the Logs Router can currently only be configured for Google Cloud
6458
- # organizations. Once configured, it applies to all projects and folders in the
6459
- # Google Cloud organization.UpdateCmekSettings will fail if 1) kms_key_name is
6460
- # invalid, or 2) the associated service account does not have the required roles/
6461
- # cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access
6462
- # to the key is disabled.See Enabling CMEK for Logs Router (https://cloud.google.
6463
- # com/logging/docs/routing/managed-encryption) for more information.
6578
+ # Updates the Log Router CMEK settings for the given resource.Note: CMEK for the
6579
+ # Log Router can currently only be configured for Google Cloud organizations.
6580
+ # Once configured, it applies to all projects and folders in the Google Cloud
6581
+ # organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or 2)
6582
+ # the associated service account does not have the required roles/cloudkms.
6583
+ # cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key
6584
+ # is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/
6585
+ # docs/routing/managed-encryption) for more information.
6464
6586
  # @param [String] name
6465
6587
  # Required. The resource name for the CMEK settings to update. "projects/[
6466
6588
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
6467
6589
  # billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
6468
6590
  # cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
6469
- # Logs Router can currently only be configured for Google Cloud organizations.
6591
+ # Log Router can currently only be configured for Google Cloud organizations.
6470
6592
  # Once configured, it applies to all projects and folders in the Google Cloud
6471
6593
  # organization.
6472
6594
  # @param [Google::Apis::LoggingV2::CmekSettings] cmek_settings_object
@@ -21,10 +21,7 @@ module Google
21
21
  module Apis
22
22
  # Cloud Logging API
23
23
  #
24
- # Writes log entries and manages your Cloud Logging configuration. The table
25
- # entries below are presented in alphabetical order, not in order of common use.
26
- # For explanations of the concepts found in the table entries, read the
27
- # documentation at https://cloud.google.com/logging/docs.
24
+ # Writes log entries and manages your Cloud Logging configuration.
28
25
  #
29
26
  # @see https://cloud.google.com/logging/docs/
30
27
  module LoggingV2
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.17.0
4
+ version: 0.18.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: 2021-11-08 00:00:00.000000000 Z
11
+ date: 2021-12-06 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.18.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: []