google-cloud-logging 1.3.1 → 1.3.2

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: 7508ce0ad219483a9a7080088c34e6e004b1e3a1d3ccb8a94fe7266a4bc73aa1
4
- data.tar.gz: 5b78941210458eca6f4e7a8135022066f6c033bb535195b78355a40f90b881c9
3
+ metadata.gz: de3d32033c1aaa09b589944757546848d6a811f6ee70d106a6e7590c09d0cbb2
4
+ data.tar.gz: 184f4c46167679f9e0b835036ba7e5d4243fcc613812f27324ae7d91440ccd96
5
5
  SHA512:
6
- metadata.gz: d8bb6191a3526f090d8d6ad421c0f5be39f32abade8fb96c96274abbf523b55ece4aa827a8792b77acc6e81183fe4735838410829a4c4aae547b66068eb13b6c
7
- data.tar.gz: e5918c45cbb8e002fa2211f2c4230b7cd8bae6adfb7d2b62aa193b837b11d5a424bde85af22c3b5e20659c9e596fc1f3e51189148677fc9890f277d5857e25f4
6
+ metadata.gz: 8e4f377828ac5cbc3e5213ce93b3442c5b7d1cac764f0367700d0749536dee524de8f1a027e458e2e6b6f1506d990c17d9255defc5f669be6e300cb57ea9a0ab
7
+ data.tar.gz: 0df8f47221c4fa904942fc72d0e93aac51e7f9dc7c3cef76edb63b3eafd625cea5bec024d00f0e5f2e31f72f883f844413733ada9ee15afe1ee93e254f65fe8c
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -334,7 +334,7 @@ module Google
334
334
  # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
335
335
  # "folders/[FOLDER_ID]/sinks/[SINK_ID]"
336
336
  #
337
- # Example: +"projects/my-project/sinks/my-sink-id"+.
337
+ # Example: +"projects/my-project-id/sinks/my-sink-id"+.
338
338
  # @param options [Google::Gax::CallOptions]
339
339
  # Overrides the default settings for this call, e.g, timeout,
340
340
  # retries, etc.
@@ -358,8 +358,7 @@ module Google
358
358
  end
359
359
 
360
360
  # Creates a sink that exports specified log entries to a destination. The
361
- # export of newly-ingested log entries begins immediately, unless the current
362
- # time is outside the sink's start and end times or the sink's
361
+ # export of newly-ingested log entries begins immediately, unless the sink's
363
362
  # +writer_identity+ is not permitted to write to the destination. A sink can
364
363
  # export log entries only from the resource owning the sink.
365
364
  #
@@ -417,8 +416,7 @@ module Google
417
416
  end
418
417
 
419
418
  # Updates a sink. This method replaces the following fields in the existing
420
- # sink with values from the new sink: +destination+, +filter+,
421
- # +output_version_format+, +start_time+, and +end_time+.
419
+ # sink with values from the new sink: +destination+, and +filter+.
422
420
  # The updated sink might also have a new +writer_identity+; see the
423
421
  # +unique_writer_identity+ field.
424
422
  #
@@ -431,7 +429,7 @@ module Google
431
429
  # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
432
430
  # "folders/[FOLDER_ID]/sinks/[SINK_ID]"
433
431
  #
434
- # Example: +"projects/my-project/sinks/my-sink-id"+.
432
+ # Example: +"projects/my-project-id/sinks/my-sink-id"+.
435
433
  # @param sink [Google::Logging::V2::LogSink | Hash]
436
434
  # Required. The updated sink, whose name is the same identifier that appears
437
435
  # as part of +sink_name+.
@@ -450,6 +448,23 @@ module Google
450
448
  # +writer_identity+ is changed to a unique service account.
451
449
  # * It is an error if the old value is true and the new value is
452
450
  # set to false or defaulted to false.
