google-cloud-logging 1.7.0 → 1.8.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: 9844d4e41540ef97cb06a18febc80c45155d6296032a532b31e26cc00a7eeca9
4
- data.tar.gz: 5e1b5a06346223d342873406bd87cea59d441458d88192f0000a0d4e43f006d1
3
+ metadata.gz: ee004a9efbc88d8ced69bdde05d9e4521d0cc9f1a006bbd6fdcb539f853e5582
4
+ data.tar.gz: 43343b033df5a5bd66aa8a9f7417ab6e7332da0ea9430b6855bdb52d6f88e834
5
5
  SHA512:
6
- metadata.gz: 787ed9af979f2bdb9211ce456e06d40e05b2c397dd1a0750e228ae7dd5ccc6f6a4d0b407a3afdbed2a59a80439bb8a13745f081dd1190aa9e43887c8b70992ba
7
- data.tar.gz: f4d201182423411533d12373d21199e659221364e5753d610cf2910b13eade54a15da8843a33867b43d771bc2d3048daeae5edac18ed1f4f19f32f4c94e33d17
6
+ metadata.gz: 47cb8309e35749c7ba29f543d71e8b669ace098e685d549e6f535199d0cb773ce079fae304151270cf2fb1f38c5e5160e1029c32aba913659ec80e344a7fc99a
7
+ data.tar.gz: 8cc34860166a40a49b94c5605ae96443cf5c2d7030eea726ffd17b7f431aa36a6f03855cb71bc3e9e2b6f3a3d615162c61ae283d12eb96d998e0c46d2b75ec5c
@@ -1,5 +1,16 @@
1
1
  # Release History
2
2
 
3
+ ### 1.8.0 / 2019-10-03
4
+
5
+ #### Features
6
+
7
+ * Support additional fields of LogSink in the low-level interface
8
+ * Add LogSink#create_time field
9
+ * Add LogSink#update_time field
10
+ * Add LogSink#bigquery_options field
11
+ * Add BigQueryOptions type
12
+ * Update documentation
13
+
3
14
  ### 1.7.0 / 2019-08-23
4
15
 
5
16
  #### Features
@@ -33,8 +33,7 @@ module Google
33
33
  module Cloud
34
34
  module Logging
35
35
  module V2
36
- # Service for configuring sinks used to export log entries out of
37
- # Logging.
36
+ # Service for configuring sinks used to route log entries.
38
37
  #
39
38
  # @!attribute [r] config_service_v2_stub
40
39
  # @return [Google::Logging::V2::ConfigServiceV2::Stub]
@@ -562,9 +561,9 @@ module Google
562
561
  @get_sink.call(req, options, &block)
563
562
  end
564
563
 
565
- # Creates a sink that exports specified log entries to a destination. The
564
+ # Creates a sink that exports specified log entries to a destination. The
566
565
  # export of newly-ingested log entries begins immediately, unless the sink's
567
- # `writer_identity` is not permitted to write to the destination. A sink can
566
+ # `writer_identity` is not permitted to write to the destination. A sink can
568
567
  # export log entries only from the resource owning the sink.
569
568
  #
570
569
  # @param parent [String]
@@ -583,17 +582,16 @@ module Google
583
582
  # can also be provided.
584
583
  # @param unique_writer_identity [true, false]
585
584
  # Optional. Determines the kind of IAM identity returned as `writer_identity`
586
- # in the new sink. If this value is omitted or set to false, and if the
585
+ # in the new sink. If this value is omitted or set to false, and if the
587
586
  # sink's parent is a project, then the value returned as `writer_identity` is
588
- # the same group or service account used by Logging before the
589
- # addition of writer identities to this API. The sink's destination must be
590
- # in the same project as the sink itself.
587
+ # the same group or service account used by Logging before the addition of
588
+ # writer identities to this API. The sink's destination must be in the same
589
+ # project as the sink itself.
591
590
  #
592
591
  # If this field is set to true, or if the sink is owned by a non-project
593
592
  # resource such as an organization, then the value of `writer_identity` will
594
- # be a unique service account used only for exports from the new sink. For
595
- # more information, see `writer_identity` in
596
- # {Google::Logging::V2::LogSink LogSink}.
593
+ # be a unique service account used only for exports from the new sink. For
594
+ # more information, see `writer_identity` in {Google::Logging::V2::LogSink LogSink}.
597
595
  # @param options [Google::Gax::CallOptions]
598
596
  # Overrides the default settings for this call, e.g, timeout,
599
597
  # retries, etc.
@@ -627,8 +625,9 @@ module Google
627
625
  @create_sink.call(req, options, &block)
628
626
  end
629
627
 
630
- # Updates a sink. This method replaces the following fields in the existing
628
+ # Updates a sink. This method replaces the following fields in the existing
631
629
  # sink with values from the new sink: `destination`, and `filter`.
630
+ #
632
631
  # The updated sink might also have a new `writer_identity`; see the
633
632
  # `unique_writer_identity` field.
634
633
  #
@@ -648,9 +647,8 @@ module Google
648
647
  # A hash of the same form as `Google::Logging::V2::LogSink`
649
648
  # can also be provided.
650
649
  # @param unique_writer_identity [true, false]
651
- # Optional. See
652
- # [sinks.create](https://cloud.google.com/logging/docs/api/reference/rest/v2/projects.sinks/create)
653
- # for a description of this field. When updating a sink, the effect of this
650
+ # Optional. See {Google::Logging::V2::ConfigServiceV2#create_sink}
651
+ # for a description of this field. When updating a sink, the effect of this
654
652
  # field on the value of `writer_identity` in the updated sink depends on both
655
653
  # the old and new values of this field:
656
654
  #
@@ -663,7 +661,7 @@ module Google
663
661
  # @param update_mask [Google::Protobuf::FieldMask | Hash]
664
662
  # Optional. Field mask that specifies the fields in `sink` that need
