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,32 @@
|
|
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
|
-
|
7
|
+
add_file("google/api/documentation.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.api.Documentation" do
|
9
|
+
optional :summary, :string, 1
|
10
|
+
repeated :pages, :message, 5, "google.api.Page"
|
11
|
+
repeated :rules, :message, 3, "google.api.DocumentationRule"
|
12
|
+
optional :documentation_root_url, :string, 4
|
13
|
+
optional :service_root_url, :string, 6
|
14
|
+
optional :overview, :string, 2
|
15
|
+
end
|
16
|
+
add_message "google.api.DocumentationRule" do
|
17
|
+
optional :selector, :string, 1
|
18
|
+
optional :description, :string, 2
|
19
|
+
optional :deprecation_description, :string, 3
|
20
|
+
end
|
21
|
+
add_message "google.api.Page" do
|
22
|
+
optional :name, :string, 1
|
23
|
+
optional :content, :string, 2
|
24
|
+
repeated :subpages, :message, 3, "google.api.Page"
|
25
|
+
end
|
23
26
|
end
|
24
27
|
end
|
25
28
|
|
26
29
|
module Google
|
27
30
|
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
|
+
Documentation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Documentation").msgclass
|
32
|
+
DocumentationRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.DocumentationRule").msgclass
|
33
|
+
Page = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Page").msgclass
|
31
34
|
end
|
32
35
|
end
|
@@ -3,19 +3,19 @@
|
|
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
|
-
|
7
|
+
add_file("google/api/endpoint.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.api.Endpoint" do
|
9
|
+
optional :name, :string, 1
|
10
|
+
repeated :aliases, :string, 2
|
11
|
+
optional :target, :string, 101
|
12
|
+
optional :allow_cors, :bool, 5
|
13
|
+
end
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
17
|
module Google
|
18
18
|
module Api
|
19
|
-
Endpoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Endpoint").msgclass
|
19
|
+
Endpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Endpoint").msgclass
|
20
20
|
end
|
21
21
|
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/api/error_reason.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/api/error_reason.proto", :syntax => :proto3) do
|
8
|
+
add_enum "google.api.ErrorReason" do
|
9
|
+
value :ERROR_REASON_UNSPECIFIED, 0
|
10
|
+
value :SERVICE_DISABLED, 1
|
11
|
+
value :BILLING_DISABLED, 2
|
12
|
+
value :API_KEY_INVALID, 3
|
13
|
+
value :API_KEY_SERVICE_BLOCKED, 4
|
14
|
+
value :API_KEY_HTTP_REFERRER_BLOCKED, 7
|
15
|
+
value :API_KEY_IP_ADDRESS_BLOCKED, 8
|
16
|
+
value :API_KEY_ANDROID_APP_BLOCKED, 9
|
17
|
+
value :API_KEY_IOS_APP_BLOCKED, 13
|
18
|
+
value :RATE_LIMIT_EXCEEDED, 5
|
19
|
+
value :RESOURCE_QUOTA_EXCEEDED, 6
|
20
|
+
value :LOCATION_TAX_POLICY_VIOLATED, 10
|
21
|
+
value :USER_PROJECT_DENIED, 11
|
22
|
+
value :CONSUMER_SUSPENDED, 12
|
23
|
+
value :CONSUMER_INVALID, 14
|
24
|
+
value :SECURITY_POLICY_VIOLATED, 15
|
25
|
+
value :ACCESS_TOKEN_EXPIRED, 16
|
26
|
+
value :ACCESS_TOKEN_SCOPE_INSUFFICIENT, 17
|
27
|
+
value :ACCOUNT_STATE_INVALID, 18
|
28
|
+
value :ACCESS_TOKEN_TYPE_UNSUPPORTED, 19
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
module Google
|
34
|
+
module Api
|
35
|
+
ErrorReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ErrorReason").enummodule
|
36
|
+
end
|
37
|
+
end
|
@@ -4,18 +4,22 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
7
|
+
add_file("google/api/field_behavior.proto", :syntax => :proto3) do
|
8
|
+
add_enum "google.api.FieldBehavior" do
|
9
|
+
value :FIELD_BEHAVIOR_UNSPECIFIED, 0
|
10
|
+
value :OPTIONAL, 1
|
11
|
+
value :REQUIRED, 2
|
12
|
+
value :OUTPUT_ONLY, 3
|
13
|
+
value :INPUT_ONLY, 4
|
14
|
+
value :IMMUTABLE, 5
|
15
|
+
value :UNORDERED_LIST, 6
|
16
|
+
value :NON_EMPTY_DEFAULT, 7
|
17
|
+
end
|
14
18
|
end
|
15
19
|
end
|
16
20
|
|
17
21
|
module Google
|
18
22
|
module Api
|
19
|
-
FieldBehavior = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.FieldBehavior").enummodule
|
23
|
+
FieldBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.FieldBehavior").enummodule
|
20
24
|
end
|
21
25
|
end
|
data/lib/google/api/http_pb.rb
CHANGED
@@ -4,34 +4,36 @@
|
|
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
|
-
|
7
|
+
add_file("google/api/http.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.api.Http" do
|
9
|
+
repeated :rules, :message, 1, "google.api.HttpRule"
|
10
|
+
optional :fully_decode_reserved_expansion, :bool, 2
|
11
|
+
end
|
12
|
+
add_message "google.api.HttpRule" do
|
13
|
+
optional :selector, :string, 1
|
14
|
+
optional :body, :string, 7
|
15
|
+
optional :response_body, :string, 12
|
16
|
+
repeated :additional_bindings, :message, 11, "google.api.HttpRule"
|
17
|
+
oneof :pattern do
|
18
|
+
optional :get, :string, 2
|
19
|
+
optional :put, :string, 3
|
20
|
+
optional :post, :string, 4
|
21
|
+
optional :delete, :string, 5
|
22
|
+
optional :patch, :string, 6
|
23
|
+
optional :custom, :message, 8, "google.api.CustomHttpPattern"
|
24
|
+
end
|
25
|
+
end
|
26
|
+
add_message "google.api.CustomHttpPattern" do
|
27
|
+
optional :kind, :string, 1
|
28
|
+
optional :path, :string, 2
|
23
29
|
end
|
24
|
-
end
|
25
|
-
add_message "google.api.CustomHttpPattern" do
|
26
|
-
optional :kind, :string, 1
|
27
|
-
optional :path, :string, 2
|
28
30
|
end
|
29
31
|
end
|
30
32
|
|
31
33
|
module Google
|
32
34
|
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
|
35
|
+
Http = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Http").msgclass
|
36
|
+
HttpRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.HttpRule").msgclass
|
37
|
+
CustomHttpPattern = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.CustomHttpPattern").msgclass
|
36
38
|
end
|
37
39
|
end
|
@@ -5,15 +5,17 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'google/protobuf/any_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
add_file("google/api/httpbody.proto", :syntax => :proto3) do
|
9
|
+
add_message "google.api.HttpBody" do
|
10
|
+
optional :content_type, :string, 1
|
11
|
+
optional :data, :bytes, 2
|
12
|
+
repeated :extensions, :message, 3, "google.protobuf.Any"
|
13
|
+
end
|
12
14
|
end
|
13
15
|
end
|
14
16
|
|
15
17
|
module Google
|
16
18
|
module Api
|
17
|
-
HttpBody = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.HttpBody").msgclass
|
19
|
+
HttpBody = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.HttpBody").msgclass
|
18
20
|
end
|
19
21
|
end
|
data/lib/google/api/label_pb.rb
CHANGED
@@ -4,21 +4,23 @@
|
|
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
|
-
|
7
|
+
add_file("google/api/label.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.api.LabelDescriptor" do
|
9
|
+
optional :key, :string, 1
|
10
|
+
optional :value_type, :enum, 2, "google.api.LabelDescriptor.ValueType"
|
11
|
+
optional :description, :string, 3
|
12
|
+
end
|
13
|
+
add_enum "google.api.LabelDescriptor.ValueType" do
|
14
|
+
value :STRING, 0
|
15
|
+
value :BOOL, 1
|
16
|
+
value :INT64, 2
|
17
|
+
end
|
16
18
|
end
|
17
19
|
end
|
18
20
|
|
19
21
|
module Google
|
20
22
|
module Api
|
21
|
-
LabelDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LabelDescriptor").msgclass
|
22
|
-
LabelDescriptor::ValueType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LabelDescriptor.ValueType").enummodule
|
23
|
+
LabelDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LabelDescriptor").msgclass
|
24
|
+
LabelDescriptor::ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LabelDescriptor.ValueType").enummodule
|
23
25
|
end
|
24
26
|
end
|
@@ -4,18 +4,22 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
7
|
+
add_file("google/api/launch_stage.proto", :syntax => :proto3) do
|
8
|
+
add_enum "google.api.LaunchStage" do
|
9
|
+
value :LAUNCH_STAGE_UNSPECIFIED, 0
|
10
|
+
value :UNIMPLEMENTED, 6
|
11
|
+
value :PRELAUNCH, 7
|
12
|
+
value :EARLY_ACCESS, 1
|
13
|
+
value :ALPHA, 2
|
14
|
+
value :BETA, 3
|
15
|
+
value :GA, 4
|
16
|
+
value :DEPRECATED, 5
|
17
|
+
end
|
14
18
|
end
|
15
19
|
end
|
16
20
|
|
17
21
|
module Google
|
18
22
|
module Api
|
19
|
-
LaunchStage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LaunchStage").enummodule
|
23
|
+
LaunchStage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LaunchStage").enummodule
|
20
24
|
end
|
21
25
|
end
|
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
@@ -7,49 +7,53 @@ require 'google/api/label_pb'
|
|
7
7
|
require 'google/api/launch_stage_pb'
|
8
8
|
require 'google/protobuf/duration_pb'
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
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
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
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
|
44
48
|
end
|
45
49
|
end
|
46
50
|
|
47
51
|
module Google
|
48
52
|
module Api
|
49
|
-
MetricDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor").msgclass
|
50
|
-
MetricDescriptor::MetricDescriptorMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.MetricDescriptorMetadata").msgclass
|
51
|
-
MetricDescriptor::MetricKind = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.MetricKind").enummodule
|
52
|
-
MetricDescriptor::ValueType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.ValueType").enummodule
|
53
|
-
Metric = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Metric").msgclass
|
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
|
54
58
|
end
|
55
59
|
end
|