451
+ # @param update_mask [Google::Protobuf::FieldMask | Hash]
452
+ # Optional. Field mask that specifies the fields in +sink+ that need
453
+ # an update. A sink field will be overwritten if, and only if, it is
454
+ # in the update mask. +name+ and output only fields cannot be updated.
455
+ #
456
+ # An empty updateMask is temporarily treated as using the following mask
457
+ # for backwards compatibility purposes:
458
+ # destination,filter,includeChildren
459
+ # At some point in the future, behavior will be removed and specifying an
460
+ # empty updateMask will be an error.
461
+ #
462
+ # For a detailed +FieldMask+ definition, see
463
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
464
+ #
465
+ # Example: +updateMask=filter+.
466
+ # A hash of the same form as `Google::Protobuf::FieldMask`
467
+ # can also be provided.
453
468
  # @param options [Google::Gax::CallOptions]
454
469
  # Overrides the default settings for this call, e.g, timeout,
455
470
  # retries, etc.
@@ -467,11 +482,13 @@ module Google
467
482
  sink_name,
468
483
  sink,
469
484
  unique_writer_identity: nil,
485
+ update_mask: nil,
470
486
  options: nil
471
487
  req = {
472
488
  sink_name: sink_name,
473
489
  sink: sink,
474
- unique_writer_identity: unique_writer_identity
490
+ unique_writer_identity: unique_writer_identity,
491
+ update_mask: update_mask
475
492
  }.delete_if { |_, v| v.nil? }
476
493
  req = Google::Gax::to_proto(req, Google::Logging::V2::UpdateSinkRequest)
477
494
  @update_sink.call(req, options)
@@ -489,7 +506,7 @@ module Google
489
506
  # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
490
507
  # "folders/[FOLDER_ID]/sinks/[SINK_ID]"
491
508
  #
492
- # Example: +"projects/my-project/sinks/my-sink-id"+.
509
+ # Example: +"projects/my-project-id/sinks/my-sink-id"+.
493
510
  # @param options [Google::Gax::CallOptions]
494
511
  # Overrides the default settings for this call, e.g, timeout,
495
512
  # retries, etc.
@@ -577,7 +594,7 @@ module Google
577
594
  # "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
578
595
  # "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
579
596
  #
580
- # Example: +"projects/my-project/exclusions/my-exclusion-id"+.
597
+ # Example: +"projects/my-project-id/exclusions/my-exclusion-id"+.
581
598
  # @param options [Google::Gax::CallOptions]
582
599
  # Overrides the default settings for this call, e.g, timeout,
583
600
  # retries, etc.
@@ -653,7 +670,7 @@ module Google
653
670
  # "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
654
671
  # "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
655
672
  #
656
- # Example: +"projects/my-project/exclusions/my-exclusion-id"+.
673
+ # Example: +"projects/my-project-id/exclusions/my-exclusion-id"+.
657
674
  # @param exclusion [Google::Logging::V2::LogExclusion | Hash]
658
675
  # Required. New values for the existing exclusion. Only the fields specified
659
676
  # in +update_mask+ are relevant.
@@ -707,7 +724,7 @@ module Google
707
724
  # "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
708
725
  # "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
709
726
  #
710
- # Example: +"projects/my-project/exclusions/my-exclusion-id"+.
727
+ # Example: +"projects/my-project-id/exclusions/my-exclusion-id"+.
711
728
  # @param options [Google::Gax::CallOptions]
712
729
  # Overrides the default settings for this call, e.g, timeout,
713
730
  # retries, etc.
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -24,9 +24,9 @@ module Google
24
24
  # that defines the scope of the metric type or of its data; and (2) the
25
25
  # metric's URL-encoded type, which also appears in the +type+ field of this
26
26
  # descriptor. For example, following is the resource name of a custom
27
- # metric within the GCP project +my-project+:
27
+ # metric within the GCP project +my-project-id+:
28
28
  #
29
- # "projects/my-project/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount"
29
+ # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount"
30
30
  # @!attribute [rw] type
