google-cloud-logging-v2 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f643d5073dbd749a30f7dbaeb498391bd0e071bfd3237034ff49dc3a27fa6334
4
- data.tar.gz: 749ecf65cad6b49bc285edd6e45f4e39358d6a8695109952385b454035092bb2
3
+ metadata.gz: 498f09fb4cd2d54347941d5fde690bf578ca2c036b921373defa6acacdb9608b
4
+ data.tar.gz: 57e5714fbd2b621afac3b527ec9d3180c52f611aae6b60fcac38851b2268a4d0
5
5
  SHA512:
6
- metadata.gz: d4d861d4c3135125b0cf75d6bbf5f48fefd4b3756f5e2fc4d40dc57c10863c05aa0746deecd880e2244cc38a7ed8442e97fb398ac156ddd8dfa39f72895bdc89
7
- data.tar.gz: 2d4bfa94d99e6d140046c4865f0fd14e61623c8ad6db86d2ff393c655304bcb4f88ed0a527b5edcccd53c571276413bc75c2a486462fcf57876f8390087defd0
6
+ metadata.gz: abb75172cddca98f90398141ce7e82e94afdca3577bdc98c92d4374cc811226ea9a2bfc8422ce21aaa8254c2768dad32f092b885958c7f0754eceb32683f0213
7
+ data.tar.gz: 8442e3081fa1bf2577b069789c88f2458f0463b080e4b240753d81f1c3c0e28f7d349316bb5691b8fd162b0b7f1fc5916f8d27a4892dba3f0f269774de303804
@@ -70,7 +70,7 @@ module Google
70
70
  initial_delay: 0.1,
71
71
  max_delay: 60.0,
72
72
  multiplier: 1.3,
73
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
73
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
74
74
  }
75
75
 
76
76
  default_config.rpcs.get_sink.timeout = 60.0
@@ -78,7 +78,7 @@ module Google
78
78
  initial_delay: 0.1,
79
79
  max_delay: 60.0,
80
80
  multiplier: 1.3,
81
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
81
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
82
82
  }
83
83
 
84
84
  default_config.rpcs.create_sink.timeout = 120.0
@@ -88,7 +88,7 @@ module Google
88
88
  initial_delay: 0.1,
89
89
  max_delay: 60.0,
90
90
  multiplier: 1.3,
91
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
91
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
92
92
  }
93
93
 
94
94
  default_config.rpcs.delete_sink.timeout = 60.0
@@ -96,7 +96,7 @@ module Google
96
96
  initial_delay: 0.1,
97
97
  max_delay: 60.0,
98
98
  multiplier: 1.3,
99
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
99
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
100
100
  }
101
101
 
102
102
  default_config.rpcs.list_exclusions.timeout = 60.0
@@ -104,7 +104,7 @@ module Google
104
104
  initial_delay: 0.1,
105
105
  max_delay: 60.0,
106
106
  multiplier: 1.3,
107
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
107
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
108
108
  }
109
109
 
110
110
  default_config.rpcs.get_exclusion.timeout = 60.0
@@ -112,7 +112,7 @@ module Google
112
112
  initial_delay: 0.1,
113
113
  max_delay: 60.0,
114
114
  multiplier: 1.3,
115
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
115
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
116
116
  }
117
117
 
118
118
  default_config.rpcs.create_exclusion.timeout = 120.0
@@ -124,7 +124,7 @@ module Google
124
124
  initial_delay: 0.1,
125
125
  max_delay: 60.0,
126
126
  multiplier: 1.3,
127
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
127
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
128
128
  }
129
129
 
130
130
  default_config
@@ -1287,7 +1287,8 @@ module Google
1287
1287
  # the GCP organization.
1288
1288
  #
1289
1289
  # See [Enabling CMEK for Logs
1290
- # Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
1290
+ # Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
1291
+ # for more information.
1291
1292
  #
1292
1293
  # @overload get_cmek_settings(request, options = nil)
1293
1294
  # Pass arguments to `get_cmek_settings` via a request object, either of type
