googleapis-common-protos-types 1.0.3 → 1.0.4

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.
Files changed (51) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +0 -1
  3. data/CHANGELOG.md +12 -0
  4. data/README.md +4 -0
  5. data/googleapis-common-protos-types.gemspec +1 -1
  6. data/lib/google/api/annotations_pb.rb +13 -0
  7. data/lib/google/api/auth_pb.rb +42 -0
  8. data/lib/google/api/backend_pb.rb +34 -0
  9. data/lib/google/api/billing_pb.rb +23 -0
  10. data/lib/google/api/client_pb.rb +12 -0
  11. data/lib/google/api/config_change_pb.rb +31 -0
  12. data/lib/google/api/consumer_pb.rb +30 -0
  13. data/lib/google/api/context_pb.rb +24 -0
  14. data/lib/google/api/control_pb.rb +16 -0
  15. data/lib/google/api/distribution_pb.rb +59 -0
  16. data/lib/google/api/documentation_pb.rb +32 -0
  17. data/lib/google/api/endpoint_pb.rb +21 -0
  18. data/lib/google/api/field_behavior_pb.rb +21 -0
  19. data/lib/google/api/http_pb.rb +37 -0
  20. data/lib/google/api/httpbody_pb.rb +19 -0
  21. data/lib/google/api/label_pb.rb +24 -0
  22. data/lib/google/api/launch_stage_pb.rb +21 -0
  23. data/lib/google/api/log_pb.rb +20 -0
  24. data/lib/google/api/logging_pb.rb +23 -0
  25. data/lib/google/api/metric_pb.rb +55 -0
  26. data/lib/google/api/monitored_resource_pb.rb +32 -0
  27. data/lib/google/api/monitoring_pb.rb +23 -0
  28. data/lib/google/api/quota_pb.rb +36 -0
  29. data/lib/google/api/resource_pb.rb +17 -0
  30. data/lib/google/api/service_pb.rb +65 -0
  31. data/lib/google/api/source_info_pb.rb +17 -0
  32. data/lib/google/api/system_parameter_pb.rb +27 -0
  33. data/lib/google/api/usage_pb.rb +25 -0
  34. data/lib/google/logging/type/http_request_pb.rb +34 -0
  35. data/lib/google/logging/type/log_severity_pb.rb +27 -0
  36. data/lib/google/longrunning/operations_pb.rb +61 -0
  37. data/lib/google/rpc/code_pb.rb +32 -0
  38. data/lib/google/rpc/error_details_pb.rb +76 -0
  39. data/lib/google/rpc/status_pb.rb +19 -0
  40. data/lib/google/type/calendar_period_pb.rb +23 -0
  41. data/lib/google/type/color_pb.rb +20 -0
  42. data/lib/google/type/date_pb.rb +18 -0
  43. data/lib/google/type/dayofweek_pb.rb +23 -0
  44. data/lib/google/type/expr_pb.rb +19 -0
  45. data/lib/google/type/fraction_pb.rb +17 -0
  46. data/lib/google/type/latlng_pb.rb +17 -0
  47. data/lib/google/type/money_pb.rb +18 -0
  48. data/lib/google/type/postal_address_pb.rb +26 -0
  49. data/lib/google/type/quaternion_pb.rb +19 -0
  50. data/lib/google/type/timeofday_pb.rb +19 -0
  51. metadata +11 -3