31
31
  # @return [String]
32
32
  # The metric type, including its DNS name prefix. The type is not
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -25,6 +25,10 @@ module Google
25
25
  # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
26
26
  # "folders/[FOLDER_ID]/logs/[LOG_ID]"
27
27
  #
28
+ # A project number may optionally be used in place of PROJECT_ID. The
29
+ # project number is translated to its corresponding PROJECT_ID internally
30
+ # and the +log_name+ field will contain PROJECT_ID in queries and exports.
31
+ #
28
32
  # +[LOG_ID]+ must be URL-encoded within +log_name+. Example:
29
33
  # +"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"+.
30
34
  # +[LOG_ID]+ must be less than 512 characters long and can only include the
@@ -98,6 +102,13 @@ module Google
98
102
  # If it contains a relative resource name, the name is assumed to be relative
99
103
  # to +//tracing.googleapis.com+. Example:
100
104
  # +projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824+
105
+ # @!attribute [rw] span_id
106
+ # @return [String]
107
+ # Optional. Id of the span within the trace associated with the log entry.
108
+ # e.g. "0000000000000042"
109
+ # For Stackdriver trace spans, this is the same format that the Stackdriver
110
+ # trace API uses.
111
+ # The ID is a 16-character hexadecimal encoding of an 8-byte array.
101
112
  # @!attribute [rw] source_location
102
113
  # @return [Google::Logging::V2::LogEntrySourceLocation]
103
114
  # Optional. Source code location information associated with the log entry,
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -19,9 +19,9 @@ module Google
19
19
  #
20
20
  # | Class | Description |
21
21
  # | ----- | ----------- |
22
- # | [LoggingServiceV2Client][] | The Stackdriver Logging API lets you write log entries and manage your logs, log sinks and logs-based metrics. |
23
- # | [ConfigServiceV2Client][] | The Stackdriver Logging API lets you write log entries and manage your logs, log sinks and logs-based metrics. |
24
- # | [MetricsServiceV2Client][] | The Stackdriver Logging API lets you write log entries and manage your logs, log sinks and logs-based metrics. |
22
+ # | [LoggingServiceV2Client][] | Writes log entries and manages your Stackdriver Logging configuration. |
23
+ # | [ConfigServiceV2Client][] | Writes log entries and manages your Stackdriver Logging configuration. |
24
+ # | [MetricsServiceV2Client][] | Writes log entries and manages your Stackdriver Logging configuration. |
25
25
  # | [Data Types][] | Data types for Google::Cloud::Logging::V2 |
26
26
  #
27
27
  # [LoggingServiceV2Client]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/logging/v2/loggingservicev2client
@@ -41,7 +41,7 @@ module Google
41
41
  # "folders/[FOLDER_ID]/logs/[LOG_ID]"
42
42
  #
43
43
  # +[LOG_ID]+ must be URL-encoded. For example,
44
- # +"projects/my-project/logs/syslog"+,
44
+ # +"projects/my-project-id/logs/syslog"+,
45
45
  # +"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"+.
46
46
  # For more information about log names, see
47
47
  # {Google::Logging::V2::LogEntry LogEntry}.
@@ -59,7 +59,7 @@ module Google
59
59
  # "folders/[FOLDER_ID]/logs/[LOG_ID]"
60
60
  #
61
61
  # +[LOG_ID]+ must be URL-encoded. For example,
62
- # +"projects/my-project/logs/syslog"+ or
62
+ # +"projects/my-project-id/logs/syslog"+ or
63
63
  # +"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"+.
64
64
  # For more information about log names, see
65
65
  # {Google::Logging::V2::LogEntry LogEntry}.
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -19,9 +19,9 @@ module Google
19
19
  #
20
20
  # | Class | Description |
21
21
  # | ----- | ----------- |