@@ -1377,7 +1378,8 @@ module Google
1377
1378
  # 3) access to the key is disabled.
1378
1379
  #
1379
1380
  # See [Enabling CMEK for Logs
1380
- # Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
1381
+ # Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
1382
+ # for more information.
1381
1383
  #
1382
1384
  # @overload update_cmek_settings(request, options = nil)
1383
1385
  # Pass arguments to `update_cmek_settings` via a request object, either of type
@@ -1411,7 +1413,8 @@ module Google
1411
1413
  # Required. The CMEK settings to update.
1412
1414
  #
1413
1415
  # See [Enabling CMEK for Logs
1414
- # Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
1416
+ # Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
1417
+ # for more information.
1415
1418
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1416
1419
  # Optional. Field mask identifying which fields from `cmek_settings` should
1417
1420
  # be updated. A field will be overwritten if and only if it is in the update
@@ -70,7 +70,7 @@ module Google
70
70
  initial_delay: 0.1,
71
71
  max_delay: 60.0,
72
72
  multiplier: 1.3,
73
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
73
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
74
74
  }
75
75
 
76
76
  default_config.rpcs.write_log_entries.timeout = 60.0
@@ -78,7 +78,7 @@ module Google
78
78
  initial_delay: 0.1,
79
79
  max_delay: 60.0,
80
80
  multiplier: 1.3,
81
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
81
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
82
82
  }
83
83
 
84
84
  default_config.rpcs.list_log_entries.timeout = 60.0
@@ -86,7 +86,7 @@ module Google
86
86
  initial_delay: 0.1,
87
87
  max_delay: 60.0,
88
88
  multiplier: 1.3,
89
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
89
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
90
90
  }
91
91
 
92
92
  default_config.rpcs.list_monitored_resource_descriptors.timeout = 60.0
@@ -94,7 +94,7 @@ module Google
94
94
  initial_delay: 0.1,
95
95
  max_delay: 60.0,
96
96
  multiplier: 1.3,
97
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
97
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
98
98
  }
99
99
 
100
100
  default_config.rpcs.list_logs.timeout = 60.0
@@ -102,7 +102,7 @@ module Google
102
102
  initial_delay: 0.1,
103
103
  max_delay: 60.0,
104
104
  multiplier: 1.3,
105
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
105
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
106
106
  }
107
107
 
108
108
  default_config
@@ -335,15 +335,16 @@ module Google
335
335
  # the entries later in the list. See the `entries.list` method.
336
336
  #
337
337
  # Log entries with timestamps that are more than the
338
- # [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than
339
- # 24 hours in the future will not be available when calling `entries.list`.
340
- # However, those log entries can still be
341
- # [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
338
+ # [logs retention period](https://cloud.google.com/logging/quota-policy) in
339
+ # the past or more than 24 hours in the future will not be available when
340
+ # calling `entries.list`. However, those log entries can still be [exported
341
+ # with
342
+ # LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
342
343
  #
343
344
  # To improve throughput and to avoid exceeding the
344
- # [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`,
345
- # you should try to include several log entries in this list,
346
- # rather than calling this method for each individual log entry.
345
+ # [quota limit](https://cloud.google.com/logging/quota-policy) for calls to
346
+ # `entries.write`, you should try to include several log entries in this
347
+ # list, rather than calling this method for each individual log entry.
347
348
  # @param partial_success [::Boolean]
348
349
  # Optional. Whether valid entries should be written even if some other
349
350
  # entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any
@@ -397,7 +398,8 @@ module Google
397
398
  ##
398
399
  # Lists log entries. Use this method to retrieve log entries that originated
399
400
  # from a project/folder/organization/billing account. For ways to export log
400
- # entries, see [Exporting Logs](https://cloud.google.com/logging/docs/export).
401
+ # entries, see [Exporting
402
+ # Logs](https://cloud.google.com/logging/docs/export).
401
403
  #
402
404
  # @overload list_log_entries(request, options = nil)
