google-apis-logging_v2 0.58.0 → 0.59.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: d2d44fb9844856ed0dc17ef6257e6e394b1f42136846d34d29b710283b47dff8
4
- data.tar.gz: 57f8bd0453171a7f9859d7de22b163021dc5eb29b6ecd7b5cc3c87a1fd315854
3
+ metadata.gz: 1def1b43a67a73d815c132797d4af9836a493a0afc2856b7e2ded9c5426188ac
4
+ data.tar.gz: 4572eee26037e4c4c10f5a9b91dacce9324fd9acdc9fe57c19c05cf53ba418af
5
5
  SHA512:
6
- metadata.gz: dd12a4ff37bd22f88efae4f8201b406892e2487f82e7700d93f6b68660799bd193fcc4cbe6a7f3c97d95aea626e78e60000afd001653752f0764adcc61b3f478
7
- data.tar.gz: 875ae3069cba6dcc6a1810714d2cd2e1951b295643d2ae022b00640c7e4d8731076113cf483b8961fb4e21f30d14dccd6b02548011b36256a0591d7df3ed0b8d
6
+ metadata.gz: 4ec75371f8d9f755bf2ae46fa1a297e5589f7a469fd31e56567fd43d93ce07316e0d75d8462ae99f36e4fb5948aa97af0023e66bdeda974497015c430fc2a321
7
+ data.tar.gz: 99a71832fb672a5b89b429bc490d0750fab30680f9936d74b649b2608b31f4a751e30809f9c67c76c4fe7da66ac1952d2109a260508a1b7ef6654fea6f04f0f2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.59.0 (2023-12-10)
4
+
5
+ * Regenerated from discovery document revision 20231130
6
+
3
7
  ### v0.58.0 (2023-11-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20231110
@@ -3109,8 +3109,8 @@ module Google
3109
3109
  end
3110
3110
  end
3111
3111
 
3112
- # Describes the settings associated with a project, folder, organization,
3113
- # billing account, or flexible resource.
3112
+ # Describes the settings associated with a project, folder, organization, or
3113
+ # billing account.
3114
3114
  class Settings
3115
3115
  include Google::Apis::Core::Hashable
3116
3116
 
@@ -3133,27 +3133,23 @@ module Google
3133
3133
  # Optional. The resource name for the configured Cloud KMS key.KMS key name
3134
3134
  # format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
3135
3135
  # cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/
3136
- # keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this
3137
- # field to a valid kms_key_name for which the associated service account has the
3138
- # required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.
3139
- # The Cloud KMS key used by the Log Router can be updated by changing the
3140
- # kms_key_name to a new valid key name. Encryption operations that are in
3141
- # progress will be completed with the key that was in use when they started.
3142
- # Decryption operations will be completed using the key that was used at the
3143
- # time of encryption unless access to that key has been revoked.To disable CMEK
3144
- # for the Log Router, set this field to an empty string.See Enabling CMEK for
3145
- # Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
3146
- # for more information.
3136
+ # keyRings/my-ring/cryptoKeys/my-key"To enable CMEK, set this field to a valid
3137
+ # kms_key_name for which the associated service account has the required roles/
3138
+ # cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The Cloud KMS
3139
+ # key used by the Log Router can be updated by changing the kms_key_name to a
3140
+ # new valid key name.To disable CMEK for the Log Router, set this field to an
3141
+ # empty string.See Enabling CMEK for Log Router (https://cloud.google.com/
3142
+ # logging/docs/routing/managed-encryption) for more information.
3147
3143
  # Corresponds to the JSON property `kmsKeyName`
3148
3144
  # @return [String]
3149
3145
  attr_accessor :kms_key_name
3150
3146
 
3151
3147
  # Output only. The service account that will be used by the Log Router to access