22
- # | [LoggingServiceV2Client][] | The Stackdriver Logging API lets you write log entries and manage your logs, log sinks and logs-based metrics. |
23
- # | [ConfigServiceV2Client][] | The Stackdriver Logging API lets you write log entries and manage your logs, log sinks and logs-based metrics. |
24
- # | [MetricsServiceV2Client][] | The Stackdriver Logging API lets you write log entries and manage your logs, log sinks and logs-based metrics. |
22
+ # | [LoggingServiceV2Client][] | Writes log entries and manages your Stackdriver Logging configuration. |
23
+ # | [ConfigServiceV2Client][] | Writes log entries and manages your Stackdriver Logging configuration. |
24
+ # | [MetricsServiceV2Client][] | Writes log entries and manages your Stackdriver Logging configuration. |
25
25
  # | [Data Types][] | Data types for Google::Cloud::Logging::V2 |
26
26
  #
27
27
  # [LoggingServiceV2Client]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/logging/v2/loggingservicev2client
@@ -59,8 +59,7 @@ module Google
59
59
  # Optional.
60
60
  # An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters). The only
61
61
  # exported log entries are those that are in the resource owning the sink and
62
- # that match the filter. The filter must use the log entry format specified
63
- # by the +output_version_format+ parameter. For example, in the v2 format:
62
+ # that match the filter. For example:
64
63
  #
65
64
  # logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
66
65
  # @!attribute [rw] output_version_format
@@ -100,17 +99,10 @@ module Google
100
99
  # resource.type=gce_instance
101
100
  # @!attribute [rw] start_time
102
101
  # @return [Google::Protobuf::Timestamp]
103
- # Optional. The time at which this sink will begin exporting log entries.
104
- # Log entries are exported only if their timestamp is not earlier than the
105
- # start time. The default value of this field is the time the sink is
106
- # created or updated.
102
+ # Deprecated. This field is ignored when creating or updating sinks.
107
103
  # @!attribute [rw] end_time
108
104
  # @return [Google::Protobuf::Timestamp]
109
- # Optional. The time at which this sink will stop exporting log entries. Log
110
- # entries are exported only if their timestamp is earlier than the end time.
111
- # If this field is not supplied, there is no end time. If both a start time
112
- # and an end time are provided, then the end time must be later than the
113
- # start time.
105
+ # Deprecated. This field is ignored when creating or updating sinks.
114
106
  class LogSink
115
107
  # Available log entry formats. Log entries can be written to Stackdriver
116
108
  # Logging in either format and can be exported in either format.
@@ -170,7 +162,7 @@ module Google
170
162
  # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
171
163
  # "folders/[FOLDER_ID]/sinks/[SINK_ID]"
172
164
  #
173
- # Example: +"projects/my-project/sinks/my-sink-id"+.
165
+ # Example: +"projects/my-project-id/sinks/my-sink-id"+.
174
166
  class GetSinkRequest; end
175
167
 
176
168
  # The parameters to +CreateSink+.
@@ -214,7 +206,7 @@ module Google
214
206
  # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
215
207
  # "folders/[FOLDER_ID]/sinks/[SINK_ID]"
216
208
  #
217
- # Example: +"projects/my-project/sinks/my-sink-id"+.
209
+ # Example: +"projects/my-project-id/sinks/my-sink-id"+.
218
210
  # @!attribute [rw] sink
219
211
  # @return [Google::Logging::V2::LogSink]
220
212
  # Required. The updated sink, whose name is the same identifier that appears
@@ -233,6 +225,22 @@ module Google
233
225
  # +writer_identity+ is changed to a unique service account.
234
226
  # * It is an error if the old value is true and the new value is
235
227
  # set to false or defaulted to false.