403
405
  # Pass arguments to `list_log_entries` via a request object, either of type
@@ -427,12 +429,12 @@ module Google
427
429
  # Projects listed in the `project_ids` field are added to this list.
428
430
  # @param filter [::String]
429
431
  # Optional. A filter that chooses which log entries to return. See [Advanced
430
- # Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that
431
- # match the filter are returned. An empty filter matches all log entries in
432
- # the resources listed in `resource_names`. Referencing a parent resource
433
- # that is not listed in `resource_names` will cause the filter to return no
434
- # results.
435
- # The maximum length of the filter is 20000 characters.
432
+ # Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
433
+ # Only log entries that match the filter are returned. An empty filter
434
+ # matches all log entries in the resources listed in `resource_names`.
435
+ # Referencing a parent resource that is not listed in `resource_names` will
436
+ # cause the filter to return no results. The maximum length of the filter is
437
+ # 20000 characters.
436
438
  # @param order_by [::String]
437
439
  # Optional. How the results should be sorted. Presently, the only permitted
438
440
  # values are `"timestamp asc"` (default) and `"timestamp desc"`. The first
@@ -442,7 +444,8 @@ module Google
442
444
  # timestamps are returned in order of their `insert_id` values.
443
445
  # @param page_size [::Integer]
444
446
  # Optional. The maximum number of results to return from this request.
445
- # Non-positive values are ignored. The presence of `next_page_token` in the
447
+ # Default is 50. If the value is negative or exceeds 1000,
448
+ # the request is rejected. The presence of `next_page_token` in the
446
449
  # response indicates that more results might be available.
447
450
  # @param page_token [::String]
448
451
  # Optional. If present, then retrieve the next batch of results from the
@@ -70,7 +70,7 @@ module Google
70
70
  initial_delay: 0.1,
71
71
  max_delay: 60.0,
72
72
  multiplier: 1.3,
73
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
73
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
74
74
  }
75
75
 
76
76
  default_config.rpcs.get_log_metric.timeout = 60.0
@@ -78,7 +78,7 @@ module Google
78
78
  initial_delay: 0.1,
79
79
  max_delay: 60.0,
80
80
  multiplier: 1.3,
81
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
81
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
82
82
  }
83
83
 
84
84
  default_config.rpcs.create_log_metric.timeout = 60.0
@@ -88,7 +88,7 @@ module Google
88
88
  initial_delay: 0.1,
89
89
  max_delay: 60.0,
90
90
  multiplier: 1.3,
91
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
91
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
92
92
  }
93
93
 
94
94
  default_config.rpcs.delete_log_metric.timeout = 60.0
@@ -96,7 +96,7 @@ module Google
96
96
  initial_delay: 0.1,
97
97
  max_delay: 60.0,
98
98
  multiplier: 1.3,
99
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
99
+ retry_codes: ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"]
100
100
  }
101
101
 
102
102
  default_config
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Logging
23
23
  module V2
24
- VERSION = "0.1.0"
24
+ VERSION = "0.1.1"
25
25
  end
26
26
  end
27
27
  end
@@ -86,7 +86,8 @@ module Google
86
86
  # the GCP organization.
87
87
  #
88
88
  # See [Enabling CMEK for Logs
89
- # Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
89
+ # Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
90
+ # for more information.
90
91
  rpc :GetCmekSettings, Google::Cloud::Logging::V2::GetCmekSettingsRequest, Google::Cloud::Logging::V2::CmekSettings
91
92
  # Updates the Logs Router CMEK settings for the given resource.
92
93
  #
@@ -101,7 +102,8 @@ module Google
101
102
  # 3) access to the key is disabled.
102
103
  #
103
104
  # See [Enabling CMEK for Logs
104
- # Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
105
+ # Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
106
+ # for more information.
105
107
  rpc :UpdateCmekSettings, Google::Cloud::Logging::V2::UpdateCmekSettingsRequest, Google::Cloud::Logging::V2::CmekSettings
106
108
  end
107
109
 
