google-apis-logging_v2 0.58.0 → 0.60.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/logging_v2/classes.rb +39 -41
- data/lib/google/apis/logging_v2/gem_version.rb +2 -2
- data/lib/google/apis/logging_v2/service.rb +157 -174
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c411b0bd624fdbb70c31149350c6f6e73c1a4660e3097c93e8809e182a7b44b4
|
4
|
+
data.tar.gz: 58cf630483b052fd886af5c5b0ea3201206c2131bae0cee887ce25eef4a76766
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 287320be3df3c943eee06df13f4a2b42b3c615bad39c39cb2cd438c3f57a77abb34234efe067bdab77f01d665ce732c3699fd1c4e5125195a82d13ee1945f1a5
|
7
|
+
data.tar.gz: 522d94f94a372ffd9d14ce28a0ace576664a8db2df71961e56ced985109ea92b6ceb497ca1fe7ff55db18b23099935fb410d7effb1e5c0403eeae2f0ec8a5c1e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-logging_v2
|
2
2
|
|
3
|
+
### v0.60.0 (2023-12-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231210
|
6
|
+
|
7
|
+
### v0.59.0 (2023-12-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231130
|
10
|
+
|
3
11
|
### v0.58.0 (2023-11-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231110
|
@@ -460,9 +460,9 @@ module Google
|
|
460
460
|
# Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/
|
461
461
|
# advanced-queries). The only exported log entries are those that are in the
|
462
462
|
# resource owning the sink and that match the filter.For example:logName="
|
463
|
-
# projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=
|
464
|
-
#
|
465
|
-
#
|
463
|
+
# projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERRORTo match all logs, don'
|
464
|
+
# t add exclusions and use the following line as the value of filter:logName:*
|
465
|
+
# Cannot be empty or unset when the value of mode is OVERWRITE.
|
466
466
|
# Corresponds to the JSON property `filter`
|
467
467
|
# @return [String]
|
468
468
|
attr_accessor :filter
|
@@ -1834,11 +1834,11 @@ module Google
|
|
1834
1834
|
include Google::Apis::Core::Hashable
|
1835
1835
|
|
1836
1836
|
# The id is a unique identifier for a particular error group; it is the last
|
1837
|
-
# part of the error group resource name: /
|
1838
|
-
# COShysOX0r_51QE The id is derived from key parts of
|
1839
|
-
# is treated as Service Data. For information about
|
1840
|
-
# see Google Cloud Privacy Notice (https://cloud.
|
1841
|
-
# notice).
|
1837
|
+
# part of the error group resource name: /project/[PROJECT_ID]/errors/[
|
1838
|
+
# ERROR_GROUP_ID]. Example: COShysOX0r_51QE. The id is derived from key parts of
|
1839
|
+
# the error-log content and is treated as Service Data. For information about
|
1840
|
+
# how Service Data is handled, see Google Cloud Privacy Notice (https://cloud.
|
1841
|
+
# google.com/terms/cloud-privacy-notice).
|
1842
1842
|
# Corresponds to the JSON property `id`
|
1843
1843
|
# @return [String]
|
1844
1844
|
attr_accessor :id
|
@@ -2101,8 +2101,8 @@ module Google
|
|
2101
2101
|
end
|
2102
2102
|
|
2103
2103
|
# Describes a sink used to export log entries to one of the following
|
2104
|
-
# destinations
|
2105
|
-
# Sub topic
|
2104
|
+
# destinations: a Cloud Logging log bucket, a Cloud Storage bucket, a BigQuery
|
2105
|
+
# dataset, a Pub/Sub topic, a Cloud project.A logs filter controls which log
|
2106
2106
|
# entries are exported. The sink must be created within a project, organization,
|
2107
2107
|
# billing account, or folder.
|
2108
2108
|
class LogSink
|
@@ -2177,10 +2177,10 @@ module Google
|
|
2177
2177
|
alias_method :include_children?, :include_children
|
2178
2178
|
|
2179
2179
|
# Required. The client-assigned sink identifier, unique within the project.For
|
2180
|
-
# example: "my-syslog-errors-to-pubsub".
|
2180
|
+
# example: "my-syslog-errors-to-pubsub".Sink identifiers are limited to 100
|
2181
2181
|
# characters and can include only the following characters: upper and lower-case
|
2182
|
-
# alphanumeric characters, underscores, hyphens,
|
2183
|
-
#
|
2182
|
+
# alphanumeric characters, underscores, hyphens, periods.First character has to
|
2183
|
+
# be alphanumeric.
|
2184
2184
|
# Corresponds to the JSON property `name`
|
2185
2185
|
# @return [String]
|
2186
2186
|
attr_accessor :name
|
@@ -2284,10 +2284,13 @@ module Google
|
|
2284
2284
|
attr_accessor :description
|
2285
2285
|
|
2286
2286
|
# Filter that restricts which log entries in a bucket are visible in this view.
|
2287
|
-
# Filters
|
2288
|
-
#
|
2289
|
-
#
|
2290
|
-
#
|
2287
|
+
# Filters must be logical conjunctions that use the AND operator, and they can
|
2288
|
+
# use any of the following qualifiers: SOURCE(), which specifies a project,
|
2289
|
+
# folder, organization, or billing account of origin. resource.type, which
|
2290
|
+
# specifies the resource type. LOG_ID(), which identifies the log.They can also
|
2291
|
+
# use the negations of these qualifiers with the NOT operator.For example:SOURCE(
|
2292
|
+
# "projects/myproject") AND resource.type = "gce_instance" AND NOT LOG_ID("
|
2293
|
+
# stdout")
|
2291
2294
|
# Corresponds to the JSON property `filter`
|
2292
2295
|
# @return [String]
|
2293
2296
|
attr_accessor :filter
|
@@ -3109,8 +3112,8 @@ module Google
|
|
3109
3112
|
end
|
3110
3113
|
end
|
3111
3114
|
|
3112
|
-
# Describes the settings associated with a project, folder, organization,
|
3113
|
-
# billing account
|
3115
|
+
# Describes the settings associated with a project, folder, organization, or
|
3116
|
+
# billing account.
|
3114
3117
|
class Settings
|
3115
3118
|
include Google::Apis::Core::Hashable
|
3116
3119
|
|
@@ -3133,27 +3136,23 @@ module Google
|
|
3133
3136
|
# Optional. The resource name for the configured Cloud KMS key.KMS key name
|
3134
3137
|
# format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
|
3135
3138
|
# cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/
|
3136
|
-
# keyRings/my-ring/cryptoKeys/my-key"To enable CMEK
|
3137
|
-
#
|
3138
|
-
#
|
3139
|
-
#
|
3140
|
-
#
|
3141
|
-
#
|
3142
|
-
#
|
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.
|
3139
|
+
# keyRings/my-ring/cryptoKeys/my-key"To enable CMEK, set this field to a valid
|
3140
|
+
# kms_key_name for which the associated service account has the required roles/
|
3141
|
+
# cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The Cloud KMS
|
3142
|
+
# key used by the Log Router can be updated by changing the kms_key_name to a
|
3143
|
+
# new valid key name.To disable CMEK for the Log Router, set this field to an
|
3144
|
+
# empty string.See Enabling CMEK for Log Router (https://cloud.google.com/
|
3145
|
+
# logging/docs/routing/managed-encryption) for more information.
|
3147
3146
|
# Corresponds to the JSON property `kmsKeyName`
|
3148
3147
|
# @return [String]
|
3149
3148
|
attr_accessor :kms_key_name
|
3150
3149
|
|
3151
3150
|
# Output only. The service account that will be used by the Log Router to access
|
3152
|
-
# your Cloud KMS key.Before enabling CMEK
|
3153
|
-
#
|
3154
|
-
#
|
3155
|
-
#
|
3156
|
-
#
|
3151
|
+
# your Cloud KMS key.Before enabling CMEK, you must first assign the role roles/
|
3152
|
+
# cloudkms.cryptoKeyEncrypterDecrypter to the service account that will be used
|
3153
|
+
# to access your Cloud KMS key. Use GetSettings to obtain the service account ID.
|
3154
|
+
# See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/
|
3155
|
+
# routing/managed-encryption) for more information.
|
3157
3156
|
# Corresponds to the JSON property `kmsServiceAccountId`
|
3158
3157
|
# @return [String]
|
3159
3158
|
attr_accessor :kms_service_account_id
|
@@ -3171,12 +3170,11 @@ module Google
|
|
3171
3170
|
# @return [String]
|
3172
3171
|
attr_accessor :name
|
3173
3172
|
|
3174
|
-
# Optional. The storage location
|
3175
|
-
#
|
3176
|
-
#
|
3177
|
-
#
|
3178
|
-
#
|
3179
|
-
# created, such as custom log buckets.
|
3173
|
+
# Optional. The storage location for the _Default and _Required log buckets of
|
3174
|
+
# newly created projects and folders, unless the storage location is explicitly
|
3175
|
+
# provided.Example value: europe-west1.Note: this setting does not affect the
|
3176
|
+
# location of resources where a location is explicitly provided when created,
|
3177
|
+
# such as custom log buckets.
|
3180
3178
|
# Corresponds to the JSON property `storageLocation`
|
3181
3179
|
# @return [String]
|
3182
3180
|
attr_accessor :storage_location
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.60.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 = "
|
25
|
+
REVISION = "20231210"
|
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
|
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
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
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
|
104
|
-
#
|
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
|
@@ -1040,10 +1035,11 @@ module Google
|
|
1040
1035
|
execute_or_queue_command(command, &block)
|
1041
1036
|
end
|
1042
1037
|
|
1043
|
-
# Updates a view on a log bucket. This method replaces the
|
1044
|
-
# the existing view with
|
1045
|
-
# error is returned, this indicates that system is not in a
|
1046
|
-
# update the view. If this occurs, please try again in a few
|
1038
|
+
# Updates a view on a log bucket. This method replaces the value of the filter
|
1039
|
+
# field from the existing view with the corresponding value from the new view.
|
1040
|
+
# If an UNAVAILABLE error is returned, this indicates that system is not in a
|
1041
|
+
# state where it can update the view. If this occurs, please try again in a few
|
1042
|
+
# minutes.
|
1047
1043
|
# @param [String] name
|
1048
1044
|
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
|
1049
1045
|
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
|
@@ -1312,8 +1308,8 @@ module Google
|
|
1312
1308
|
# component of the saved query's resource name.If the saved_query_id is not
|
1313
1309
|
# provided, the system will generate an alphanumeric ID.The saved_query_id is
|
1314
1310
|
# limited to 100 characters and can include only the following characters: upper
|
1315
|
-
# and lower-case alphanumeric characters, underscores, hyphens,
|
1316
|
-
#
|
1311
|
+
# and lower-case alphanumeric characters, underscores, hyphens, periods.First
|
1312
|
+
# character has to be alphanumeric.
|
1317
1313
|
# @param [String] fields
|
1318
1314
|
# Selector specifying which fields to include in a partial response.
|
1319
1315
|
# @param [String] quota_user
|
@@ -1690,9 +1686,10 @@ module Google
|
|
1690
1686
|
execute_or_queue_command(command, &block)
|
1691
1687
|
end
|
1692
1688
|
|
1693
|
-
# Updates a sink. This method replaces the
|
1694
|
-
# with values from the new sink
|
1695
|
-
# also have a new writer_identity; see the
|
1689
|
+
# Updates a sink. This method replaces the values of the destination and filter
|
1690
|
+
# fields of the existing sink with the corresponding values from the new sink.
|
1691
|
+
# The updated sink might also have a new writer_identity; see the
|
1692
|
+
# unique_writer_identity field.
|
1696
1693
|
# @param [String] sink_name
|
1697
1694
|
# Required. The full resource name of the sink to update, including the parent
|
1698
1695
|
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
@@ -1758,9 +1755,10 @@ module Google
|
|
1758
1755
|
execute_or_queue_command(command, &block)
|
1759
1756
|
end
|
1760
1757
|
|
1761
|
-
# Updates a sink. This method replaces the
|
1762
|
-
# with values from the new sink
|
1763
|
-
# also have a new writer_identity; see the
|
1758
|
+
# Updates a sink. This method replaces the values of the destination and filter
|
1759
|
+
# fields of the existing sink with the corresponding values from the new sink.
|
1760
|
+
# The updated sink might also have a new writer_identity; see the
|
1761
|
+
# unique_writer_identity field.
|
1764
1762
|
# @param [String] sink_name
|
1765
1763
|
# Required. The full resource name of the sink to update, including the parent
|
1766
1764
|
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
@@ -2149,8 +2147,8 @@ module Google
|
|
2149
2147
|
end
|
2150
2148
|
|
2151
2149
|
# 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
|
2153
|
-
# billing accounts. Once configured for an organization, it applies to all
|
2150
|
+
# Router can be configured for Google Cloud projects, folders, organizations,
|
2151
|
+
# and billing accounts. Once configured for an organization, it applies to all
|
2154
2152
|
# projects and folders in the Google Cloud organization.See Enabling CMEK for
|
2155
2153
|
# Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
|
2156
2154
|
# for more information.
|
@@ -2159,7 +2157,7 @@ module Google
|
|
2159
2157
|
# PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
|
2160
2158
|
# billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
|
2161
2159
|
# cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
|
2162
|
-
# Log Router can be configured for Google Cloud projects, folders, organizations
|
2160
|
+
# Log Router can be configured for Google Cloud projects, folders, organizations,
|
2163
2161
|
# and billing accounts. Once configured for an organization, it applies to all
|
2164
2162
|
# projects and folders in the Google Cloud organization.
|
2165
2163
|
# @param [String] fields
|
@@ -2189,21 +2187,16 @@ module Google
|
|
2189
2187
|
execute_or_queue_command(command, &block)
|
2190
2188
|
end
|
2191
2189
|
|
2192
|
-
# Gets the
|
2193
|
-
#
|
2194
|
-
#
|
2195
|
-
#
|
2196
|
-
# Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.
|
2197
|
-
# google.com/logging/docs/routing/managed-encryption) for more information.
|
2190
|
+
# Gets the settings for the given resource.Note: Settings can be retrieved for
|
2191
|
+
# Google Cloud projects, folders, organizations, and billing accounts.See View
|
2192
|
+
# default resource settings for Logging (https://cloud.google.com/logging/docs/
|
2193
|
+
# default-settings#view-org-settings) for more information.
|
2198
2194
|
# @param [String] name
|
2199
2195
|
# Required. The resource for which to retrieve settings. "projects/[PROJECT_ID]/
|
2200
2196
|
# settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[
|
2201
2197
|
# BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"
|
2202
|
-
# organizations/12345/settings"Note: Settings
|
2203
|
-
#
|
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.
|
2198
|
+
# organizations/12345/settings"Note: Settings can be retrieved for Google Cloud
|
2199
|
+
# projects, folders, organizations, and billing accounts.
|
2207
2200
|
# @param [String] fields
|
2208
2201
|
# Selector specifying which fields to include in a partial response.
|
2209
2202
|
# @param [String] quota_user
|
@@ -2231,21 +2224,19 @@ module Google
|
|
2231
2224
|
execute_or_queue_command(command, &block)
|
2232
2225
|
end
|
2233
2226
|
|
2234
|
-
# Updates the
|
2235
|
-
#
|
2236
|
-
#
|
2237
|
-
#
|
2238
|
-
#
|
2239
|
-
#
|
2240
|
-
#
|
2241
|
-
#
|
2242
|
-
# logging/docs/
|
2227
|
+
# Updates the settings for the given resource. This method applies to all
|
2228
|
+
# feature configurations for organization and folders.UpdateSettings fails when
|
2229
|
+
# any of the following are true: The value of storage_location either isn't
|
2230
|
+
# supported by Logging or violates the location OrgPolicy. The
|
2231
|
+
# default_sink_config field is set, but it has an unspecified filter write mode.
|
2232
|
+
# The value of kms_key_name is invalid. The associated service account doesn't
|
2233
|
+
# have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for
|
2234
|
+
# the key. Access to the key is disabled.See Configure default settings for
|
2235
|
+
# organizations and folders (https://cloud.google.com/logging/docs/default-
|
2236
|
+
# settings) for more information.
|
2243
2237
|
# @param [String] name
|
2244
2238
|
# Required. The resource name for the settings to update. "organizations/[
|
2245
|
-
# ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
|
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.
|
2239
|
+
# ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
|
2249
2240
|
# @param [Google::Apis::LoggingV2::Settings] settings_object
|
2250
2241
|
# @param [String] update_mask
|
2251
2242
|
# Optional. Field mask identifying which fields from settings should be updated.
|
@@ -3190,10 +3181,11 @@ module Google
|
|
3190
3181
|
execute_or_queue_command(command, &block)
|
3191
3182
|
end
|
3192
3183
|
|
3193
|
-
# Updates a view on a log bucket. This method replaces the
|
3194
|
-
# the existing view with
|
3195
|
-
# error is returned, this indicates that system is not in a
|
3196
|
-
# update the view. If this occurs, please try again in a few
|
3184
|
+
# Updates a view on a log bucket. This method replaces the value of the filter
|
3185
|
+
# field from the existing view with the corresponding value from the new view.
|
3186
|
+
# If an UNAVAILABLE error is returned, this indicates that system is not in a
|
3187
|
+
# state where it can update the view. If this occurs, please try again in a few
|
3188
|
+
# minutes.
|
3197
3189
|
# @param [String] name
|
3198
3190
|
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
|
3199
3191
|
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
|
@@ -3462,8 +3454,8 @@ module Google
|
|
3462
3454
|
# component of the saved query's resource name.If the saved_query_id is not
|
3463
3455
|
# provided, the system will generate an alphanumeric ID.The saved_query_id is
|
3464
3456
|
# limited to 100 characters and can include only the following characters: upper
|
3465
|
-
# and lower-case alphanumeric characters, underscores, hyphens,
|
3466
|
-
#
|
3457
|
+
# and lower-case alphanumeric characters, underscores, hyphens, periods.First
|
3458
|
+
# character has to be alphanumeric.
|
3467
3459
|
# @param [String] fields
|
3468
3460
|
# Selector specifying which fields to include in a partial response.
|
3469
3461
|
# @param [String] quota_user
|
@@ -3840,9 +3832,10 @@ module Google
|
|
3840
3832
|
execute_or_queue_command(command, &block)
|
3841
3833
|
end
|
3842
3834
|
|
3843
|
-
# Updates a sink. This method replaces the
|
3844
|
-
# with values from the new sink
|
3845
|
-
# also have a new writer_identity; see the
|
3835
|
+
# Updates a sink. This method replaces the values of the destination and filter
|
3836
|
+
# fields of the existing sink with the corresponding values from the new sink.
|
3837
|
+
# The updated sink might also have a new writer_identity; see the
|
3838
|
+
# unique_writer_identity field.
|
3846
3839
|
# @param [String] sink_name
|
3847
3840
|
# Required. The full resource name of the sink to update, including the parent
|
3848
3841
|
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
@@ -3908,9 +3901,10 @@ module Google
|
|
3908
3901
|
execute_or_queue_command(command, &block)
|
3909
3902
|
end
|
3910
3903
|
|
3911
|
-
# Updates a sink. This method replaces the
|
3912
|
-
# with values from the new sink
|
3913
|
-
# also have a new writer_identity; see the
|
3904
|
+
# Updates a sink. This method replaces the values of the destination and filter
|
3905
|
+
# fields of the existing sink with the corresponding values from the new sink.
|
3906
|
+
# The updated sink might also have a new writer_identity; see the
|
3907
|
+
# unique_writer_identity field.
|
3914
3908
|
# @param [String] sink_name
|
3915
3909
|
# Required. The full resource name of the sink to update, including the parent
|
3916
3910
|
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
@@ -4690,10 +4684,11 @@ module Google
|
|
4690
4684
|
execute_or_queue_command(command, &block)
|
4691
4685
|
end
|
4692
4686
|
|
4693
|
-
# Updates a view on a log bucket. This method replaces the
|
4694
|
-
# the existing view with
|
4695
|
-
# error is returned, this indicates that system is not in a
|
4696
|
-
# update the view. If this occurs, please try again in a few
|
4687
|
+
# Updates a view on a log bucket. This method replaces the value of the filter
|
4688
|
+
# field from the existing view with the corresponding value from the new view.
|
4689
|
+
# If an UNAVAILABLE error is returned, this indicates that system is not in a
|
4690
|
+
# state where it can update the view. If this occurs, please try again in a few
|
4691
|
+
# minutes.
|
4697
4692
|
# @param [String] name
|
4698
4693
|
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
|
4699
4694
|
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
|
@@ -4978,8 +4973,8 @@ module Google
|
|
4978
4973
|
end
|
4979
4974
|
|
4980
4975
|
# 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
|
4982
|
-
# billing accounts. Once configured for an organization, it applies to all
|
4976
|
+
# Router can be configured for Google Cloud projects, folders, organizations,
|
4977
|
+
# and billing accounts. Once configured for an organization, it applies to all
|
4983
4978
|
# projects and folders in the Google Cloud organization.See Enabling CMEK for
|
4984
4979
|
# Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
|
4985
4980
|
# for more information.
|
@@ -4988,7 +4983,7 @@ module Google
|
|
4988
4983
|
# PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
|
4989
4984
|
# billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
|
4990
4985
|
# cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
|
4991
|
-
# Log Router can be configured for Google Cloud projects, folders, organizations
|
4986
|
+
# Log Router can be configured for Google Cloud projects, folders, organizations,
|
4992
4987
|
# and billing accounts. Once configured for an organization, it applies to all
|
4993
4988
|
# projects and folders in the Google Cloud organization.
|
4994
4989
|
# @param [String] fields
|
@@ -5018,21 +5013,16 @@ module Google
|
|
5018
5013
|
execute_or_queue_command(command, &block)
|
5019
5014
|
end
|
5020
5015
|
|
5021
|
-
# Gets the
|
5022
|
-
#
|
5023
|
-
#
|
5024
|
-
#
|
5025
|
-
# Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.
|
5026
|
-
# google.com/logging/docs/routing/managed-encryption) for more information.
|
5016
|
+
# Gets the settings for the given resource.Note: Settings can be retrieved for
|
5017
|
+
# Google Cloud projects, folders, organizations, and billing accounts.See View
|
5018
|
+
# default resource settings for Logging (https://cloud.google.com/logging/docs/
|
5019
|
+
# default-settings#view-org-settings) for more information.
|
5027
5020
|
# @param [String] name
|
5028
5021
|
# Required. The resource for which to retrieve settings. "projects/[PROJECT_ID]/
|
5029
5022
|
# settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[
|
5030
5023
|
# BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"
|
5031
|
-
# organizations/12345/settings"Note: Settings
|
5032
|
-
#
|
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.
|
5024
|
+
# organizations/12345/settings"Note: Settings can be retrieved for Google Cloud
|
5025
|
+
# projects, folders, organizations, and billing accounts.
|
5036
5026
|
# @param [String] fields
|
5037
5027
|
# Selector specifying which fields to include in a partial response.
|
5038
5028
|
# @param [String] quota_user
|
@@ -5063,11 +5053,11 @@ module Google
|
|
5063
5053
|
# Updates the Log Router CMEK settings for the given resource.Note: CMEK for the
|
5064
5054
|
# Log Router can currently only be configured for Google Cloud organizations.
|
5065
5055
|
# Once configured, it applies to all projects and folders in the Google Cloud
|
5066
|
-
# organization.UpdateCmekSettings
|
5067
|
-
#
|
5068
|
-
# cryptoKeyEncrypterDecrypter role assigned for the
|
5069
|
-
# is disabled.See Enabling CMEK for Log Router (https://
|
5070
|
-
# docs/routing/managed-encryption) for more information.
|
5056
|
+
# organization.UpdateCmekSettings fails when any of the following are true: The
|
5057
|
+
# value of kms_key_name is invalid. The associated service account doesn't have
|
5058
|
+
# the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the
|
5059
|
+
# key. Access to the key is disabled.See Enabling CMEK for Log Router (https://
|
5060
|
+
# cloud.google.com/logging/docs/routing/managed-encryption) for more information.
|
5071
5061
|
# @param [String] name
|
5072
5062
|
# Required. The resource name for the CMEK settings to update. "projects/[
|
5073
5063
|
# PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
|
@@ -5112,21 +5102,19 @@ module Google
|
|
5112
5102
|
execute_or_queue_command(command, &block)
|
5113
5103
|
end
|
5114
5104
|
|
5115
|
-
# Updates the
|
5116
|
-
#
|
5117
|
-
#
|
5118
|
-
#
|
5119
|
-
#
|
5120
|
-
#
|
5121
|
-
#
|
5122
|
-
#
|
5123
|
-
# logging/docs/
|
5105
|
+
# Updates the settings for the given resource. This method applies to all
|
5106
|
+
# feature configurations for organization and folders.UpdateSettings fails when
|
5107
|
+
# any of the following are true: The value of storage_location either isn't
|
5108
|
+
# supported by Logging or violates the location OrgPolicy. The
|
5109
|
+
# default_sink_config field is set, but it has an unspecified filter write mode.
|
5110
|
+
# The value of kms_key_name is invalid. The associated service account doesn't
|
5111
|
+
# have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for
|
5112
|
+
# the key. Access to the key is disabled.See Configure default settings for
|
5113
|
+
# organizations and folders (https://cloud.google.com/logging/docs/default-
|
5114
|
+
# settings) for more information.
|
5124
5115
|
# @param [String] name
|
5125
5116
|
# Required. The resource name for the settings to update. "organizations/[
|
5126
|
-
# ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
|
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.
|
5117
|
+
# ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
|
5130
5118
|
# @param [Google::Apis::LoggingV2::Settings] settings_object
|
5131
5119
|
# @param [String] update_mask
|
5132
5120
|
# Optional. Field mask identifying which fields from settings should be updated.
|
@@ -6071,10 +6059,11 @@ module Google
|
|
6071
6059
|
execute_or_queue_command(command, &block)
|
6072
6060
|
end
|
6073
6061
|
|
6074
|
-
# Updates a view on a log bucket. This method replaces the
|
6075
|
-
# the existing view with
|
6076
|
-
# error is returned, this indicates that system is not in a
|
6077
|
-
# update the view. If this occurs, please try again in a few
|
6062
|
+
# Updates a view on a log bucket. This method replaces the value of the filter
|
6063
|
+
# field from the existing view with the corresponding value from the new view.
|
6064
|
+
# If an UNAVAILABLE error is returned, this indicates that system is not in a
|
6065
|
+
# state where it can update the view. If this occurs, please try again in a few
|
6066
|
+
# minutes.
|
6078
6067
|
# @param [String] name
|
6079
6068
|
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
|
6080
6069
|
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
|
@@ -6343,8 +6332,8 @@ module Google
|
|
6343
6332
|
# component of the saved query's resource name.If the saved_query_id is not
|
6344
6333
|
# provided, the system will generate an alphanumeric ID.The saved_query_id is
|
6345
6334
|
# limited to 100 characters and can include only the following characters: upper
|
6346
|
-
# and lower-case alphanumeric characters, underscores, hyphens,
|
6347
|
-
#
|
6335
|
+
# and lower-case alphanumeric characters, underscores, hyphens, periods.First
|
6336
|
+
# character has to be alphanumeric.
|
6348
6337
|
# @param [String] fields
|
6349
6338
|
# Selector specifying which fields to include in a partial response.
|
6350
6339
|
# @param [String] quota_user
|
@@ -6721,9 +6710,10 @@ module Google
|
|
6721
6710
|
execute_or_queue_command(command, &block)
|
6722
6711
|
end
|
6723
6712
|
|
6724
|
-
# Updates a sink. This method replaces the
|
6725
|
-
# with values from the new sink
|
6726
|
-
# also have a new writer_identity; see the
|
6713
|
+
# Updates a sink. This method replaces the values of the destination and filter
|
6714
|
+
# fields of the existing sink with the corresponding values from the new sink.
|
6715
|
+
# The updated sink might also have a new writer_identity; see the
|
6716
|
+
# unique_writer_identity field.
|
6727
6717
|
# @param [String] sink_name
|
6728
6718
|
# Required. The full resource name of the sink to update, including the parent
|
6729
6719
|
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
@@ -6789,9 +6779,10 @@ module Google
|
|
6789
6779
|
execute_or_queue_command(command, &block)
|
6790
6780
|
end
|
6791
6781
|
|
6792
|
-
# Updates a sink. This method replaces the
|
6793
|
-
# with values from the new sink
|
6794
|
-
# also have a new writer_identity; see the
|
6782
|
+
# Updates a sink. This method replaces the values of the destination and filter
|
6783
|
+
# fields of the existing sink with the corresponding values from the new sink.
|
6784
|
+
# The updated sink might also have a new writer_identity; see the
|
6785
|
+
# unique_writer_identity field.
|
6795
6786
|
# @param [String] sink_name
|
6796
6787
|
# Required. The full resource name of the sink to update, including the parent
|
6797
6788
|
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
@@ -6858,8 +6849,8 @@ module Google
|
|
6858
6849
|
end
|
6859
6850
|
|
6860
6851
|
# 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
|
6862
|
-
# billing accounts. Once configured for an organization, it applies to all
|
6852
|
+
# Router can be configured for Google Cloud projects, folders, organizations,
|
6853
|
+
# and billing accounts. Once configured for an organization, it applies to all
|
6863
6854
|
# projects and folders in the Google Cloud organization.See Enabling CMEK for
|
6864
6855
|
# Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
|
6865
6856
|
# for more information.
|
@@ -6868,7 +6859,7 @@ module Google
|
|
6868
6859
|
# PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
|
6869
6860
|
# billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
|
6870
6861
|
# cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
|
6871
|
-
# Log Router can be configured for Google Cloud projects, folders, organizations
|
6862
|
+
# Log Router can be configured for Google Cloud projects, folders, organizations,
|
6872
6863
|
# and billing accounts. Once configured for an organization, it applies to all
|
6873
6864
|
# projects and folders in the Google Cloud organization.
|
6874
6865
|
# @param [String] fields
|
@@ -6898,21 +6889,16 @@ module Google
|
|
6898
6889
|
execute_or_queue_command(command, &block)
|
6899
6890
|
end
|
6900
6891
|
|
6901
|
-
# Gets the
|
6902
|
-
#
|
6903
|
-
#
|
6904
|
-
#
|
6905
|
-
# Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.
|
6906
|
-
# google.com/logging/docs/routing/managed-encryption) for more information.
|
6892
|
+
# Gets the settings for the given resource.Note: Settings can be retrieved for
|
6893
|
+
# Google Cloud projects, folders, organizations, and billing accounts.See View
|
6894
|
+
# default resource settings for Logging (https://cloud.google.com/logging/docs/
|
6895
|
+
# default-settings#view-org-settings) for more information.
|
6907
6896
|
# @param [String] name
|
6908
6897
|
# Required. The resource for which to retrieve settings. "projects/[PROJECT_ID]/
|
6909
6898
|
# settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[
|
6910
6899
|
# BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"
|
6911
|
-
# organizations/12345/settings"Note: Settings
|
6912
|
-
#
|
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.
|
6900
|
+
# organizations/12345/settings"Note: Settings can be retrieved for Google Cloud
|
6901
|
+
# projects, folders, organizations, and billing accounts.
|
6916
6902
|
# @param [String] fields
|
6917
6903
|
# Selector specifying which fields to include in a partial response.
|
6918
6904
|
# @param [String] quota_user
|
@@ -7848,10 +7834,11 @@ module Google
|
|
7848
7834
|
execute_or_queue_command(command, &block)
|
7849
7835
|
end
|
7850
7836
|
|
7851
|
-
# Updates a view on a log bucket. This method replaces the
|
7852
|
-
# the existing view with
|
7853
|
-
# error is returned, this indicates that system is not in a
|
7854
|
-
# update the view. If this occurs, please try again in a few
|
7837
|
+
# Updates a view on a log bucket. This method replaces the value of the filter
|
7838
|
+
# field from the existing view with the corresponding value from the new view.
|
7839
|
+
# If an UNAVAILABLE error is returned, this indicates that system is not in a
|
7840
|
+
# state where it can update the view. If this occurs, please try again in a few
|
7841
|
+
# minutes.
|
7855
7842
|
# @param [String] name
|
7856
7843
|
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
|
7857
7844
|
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
|
@@ -8120,8 +8107,8 @@ module Google
|
|
8120
8107
|
# component of the saved query's resource name.If the saved_query_id is not
|
8121
8108
|
# provided, the system will generate an alphanumeric ID.The saved_query_id is
|
8122
8109
|
# limited to 100 characters and can include only the following characters: upper
|
8123
|
-
# and lower-case alphanumeric characters, underscores, hyphens,
|
8124
|
-
#
|
8110
|
+
# and lower-case alphanumeric characters, underscores, hyphens, periods.First
|
8111
|
+
# character has to be alphanumeric.
|
8125
8112
|
# @param [String] fields
|
8126
8113
|
# Selector specifying which fields to include in a partial response.
|
8127
8114
|
# @param [String] quota_user
|
@@ -8672,9 +8659,10 @@ module Google
|
|
8672
8659
|
execute_or_queue_command(command, &block)
|
8673
8660
|
end
|
8674
8661
|
|
8675
|
-
# Updates a sink. This method replaces the
|
8676
|
-
# with values from the new sink
|
8677
|
-
# also have a new writer_identity; see the
|
8662
|
+
# Updates a sink. This method replaces the values of the destination and filter
|
8663
|
+
# fields of the existing sink with the corresponding values from the new sink.
|
8664
|
+
# The updated sink might also have a new writer_identity; see the
|
8665
|
+
# unique_writer_identity field.
|
8678
8666
|
# @param [String] sink_name
|
8679
8667
|
# Required. The full resource name of the sink to update, including the parent
|
8680
8668
|
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
@@ -8740,9 +8728,10 @@ module Google
|
|
8740
8728
|
execute_or_queue_command(command, &block)
|
8741
8729
|
end
|
8742
8730
|
|
8743
|
-
# Updates a sink. This method replaces the
|
8744
|
-
# with values from the new sink
|
8745
|
-
# also have a new writer_identity; see the
|
8731
|
+
# Updates a sink. This method replaces the values of the destination and filter
|
8732
|
+
# fields of the existing sink with the corresponding values from the new sink.
|
8733
|
+
# The updated sink might also have a new writer_identity; see the
|
8734
|
+
# unique_writer_identity field.
|
8746
8735
|
# @param [String] sink_name
|
8747
8736
|
# Required. The full resource name of the sink to update, including the parent
|
8748
8737
|
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
@@ -8977,9 +8966,10 @@ module Google
|
|
8977
8966
|
execute_or_queue_command(command, &block)
|
8978
8967
|
end
|
8979
8968
|
|
8980
|
-
# Updates a sink. This method replaces the
|
8981
|
-
# with values from the new sink
|
8982
|
-
# also have a new writer_identity; see the
|
8969
|
+
# Updates a sink. This method replaces the values of the destination and filter
|
8970
|
+
# fields of the existing sink with the corresponding values from the new sink.
|
8971
|
+
# The updated sink might also have a new writer_identity; see the
|
8972
|
+
# unique_writer_identity field.
|
8983
8973
|
# @param [String] sink_name
|
8984
8974
|
# Required. The full resource name of the sink to update, including the parent
|
8985
8975
|
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
@@ -9046,8 +9036,8 @@ module Google
|
|
9046
9036
|
end
|
9047
9037
|
|
9048
9038
|
# 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
|
9050
|
-
# billing accounts. Once configured for an organization, it applies to all
|
9039
|
+
# Router can be configured for Google Cloud projects, folders, organizations,
|
9040
|
+
# and billing accounts. Once configured for an organization, it applies to all
|
9051
9041
|
# projects and folders in the Google Cloud organization.See Enabling CMEK for
|
9052
9042
|
# Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
|
9053
9043
|
# for more information.
|
@@ -9056,7 +9046,7 @@ module Google
|
|
9056
9046
|
# PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
|
9057
9047
|
# billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
|
9058
9048
|
# cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the
|
9059
|
-
# Log Router can be configured for Google Cloud projects, folders, organizations
|
9049
|
+
# Log Router can be configured for Google Cloud projects, folders, organizations,
|
9060
9050
|
# and billing accounts. Once configured for an organization, it applies to all
|
9061
9051
|
# projects and folders in the Google Cloud organization.
|
9062
9052
|
# @param [String] fields
|
@@ -9086,21 +9076,16 @@ module Google
|
|
9086
9076
|
execute_or_queue_command(command, &block)
|
9087
9077
|
end
|
9088
9078
|
|
9089
|
-
# Gets the
|
9090
|
-
#
|
9091
|
-
#
|
9092
|
-
#
|
9093
|
-
# Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.
|
9094
|
-
# google.com/logging/docs/routing/managed-encryption) for more information.
|
9079
|
+
# Gets the settings for the given resource.Note: Settings can be retrieved for
|
9080
|
+
# Google Cloud projects, folders, organizations, and billing accounts.See View
|
9081
|
+
# default resource settings for Logging (https://cloud.google.com/logging/docs/
|
9082
|
+
# default-settings#view-org-settings) for more information.
|
9095
9083
|
# @param [String] name
|
9096
9084
|
# Required. The resource for which to retrieve settings. "projects/[PROJECT_ID]/
|
9097
9085
|
# settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[
|
9098
9086
|
# BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"
|
9099
|
-
# organizations/12345/settings"Note: Settings
|
9100
|
-
#
|
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.
|
9087
|
+
# organizations/12345/settings"Note: Settings can be retrieved for Google Cloud
|
9088
|
+
# projects, folders, organizations, and billing accounts.
|
9104
9089
|
# @param [String] fields
|
9105
9090
|
# Selector specifying which fields to include in a partial response.
|
9106
9091
|
# @param [String] quota_user
|
@@ -9131,11 +9116,11 @@ module Google
|
|
9131
9116
|
# Updates the Log Router CMEK settings for the given resource.Note: CMEK for the
|
9132
9117
|
# Log Router can currently only be configured for Google Cloud organizations.
|
9133
9118
|
# Once configured, it applies to all projects and folders in the Google Cloud
|
9134
|
-
# organization.UpdateCmekSettings
|
9135
|
-
#
|
9136
|
-
# cryptoKeyEncrypterDecrypter role assigned for the
|
9137
|
-
# is disabled.See Enabling CMEK for Log Router (https://
|
9138
|
-
# docs/routing/managed-encryption) for more information.
|
9119
|
+
# organization.UpdateCmekSettings fails when any of the following are true: The
|
9120
|
+
# value of kms_key_name is invalid. The associated service account doesn't have
|
9121
|
+
# the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the
|
9122
|
+
# key. Access to the key is disabled.See Enabling CMEK for Log Router (https://
|
9123
|
+
# cloud.google.com/logging/docs/routing/managed-encryption) for more information.
|
9139
9124
|
# @param [String] name
|
9140
9125
|
# Required. The resource name for the CMEK settings to update. "projects/[
|
9141
9126
|
# PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
|
@@ -9180,21 +9165,19 @@ module Google
|
|
9180
9165
|
execute_or_queue_command(command, &block)
|
9181
9166
|
end
|
9182
9167
|
|
9183
|
-
# Updates the
|
9184
|
-
#
|
9185
|
-
#
|
9186
|
-
#
|
9187
|
-
#
|
9188
|
-
#
|
9189
|
-
#
|
9190
|
-
#
|
9191
|
-
# logging/docs/
|
9168
|
+
# Updates the settings for the given resource. This method applies to all
|
9169
|
+
# feature configurations for organization and folders.UpdateSettings fails when
|
9170
|
+
# any of the following are true: The value of storage_location either isn't
|
9171
|
+
# supported by Logging or violates the location OrgPolicy. The
|
9172
|
+
# default_sink_config field is set, but it has an unspecified filter write mode.
|
9173
|
+
# The value of kms_key_name is invalid. The associated service account doesn't
|
9174
|
+
# have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for
|
9175
|
+
# the key. Access to the key is disabled.See Configure default settings for
|
9176
|
+
# organizations and folders (https://cloud.google.com/logging/docs/default-
|
9177
|
+
# settings) for more information.
|
9192
9178
|
# @param [String] name
|
9193
9179
|
# Required. The resource name for the settings to update. "organizations/[
|
9194
|
-
# ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
|
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.
|
9180
|
+
# ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
|
9198
9181
|
# @param [Google::Apis::LoggingV2::Settings] settings_object
|
9199
9182
|
# @param [String] update_mask
|
9200
9183
|
# 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.
|
4
|
+
version: 0.60.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
|
+
date: 2023-12-17 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.60.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: []
|