googleapis-common-protos-types 1.0.4 → 1.0.5

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.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/Gemfile +0 -1
  4. data/googleapis-common-protos-types.gemspec +6 -6
  5. data/lib/google/api/annotations_pb.rb +2 -0
  6. data/lib/google/api/auth_pb.rb +39 -29
  7. data/lib/google/api/backend_pb.rb +24 -20
  8. data/lib/google/api/billing_pb.rb +10 -9
  9. data/lib/google/api/client_pb.rb +2 -0
  10. data/lib/google/api/config_change_pb.rb +20 -18
  11. data/lib/google/api/consumer_pb.rb +19 -17
  12. data/lib/google/api/context_pb.rb +13 -11
  13. data/lib/google/api/control_pb.rb +5 -3
  14. data/lib/google/api/distribution_pb.rb +45 -43
  15. data/lib/google/api/documentation_pb.rb +21 -19
  16. data/lib/google/api/endpoint_pb.rb +9 -8
  17. data/lib/google/api/field_behavior_pb.rb +10 -8
  18. data/lib/google/api/http_pb.rb +25 -23
  19. data/lib/google/api/httpbody_pb.rb +7 -5
  20. data/lib/google/api/label_pb.rb +13 -11
  21. data/lib/google/api/launch_stage_pb.rb +10 -8
  22. data/lib/google/api/log_pb.rb +8 -6
  23. data/lib/google/api/logging_pb.rb +11 -10
  24. data/lib/google/api/metric_pb.rb +42 -39
  25. data/lib/google/api/monitored_resource_pb.rb +21 -17
  26. data/lib/google/api/monitoring_pb.rb +11 -10
  27. data/lib/google/api/quota_pb.rb +24 -23
  28. data/lib/google/api/resource_pb.rb +21 -4
  29. data/lib/google/api/service_pb.rb +30 -30
  30. data/lib/google/api/source_info_pb.rb +5 -3
  31. data/lib/google/api/system_parameter_pb.rb +16 -14
  32. data/lib/google/api/usage_pb.rb +13 -12
  33. data/lib/google/logging/type/http_request_pb.rb +20 -18
  34. data/lib/google/logging/type/log_severity_pb.rb +13 -11
  35. data/lib/google/longrunning/operations_pb.rb +45 -42
  36. data/lib/google/rpc/code_pb.rb +21 -19
  37. data/lib/google/rpc/error_details_pb.rb +70 -62
  38. data/lib/google/rpc/status_pb.rb +7 -5
  39. data/lib/google/type/calendar_period_pb.rb +12 -10
  40. data/lib/google/type/color_pb.rb +8 -6
  41. data/lib/google/type/date_pb.rb +7 -5
  42. data/lib/google/type/datetime_pb.rb +34 -0
  43. data/lib/google/type/dayofweek_pb.rb +12 -10
  44. data/lib/google/type/expr_pb.rb +8 -6
  45. data/lib/google/type/fraction_pb.rb +6 -4
  46. data/lib/google/type/latlng_pb.rb +6 -4
  47. data/lib/google/type/money_pb.rb +7 -5
  48. data/lib/google/type/month_pb.rb +30 -0
  49. data/lib/google/type/postal_address_pb.rb +15 -13
  50. data/lib/google/type/quaternion_pb.rb +8 -6
  51. data/lib/google/type/timeofday_pb.rb +8 -6
  52. metadata +14 -13
@@ -4,29 +4,31 @@
4
4
  require 'google/protobuf'
5
5
 
6
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"
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 :overview, :string, 2
14
+ end
15
+ add_message "google.api.DocumentationRule" do
16
+ optional :selector, :string, 1
17
+ optional :description, :string, 2
18
+ optional :deprecation_description, :string, 3
19
+ end
20
+ add_message "google.api.Page" do
21
+ optional :name, :string, 1
22
+ optional :content, :string, 2
23
+ repeated :subpages, :message, 3, "google.api.Page"
24
+ end
23
25
  end
24
26
  end
25
27
 
26
28
  module Google
27
29
  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
30
+ Documentation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Documentation").msgclass
31
+ DocumentationRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.DocumentationRule").msgclass
32
+ Page = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Page").msgclass
31
33
  end
32
34
  end
@@ -3,19 +3,20 @@
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
- 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
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
+ repeated :features, :string, 4
12
+ optional :target, :string, 101
13
+ optional :allow_cors, :bool, 5
14
+ end
14
15
  end
15
16
  end
16
17
 
17
18
  module Google
18
19
  module Api
19
- Endpoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Endpoint").msgclass
20
+ Endpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Endpoint").msgclass
20
21
  end
21
22
  end
@@ -4,18 +4,20 @@
4
4
  require 'google/protobuf'
5
5
 
6
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
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
+ end
14
16
  end
15
17
  end
16
18
 
17
19
  module Google
18
20
  module Api
19
- FieldBehavior = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.FieldBehavior").enummodule
21
+ FieldBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.FieldBehavior").enummodule
20
22
  end
21
23
  end
@@ -4,34 +4,36 @@
4
4
  require 'google/protobuf'
5
5
 
