google-cloud-logging 0.24.2 → 1.0.0
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/README.md +5 -5
- data/lib/google/cloud/logging.rb +5 -6
- data/lib/google/cloud/logging/entry.rb +28 -2
- data/lib/google/cloud/logging/entry/list.rb +6 -6
- data/lib/google/cloud/logging/entry/operation.rb +1 -1
- data/lib/google/cloud/logging/entry/source_location.rb +86 -0
- data/lib/google/cloud/logging/log/list.rb +155 -0
- data/lib/google/cloud/logging/metric/list.rb +6 -6
- data/lib/google/cloud/logging/middleware.rb +27 -23
- data/lib/google/cloud/logging/project.rb +46 -3
- data/lib/google/cloud/logging/rails.rb +37 -20
- data/lib/google/cloud/logging/resource_descriptor/list.rb +6 -6
- data/lib/google/cloud/logging/service.rb +15 -0
- data/lib/google/cloud/logging/sink/list.rb +6 -6
- data/lib/google/cloud/logging/v2/config_service_v2_client.rb +24 -13
- data/lib/google/cloud/logging/v2/config_service_v2_client_config.json +3 -1
- data/lib/google/cloud/logging/v2/doc/google/logging/v2/log_entry.rb +12 -6
- data/lib/google/cloud/logging/v2/doc/google/logging/v2/logging.rb +26 -12
- data/lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb +23 -12
- data/lib/google/cloud/logging/v2/doc/google/protobuf/any.rb +13 -3
- data/lib/google/cloud/logging/v2/doc/google/protobuf/duration.rb +6 -0
- data/lib/google/cloud/logging/v2/doc/google/protobuf/timestamp.rb +3 -5
- data/lib/google/cloud/logging/v2/logging_service_v2_client.rb +43 -27
- data/lib/google/cloud/logging/v2/logging_service_v2_client_config.json +6 -4
- data/lib/google/cloud/logging/v2/metrics_service_v2_client.rb +3 -2
- data/lib/google/cloud/logging/v2/metrics_service_v2_client_config.json +3 -1
- data/lib/google/cloud/logging/version.rb +1 -1
- data/lib/google/logging/v2/logging_config_services_pb.rb +1 -1
- data/lib/google/logging/v2/logging_metrics_pb.rb +2 -0
- data/lib/google/logging/v2/logging_metrics_services_pb.rb +1 -1
- data/lib/google/logging/v2/logging_services_pb.rb +5 -4
- metadata +9 -7
@@ -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
|
4
|
+
# Copyright 2017 Google Inc.
|
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,6 +4,8 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/distribution_pb'
|
8
|
+
require 'google/api/metric_pb'
|
7
9
|
require 'google/protobuf/empty_pb'
|
8
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
11
|
add_message "google.logging.v2.LogMetric" 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
|
4
|
+
# Copyright 2017 Google Inc.
|
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.
|
@@ -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
|
4
|
+
# Copyright 2017 Google Inc.
|
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.
|
@@ -34,9 +34,10 @@ module Google
|
|
34
34
|
|
35
35
|
# Deletes all the log entries in a log.
|
36
36
|
# The log reappears if it receives new entries.
|
37
|
+
# Log entries written shortly before the delete operation might not be
|
38
|
+
# deleted.
|
37
39
|
rpc :DeleteLog, DeleteLogRequest, Google::Protobuf::Empty
|
38
|
-
# Writes log entries to Stackdriver Logging.
|
39
|
-
# written by this method.
|
40
|
+
# Writes log entries to Stackdriver Logging.
|
40
41
|
rpc :WriteLogEntries, WriteLogEntriesRequest, WriteLogEntriesResponse
|
41
42
|
# Lists log entries. Use this method to retrieve log entries from
|
42
43
|
# Stackdriver Logging. For ways to export log entries, see
|
@@ -45,7 +46,7 @@ module Google
|
|
45
46
|
# Lists the descriptors for monitored resource types used by Stackdriver
|
46
47
|
# Logging.
|
47
48
|
rpc :ListMonitoredResourceDescriptors, ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse
|
48
|
-
# Lists the logs in projects or
|
49
|
+
# Lists the logs in projects, organizations, folders, or billing accounts.
|
49
50
|
# Only logs that have entries are listed.
|
50
51
|
rpc :ListLogs, ListLogsRequest, ListLogsResponse
|
51
52
|
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: 0.
|
4
|
+
version: 1.0.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: 2017-
|
12
|
+
date: 2017-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|
@@ -17,28 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0
|
20
|
+
version: '1.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0
|
27
|
+
version: '1.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: stackdriver-core
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
34
|
+
version: '1.0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
41
|
+
version: '1.0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: google-gax
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -227,6 +227,8 @@ files:
|
|
227
227
|
- lib/google/cloud/logging/entry/http_request.rb
|
228
228
|
- lib/google/cloud/logging/entry/list.rb
|
229
229
|
- lib/google/cloud/logging/entry/operation.rb
|
230
|
+
- lib/google/cloud/logging/entry/source_location.rb
|
231
|
+
- lib/google/cloud/logging/log/list.rb
|
230
232
|
- lib/google/cloud/logging/logger.rb
|
231
233
|
- lib/google/cloud/logging/metric.rb
|
232
234
|
- lib/google/cloud/logging/metric/list.rb
|
@@ -284,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
284
286
|
version: '0'
|
285
287
|
requirements: []
|
286
288
|
rubyforge_project:
|
287
|
-
rubygems_version: 2.6.
|
289
|
+
rubygems_version: 2.6.11
|
288
290
|
signing_key:
|
289
291
|
specification_version: 4
|
290
292
|
summary: API Client library for Stackdriver Logging
|