google-apis-logging_v2 0.59.0 → 0.60.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: 1def1b43a67a73d815c132797d4af9836a493a0afc2856b7e2ded9c5426188ac
4
- data.tar.gz: 4572eee26037e4c4c10f5a9b91dacce9324fd9acdc9fe57c19c05cf53ba418af
3
+ metadata.gz: c411b0bd624fdbb70c31149350c6f6e73c1a4660e3097c93e8809e182a7b44b4
4
+ data.tar.gz: 58cf630483b052fd886af5c5b0ea3201206c2131bae0cee887ce25eef4a76766
5
5
  SHA512:
6
- metadata.gz: 4ec75371f8d9f755bf2ae46fa1a297e5589f7a469fd31e56567fd43d93ce07316e0d75d8462ae99f36e4fb5948aa97af0023e66bdeda974497015c430fc2a321
7
- data.tar.gz: 99a71832fb672a5b89b429bc490d0750fab30680f9936d74b649b2608b31f4a751e30809f9c67c76c4fe7da66ac1952d2109a260508a1b7ef6654fea6f04f0f2
6
+ metadata.gz: 287320be3df3c943eee06df13f4a2b42b3c615bad39c39cb2cd438c3f57a77abb34234efe067bdab77f01d665ce732c3699fd1c4e5125195a82d13ee1945f1a5
7
+ data.tar.gz: 522d94f94a372ffd9d14ce28a0ace576664a8db2df71961e56ced985109ea92b6ceb497ca1fe7ff55db18b23099935fb410d7effb1e5c0403eeae2f0ec8a5c1e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.59.0 (2023-12-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20231130
@@ -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>=ERRORCannot be empty or
464
- # unset if mode == OVERWRITE. In order to match all logs, use the following line
465
- # as the value of filter and do not use exclusions:logName:*
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: /projects//errors/. Example:
1838
- # COShysOX0r_51QE The id is derived from key parts of the error-log content and
1839
- # is treated as Service Data. For information about how Service Data is handled,
1840
- # see Google Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-
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 in any project: a Cloud Storage bucket, a BigQuery dataset, a Pub/
2105
- # Sub topic or a Cloud Logging log bucket. A logs filter controls which log
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". Sink identifiers are limited to 100
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, and periods. First character
2183
- # has to be alphanumeric.
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 are restricted to be a logical AND of ==/!= of any of the following:
2288
- # originating project/folder/organization/billing account. resource type log
2289
- # idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance"
2290
- # AND LOG_ID("stdout")
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
@@ -3167,12 +3170,11 @@ module Google
3167
3170
  # @return [String]
3168
3171
  attr_accessor :name
3169
3172
 
3170
- # Optional. The storage location that Cloud Logging will use to create new
3171
- # resources when a location is needed but not explicitly provided. The use cases
3172
- # includes: The location of _Default and _Required log bucket for newly created
3173
- # projects and folders.Example value: europe-west1.Note: this setting does not
3174
- # affect the location of resources where a location is explicitly provided when
3175
- # 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.
3176
3178
  # Corresponds to the JSON property `storageLocation`
3177
3179
  # @return [String]
3178
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.59.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 = "20231130"
25
+ REVISION = "20231210"
26
26
  end
27
27
  end
28
28
  end
@@ -1035,10 +1035,11 @@ module Google
1035
1035
  execute_or_queue_command(command, &block)
1036
1036
  end
1037
1037
 
1038
- # Updates a view on a log bucket. This method replaces the following fields in
1039
- # the existing view with values from the new view: filter. If an UNAVAILABLE
1040
- # error is returned, this indicates that system is not in a state where it can
1041
- # update the view. If this occurs, please try again in a few minutes.
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.
1042
1043
  # @param [String] name
1043
1044
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
1044
1045
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -1307,8 +1308,8 @@ module Google
1307
1308
  # component of the saved query's resource name.If the saved_query_id is not
1308
1309
  # provided, the system will generate an alphanumeric ID.The saved_query_id is
1309
1310
  # limited to 100 characters and can include only the following characters: upper
1310
- # and lower-case alphanumeric characters, underscores, hyphens, and periods.
1311
- # First character has to be alphanumeric.
1311
+ # and lower-case alphanumeric characters, underscores, hyphens, periods.First
1312
+ # character has to be alphanumeric.
1312
1313
  # @param [String] fields
1313
1314
  # Selector specifying which fields to include in a partial response.
1314
1315
  # @param [String] quota_user
@@ -1685,9 +1686,10 @@ module Google
1685
1686
  execute_or_queue_command(command, &block)
1686
1687
  end
1687
1688
 
1688
- # Updates a sink. This method replaces the following fields in the existing sink
1689
- # with values from the new sink: destination, and filter.The updated sink might
1690
- # also have a new writer_identity; see the unique_writer_identity field.
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.
1691
1693
  # @param [String] sink_name
1692
1694
  # Required. The full resource name of the sink to update, including the parent
1693
1695
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -1753,9 +1755,10 @@ module Google
1753
1755
  execute_or_queue_command(command, &block)
1754
1756
  end
1755
1757
 
1756
- # Updates a sink. This method replaces the following fields in the existing sink
1757
- # with values from the new sink: destination, and filter.The updated sink might
1758
- # also have a new writer_identity; see the unique_writer_identity field.
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.
1759
1762
  # @param [String] sink_name
1760
1763
  # Required. The full resource name of the sink to update, including the parent
1761
1764
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -2222,14 +2225,15 @@ module Google
2222
2225
  end
2223
2226
 
2224
2227
  # 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.
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.
2233
2237
  # @param [String] name
2234
2238
  # Required. The resource name for the settings to update. "organizations/[
2235
2239
  # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
@@ -3177,10 +3181,11 @@ module Google
3177
3181
  execute_or_queue_command(command, &block)
3178
3182
  end
3179
3183
 
3180
- # Updates a view on a log bucket. This method replaces the following fields in
3181
- # the existing view with values from the new view: filter. If an UNAVAILABLE
3182
- # error is returned, this indicates that system is not in a state where it can
3183
- # update the view. If this occurs, please try again in a few minutes.
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.
3184
3189
  # @param [String] name
3185
3190
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
3186
3191
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -3449,8 +3454,8 @@ module Google
3449
3454
  # component of the saved query's resource name.If the saved_query_id is not
3450
3455
  # provided, the system will generate an alphanumeric ID.The saved_query_id is
3451
3456
  # limited to 100 characters and can include only the following characters: upper
3452
- # and lower-case alphanumeric characters, underscores, hyphens, and periods.
3453
- # First character has to be alphanumeric.
3457
+ # and lower-case alphanumeric characters, underscores, hyphens, periods.First
3458
+ # character has to be alphanumeric.
3454
3459
  # @param [String] fields
3455
3460
  # Selector specifying which fields to include in a partial response.
3456
3461
  # @param [String] quota_user
@@ -3827,9 +3832,10 @@ module Google
3827
3832
  execute_or_queue_command(command, &block)
3828
3833
  end
3829
3834
 
3830
- # Updates a sink. This method replaces the following fields in the existing sink
3831
- # with values from the new sink: destination, and filter.The updated sink might
3832
- # also have a new writer_identity; see the unique_writer_identity field.
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.
3833
3839
  # @param [String] sink_name
3834
3840
  # Required. The full resource name of the sink to update, including the parent
3835
3841
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -3895,9 +3901,10 @@ module Google
3895
3901
  execute_or_queue_command(command, &block)
3896
3902
  end
3897
3903
 
3898
- # Updates a sink. This method replaces the following fields in the existing sink
3899
- # with values from the new sink: destination, and filter.The updated sink might
3900
- # also have a new writer_identity; see the unique_writer_identity field.
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.
3901
3908
  # @param [String] sink_name
3902
3909
  # Required. The full resource name of the sink to update, including the parent
3903
3910
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -4677,10 +4684,11 @@ module Google
4677
4684
  execute_or_queue_command(command, &block)
4678
4685
  end
4679
4686
 
4680
- # Updates a view on a log bucket. This method replaces the following fields in
4681
- # the existing view with values from the new view: filter. If an UNAVAILABLE
4682
- # error is returned, this indicates that system is not in a state where it can
4683
- # update the view. If this occurs, please try again in a few minutes.
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.
4684
4692
  # @param [String] name
4685
4693
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
4686
4694
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -5045,11 +5053,11 @@ module Google
5045
5053
  # Updates the Log Router CMEK settings for the given resource.Note: CMEK for the
5046
5054
  # Log Router can currently only be configured for Google Cloud organizations.
5047
5055
  # Once configured, it applies to all projects and folders in the Google Cloud
5048
- # organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or 2)
5049
- # the associated service account does not have the required roles/cloudkms.
5050
- # cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key
5051
- # is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/
5052
- # 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.
5053
5061
  # @param [String] name
5054
5062
  # Required. The resource name for the CMEK settings to update. "projects/[
5055
5063
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
@@ -5095,14 +5103,15 @@ module Google
5095
5103
  end
5096
5104
 
5097
5105
  # 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.
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.
5106
5115
  # @param [String] name
5107
5116
  # Required. The resource name for the settings to update. "organizations/[
5108
5117
  # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
@@ -6050,10 +6059,11 @@ module Google
6050
6059
  execute_or_queue_command(command, &block)
6051
6060
  end
6052
6061
 
6053
- # Updates a view on a log bucket. This method replaces the following fields in
6054
- # the existing view with values from the new view: filter. If an UNAVAILABLE
6055
- # error is returned, this indicates that system is not in a state where it can
6056
- # update the view. If this occurs, please try again in a few minutes.
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.
6057
6067
  # @param [String] name
6058
6068
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
6059
6069
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -6322,8 +6332,8 @@ module Google
6322
6332
  # component of the saved query's resource name.If the saved_query_id is not
6323
6333
  # provided, the system will generate an alphanumeric ID.The saved_query_id is
6324
6334
  # limited to 100 characters and can include only the following characters: upper
6325
- # and lower-case alphanumeric characters, underscores, hyphens, and periods.
6326
- # First character has to be alphanumeric.
6335
+ # and lower-case alphanumeric characters, underscores, hyphens, periods.First
6336
+ # character has to be alphanumeric.
6327
6337
  # @param [String] fields
6328
6338
  # Selector specifying which fields to include in a partial response.
6329
6339
  # @param [String] quota_user
@@ -6700,9 +6710,10 @@ module Google
6700
6710
  execute_or_queue_command(command, &block)
6701
6711
  end
6702
6712
 
6703
- # Updates a sink. This method replaces the following fields in the existing sink
6704
- # with values from the new sink: destination, and filter.The updated sink might
6705
- # also have a new writer_identity; see the unique_writer_identity field.
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.
6706
6717
  # @param [String] sink_name
6707
6718
  # Required. The full resource name of the sink to update, including the parent
6708
6719
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -6768,9 +6779,10 @@ module Google
6768
6779
  execute_or_queue_command(command, &block)
6769
6780
  end
6770
6781
 
6771
- # Updates a sink. This method replaces the following fields in the existing sink
6772
- # with values from the new sink: destination, and filter.The updated sink might
6773
- # also have a new writer_identity; see the unique_writer_identity field.
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.
6774
6786
  # @param [String] sink_name
6775
6787
  # Required. The full resource name of the sink to update, including the parent
6776
6788
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -7822,10 +7834,11 @@ module Google
7822
7834
  execute_or_queue_command(command, &block)
7823
7835
  end
7824
7836
 
7825
- # Updates a view on a log bucket. This method replaces the following fields in
7826
- # the existing view with values from the new view: filter. If an UNAVAILABLE
7827
- # error is returned, this indicates that system is not in a state where it can
7828
- # update the view. If this occurs, please try again in a few minutes.
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.
7829
7842
  # @param [String] name
7830
7843
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
7831
7844
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -8094,8 +8107,8 @@ module Google
8094
8107
  # component of the saved query's resource name.If the saved_query_id is not
8095
8108
  # provided, the system will generate an alphanumeric ID.The saved_query_id is
8096
8109
  # limited to 100 characters and can include only the following characters: upper
8097
- # and lower-case alphanumeric characters, underscores, hyphens, and periods.
8098
- # First character has to be alphanumeric.
8110
+ # and lower-case alphanumeric characters, underscores, hyphens, periods.First
8111
+ # character has to be alphanumeric.
8099
8112
  # @param [String] fields
8100
8113
  # Selector specifying which fields to include in a partial response.
8101
8114
  # @param [String] quota_user
@@ -8646,9 +8659,10 @@ module Google
8646
8659
  execute_or_queue_command(command, &block)
8647
8660
  end
8648
8661
 
8649
- # Updates a sink. This method replaces the following fields in the existing sink
8650
- # with values from the new sink: destination, and filter.The updated sink might
8651
- # also have a new writer_identity; see the unique_writer_identity field.
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.
8652
8666
  # @param [String] sink_name
8653
8667
  # Required. The full resource name of the sink to update, including the parent
8654
8668
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -8714,9 +8728,10 @@ module Google
8714
8728
  execute_or_queue_command(command, &block)
8715
8729
  end
8716
8730
 
8717
- # Updates a sink. This method replaces the following fields in the existing sink
8718
- # with values from the new sink: destination, and filter.The updated sink might
8719
- # also have a new writer_identity; see the unique_writer_identity field.
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.
8720
8735
  # @param [String] sink_name
8721
8736
  # Required. The full resource name of the sink to update, including the parent
8722
8737
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -8951,9 +8966,10 @@ module Google
8951
8966
  execute_or_queue_command(command, &block)
8952
8967
  end
8953
8968
 
8954
- # Updates a sink. This method replaces the following fields in the existing sink
8955
- # with values from the new sink: destination, and filter.The updated sink might
8956
- # also have a new writer_identity; see the unique_writer_identity field.
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.
8957
8973
  # @param [String] sink_name
8958
8974
  # Required. The full resource name of the sink to update, including the parent
8959
8975
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -9100,11 +9116,11 @@ module Google
9100
9116
  # Updates the Log Router CMEK settings for the given resource.Note: CMEK for the
9101
9117
  # Log Router can currently only be configured for Google Cloud organizations.
9102
9118
  # Once configured, it applies to all projects and folders in the Google Cloud
9103
- # organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or 2)
9104
- # the associated service account does not have the required roles/cloudkms.
9105
- # cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key
9106
- # is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/
9107
- # 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.
9108
9124
  # @param [String] name
9109
9125
  # Required. The resource name for the CMEK settings to update. "projects/[
9110
9126
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
@@ -9150,14 +9166,15 @@ module Google
9150
9166
  end
9151
9167
 
9152
9168
  # 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.
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.
9161
9178
  # @param [String] name
9162
9179
  # Required. The resource name for the settings to update. "organizations/[
9163
9180
  # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
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.59.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-12-10 00:00:00.000000000 Z
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.59.0
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: []