googleapis-common-protos-types 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/lib/google/api/annotations_pb.rb +60 -2
  4. data/lib/google/api/auth_pb.rb +264 -34
  5. data/lib/google/api/backend_pb.rb +212 -23
  6. data/lib/google/api/billing_pb.rb +104 -8
  7. data/lib/google/api/client_pb.rb +422 -86
  8. data/lib/google/api/config_change_pb.rb +111 -17
  9. data/lib/google/api/consumer_pb.rb +109 -16
  10. data/lib/google/api/context_pb.rb +117 -11
  11. data/lib/google/api/control_pb.rb +71 -4
  12. data/lib/google/api/distribution_pb.rb +242 -39
  13. data/lib/google/api/documentation_pb.rb +195 -19
  14. data/lib/google/api/endpoint_pb.rb +100 -7
  15. data/lib/google/api/error_reason_pb.rb +597 -33
  16. data/lib/google/api/field_behavior_pb.rb +117 -11
  17. data/lib/google/api/http_pb.rb +406 -23
  18. data/lib/google/api/httpbody_pb.rb +109 -6
  19. data/lib/google/api/label_pb.rb +75 -11
  20. data/lib/google/api/launch_stage_pb.rb +99 -11
  21. data/lib/google/api/log_pb.rb +82 -7
  22. data/lib/google/api/logging_pb.rb +108 -9
  23. data/lib/google/api/metric_pb.rb +297 -38
  24. data/lib/google/api/monitored_resource_pb.rb +159 -17
  25. data/lib/google/api/monitoring_pb.rb +134 -9
  26. data/lib/google/api/policy_pb.rb +129 -0
  27. data/lib/google/api/quota_pb.rb +211 -21
  28. data/lib/google/api/resource_pb.rb +265 -23
  29. data/lib/google/api/routing_pb.rb +488 -8
  30. data/lib/google/api/service_pb.rb +239 -29
  31. data/lib/google/api/source_info_pb.rb +59 -4
  32. data/lib/google/api/system_parameter_pb.rb +123 -13
  33. data/lib/google/api/usage_pb.rb +123 -11
  34. data/lib/google/api/visibility_pb.rb +140 -8
  35. data/lib/google/logging/type/http_request_pb.rb +123 -18
  36. data/lib/google/logging/type/log_severity_pb.rb +98 -12
  37. data/lib/google/longrunning/operations_pb.rb +277 -37
  38. data/lib/google/rpc/code_pb.rb +213 -20
  39. data/lib/google/rpc/context/attribute_context_pb.rb +375 -66
  40. data/lib/google/rpc/context/audit_context_pb.rb +77 -8
  41. data/lib/google/rpc/error_details_pb.rb +313 -56
  42. data/lib/google/rpc/http_pb.rb +91 -17
  43. data/lib/google/rpc/status_pb.rb +77 -6
  44. data/lib/google/type/calendar_period_pb.rb +83 -11
  45. data/lib/google/type/color_pb.rb +202 -7
  46. data/lib/google/type/date_pb.rb +79 -6
  47. data/lib/google/type/datetime_pb.rb +132 -18
  48. data/lib/google/type/dayofweek_pb.rb +77 -11
  49. data/lib/google/type/decimal_pb.rb +122 -4
  50. data/lib/google/type/expr_pb.rb +100 -7
  51. data/lib/google/type/fraction_pb.rb +60 -5
  52. data/lib/google/type/interval_pb.rb +74 -5
  53. data/lib/google/type/latlng_pb.rb +64 -5
  54. data/lib/google/type/localized_text_pb.rb +63 -5
  55. data/lib/google/type/money_pb.rb +69 -6
  56. data/lib/google/type/month_pb.rb +92 -16
  57. data/lib/google/type/phone_number_pb.rb +140 -12
  58. data/lib/google/type/postal_address_pb.rb +161 -14
  59. data/lib/google/type/quaternion_pb.rb +121 -7
  60. data/lib/google/type/timeofday_pb.rb +71 -7
  61. data/lib/googleapis/common/protos/types/version.rb +1 -1
  62. metadata +5 -4
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/api/visibility.proto
3
4
 
