googleapis-common-protos-types 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/Gemfile +0 -1
  4. data/googleapis-common-protos-types.gemspec +6 -6
  5. data/lib/google/api/annotations_pb.rb +2 -0
  6. data/lib/google/api/auth_pb.rb +39 -29
  7. data/lib/google/api/backend_pb.rb +24 -20
  8. data/lib/google/api/billing_pb.rb +10 -9
  9. data/lib/google/api/client_pb.rb +2 -0
  10. data/lib/google/api/config_change_pb.rb +20 -18
  11. data/lib/google/api/consumer_pb.rb +19 -17
  12. data/lib/google/api/context_pb.rb +13 -11
  13. data/lib/google/api/control_pb.rb +5 -3
  14. data/lib/google/api/distribution_pb.rb +45 -43
  15. data/lib/google/api/documentation_pb.rb +21 -19
  16. data/lib/google/api/endpoint_pb.rb +9 -8
  17. data/lib/google/api/field_behavior_pb.rb +10 -8
  18. data/lib/google/api/http_pb.rb +25 -23
  19. data/lib/google/api/httpbody_pb.rb +7 -5
  20. data/lib/google/api/label_pb.rb +13 -11
  21. data/lib/google/api/launch_stage_pb.rb +10 -8
  22. data/lib/google/api/log_pb.rb +8 -6
  23. data/lib/google/api/logging_pb.rb +11 -10
  24. data/lib/google/api/metric_pb.rb +42 -39
  25. data/lib/google/api/monitored_resource_pb.rb +21 -17
  26. data/lib/google/api/monitoring_pb.rb +11 -10
  27. data/lib/google/api/quota_pb.rb +24 -23
  28. data/lib/google/api/resource_pb.rb +21 -4
  29. data/lib/google/api/service_pb.rb +30 -30
  30. data/lib/google/api/source_info_pb.rb +5 -3
  31. data/lib/google/api/system_parameter_pb.rb +16 -14
  32. data/lib/google/api/usage_pb.rb +13 -12
  33. data/lib/google/logging/type/http_request_pb.rb +20 -18
  34. data/lib/google/logging/type/log_severity_pb.rb +13 -11
  35. data/lib/google/longrunning/operations_pb.rb +45 -42
  36. data/lib/google/rpc/code_pb.rb +21 -19
  37. data/lib/google/rpc/error_details_pb.rb +70 -62
  38. data/lib/google/rpc/status_pb.rb +7 -5
  39. data/lib/google/type/calendar_period_pb.rb +12 -10
  40. data/lib/google/type/color_pb.rb +8 -6
  41. data/lib/google/type/date_pb.rb +7 -5
  42. data/lib/google/type/datetime_pb.rb +34 -0
  43. data/lib/google/type/dayofweek_pb.rb +12 -10
  44. data/lib/google/type/expr_pb.rb +8 -6
  45. data/lib/google/type/fraction_pb.rb +6 -4
  46. data/lib/google/type/latlng_pb.rb +6 -4
  47. data/lib/google/type/money_pb.rb +7 -5
  48. data/lib/google/type/month_pb.rb +30 -0
  49. data/lib/google/type/postal_address_pb.rb +15 -13
  50. data/lib/google/type/quaternion_pb.rb +8 -6
  51. data/lib/google/type/timeofday_pb.rb +8 -6
  52. metadata +14 -13
@@ -3,21 +3,22 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/api/annotations_pb'
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "google.api.Monitoring" do
9
- repeated :producer_destinations, :message, 1, "google.api.Monitoring.MonitoringDestination"
10
- repeated :consumer_destinations, :message, 2, "google.api.Monitoring.MonitoringDestination"
11
- end
12
- add_message "google.api.Monitoring.MonitoringDestination" do
13
- optional :monitored_resource, :string, 1
14
- repeated :metrics, :string, 2
7
+ add_file("google/api/monitoring.proto", :syntax => :proto3) do
8
+ add_message "google.api.Monitoring" do
9
+ repeated :producer_destinations, :message, 1, "google.api.Monitoring.MonitoringDestination"
10
+ repeated :consumer_destinations, :message, 2, "google.api.Monitoring.MonitoringDestination"
11
+ end
12
+ add_message "google.api.Monitoring.MonitoringDestination" do
13
+ optional :monitored_resource, :string, 1
14
+ repeated :metrics, :string, 2
15
+ end
15
16
  end
