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.
@@ -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.9.5
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-02-24 00:00:00.000000000 Z
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