665
663
  # an update. A sink field will be overwritten if, and only if, it is
666
- # in the update mask. `name` and output only fields cannot be updated.
664
+ # in the update mask. `name` and output only fields cannot be updated.
667
665
  #
668
666
  # An empty updateMask is temporarily treated as using the following mask
669
667
  # for backwards compatibility purposes:
@@ -913,11 +911,10 @@ module Google
913
911
  # A hash of the same form as `Google::Logging::V2::LogExclusion`
914
912
  # can also be provided.
915
913
  # @param update_mask [Google::Protobuf::FieldMask | Hash]
916
- # Required. A nonempty list of fields to change in the existing exclusion.
914
+ # Required. A non-empty list of fields to change in the existing exclusion.
917
915
  # New values for the fields are taken from the corresponding fields in the
918
- # {Google::Logging::V2::LogExclusion LogExclusion} included in this request.
919
- # Fields not mentioned in `update_mask` are not changed and are ignored in
920
- # the request.
916
+ # {Google::Logging::V2::LogExclusion LogExclusion} included in this request. Fields not mentioned in
917
+ # `update_mask` are not changed and are ignored in the request.
921
918
  #
922
919
  # For example, to change the filter and description of an exclusion,
923
920
  # specify an `update_mask` of `"filter,description"`.
@@ -26,9 +26,9 @@ module Google
26
26
  # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
27
27
  # "folders/[FOLDER_ID]/logs/[LOG_ID]"
28
28
  #
29
- # A project number may optionally be used in place of PROJECT_ID. The
30
- # project number is translated to its corresponding PROJECT_ID internally
31
- # and the `log_name` field will contain PROJECT_ID in queries and exports.
29
+ # A project number may optionally be used in place of PROJECT_ID. The project
30
+ # number is translated to its corresponding PROJECT_ID internally and the
31
+ # `log_name` field will contain PROJECT_ID in queries and exports.
32
32
  #
33
33
  # `[LOG_ID]` must be URL-encoded within `log_name`. Example:
34
34
  # `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
@@ -43,15 +43,21 @@ module Google
43
43
  # any results.
44
44
  # @!attribute [rw] resource
45
45
  # @return [Google::Api::MonitoredResource]
46
- # Required. The primary monitored resource associated with this log entry.
47
- # Example: a log entry that reports a database error would be
48
- # associated with the monitored resource designating the particular
49
- # database that reported the error.
46
+ # Required. The monitored resource that produced this log entry.
47
+ #
48
+ # Example: a log entry that reports a database error would be associated with
49
+ # the monitored resource designating the particular database that reported
50
+ # the error.
50
51
  # @!attribute [rw] proto_payload
51
52
  # @return [Google::Protobuf::Any]
52
- # The log entry payload, represented as a protocol buffer. Some
53
- # Google Cloud Platform services use this field for their log
54
- # entry payloads.
53
+ # The log entry payload, represented as a protocol buffer. Some Google
54
+ # Cloud Platform services use this field for their log entry payloads.
55
+ #
56
+ # The following protocol buffer types are supported; user-defined types
57
+ # are not supported:
58
+ #
59
+ # "type.googleapis.com/google.cloud.audit.AuditLog"
60
+ # "type.googleapis.com/google.appengine.logging.v1.RequestLog"
55
61
  # @!attribute [rw] text_payload
56
62
  # @return [String]
57
63
  # The log entry payload, represented as a Unicode string (UTF-8).
@@ -61,19 +67,18 @@ module Google
61
67
  # expressed as a JSON object.
62
68
  # @!attribute [rw] timestamp
63
69
  # @return [Google::Protobuf::Timestamp]
64
- # Optional. The time the event described by the log entry occurred.
65
- # This time is used to compute the log entry's age and to enforce
66
- # the logs retention period. If this field is omitted in a new log
67
- # entry, then Logging assigns it the current time.
68
- # Timestamps have nanosecond accuracy, but trailing zeros in the fractional
69
- # seconds might be omitted when the timestamp is displayed.
70
+ # Optional. The time the event described by the log entry occurred. This
71
+ # time is used to compute the log entry's age and to enforce the logs
72
+ # retention period. If this field is omitted in a new log entry, then Logging
73
+ # assigns it the current time. Timestamps have nanosecond accuracy, but
74
+ # trailing zeros in the fractional seconds might be omitted when the
75
+ # timestamp is displayed.
70
76
  #
71
- # Incoming log entries should have timestamps that are no more than
72
- # the [logs retention period](https://cloud.google.com/logging/quotas) in the past,
73
- # and no more than 24 hours in the future. Log entries outside those time
74
- # boundaries will not be available when calling `entries.list`, but
75
- # those log entries can still be exported with
76
- # [LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
77
+ # Incoming log entries should have timestamps that are no more than the [logs
78
+ # retention period](/logging/quotas) in the past, and no more than 24 hours
79
+ # in the future. Log entries outside those time boundaries will not be
80
+ # available when calling `entries.list`, but those log entries can still be
81
+ # [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
77
82
  # @!attribute [rw] receive_timestamp
78
83
  # @return [Google::Protobuf::Timestamp]
79
84
  # Output only. The time the log entry was received by Logging.
@@ -84,24 +89,30 @@ module Google
84
89
  # @!attribute [rw] insert_id
85
90
  # @return [String]
86
91
  # Optional. A unique identifier for the log entry. If you provide a value,
87
- # then Logging considers other log entries in the same project,
88
- # with the same `timestamp`, and with the same `insert_id` to be duplicates
89
- # which can be removed. If omitted in new log entries, then
90
- # Logging assigns its own unique identifier. The `insert_id` is also used
91
- # to order log entries that have the same `timestamp` value.
92
+ # then Logging considers other log entries in the same project, with the same
93
+ # `timestamp`, and with the same `insert_id` to be duplicates which can be
94
+ # removed. If omitted in new log entries, then Logging assigns its own unique
95
+ # identifier. The `insert_id` is also used to order log entries that have the
96
+ # same `timestamp` value.
92
97
  # @!attribute [rw] http_request