@@ -11,6 +11,7 @@ require 'google/logging/v2/log_entry_pb'
11
11
  require 'google/logging/v2/logging_config_pb'
12
12
  require 'google/protobuf/duration_pb'
13
13
  require 'google/protobuf/empty_pb'
14
+ require 'google/protobuf/field_mask_pb'
14
15
  require 'google/protobuf/timestamp_pb'
15
16
  require 'google/rpc/status_pb'
16
17
  require 'google/api/annotations_pb'
@@ -48,7 +48,8 @@ module Google
48
48
  rpc :WriteLogEntries, Google::Cloud::Logging::V2::WriteLogEntriesRequest, Google::Cloud::Logging::V2::WriteLogEntriesResponse
49
49
  # Lists log entries. Use this method to retrieve log entries that originated
50
50
  # from a project/folder/organization/billing account. For ways to export log
51
- # entries, see [Exporting Logs](https://cloud.google.com/logging/docs/export).
51
+ # entries, see [Exporting
52
+ # Logs](https://cloud.google.com/logging/docs/export).
52
53
  rpc :ListLogEntries, Google::Cloud::Logging::V2::ListLogEntriesRequest, Google::Cloud::Logging::V2::ListLogEntriesResponse
53
54
  # Lists the descriptors for monitored resource types used by Logging.
54
55
  rpc :ListMonitoredResourceDescriptors, Google::Cloud::Logging::V2::ListMonitoredResourceDescriptorsRequest, Google::Cloud::Logging::V2::ListMonitoredResourceDescriptorsResponse
@@ -78,11 +78,11 @@ module Google
78
78
  # current time. Timestamps have nanosecond accuracy, but trailing zeros in
79
79
  # the fractional seconds might be omitted when the timestamp is displayed.
80
80
  #
81
- # Incoming log entries should have timestamps that are no more than the [logs
82
- # retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours
83
- # in the future. Log entries outside those time boundaries will not be
84
- # available when calling `entries.list`, but those log entries can still be
85
- # [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
81
+ # Incoming log entries must have timestamps that don't exceed the
82
+ # [logs retention
83
+ # period](https://cloud.google.com/logging/quotas#logs_retention_periods) in
84
+ # the past, and that don't exceed 24 hours in the future. Log entries outside
85
+ # those time boundaries aren't ingested by Logging.
86
86
  # @!attribute [r] receive_timestamp
87
87
  # @return [::Google::Protobuf::Timestamp]
88
88
  # Output only. The time the log entry was received by Logging.
@@ -93,15 +93,16 @@ module Google
93
93
  # the entries later in the list. See the `entries.list` method.
94
94
  #
95
95
  # Log entries with timestamps that are more than the
96
- # [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than
97
- # 24 hours in the future will not be available when calling `entries.list`.
98
- # However, those log entries can still be
99
- # [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
96
+ # [logs retention period](https://cloud.google.com/logging/quota-policy) in
97
+ # the past or more than 24 hours in the future will not be available when
98
+ # calling `entries.list`. However, those log entries can still be [exported
99
+ # with
100
+ # LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
100
101
  #
101
102
  # To improve throughput and to avoid exceeding the
102
- # [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`,
103
- # you should try to include several log entries in this list,
104
- # rather than calling this method for each individual log entry.
103
+ # [quota limit](https://cloud.google.com/logging/quota-policy) for calls to
104
+ # `entries.write`, you should try to include several log entries in this
105
+ # list, rather than calling this method for each individual log entry.
105
106
  # @!attribute [rw] partial_success
106
107
  # @return [::Boolean]
107
108
  # Optional. Whether valid entries should be written even if some other
@@ -173,12 +174,12 @@ module Google
173
174
  # @!attribute [rw] filter
174
175
  # @return [::String]
175
176
  # Optional. A filter that chooses which log entries to return. See [Advanced
