google-cloud-logging-v2 0.1.0 → 0.3.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.
@@ -359,6 +359,87 @@ module Google
359
359
  resource.call(**args)
360
360
  end
361
361
 
362
+ ##
363
+ # Create a fully-qualified LogView resource string.
364
+ #
365
+ # @overload log_view_path(project:, location:, bucket:, view:)
366
+ # The resource will be in the following format:
367
+ #
368
+ # `projects/{project}/locations/{location}/buckets/{bucket}/views/{view}`
369
+ #
370
+ # @param project [String]
371
+ # @param location [String]
372
+ # @param bucket [String]
373
+ # @param view [String]
374
+ #
375
+ # @overload log_view_path(organization:, location:, bucket:, view:)
376
+ # The resource will be in the following format:
377
+ #
378
+ # `organizations/{organization}/locations/{location}/buckets/{bucket}/views/{view}`
379
+ #
380
+ # @param organization [String]
381
+ # @param location [String]
382
+ # @param bucket [String]
383
+ # @param view [String]
384
+ #
385
+ # @overload log_view_path(folder:, location:, bucket:, view:)
386
+ # The resource will be in the following format:
387
+ #
388
+ # `folders/{folder}/locations/{location}/buckets/{bucket}/views/{view}`
389
+ #
390
+ # @param folder [String]
391
+ # @param location [String]
392
+ # @param bucket [String]
393
+ # @param view [String]
394
+ #
395
+ # @overload log_view_path(billing_account:, location:, bucket:, view:)
396
+ # The resource will be in the following format:
397
+ #
398
+ # `billingAccounts/{billing_account}/locations/{location}/buckets/{bucket}/views/{view}`
399
+ #
400
+ # @param billing_account [String]
401
+ # @param location [String]
402
+ # @param bucket [String]
403
+ # @param view [String]
404
+ #
405
+ # @return [::String]
406
+ def log_view_path **args
407
+ resources = {
408
+ "bucket:location:project:view" => (proc do |project:, location:, bucket:, view:|
409
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
410
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
411
+ raise ::ArgumentError, "bucket cannot contain /" if bucket.to_s.include? "/"
412
+
413
+ "projects/#{project}/locations/#{location}/buckets/#{bucket}/views/#{view}"
414
+ end),
415
+ "bucket:location:organization:view" => (proc do |organization:, location:, bucket:, view:|
416
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
417
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
418
+ raise ::ArgumentError, "bucket cannot contain /" if bucket.to_s.include? "/"
419
+
420
+ "organizations/#{organization}/locations/#{location}/buckets/#{bucket}/views/#{view}"
421
+ end),
422
+ "bucket:folder:location:view" => (proc do |folder:, location:, bucket:, view:|
423
+ raise ::ArgumentError, "folder cannot contain /" if folder.to_s.include? "/"
424
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
425
+ raise ::ArgumentError, "bucket cannot contain /" if bucket.to_s.include? "/"
426
+
427
+ "folders/#{folder}/locations/#{location}/buckets/#{bucket}/views/#{view}"
428
+ end),
429
+ "billing_account:bucket:location:view" => (proc do |billing_account:, location:, bucket:, view:|
430
+ raise ::ArgumentError, "billing_account cannot contain /" if billing_account.to_s.include? "/"
431
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
432
+ raise ::ArgumentError, "bucket cannot contain /" if bucket.to_s.include? "/"
433
+
434
+ "billingAccounts/#{billing_account}/locations/#{location}/buckets/#{bucket}/views/#{view}"
435
+ end)
436
+ }
437
+
438
+ resource = resources[args.keys.sort.join(":")]
439
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
440
+ resource.call(**args)
441
+ end
442
+
362
443
  ##
363
444
  # Create a fully-qualified Organization resource string.
364
445
  #
@@ -70,7 +70,7 @@ module Google
70
70
  initial_delay: 0.1,
71
71
  max_delay: 60.0,
72
72
  multiplier: 1.3,
73
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
73
+ retry_codes: [4, 13, 14]
74
74
  }
75
75
 
76
76
  default_config.rpcs.write_log_entries.timeout = 60.0
@@ -78,7 +78,7 @@ module Google
78
78
  initial_delay: 0.1,
79
79
  max_delay: 60.0,
80
80
  multiplier: 1.3,
81
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
81
+ retry_codes: [4, 13, 14]
82
82
  }
