googleapis-common-protos-types 1.0.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.
Files changed (40) hide show
  1. checksums.yaml +7 -0
  2. data/lib/google/api/annotations_pb.rb +13 -0
  3. data/lib/google/api/auth_pb.rb +42 -0
  4. data/lib/google/api/backend_pb.rb +22 -0
  5. data/lib/google/api/billing_pb.rb +24 -0
  6. data/lib/google/api/config_change_pb.rb +31 -0
  7. data/lib/google/api/consumer_pb.rb +30 -0
  8. data/lib/google/api/context_pb.rb +22 -0
  9. data/lib/google/api/control_pb.rb +16 -0
  10. data/lib/google/api/distribution_pb.rb +53 -0
  11. data/lib/google/api/documentation_pb.rb +32 -0
  12. data/lib/google/api/endpoint_pb.rb +22 -0
  13. data/lib/google/api/http_pb.rb +35 -0
  14. data/lib/google/api/httpbody_pb.rb +17 -0
  15. data/lib/google/api/label_pb.rb +24 -0
  16. data/lib/google/api/log_pb.rb +20 -0
  17. data/lib/google/api/logging_pb.rb +23 -0
  18. data/lib/google/api/metric_pb.rb +46 -0
  19. data/lib/google/api/monitored_resource_pb.rb +26 -0
  20. data/lib/google/api/monitoring_pb.rb +23 -0
  21. data/lib/google/api/quota_pb.rb +36 -0
  22. data/lib/google/api/service_pb.rb +63 -0
  23. data/lib/google/api/source_info_pb.rb +17 -0
  24. data/lib/google/api/system_parameter_pb.rb +27 -0
  25. data/lib/google/api/usage_pb.rb +25 -0
  26. data/lib/google/logging/type/http_request_pb.rb +34 -0
  27. data/lib/google/logging/type/log_severity_pb.rb +27 -0
  28. data/lib/google/longrunning/operations_pb.rb +50 -0
  29. data/lib/google/longrunning/operations_services_pb.rb +73 -0
  30. data/lib/google/rpc/code_pb.rb +32 -0
  31. data/lib/google/rpc/error_details_pb.rb +76 -0
  32. data/lib/google/rpc/status_pb.rb +19 -0
  33. data/lib/google/type/color_pb.rb +20 -0
  34. data/lib/google/type/date_pb.rb +18 -0
  35. data/lib/google/type/dayofweek_pb.rb +23 -0
  36. data/lib/google/type/latlng_pb.rb +17 -0
  37. data/lib/google/type/money_pb.rb +18 -0
  38. data/lib/google/type/postal_address_pb.rb +26 -0
  39. data/lib/google/type/timeofday_pb.rb +19 -0
  40. metadata +123 -0