3152
- # your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign
3153
- # the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account
3154
- # that the Log Router will use to access your Cloud KMS key. Use GetSettings to
3155
- # obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.
3156
- # google.com/logging/docs/routing/managed-encryption) for more information.
3148
+ # your Cloud KMS key.Before enabling CMEK, you must first assign the role roles/
3149
+ # cloudkms.cryptoKeyEncrypterDecrypter to the service account that will be used
3150
+ # to access your Cloud KMS key. Use GetSettings to obtain the service account ID.
3151
+ # See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/
3152
+ # routing/managed-encryption) for more information.
3157
3153
  # Corresponds to the JSON property `kmsServiceAccountId`
3158
3154
  # @return [String]
3159
3155
  attr_accessor :kms_service_account_id
@@ -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.58.0"
19
+ GEM_VERSION = "0.59.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 = "20231110"
25
+ REVISION = "20231130"
26
26
  end
27
27
  end
28
28
  end
@@ -50,8 +50,8 @@ module Google
50
50
  end
51
51
 
52
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
53
+ # Router can be configured for Google Cloud projects, folders, organizations,
54
+ # and billing accounts. Once configured for an organization, it applies to all
55
55
  # projects and folders in the Google Cloud organization.See Enabling CMEK for
56
56
  # Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
57
57
  # for more information.
@@ -60,7 +60,7 @@ module Google
60
60
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
61
61
  # billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
62
62
  # cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
63
- # Log Router can be configured for Google Cloud projects, folders, organizations
63
+ # Log Router can be configured for Google Cloud projects, folders, organizations,
64
64
  # and billing accounts. Once configured for an organization, it applies to all
65
65
  # projects and folders in the Google Cloud organization.
66
66
  # @param [String] fields
@@ -90,21 +90,16 @@ module Google
90
90
  execute_or_queue_command(command, &block)
91
91
  end
92
92
 
93
- # Gets the Log Router settings for the given resource.Note: Settings for the Log
94
- # Router can be get for Google Cloud projects, folders, organizations and
95
- # billing accounts. Currently it can only be configured for organizations. Once
96
- # configured for an organization, it applies to all projects and folders in the
97
- # Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.
98
- # google.com/logging/docs/routing/managed-encryption) for more information.
93
+ # Gets the settings for the given resource.Note: Settings can be retrieved for
94
+ # Google Cloud projects, folders, organizations, and billing accounts.See View
95
+ # default resource settings for Logging (https://cloud.google.com/logging/docs/
96
+ # default-settings#view-org-settings) for more information.
99
97
  # @param [String] name
100
98
  # Required. The resource for which to retrieve settings. "projects/[PROJECT_ID]/
101
99
  # settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[
102
100
  # BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"
103
- # organizations/12345/settings"Note: Settings for the Log Router can be get for
104
- # Google Cloud projects, folders, organizations and billing accounts. Currently
105
- # it can only be configured for organizations. Once configured for an
106
- # organization, it applies to all projects and folders in the Google Cloud
107
- # organization.
101
+ # organizations/12345/settings"Note: Settings can be retrieved for Google Cloud
102
+ # projects, folders, organizations, and billing accounts.
108
103
  # @param [String] fields
109
104
  # Selector specifying which fields to include in a partial response.
110
105
  # @param [String] quota_user
@@ -2149,8 +2144,8 @@ module Google
2149
2144
  end
2150
2145
 
2151
2146
  # Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log
2152
- # Router can be configured for Google Cloud projects, folders, organizations and
2153
- # billing accounts. Once configured for an organization, it applies to all
2147
+ # Router can be configured for Google Cloud projects, folders, organizations,
2148
+ # and billing accounts. Once configured for an organization, it applies to all
2154
2149
  # projects and folders in the Google Cloud organization.See Enabling CMEK for
2155
2150
  # Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
2156
2151
  # for more information.
@@ -2159,7 +2154,7 @@ module Google
2159
2154
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
2160
2155
  # billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
2161
2156
  # cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
2162
- # Log Router can be configured for Google Cloud projects, folders, organizations
2157
+ # Log Router can be configured for Google Cloud projects, folders, organizations,
2163
2158
  # and billing accounts. Once configured for an organization, it applies to all