83
83
 
84
84
  default_config.rpcs.list_log_entries.timeout = 60.0
@@ -86,7 +86,7 @@ module Google
86
86
  initial_delay: 0.1,
87
87
  max_delay: 60.0,
88
88
  multiplier: 1.3,
89
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
89
+ retry_codes: [4, 13, 14]
90
90
  }
91
91
 
92
92
  default_config.rpcs.list_monitored_resource_descriptors.timeout = 60.0
@@ -94,7 +94,7 @@ module Google
94
94
  initial_delay: 0.1,
95
95
  max_delay: 60.0,
96
96
  multiplier: 1.3,
97
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
97
+ retry_codes: [4, 13, 14]
98
98
  }
99
99
 
100
100
  default_config.rpcs.list_logs.timeout = 60.0
@@ -102,7 +102,15 @@ module Google
102
102
  initial_delay: 0.1,
103
103
  max_delay: 60.0,
104
104
  multiplier: 1.3,
105
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
105
+ retry_codes: [4, 13, 14]
106
+ }
107
+
108
+ default_config.rpcs.tail_log_entries.timeout = 3600.0
109
+ default_config.rpcs.tail_log_entries.retry_policy = {
110
+ initial_delay: 0.1,
111
+ max_delay: 60.0,
112
+ multiplier: 1.3,
113
+ retry_codes: [4, 13, 14]
106
114
  }
107
115
 
108
116
  default_config
@@ -335,15 +343,16 @@ module Google
335
343
  # the entries later in the list. See the `entries.list` method.
336
344
  #
337
345
  # Log entries with timestamps that are more than the
338
- # [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than
339
- # 24 hours in the future will not be available when calling `entries.list`.
340
- # However, those log entries can still be
341
- # [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
346
+ # [logs retention period](https://cloud.google.com/logging/quota-policy) in
347
+ # the past or more than 24 hours in the future will not be available when
348
+ # calling `entries.list`. However, those log entries can still be [exported
349
+ # with
350
+ # LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
342
351
  #
343
352
  # To improve throughput and to avoid exceeding the
344
- # [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`,
345
- # you should try to include several log entries in this list,
346
- # rather than calling this method for each individual log entry.
353
+ # [quota limit](https://cloud.google.com/logging/quota-policy) for calls to
354
+ # `entries.write`, you should try to include several log entries in this
355
+ # list, rather than calling this method for each individual log entry.
347
356
  # @param partial_success [::Boolean]
348
357
  # Optional. Whether valid entries should be written even if some other
349
358
  # entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any
@@ -397,7 +406,8 @@ module Google
397
406
  ##
398
407
  # Lists log entries. Use this method to retrieve log entries that originated
399
408
  # from a project/folder/organization/billing account. For ways to export log
400
- # entries, see [Exporting Logs](https://cloud.google.com/logging/docs/export).
409
+ # entries, see [Exporting
410
+ # Logs](https://cloud.google.com/logging/docs/export).
401
411
  #
402
412
  # @overload list_log_entries(request, options = nil)
403
413
  # Pass arguments to `list_log_entries` via a request object, either of type
@@ -423,16 +433,21 @@ module Google
423
433
  # "billingAccounts/[BILLING_ACCOUNT_ID]"
424
434
  # "folders/[FOLDER_ID]"
425
435
  #
436
+ # May alternatively be one or more views
437
+ # projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
438
+ # organization/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
439
+ # billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
440
+ # folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
426
441
  #
427
442
  # Projects listed in the `project_ids` field are added to this list.
428
443
  # @param filter [::String]
429
444
  # Optional. A filter that chooses which log entries to return. See [Advanced
430
- # Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that
431
- # match the filter are returned. An empty filter matches all log entries in
432
- # the resources listed in `resource_names`. Referencing a parent resource
433
- # that is not listed in `resource_names` will cause the filter to return no
434
- # results.
435
- # The maximum length of the filter is 20000 characters.
445
+ # Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
446
+ # Only log entries that match the filter are returned. An empty filter
447
+ # matches all log entries in the resources listed in `resource_names`.
448
+ # Referencing a parent resource that is not listed in `resource_names` will
449
+ # cause the filter to return no results. The maximum length of the filter is
450
+ # 20000 characters.
436
451
  # @param order_by [::String]
437
452
  # Optional. How the results should be sorted. Presently, the only permitted