176
- # Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that
177
- # match the filter are returned. An empty filter matches all log entries in
178
- # the resources listed in `resource_names`. Referencing a parent resource
179
- # that is not listed in `resource_names` will cause the filter to return no
180
- # results.
181
- # The maximum length of the filter is 20000 characters.
177
+ # Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
178
+ # Only log entries that match the filter are returned. An empty filter
179
+ # matches all log entries in the resources listed in `resource_names`.
180
+ # Referencing a parent resource that is not listed in `resource_names` will
181
+ # cause the filter to return no results. The maximum length of the filter is
182
+ # 20000 characters.
182
183
  # @!attribute [rw] order_by
183
184
  # @return [::String]
184
185
  # Optional. How the results should be sorted. Presently, the only permitted
@@ -190,7 +191,8 @@ module Google
190
191
  # @!attribute [rw] page_size
191
192
  # @return [::Integer]
192
193
  # Optional. The maximum number of results to return from this request.
193
- # Non-positive values are ignored. The presence of `next_page_token` in the
194
+ # Default is 50. If the value is negative or exceeds 1000,
195
+ # the request is rejected. The presence of `next_page_token` in the
194
196
  # response indicates that more results might be available.
195
197
  # @!attribute [rw] page_token
196
198
  # @return [::String]
@@ -81,12 +81,14 @@ module Google
81
81
  # The sink's `writer_identity`, set when the sink is created, must
82
82
  # have permission to write to the destination or else the log
83
83
  # entries are not exported. For more information, see
84
- # [Exporting Logs with Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
84
+ # [Exporting Logs with
85
+ # Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
85
86
  # @!attribute [rw] filter
86
87
  # @return [::String]
87
- # Optional. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries). The only
88
- # exported log entries are those that are in the resource owning the sink and
89
- # that match the filter. For example:
88
+ # Optional. An [advanced logs
89
+ # filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
90
+ # only exported log entries are those that are in the resource owning the
91
+ # sink and that match the filter. For example:
90
92
  #
91
93
  # logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
92
94
  # @!attribute [rw] description
@@ -99,8 +101,7 @@ module Google
99
101
  # export any log entries.
100
102
  # @!attribute [rw] output_version_format
101
103
  # @return [::Google::Cloud::Logging::V2::LogSink::VersionFormat]
102
- # Deprecated. The log entry format to use for this sink's exported log
103
- # entries. The v2 format is used by default and cannot be changed.
104
+ # Deprecated. This field is unused.
104
105
  # @!attribute [r] writer_identity
105
106
  # @return [::String]
106
107
  # Output only. An IAM identity–a service account or group—under which Logging
@@ -147,9 +148,7 @@ module Google
147
148
  include ::Google::Protobuf::MessageExts
148
149
  extend ::Google::Protobuf::MessageExts::ClassMethods
149
150
 
150
- # Available log entry formats. Log entries can be written to
151
- # Logging in either format and can be exported in either format.
152
- # Version 2 is the preferred format.
151
+ # Deprecated. This is unused.
153
152
  module VersionFormat
154
153
  # An unspecified format version that will default to V2.
155
154
  VERSION_FORMAT_UNSPECIFIED = 0
@@ -166,12 +165,13 @@ module Google
166
165
  # @!attribute [rw] use_partitioned_tables
167
166
  # @return [::Boolean]
168
167
  # Optional. Whether to use [BigQuery's partition
169
- # tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Logging
170
- # creates dated tables based on the log entries' timestamps, e.g.
171
- # syslog_20170523. With partitioned tables the date suffix is no longer
168
+ # tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By
169
+ # default, Logging creates dated tables based on the log entries' timestamps,
170
+ # e.g. syslog_20170523. With partitioned tables the date suffix is no longer
172
171
  # present and [special query
173
- # syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead.
174
- # In both cases, tables are sharded based on UTC timezone.
172
+ # syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables)
173
+ # has to be used instead. In both cases, tables are sharded based on UTC
174
+ # timezone.
175
175
  # @!attribute [r] uses_timestamp_column_partitioning
176
176
  # @return [::Boolean]