2164
2159
  # projects and folders in the Google Cloud organization.
2165
2160
  # @param [String] fields
@@ -2189,21 +2184,16 @@ module Google
2189
2184
  execute_or_queue_command(command, &block)
2190
2185
  end
2191
2186
 
2192
- # Gets the Log Router settings for the given resource.Note: Settings for the Log
2193
- # Router can be get for Google Cloud projects, folders, organizations and
2194
- # billing accounts. Currently it can only be configured for organizations. Once
2195
- # configured for an organization, it applies to all projects and folders in the
2196
- # Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.
2197
- # google.com/logging/docs/routing/managed-encryption) for more information.
2187
+ # Gets the settings for the given resource.Note: Settings can be retrieved for
2188
+ # Google Cloud projects, folders, organizations, and billing accounts.See View
2189
+ # default resource settings for Logging (https://cloud.google.com/logging/docs/
2190
+ # default-settings#view-org-settings) for more information.
2198
2191
  # @param [String] name
2199
2192
  # Required. The resource for which to retrieve settings. "projects/[PROJECT_ID]/
2200
2193
  # settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[
2201
2194
  # BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"
2202
- # organizations/12345/settings"Note: Settings for the Log Router can be get for
2203
- # Google Cloud projects, folders, organizations and billing accounts. Currently
2204
- # it can only be configured for organizations. Once configured for an
2205
- # organization, it applies to all projects and folders in the Google Cloud
2206
- # organization.
2195
+ # organizations/12345/settings"Note: Settings can be retrieved for Google Cloud
2196
+ # projects, folders, organizations, and billing accounts.
2207
2197
  # @param [String] fields
2208
2198
  # Selector specifying which fields to include in a partial response.
2209
2199
  # @param [String] quota_user
@@ -2231,21 +2221,18 @@ module Google
2231
2221
  execute_or_queue_command(command, &block)
2232
2222
  end
2233
2223
 
2234
- # Updates the Log Router settings for the given resource.Note: Settings for the
2235
- # Log Router can currently only be configured for Google Cloud organizations.
2236
- # Once configured, it applies to all projects and folders in the Google Cloud
2237
- # organization.UpdateSettings will fail if 1) kms_key_name is invalid, or 2) the
2238
- # associated service account does not have the required roles/cloudkms.
2239
- # cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key
2240
- # is disabled. 4) location_id is not supported by Logging. 5) location_id
2241
- # violate OrgPolicy.See Enabling CMEK for Log Router (https://cloud.google.com/
2242
- # logging/docs/routing/managed-encryption) for more information.
2224
+ # Updates the settings for the given resource. This method applies to all
2225
+ # feature configurations for organization and folders.UpdateSettings will fail
2226
+ # if 1) kms_key_name is invalid, 2) the associated service account does not have
2227
+ # the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the
2228
+ # key, 3) access to the key is disabled, 4) storage_location is not supported by
2229
+ # Logging, 5) storage_location violates the location OrgPolicy, or 6)
2230
+ # default_sink_config is set but has an unspecified filter write mode.See
2231
+ # Configure default settings for organizations and folders (https://cloud.google.
2232
+ # com/logging/docs/default-settings) for more information.
2243
2233
  # @param [String] name
2244
2234
  # Required. The resource name for the settings to update. "organizations/[
2245
- # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"Note:
2246
- # Settings for the Log Router can currently only be configured for Google Cloud
2247
- # organizations. Once configured, it applies to all projects and folders in the
2248
- # Google Cloud organization.
2235
+ # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
2249
2236
  # @param [Google::Apis::LoggingV2::Settings] settings_object
2250
2237
  # @param [String] update_mask
2251
2238
  # Optional. Field mask identifying which fields from settings should be updated.
@@ -4978,8 +4965,8 @@ module Google
4978
4965
  end
4979
4966
 
4980
4967
  # Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log