438
453
  # values are `"timestamp asc"` (default) and `"timestamp desc"`. The first
@@ -442,7 +457,8 @@ module Google
442
457
  # timestamps are returned in order of their `insert_id` values.
443
458
  # @param page_size [::Integer]
444
459
  # Optional. The maximum number of results to return from this request.
445
- # Non-positive values are ignored. The presence of `next_page_token` in the
460
+ # Default is 50. If the value is negative or exceeds 1000,
461
+ # the request is rejected. The presence of `next_page_token` in the
446
462
  # response indicates that more results might be available.
447
463
  # @param page_token [::String]
448
464
  # Optional. If present, then retrieve the next batch of results from the
@@ -572,7 +588,7 @@ module Google
572
588
  # @param options [::Gapic::CallOptions, ::Hash]
573
589
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
574
590
  #
575
- # @overload list_logs(parent: nil, page_size: nil, page_token: nil)
591
+ # @overload list_logs(parent: nil, page_size: nil, page_token: nil, resource_names: nil)
576
592
  # Pass arguments to `list_logs` via keyword arguments. Note that at
577
593
  # least one keyword argument is required. To specify no parameters, or to keep all
578
594
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -593,6 +609,18 @@ module Google
593
609
  # preceding call to this method. `pageToken` must be the value of
594
610
  # `nextPageToken` from the previous response. The values of other method
595
611
  # parameters should be identical to those in the previous call.
612
+ # @param resource_names [::Array<::String>]
613
+ # Optional. The resource name that owns the logs:
614
+ # projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
615
+ # organization/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
616
+ # billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
617
+ # folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
618
+ #
619
+ # To support legacy queries, it could also be:
620
+ # "projects/[PROJECT_ID]"
621
+ # "organizations/[ORGANIZATION_ID]"
622
+ # "billingAccounts/[BILLING_ACCOUNT_ID]"
623
+ # "folders/[FOLDER_ID]"
596
624
  #
597
625
  # @yield [response, operation] Access the result along with the RPC operation
598
626
  # @yieldparam response [::Google::Cloud::Logging::V2::ListLogsResponse]
@@ -639,6 +667,59 @@ module Google
639
667
  raise ::Google::Cloud::Error.from_error(e)
640
668
  end
641
669
 
670
+ ##
671
+ # Streaming read of log entries as they are ingested. Until the stream is
672
+ # terminated, it will continue reading logs.
673
+ #
674
+ # @param request [::Gapic::StreamInput, ::Enumerable<::Google::Cloud::Logging::V2::TailLogEntriesRequest, ::Hash>]
675
+ # An enumerable of {::Google::Cloud::Logging::V2::TailLogEntriesRequest} instances.
676
+ # @param options [::Gapic::CallOptions, ::Hash]
677
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
678
+ #
679
+ # @yield [response, operation] Access the result along with the RPC operation
680
+ # @yieldparam response [::Enumerable<::Google::Cloud::Logging::V2::TailLogEntriesResponse>]
681
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
682
+ #
683
+ # @return [::Enumerable<::Google::Cloud::Logging::V2::TailLogEntriesResponse>]
684
+ #
685
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
686
+ #
687
+ def tail_log_entries request, options = nil
688
+ unless request.is_a? ::Enumerable
689
+ raise ::ArgumentError, "request must be an Enumerable" unless request.respond_to? :to_enum
690
+ request = request.to_enum
691
+ end
692
+
693
+ request = request.lazy.map do |req|
694
+ ::Gapic::Protobuf.coerce req, to: ::Google::Cloud::Logging::V2::TailLogEntriesRequest
695
+ end
696
+
697
+ # Converts hash and nil to an options object
698
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
699
+
700
+ # Customize the options with defaults
701
+ metadata = @config.rpcs.tail_log_entries.metadata.to_h
702
+
703
+ # Set x-goog-api-client and x-goog-user-project headers
704
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
705
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
706
+ gapic_version: ::Google::Cloud::Logging::V2::VERSION
707
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
708
+
709
+ options.apply_defaults timeout: @config.rpcs.tail_log_entries.timeout,
710
+ metadata: metadata,
711
+ retry_policy: @config.rpcs.tail_log_entries.retry_policy
712
+ options.apply_defaults metadata: @config.metadata,
713
+ retry_policy: @config.retry_policy
714
+
715
+ @logging_service_stub.call_rpc :tail_log_entries, request, options: options do |response, operation|
716
+ yield response, operation if block_given?
717
+ return response
718
+ end
719
+ rescue ::GRPC::BadStatus => e
720
+ raise ::Google::Cloud::Error.from_error(e)
721
+ end
722
+
642
723
  ##
