google-cloud-logging-v2 0.3.1 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/LICENSE.md +188 -190
- data/README.md +67 -3
- data/lib/google/cloud/logging/v2/config_service/client.rb +41 -56
- data/lib/google/cloud/logging/v2/config_service/paths.rb +15 -15
- data/lib/google/cloud/logging/v2/logging_service/client.rb +23 -35
- data/lib/google/cloud/logging/v2/logging_service/paths.rb +3 -3
- data/lib/google/cloud/logging/v2/metrics_service/client.rb +20 -26
- data/lib/google/cloud/logging/v2/version.rb +1 -1
- data/proto_docs/google/api/distribution.rb +2 -2
- data/proto_docs/google/api/field_behavior.rb +12 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/metric.rb +109 -36
- data/proto_docs/google/api/monitored_resource.rb +7 -6
- data/proto_docs/google/protobuf/any.rb +5 -2
- data/proto_docs/google/protobuf/timestamp.rb +10 -1
- metadata +21 -13
- data/lib/google/logging/type/http_request_pb.rb +0 -38
- data/lib/google/logging/type/log_severity_pb.rb +0 -31
@@ -1,38 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/logging/type/http_request.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'google/protobuf/duration_pb'
|
7
|
-
require 'google/api/annotations_pb'
|
8
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
add_file("google/logging/type/http_request.proto", :syntax => :proto3) do
|
10
|
-
add_message "google.logging.type.HttpRequest" do
|
11
|
-
optional :request_method, :string, 1
|
12
|
-
optional :request_url, :string, 2
|
13
|
-
optional :request_size, :int64, 3
|
14
|
-
optional :status, :int32, 4
|
15
|
-
optional :response_size, :int64, 5
|
16
|
-
optional :user_agent, :string, 6
|
17
|
-
optional :remote_ip, :string, 7
|
18
|
-
optional :server_ip, :string, 13
|
19
|
-
optional :referer, :string, 8
|
20
|
-
optional :latency, :message, 14, "google.protobuf.Duration"
|
21
|
-
optional :cache_lookup, :bool, 11
|
22
|
-
optional :cache_hit, :bool, 9
|
23
|
-
optional :cache_validated_with_origin_server, :bool, 10
|
24
|
-
optional :cache_fill_bytes, :int64, 12
|
25
|
-
optional :protocol, :string, 15
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
module Google
|
31
|
-
module Cloud
|
32
|
-
module Logging
|
33
|
-
module Type
|
34
|
-
HttpRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.HttpRequest").msgclass
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/logging/type/log_severity.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'google/api/annotations_pb'
|
7
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
add_file("google/logging/type/log_severity.proto", :syntax => :proto3) do
|
9
|
-
add_enum "google.logging.type.LogSeverity" do
|
10
|
-
value :DEFAULT, 0
|
11
|
-
value :DEBUG, 100
|
12
|
-
value :INFO, 200
|
13
|
-
value :NOTICE, 300
|
14
|
-
value :WARNING, 400
|
15
|
-
value :ERROR, 500
|
16
|
-
value :CRITICAL, 600
|
17
|
-
value :ALERT, 700
|
18
|
-
value :EMERGENCY, 800
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
module Google
|
24
|
-
module Cloud
|
25
|
-
module Logging
|
26
|
-
module Type
|
27
|
-
LogSeverity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.LogSeverity").enummodule
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|