4981
- # Router can be configured for Google Cloud projects, folders, organizations and
4982
- # billing accounts. Once configured for an organization, it applies to all
4968
+ # Router can be configured for Google Cloud projects, folders, organizations,
4969
+ # and billing accounts. Once configured for an organization, it applies to all
4983
4970
  # projects and folders in the Google Cloud organization.See Enabling CMEK for
4984
4971
  # Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
4985
4972
  # for more information.
@@ -4988,7 +4975,7 @@ module Google
4988
4975
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
4989
4976
  # billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
4990
4977
  # cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
4991
- # Log Router can be configured for Google Cloud projects, folders, organizations
4978
+ # Log Router can be configured for Google Cloud projects, folders, organizations,
4992
4979
  # and billing accounts. Once configured for an organization, it applies to all
4993
4980
  # projects and folders in the Google Cloud organization.
4994
4981
  # @param [String] fields
@@ -5018,21 +5005,16 @@ module Google
5018
5005
  execute_or_queue_command(command, &block)
5019
5006
  end
5020
5007
 
5021
- # Gets the Log Router settings for the given resource.Note: Settings for the Log
5022
- # Router can be get for Google Cloud projects, folders, organizations and
5023
- # billing accounts. Currently it can only be configured for organizations. Once
5024
- # configured for an organization, it applies to all projects and folders in the
5025
- # Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.
5026
- # google.com/logging/docs/routing/managed-encryption) for more information.
5008
+ # Gets the settings for the given resource.Note: Settings can be retrieved for
5009
+ # Google Cloud projects, folders, organizations, and billing accounts.See View
5010
+ # default resource settings for Logging (https://cloud.google.com/logging/docs/
5011
+ # default-settings#view-org-settings) for more information.
5027
5012
  # @param [String] name
5028
5013
  # Required. The resource for which to retrieve settings. "projects/[PROJECT_ID]/
5029
5014
  # settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[
5030
5015
  # BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"
5031
- # organizations/12345/settings"Note: Settings for the Log Router can be get for
5032
- # Google Cloud projects, folders, organizations and billing accounts. Currently
5033
- # it can only be configured for organizations. Once configured for an
5034
- # organization, it applies to all projects and folders in the Google Cloud
5035
- # organization.
5016
+ # organizations/12345/settings"Note: Settings can be retrieved for Google Cloud
5017
+ # projects, folders, organizations, and billing accounts.
5036
5018
  # @param [String] fields
5037
5019
  # Selector specifying which fields to include in a partial response.
5038
5020
  # @param [String] quota_user
@@ -5112,21 +5094,18 @@ module Google
5112
5094
  execute_or_queue_command(command, &block)
5113
5095
  end
5114
5096
 
5115
- # Updates the Log Router settings for the given resource.Note: Settings for the
5116
- # Log Router can currently only be configured for Google Cloud organizations.
5117
- # Once configured, it applies to all projects and folders in the Google Cloud
5118
- # organization.UpdateSettings will fail if 1) kms_key_name is invalid, or 2) the
5119
- # associated service account does not have the required roles/cloudkms.
5120
- # cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key
5121
- # is disabled. 4) location_id is not supported by Logging. 5) location_id
5122
- # violate OrgPolicy.See Enabling CMEK for Log Router (https://cloud.google.com/
5123
- # logging/docs/routing/managed-encryption) for more information.
5097
+ # Updates the settings for the given resource. This method applies to all
5098
+ # feature configurations for organization and folders.UpdateSettings will fail
5099
+ # if 1) kms_key_name is invalid, 2) the associated service account does not have
5100
+ # the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the
5101
+ # key, 3) access to the key is disabled, 4) storage_location is not supported by
5102
+ # Logging, 5) storage_location violates the location OrgPolicy, or 6)
5103
+ # default_sink_config is set but has an unspecified filter write mode.See
5104
+ # Configure default settings for organizations and folders (https://cloud.google.
5105
+ # com/logging/docs/default-settings) for more information.
5124
5106
  # @param [String] name
5125
5107
  # Required. The resource name for the settings to update. "organizations/[