93
98
  # @return [Google::Logging::Type::HttpRequest]
94
- # Optional. Information about the HTTP request associated with this
95
- # log entry, if applicable.
99
+ # Optional. Information about the HTTP request associated with this log
100
+ # entry, if applicable.
96
101
  # @!attribute [rw] labels
97
102
  # @return [Hash{String => String}]
98
103
  # Optional. A set of user-defined (key, value) data that provides additional
99
104
  # information about the log entry.
100
105
  # @!attribute [rw] metadata
101
106
  # @return [Google::Api::MonitoredResourceMetadata]
102
- # Output only. Additional metadata about the monitored resource.
107
+ # Deprecated. Output only. Additional metadata about the monitored resource.
108
+ #
103
109
  # Only `k8s_container`, `k8s_pod`, and `k8s_node` MonitoredResources have
104
- # this field populated.
110
+ # this field populated for GKE versions older than 1.12.6. For GKE versions
111
+ # 1.12.6 and above, the `metadata` field has been deprecated. The Kubernetes
112
+ # pod labels that used to be in `metadata.userLabels` will now be present in
113
+ # the `labels` field with a key prefix of `k8s-pod/`. The Stackdriver system
114
+ # labels that were present in the `metadata.systemLabels` field will no
115
+ # longer be available in the LogEntry.
105
116
  # @!attribute [rw] operation
106
117
  # @return [Google::Logging::V2::LogEntryOperation]
107
118
  # Optional. Information about an operation associated with the log entry, if
@@ -115,12 +126,14 @@ module Google
115
126
  # @!attribute [rw] span_id
116
127
  # @return [String]
117
128
  # Optional. The span ID within the trace associated with the log entry.
118
- # For Trace spans, this is the same format that the Trace
119
- # API v2 uses: a 16-character hexadecimal encoding of an 8-byte array, such
120
- # as <code>"000000000000004a"</code>.
129
+ #
130
+ # For Trace spans, this is the same format that the Trace API v2 uses: a
131
+ # 16-character hexadecimal encoding of an 8-byte array, such as
132
+ # <code>"000000000000004a"</code>.
121
133
  # @!attribute [rw] trace_sampled
122
134
  # @return [true, false]
123
135
  # Optional. The sampling decision of the trace associated with the log entry.
136
+ #
124
137
  # True means that the trace resource name in the `trace` field was sampled
125
138
  # for storage in a trace backend. False means that the trace was not sampled
126
139
  # for storage when this log entry was written, or the sampling decision was
@@ -136,12 +149,12 @@ module Google
136
149
  # a log entry is associated.
137
150
  # @!attribute [rw] id
138
151
  # @return [String]
139
- # Optional. An arbitrary operation identifier. Log entries with the
140
- # same identifier are assumed to be part of the same operation.
152
+ # Optional. An arbitrary operation identifier. Log entries with the same
153
+ # identifier are assumed to be part of the same operation.
141
154
  # @!attribute [rw] producer
142
155
  # @return [String]
143
- # Optional. An arbitrary producer identifier. The combination of
144
- # `id` and `producer` must be globally unique. Examples for `producer`:
156
+ # Optional. An arbitrary producer identifier. The combination of `id` and
157
+ # `producer` must be globally unique. Examples for `producer`:
145
158
  # `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
146
159
  # @!attribute [rw] first
147
160
  # @return [true, false]
@@ -87,8 +87,8 @@ module Google
87
87
  # Log entries with timestamps that are more than the
88
88
  # [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than
89
89
  # 24 hours in the future will not be available when calling `entries.list`.
90
- # However, those log entries can still be exported with
91
- # [LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
90
+ # However, those log entries can still be
91
+ # [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
92
92
  #
93
93
  # To improve throughput and to avoid exceeding the
94
94
  # [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`,
@@ -117,9 +117,7 @@ module Google
117
117
  # @return [Array<String>]
118
118
  # Deprecated. Use `resource_names` instead. One or more project identifiers
119
119
  # or project numbers from which to retrieve log entries. Example:
120
- # `"my-project-1A"`. If present, these project identifiers are converted to
121
- # resource name format and added to the list of resources in
122
- # `resource_names`.
120
+ # `"my-project-1A"`.
123
121
  # @!attribute [rw] resource_names
124
122
  # @return [Array<String>]
125
123
  # Required. Names of one or more parent resources from which to
@@ -130,6 +128,7 @@ module Google
130
128
  # "billingAccounts/[BILLING_ACCOUNT_ID]"
131
129
  # "folders/[FOLDER_ID]"
132
130
  #
131
+ #
133
132
  # Projects listed in the `project_ids` field are added to this list.
134
133
  # @!attribute [rw] filter
135
134
  # @return [String]
@@ -232,8 +231,8 @@ module Google
232
231
  # @!attribute [rw] log_names
233
232
  # @return [Array<String>]
234
233
  # A list of log names. For example,
235
- # `"projects/my-project/syslog"` or
236
- # `"organizations/123/cloudresourcemanager.googleapis.com%2Factivity"`.
234
+ # `"projects/my-project/logs/syslog"` or
235
+ # `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
237
236
  # @!attribute [rw] next_page_token
238
237
  # @return [String]
239
238
  # If there might be more results than those appearing in this response, then
@@ -18,13 +18,13 @@ module Google
18
18
  module V2
19
19
  # Describes a sink used to export log entries to one of the following
20
20
  # destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a
21
- # Cloud Pub/Sub topic. A logs filter controls which log entries are
22
- # exported. The sink must be created within a project, organization, billing
23
- # account, or folder.
21
+ # Cloud Pub/Sub topic. A logs filter controls which log entries are exported.
22
+ # The sink must be created within a project, organization, billing account, or
23
+ # folder.
24
24
  # @!attribute [rw] name