16
17
  end
17
18
 
18
19
  module Google
19
20
  module Api
20
- Monitoring = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Monitoring").msgclass
21
- Monitoring::MonitoringDestination = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Monitoring.MonitoringDestination").msgclass
21
+ Monitoring = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Monitoring").msgclass
22
+ Monitoring::MonitoringDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Monitoring.MonitoringDestination").msgclass
22
23
  end
23
24
  end
@@ -3,34 +3,35 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/api/annotations_pb'
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "google.api.Quota" do
9
- repeated :limits, :message, 3, "google.api.QuotaLimit"
10
- repeated :metric_rules, :message, 4, "google.api.MetricRule"
11
- end
12
- add_message "google.api.MetricRule" do
13
- optional :selector, :string, 1
14
- map :metric_costs, :string, :int64, 2
15
- end
16
- add_message "google.api.QuotaLimit" do
17
- optional :name, :string, 6
18
- optional :description, :string, 2
19
- optional :default_limit, :int64, 3
20
- optional :max_limit, :int64, 4
21
- optional :free_tier, :int64, 7
22
- optional :duration, :string, 5
23
- optional :metric, :string, 8
24
- optional :unit, :string, 9
25
- map :values, :string, :int64, 10
26
- optional :display_name, :string, 12
7
+ add_file("google/api/quota.proto", :syntax => :proto3) do
8
+ add_message "google.api.Quota" do
9
+ repeated :limits, :message, 3, "google.api.QuotaLimit"
10
+ repeated :metric_rules, :message, 4, "google.api.MetricRule"
11
+ end
12
+ add_message "google.api.MetricRule" do
13
+ optional :selector, :string, 1
14
+ map :metric_costs, :string, :int64, 2
15
+ end
16
+ add_message "google.api.QuotaLimit" do
17
+ optional :name, :string, 6
18
+ optional :description, :string, 2
19
+ optional :default_limit, :int64, 3
20
+ optional :max_limit, :int64, 4
21
+ optional :free_tier, :int64, 7
22
+ optional :duration, :string, 5
23
+ optional :metric, :string, 8
24
+ optional :unit, :string, 9
25
+ map :values, :string, :int64, 10
26
+ optional :display_name, :string, 12
27
+ end
27
28
  end
28
29
  end
29
30
 
30
31
  module Google
31
32
  module Api
32
- Quota = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Quota").msgclass
33
- MetricRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricRule").msgclass
34
- QuotaLimit = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.QuotaLimit").msgclass
33
+ Quota = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Quota").msgclass
34
+ MetricRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricRule").msgclass
35
+ QuotaLimit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.QuotaLimit").msgclass
35
36
  end
36
37
  end
@@ -4,14 +4,31 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "google.api.Resource" do
8
- optional :pattern, :string, 1
9
- optional :symbol, :string, 2
7
+ add_file("google/api/resource.proto", :syntax => :proto3) do
8
+ add_message "google.api.ResourceDescriptor" do
9
+ optional :type, :string, 1
10
+ repeated :pattern, :string, 2
11
+ optional :name_field, :string, 3
12
+ optional :history, :enum, 4, "google.api.ResourceDescriptor.History"
13
+ optional :plural, :string, 5
14
+ optional :singular, :string, 6
15
+ end
16
+ add_enum "google.api.ResourceDescriptor.History" do
17
+ value :HISTORY_UNSPECIFIED, 0
18
+ value :ORIGINALLY_SINGLE_PATTERN, 1
19
+ value :FUTURE_MULTI_PATTERN, 2
20
+ end
21
+ add_message "google.api.ResourceReference" do
22
+ optional :type, :string, 1
23
+ optional :child_type, :string, 2
24
+ end
10
25
  end