643
724
  # Configuration class for the LoggingService API.
644
725
  #
@@ -724,7 +805,7 @@ module Google
724
805
 
725
806
  config_attr :endpoint, "logging.googleapis.com", ::String
726
807
  config_attr :credentials, nil do |value|
727
- allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
808
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
728
809
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
729
810
  allowed.any? { |klass| klass === value }
730
811
  end
@@ -800,6 +881,11 @@ module Google
800
881
  # @return [::Gapic::Config::Method]
801
882
  #
802
883
  attr_reader :list_logs
884
+ ##
885
+ # RPC-specific configuration for `tail_log_entries`
886
+ # @return [::Gapic::Config::Method]
887
+ #
888
+ attr_reader :tail_log_entries
803
889
 
804
890
  # @private
805
891
  def initialize parent_rpcs = nil
@@ -813,6 +899,8 @@ module Google
813
899
  @list_monitored_resource_descriptors = ::Gapic::Config::Method.new list_monitored_resource_descriptors_config
814
900
  list_logs_config = parent_rpcs&.list_logs if parent_rpcs&.respond_to? :list_logs
815
901
  @list_logs = ::Gapic::Config::Method.new list_logs_config
902
+ tail_log_entries_config = parent_rpcs&.tail_log_entries if parent_rpcs&.respond_to? :tail_log_entries
903
+ @tail_log_entries = ::Gapic::Config::Method.new tail_log_entries_config
816
904
 
817
905
  yield self if block_given?
818
906
  end
@@ -70,7 +70,7 @@ module Google
70
70
  initial_delay: 0.1,
71
71
  max_delay: 60.0,
72
72
  multiplier: 1.3,
73
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
73
+ retry_codes: [4, 13, 14]
74
74
  }
75
75
 
76
76
  default_config.rpcs.get_log_metric.timeout = 60.0
@@ -78,7 +78,7 @@ module Google
78
78
  initial_delay: 0.1,
79
79
  max_delay: 60.0,
80
80
  multiplier: 1.3,
81
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
81
+ retry_codes: [4, 13, 14]
82
82
  }
83
83
 
84
84
  default_config.rpcs.create_log_metric.timeout = 60.0
@@ -88,7 +88,7 @@ module Google
88
88
  initial_delay: 0.1,
89
89
  max_delay: 60.0,
90
90
  multiplier: 1.3,
91
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
91
+ retry_codes: [4, 13, 14]
92
92
  }
93
93
 
94
94
  default_config.rpcs.delete_log_metric.timeout = 60.0
@@ -96,7 +96,7 @@ module Google
96
96
  initial_delay: 0.1,
97
97
  max_delay: 60.0,
98
98
  multiplier: 1.3,
99
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
99
+ retry_codes: [4, 13, 14]
100
100
  }
101
101
 
102
102
  default_config
@@ -624,7 +624,7 @@ module Google
624
624
 
625
625
  config_attr :endpoint, "logging.googleapis.com", ::String
626
626
  config_attr :credentials, nil do |value|
627
- allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
627
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
628
628
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
629
629
  allowed.any? { |klass| klass === value }
630
630
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Logging
23
23
  module V2
24
- VERSION = "0.1.0"
24
+ VERSION = "0.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -19,14 +19,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
19
  optional :create_time, :message, 4, "google.protobuf.Timestamp"
20
20
  optional :update_time, :message, 5, "google.protobuf.Timestamp"
21
21
  optional :retention_days, :int32, 11
22
+ optional :locked, :bool, 9
22
23
  optional :lifecycle_state, :enum, 12, "google.logging.v2.LifecycleState"
23
24
  end
25
+ add_message "google.logging.v2.LogView" do
26
+ optional :name, :string, 1
27
+ optional :description, :string, 3
28
+ optional :create_time, :message, 4, "google.protobuf.Timestamp"
29
+ optional :update_time, :message, 5, "google.protobuf.Timestamp"
30
+ optional :filter, :string, 7
31
+ end
24
32
  add_message "google.logging.v2.LogSink" do