6
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"
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
- add_message "google.api.HttpBody" do
9
- optional :content_type, :string, 1
10
- optional :data, :bytes, 2
11
- repeated :extensions, :message, 3, "google.protobuf.Any"
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
@@ -4,21 +4,23 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "google.api.LabelDescriptor" do
8
- optional :key, :string, 1
9
- optional :value_type, :enum, 2, "google.api.LabelDescriptor.ValueType"
10
- optional :description, :string, 3
11
- end
12
- add_enum "google.api.LabelDescriptor.ValueType" do
13
- value :STRING, 0
14
- value :BOOL, 1
15
- value :INT64, 2
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,20 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_enum "google.api.LaunchStage" do
8
- value :LAUNCH_STAGE_UNSPECIFIED, 0
9
- value :EARLY_ACCESS, 1
10
- value :ALPHA, 2
11
- value :BETA, 3
12
- value :GA, 4
13
- value :DEPRECATED, 5
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 :EARLY_ACCESS, 1
11
+ value :ALPHA, 2
12
+ value :BETA, 3
13
+ value :GA, 4
14
+ value :DEPRECATED, 5
15
+ end
14
16
  end
15
17
  end
16
18
 
17
19
  module Google
18
20
  module Api
19
- LaunchStage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LaunchStage").enummodule
21
+ LaunchStage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.LaunchStage").enummodule
20
22
  end
21
23
  end
@@ -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
- add_message "google.api.LogDescriptor" do
9
- optional :name, :string, 1
10
- repeated :labels, :message, 2, "google.api.LabelDescriptor"
11
- optional :description, :string, 3
12
- optional :display_name, :string, 4
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
- 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
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
@@ -7,49 +7,52 @@ 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
- add_message "google.api.MetricDescriptor" do
11
- optional :name, :string, 1
12
- optional :type, :string, 8
13
- repeated :labels, :message, 2, "google.api.LabelDescriptor"
14
- optional :metric_kind, :enum, 3, "google.api.MetricDescriptor.MetricKind"
15
- optional :value_type, :enum, 4, "google.api.MetricDescriptor.ValueType"
16
- optional :unit, :string, 5
17
- optional :description, :string, 6
18
- optional :display_name, :string, 7
19
- optional :metadata, :message, 10, "google.api.MetricDescriptor.MetricDescriptorMetadata"
20
- end
21
- add_message "google.api.MetricDescriptor.MetricDescriptorMetadata" do
22
- optional :launch_stage, :enum, 1, "google.api.LaunchStage"
23
- optional :sample_period, :message, 2, "google.protobuf.Duration"
24
- optional :ingest_delay, :message, 3, "google.protobuf.Duration"
25
- end
26
- add_enum "google.api.MetricDescriptor.MetricKind" do
27
- value :METRIC_KIND_UNSPECIFIED, 0
28
- value :GAUGE, 1
29
- value :DELTA, 2
30
- value :CUMULATIVE, 3
31
- end
32
- add_enum "google.api.MetricDescriptor.ValueType" do
33
- value :VALUE_TYPE_UNSPECIFIED, 0
34
- value :BOOL, 1
35
- value :INT64, 2
36
- value :DOUBLE, 3
37
- value :STRING, 4
38
- value :DISTRIBUTION, 5
39
- value :MONEY, 6
40
- end
41
- add_message "google.api.Metric" do
42
- optional :type, :string, 3
43
- map :labels, :string, :string, 2
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
+ end
23
+ add_message "google.api.MetricDescriptor.MetricDescriptorMetadata" do
24
+ optional :launch_stage, :enum, 1, "google.api.LaunchStage"
25
+ optional :sample_period, :message, 2, "google.protobuf.Duration"
26
+ optional :ingest_delay, :message, 3, "google.protobuf.Duration"
27
+ end
28
+ add_enum "google.api.MetricDescriptor.MetricKind" do
29
+ value :METRIC_KIND_UNSPECIFIED, 0
30
+ value :GAUGE, 1
31
+ value :DELTA, 2
32
+ value :CUMULATIVE, 3
33
+ end
34
+ add_enum "google.api.MetricDescriptor.ValueType" do
35
+ value :VALUE_TYPE_UNSPECIFIED, 0
36
+ value :BOOL, 1
37
+ value :INT64, 2
38
+ value :DOUBLE, 3
39
+ value :STRING, 4
40
+ value :DISTRIBUTION, 5
41
+ value :MONEY, 6
42
+ end
43
+ add_message "google.api.Metric" do
44
+ optional :type, :string, 3
45
+ map :labels, :string, :string, 2
46
+ end
44
47
  end
45
48
  end
46
49
 
47
50
  module Google
48
51
  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
52
+ MetricDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor").msgclass
53
+ MetricDescriptor::MetricDescriptorMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.MetricDescriptorMetadata").msgclass
54
+ MetricDescriptor::MetricKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.MetricKind").enummodule
55
+ MetricDescriptor::ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.ValueType").enummodule
56
+ Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Metric").msgclass
54
57
  end
55
58
  end
@@ -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
- add_message "google.api.MonitoredResourceDescriptor" do
10
- optional :name, :string, 5
11
- optional :type, :string, 1
12
- optional :display_name, :string, 2
13
- optional :description, :string, 3
14
- repeated :labels, :message, 4, "google.api.LabelDescriptor"
15
- end
16
- add_message "google.api.MonitoredResource" do
17
- optional :type, :string, 1
18
- map :labels, :string, :string, 2
19
- end
20
- add_message "google.api.MonitoredResourceMetadata" do
21
- optional :system_labels, :message, 1, "google.protobuf.Struct"
22
- map :user_labels, :string, :string, 2
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