11
26
  end
12
27
 
13
28
  module Google
14
29
  module Api
15
- Resource = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Resource").msgclass
30
+ ResourceDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor").msgclass
31
+ ResourceDescriptor::History = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor.History").enummodule
32
+ ResourceReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceReference").msgclass
16
33
  end
17
34
  end
@@ -3,7 +3,6 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/api/annotations_pb'
7
6
  require 'google/api/auth_pb'
8
7
  require 'google/api/backend_pb'
9
8
  require 'google/api/billing_pb'
@@ -11,7 +10,6 @@ require 'google/api/context_pb'
11
10
  require 'google/api/control_pb'
12
11
  require 'google/api/documentation_pb'
13
12
  require 'google/api/endpoint_pb'
14
- require 'google/api/experimental/experimental_pb'
15
13
  require 'google/api/http_pb'
16
14
  require 'google/api/label_pb'
17
15
  require 'google/api/log_pb'
@@ -20,6 +18,7 @@ require 'google/api/metric_pb'
20
18
  require 'google/api/monitored_resource_pb'
21
19
  require 'google/api/monitoring_pb'
22
20
  require 'google/api/quota_pb'
21
+ require 'google/api/resource_pb'
23
22
  require 'google/api/source_info_pb'
24
23
  require 'google/api/system_parameter_pb'
25
24
  require 'google/api/usage_pb'
@@ -28,38 +27,39 @@ require 'google/protobuf/api_pb'
28
27
  require 'google/protobuf/type_pb'
29
28
  require 'google/protobuf/wrappers_pb'
30
29
  Google::Protobuf::DescriptorPool.generated_pool.build do
31
- add_message "google.api.Service" do
32
- optional :config_version, :message, 20, "google.protobuf.UInt32Value"
33
- optional :name, :string, 1
34
- optional :id, :string, 33
35
- optional :title, :string, 2
36
- optional :producer_project_id, :string, 22
37
- repeated :apis, :message, 3, "google.protobuf.Api"
38
- repeated :types, :message, 4, "google.protobuf.Type"
39
- repeated :enums, :message, 5, "google.protobuf.Enum"
40
- optional :documentation, :message, 6, "google.api.Documentation"
41
- optional :backend, :message, 8, "google.api.Backend"
42
- optional :http, :message, 9, "google.api.Http"
43
- optional :quota, :message, 10, "google.api.Quota"
44
- optional :authentication, :message, 11, "google.api.Authentication"
45
- optional :context, :message, 12, "google.api.Context"
46
- optional :usage, :message, 15, "google.api.Usage"
47
- repeated :endpoints, :message, 18, "google.api.Endpoint"
48
- optional :control, :message, 21, "google.api.Control"
49
- repeated :logs, :message, 23, "google.api.LogDescriptor"
50
- repeated :metrics, :message, 24, "google.api.MetricDescriptor"
51
- repeated :monitored_resources, :message, 25, "google.api.MonitoredResourceDescriptor"
52
- optional :billing, :message, 26, "google.api.Billing"
53
- optional :logging, :message, 27, "google.api.Logging"
54
- optional :monitoring, :message, 28, "google.api.Monitoring"
55
- optional :system_parameters, :message, 29, "google.api.SystemParameters"
56
- optional :source_info, :message, 37, "google.api.SourceInfo"
57
- optional :experimental, :message, 101, "google.api.Experimental"
30
+ add_file("google/api/service.proto", :syntax => :proto3) do
31
+ add_message "google.api.Service" do
32
+ optional :config_version, :message, 20, "google.protobuf.UInt32Value"
33
+ optional :name, :string, 1
34
+ optional :id, :string, 33
35
+ optional :title, :string, 2
36
+ optional :producer_project_id, :string, 22
37
+ repeated :apis, :message, 3, "google.protobuf.Api"
38
+ repeated :types, :message, 4, "google.protobuf.Type"
39
+ repeated :enums, :message, 5, "google.protobuf.Enum"
40
+ optional :documentation, :message, 6, "google.api.Documentation"
41
+ optional :backend, :message, 8, "google.api.Backend"
42
+ optional :http, :message, 9, "google.api.Http"
43
+ optional :quota, :message, 10, "google.api.Quota"
44
+ optional :authentication, :message, 11, "google.api.Authentication"
45
+ optional :context, :message, 12, "google.api.Context"
46
+ optional :usage, :message, 15, "google.api.Usage"
47
+ repeated :endpoints, :message, 18, "google.api.Endpoint"
48
+ optional :control, :message, 21, "google.api.Control"
49
+ repeated :logs, :message, 23, "google.api.LogDescriptor"
50
+ repeated :metrics, :message, 24, "google.api.MetricDescriptor"
51
+ repeated :monitored_resources, :message, 25, "google.api.MonitoredResourceDescriptor"
52
+ optional :billing, :message, 26, "google.api.Billing"
53
+ optional :logging, :message, 27, "google.api.Logging"
54
+ optional :monitoring, :message, 28, "google.api.Monitoring"
55
+ optional :system_parameters, :message, 29, "google.api.SystemParameters"
56
+ optional :source_info, :message, 37, "google.api.SourceInfo"
57
+ end
58
58
  end
