google-cloud-logging 1.9.5 → 1.10.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/CHANGELOG.md +24 -0
- data/lib/google/cloud/logging/sink.rb +1 -4
- data/lib/google/cloud/logging/v2/config_service_v2_client.rb +266 -168
- data/lib/google/cloud/logging/v2/config_service_v2_client_config.json +22 -21
- data/lib/google/cloud/logging/v2/doc/google/api/monitored_resource.rb +0 -23
- data/lib/google/cloud/logging/v2/doc/google/logging/v2/log_entry.rb +18 -32
- data/lib/google/cloud/logging/v2/doc/google/logging/v2/logging.rb +4 -10
- data/lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb +154 -35
- data/lib/google/cloud/logging/v2/doc/google/logging/v2/logging_metrics.rb +2 -2
- data/lib/google/cloud/logging/v2/logging_service_v2_client.rb +16 -98
- data/lib/google/cloud/logging/v2/logging_service_v2_client_config.json +4 -19
- data/lib/google/cloud/logging/v2/metrics_service_v2_client.rb +11 -53
- data/lib/google/cloud/logging/v2/metrics_service_v2_client_config.json +2 -3
- data/lib/google/cloud/logging/version.rb +1 -1
- data/lib/google/logging/v2/log_entry_pb.rb +1 -1
- data/lib/google/logging/v2/logging_config_pb.rb +36 -2
- data/lib/google/logging/v2/logging_config_services_pb.rb +16 -0
- data/lib/google/logging/v2/logging_pb.rb +1 -2
- metadata +2 -2
@@ -34,6 +34,22 @@ module Google
|
|
34
34
|
self.unmarshal_class_method = :decode
|
35
35
|
self.service_name = 'google.logging.v2.ConfigServiceV2'
|
36
36
|
|
37
|
+
# Lists buckets (Beta).
|
38
|
+
rpc :ListBuckets, ListBucketsRequest, ListBucketsResponse
|
39
|
+
# Gets a bucket (Beta).
|
40
|
+
rpc :GetBucket, GetBucketRequest, LogBucket
|
41
|
+
# Updates a bucket. This method replaces the following fields in the
|
42
|
+
# existing bucket with values from the new bucket: `retention_period`
|
43
|
+
#
|
44
|
+
# If the retention period is decreased and the bucket is locked,
|
45
|
+
# FAILED_PRECONDITION will be returned.
|
46
|
+
#
|
47
|
+
# If the bucket has a LifecycleState of DELETE_REQUESTED, FAILED_PRECONDITION
|
48
|
+
# will be returned.
|
49
|
+
#
|
50
|
+
# A buckets region may not be modified after it is created.
|
51
|
+
# This method is in Beta.
|
52
|
+
rpc :UpdateBucket, UpdateBucketRequest, LogBucket
|
37
53
|
# Lists sinks.
|
38
54
|
rpc :ListSinks, ListSinksRequest, ListSinksResponse
|
39
55
|
# Gets a sink.
|
@@ -4,7 +4,6 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
-
require 'google/api/annotations_pb'
|
8
7
|
require 'google/api/client_pb'
|
9
8
|
require 'google/api/field_behavior_pb'
|
10
9
|
require 'google/api/monitored_resource_pb'
|
@@ -15,6 +14,7 @@ require 'google/protobuf/duration_pb'
|
|
15
14
|
require 'google/protobuf/empty_pb'
|
16
15
|
require 'google/protobuf/timestamp_pb'
|
17
16
|
require 'google/rpc/status_pb'
|
17
|
+
require 'google/api/annotations_pb'
|
18
18
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
19
19
|
add_message "google.logging.v2.DeleteLogRequest" do
|
20
20
|
optional :log_name, :string, 1
|
@@ -33,7 +33,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
33
33
|
map :log_entry_errors, :int32, :message, 1, "google.rpc.Status"
|
34
34
|
end
|
35
35
|
add_message "google.logging.v2.ListLogEntriesRequest" do
|
36
|
-
repeated :project_ids, :string, 1
|
37
36
|
repeated :resource_names, :string, 8
|
38
37
|
optional :filter, :string, 2
|
39
38
|
optional :order_by, :string, 3
|
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.
|
4
|
+
version: 1.10.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: 2020-
|
12
|
+
date: 2020-03-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|