228
+ # @!attribute [rw] update_mask
229
+ # @return [Google::Protobuf::FieldMask]
230
+ # Optional. Field mask that specifies the fields in +sink+ that need
231
+ # an update. A sink field will be overwritten if, and only if, it is
232
+ # in the update mask. +name+ and output only fields cannot be updated.
233
+ #
234
+ # An empty updateMask is temporarily treated as using the following mask
235
+ # for backwards compatibility purposes:
236
+ # destination,filter,includeChildren
237
+ # At some point in the future, behavior will be removed and specifying an
238
+ # empty updateMask will be an error.
239
+ #
240
+ # For a detailed +FieldMask+ definition, see
241
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
242
+ #
243
+ # Example: +updateMask=filter+.
236
244
  class UpdateSinkRequest; end
237
245
 
238
246
  # The parameters to +DeleteSink+.
@@ -246,7 +254,7 @@ module Google
246
254
  # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
247
255
  # "folders/[FOLDER_ID]/sinks/[SINK_ID]"
248
256
  #
249
- # Example: +"projects/my-project/sinks/my-sink-id"+.
257
+ # Example: +"projects/my-project-id/sinks/my-sink-id"+.
250
258
  class DeleteSinkRequest; end
251
259
 
252
260
  # Specifies a set of log entries that are not to be stored in Stackdriver
@@ -325,7 +333,7 @@ module Google
325
333
  # "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
326
334
  # "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
327
335
  #
328
- # Example: +"projects/my-project/exclusions/my-exclusion-id"+.
336
+ # Example: +"projects/my-project-id/exclusions/my-exclusion-id"+.
329
337
  class GetExclusionRequest; end
330
338
 
331
339
  # The parameters to +CreateExclusion+.
@@ -355,7 +363,7 @@ module Google
355
363
  # "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
356
364
  # "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
357
365
  #
358
- # Example: +"projects/my-project/exclusions/my-exclusion-id"+.
366
+ # Example: +"projects/my-project-id/exclusions/my-exclusion-id"+.
359
367
  # @!attribute [rw] exclusion
360
368
  # @return [Google::Logging::V2::LogExclusion]
361
369
  # Required. New values for the existing exclusion. Only the fields specified
@@ -381,7 +389,7 @@ module Google
381
389
  # "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
382
390
  # "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
383
391
  #
384
- # Example: +"projects/my-project/exclusions/my-exclusion-id"+.
392
+ # Example: +"projects/my-project-id/exclusions/my-exclusion-id"+.
385
393
  class DeleteExclusionRequest; end
386
394
  end
387
395
  end
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -19,9 +19,9 @@ module Google
19
19
  #
20
20
  # | Class | Description |
21
21
  # | ----- | ----------- |
22
- # | [LoggingServiceV2Client][] | The Stackdriver Logging API lets you write log entries and manage your logs, log sinks and logs-based metrics. |
23
- # | [ConfigServiceV2Client][] | The Stackdriver Logging API lets you write log entries and manage your logs, log sinks and logs-based metrics. |
24
- # | [MetricsServiceV2Client][] | The Stackdriver Logging API lets you write log entries and manage your logs, log sinks and logs-based metrics. |
22
+ # | [LoggingServiceV2Client][] | Writes log entries and manages your Stackdriver Logging configuration. |
23
+ # | [ConfigServiceV2Client][] | Writes log entries and manages your Stackdriver Logging configuration. |
24
+ # | [MetricsServiceV2Client][] | Writes log entries and manages your Stackdriver Logging configuration. |
25
25
  # | [Data Types][] | Data types for Google::Cloud::Logging::V2 |
26
26
  #
27
27
  # [LoggingServiceV2Client]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/logging/v2/loggingservicev2client
@@ -33,7 +33,7 @@ module Google
33
33
  # Describes a logs-based metric. The value of the metric is the
34
34
  # number of log entries that match a logs filter in a given time interval.
35
35
  #
36
- # A logs-based metric can also be used to extract values from logs and create a
36
+ # Logs-based metric can also be used to extract values from logs and create a
37
37
  # a distribution of the values. The distribution records the statistics of the