@@ -0,0 +1,19 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/httpbody.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/any_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "google.api.HttpBody" do
9
+ optional :content_type, :string, 1
10
+ optional :data, :bytes, 2
11
+ repeated :extensions, :message, 3, "google.protobuf.Any"
12
+ end
13
+ end
14
+
15
+ module Google
16
+ module Api
17
+ HttpBody = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.HttpBody").msgclass
18
+ end
19
+ end
@@ -0,0 +1,24 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/label.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "google.api.LabelDescriptor" do
8
+ optional :key, :string, 1
9
+ optional :value_type, :enum, 2, "google.api.LabelDescriptor.ValueType"
10
+ optional :description, :string, 3
11
+ end
12
+ add_enum "google.api.LabelDescriptor.ValueType" do
13
+ value :STRING, 0
14
+ value :BOOL, 1
15
+ value :INT64, 2
16
+ end
17
+ end
18
+
19
+ module Google
20
+ module Api
21
+ LabelDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LabelDescriptor").msgclass
22
+ LabelDescriptor::ValueType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LabelDescriptor.ValueType").enummodule
23
+ end
24
+ end
@@ -0,0 +1,21 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/launch_stage.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_enum "google.api.LaunchStage" do
8
+ value :LAUNCH_STAGE_UNSPECIFIED, 0
9
+ value :EARLY_ACCESS, 1
10
+ value :ALPHA, 2
11
+ value :BETA, 3
12
+ value :GA, 4
13
+ value :DEPRECATED, 5
14
+ end
15
+ end
16
+
17
+ module Google
18
+ module Api
19
+ LaunchStage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LaunchStage").enummodule
20
+ end
21
+ end
@@ -0,0 +1,20 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/log.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/label_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "google.api.LogDescriptor" do
9
+ optional :name, :string, 1
10
+ repeated :labels, :message, 2, "google.api.LabelDescriptor"
11
+ optional :description, :string, 3
12
+ optional :display_name, :string, 4
13
+ end
14
+ end
15
+
16
+ module Google
17
+ module Api
18
+ LogDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LogDescriptor").msgclass
19
+ end
20
+ end
@@ -0,0 +1,23 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/logging.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "google.api.Logging" do
9
+ repeated :producer_destinations, :message, 1, "google.api.Logging.LoggingDestination"
10
+ repeated :consumer_destinations, :message, 2, "google.api.Logging.LoggingDestination"
11
+ end
12
+ add_message "google.api.Logging.LoggingDestination" do
13
+ optional :monitored_resource, :string, 3
14
+ repeated :logs, :string, 1
15
+ end
16
+ end
17
+
18
+ module Google
19
+ module Api
20
+ Logging = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Logging").msgclass
21
+ Logging::LoggingDestination = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Logging.LoggingDestination").msgclass
22
+ end
23
+ end
@@ -0,0 +1,55 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/metric.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/label_pb'
7
+ require 'google/api/launch_stage_pb'
8
+ require 'google/protobuf/duration_pb'
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_message "google.api.MetricDescriptor" do
11
+ optional :name, :string, 1
12
+ optional :type, :string, 8
13
+ repeated :labels, :message, 2, "google.api.LabelDescriptor"
14
+ optional :metric_kind, :enum, 3, "google.api.MetricDescriptor.MetricKind"
15
+ optional :value_type, :enum, 4, "google.api.MetricDescriptor.ValueType"
16
+ optional :unit, :string, 5
17
+ optional :description, :string, 6
18
+ optional :display_name, :string, 7
19
+ optional :metadata, :message, 10, "google.api.MetricDescriptor.MetricDescriptorMetadata"
20
+ end
21
+ add_message "google.api.MetricDescriptor.MetricDescriptorMetadata" do
22
+ optional :launch_stage, :enum, 1, "google.api.LaunchStage"
23
+ optional :sample_period, :message, 2, "google.protobuf.Duration"
24
+ optional :ingest_delay, :message, 3, "google.protobuf.Duration"
25
+ end
26
+ add_enum "google.api.MetricDescriptor.MetricKind" do
27
+ value :METRIC_KIND_UNSPECIFIED, 0
28
+ value :GAUGE, 1
29
+ value :DELTA, 2
30
+ value :CUMULATIVE, 3
31
+ end
32
+ add_enum "google.api.MetricDescriptor.ValueType" do
33
+ value :VALUE_TYPE_UNSPECIFIED, 0
34
+ value :BOOL, 1
35
+ value :INT64, 2
36
+ value :DOUBLE, 3
37
+ value :STRING, 4
38
+ value :DISTRIBUTION, 5
39
+ value :MONEY, 6
40
+ end
41
+ add_message "google.api.Metric" do
42
+ optional :type, :string, 3
43
+ map :labels, :string, :string, 2
44
+ end
45
+ end
46
+
47
+ module Google
48
+ module Api
49
+ MetricDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor").msgclass
50
+ MetricDescriptor::MetricDescriptorMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.MetricDescriptorMetadata").msgclass
51
+ MetricDescriptor::MetricKind = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.MetricKind").enummodule
52
+ MetricDescriptor::ValueType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.ValueType").enummodule
53
+ Metric = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Metric").msgclass
54
+ end
55
+ end
@@ -0,0 +1,32 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/monitored_resource.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/label_pb'
7
+ require 'google/protobuf/struct_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_message "google.api.MonitoredResourceDescriptor" do
10
+ optional :name, :string, 5
11
+ optional :type, :string, 1
12
+ optional :display_name, :string, 2
13
+ optional :description, :string, 3
14
+ repeated :labels, :message, 4, "google.api.LabelDescriptor"
15
+ end
16
+ add_message "google.api.MonitoredResource" do
17
+ optional :type, :string, 1
18
+ map :labels, :string, :string, 2
19
+ end
20
+ add_message "google.api.MonitoredResourceMetadata" do
21
+ optional :system_labels, :message, 1, "google.protobuf.Struct"
22
+ map :user_labels, :string, :string, 2
23
+ end
24
+ end
25
+
26
+ module Google
27
+ module Api
28
+ MonitoredResourceDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MonitoredResourceDescriptor").msgclass
29
+ MonitoredResource = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MonitoredResource").msgclass
30
+ MonitoredResourceMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MonitoredResourceMetadata").msgclass
31
+ end
32
+ end
@@ -0,0 +1,23 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/monitoring.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ 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
15
+ end
16
+ end
17
+
18
+ module Google
19
+ 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
22
+ end
23
+ end
@@ -0,0 +1,36 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/quota.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ 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
27
+ end
28
+ end
29
+
30
+ module Google
31
+ 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
35
+ end
36
+ end
@@ -0,0 +1,17 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/resource.proto
3
+
4
+ require 'google/protobuf'
5
+
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
10
+ end
11
+ end
12
+
13
+ module Google
14
+ module Api
15
+ Resource = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Resource").msgclass
16
+ end
17
+ end
@@ -0,0 +1,65 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/service.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/api/auth_pb'
8
+ require 'google/api/backend_pb'
9
+ require 'google/api/billing_pb'
10
+ require 'google/api/context_pb'
11
+ require 'google/api/control_pb'
12
+ require 'google/api/documentation_pb'
13
+ require 'google/api/endpoint_pb'
14
+ require 'google/api/experimental/experimental_pb'
15
+ require 'google/api/http_pb'
16
+ require 'google/api/label_pb'
17
+ require 'google/api/log_pb'
18
+ require 'google/api/logging_pb'
19
+ require 'google/api/metric_pb'
20
+ require 'google/api/monitored_resource_pb'
21
+ require 'google/api/monitoring_pb'
22
+ require 'google/api/quota_pb'
23
+ require 'google/api/source_info_pb'
24
+ require 'google/api/system_parameter_pb'
25
+ require 'google/api/usage_pb'
26
+ require 'google/protobuf/any_pb'
27
+ require 'google/protobuf/api_pb'
28
+ require 'google/protobuf/type_pb'
29
+ require 'google/protobuf/wrappers_pb'
30
+ 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"
58
+ end
59
+ end
60
+
61
+ module Google
62
+ module Api
63
+ Service = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Service").msgclass
64
+ end
65
+ end
@@ -0,0 +1,17 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/source_info.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/any_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "google.api.SourceInfo" do
9
+ repeated :source_files, :message, 1, "google.protobuf.Any"
10
+ end
11
+ end
12
+
13
+ module Google
14
+ module Api
15
+ SourceInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SourceInfo").msgclass
16
+ end
17
+ end
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/system_parameter.proto
3
+
4
+ require 'google/protobuf'
5
+
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
18
+ end
19
+ end
20
+
21
+ module Google
22
+ 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
26
+ end
27
+ end
@@ -0,0 +1,25 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/api/usage.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ 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
17
+ end
18
+ end
19
+
20
+ module Google
21
+ 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
24
+ end
25
+ end
@@ -0,0 +1,34 @@
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/api/annotations_pb'
7
+ require 'google/protobuf/duration_pb'
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
25
+ end
26
+ end
27
+
28
+ module Google
29
+ module Logging
30
+ module Type
31
+ HttpRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.HttpRequest").msgclass
32
+ end
33
+ end
34
+ end