25
25
  # @return [String]
26
26
  # Required. The client-assigned sink identifier, unique within the
27
- # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
27
+ # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
28
28
  # limited to 100 characters and can include only the following characters:
29
29
  # upper and lower-case alphanumeric characters, underscores, hyphens, and
30
30
  # periods.
@@ -38,34 +38,33 @@ module Google
38
38
  #
39
39
  # The sink's `writer_identity`, set when the sink is created, must
40
40
  # have permission to write to the destination or else the log
41
- # entries are not exported. For more information, see
42
- # [Exporting Logs With Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
41
+ # entries are not exported. For more information, see
42
+ # [Exporting Logs with Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
43
43
  # @!attribute [rw] filter
44
44
  # @return [String]
45
- # Optional.
46
- # An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters). The only
45
+ # Optional. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries). The only
47
46
  # exported log entries are those that are in the resource owning the sink and
48
- # that match the filter. For example:
47
+ # that match the filter. For example:
49
48
  #
50
49
  # logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
51
50
  # @!attribute [rw] output_version_format
52
51
  # @return [Google::Logging::V2::LogSink::VersionFormat]
53
52
  # Deprecated. The log entry format to use for this sink's exported log
54
- # entries. The v2 format is used by default and cannot be changed.
53
+ # entries. The v2 format is used by default and cannot be changed.
55
54
  # @!attribute [rw] writer_identity
56
55
  # @return [String]
57
56
  # Output only. An IAM identity&mdash;a service account or group&mdash;under
58
- # which Logging writes the exported log entries to the sink's
59
- # destination. This field is set by
60
- # [sinks.create](https://cloud.google.com/logging/docs/api/reference/rest/v2/projects.sinks/create)
57
+ # which Logging writes the exported log entries to the sink's destination.
58
+ # This field is set by
59
+ # {Google::Logging::V2::ConfigServiceV2#create_sink}
61
60
  # and
62
- # [sinks.update](https://cloud.google.com/logging/docs/api/reference/rest/v2/projects.sinks/update),
63
- # based on the setting of `unique_writer_identity` in those methods.
61
+ # {Google::Logging::V2::ConfigServiceV2#update_sink}
62
+ # based on the value of `unique_writer_identity` in those methods.
64
63
  #
65
64
  # Until you grant this identity write-access to the destination, log entry
66
65
  # exports from this sink will fail. For more information,
67
- # see [Granting access for a
68
- # resource](/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource).
66
+ # see [Granting Access for a
67
+ # Resource](/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource).
69
68
  # Consult the destination service's documentation to determine the
70
69
  # appropriate IAM roles to assign to the identity.
71
70
  # @!attribute [rw] include_children
@@ -83,12 +82,25 @@ module Google
83
82
  #
84
83
  # logName:("projects/test-project1/" OR "projects/test-project2/") AND
85
84
  # resource.type=gce_instance
85
+ # @!attribute [rw] bigquery_options
86
+ # @return [Google::Logging::V2::BigQueryOptions]
87
+ # Optional. Options that affect sinks exporting data to BigQuery.
88
+ # @!attribute [rw] create_time
89
+ # @return [Google::Protobuf::Timestamp]
90
+ # Output only. The creation timestamp of the sink.
91
+ #
92
+ # This field may not be present for older sinks.
93
+ # @!attribute [rw] update_time
94
+ # @return [Google::Protobuf::Timestamp]
95
+ # Output only. The last update timestamp of the sink.
96
+ #
97
+ # This field may not be present for older sinks.
86
98
  # @!attribute [rw] start_time
87
99
  # @return [Google::Protobuf::Timestamp]
88
- # Deprecated. This field is ignored when creating or updating sinks.
100
+ # Do not use. This field is ignored.
89
101
  # @!attribute [rw] end_time
90
102
  # @return [Google::Protobuf::Timestamp]
91
- # Deprecated. This field is ignored when creating or updating sinks.
103
+ # Do not use. This field is ignored.
92
104
  class LogSink
93
105
  # Available log entry formats. Log entries can be written to
94
106
  # Logging in either format and can be exported in either format.
@@ -105,6 +117,18 @@ module Google
105
117
  end
106
118
  end
107
119
 
120
+ # Options that change functionality of a sink exporting data to BigQuery.
121
+ # @!attribute [rw] use_partitioned_tables
122
+ # @return [true, false]
123
+ # Optional. Whether to use [BigQuery's partition
124
+ # tables](/bigquery/docs/partitioned-tables). By default, Logging
125
+ # creates dated tables based on the log entries' timestamps, e.g.
126
+ # syslog_20170523. With partitioned tables the date suffix is no longer
127
+ # present and [special query
128
+ # syntax](/bigquery/docs/querying-partitioned-tables) has to be used instead.
129
+ # In both cases, tables are sharded based on UTC timezone.
130
+ class BigQueryOptions; end
131
+
108
132
  # The parameters to `ListSinks`.
109
133
  # @!attribute [rw] parent
110
134
  # @return [String]
@@ -117,13 +141,13 @@ module Google
117
141
  # @!attribute [rw] page_token
118
142
  # @return [String]
119
143
  # Optional. If present, then retrieve the next batch of results from the
120
- # preceding call to this method. `pageToken` must be the value of
121
- # `nextPageToken` from the previous response. The values of other method
144
+ # preceding call to this method. `pageToken` must be the value of
145
+ # `nextPageToken` from the previous response. The values of other method
122
146
  # parameters should be identical to those in the previous call.
123
147
  # @!attribute [rw] page_size
124
148
  # @return [Integer]
125
149
  # Optional. The maximum number of results to return from this request.
126
- # Non-positive values are ignored. The presence of `nextPageToken` in the
150
+ # Non-positive values are ignored. The presence of `nextPageToken` in the
127
151
  # response indicates that more results might be available.