38
38
  # extracted values along with an optional histogram of the values as specified
39
39
  # by the bucket options.
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -20,8 +20,7 @@ module Google
20
20
  # # Ruby Client for Stackdriver Logging API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-ruby#versioning))
21
21
  #
22
22
  # [Stackdriver Logging API][Product Documentation]:
23
- # The Stackdriver Logging API lets you write log entries and manage your logs,
24
- # log sinks and logs-based metrics.
23
+ # Writes log entries and manages your Stackdriver Logging configuration.
25
24
  # - [Product Documentation][]
26
25
  #
27
26
  # ## Quick Start
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -262,7 +262,7 @@ module Google
262
262
  # "folders/[FOLDER_ID]/logs/[LOG_ID]"
263
263
  #
264
264
  # +[LOG_ID]+ must be URL-encoded. For example,
265
- # +"projects/my-project/logs/syslog"+,
265
+ # +"projects/my-project-id/logs/syslog"+,
266
266
  # +"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"+.
267
267
  # For more information about log names, see
268
268
  # {Google::Logging::V2::LogEntry LogEntry}.
@@ -330,7 +330,7 @@ module Google
330
330
  # "folders/[FOLDER_ID]/logs/[LOG_ID]"
331
331
  #
332
332
  # +[LOG_ID]+ must be URL-encoded. For example,
333
- # +"projects/my-project/logs/syslog"+ or
333
+ # +"projects/my-project-id/logs/syslog"+ or
334
334
  # +"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"+.
335
335
  # For more information about log names, see
336
336
  # {Google::Logging::V2::LogEntry LogEntry}.
@@ -1,4 +1,4 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017, Google LLC All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Logging
19
- VERSION = "1.3.1"
19
+ VERSION = "1.3.2"
20
20
  end
21
21
  end
22
22
  end
@@ -22,6 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
22
  map :labels, :string, :string, 11
23
23
  optional :operation, :message, 15, "google.logging.v2.LogEntryOperation"
24
24
  optional :trace, :string, 22
25
+ optional :span_id, :string, 27
25
26
  optional :source_location, :message, 23, "google.logging.v2.LogEntrySourceLocation"
26
27
  oneof :payload do
27
28
  optional :proto_payload, :message, 2, "google.protobuf.Any"
@@ -44,6 +44,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
44
44
  optional :sink_name, :string, 1
45
45
  optional :sink, :message, 2, "google.logging.v2.LogSink"
46
46
  optional :unique_writer_identity, :bool, 3
47
+ optional :update_mask, :message, 4, "google.protobuf.FieldMask"
47
48
  end
48
49
  add_message "google.logging.v2.DeleteSinkRequest" do
49
50
  optional :sink_name, :string, 1
@@ -38,14 +38,12 @@ module Google
38
38
  # Gets a sink.
39
39
  rpc :GetSink, GetSinkRequest, LogSink
40
40
  # Creates a sink that exports specified log entries to a destination. The
41
- # export of newly-ingested log entries begins immediately, unless the current
42
- # time is outside the sink's start and end times or the sink's
41
+ # export of newly-ingested log entries begins immediately, unless the sink's
43
42
  # `writer_identity` is not permitted to write to the destination. A sink can
44
43
  # export log entries only from the resource owning the sink.
45
44
  rpc :CreateSink, CreateSinkRequest, LogSink
46
45
  # Updates a sink. This method replaces the following fields in the existing
47
- # sink with values from the new sink: `destination`, `filter`,
48
- # `output_version_format`, `start_time`, and `end_time`.
46
+ # sink with values from the new sink: `destination`, and `filter`.
49
47
  # The updated sink might also have a new `writer_identity`; see the
50
48
  # `unique_writer_identity` field.
51
49
  rpc :UpdateSink, UpdateSinkRequest, LogSink
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-11-16 00:00:00.000000000 Z
12
+ date: 2017-11-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core