59
59
  end
60
60
 
61
61
  module Google
62
62
  module Api
63
- Service = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Service").msgclass
63
+ Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Service").msgclass
64
64
  end
65
65
  end
@@ -5,13 +5,15 @@ require 'google/protobuf'
5
5
 
6
6
  require 'google/protobuf/any_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "google.api.SourceInfo" do
9
- repeated :source_files, :message, 1, "google.protobuf.Any"
8
+ add_file("google/api/source_info.proto", :syntax => :proto3) do
9
+ add_message "google.api.SourceInfo" do
10
+ repeated :source_files, :message, 1, "google.protobuf.Any"
11
+ end
10
12
  end
11
13
  end
12
14
 
13
15
  module Google
14
16
  module Api
15
- SourceInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SourceInfo").msgclass
17
+ SourceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SourceInfo").msgclass
16
18
  end
17
19
  end
@@ -4,24 +4,26 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "google.api.SystemParameters" do
8
- repeated :rules, :message, 1, "google.api.SystemParameterRule"
9
- end
10
- add_message "google.api.SystemParameterRule" do
11
- optional :selector, :string, 1
12
- repeated :parameters, :message, 2, "google.api.SystemParameter"
13
- end
14
- add_message "google.api.SystemParameter" do
15
- optional :name, :string, 1
16
- optional :http_header, :string, 2
17
- optional :url_query_parameter, :string, 3
7
+ add_file("google/api/system_parameter.proto", :syntax => :proto3) do
8
+ add_message "google.api.SystemParameters" do
9
+ repeated :rules, :message, 1, "google.api.SystemParameterRule"
10
+ end
11
+ add_message "google.api.SystemParameterRule" do
12
+ optional :selector, :string, 1
13
+ repeated :parameters, :message, 2, "google.api.SystemParameter"
14
+ end
15
+ add_message "google.api.SystemParameter" do
16
+ optional :name, :string, 1
17
+ optional :http_header, :string, 2
18
+ optional :url_query_parameter, :string, 3
19
+ end
18
20
  end
19
21
  end
20
22
 
21
23
  module Google
22
24
  module Api
23
- SystemParameters = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SystemParameters").msgclass
24
- SystemParameterRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SystemParameterRule").msgclass
25
- SystemParameter = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SystemParameter").msgclass
25
+ SystemParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SystemParameters").msgclass
26
+ SystemParameterRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SystemParameterRule").msgclass
27
+ SystemParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SystemParameter").msgclass
26
28
  end