128
152
  class ListSinksRequest; end
129
153
 
@@ -134,7 +158,7 @@ module Google
134
158
  # @!attribute [rw] next_page_token
135
159
  # @return [String]
136
160
  # If there might be more results than appear in this response, then
137
- # `nextPageToken` is included. To get the next set of results, call the same
161
+ # `nextPageToken` is included. To get the next set of results, call the same
138
162
  # method again using the value of `nextPageToken` as `pageToken`.
139
163
  class ListSinksResponse; end
140
164
 
@@ -169,17 +193,16 @@ module Google
169
193
  # @!attribute [rw] unique_writer_identity
170
194
  # @return [true, false]
171
195
  # Optional. Determines the kind of IAM identity returned as `writer_identity`
172
- # in the new sink. If this value is omitted or set to false, and if the
196
+ # in the new sink. If this value is omitted or set to false, and if the
173
197
  # sink's parent is a project, then the value returned as `writer_identity` is
174
- # the same group or service account used by Logging before the
175
- # addition of writer identities to this API. The sink's destination must be
176
- # in the same project as the sink itself.
198
+ # the same group or service account used by Logging before the addition of
199
+ # writer identities to this API. The sink's destination must be in the same
200
+ # project as the sink itself.
177
201
  #
178
202
  # If this field is set to true, or if the sink is owned by a non-project
179
203
  # resource such as an organization, then the value of `writer_identity` will
180
- # be a unique service account used only for exports from the new sink. For
181
- # more information, see `writer_identity` in
182
- # {Google::Logging::V2::LogSink LogSink}.
204
+ # be a unique service account used only for exports from the new sink. For
205
+ # more information, see `writer_identity` in {Google::Logging::V2::LogSink LogSink}.
183
206
  class CreateSinkRequest; end
184
207
 
185
208
  # The parameters to `UpdateSink`.
@@ -200,9 +223,8 @@ module Google
200
223
  # as part of `sink_name`.
201
224
  # @!attribute [rw] unique_writer_identity
202
225
  # @return [true, false]
203
- # Optional. See
204
- # [sinks.create](https://cloud.google.com/logging/docs/api/reference/rest/v2/projects.sinks/create)
205
- # for a description of this field. When updating a sink, the effect of this
226
+ # Optional. See {Google::Logging::V2::ConfigServiceV2#create_sink}
227
+ # for a description of this field. When updating a sink, the effect of this
206
228
  # field on the value of `writer_identity` in the updated sink depends on both
207
229
  # the old and new values of this field:
208
230
  #
@@ -216,7 +238,7 @@ module Google
216
238
  # @return [Google::Protobuf::FieldMask]
217
239
  # Optional. Field mask that specifies the fields in `sink` that need
218
240
  # an update. A sink field will be overwritten if, and only if, it is
219
- # in the update mask. `name` and output only fields cannot be updated.
241
+ # in the update mask. `name` and output only fields cannot be updated.
220
242
  #
221
243
  # An empty updateMask is temporarily treated as using the following mask
222
244
  # for backwards compatibility purposes:
@@ -245,11 +267,11 @@ module Google
245
267
  class DeleteSinkRequest; end
246
268
 
247
269
  # Specifies a set of log entries that are not to be stored in
248
- # Logging. If your project receives a large volume of logs, you might be able
249
- # to use exclusions to reduce your chargeable logs. Exclusions are processed
250
- # after log sinks, so you can export log entries before they are excluded.
251
- # Audit log entries and log entries from Amazon Web Services are never
252
- # excluded.
270
+ # Logging. If your GCP resource receives a large volume of logs, you can
271
+ # use exclusions to reduce your chargeable logs. Exclusions are
272
+ # processed after log sinks, so you can export log entries before they are
273
+ # excluded. Note that organization-level and folder-level exclusions don't
274
+ # apply to child resources, and that you can't exclude audit log entries.
253
275
  # @!attribute [rw] name
254
276
  # @return [String]
255
277
  # Required. A client-assigned identifier, such as
@@ -260,21 +282,30 @@ module Google
260
282
  # Optional. A description of this exclusion.
261
283
  # @!attribute [rw] filter
262
284
  # @return [String]
263
- # Required.
264
- # An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters)
285
+ # Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries)
265
286
  # that matches the log entries to be excluded. By using the
266
- # [sample function](https://cloud.google.com/logging/docs/view/advanced_filters#sample),
287
+ # [sample function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
267
288
  # you can exclude less than 100% of the matching log entries.
268
- # For example, the following filter matches 99% of low-severity log
269
- # entries from load balancers:
289
+ # For example, the following query matches 99% of low-severity log
290
+ # entries from Google Cloud Storage buckets:
270
291
  #
271
- # `"resource.type=http_load_balancer severity<ERROR sample(insertId, 0.99)"`
292
+ # `"resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)"`
272
293
  # @!attribute [rw] disabled
273
294
  # @return [true, false]
274
295
  # Optional. If set to True, then this exclusion is disabled and it does not
275
- # exclude any log entries. You can use
276
- # [exclusions.patch](https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.exclusions/patch)
277
- # to change the value of this field.
296
+ # exclude any log entries. You can [update an
297
+ # exclusion][google.logging.v2.ConfigServiceV2.UpdateExclusion] to change the
298
+ # value of this field.
299
+ # @!attribute [rw] create_time
300
+ # @return [Google::Protobuf::Timestamp]
301
+ # Output only. The creation timestamp of the exclusion.
302
+ #
303
+ # This field may not be present for older exclusions.
304
+ # @!attribute [rw] update_time
305
+ # @return [Google::Protobuf::Timestamp]
306
+ # Output only. The last update timestamp of the exclusion.
307
+ #
308
+ # This field may not be present for older exclusions.
278
309
  class LogExclusion; end
279
310
 
280
311
  # The parameters to `ListExclusions`.