25
33
  optional :name, :string, 1
26
34
  optional :destination, :string, 3
27
35
  optional :filter, :string, 5
28
36
  optional :description, :string, 18
29
37
  optional :disabled, :bool, 19
38
+ repeated :exclusions, :message, 16, "google.logging.v2.LogExclusion"
30
39
  optional :output_version_format, :enum, 6, "google.logging.v2.LogSink.VersionFormat"
31
40
  optional :writer_identity, :string, 8
32
41
  optional :include_children, :bool, 9
@@ -54,6 +63,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
54
63
  repeated :buckets, :message, 1, "google.logging.v2.LogBucket"
55
64
  optional :next_page_token, :string, 2
56
65
  end
66
+ add_message "google.logging.v2.CreateBucketRequest" do
67
+ optional :parent, :string, 1
68
+ optional :bucket_id, :string, 2
69
+ optional :bucket, :message, 3, "google.logging.v2.LogBucket"
70
+ end
57
71
  add_message "google.logging.v2.UpdateBucketRequest" do
58
72
  optional :name, :string, 1
59
73
  optional :bucket, :message, 2, "google.logging.v2.LogBucket"
@@ -62,6 +76,37 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
62
76
  add_message "google.logging.v2.GetBucketRequest" do
63
77
  optional :name, :string, 1
64
78
  end
79
+ add_message "google.logging.v2.DeleteBucketRequest" do
80
+ optional :name, :string, 1
81
+ end
82
+ add_message "google.logging.v2.UndeleteBucketRequest" do
83
+ optional :name, :string, 1
84
+ end
85
+ add_message "google.logging.v2.ListViewsRequest" do
86
+ optional :parent, :string, 1
87
+ optional :page_token, :string, 2
88
+ optional :page_size, :int32, 3
89
+ end
90
+ add_message "google.logging.v2.ListViewsResponse" do
91
+ repeated :views, :message, 1, "google.logging.v2.LogView"
92
+ optional :next_page_token, :string, 2
93
+ end
94
+ add_message "google.logging.v2.CreateViewRequest" do
95
+ optional :parent, :string, 1
96
+ optional :view_id, :string, 2
97
+ optional :view, :message, 3, "google.logging.v2.LogView"
98
+ end
99
+ add_message "google.logging.v2.UpdateViewRequest" do
100
+ optional :name, :string, 1
101
+ optional :view, :message, 2, "google.logging.v2.LogView"
102
+ optional :update_mask, :message, 4, "google.protobuf.FieldMask"
103
+ end
104
+ add_message "google.logging.v2.GetViewRequest" do
105
+ optional :name, :string, 1
106
+ end
107
+ add_message "google.logging.v2.DeleteViewRequest" do
108
+ optional :name, :string, 1
109
+ end
65
110
  add_message "google.logging.v2.ListSinksRequest" do
66
111
  optional :parent, :string, 1
67
112
  optional :page_token, :string, 2
@@ -146,13 +191,23 @@ module Google
146
191
  module Logging
147
192
  module V2
148
193
  LogBucket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogBucket").msgclass
194
+ LogView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogView").msgclass
149
195
  LogSink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogSink").msgclass
150
196
  LogSink::VersionFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogSink.VersionFormat").enummodule
151
197
  BigQueryOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.BigQueryOptions").msgclass
152
198
  ListBucketsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListBucketsRequest").msgclass
153
199
  ListBucketsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListBucketsResponse").msgclass
200
+ CreateBucketRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.CreateBucketRequest").msgclass
154
201
  UpdateBucketRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.UpdateBucketRequest").msgclass
155
202
  GetBucketRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetBucketRequest").msgclass
203
+ DeleteBucketRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteBucketRequest").msgclass
204
+ UndeleteBucketRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.UndeleteBucketRequest").msgclass
205
+ ListViewsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListViewsRequest").msgclass
206
+ ListViewsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListViewsResponse").msgclass
207
+ CreateViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.CreateViewRequest").msgclass
208
+ UpdateViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.UpdateViewRequest").msgclass
209
+ GetViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetViewRequest").msgclass
210
+ DeleteViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteViewRequest").msgclass
156
211
  ListSinksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListSinksRequest").msgclass
157
212
  ListSinksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListSinksResponse").msgclass
158
213
  GetSinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetSinkRequest").msgclass