googleapis-common-protos-types 1.0.2 → 1.5.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.
- checksums.yaml +5 -5
- data/CHANGELOG.md +78 -0
- data/README.md +19 -0
- data/lib/google/api/annotations_pb.rb +4 -0
- data/lib/google/api/auth_pb.rb +40 -29
- data/lib/google/api/backend_pb.rb +25 -10
- data/lib/google/api/billing_pb.rb +10 -10
- data/lib/google/api/client_pb.rb +109 -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 +46 -37
- 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 +45 -0
- data/lib/google/api/field_behavior_pb.rb +27 -0
- data/lib/google/api/http_pb.rb +25 -22
- data/lib/google/api/httpbody_pb.rb +8 -5
- 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 +9 -6
- data/lib/google/api/logging_pb.rb +11 -10
- data/lib/google/api/metric_pb.rb +46 -32
- data/lib/google/api/monitored_resource_pb.rb +22 -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 +42 -0
- data/lib/google/api/routing_pb.rb +25 -0
- data/lib/google/api/service_pb.rb +32 -32
- data/lib/google/api/source_info_pb.rb +6 -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 +25 -0
- data/lib/google/logging/type/http_request_pb.rb +30 -18
- data/lib/google/logging/type/log_severity_pb.rb +23 -12
- data/lib/google/longrunning/operations_pb.rb +48 -32
- data/lib/google/rpc/code_pb.rb +21 -19
- data/lib/google/rpc/error_details_pb.rb +71 -62
- data/lib/google/rpc/http_pb.rb +33 -0
- data/lib/google/rpc/status_pb.rb +8 -5
- data/lib/google/type/calendar_period_pb.rb +25 -0
- data/lib/google/type/color_pb.rb +9 -6
- data/lib/google/type/date_pb.rb +7 -5
- data/lib/google/type/datetime_pb.rb +35 -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 +21 -0
- data/lib/google/type/fraction_pb.rb +19 -0
- data/lib/google/type/interval_pb.rb +21 -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
- data/lib/googleapis/common/protos/types/version.rb +23 -0
- metadata +32 -39
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# source: google/api/resource.proto
|
|
3
|
+
|
|
4
|
+
require 'google/protobuf'
|
|
5
|
+
|
|
6
|
+
require 'google/protobuf/descriptor_pb'
|
|
7
|
+
|
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
|
+
add_file("google/api/resource.proto", :syntax => :proto3) do
|
|
10
|
+
add_message "google.api.ResourceDescriptor" do
|
|
11
|
+
optional :type, :string, 1
|
|
12
|
+
repeated :pattern, :string, 2
|
|
13
|
+
optional :name_field, :string, 3
|
|
14
|
+
optional :history, :enum, 4, "google.api.ResourceDescriptor.History"
|
|
15
|
+
optional :plural, :string, 5
|
|
16
|
+
optional :singular, :string, 6
|
|
17
|
+
repeated :style, :enum, 10, "google.api.ResourceDescriptor.Style"
|
|
18
|
+
end
|
|
19
|
+
add_enum "google.api.ResourceDescriptor.History" do
|
|
20
|
+
value :HISTORY_UNSPECIFIED, 0
|
|
21
|
+
value :ORIGINALLY_SINGLE_PATTERN, 1
|
|
22
|
+
value :FUTURE_MULTI_PATTERN, 2
|
|
23
|
+
end
|
|
24
|
+
add_enum "google.api.ResourceDescriptor.Style" do
|
|
25
|
+
value :STYLE_UNSPECIFIED, 0
|
|
26
|
+
value :DECLARATIVE_FRIENDLY, 1
|
|
27
|
+
end
|
|
28
|
+
add_message "google.api.ResourceReference" do
|
|
29
|
+
optional :type, :string, 1
|
|
30
|
+
optional :child_type, :string, 2
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
module Google
|
|
36
|
+
module Api
|
|
37
|
+
ResourceDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor").msgclass
|
|
38
|
+
ResourceDescriptor::History = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor.History").enummodule
|
|
39
|
+
ResourceDescriptor::Style = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor.Style").enummodule
|
|
40
|
+
ResourceReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceReference").msgclass
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# source: google/api/routing.proto
|
|
3
|
+
|
|
4
|
+
require 'google/protobuf'
|
|
5
|
+
|
|
6
|
+
require 'google/protobuf/descriptor_pb'
|
|
7
|
+
|
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
|
+
add_file("google/api/routing.proto", :syntax => :proto3) do
|
|
10
|
+
add_message "google.api.RoutingRule" do
|
|
11
|
+
repeated :routing_parameters, :message, 2, "google.api.RoutingParameter"
|
|
12
|
+
end
|
|
13
|
+
add_message "google.api.RoutingParameter" do
|
|
14
|
+
optional :field, :string, 1
|
|
15
|
+
optional :path_template, :string, 2
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Api
|
|
22
|
+
RoutingRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.RoutingRule").msgclass
|
|
23
|
+
RoutingParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.RoutingParameter").msgclass
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -3,17 +3,15 @@
|
|
|
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'
|
|
9
|
+
require 'google/api/client_pb'
|
|
10
10
|
require 'google/api/context_pb'
|
|
11
11
|
require 'google/api/control_pb'
|
|
12
12
|
require 'google/api/documentation_pb'
|
|
13
13
|
require 'google/api/endpoint_pb'
|
|
14
|
-
require 'google/api/experimental/experimental_pb'
|
|
15
14
|
require 'google/api/http_pb'
|
|
16
|
-
require 'google/api/label_pb'
|
|
17
15
|
require 'google/api/log_pb'
|
|
18
16
|
require 'google/api/logging_pb'
|
|
19
17
|
require 'google/api/metric_pb'
|
|
@@ -23,43 +21,45 @@ require 'google/api/quota_pb'
|
|
|
23
21
|
require 'google/api/source_info_pb'
|
|
24
22
|
require 'google/api/system_parameter_pb'
|
|
25
23
|
require 'google/api/usage_pb'
|
|
26
|
-
require 'google/protobuf/any_pb'
|
|
27
24
|
require 'google/protobuf/api_pb'
|
|
28
25
|
require 'google/protobuf/type_pb'
|
|
29
26
|
require 'google/protobuf/wrappers_pb'
|
|
27
|
+
|
|
30
28
|
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
|
-
|
|
29
|
+
add_file("google/api/service.proto", :syntax => :proto3) do
|
|
30
|
+
add_message "google.api.Service" do
|
|
31
|
+
optional :name, :string, 1
|
|
32
|
+
optional :title, :string, 2
|
|
33
|
+
optional :producer_project_id, :string, 22
|
|
34
|
+
optional :id, :string, 33
|
|
35
|
+
repeated :apis, :message, 3, "google.protobuf.Api"
|
|
36
|
+
repeated :types, :message, 4, "google.protobuf.Type"
|
|
37
|
+
repeated :enums, :message, 5, "google.protobuf.Enum"
|
|
38
|
+
optional :documentation, :message, 6, "google.api.Documentation"
|
|
39
|
+
optional :backend, :message, 8, "google.api.Backend"
|
|
40
|
+
optional :http, :message, 9, "google.api.Http"
|
|
41
|
+
optional :quota, :message, 10, "google.api.Quota"
|
|
42
|
+
optional :authentication, :message, 11, "google.api.Authentication"
|
|
43
|
+
optional :context, :message, 12, "google.api.Context"
|
|
44
|
+
optional :usage, :message, 15, "google.api.Usage"
|
|
45
|
+
repeated :endpoints, :message, 18, "google.api.Endpoint"
|
|
46
|
+
optional :control, :message, 21, "google.api.Control"
|
|
47
|
+
repeated :logs, :message, 23, "google.api.LogDescriptor"
|
|
48
|
+
repeated :metrics, :message, 24, "google.api.MetricDescriptor"
|
|
49
|
+
repeated :monitored_resources, :message, 25, "google.api.MonitoredResourceDescriptor"
|
|
50
|
+
optional :billing, :message, 26, "google.api.Billing"
|
|
51
|
+
optional :logging, :message, 27, "google.api.Logging"
|
|
52
|
+
optional :monitoring, :message, 28, "google.api.Monitoring"
|
|
53
|
+
optional :system_parameters, :message, 29, "google.api.SystemParameters"
|
|
54
|
+
optional :source_info, :message, 37, "google.api.SourceInfo"
|
|
55
|
+
optional :publishing, :message, 45, "google.api.Publishing"
|
|
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
|
|
@@ -4,14 +4,17 @@
|
|
|
4
4
|
require 'google/protobuf'
|
|
5
5
|
|
|
6
6
|
require 'google/protobuf/any_pb'
|
|
7
|
+
|
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
add_file("google/api/source_info.proto", :syntax => :proto3) do
|
|
10
|
+
add_message "google.api.SourceInfo" do
|
|
11
|
+
repeated :source_files, :message, 1, "google.protobuf.Any"
|
|
12
|
+
end
|
|
10
13
|
end
|
|
11
14
|
end
|
|
12
15
|
|
|
13
16
|
module Google
|
|
14
17
|
module Api
|
|
15
|
-
SourceInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SourceInfo").msgclass
|
|
18
|
+
SourceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SourceInfo").msgclass
|
|
16
19
|
end
|
|
17
20
|
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,25 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# source: google/api/visibility.proto
|
|
3
|
+
|
|
4
|
+
require 'google/protobuf'
|
|
5
|
+
|
|
6
|
+
require 'google/protobuf/descriptor_pb'
|
|
7
|
+
|
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
|
+
add_file("google/api/visibility.proto", :syntax => :proto3) do
|
|
10
|
+
add_message "google.api.Visibility" do
|
|
11
|
+
repeated :rules, :message, 1, "google.api.VisibilityRule"
|
|
12
|
+
end
|
|
13
|
+
add_message "google.api.VisibilityRule" do
|
|
14
|
+
optional :selector, :string, 1
|
|
15
|
+
optional :restriction, :string, 2
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Api
|
|
22
|
+
Visibility = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Visibility").msgclass
|
|
23
|
+
VisibilityRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.VisibilityRule").msgclass
|
|
24
|
+
end
|
|
25
|
+
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
|
+
|
|
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
|
|
@@ -3,25 +3,36 @@
|
|
|
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
|
-
|
|
7
|
+
add_file("google/logging/type/log_severity.proto", :syntax => :proto3) do
|
|
8
|
+
add_enum "google.logging.type.LogSeverity" do
|
|
9
|
+
value :DEFAULT, 0
|
|
10
|
+
value :DEBUG, 100
|
|
11
|
+
value :INFO, 200
|
|
12
|
+
value :NOTICE, 300
|
|
13
|
+
value :WARNING, 400
|
|
14
|
+
value :ERROR, 500
|
|
15
|
+
value :CRITICAL, 600
|
|
16
|
+
value :ALERT, 700
|
|
17
|
+
value :EMERGENCY, 800
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module Logging
|
|
25
|
+
module Type
|
|
26
|
+
LogSeverity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.LogSeverity").enummodule
|
|
27
|
+
end
|
|
28
|
+
end
|
|
18
29
|
end
|
|
19
30
|
end
|
|
20
31
|
|
|
21
32
|
module Google
|
|
22
33
|
module Logging
|
|
23
34
|
module Type
|
|
24
|
-
LogSeverity = Google::
|
|
35
|
+
LogSeverity = ::Google::Cloud::Logging::Type::LogSeverity
|
|
25
36
|
end
|
|
26
37
|
end
|
|
27
38
|
end
|
|
@@ -4,47 +4,63 @@
|
|
|
4
4
|
require 'google/protobuf'
|
|
5
5
|
|
|
6
6
|
require 'google/api/annotations_pb'
|
|
7
|
+
require 'google/api/client_pb'
|
|
7
8
|
require 'google/protobuf/any_pb'
|
|
9
|
+
require 'google/protobuf/duration_pb'
|
|
8
10
|
require 'google/protobuf/empty_pb'
|
|
9
11
|
require 'google/rpc/status_pb'
|
|
12
|
+
require 'google/protobuf/descriptor_pb'
|
|
13
|
+
|
|
10
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
add_file("google/longrunning/operations.proto", :syntax => :proto3) do
|
|
16
|
+
add_message "google.longrunning.Operation" do
|
|
17
|
+
optional :name, :string, 1
|
|
18
|
+
optional :metadata, :message, 2, "google.protobuf.Any"
|
|
19
|
+
optional :done, :bool, 3
|
|
20
|
+
oneof :result do
|
|
21
|
+
optional :error, :message, 4, "google.rpc.Status"
|
|
22
|
+
optional :response, :message, 5, "google.protobuf.Any"
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
add_message "google.longrunning.GetOperationRequest" do
|
|
26
|
+
optional :name, :string, 1
|
|
27
|
+
end
|
|
28
|
+
add_message "google.longrunning.ListOperationsRequest" do
|
|
29
|
+
optional :name, :string, 4
|
|
30
|
+
optional :filter, :string, 1
|
|
31
|
+
optional :page_size, :int32, 2
|
|
32
|
+
optional :page_token, :string, 3
|
|
33
|
+
end
|
|
34
|
+
add_message "google.longrunning.ListOperationsResponse" do
|
|
35
|
+
repeated :operations, :message, 1, "google.longrunning.Operation"
|
|
36
|
+
optional :next_page_token, :string, 2
|
|
37
|
+
end
|
|
38
|
+
add_message "google.longrunning.CancelOperationRequest" do
|
|
39
|
+
optional :name, :string, 1
|
|
40
|
+
end
|
|
41
|
+
add_message "google.longrunning.DeleteOperationRequest" do
|
|
42
|
+
optional :name, :string, 1
|
|
43
|
+
end
|
|
44
|
+
add_message "google.longrunning.WaitOperationRequest" do
|
|
45
|
+
optional :name, :string, 1
|
|
46
|
+
optional :timeout, :message, 2, "google.protobuf.Duration"
|
|
47
|
+
end
|
|
48
|
+
add_message "google.longrunning.OperationInfo" do
|
|
49
|
+
optional :response_type, :string, 1
|
|
50
|
+
optional :metadata_type, :string, 2
|
|
18
51
|
end
|
|
19
|
-
end
|
|
20
|
-
add_message "google.longrunning.GetOperationRequest" do
|
|
21
|
-
optional :name, :string, 1
|
|
22
|
-
end
|
|
23
|
-
add_message "google.longrunning.ListOperationsRequest" do
|
|
24
|
-
optional :name, :string, 4
|
|
25
|
-
optional :filter, :string, 1
|
|
26
|
-
optional :page_size, :int32, 2
|
|
27
|
-
optional :page_token, :string, 3
|
|
28
|
-
end
|
|
29
|
-
add_message "google.longrunning.ListOperationsResponse" do
|
|
30
|
-
repeated :operations, :message, 1, "google.longrunning.Operation"
|
|
31
|
-
optional :next_page_token, :string, 2
|
|
32
|
-
end
|
|
33
|
-
add_message "google.longrunning.CancelOperationRequest" do
|
|
34
|
-
optional :name, :string, 1
|
|
35
|
-
end
|
|
36
|
-
add_message "google.longrunning.DeleteOperationRequest" do
|
|
37
|
-
optional :name, :string, 1
|
|
38
52
|
end
|
|
39
53
|
end
|
|
40
54
|
|
|
41
55
|
module Google
|
|
42
56
|
module Longrunning
|
|
43
|
-
Operation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.Operation").msgclass
|
|
44
|
-
GetOperationRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.GetOperationRequest").msgclass
|
|
45
|
-
ListOperationsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.ListOperationsRequest").msgclass
|
|
46
|
-
ListOperationsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.ListOperationsResponse").msgclass
|
|
47
|
-
CancelOperationRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.CancelOperationRequest").msgclass
|
|
48
|
-
DeleteOperationRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.DeleteOperationRequest").msgclass
|
|
57
|
+
Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.Operation").msgclass
|
|
58
|
+
GetOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.GetOperationRequest").msgclass
|
|
59
|
+
ListOperationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.ListOperationsRequest").msgclass
|
|
60
|
+
ListOperationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.ListOperationsResponse").msgclass
|
|
61
|
+
CancelOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.CancelOperationRequest").msgclass
|
|
62
|
+
DeleteOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.DeleteOperationRequest").msgclass
|
|
63
|
+
WaitOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.WaitOperationRequest").msgclass
|
|
64
|
+
OperationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.longrunning.OperationInfo").msgclass
|
|
49
65
|
end
|
|
50
66
|
end
|
data/lib/google/rpc/code_pb.rb
CHANGED
|
@@ -4,29 +4,31 @@
|
|
|
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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
7
|
+
add_file("google/rpc/code.proto", :syntax => :proto3) do
|
|
8
|
+
add_enum "google.rpc.Code" do
|
|
9
|
+
value :OK, 0
|
|
10
|
+
value :CANCELLED, 1
|
|
11
|
+
value :UNKNOWN, 2
|
|
12
|
+
value :INVALID_ARGUMENT, 3
|
|
13
|
+
value :DEADLINE_EXCEEDED, 4
|
|
14
|
+
value :NOT_FOUND, 5
|
|
15
|
+
value :ALREADY_EXISTS, 6
|
|
16
|
+
value :PERMISSION_DENIED, 7
|
|
17
|
+
value :UNAUTHENTICATED, 16
|
|
18
|
+
value :RESOURCE_EXHAUSTED, 8
|
|
19
|
+
value :FAILED_PRECONDITION, 9
|
|
20
|
+
value :ABORTED, 10
|
|
21
|
+
value :OUT_OF_RANGE, 11
|
|
22
|
+
value :UNIMPLEMENTED, 12
|
|
23
|
+
value :INTERNAL, 13
|
|
24
|
+
value :UNAVAILABLE, 14
|
|
25
|
+
value :DATA_LOSS, 15
|
|
26
|
+
end
|
|
25
27
|
end
|
|
26
28
|
end
|
|
27
29
|
|
|
28
30
|
module Google
|
|
29
31
|
module Rpc
|
|
30
|
-
Code = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Code").enummodule
|
|
32
|
+
Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Code").enummodule
|
|
31
33
|
end
|
|
32
34
|
end
|