@@ -289,13 +320,13 @@ module Google
289
320
  # @!attribute [rw] page_token
290
321
  # @return [String]
291
322
  # Optional. If present, then retrieve the next batch of results from the
292
- # preceding call to this method. `pageToken` must be the value of
293
- # `nextPageToken` from the previous response. The values of other method
323
+ # preceding call to this method. `pageToken` must be the value of
324
+ # `nextPageToken` from the previous response. The values of other method
294
325
  # parameters should be identical to those in the previous call.
295
326
  # @!attribute [rw] page_size
296
327
  # @return [Integer]
297
328
  # Optional. The maximum number of results to return from this request.
298
- # Non-positive values are ignored. The presence of `nextPageToken` in the
329
+ # Non-positive values are ignored. The presence of `nextPageToken` in the
299
330
  # response indicates that more results might be available.
300
331
  class ListExclusionsRequest; end
301
332
 
@@ -306,7 +337,7 @@ module Google
306
337
  # @!attribute [rw] next_page_token
307
338
  # @return [String]
308
339
  # If there might be more results than appear in this response, then
309
- # `nextPageToken` is included. To get the next set of results, call the same
340
+ # `nextPageToken` is included. To get the next set of results, call the same
310
341
  # method again using the value of `nextPageToken` as `pageToken`.
311
342
  class ListExclusionsResponse; end
312
343
 
@@ -357,11 +388,10 @@ module Google
357
388
  # in `update_mask` are relevant.
358
389
  # @!attribute [rw] update_mask
359
390
  # @return [Google::Protobuf::FieldMask]
360
- # Required. A nonempty list of fields to change in the existing exclusion.
391
+ # Required. A non-empty list of fields to change in the existing exclusion.
361
392
  # New values for the fields are taken from the corresponding fields in the
362
- # {Google::Logging::V2::LogExclusion LogExclusion} included in this request.
363
- # Fields not mentioned in `update_mask` are not changed and are ignored in
364
- # the request.
393
+ # {Google::Logging::V2::LogExclusion LogExclusion} included in this request. Fields not mentioned in
394
+ # `update_mask` are not changed and are ignored in the request.
365
395
  #
366
396
  # For example, to change the filter and description of an exclusion,
367
397
  # specify an `update_mask` of `"filter,description"`.
@@ -16,8 +16,8 @@
16
16
  module Google
17
17
  module Logging
18
18
  module V2
19
- # Describes a logs-based metric. The value of the metric is the
20
- # number of log entries that match a logs filter in a given time interval.
19
+ # Describes a logs-based metric. The value of the metric is the number of log
20
+ # entries that match a logs filter in a given time interval.
21
21
  #
22
22
  # Logs-based metric can also be used to extract values from logs and create a
23
23
  # a distribution of the values. The distribution records the statistics of the
@@ -28,21 +28,20 @@ module Google
28
28
  # Required. The client-assigned metric identifier.
29
29
  # Examples: `"error_count"`, `"nginx/requests"`.
30
30
  #
31
- # Metric identifiers are limited to 100 characters and can include
32
- # only the following characters: `A-Z`, `a-z`, `0-9`, and the
33
- # special characters `_-.,+!*',()%/`. The forward-slash character
34
- # (`/`) denotes a hierarchy of name pieces, and it cannot be the
35
- # first character of the name.
31
+ # Metric identifiers are limited to 100 characters and can include only the
32
+ # following characters: `A-Z`, `a-z`, `0-9`, and the special characters
33
+ # `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of
34
+ # name pieces, and it cannot be the first character of the name.
36
35
  #
37
36
  # The metric identifier in this field must not be
38
37
  # [URL-encoded](https://en.wikipedia.org/wiki/Percent-encoding).
39
- # However, when the metric identifier appears as the `[METRIC_ID]`
40
- # part of a `metric_name` API parameter, then the metric identifier
41
- # must be URL-encoded. Example:
42
- # `"projects/my-project/metrics/nginx%2Frequests"`.
38
+ # However, when the metric identifier appears as the `[METRIC_ID]` part of a
39
+ # `metric_name` API parameter, then the metric identifier must be
40
+ # URL-encoded. Example: `"projects/my-project/metrics/nginx%2Frequests"`.
43
41
  # @!attribute [rw] description
44
42
  # @return [String]
45
43
  # Optional. A description of this metric, which is used in documentation.
44
+ # The maximum length of the description is 8000 characters.
46
45
  # @!attribute [rw] filter
47
46
  # @return [String]
48
47
  # Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters)
@@ -117,6 +116,16 @@ module Google
117
116
  # Optional. The `bucket_options` are required when the logs-based metric is
118
117
  # using a DISTRIBUTION value type and it describes the bucket boundaries
119
118
  # used to create a histogram of the extracted values.
119
+ # @!attribute [rw] create_time
120
+ # @return [Google::Protobuf::Timestamp]
121
+ # Output only. The creation timestamp of the metric.
122
+ #
123
+ # This field may not be present for older metrics.
124
+ # @!attribute [rw] update_time
125
+ # @return [Google::Protobuf::Timestamp]
126
+ # Output only. The last update timestamp of the metric.
127
+ #
128
+ # This field may not be present for older metrics.
120
129
  # @!attribute [rw] version
121
130
  # @return [Google::Logging::V2::LogMetric::ApiVersion]
122
131
  # Deprecated. The API version that created or updated this metric.
@@ -141,13 +150,13 @@ module Google
141
150
  # @!attribute [rw] page_token
142
151
  # @return [String]
143
152
  # Optional. If present, then retrieve the next batch of results from the
144
- # preceding call to this method. `pageToken` must be the value of
145
- # `nextPageToken` from the previous response. The values of other method
153
+ # preceding call to this method. `pageToken` must be the value of
154
+ # `nextPageToken` from the previous response. The values of other method
146
155
  # parameters should be identical to those in the previous call.