27
29
  end
@@ -3,23 +3,24 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/api/annotations_pb'
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "google.api.Usage" do
9
- repeated :requirements, :string, 1
10
- repeated :rules, :message, 6, "google.api.UsageRule"
11
- optional :producer_notification_channel, :string, 7
12
- end
13
- add_message "google.api.UsageRule" do
14
- optional :selector, :string, 1
15
- optional :allow_unregistered_calls, :bool, 2
16
- optional :skip_service_control, :bool, 3
7
+ add_file("google/api/usage.proto", :syntax => :proto3) do
8
+ add_message "google.api.Usage" do
9
+ repeated :requirements, :string, 1
10
+ repeated :rules, :message, 6, "google.api.UsageRule"
11
+ optional :producer_notification_channel, :string, 7
12
+ end
13
+ add_message "google.api.UsageRule" do
14
+ optional :selector, :string, 1
15
+ optional :allow_unregistered_calls, :bool, 2
16
+ optional :skip_service_control, :bool, 3
17
+ end
17
18
  end
18
19
  end
19
20
 
20
21
  module Google
21
22
  module Api
22
- Usage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Usage").msgclass
23
- UsageRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.UsageRule").msgclass
23
+ Usage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Usage").msgclass
24
+ UsageRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.UsageRule").msgclass
24
25
  end
25
26
  end
@@ -3,32 +3,34 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/api/annotations_pb'
7
6
  require 'google/protobuf/duration_pb'
7
+ require 'google/api/annotations_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_message "google.logging.type.HttpRequest" do
10
- optional :request_method, :string, 1
11
- optional :request_url, :string, 2
12
- optional :request_size, :int64, 3
13
- optional :status, :int32, 4
14
- optional :response_size, :int64, 5
15
- optional :user_agent, :string, 6
16
- optional :remote_ip, :string, 7
17
- optional :server_ip, :string, 13
18
- optional :referer, :string, 8
19
- optional :latency, :message, 14, "google.protobuf.Duration"
20
- optional :cache_lookup, :bool, 11
21
- optional :cache_hit, :bool, 9
22
- optional :cache_validated_with_origin_server, :bool, 10
23
- optional :cache_fill_bytes, :int64, 12
24
- optional :protocol, :string, 15
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
25
27
  end
26
28
  end
27
29
 
28
30
  module Google
29
31
  module Logging
30
32
  module Type
31
- HttpRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.HttpRequest").msgclass
33
+ HttpRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.HttpRequest").msgclass
32
34
  end
33
35
  end
34
36
  end
@@ -5,23 +5,25 @@ require 'google/protobuf'
5
5
 
6
6
  require 'google/api/annotations_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_enum "google.logging.type.LogSeverity" do
9
- value :DEFAULT, 0
10
- value :DEBUG, 100
11
- value :INFO, 200
12
- value :NOTICE, 300
13
- value :WARNING, 400
14
- value :ERROR, 500
15
- value :CRITICAL, 600
16
- value :ALERT, 700
17
- value :EMERGENCY, 800
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
18
20
  end
19
21
  end
20
22
 
21
23
  module Google
22
24
  module Logging
23
25
  module Type
24
- LogSeverity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.LogSeverity").enummodule
26
+ LogSeverity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.LogSeverity").enummodule
25
27
  end
26
28
  end
27
29
  end
@@ -4,58 +4,61 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
7
8
  require 'google/protobuf/any_pb'
8
9
  require 'google/protobuf/duration_pb'
9
10
  require 'google/protobuf/empty_pb'
10
11
  require 'google/rpc/status_pb'