@@ -0,0 +1,32 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/rpc/code.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_enum "google.rpc.Code" do
8
+ value :OK, 0
9
+ value :CANCELLED, 1
10
+ value :UNKNOWN, 2
11
+ value :INVALID_ARGUMENT, 3
12
+ value :DEADLINE_EXCEEDED, 4
13
+ value :NOT_FOUND, 5
14
+ value :ALREADY_EXISTS, 6
15
+ value :PERMISSION_DENIED, 7
16
+ value :UNAUTHENTICATED, 16
17
+ value :RESOURCE_EXHAUSTED, 8
18
+ value :FAILED_PRECONDITION, 9
19
+ value :ABORTED, 10
20
+ value :OUT_OF_RANGE, 11
21
+ value :UNIMPLEMENTED, 12
22
+ value :INTERNAL, 13
23
+ value :UNAVAILABLE, 14
24
+ value :DATA_LOSS, 15
25
+ end
26
+ end
27
+
28
+ module Google
29
+ module Rpc
30
+ Code = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Code").enummodule
31
+ end
32
+ end
@@ -0,0 +1,76 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/rpc/error_details.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/duration_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "google.rpc.RetryInfo" do
9
+ optional :retry_delay, :message, 1, "google.protobuf.Duration"
10
+ end
11
+ add_message "google.rpc.DebugInfo" do
12
+ repeated :stack_entries, :string, 1
13
+ optional :detail, :string, 2
14
+ end
15
+ add_message "google.rpc.QuotaFailure" do
16
+ repeated :violations, :message, 1, "google.rpc.QuotaFailure.Violation"
17
+ end
18
+ add_message "google.rpc.QuotaFailure.Violation" do
19
+ optional :subject, :string, 1
20
+ optional :description, :string, 2
21
+ end
22
+ add_message "google.rpc.PreconditionFailure" do
23
+ repeated :violations, :message, 1, "google.rpc.PreconditionFailure.Violation"
24
+ end
25
+ add_message "google.rpc.PreconditionFailure.Violation" do
26
+ optional :type, :string, 1
27
+ optional :subject, :string, 2
28
+ optional :description, :string, 3
29
+ end
30
+ add_message "google.rpc.BadRequest" do
31
+ repeated :field_violations, :message, 1, "google.rpc.BadRequest.FieldViolation"
32
+ end
33
+ add_message "google.rpc.BadRequest.FieldViolation" do
34
+ optional :field, :string, 1
35
+ optional :description, :string, 2
36
+ end
37
+ add_message "google.rpc.RequestInfo" do
38
+ optional :request_id, :string, 1
39
+ optional :serving_data, :string, 2
40
+ end
41
+ add_message "google.rpc.ResourceInfo" do
42
+ optional :resource_type, :string, 1
43
+ optional :resource_name, :string, 2
44
+ optional :owner, :string, 3
45
+ optional :description, :string, 4
46
+ end
47
+ add_message "google.rpc.Help" do
48
+ repeated :links, :message, 1, "google.rpc.Help.Link"
49
+ end
50
+ add_message "google.rpc.Help.Link" do
51
+ optional :description, :string, 1
52
+ optional :url, :string, 2
53
+ end
54
+ add_message "google.rpc.LocalizedMessage" do
55
+ optional :locale, :string, 1
56
+ optional :message, :string, 2
57
+ end
58
+ end
59
+
60
+ module Google
61
+ module Rpc
62
+ RetryInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.RetryInfo").msgclass
63
+ DebugInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.DebugInfo").msgclass
64
+ QuotaFailure = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.QuotaFailure").msgclass
65
+ QuotaFailure::Violation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.QuotaFailure.Violation").msgclass
66
+ PreconditionFailure = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.PreconditionFailure").msgclass
67
+ PreconditionFailure::Violation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.PreconditionFailure.Violation").msgclass
68
+ BadRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.BadRequest").msgclass
69
+ BadRequest::FieldViolation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.BadRequest.FieldViolation").msgclass
70
+ RequestInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.RequestInfo").msgclass
71
+ ResourceInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.ResourceInfo").msgclass
72
+ Help = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Help").msgclass
73
+ Help::Link = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Help.Link").msgclass
74
+ LocalizedMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.LocalizedMessage").msgclass
75
+ end
76
+ end
@@ -0,0 +1,19 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/rpc/status.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.rpc.Status" do
9
+ optional :code, :int32, 1
10
+ optional :message, :string, 2
11
+ repeated :details, :message, 3, "google.protobuf.Any"
12
+ end
13
+ end
14
+
15
+ module Google
16
+ module Rpc
17
+ Status = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Status").msgclass
18
+ end
19
+ end
@@ -0,0 +1,20 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/color.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/wrappers_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "google.type.Color" do
9
+ optional :red, :float, 1
10
+ optional :green, :float, 2
11
+ optional :blue, :float, 3
12
+ optional :alpha, :message, 4, "google.protobuf.FloatValue"
13
+ end
14
+ end
15
+
16
+ module Google
17
+ module Type
18
+ Color = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Color").msgclass
19
+ end
20
+ end
@@ -0,0 +1,18 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/date.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "google.type.Date" do
8
+ optional :year, :int32, 1
9
+ optional :month, :int32, 2
10
+ optional :day, :int32, 3
11
+ end
12
+ end
13
+
14
+ module Google
15
+ module Type
16
+ Date = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Date").msgclass
17
+ end
18
+ end
@@ -0,0 +1,23 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/dayofweek.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_enum "google.type.DayOfWeek" do
8
+ value :DAY_OF_WEEK_UNSPECIFIED, 0
9
+ value :MONDAY, 1
10
+ value :TUESDAY, 2
11
+ value :WEDNESDAY, 3
12
+ value :THURSDAY, 4
13
+ value :FRIDAY, 5
14
+ value :SATURDAY, 6
15
+ value :SUNDAY, 7
16
+ end
17
+ end
18
+
19
+ module Google
20
+ module Type
21
+ DayOfWeek = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.DayOfWeek").enummodule
22
+ end
23
+ end
@@ -0,0 +1,17 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/latlng.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "google.type.LatLng" do
8
+ optional :latitude, :double, 1
9
+ optional :longitude, :double, 2
10
+ end
11
+ end
12
+
13
+ module Google
14
+ module Type
15
+ LatLng = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.LatLng").msgclass
16
+ end
17
+ end
@@ -0,0 +1,18 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/money.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "google.type.Money" do
8
+ optional :currency_code, :string, 1
9
+ optional :units, :int64, 2
10
+ optional :nanos, :int32, 3
11
+ end
12
+ end
13
+
14
+ module Google
15
+ module Type
16
+ Money = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Money").msgclass
17
+ end
18
+ end
@@ -0,0 +1,26 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/postal_address.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "google.type.PostalAddress" do
8
+ optional :revision, :int32, 1
9
+ optional :region_code, :string, 2
10
+ optional :language_code, :string, 3
11
+ optional :postal_code, :string, 4
12
+ optional :sorting_code, :string, 5
13
+ optional :administrative_area, :string, 6
14
+ optional :locality, :string, 7
15
+ optional :sublocality, :string, 8
16
+ repeated :address_lines, :string, 9
17
+ repeated :recipients, :string, 10
18
+ optional :organization, :string, 11
19
+ end
20
+ end
21
+
22
+ module Google
23
+ module Type
24
+ PostalAddress = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.PostalAddress").msgclass
25
+ end
26
+ end
@@ -0,0 +1,19 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/timeofday.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "google.type.TimeOfDay" do
8
+ optional :hours, :int32, 1
9
+ optional :minutes, :int32, 2
10
+ optional :seconds, :int32, 3
11
+ optional :nanos, :int32, 4
12
+ end
13
+ end
14
+
15
+ module Google
16
+ module Type
17
+ TimeOfDay = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.TimeOfDay").msgclass
18
+ end
19
+ end
metadata ADDED
@@ -0,0 +1,123 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: googleapis-common-protos-types
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Google Inc
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-09-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: google-protobuf
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.9'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.9'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.4'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.4'
55
+ description: Common protocol buffer types used by Google APIs
56
+ email: googleapis-packages@google.com
57
+ executables: []
58
+ extensions: []
59
+ extra_rdoc_files: []
60
+ files:
61
+ - lib/google/api/annotations_pb.rb
62
+ - lib/google/api/auth_pb.rb
63
+ - lib/google/api/backend_pb.rb
64
+ - lib/google/api/billing_pb.rb
65
+ - lib/google/api/config_change_pb.rb
66
+ - lib/google/api/consumer_pb.rb
67
+ - lib/google/api/context_pb.rb
68
+ - lib/google/api/control_pb.rb
69
+ - lib/google/api/distribution_pb.rb
70
+ - lib/google/api/documentation_pb.rb
71
+ - lib/google/api/endpoint_pb.rb
72
+ - lib/google/api/http_pb.rb
73
+ - lib/google/api/httpbody_pb.rb
74
+ - lib/google/api/label_pb.rb
75
+ - lib/google/api/log_pb.rb
76
+ - lib/google/api/logging_pb.rb
77
+ - lib/google/api/metric_pb.rb
78
+ - lib/google/api/monitored_resource_pb.rb
79
+ - lib/google/api/monitoring_pb.rb
80
+ - lib/google/api/quota_pb.rb
81
+ - lib/google/api/service_pb.rb
82
+ - lib/google/api/source_info_pb.rb
83
+ - lib/google/api/system_parameter_pb.rb
84
+ - lib/google/api/usage_pb.rb
85
+ - lib/google/logging/type/http_request_pb.rb
86
+ - lib/google/logging/type/log_severity_pb.rb
87
+ - lib/google/longrunning/operations_pb.rb
88
+ - lib/google/longrunning/operations_services_pb.rb
89
+ - lib/google/rpc/code_pb.rb
90
+ - lib/google/rpc/error_details_pb.rb
91
+ - lib/google/rpc/status_pb.rb
92
+ - lib/google/type/color_pb.rb
93
+ - lib/google/type/date_pb.rb
94
+ - lib/google/type/dayofweek_pb.rb
95
+ - lib/google/type/latlng_pb.rb
96
+ - lib/google/type/money_pb.rb
97
+ - lib/google/type/postal_address_pb.rb
98
+ - lib/google/type/timeofday_pb.rb
99
+ homepage: https://github.com/googleapis/googleapis
100
+ licenses:
101
+ - Apache-2.0
102
+ metadata: {}
103
+ post_install_message:
104
+ rdoc_options: []
105
+ require_paths:
106
+ - lib
107
+ required_ruby_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: 2.0.0
112
+ required_rubygems_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ requirements: []
118
+ rubyforge_project:
119
+ rubygems_version: 2.4.8
120
+ signing_key:
121
+ specification_version: 4
122
+ summary: Common protobuf types used in Google APIs
123
+ test_files: []