147
156
  # @!attribute [rw] page_size
148
157
  # @return [Integer]
149
158
  # Optional. The maximum number of results to return from this request.
150
- # Non-positive values are ignored. The presence of `nextPageToken` in the
159
+ # Non-positive values are ignored. The presence of `nextPageToken` in the
151
160
  # response indicates that more results might be available.
152
161
  class ListLogMetricsRequest; end
153
162
 
@@ -158,7 +167,7 @@ module Google
158
167
  # @!attribute [rw] next_page_token
159
168
  # @return [String]
160
169
  # If there might be more results than appear in this response, then
161
- # `nextPageToken` is included. To get the next set of results, call this
170
+ # `nextPageToken` is included. To get the next set of results, call this
162
171
  # method again using the value of `nextPageToken` as `pageToken`.
163
172
  class ListLogMetricsResponse; end
164
173
 
@@ -88,11 +88,13 @@ module Google
88
88
  # 01:30 UTC on January 15, 2017.
89
89
  #
90
90
  # In JavaScript, one can convert a Date object to this format using the
91
- # standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
91
+ # standard
92
+ # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
92
93
  # method. In Python, a standard `datetime.datetime` object can be converted
93
- # to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
94
- # with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
95
- # can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
94
+ # to this format using
95
+ # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
96
+ # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
97
+ # the Joda Time's [`ISODateTimeFormat.dateTime()`](
96
98
  # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
97
99
  # ) to obtain a formatter capable of generating timestamps in this format.
98
100
  # @!attribute [rw] seconds
@@ -434,8 +434,8 @@ module Google
434
434
  # Log entries with timestamps that are more than the
435
435
  # [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than
436
436
  # 24 hours in the future will not be available when calling `entries.list`.
437
- # However, those log entries can still be exported with
438
- # [LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
437
+ # However, those log entries can still be
438
+ # [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
439
439
  #
440
440
  # To improve throughput and to avoid exceeding the
441
441
  # [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`,
@@ -525,9 +525,9 @@ module Google
525
525
  @write_log_entries.call(req, options, &block)
526
526
  end
527
527
 
528
- # Lists log entries. Use this method to retrieve log entries from
529
- # Logging. For ways to export log entries, see
530
- # [Exporting Logs](https://cloud.google.com/logging/docs/export).
528
+ # Lists log entries. Use this method to retrieve log entries that originated
529
+ # from a project/folder/organization/billing account. For ways to export log
530
+ # entries, see [Exporting Logs](https://cloud.google.com/logging/docs/export).
531
531
  #
532
532
  # @param resource_names [Array<String>]
533
533
  # Required. Names of one or more parent resources from which to
@@ -538,13 +538,12 @@ module Google
538
538
  # "billingAccounts/[BILLING_ACCOUNT_ID]"
539
539
  # "folders/[FOLDER_ID]"
540
540
  #
541
+ #
541
542
  # Projects listed in the `project_ids` field are added to this list.
542
543
  # @param project_ids [Array<String>]
543
544
  # Deprecated. Use `resource_names` instead. One or more project identifiers
544
545
  # or project numbers from which to retrieve log entries. Example:
545
- # `"my-project-1A"`. If present, these project identifiers are converted to
546
- # resource name format and added to the list of resources in
547
- # `resource_names`.
546
+ # `"my-project-1A"`.
548
547
  # @param filter [String]
549
548
  # Optional. A filter that chooses which log entries to return. See [Advanced
550
549
  # Logs Filters](/logging/docs/view/advanced_filters). Only log entries that
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Logging
19
- VERSION = "1.7.0".freeze
19
+ VERSION = "1.8.0".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -4,13 +4,14 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
- require 'google/api/annotations_pb'
8
7
  require 'google/api/monitored_resource_pb'
9
8
  require 'google/logging/type/http_request_pb'
10
9
  require 'google/logging/type/log_severity_pb'
11
10
  require 'google/protobuf/any_pb'
12
11
  require 'google/protobuf/struct_pb'
13
12
  require 'google/protobuf/timestamp_pb'
13
+ require 'google/rpc/status_pb'
14
+ require 'google/api/annotations_pb'
14
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
16
  add_message "google.logging.v2.LogEntry" do
16
17
  optional :log_name, :string, 12
@@ -4,10 +4,12 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
- require 'google/api/annotations_pb'
7
+ require 'google/protobuf/duration_pb'
8
8
  require 'google/protobuf/empty_pb'
9
9
  require 'google/protobuf/field_mask_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
+ require 'google/api/annotations_pb'
12
+ require 'google/api/client_pb'
11
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
14
  add_message "google.logging.v2.LogSink" do
13
15
  optional :name, :string, 1
@@ -16,14 +18,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
16
18
  optional :output_version_format, :enum, 6, "google.logging.v2.LogSink.VersionFormat"
17
19
  optional :writer_identity, :string, 8
18
20
  optional :include_children, :bool, 9
21
+ optional :create_time, :message, 13, "google.protobuf.Timestamp"
22
+ optional :update_time, :message, 14, "google.protobuf.Timestamp"
19
23
  optional :start_time, :message, 10, "google.protobuf.Timestamp"
20
24
  optional :end_time, :message, 11, "google.protobuf.Timestamp"
25
+ oneof :options do
26
+ optional :bigquery_options, :message, 12, "google.logging.v2.BigQueryOptions"
27
+ end
21
28
  end
22
29
  add_enum "google.logging.v2.LogSink.VersionFormat" do
23
30
  value :VERSION_FORMAT_UNSPECIFIED, 0
24
31
  value :V2, 1
25
32
  value :V1, 2
26
33
  end
34
+ add_message "google.logging.v2.BigQueryOptions" do
35
+ optional :use_partitioned_tables, :bool, 1
36
+ end
27
37
  add_message "google.logging.v2.ListSinksRequest" do