11
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_message "google.longrunning.Operation" do
13
- optional :name, :string, 1
14
- optional :metadata, :message, 2, "google.protobuf.Any"
15
- optional :done, :bool, 3
16
- oneof :result do
17
- optional :error, :message, 4, "google.rpc.Status"
18
- optional :response, :message, 5, "google.protobuf.Any"
13
+ add_file("google/longrunning/operations.proto", :syntax => :proto3) do
14
+ add_message "google.longrunning.Operation" do
15
+ optional :name, :string, 1
16
+ optional :metadata, :message, 2, "google.protobuf.Any"
17
+ optional :done, :bool, 3
18
+ oneof :result do
19
+ optional :error, :message, 4, "google.rpc.Status"
20
+ optional :response, :message, 5, "google.protobuf.Any"
21
+ end
22
+ end
23
+ add_message "google.longrunning.GetOperationRequest" do
24
+ optional :name, :string, 1
25
+ end
26
+ add_message "google.longrunning.ListOperationsRequest" do
27
+ optional :name, :string, 4
28
+ optional :filter, :string, 1
29
+ optional :page_size, :int32, 2
30
+ optional :page_token, :string, 3
31
+ end
32
+ add_message "google.longrunning.ListOperationsResponse" do
33
+ repeated :operations, :message, 1, "google.longrunning.Operation"
34
+ optional :next_page_token, :string, 2
35
+ end
36
+ add_message "google.longrunning.CancelOperationRequest" do
37
+ optional :name, :string, 1
38
+ end
39
+ add_message "google.longrunning.DeleteOperationRequest" do
40
+ optional :name, :string, 1
41
+ end
42
+ add_message "google.longrunning.WaitOperationRequest" do
43
+ optional :name, :string, 1
44
+ optional :timeout, :message, 2, "google.protobuf.Duration"
45
+ end
46
+ add_message "google.longrunning.OperationInfo" do
47
+ optional :response_type, :string, 1
48
+ optional :metadata_type, :string, 2
19
49
  end
20
- end
21
- add_message "google.longrunning.GetOperationRequest" do
22
- optional :name, :string, 1
23
- end
24
- add_message "google.longrunning.ListOperationsRequest" do
25
- optional :name, :string, 4
26
- optional :filter, :string, 1
27
- optional :page_size, :int32, 2
28
- optional :page_token, :string, 3
29
- end
30
- add_message "google.longrunning.ListOperationsResponse" do
31
- repeated :operations, :message, 1, "google.longrunning.Operation"
32
- optional :next_page_token, :string, 2
33
- end
34
- add_message "google.longrunning.CancelOperationRequest" do
35
- optional :name, :string, 1
36
- end
37
- add_message "google.longrunning.DeleteOperationRequest" do
38
- optional :name, :string, 1
39
- end
40
- add_message "google.longrunning.WaitOperationRequest" do
41
- optional :name, :string, 1
42
- optional :timeout, :message, 2, "google.protobuf.Duration"
43
- end
44
- add_message "google.longrunning.OperationInfo" do
45
- optional :response_type, :string, 1
46
- optional :metadata_type, :string, 2
47
50
  end
48
51
  end
49
52
 
50
53
  module Google
51
54
  module Longrunning
52
- Operation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.Operation").msgclass
53
- GetOperationRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.GetOperationRequest").msgclass
54
- ListOperationsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.ListOperationsRequest").msgclass
55
- ListOperationsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.ListOperationsResponse").msgclass
56
- CancelOperationRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.CancelOperationRequest").msgclass
57
- DeleteOperationRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.DeleteOperationRequest").msgclass
58
- WaitOperationRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.WaitOperationRequest").msgclass
59
- OperationInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.OperationInfo").msgclass
55
+ Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.Operation").msgclass
56
+ GetOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.GetOperationRequest").msgclass
57
+ ListOperationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.ListOperationsRequest").msgclass
58
+ ListOperationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.ListOperationsResponse").msgclass
59
+ CancelOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.CancelOperationRequest").msgclass
60
+ DeleteOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.DeleteOperationRequest").msgclass
61
+ WaitOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.WaitOperationRequest").msgclass
62
+ OperationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.OperationInfo").msgclass
60
63
  end
61
64
  end