@@ -5,16 +6,31 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/descriptor_pb'
7
8
 
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
9
+
10
+ descriptor_data = "\n\x1bgoogle/api/visibility.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto\"7\n\nVisibility\x12)\n\x05rules\x18\x01 \x03(\x0b\x32\x1a.google.api.VisibilityRule\"7\n\x0eVisibilityRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\x13\n\x0brestriction\x18\x02 \x01(\t:T\n\x0f\x65num_visibility\x12\x1c.google.protobuf.EnumOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRule:Z\n\x10value_visibility\x12!.google.protobuf.EnumValueOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRule:V\n\x10\x66ield_visibility\x12\x1d.google.protobuf.FieldOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRule:Z\n\x12message_visibility\x12\x1f.google.protobuf.MessageOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRule:X\n\x11method_visibility\x12\x1e.google.protobuf.MethodOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRule:V\n\x0e\x61pi_visibility\x12\x1f.google.protobuf.ServiceOptions\x18\xaf\xca\xbc\" \x01(\x0b\x32\x1a.google.api.VisibilityRuleBn\n\x0e\x63om.google.apiB\x0fVisibilityProtoP\x01Z?google.golang.org/genproto/googleapis/api/visibility;visibility\xf8\x01\x01\xa2\x02\x04GAPIb\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
16
30
  end
17
31
  end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
18
34
  end
19
35
 
20
36
  module Google
@@ -23,3 +39,119 @@ module Google
23
39
  VisibilityRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.VisibilityRule").msgclass
24
40
  end
25
41
  end
42
+
43
+ #### Source proto file: google/api/visibility.proto ####
44
+ #
45
+ # // Copyright 2023 Google LLC
46
+ # //
47
+ # // Licensed under the Apache License, Version 2.0 (the "License");
48
+ # // you may not use this file except in compliance with the License.
49
+ # // You may obtain a copy of the License at
50
+ # //
51
+ # // http://www.apache.org/licenses/LICENSE-2.0
52
+ # //
53
+ # // Unless required by applicable law or agreed to in writing, software
54
+ # // distributed under the License is distributed on an "AS IS" BASIS,
55
+ # // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
56
+ # // See the License for the specific language governing permissions and
57
+ # // limitations under the License.
58
+ #
59
+ # syntax = "proto3";
60
+ #
61
+ # package google.api;
62
+ #
63
+ # import "google/protobuf/descriptor.proto";
64
+ #
65
+ # option cc_enable_arenas = true;
66
+ # option go_package = "google.golang.org/genproto/googleapis/api/visibility;visibility";
67
+ # option java_multiple_files = true;
68
+ # option java_outer_classname = "VisibilityProto";
69
+ # option java_package = "com.google.api";
70
+ # option objc_class_prefix = "GAPI";
71
+ #
72
+ # extend google.protobuf.EnumOptions {
73
+ # // See `VisibilityRule`.
74
+ # google.api.VisibilityRule enum_visibility = 72295727;
75
+ # }
76
+ #
77
+ # extend google.protobuf.EnumValueOptions {
78
+ # // See `VisibilityRule`.
79
+ # google.api.VisibilityRule value_visibility = 72295727;
80
+ # }
81
+ #
82
+ # extend google.protobuf.FieldOptions {
83
+ # // See `VisibilityRule`.
84
+ # google.api.VisibilityRule field_visibility = 72295727;
85
+ # }
86
+ #
87
+ # extend google.protobuf.MessageOptions {
88
+ # // See `VisibilityRule`.
89
+ # google.api.VisibilityRule message_visibility = 72295727;
90
+ # }
91
+ #
92
+ # extend google.protobuf.MethodOptions {
93
+ # // See `VisibilityRule`.
94
+ # google.api.VisibilityRule method_visibility = 72295727;
95
+ # }
96
+ #
97
+ # extend google.protobuf.ServiceOptions {
98
+ # // See `VisibilityRule`.
99
+ # google.api.VisibilityRule api_visibility = 72295727;
100
+ # }
101
+ #
102
+ # // `Visibility` restricts service consumer's access to service elements,
103
+ # // such as whether an application can call a visibility-restricted method.
104
+ # // The restriction is expressed by applying visibility labels on service
105
+ # // elements. The visibility labels are elsewhere linked to service consumers.
106
+ # //
107
+ # // A service can define multiple visibility labels, but a service consumer
108
+ # // should be granted at most one visibility label. Multiple visibility
109
+ # // labels for a single service consumer are not supported.
110
+ # //
111
+ # // If an element and all its parents have no visibility label, its visibility
112
+ # // is unconditionally granted.
113
+ # //
114
+ # // Example:
115
+ # //
116
+ # // visibility:
117
+ # // rules:
118
+ # // - selector: google.calendar.Calendar.EnhancedSearch
119
+ # // restriction: PREVIEW
120
+ # // - selector: google.calendar.Calendar.Delegate
121
+ # // restriction: INTERNAL
122
+ # //
123
+ # // Here, all methods are publicly visible except for the restricted methods
124
+ # // EnhancedSearch and Delegate.
125
+ # message Visibility {
126
+ # // A list of visibility rules that apply to individual API elements.
127
+ # //
128
+ # // **NOTE:** All service configuration rules follow "last one wins" order.
129
+ # repeated VisibilityRule rules = 1;
130
+ # }
131
+ #
132
+ # // A visibility rule provides visibility configuration for an individual API
133
+ # // element.
134
+ # message VisibilityRule {
135
+ # // Selects methods, messages, fields, enums, etc. to which this rule applies.
136
+ # //
137
+ # // Refer to [selector][google.api.DocumentationRule.selector] for syntax
138
+ # // details.
139
+ # string selector = 1;
140
+ #
141
+ # // A comma-separated list of visibility labels that apply to the `selector`.
142
+ # // Any of the listed labels can be used to grant the visibility.
143
+ # //
144
+ # // If a rule has multiple labels, removing one of the labels but not all of
145
+ # // them can break clients.
146
+ # //
147
+ # // Example:
148
+ # //
149
+ # // visibility:
150
+ # // rules:
151
+ # // - selector: google.calendar.Calendar.EnhancedSearch
152
+ # // restriction: INTERNAL, PREVIEW
153
+ # //
154
+ # // Removing INTERNAL from this restriction will break clients that rely on
155
+ # // this method and only had access to it through INTERNAL.
156
+ # string restriction = 2;
157
+ # }
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/logging/type/http_request.proto
3
4
 