28
38
  optional :parent, :string, 1
29
39
  optional :page_token, :string, 2
@@ -55,6 +65,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
55
65
  optional :description, :string, 2
56
66
  optional :filter, :string, 3
57
67
  optional :disabled, :bool, 4
68
+ optional :create_time, :message, 5, "google.protobuf.Timestamp"
69
+ optional :update_time, :message, 6, "google.protobuf.Timestamp"
58
70
  end
59
71
  add_message "google.logging.v2.ListExclusionsRequest" do
60
72
  optional :parent, :string, 1
@@ -87,6 +99,7 @@ module Google
87
99
  module V2
88
100
  LogSink = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogSink").msgclass
89
101
  LogSink::VersionFormat = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogSink.VersionFormat").enummodule
102
+ BigQueryOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.BigQueryOptions").msgclass
90
103
  ListSinksRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListSinksRequest").msgclass
91
104
  ListSinksResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListSinksResponse").msgclass
92
105
  GetSinkRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetSinkRequest").msgclass
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/logging/v2/logging_config.proto for package 'google.logging.v2'
3
3
  # Original file comments:
4
- # Copyright 2018 Google LLC.
4
+ # Copyright 2019 Google LLC.
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -25,8 +25,7 @@ module Google
25
25
  module Logging
26
26
  module V2
27
27
  module ConfigServiceV2
28
- # Service for configuring sinks used to export log entries out of
29
- # Logging.
28
+ # Service for configuring sinks used to route log entries.
30
29
  class Service
31
30
 
32
31
  include GRPC::GenericService
@@ -39,13 +38,14 @@ module Google
39
38
  rpc :ListSinks, ListSinksRequest, ListSinksResponse
40
39
  # Gets a sink.
41
40
  rpc :GetSink, GetSinkRequest, LogSink
42
- # Creates a sink that exports specified log entries to a destination. The
41
+ # Creates a sink that exports specified log entries to a destination. The
43
42
  # export of newly-ingested log entries begins immediately, unless the sink's
44
- # `writer_identity` is not permitted to write to the destination. A sink can
43
+ # `writer_identity` is not permitted to write to the destination. A sink can
45
44
  # export log entries only from the resource owning the sink.
46
45
  rpc :CreateSink, CreateSinkRequest, LogSink
47
- # Updates a sink. This method replaces the following fields in the existing
46
+ # Updates a sink. This method replaces the following fields in the existing
48
47
  # sink with values from the new sink: `destination`, and `filter`.
48
+ #
49
49
  # The updated sink might also have a new `writer_identity`; see the
50
50
  # `unique_writer_identity` field.
51
51
  rpc :UpdateSink, UpdateSinkRequest, LogSink
@@ -4,12 +4,13 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
- require 'google/api/annotations_pb'
8
7
  require 'google/api/distribution_pb'
9
8
  require 'google/api/metric_pb'
10
9
  require 'google/protobuf/empty_pb'
11
10
  require 'google/protobuf/field_mask_pb'
12
11
  require 'google/protobuf/timestamp_pb'
12
+ require 'google/api/annotations_pb'
13
+ require 'google/api/client_pb'
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_message "google.logging.v2.LogMetric" do
15
16
  optional :name, :string, 1
@@ -19,6 +20,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
20
  optional :value_extractor, :string, 6
20
21
  map :label_extractors, :string, :string, 7
21
22
  optional :bucket_options, :message, 8, "google.api.Distribution.BucketOptions"
23
+ optional :create_time, :message, 9, "google.protobuf.Timestamp"
24
+ optional :update_time, :message, 10, "google.protobuf.Timestamp"
22
25
  optional :version, :enum, 4, "google.logging.v2.LogMetric.ApiVersion"
23
26
  end
24
27
  add_enum "google.logging.v2.LogMetric.ApiVersion" do
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/logging/v2/logging_metrics.proto for package 'google.logging.v2'
3
3
  # Original file comments:
4
- # Copyright 2018 Google LLC.
4
+ # Copyright 2019 Google LLC.
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -4,13 +4,15 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
- require 'google/api/annotations_pb'
8
7
  require 'google/api/monitored_resource_pb'
9
8
  require 'google/logging/v2/log_entry_pb'
9
+ require 'google/logging/v2/logging_config_pb'
10
10
  require 'google/protobuf/duration_pb'
11
11
  require 'google/protobuf/empty_pb'
12
12
  require 'google/protobuf/timestamp_pb'
13
13
  require 'google/rpc/status_pb'
14
+ require 'google/api/annotations_pb'
15
+ require 'google/api/client_pb'
14
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
17
  add_message "google.logging.v2.DeleteLogRequest" do
16
18
  optional :log_name, :string, 1
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/logging/v2/logging.proto for package 'google.logging.v2'
3
3
  # Original file comments:
4
- # Copyright 2018 Google LLC.
4
+ # Copyright 2019 Google LLC.
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -47,9 +47,9 @@ module Google
47
47
  # different resources (projects, organizations, billing accounts or
48
48
  # folders)
49
49
  rpc :WriteLogEntries, WriteLogEntriesRequest, WriteLogEntriesResponse
50
- # Lists log entries. Use this method to retrieve log entries from
51
- # Logging. For ways to export log entries, see
52
- # [Exporting Logs](/logging/docs/export).
50
+ # Lists log entries. Use this method to retrieve log entries that originated
51
+ # from a project/folder/organization/billing account. For ways to export log
52
+ # entries, see [Exporting Logs](/logging/docs/export).
53
53
  rpc :ListLogEntries, ListLogEntriesRequest, ListLogEntriesResponse
54
54
  # Lists the descriptors for monitored resource types used by Logging.
55
55
  rpc :ListMonitoredResourceDescriptors, ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse
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.7.0
4
+ version: 1.8.0
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: 2019-08-23 00:00:00.000000000 Z
12
+ date: 2019-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core