google-cloud-logging 1.10.4 → 1.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/TROUBLESHOOTING.md +2 -8
- data/lib/google/cloud/logging/async_writer.rb +17 -9
- data/lib/google/cloud/logging/v2/config_service_v2_client.rb +191 -191
- data/lib/google/cloud/logging/v2/config_service_v2_client_config.json +26 -21
- data/lib/google/cloud/logging/v2/doc/google/api/metric.rb +49 -7
- data/lib/google/cloud/logging/v2/doc/google/api/monitored_resource.rb +40 -7
- data/lib/google/cloud/logging/v2/logging_service_v2_client.rb +121 -121
- data/lib/google/cloud/logging/v2/logging_service_v2_client_config.json +19 -14
- data/lib/google/cloud/logging/v2/metrics_service_v2_client.rb +93 -93
- data/lib/google/cloud/logging/v2/metrics_service_v2_client_config.json +13 -8
- data/lib/google/cloud/logging/version.rb +1 -1
- data/lib/google/logging/v2/log_entry_pb.rb +5 -5
- data/lib/google/logging/v2/logging_config_pb.rb +27 -27
- data/lib/google/logging/v2/logging_config_services_pb.rb +83 -83
- data/lib/google/logging/v2/logging_metrics_pb.rb +10 -10
- data/lib/google/logging/v2/logging_metrics_services_pb.rb +23 -23
- data/lib/google/logging/v2/logging_pb.rb +12 -12
- data/lib/google/logging/v2/logging_services_pb.rb +35 -35
- metadata +5 -5
@@ -58,15 +58,15 @@ end
|
|
58
58
|
|
59
59
|
module Google
|
60
60
|
module Logging
|
61
|
-
module V2
|
62
|
-
LogMetric = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogMetric").msgclass
|
63
|
-
LogMetric::ApiVersion = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogMetric.ApiVersion").enummodule
|
64
|
-
ListLogMetricsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogMetricsRequest").msgclass
|
65
|
-
ListLogMetricsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogMetricsResponse").msgclass
|
66
|
-
GetLogMetricRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetLogMetricRequest").msgclass
|
67
|
-
CreateLogMetricRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.CreateLogMetricRequest").msgclass
|
68
|
-
UpdateLogMetricRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.UpdateLogMetricRequest").msgclass
|
69
|
-
DeleteLogMetricRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteLogMetricRequest").msgclass
|
70
|
-
end
|
71
61
|
end
|
72
62
|
end
|
63
|
+
module Google::Logging::V2
|
64
|
+
LogMetric = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogMetric").msgclass
|
65
|
+
LogMetric::ApiVersion = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogMetric.ApiVersion").enummodule
|
66
|
+
ListLogMetricsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogMetricsRequest").msgclass
|
67
|
+
ListLogMetricsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogMetricsResponse").msgclass
|
68
|
+
GetLogMetricRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetLogMetricRequest").msgclass
|
69
|
+
CreateLogMetricRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.CreateLogMetricRequest").msgclass
|
70
|
+
UpdateLogMetricRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.UpdateLogMetricRequest").msgclass
|
71
|
+
DeleteLogMetricRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteLogMetricRequest").msgclass
|
72
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/logging/v2/logging_metrics.proto for package '
|
2
|
+
# Source: google/logging/v2/logging_metrics.proto for package 'Google::Cloud::Logging::V2'
|
3
3
|
# Original file comments:
|
4
4
|
# Copyright 2020 Google LLC
|
5
5
|
#
|
@@ -22,31 +22,31 @@ require 'google/logging/v2/logging_metrics_pb'
|
|
22
22
|
|
23
23
|
module Google
|
24
24
|
module Logging
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
end
|
26
|
+
end
|
27
|
+
module Google::Logging::V2
|
28
|
+
module MetricsServiceV2
|
29
|
+
# Service for configuring logs-based metrics.
|
30
|
+
class Service
|
31
31
|
|
32
|
-
|
33
|
-
self.unmarshal_class_method = :decode
|
34
|
-
self.service_name = 'google.logging.v2.MetricsServiceV2'
|
32
|
+
include GRPC::GenericService
|
35
33
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
rpc :GetLogMetric, GetLogMetricRequest, LogMetric
|
40
|
-
# Creates a logs-based metric.
|
41
|
-
rpc :CreateLogMetric, CreateLogMetricRequest, LogMetric
|
42
|
-
# Creates or updates a logs-based metric.
|
43
|
-
rpc :UpdateLogMetric, UpdateLogMetricRequest, LogMetric
|
44
|
-
# Deletes a logs-based metric.
|
45
|
-
rpc :DeleteLogMetric, DeleteLogMetricRequest, Google::Protobuf::Empty
|
46
|
-
end
|
34
|
+
self.marshal_class_method = :encode
|
35
|
+
self.unmarshal_class_method = :decode
|
36
|
+
self.service_name = 'google.logging.v2.MetricsServiceV2'
|
47
37
|
|
48
|
-
|
49
|
-
|
38
|
+
# Lists logs-based metrics.
|
39
|
+
rpc :ListLogMetrics, ListLogMetricsRequest, ListLogMetricsResponse
|
40
|
+
# Gets a logs-based metric.
|
41
|
+
rpc :GetLogMetric, GetLogMetricRequest, LogMetric
|
42
|
+
# Creates a logs-based metric.
|
43
|
+
rpc :CreateLogMetric, CreateLogMetricRequest, LogMetric
|
44
|
+
# Creates or updates a logs-based metric.
|
45
|
+
rpc :UpdateLogMetric, UpdateLogMetricRequest, LogMetric
|
46
|
+
# Deletes a logs-based metric.
|
47
|
+
rpc :DeleteLogMetric, DeleteLogMetricRequest, Google::Protobuf::Empty
|
50
48
|
end
|
49
|
+
|
50
|
+
Stub = Service.rpc_stub_class
|
51
51
|
end
|
52
52
|
end
|
@@ -64,17 +64,17 @@ end
|
|
64
64
|
|
65
65
|
module Google
|
66
66
|
module Logging
|
67
|
-
module V2
|
68
|
-
DeleteLogRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteLogRequest").msgclass
|
69
|
-
WriteLogEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesRequest").msgclass
|
70
|
-
WriteLogEntriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesResponse").msgclass
|
71
|
-
WriteLogEntriesPartialErrors = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesPartialErrors").msgclass
|
72
|
-
ListLogEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogEntriesRequest").msgclass
|
73
|
-
ListLogEntriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogEntriesResponse").msgclass
|
74
|
-
ListMonitoredResourceDescriptorsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListMonitoredResourceDescriptorsRequest").msgclass
|
75
|
-
ListMonitoredResourceDescriptorsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListMonitoredResourceDescriptorsResponse").msgclass
|
76
|
-
ListLogsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogsRequest").msgclass
|
77
|
-
ListLogsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogsResponse").msgclass
|
78
|
-
end
|
79
67
|
end
|
80
68
|
end
|
69
|
+
module Google::Logging::V2
|
70
|
+
DeleteLogRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteLogRequest").msgclass
|
71
|
+
WriteLogEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesRequest").msgclass
|
72
|
+
WriteLogEntriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesResponse").msgclass
|
73
|
+
WriteLogEntriesPartialErrors = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesPartialErrors").msgclass
|
74
|
+
ListLogEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogEntriesRequest").msgclass
|
75
|
+
ListLogEntriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogEntriesResponse").msgclass
|
76
|
+
ListMonitoredResourceDescriptorsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListMonitoredResourceDescriptorsRequest").msgclass
|
77
|
+
ListMonitoredResourceDescriptorsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListMonitoredResourceDescriptorsResponse").msgclass
|
78
|
+
ListLogsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogsRequest").msgclass
|
79
|
+
ListLogsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogsResponse").msgclass
|
80
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/logging/v2/logging.proto for package '
|
2
|
+
# Source: google/logging/v2/logging.proto for package 'Google::Cloud::Logging::V2'
|
3
3
|
# Original file comments:
|
4
4
|
# Copyright 2020 Google LLC
|
5
5
|
#
|
@@ -22,43 +22,43 @@ require 'google/logging/v2/logging_pb'
|
|
22
22
|
|
23
23
|
module Google
|
24
24
|
module Logging
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
end
|
26
|
+
end
|
27
|
+
module Google::Logging::V2
|
28
|
+
module LoggingServiceV2
|
29
|
+
# Service for ingesting and querying logs.
|
30
|
+
class Service
|
31
31
|
|
32
|
-
|
33
|
-
self.unmarshal_class_method = :decode
|
34
|
-
self.service_name = 'google.logging.v2.LoggingServiceV2'
|
32
|
+
include GRPC::GenericService
|
35
33
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
# before the operation will be deleted.
|
40
|
-
rpc :DeleteLog, DeleteLogRequest, Google::Protobuf::Empty
|
41
|
-
# Writes log entries to Logging. This API method is the
|
42
|
-
# only way to send log entries to Logging. This method
|
43
|
-
# is used, directly or indirectly, by the Logging agent
|
44
|
-
# (fluentd) and all logging libraries configured to use Logging.
|
45
|
-
# A single request may contain log entries for a maximum of 1000
|
46
|
-
# different resources (projects, organizations, billing accounts or
|
47
|
-
# folders)
|
48
|
-
rpc :WriteLogEntries, WriteLogEntriesRequest, WriteLogEntriesResponse
|
49
|
-
# Lists log entries. Use this method to retrieve log entries that originated
|
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).
|
52
|
-
rpc :ListLogEntries, ListLogEntriesRequest, ListLogEntriesResponse
|
53
|
-
# Lists the descriptors for monitored resource types used by Logging.
|
54
|
-
rpc :ListMonitoredResourceDescriptors, ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse
|
55
|
-
# Lists the logs in projects, organizations, folders, or billing accounts.
|
56
|
-
# Only logs that have entries are listed.
|
57
|
-
rpc :ListLogs, ListLogsRequest, ListLogsResponse
|
58
|
-
end
|
34
|
+
self.marshal_class_method = :encode
|
35
|
+
self.unmarshal_class_method = :decode
|
36
|
+
self.service_name = 'google.logging.v2.LoggingServiceV2'
|
59
37
|
|
60
|
-
|
61
|
-
|
38
|
+
# Deletes all the log entries in a log. The log reappears if it receives new
|
39
|
+
# entries. Log entries written shortly before the delete operation might not
|
40
|
+
# be deleted. Entries received after the delete operation with a timestamp
|
41
|
+
# before the operation will be deleted.
|
42
|
+
rpc :DeleteLog, DeleteLogRequest, Google::Protobuf::Empty
|
43
|
+
# Writes log entries to Logging. This API method is the
|
44
|
+
# only way to send log entries to Logging. This method
|
45
|
+
# is used, directly or indirectly, by the Logging agent
|
46
|
+
# (fluentd) and all logging libraries configured to use Logging.
|
47
|
+
# A single request may contain log entries for a maximum of 1000
|
48
|
+
# different resources (projects, organizations, billing accounts or
|
49
|
+
# folders)
|
50
|
+
rpc :WriteLogEntries, WriteLogEntriesRequest, WriteLogEntriesResponse
|
51
|
+
# Lists log entries. Use this method to retrieve log entries that originated
|
52
|
+
# from a project/folder/organization/billing account. For ways to export log
|
53
|
+
# entries, see [Exporting Logs](https://cloud.google.com/logging/docs/export).
|
54
|
+
rpc :ListLogEntries, ListLogEntriesRequest, ListLogEntriesResponse
|
55
|
+
# Lists the descriptors for monitored resource types used by Logging.
|
56
|
+
rpc :ListMonitoredResourceDescriptors, ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse
|
57
|
+
# Lists the logs in projects, organizations, folders, or billing accounts.
|
58
|
+
# Only logs that have entries are listed.
|
59
|
+
rpc :ListLogs, ListLogsRequest, ListLogsResponse
|
62
60
|
end
|
61
|
+
|
62
|
+
Stub = Service.rpc_stub_class
|
63
63
|
end
|
64
64
|
end
|
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.10.
|
4
|
+
version: 1.10.9
|
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: 2020-
|
12
|
+
date: 2020-06-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|
@@ -127,14 +127,14 @@ dependencies:
|
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '5.
|
130
|
+
version: '5.14'
|
131
131
|
type: :development
|
132
132
|
prerelease: false
|
133
133
|
version_requirements: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
135
|
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: '5.
|
137
|
+
version: '5.14'
|
138
138
|
- !ruby/object:Gem::Dependency
|
139
139
|
name: minitest-autotest
|
140
140
|
requirement: !ruby/object:Gem::Requirement
|
@@ -367,7 +367,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
367
367
|
- !ruby/object:Gem::Version
|
368
368
|
version: '0'
|
369
369
|
requirements: []
|
370
|
-
rubygems_version: 3.
|
370
|
+
rubygems_version: 3.1.3
|
371
371
|
signing_key:
|
372
372
|
specification_version: 4
|
373
373
|
summary: API Client library for Stackdriver Logging
|