5126
- # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"Note:
5127
- # Settings for the Log Router can currently only be configured for Google Cloud
5128
- # organizations. Once configured, it applies to all projects and folders in the
5129
- # Google Cloud organization.
5108
+ # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
5130
5109
  # @param [Google::Apis::LoggingV2::Settings] settings_object
5131
5110
  # @param [String] update_mask
5132
5111
  # Optional. Field mask identifying which fields from settings should be updated.
@@ -6858,8 +6837,8 @@ module Google
6858
6837
  end
6859
6838
 
6860
6839
  # Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log
6861
- # Router can be configured for Google Cloud projects, folders, organizations and
6862
- # billing accounts. Once configured for an organization, it applies to all
6840
+ # Router can be configured for Google Cloud projects, folders, organizations,
6841
+ # and billing accounts. Once configured for an organization, it applies to all
6863
6842
  # projects and folders in the Google Cloud organization.See Enabling CMEK for
6864
6843
  # Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
6865
6844
  # for more information.
@@ -6868,7 +6847,7 @@ module Google
6868
6847
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
6869
6848
  # billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
6870
6849
  # cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
6871
- # Log Router can be configured for Google Cloud projects, folders, organizations
6850
+ # Log Router can be configured for Google Cloud projects, folders, organizations,
6872
6851
  # and billing accounts. Once configured for an organization, it applies to all
6873
6852
  # projects and folders in the Google Cloud organization.
6874
6853
  # @param [String] fields
@@ -6898,21 +6877,16 @@ module Google
6898
6877
  execute_or_queue_command(command, &block)
6899
6878
  end
6900
6879
 
6901
- # Gets the Log Router settings for the given resource.Note: Settings for the Log
6902
- # Router can be get for Google Cloud projects, folders, organizations and
6903
- # billing accounts. Currently it can only be configured for organizations. Once
6904
- # configured for an organization, it applies to all projects and folders in the
6905
- # Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.
6906
- # google.com/logging/docs/routing/managed-encryption) for more information.
6880
+ # Gets the settings for the given resource.Note: Settings can be retrieved for
6881
+ # Google Cloud projects, folders, organizations, and billing accounts.See View
6882
+ # default resource settings for Logging (https://cloud.google.com/logging/docs/
6883
+ # default-settings#view-org-settings) for more information.
6907
6884
  # @param [String] name
6908
6885
  # Required. The resource for which to retrieve settings. "projects/[PROJECT_ID]/
6909
6886
  # settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[
6910
6887
  # BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"
6911
- # organizations/12345/settings"Note: Settings for the Log Router can be get for
6912
- # Google Cloud projects, folders, organizations and billing accounts. Currently
6913
- # it can only be configured for organizations. Once configured for an
6914
- # organization, it applies to all projects and folders in the Google Cloud
6915
- # organization.
6888
+ # organizations/12345/settings"Note: Settings can be retrieved for Google Cloud
6889
+ # projects, folders, organizations, and billing accounts.
6916
6890
  # @param [String] fields
6917
6891
  # Selector specifying which fields to include in a partial response.
6918
6892
  # @param [String] quota_user
@@ -9046,8 +9020,8 @@ module Google
9046
9020
  end
9047
9021
 
9048
9022
  # Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log
9049
- # Router can be configured for Google Cloud projects, folders, organizations and
9050
- # billing accounts. Once configured for an organization, it applies to all
9023
+ # Router can be configured for Google Cloud projects, folders, organizations,
9024
+ # and billing accounts. Once configured for an organization, it applies to all
9051
9025
  # projects and folders in the Google Cloud organization.See Enabling CMEK for
9052
9026
  # Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
9053
9027
  # for more information.
@@ -9056,7 +9030,7 @@ module Google
9056
9030
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
9057
9031
  # billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
9058
9032
  # cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
9059
- # Log Router can be configured for Google Cloud projects, folders, organizations
9033
+ # Log Router can be configured for Google Cloud projects, folders, organizations,
9060
9034
  # and billing accounts. Once configured for an organization, it applies to all