@@ -5,26 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/duration_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
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
9
+
10
+ descriptor_data = "\n&google/logging/type/http_request.proto\x12\x13google.logging.type\x1a\x1egoogle/protobuf/duration.proto\"\xef\x02\n\x0bHttpRequest\x12\x16\n\x0erequest_method\x18\x01 \x01(\t\x12\x13\n\x0brequest_url\x18\x02 \x01(\t\x12\x14\n\x0crequest_size\x18\x03 \x01(\x03\x12\x0e\n\x06status\x18\x04 \x01(\x05\x12\x15\n\rresponse_size\x18\x05 \x01(\x03\x12\x12\n\nuser_agent\x18\x06 \x01(\t\x12\x11\n\tremote_ip\x18\x07 \x01(\t\x12\x11\n\tserver_ip\x18\r \x01(\t\x12\x0f\n\x07referer\x18\x08 \x01(\t\x12*\n\x07latency\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x14\n\x0c\x63\x61\x63he_lookup\x18\x0b \x01(\x08\x12\x11\n\tcache_hit\x18\t \x01(\x08\x12*\n\"cache_validated_with_origin_server\x18\n \x01(\x08\x12\x18\n\x10\x63\x61\x63he_fill_bytes\x18\x0c \x01(\x03\x12\x10\n\x08protocol\x18\x0f \x01(\tB\xbe\x01\n\x17\x63om.google.logging.typeB\x10HttpRequestProtoP\x01Z8google.golang.org/genproto/googleapis/logging/type;ltype\xaa\x02\x19Google.Cloud.Logging.Type\xca\x02\x19Google\\Cloud\\Logging\\Type\xea\x02\x1cGoogle::Cloud::Logging::Typeb\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
26
31
  end
27
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
28
35
  end
29
36
 
30
37
  module Google
@@ -44,3 +51,101 @@ module Google
44
51
  end
45
52
  end
46
53
  end
