googleapis-common-protos-types 1.0.1 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +10 -0
- data/CHANGELOG.md +37 -0
- data/Gemfile +5 -0
- data/README.md +19 -0
- data/Rakefile +80 -0
- data/googleapis-common-protos-types.gemspec +43 -0
- data/lib/google/api/annotations_pb.rb +2 -0
- data/lib/google/api/auth_pb.rb +39 -29
- data/lib/google/api/backend_pb.rb +25 -9
- data/lib/google/api/billing_pb.rb +10 -10
- data/lib/google/api/client_pb.rb +14 -0
- data/lib/google/api/config_change_pb.rb +20 -18
- data/lib/google/api/consumer_pb.rb +19 -17
- data/lib/google/api/context_pb.rb +13 -9
- data/lib/google/api/control_pb.rb +5 -3
- data/lib/google/api/distribution_pb.rb +45 -37
- data/lib/google/api/documentation_pb.rb +22 -19
- data/lib/google/api/endpoint_pb.rb +8 -9
- data/lib/google/api/field_behavior_pb.rb +24 -0
- data/lib/google/api/http_pb.rb +25 -21
- data/lib/google/api/httpbody_pb.rb +8 -4
- data/lib/google/api/label_pb.rb +13 -11
- data/lib/google/api/launch_stage_pb.rb +25 -0
- data/lib/google/api/log_pb.rb +8 -6
- data/lib/google/api/logging_pb.rb +11 -10
- data/lib/google/api/metric_pb.rb +45 -32
- data/lib/google/api/monitored_resource_pb.rb +22 -12
- data/lib/google/api/monitoring_pb.rb +11 -10
- data/lib/google/api/quota_pb.rb +24 -23
- data/lib/google/api/resource_pb.rb +40 -0
- data/lib/google/api/service_pb.rb +31 -29
- data/lib/google/api/source_info_pb.rb +5 -3
- data/lib/google/api/system_parameter_pb.rb +16 -14
- data/lib/google/api/usage_pb.rb +13 -12
- data/lib/google/logging/type/http_request_pb.rb +30 -18
- data/lib/google/logging/type/log_severity_pb.rb +23 -11
- data/lib/google/longrunning/operations_pb.rb +46 -32
- data/lib/google/rpc/code_pb.rb +21 -19
- data/lib/google/rpc/error_details_pb.rb +70 -62
- data/lib/google/rpc/status_pb.rb +7 -5
- data/lib/google/type/calendar_period_pb.rb +25 -0
- data/lib/google/type/color_pb.rb +8 -6
- data/lib/google/type/date_pb.rb +7 -5
- data/lib/google/type/datetime_pb.rb +34 -0
- data/lib/google/type/dayofweek_pb.rb +12 -10
- data/lib/google/type/expr_pb.rb +21 -0
- data/lib/google/type/fraction_pb.rb +19 -0
- data/lib/google/type/interval_pb.rb +20 -0
- data/lib/google/type/latlng_pb.rb +6 -4
- data/lib/google/type/localized_text_pb.rb +19 -0
- data/lib/google/type/money_pb.rb +7 -5
- data/lib/google/type/month_pb.rb +30 -0
- data/lib/google/type/phone_number_pb.rb +27 -0
- data/lib/google/type/postal_address_pb.rb +15 -13
- data/lib/google/type/quaternion_pb.rb +21 -0
- data/lib/google/type/timeofday_pb.rb +8 -6
- metadata +46 -14
- data/lib/google/longrunning/operations_services_pb.rb +0 -73
data/lib/google/api/log_pb.rb
CHANGED
@@ -5,16 +5,18 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'google/api/label_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
add_file("google/api/log.proto", :syntax => :proto3) do
|
9
|
+
add_message "google.api.LogDescriptor" do
|
10
|
+
optional :name, :string, 1
|
11
|
+
repeated :labels, :message, 2, "google.api.LabelDescriptor"
|
12
|
+
optional :description, :string, 3
|
13
|
+
optional :display_name, :string, 4
|
14
|
+
end
|
13
15
|
end
|
14
16
|
end
|
15
17
|
|
16
18
|
module Google
|
17
19
|
module Api
|
18
|
-
LogDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LogDescriptor").msgclass
|
20
|
+
LogDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LogDescriptor").msgclass
|
19
21
|
end
|
20
22
|
end
|
@@ -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
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
7
|
+
add_file("google/api/logging.proto", :syntax => :proto3) 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
|
15
16
|
end
|
16
17
|
end
|
17
18
|
|
18
19
|
module Google
|
19
20
|
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
|
21
|
+
Logging = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Logging").msgclass
|
22
|
+
Logging::LoggingDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Logging.LoggingDestination").msgclass
|
22
23
|
end
|
23
24
|
end
|
data/lib/google/api/metric_pb.rb
CHANGED
@@ -4,43 +4,56 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
require 'google/api/label_pb'
|
7
|
+
require 'google/api/launch_stage_pb'
|
8
|
+
require 'google/protobuf/duration_pb'
|
7
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
10
|
+
add_file("google/api/metric.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.api.MetricDescriptor" do
|
12
|
+
optional :name, :string, 1
|
13
|
+
optional :type, :string, 8
|
14
|
+
repeated :labels, :message, 2, "google.api.LabelDescriptor"
|
15
|
+
optional :metric_kind, :enum, 3, "google.api.MetricDescriptor.MetricKind"
|
16
|
+
optional :value_type, :enum, 4, "google.api.MetricDescriptor.ValueType"
|
17
|
+
optional :unit, :string, 5
|
18
|
+
optional :description, :string, 6
|
19
|
+
optional :display_name, :string, 7
|
20
|
+
optional :metadata, :message, 10, "google.api.MetricDescriptor.MetricDescriptorMetadata"
|
21
|
+
optional :launch_stage, :enum, 12, "google.api.LaunchStage"
|
22
|
+
repeated :monitored_resource_types, :string, 13
|
23
|
+
end
|
24
|
+
add_message "google.api.MetricDescriptor.MetricDescriptorMetadata" do
|
25
|
+
optional :launch_stage, :enum, 1, "google.api.LaunchStage"
|
26
|
+
optional :sample_period, :message, 2, "google.protobuf.Duration"
|
27
|
+
optional :ingest_delay, :message, 3, "google.protobuf.Duration"
|
28
|
+
end
|
29
|
+
add_enum "google.api.MetricDescriptor.MetricKind" do
|
30
|
+
value :METRIC_KIND_UNSPECIFIED, 0
|
31
|
+
value :GAUGE, 1
|
32
|
+
value :DELTA, 2
|
33
|
+
value :CUMULATIVE, 3
|
34
|
+
end
|
35
|
+
add_enum "google.api.MetricDescriptor.ValueType" do
|
36
|
+
value :VALUE_TYPE_UNSPECIFIED, 0
|
37
|
+
value :BOOL, 1
|
38
|
+
value :INT64, 2
|
39
|
+
value :DOUBLE, 3
|
40
|
+
value :STRING, 4
|
41
|
+
value :DISTRIBUTION, 5
|
42
|
+
value :MONEY, 6
|
43
|
+
end
|
44
|
+
add_message "google.api.Metric" do
|
45
|
+
optional :type, :string, 3
|
46
|
+
map :labels, :string, :string, 2
|
47
|
+
end
|
36
48
|
end
|
37
49
|
end
|
38
50
|
|
39
51
|
module Google
|
40
52
|
module Api
|
41
|
-
MetricDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor").msgclass
|
42
|
-
MetricDescriptor::
|
43
|
-
MetricDescriptor::
|
44
|
-
|
53
|
+
MetricDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor").msgclass
|
54
|
+
MetricDescriptor::MetricDescriptorMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.MetricDescriptorMetadata").msgclass
|
55
|
+
MetricDescriptor::MetricKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.MetricKind").enummodule
|
56
|
+
MetricDescriptor::ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.ValueType").enummodule
|
57
|
+
Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Metric").msgclass
|
45
58
|
end
|
46
59
|
end
|
@@ -4,23 +4,33 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
require 'google/api/label_pb'
|
7
|
+
require 'google/api/launch_stage_pb'
|
8
|
+
require 'google/protobuf/struct_pb'
|
7
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
10
|
+
add_file("google/api/monitored_resource.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.api.MonitoredResourceDescriptor" do
|
12
|
+
optional :name, :string, 5
|
13
|
+
optional :type, :string, 1
|
14
|
+
optional :display_name, :string, 2
|
15
|
+
optional :description, :string, 3
|
16
|
+
repeated :labels, :message, 4, "google.api.LabelDescriptor"
|
17
|
+
optional :launch_stage, :enum, 7, "google.api.LaunchStage"
|
18
|
+
end
|
19
|
+
add_message "google.api.MonitoredResource" do
|
20
|
+
optional :type, :string, 1
|
21
|
+
map :labels, :string, :string, 2
|
22
|
+
end
|
23
|
+
add_message "google.api.MonitoredResourceMetadata" do
|
24
|
+
optional :system_labels, :message, 1, "google.protobuf.Struct"
|
25
|
+
map :user_labels, :string, :string, 2
|
26
|
+
end
|
18
27
|
end
|
19
28
|
end
|
20
29
|
|
21
30
|
module Google
|
22
31
|
module Api
|
23
|
-
MonitoredResourceDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MonitoredResourceDescriptor").msgclass
|
24
|
-
MonitoredResource = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MonitoredResource").msgclass
|
32
|
+
MonitoredResourceDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MonitoredResourceDescriptor").msgclass
|
33
|
+
MonitoredResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MonitoredResource").msgclass
|
34
|
+
MonitoredResourceMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MonitoredResourceMetadata").msgclass
|
25
35
|
end
|
26
36
|
end
|
@@ -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
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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
|
data/lib/google/api/quota_pb.rb
CHANGED
@@ -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
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
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
|
@@ -0,0 +1,40 @@
|
|
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_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
|
+
repeated :style, :enum, 10, "google.api.ResourceDescriptor.Style"
|
16
|
+
end
|
17
|
+
add_enum "google.api.ResourceDescriptor.History" do
|
18
|
+
value :HISTORY_UNSPECIFIED, 0
|
19
|
+
value :ORIGINALLY_SINGLE_PATTERN, 1
|
20
|
+
value :FUTURE_MULTI_PATTERN, 2
|
21
|
+
end
|
22
|
+
add_enum "google.api.ResourceDescriptor.Style" do
|
23
|
+
value :STYLE_UNSPECIFIED, 0
|
24
|
+
value :DECLARATIVE_FRIENDLY, 1
|
25
|
+
end
|
26
|
+
add_message "google.api.ResourceReference" do
|
27
|
+
optional :type, :string, 1
|
28
|
+
optional :child_type, :string, 2
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
module Google
|
34
|
+
module Api
|
35
|
+
ResourceDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor").msgclass
|
36
|
+
ResourceDescriptor::History = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor.History").enummodule
|
37
|
+
ResourceDescriptor::Style = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor.Style").enummodule
|
38
|
+
ResourceReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceReference").msgclass
|
39
|
+
end
|
40
|
+
end
|
@@ -3,14 +3,13 @@
|
|
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'
|
8
|
+
require 'google/api/billing_pb'
|
9
9
|
require 'google/api/context_pb'
|
10
10
|
require 'google/api/control_pb'
|
11
11
|
require 'google/api/documentation_pb'
|
12
12
|
require 'google/api/endpoint_pb'
|
13
|
-
require 'google/api/experimental/experimental_pb'
|
14
13
|
require 'google/api/http_pb'
|
15
14
|
require 'google/api/label_pb'
|
16
15
|
require 'google/api/log_pb'
|
@@ -19,6 +18,7 @@ require 'google/api/metric_pb'
|
|
19
18
|
require 'google/api/monitored_resource_pb'
|
20
19
|
require 'google/api/monitoring_pb'
|
21
20
|
require 'google/api/quota_pb'
|
21
|
+
require 'google/api/resource_pb'
|
22
22
|
require 'google/api/source_info_pb'
|
23
23
|
require 'google/api/system_parameter_pb'
|
24
24
|
require 'google/api/usage_pb'
|
@@ -27,37 +27,39 @@ require 'google/protobuf/api_pb'
|
|
27
27
|
require 'google/protobuf/type_pb'
|
28
28
|
require 'google/protobuf/wrappers_pb'
|
29
29
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
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
|
56
58
|
end
|
57
59
|
end
|
58
60
|
|
59
61
|
module Google
|
60
62
|
module Api
|
61
|
-
Service = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Service").msgclass
|
63
|
+
Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Service").msgclass
|
62
64
|
end
|
63
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
|
-
|
9
|
-
|
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
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
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
|