googleapis-common-protos-types 1.0.4 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -2
- 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 +24 -20
- data/lib/google/api/billing_pb.rb +10 -9
- data/lib/google/api/client_pb.rb +2 -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 -11
- data/lib/google/api/control_pb.rb +5 -3
- data/lib/google/api/distribution_pb.rb +45 -43
- data/lib/google/api/documentation_pb.rb +22 -19
- data/lib/google/api/endpoint_pb.rb +8 -8
- data/lib/google/api/error_reason_pb.rb +37 -0
- data/lib/google/api/field_behavior_pb.rb +12 -8
- data/lib/google/api/http_pb.rb +25 -23
- data/lib/google/api/httpbody_pb.rb +7 -5
- data/lib/google/api/label_pb.rb +13 -11
- data/lib/google/api/launch_stage_pb.rb +12 -8
- 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 +43 -39
- data/lib/google/api/monitored_resource_pb.rb +21 -17
- 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 +27 -4
- data/lib/google/api/service_pb.rb +30 -30
- 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/api/visibility_pb.rb +23 -0
- data/lib/google/cloud/extended_operations_pb.rb +22 -0
- 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 +45 -42
- 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 +12 -10
- 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/decimal_pb.rb +18 -0
- data/lib/google/type/expr_pb.rb +8 -6
- data/lib/google/type/fraction_pb.rb +6 -4
- 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 +8 -6
- data/lib/google/type/timeofday_pb.rb +8 -6
- data/lib/googleapis/common/protos/types/version.rb +23 -0
- metadata +19 -56
- data/.gitignore +0 -10
- data/Gemfile +0 -6
- data/Rakefile +0 -57
- data/googleapis-common-protos-types.gemspec +0 -43
@@ -4,29 +4,33 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
require 'google/api/label_pb'
|
7
|
+
require 'google/api/launch_stage_pb'
|
7
8
|
require 'google/protobuf/struct_pb'
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
23
27
|
end
|
24
28
|
end
|
25
29
|
|
26
30
|
module Google
|
27
31
|
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
|
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
|
31
35
|
end
|
32
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
|
@@ -4,14 +4,37 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
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
|
10
30
|
end
|
11
31
|
end
|
12
32
|
|
13
33
|
module Google
|
14
34
|
module Api
|
15
|
-
|
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
|
16
39
|
end
|
17
40
|
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
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
30
|
+
add_file("google/api/service.proto", :syntax => :proto3) do
|
31
|
+
add_message "google.api.Service" do
|
32
|
+
optional :name, :string, 1
|
33
|
+
optional :title, :string, 2
|
34
|
+
optional :producer_project_id, :string, 22
|
35
|
+
optional :id, :string, 33
|
36
|
+
repeated :apis, :message, 3, "google.protobuf.Api"
|
37
|
+
repeated :types, :message, 4, "google.protobuf.Type"
|
38
|
+
repeated :enums, :message, 5, "google.protobuf.Enum"
|
39
|
+
optional :documentation, :message, 6, "google.api.Documentation"
|
40
|
+
optional :backend, :message, 8, "google.api.Backend"
|
41
|
+
optional :http, :message, 9, "google.api.Http"
|
42
|
+
optional :quota, :message, 10, "google.api.Quota"
|
43
|
+
optional :authentication, :message, 11, "google.api.Authentication"
|
44
|
+
optional :context, :message, 12, "google.api.Context"
|
45
|
+
optional :usage, :message, 15, "google.api.Usage"
|
46
|
+
repeated :endpoints, :message, 18, "google.api.Endpoint"
|
47
|
+
optional :control, :message, 21, "google.api.Control"
|
48
|
+
repeated :logs, :message, 23, "google.api.LogDescriptor"
|
49
|
+
repeated :metrics, :message, 24, "google.api.MetricDescriptor"
|
50
|
+
repeated :monitored_resources, :message, 25, "google.api.MonitoredResourceDescriptor"
|
51
|
+
optional :billing, :message, 26, "google.api.Billing"
|
52
|
+
optional :logging, :message, 27, "google.api.Logging"
|
53
|
+
optional :monitoring, :message, 28, "google.api.Monitoring"
|
54
|
+
optional :system_parameters, :message, 29, "google.api.SystemParameters"
|
55
|
+
optional :source_info, :message, 37, "google.api.SourceInfo"
|
56
|
+
optional :config_version, :message, 20, "google.protobuf.UInt32Value"
|
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
|
-
|
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
|
data/lib/google/api/usage_pb.rb
CHANGED
@@ -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
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
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
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/visibility.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/api/visibility.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.api.Visibility" do
|
9
|
+
repeated :rules, :message, 1, "google.api.VisibilityRule"
|
10
|
+
end
|
11
|
+
add_message "google.api.VisibilityRule" do
|
12
|
+
optional :selector, :string, 1
|
13
|
+
optional :restriction, :string, 2
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Google
|
19
|
+
module Api
|
20
|
+
Visibility = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Visibility").msgclass
|
21
|
+
VisibilityRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.VisibilityRule").msgclass
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/extended_operations.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/cloud/extended_operations.proto", :syntax => :proto3) do
|
8
|
+
add_enum "google.cloud.OperationResponseMapping" do
|
9
|
+
value :UNDEFINED, 0
|
10
|
+
value :NAME, 1
|
11
|
+
value :STATUS, 2
|
12
|
+
value :ERROR_CODE, 3
|
13
|
+
value :ERROR_MESSAGE, 4
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Google
|
19
|
+
module Cloud
|
20
|
+
OperationResponseMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.OperationResponseMapping").enummodule
|
21
|
+
end
|
22
|
+
end
|
@@ -3,32 +3,44 @@
|
|
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
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module Logging
|
33
|
+
module Type
|
34
|
+
HttpRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.HttpRequest").msgclass
|
35
|
+
end
|
36
|
+
end
|
25
37
|
end
|
26
38
|
end
|
27
39
|
|
28
40
|
module Google
|
29
41
|
module Logging
|
30
42
|
module Type
|
31
|
-
HttpRequest = Google::
|
43
|
+
HttpRequest = ::Google::Cloud::Logging::Type::HttpRequest
|
32
44
|
end
|
33
45
|
end
|
34
46
|
end
|