54
+
55
+ #### Source proto file: google/logging/type/http_request.proto ####
56
+ #
57
+ # // Copyright 2023 Google LLC
58
+ # //
59
+ # // Licensed under the Apache License, Version 2.0 (the "License");
60
+ # // you may not use this file except in compliance with the License.
61
+ # // You may obtain a copy of the License at
62
+ # //
63
+ # // http://www.apache.org/licenses/LICENSE-2.0
64
+ # //
65
+ # // Unless required by applicable law or agreed to in writing, software
66
+ # // distributed under the License is distributed on an "AS IS" BASIS,
67
+ # // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
68
+ # // See the License for the specific language governing permissions and
69
+ # // limitations under the License.
70
+ #
71
+ # syntax = "proto3";
72
+ #
73
+ # package google.logging.type;
74
+ #
75
+ # import "google/protobuf/duration.proto";
76
+ #
77
+ # option csharp_namespace = "Google.Cloud.Logging.Type";
78
+ # option go_package = "google.golang.org/genproto/googleapis/logging/type;ltype";
79
+ # option java_multiple_files = true;
80
+ # option java_outer_classname = "HttpRequestProto";
81
+ # option java_package = "com.google.logging.type";
82
+ # option php_namespace = "Google\\Cloud\\Logging\\Type";
83
+ # option ruby_package = "Google::Cloud::Logging::Type";
84
+ #
85
+ # // A common proto for logging HTTP requests. Only contains semantics
86
+ # // defined by the HTTP specification. Product-specific logging
87
+ # // information MUST be defined in a separate message.
88
+ # message HttpRequest {
89
+ # // The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
90
+ # string request_method = 1;
91
+ #
92
+ # // The scheme (http, https), the host name, the path and the query
93
+ # // portion of the URL that was requested.
94
+ # // Example: `"http://example.com/some/info?color=red"`.
95
+ # string request_url = 2;
96
+ #
97
+ # // The size of the HTTP request message in bytes, including the request
98
+ # // headers and the request body.
99
+ # int64 request_size = 3;
100
+ #
101
+ # // The response code indicating the status of response.
102
+ # // Examples: 200, 404.
103
+ # int32 status = 4;
104
+ #
105
+ # // The size of the HTTP response message sent back to the client, in bytes,
106
+ # // including the response headers and the response body.
107
+ # int64 response_size = 5;
108
+ #
109
+ # // The user agent sent by the client. Example:
110
+ # // `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET
111
+ # // CLR 1.0.3705)"`.
112
+ # string user_agent = 6;
113
+ #
114
+ # // The IP address (IPv4 or IPv6) of the client that issued the HTTP
115
+ # // request. This field can include port information. Examples:
116
+ # // `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
117
+ # string remote_ip = 7;
118
+ #
119
+ # // The IP address (IPv4 or IPv6) of the origin server that the request was
120
+ # // sent to. This field can include port information. Examples:
121
+ # // `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
122
+ # string server_ip = 13;
123
+ #
124
+ # // The referer URL of the request, as defined in
125
+ # // [HTTP/1.1 Header Field
126
+ # // Definitions](https://datatracker.ietf.org/doc/html/rfc2616#section-14.36).
127
+ # string referer = 8;
128
+ #
129
+ # // The request processing latency on the server, from the time the request was
130
+ # // received until the response was sent.
131
+ # google.protobuf.Duration latency = 14;
132
+ #
133
+ # // Whether or not a cache lookup was attempted.
134
+ # bool cache_lookup = 11;
135
+ #
136
+ # // Whether or not an entity was served from cache
137
+ # // (with or without validation).
138
+ # bool cache_hit = 9;
139
+ #
140
+ # // Whether or not the response was validated with the origin server before
141
+ # // being served from cache. This field is only meaningful if `cache_hit` is
142
+ # // True.
143
+ # bool cache_validated_with_origin_server = 10;
144
+ #
145
+ # // The number of HTTP response bytes inserted into cache. Set only when a
146
+ # // cache fill was attempted.
147
+ # int64 cache_fill_bytes = 12;
148
+ #
149
+ # // Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
150
+ # string protocol = 15;
151
+ # }
@@ -1,22 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/logging/type/log_severity.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
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
7
+
8
+ descriptor_data = "\n&google/logging/type/log_severity.proto\x12\x13google.logging.type*\x82\x01\n\x0bLogSeverity\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\t\n\x05\x44\x45\x42UG\x10\x64\x12\t\n\x04INFO\x10\xc8\x01\x12\x0b\n\x06NOTICE\x10\xac\x02\x12\x0c\n\x07WARNING\x10\x90\x03\x12\n\n\x05\x45RROR\x10\xf4\x03\x12\r\n\x08\x43RITICAL\x10\xd8\x04\x12\n\n\x05\x41LERT\x10\xbc\x05\x12\x0e\n\tEMERGENCY\x10\xa0\x06\x42\xc5\x01\n\x17\x63om.google.logging.typeB\x10LogSeverityProtoP\x01Z8google.golang.org/genproto/googleapis/logging/type;ltype\xa2\x02\x04GLOG\xaa\x02\x19Google.Cloud.Logging.Type\xca\x02\x19Google\\Cloud\\Logging\\Type\xea\x02\x1cGoogle::Cloud::Logging::Typeb\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
18
28
  end