9061
9035
  # projects and folders in the Google Cloud organization.
9062
9036
  # @param [String] fields
@@ -9086,21 +9060,16 @@ module Google
9086
9060
  execute_or_queue_command(command, &block)
9087
9061
  end
9088
9062
 
9089
- # Gets the Log Router settings for the given resource.Note: Settings for the Log
9090
- # Router can be get for Google Cloud projects, folders, organizations and
9091
- # billing accounts. Currently it can only be configured for organizations. Once
9092
- # configured for an organization, it applies to all projects and folders in the
9093
- # Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.
9094
- # google.com/logging/docs/routing/managed-encryption) for more information.
9063
+ # Gets the settings for the given resource.Note: Settings can be retrieved for
9064
+ # Google Cloud projects, folders, organizations, and billing accounts.See View
9065
+ # default resource settings for Logging (https://cloud.google.com/logging/docs/
9066
+ # default-settings#view-org-settings) for more information.
9095
9067
  # @param [String] name
9096
9068
  # Required. The resource for which to retrieve settings. "projects/[PROJECT_ID]/
9097
9069
  # settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[
9098
9070
  # BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"
9099
- # organizations/12345/settings"Note: Settings for the Log Router can be get for
9100
- # Google Cloud projects, folders, organizations and billing accounts. Currently
9101
- # it can only be configured for organizations. Once configured for an
9102
- # organization, it applies to all projects and folders in the Google Cloud
9103
- # organization.
9071
+ # organizations/12345/settings"Note: Settings can be retrieved for Google Cloud
9072
+ # projects, folders, organizations, and billing accounts.
9104
9073
  # @param [String] fields
9105
9074
  # Selector specifying which fields to include in a partial response.
9106
9075
  # @param [String] quota_user
@@ -9180,21 +9149,18 @@ module Google
9180
9149
  execute_or_queue_command(command, &block)
9181
9150
  end
9182
9151
 
9183
- # Updates the Log Router settings for the given resource.Note: Settings for the
9184
- # Log Router can currently only be configured for Google Cloud organizations.
9185
- # Once configured, it applies to all projects and folders in the Google Cloud
9186
- # organization.UpdateSettings will fail if 1) kms_key_name is invalid, or 2) the
9187
- # associated service account does not have the required roles/cloudkms.
9188
- # cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key
9189
- # is disabled. 4) location_id is not supported by Logging. 5) location_id
9190
- # violate OrgPolicy.See Enabling CMEK for Log Router (https://cloud.google.com/
9191
- # logging/docs/routing/managed-encryption) for more information.
9152
+ # Updates the settings for the given resource. This method applies to all
9153
+ # feature configurations for organization and folders.UpdateSettings will fail
9154
+ # if 1) kms_key_name is invalid, 2) the associated service account does not have
9155
+ # the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the
9156
+ # key, 3) access to the key is disabled, 4) storage_location is not supported by
9157
+ # Logging, 5) storage_location violates the location OrgPolicy, or 6)
9158
+ # default_sink_config is set but has an unspecified filter write mode.See
9159
+ # Configure default settings for organizations and folders (https://cloud.google.
9160
+ # com/logging/docs/default-settings) for more information.
9192
9161
  # @param [String] name
9193
9162
  # Required. The resource name for the settings to update. "organizations/[
9194
- # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"Note:
9195
- # Settings for the Log Router can currently only be configured for Google Cloud
9196
- # organizations. Once configured, it applies to all projects and folders in the
9197
- # Google Cloud organization.
9163
+ # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
9198
9164
  # @param [Google::Apis::LoggingV2::Settings] settings_object
9199
9165
  # @param [String] update_mask
9200
9166
  # Optional. Field mask identifying which fields from settings should be updated.
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.58.0
4
+ version: 0.59.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-19 00:00:00.000000000 Z
11
+ date: 2023-12-10 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.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.59.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: []