googleapis-common-protos-types 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +0 -1
- data/CHANGELOG.md +12 -0
- data/README.md +4 -0
- data/googleapis-common-protos-types.gemspec +1 -1
- data/lib/google/api/annotations_pb.rb +13 -0
- data/lib/google/api/auth_pb.rb +42 -0
- data/lib/google/api/backend_pb.rb +34 -0
- data/lib/google/api/billing_pb.rb +23 -0
- data/lib/google/api/client_pb.rb +12 -0
- data/lib/google/api/config_change_pb.rb +31 -0
- data/lib/google/api/consumer_pb.rb +30 -0
- data/lib/google/api/context_pb.rb +24 -0
- data/lib/google/api/control_pb.rb +16 -0
- data/lib/google/api/distribution_pb.rb +59 -0
- data/lib/google/api/documentation_pb.rb +32 -0
- data/lib/google/api/endpoint_pb.rb +21 -0
- data/lib/google/api/field_behavior_pb.rb +21 -0
- data/lib/google/api/http_pb.rb +37 -0
- data/lib/google/api/httpbody_pb.rb +19 -0
- data/lib/google/api/label_pb.rb +24 -0
- data/lib/google/api/launch_stage_pb.rb +21 -0
- data/lib/google/api/log_pb.rb +20 -0
- data/lib/google/api/logging_pb.rb +23 -0
- data/lib/google/api/metric_pb.rb +55 -0
- data/lib/google/api/monitored_resource_pb.rb +32 -0
- data/lib/google/api/monitoring_pb.rb +23 -0
- data/lib/google/api/quota_pb.rb +36 -0
- data/lib/google/api/resource_pb.rb +17 -0
- data/lib/google/api/service_pb.rb +65 -0
- data/lib/google/api/source_info_pb.rb +17 -0
- data/lib/google/api/system_parameter_pb.rb +27 -0
- data/lib/google/api/usage_pb.rb +25 -0
- data/lib/google/logging/type/http_request_pb.rb +34 -0
- data/lib/google/logging/type/log_severity_pb.rb +27 -0
- data/lib/google/longrunning/operations_pb.rb +61 -0
- data/lib/google/rpc/code_pb.rb +32 -0
- data/lib/google/rpc/error_details_pb.rb +76 -0
- data/lib/google/rpc/status_pb.rb +19 -0
- data/lib/google/type/calendar_period_pb.rb +23 -0
- data/lib/google/type/color_pb.rb +20 -0
- data/lib/google/type/date_pb.rb +18 -0
- data/lib/google/type/dayofweek_pb.rb +23 -0
- data/lib/google/type/expr_pb.rb +19 -0
- data/lib/google/type/fraction_pb.rb +17 -0
- data/lib/google/type/latlng_pb.rb +17 -0
- data/lib/google/type/money_pb.rb +18 -0
- data/lib/google/type/postal_address_pb.rb +26 -0
- data/lib/google/type/quaternion_pb.rb +19 -0
- data/lib/google/type/timeofday_pb.rb +19 -0
- metadata +11 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 28d7f3a58df6bfa15565833493133ae25383506d10e56683938290fccf291975
|
4
|
+
data.tar.gz: 1d2409f45e9a9eaa1a6fabeb417f11f40a3c69a4df1980bcd2b53471f5d9bde0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0a3344b1c7158b6015b0b154db0bf25bc933cc85f19be83e9d02141abbbedcd05ab10b2317c588d5a3f5ef7edbb48837070f0f2efdeec2c481dd7689b26ffdf
|
7
|
+
data.tar.gz: 04046740f45acb772383bd60c02fa8fbbddc749e87f53dc25e39166cc2ddad85db2a38645085f50e3c23125c3a605f2fa51832034283baa05a951757d6c0dd8e
|
data/.gitignore
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# Release History
|
2
|
+
|
3
|
+
### 1.0.4 / 2019-04-03
|
4
|
+
|
5
|
+
* Add WaitOperation RPC to operations_pb.rb and update documentation.
|
6
|
+
* Add new common types for:
|
7
|
+
+ google/api/resource.proto
|
8
|
+
+ google/type/calendar_period.proto
|
9
|
+
+ google/type/expr.proto
|
10
|
+
+ google/type/fraction.proto
|
11
|
+
+ google/type/quaternion.proto
|
12
|
+
|
data/README.md
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/annotations.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/http_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
end
|
9
|
+
|
10
|
+
module Google
|
11
|
+
module Api
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/auth.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.Authentication" do
|
9
|
+
repeated :rules, :message, 3, "google.api.AuthenticationRule"
|
10
|
+
repeated :providers, :message, 4, "google.api.AuthProvider"
|
11
|
+
end
|
12
|
+
add_message "google.api.AuthenticationRule" do
|
13
|
+
optional :selector, :string, 1
|
14
|
+
optional :oauth, :message, 2, "google.api.OAuthRequirements"
|
15
|
+
optional :allow_without_credential, :bool, 5
|
16
|
+
repeated :requirements, :message, 7, "google.api.AuthRequirement"
|
17
|
+
end
|
18
|
+
add_message "google.api.AuthProvider" do
|
19
|
+
optional :id, :string, 1
|
20
|
+
optional :issuer, :string, 2
|
21
|
+
optional :jwks_uri, :string, 3
|
22
|
+
optional :audiences, :string, 4
|
23
|
+
optional :authorization_url, :string, 5
|
24
|
+
end
|
25
|
+
add_message "google.api.OAuthRequirements" do
|
26
|
+
optional :canonical_scopes, :string, 1
|
27
|
+
end
|
28
|
+
add_message "google.api.AuthRequirement" do
|
29
|
+
optional :provider_id, :string, 1
|
30
|
+
optional :audiences, :string, 2
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
module Google
|
35
|
+
module Api
|
36
|
+
Authentication = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Authentication").msgclass
|
37
|
+
AuthenticationRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.AuthenticationRule").msgclass
|
38
|
+
AuthProvider = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.AuthProvider").msgclass
|
39
|
+
OAuthRequirements = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.OAuthRequirements").msgclass
|
40
|
+
AuthRequirement = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.AuthRequirement").msgclass
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/backend.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "google.api.Backend" do
|
8
|
+
repeated :rules, :message, 1, "google.api.BackendRule"
|
9
|
+
end
|
10
|
+
add_message "google.api.BackendRule" do
|
11
|
+
optional :selector, :string, 1
|
12
|
+
optional :address, :string, 2
|
13
|
+
optional :deadline, :double, 3
|
14
|
+
optional :min_deadline, :double, 4
|
15
|
+
optional :operation_deadline, :double, 5
|
16
|
+
optional :path_translation, :enum, 6, "google.api.BackendRule.PathTranslation"
|
17
|
+
oneof :authentication do
|
18
|
+
optional :jwt_audience, :string, 7
|
19
|
+
end
|
20
|
+
end
|
21
|
+
add_enum "google.api.BackendRule.PathTranslation" do
|
22
|
+
value :PATH_TRANSLATION_UNSPECIFIED, 0
|
23
|
+
value :CONSTANT_ADDRESS, 1
|
24
|
+
value :APPEND_PATH_TO_ADDRESS, 2
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
module Google
|
29
|
+
module Api
|
30
|
+
Backend = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Backend").msgclass
|
31
|
+
BackendRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.BackendRule").msgclass
|
32
|
+
BackendRule::PathTranslation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.BackendRule.PathTranslation").enummodule
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/billing.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/metric_pb'
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_message "google.api.Billing" do
|
10
|
+
repeated :consumer_destinations, :message, 8, "google.api.Billing.BillingDestination"
|
11
|
+
end
|
12
|
+
add_message "google.api.Billing.BillingDestination" do
|
13
|
+
optional :monitored_resource, :string, 1
|
14
|
+
repeated :metrics, :string, 2
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Google
|
19
|
+
module Api
|
20
|
+
Billing = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Billing").msgclass
|
21
|
+
Billing::BillingDestination = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Billing.BillingDestination").msgclass
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/config_change.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "google.api.ConfigChange" do
|
8
|
+
optional :element, :string, 1
|
9
|
+
optional :old_value, :string, 2
|
10
|
+
optional :new_value, :string, 3
|
11
|
+
optional :change_type, :enum, 4, "google.api.ChangeType"
|
12
|
+
repeated :advices, :message, 5, "google.api.Advice"
|
13
|
+
end
|
14
|
+
add_message "google.api.Advice" do
|
15
|
+
optional :description, :string, 2
|
16
|
+
end
|
17
|
+
add_enum "google.api.ChangeType" do
|
18
|
+
value :CHANGE_TYPE_UNSPECIFIED, 0
|
19
|
+
value :ADDED, 1
|
20
|
+
value :REMOVED, 2
|
21
|
+
value :MODIFIED, 3
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
module Google
|
26
|
+
module Api
|
27
|
+
ConfigChange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ConfigChange").msgclass
|
28
|
+
Advice = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Advice").msgclass
|
29
|
+
ChangeType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ChangeType").enummodule
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/consumer.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "google.api.ProjectProperties" do
|
8
|
+
repeated :properties, :message, 1, "google.api.Property"
|
9
|
+
end
|
10
|
+
add_message "google.api.Property" do
|
11
|
+
optional :name, :string, 1
|
12
|
+
optional :type, :enum, 2, "google.api.Property.PropertyType"
|
13
|
+
optional :description, :string, 3
|
14
|
+
end
|
15
|
+
add_enum "google.api.Property.PropertyType" do
|
16
|
+
value :UNSPECIFIED, 0
|
17
|
+
value :INT64, 1
|
18
|
+
value :BOOL, 2
|
19
|
+
value :STRING, 3
|
20
|
+
value :DOUBLE, 4
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
module Google
|
25
|
+
module Api
|
26
|
+
ProjectProperties = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ProjectProperties").msgclass
|
27
|
+
Property = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Property").msgclass
|
28
|
+
Property::PropertyType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Property.PropertyType").enummodule
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/context.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "google.api.Context" do
|
8
|
+
repeated :rules, :message, 1, "google.api.ContextRule"
|
9
|
+
end
|
10
|
+
add_message "google.api.ContextRule" do
|
11
|
+
optional :selector, :string, 1
|
12
|
+
repeated :requested, :string, 2
|
13
|
+
repeated :provided, :string, 3
|
14
|
+
repeated :allowed_request_extensions, :string, 4
|
15
|
+
repeated :allowed_response_extensions, :string, 5
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Api
|
21
|
+
Context = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Context").msgclass
|
22
|
+
ContextRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ContextRule").msgclass
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/control.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "google.api.Control" do
|
8
|
+
optional :environment, :string, 1
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
module Google
|
13
|
+
module Api
|
14
|
+
Control = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Control").msgclass
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/distribution.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/any_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_message "google.api.Distribution" do
|
10
|
+
optional :count, :int64, 1
|
11
|
+
optional :mean, :double, 2
|
12
|
+
optional :sum_of_squared_deviation, :double, 3
|
13
|
+
optional :range, :message, 4, "google.api.Distribution.Range"
|
14
|
+
optional :bucket_options, :message, 6, "google.api.Distribution.BucketOptions"
|
15
|
+
repeated :bucket_counts, :int64, 7
|
16
|
+
repeated :exemplars, :message, 10, "google.api.Distribution.Exemplar"
|
17
|
+
end
|
18
|
+
add_message "google.api.Distribution.Range" do
|
19
|
+
optional :min, :double, 1
|
20
|
+
optional :max, :double, 2
|
21
|
+
end
|
22
|
+
add_message "google.api.Distribution.BucketOptions" do
|
23
|
+
oneof :options do
|
24
|
+
optional :linear_buckets, :message, 1, "google.api.Distribution.BucketOptions.Linear"
|
25
|
+
optional :exponential_buckets, :message, 2, "google.api.Distribution.BucketOptions.Exponential"
|
26
|
+
optional :explicit_buckets, :message, 3, "google.api.Distribution.BucketOptions.Explicit"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
add_message "google.api.Distribution.BucketOptions.Linear" do
|
30
|
+
optional :num_finite_buckets, :int32, 1
|
31
|
+
optional :width, :double, 2
|
32
|
+
optional :offset, :double, 3
|
33
|
+
end
|
34
|
+
add_message "google.api.Distribution.BucketOptions.Exponential" do
|
35
|
+
optional :num_finite_buckets, :int32, 1
|
36
|
+
optional :growth_factor, :double, 2
|
37
|
+
optional :scale, :double, 3
|
38
|
+
end
|
39
|
+
add_message "google.api.Distribution.BucketOptions.Explicit" do
|
40
|
+
repeated :bounds, :double, 1
|
41
|
+
end
|
42
|
+
add_message "google.api.Distribution.Exemplar" do
|
43
|
+
optional :value, :double, 1
|
44
|
+
optional :timestamp, :message, 2, "google.protobuf.Timestamp"
|
45
|
+
repeated :attachments, :message, 3, "google.protobuf.Any"
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
module Google
|
50
|
+
module Api
|
51
|
+
Distribution = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution").msgclass
|
52
|
+
Distribution::Range = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.Range").msgclass
|
53
|
+
Distribution::BucketOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.BucketOptions").msgclass
|
54
|
+
Distribution::BucketOptions::Linear = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.BucketOptions.Linear").msgclass
|
55
|
+
Distribution::BucketOptions::Exponential = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.BucketOptions.Exponential").msgclass
|
56
|
+
Distribution::BucketOptions::Explicit = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.BucketOptions.Explicit").msgclass
|
57
|
+
Distribution::Exemplar = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Distribution.Exemplar").msgclass
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/documentation.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "google.api.Documentation" do
|
8
|
+
optional :summary, :string, 1
|
9
|
+
repeated :pages, :message, 5, "google.api.Page"
|
10
|
+
repeated :rules, :message, 3, "google.api.DocumentationRule"
|
11
|
+
optional :documentation_root_url, :string, 4
|
12
|
+
optional :overview, :string, 2
|
13
|
+
end
|
14
|
+
add_message "google.api.DocumentationRule" do
|
15
|
+
optional :selector, :string, 1
|
16
|
+
optional :description, :string, 2
|
17
|
+
optional :deprecation_description, :string, 3
|
18
|
+
end
|
19
|
+
add_message "google.api.Page" do
|
20
|
+
optional :name, :string, 1
|
21
|
+
optional :content, :string, 2
|
22
|
+
repeated :subpages, :message, 3, "google.api.Page"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
module Google
|
27
|
+
module Api
|
28
|
+
Documentation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Documentation").msgclass
|
29
|
+
DocumentationRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.DocumentationRule").msgclass
|
30
|
+
Page = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Page").msgclass
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/endpoint.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.Endpoint" do
|
9
|
+
optional :name, :string, 1
|
10
|
+
repeated :aliases, :string, 2
|
11
|
+
repeated :features, :string, 4
|
12
|
+
optional :target, :string, 101
|
13
|
+
optional :allow_cors, :bool, 5
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
module Google
|
18
|
+
module Api
|
19
|
+
Endpoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Endpoint").msgclass
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/field_behavior.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_enum "google.api.FieldBehavior" do
|
8
|
+
value :FIELD_BEHAVIOR_UNSPECIFIED, 0
|
9
|
+
value :OPTIONAL, 1
|
10
|
+
value :REQUIRED, 2
|
11
|
+
value :OUTPUT_ONLY, 3
|
12
|
+
value :INPUT_ONLY, 4
|
13
|
+
value :IMMUTABLE, 5
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
module Google
|
18
|
+
module Api
|
19
|
+
FieldBehavior = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.FieldBehavior").enummodule
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/http.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "google.api.Http" do
|
8
|
+
repeated :rules, :message, 1, "google.api.HttpRule"
|
9
|
+
optional :fully_decode_reserved_expansion, :bool, 2
|
10
|
+
end
|
11
|
+
add_message "google.api.HttpRule" do
|
12
|
+
optional :selector, :string, 1
|
13
|
+
optional :body, :string, 7
|
14
|
+
optional :response_body, :string, 12
|
15
|
+
repeated :additional_bindings, :message, 11, "google.api.HttpRule"
|
16
|
+
oneof :pattern do
|
17
|
+
optional :get, :string, 2
|
18
|
+
optional :put, :string, 3
|
19
|
+
optional :post, :string, 4
|
20
|
+
optional :delete, :string, 5
|
21
|
+
optional :patch, :string, 6
|
22
|
+
optional :custom, :message, 8, "google.api.CustomHttpPattern"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
add_message "google.api.CustomHttpPattern" do
|
26
|
+
optional :kind, :string, 1
|
27
|
+
optional :path, :string, 2
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Api
|
33
|
+
Http = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Http").msgclass
|
34
|
+
HttpRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.HttpRule").msgclass
|
35
|
+
CustomHttpPattern = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.CustomHttpPattern").msgclass
|
36
|
+
end
|
37
|
+
end
|