19
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
20
32
  end
21
33
 
22
34
  module Google
@@ -36,3 +48,77 @@ module Google
36
48
  end
37
49
  end
38
50
  end
51
+
52
+ #### Source proto file: google/logging/type/log_severity.proto ####
53
+ #
54
+ # // Copyright 2023 Google LLC
55
+ # //
56
+ # // Licensed under the Apache License, Version 2.0 (the "License");
57
+ # // you may not use this file except in compliance with the License.
58
+ # // You may obtain a copy of the License at
59
+ # //
60
+ # // http://www.apache.org/licenses/LICENSE-2.0
61
+ # //
62
+ # // Unless required by applicable law or agreed to in writing, software
63
+ # // distributed under the License is distributed on an "AS IS" BASIS,
64
+ # // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
65
+ # // See the License for the specific language governing permissions and
66
+ # // limitations under the License.
67
+ #
68
+ # syntax = "proto3";
69
+ #
70
+ # package google.logging.type;
71
+ #
72
+ # option csharp_namespace = "Google.Cloud.Logging.Type";
73
+ # option go_package = "google.golang.org/genproto/googleapis/logging/type;ltype";
74
+ # option java_multiple_files = true;
75
+ # option java_outer_classname = "LogSeverityProto";
76
+ # option java_package = "com.google.logging.type";
77
+ # option objc_class_prefix = "GLOG";
78
+ # option php_namespace = "Google\\Cloud\\Logging\\Type";
79
+ # option ruby_package = "Google::Cloud::Logging::Type";
80
+ #
81
+ # // The severity of the event described in a log entry, expressed as one of the
82
+ # // standard severity levels listed below. For your reference, the levels are
83
+ # // assigned the listed numeric values. The effect of using numeric values other
84
+ # // than those listed is undefined.
85
+ # //
86
+ # // You can filter for log entries by severity. For example, the following
87
+ # // filter expression will match log entries with severities `INFO`, `NOTICE`,
88
+ # // and `WARNING`:
89
+ # //
90
+ # // severity > DEBUG AND severity <= WARNING
91
+ # //
92
+ # // If you are writing log entries, you should map other severity encodings to
93
+ # // one of these standard levels. For example, you might map all of Java's FINE,
94
+ # // FINER, and FINEST levels to `LogSeverity.DEBUG`. You can preserve the
95
+ # // original severity level in the log entry payload if you wish.
96
+ # enum LogSeverity {
97
+ # // (0) The log entry has no assigned severity level.
98
+ # DEFAULT = 0;
99
+ #
100
+ # // (100) Debug or trace information.
101
+ # DEBUG = 100;
102
+ #
103
+ # // (200) Routine information, such as ongoing status or performance.
104
+ # INFO = 200;
105
+ #
106
+ # // (300) Normal but significant events, such as start up, shut down, or
107
+ # // a configuration change.
108
+ # NOTICE = 300;
109
+ #
110
+ # // (400) Warning events might cause problems.
111
+ # WARNING = 400;
112
+ #
113
+ # // (500) Error events are likely to cause problems.
114
+ # ERROR = 500;
115
+ #
116
+ # // (600) Critical events cause more severe problems or outages.
117
+ # CRITICAL = 600;
118
+ #
119
+ # // (700) A person must take an action immediately.
120
+ # ALERT = 700;
121
+ #
122
+ # // (800) One or more systems are unusable.
123
+ # EMERGENCY = 800;
124
+ # }