177
177
  # Output only. True if new timestamp column based partitioning is in use,
@@ -449,9 +449,10 @@ module Google
449
449
  # Optional. A description of this exclusion.
450
450
  # @!attribute [rw] filter
451
451
  # @return [::String]
452
- # Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries)
453
- # that matches the log entries to be excluded. By using the
454
- # [sample function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
452
+ # Required. An [advanced logs
453
+ # filter](https://cloud.google.com/logging/docs/view/advanced-queries) that
454
+ # matches the log entries to be excluded. By using the [sample
455
+ # function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
455
456
  # you can exclude less than 100% of the matching log entries.
456
457
  # For example, the following query matches 99% of low-severity log
457
458
  # entries from Google Cloud Storage buckets:
@@ -601,8 +602,9 @@ module Google
601
602
  # The parameters to
602
603
  # {::Google::Cloud::Logging::V2::ConfigServiceV2::Client#get_cmek_settings GetCmekSettings}.
603
604
  #
604
- # See [Enabling CMEK for Logs Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
605
- # for more information.
605
+ # See [Enabling CMEK for Logs
606
+ # Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
607
+ # more information.
606
608
  # @!attribute [rw] name
607
609
  # @return [::String]
608
610
  # Required. The resource for which to retrieve CMEK settings.
@@ -625,8 +627,9 @@ module Google
625
627
  # The parameters to
626
628
  # {::Google::Cloud::Logging::V2::ConfigServiceV2::Client#update_cmek_settings UpdateCmekSettings}.
627
629
  #
628
- # See [Enabling CMEK for Logs Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
629
- # for more information.
630
+ # See [Enabling CMEK for Logs
631
+ # Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
632
+ # more information.
630
633
  # @!attribute [rw] name
631
634
  # @return [::String]
632
635
  # Required. The resource name for the CMEK settings to update.
@@ -646,7 +649,8 @@ module Google
646
649
  # Required. The CMEK settings to update.
647
650
  #
648
651
  # See [Enabling CMEK for Logs
649
- # Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
652
+ # Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
653
+ # for more information.
650
654
  # @!attribute [rw] update_mask
651
655
  # @return [::Google::Protobuf::FieldMask]
652
656
  # Optional. Field mask identifying which fields from `cmek_settings` should
@@ -668,8 +672,9 @@ module Google
668
672
  # organizations. Once configured, it applies to all projects and folders in the
669
673
  # GCP organization.
670
674
  #
671
- # See [Enabling CMEK for Logs Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
672
- # for more information.
675
+ # See [Enabling CMEK for Logs
676
+ # Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
677
+ # more information.
673
678
  # @!attribute [r] name
674
679
  # @return [::String]
675
680
  # Output only. The resource name of the CMEK settings.
@@ -698,7 +703,8 @@ module Google
698
703
  # To disable CMEK for the Logs Router, set this field to an empty string.
699
704
  #
700
705
  # See [Enabling CMEK for Logs
701
- # Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
706
+ # Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
707
+ # for more information.
702
708
  # @!attribute [r] service_account_id
703
709
  # @return [::String]
704
710
  # Output only. The service account that will be used by the Logs Router to access your
@@ -711,7 +717,8 @@ module Google
711
717
  # obtain the service account ID.
712
718
  #
713
719
  # See [Enabling CMEK for Logs
714
- # Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
720
+ # Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
721
+ # for more information.
715
722
  class CmekSettings
716
723
  include ::Google::Protobuf::MessageExts
717
724
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -49,9 +49,9 @@ module Google
49
49
  # The maximum length of the description is 8000 characters.
50
50
  # @!attribute [rw] filter
51
51
  # @return [::String]
52
- # Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters) which is
53
- # used to match log entries.
54
- # Example:
52
+ # Required. An [advanced logs
53
+ # filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
54
+ # is used to match log entries. Example:
55
55
  #
56
56
  # "resource.type=gae_app AND severity>=ERROR"
57
57
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-logging-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-07 00:00:00.000000000 Z
11
+ date: 2020-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common