google-cloud-logging-v2 0.5.1 → 0.5.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.
@@ -41,13 +41,12 @@ module Google
41
41
  # See {::Google::Cloud::Logging::V2::MetricsService::Client::Configuration}
42
42
  # for a description of the configuration fields.
43
43
  #
44
- # ## Example
44
+ # @example
45
45
  #
46
- # To modify the configuration for all MetricsService clients:
47
- #
48
- # ::Google::Cloud::Logging::V2::MetricsService::Client.configure do |config|
49
- # config.timeout = 10.0
50
- # end
46
+ # # Modify the configuration for all MetricsService clients
47
+ # ::Google::Cloud::Logging::V2::MetricsService::Client.configure do |config|
48
+ # config.timeout = 10.0
49
+ # end
51
50
  #
52
51
  # @yield [config] Configure the Client client.
53
52
  # @yieldparam config [Client::Configuration]
@@ -67,36 +66,24 @@ module Google
67
66
 
68
67
  default_config.rpcs.list_log_metrics.timeout = 60.0
69
68
  default_config.rpcs.list_log_metrics.retry_policy = {
70
- initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [4, 13, 14]
69
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 13, 14]
74
70
  }
75
71
 
76
72
  default_config.rpcs.get_log_metric.timeout = 60.0
77
73
  default_config.rpcs.get_log_metric.retry_policy = {
78
- initial_delay: 0.1,
79
- max_delay: 60.0,
80
- multiplier: 1.3,
81
- retry_codes: [4, 13, 14]
74
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 13, 14]
82
75
  }
83
76
 
84
77
  default_config.rpcs.create_log_metric.timeout = 60.0
85
78
 
86
79
  default_config.rpcs.update_log_metric.timeout = 60.0
87
80
  default_config.rpcs.update_log_metric.retry_policy = {
88
- initial_delay: 0.1,
89
- max_delay: 60.0,
90
- multiplier: 1.3,
91
- retry_codes: [4, 13, 14]
81
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 13, 14]
92
82
  }
93
83
 
94
84
  default_config.rpcs.delete_log_metric.timeout = 60.0
95
85
  default_config.rpcs.delete_log_metric.retry_policy = {
96
- initial_delay: 0.1,
97
- max_delay: 60.0,
98
- multiplier: 1.3,
99
- retry_codes: [4, 13, 14]
86
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 13, 14]
100
87
  }
101
88
 
102
89
  default_config
@@ -128,19 +115,15 @@ module Google
128
115
  ##
129
116
  # Create a new MetricsService client object.
130
117
  #
131
- # ## Examples
132
- #
133
- # To create a new MetricsService client with the default
134
- # configuration:
135
- #
136
- # client = ::Google::Cloud::Logging::V2::MetricsService::Client.new
118
+ # @example
137
119
  #
138
- # To create a new MetricsService client with a custom
139
- # configuration:
120
+ # # Create a client using the default configuration
121
+ # client = ::Google::Cloud::Logging::V2::MetricsService::Client.new
140
122
  #
141
- # client = ::Google::Cloud::Logging::V2::MetricsService::Client.new do |config|
142
- # config.timeout = 10.0
143
- # end
123
+ # # Create a client using a custom configuration
124
+ # client = ::Google::Cloud::Logging::V2::MetricsService::Client.new do |config|
125
+ # config.timeout = 10.0
126
+ # end
144
127
  #
145
128
  # @yield [config] Configure the MetricsService client.
146
129
  # @yieldparam config [Client::Configuration]
@@ -160,14 +143,13 @@ module Google
160
143
 
161
144
  # Create credentials
162
145
  credentials = @config.credentials
163
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
146
+ # Use self-signed JWT if the endpoint is unchanged from default,
164
147
  # but only if the default endpoint does not have a region prefix.
165
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
166
- @config.endpoint == Client.configure.endpoint &&
148
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
167
149
  !@config.endpoint.split(".").first.include?("-")
168
150
  credentials ||= Credentials.default scope: @config.scope,
169
151
  enable_self_signed_jwt: enable_self_signed_jwt
170
- if credentials.is_a?(String) || credentials.is_a?(Hash)
152
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
171
153
  credentials = Credentials.new credentials, scope: @config.scope
172
154
  end
173
155
  @quota_project_id = @config.quota_project
@@ -224,6 +206,27 @@ module Google
224
206
  #
225
207
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
226
208
  #
209
+ # @example Basic example
210
+ # require "google/cloud/logging/v2"
211
+ #
212
+ # # Create a client object. The client can be reused for multiple calls.
213
+ # client = Google::Cloud::Logging::V2::MetricsService::Client.new
214
+ #
215
+ # # Create a request. To set request fields, pass in keyword arguments.
216
+ # request = Google::Cloud::Logging::V2::ListLogMetricsRequest.new
217
+ #
218
+ # # Call the list_log_metrics method.
219
+ # result = client.list_log_metrics request
220
+ #
221
+ # # The returned object is of type Gapic::PagedEnumerable. You can
222
+ # # iterate over all elements by calling #each, and the enumerable
223
+ # # will lazily make API calls to fetch subsequent pages. Other
224
+ # # methods are also available for managing paging directly.
225
+ # result.each do |response|
226
+ # # Each element is of type ::Google::Cloud::Logging::V2::LogMetric.
227
+ # p response
228
+ # end
229
+ #
227
230
  def list_log_metrics request, options = nil
228
231
  raise ::ArgumentError, "request must be provided" if request.nil?
229
232
 
@@ -241,16 +244,20 @@ module Google
241
244
  gapic_version: ::Google::Cloud::Logging::V2::VERSION
242
245
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
243
246
 
244
- header_params = {
245
- "parent" => request.parent
246
- }
247
+ header_params = {}
248
+ if request.parent
249
+ header_params["parent"] = request.parent
250
+ end
251
+
247
252
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
248
253
  metadata[:"x-goog-request-params"] ||= request_params_header
249
254
 
250
255
  options.apply_defaults timeout: @config.rpcs.list_log_metrics.timeout,
251
256
  metadata: metadata,
252
257
  retry_policy: @config.rpcs.list_log_metrics.retry_policy
253
- options.apply_defaults metadata: @config.metadata,
258
+
259
+ options.apply_defaults timeout: @config.timeout,
260
+ metadata: @config.metadata,
254
261
  retry_policy: @config.retry_policy
255
262
 
256
263
  @metrics_service_stub.call_rpc :list_log_metrics, request, options: options do |response, operation|
@@ -293,6 +300,21 @@ module Google
293
300
  #
294
301
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
295
302
  #
303
+ # @example Basic example
304
+ # require "google/cloud/logging/v2"
305
+ #
306
+ # # Create a client object. The client can be reused for multiple calls.
307
+ # client = Google::Cloud::Logging::V2::MetricsService::Client.new
308
+ #
309
+ # # Create a request. To set request fields, pass in keyword arguments.
310
+ # request = Google::Cloud::Logging::V2::GetLogMetricRequest.new
311
+ #
312
+ # # Call the get_log_metric method.
313
+ # result = client.get_log_metric request
314
+ #
315
+ # # The returned object is of type Google::Cloud::Logging::V2::LogMetric.
316
+ # p result
317
+ #
296
318
  def get_log_metric request, options = nil
297
319
  raise ::ArgumentError, "request must be provided" if request.nil?
298
320
 
@@ -310,16 +332,20 @@ module Google
310
332
  gapic_version: ::Google::Cloud::Logging::V2::VERSION
311
333
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
312
334
 
313
- header_params = {
314
- "metric_name" => request.metric_name
315
- }
335
+ header_params = {}
336
+ if request.metric_name
337
+ header_params["metric_name"] = request.metric_name
338
+ end
339
+
316
340
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
317
341
  metadata[:"x-goog-request-params"] ||= request_params_header
318
342
 
319
343
  options.apply_defaults timeout: @config.rpcs.get_log_metric.timeout,
320
344
  metadata: metadata,
321
345
  retry_policy: @config.rpcs.get_log_metric.retry_policy
322
- options.apply_defaults metadata: @config.metadata,
346
+
347
+ options.apply_defaults timeout: @config.timeout,
348
+ metadata: @config.metadata,
323
349
  retry_policy: @config.retry_policy
324
350
 
325
351
  @metrics_service_stub.call_rpc :get_log_metric, request, options: options do |response, operation|
@@ -366,6 +392,21 @@ module Google
366
392
  #
367
393
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
368
394
  #
395
+ # @example Basic example
396
+ # require "google/cloud/logging/v2"
397
+ #
398
+ # # Create a client object. The client can be reused for multiple calls.
399
+ # client = Google::Cloud::Logging::V2::MetricsService::Client.new
400
+ #
401
+ # # Create a request. To set request fields, pass in keyword arguments.
402
+ # request = Google::Cloud::Logging::V2::CreateLogMetricRequest.new
403
+ #
404
+ # # Call the create_log_metric method.
405
+ # result = client.create_log_metric request
406
+ #
407
+ # # The returned object is of type Google::Cloud::Logging::V2::LogMetric.
408
+ # p result
409
+ #
369
410
  def create_log_metric request, options = nil
370
411
  raise ::ArgumentError, "request must be provided" if request.nil?
371
412
 
@@ -383,16 +424,20 @@ module Google
383
424
  gapic_version: ::Google::Cloud::Logging::V2::VERSION
384
425
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
385
426
 
386
- header_params = {
387
- "parent" => request.parent
388
- }
427
+ header_params = {}
428
+ if request.parent
429
+ header_params["parent"] = request.parent
430
+ end
431
+
389
432
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
390
433
  metadata[:"x-goog-request-params"] ||= request_params_header
391
434
 
392
435
  options.apply_defaults timeout: @config.rpcs.create_log_metric.timeout,
393
436
  metadata: metadata,
394
437
  retry_policy: @config.rpcs.create_log_metric.retry_policy
395
- options.apply_defaults metadata: @config.metadata,
438
+
439
+ options.apply_defaults timeout: @config.timeout,
440
+ metadata: @config.metadata,
396
441
  retry_policy: @config.retry_policy
397
442
 
398
443
  @metrics_service_stub.call_rpc :create_log_metric, request, options: options do |response, operation|
@@ -440,6 +485,21 @@ module Google
440
485
  #
441
486
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
442
487
  #
488
+ # @example Basic example
489
+ # require "google/cloud/logging/v2"
490
+ #
491
+ # # Create a client object. The client can be reused for multiple calls.
492
+ # client = Google::Cloud::Logging::V2::MetricsService::Client.new
493
+ #
494
+ # # Create a request. To set request fields, pass in keyword arguments.
495
+ # request = Google::Cloud::Logging::V2::UpdateLogMetricRequest.new
496
+ #
497
+ # # Call the update_log_metric method.
498
+ # result = client.update_log_metric request
499
+ #
500
+ # # The returned object is of type Google::Cloud::Logging::V2::LogMetric.
501
+ # p result
502
+ #
443
503
  def update_log_metric request, options = nil
444
504
  raise ::ArgumentError, "request must be provided" if request.nil?
445
505
 
@@ -457,16 +517,20 @@ module Google
457
517
  gapic_version: ::Google::Cloud::Logging::V2::VERSION
458
518
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
459
519
 
460
- header_params = {
461
- "metric_name" => request.metric_name
462
- }
520
+ header_params = {}
521
+ if request.metric_name
522
+ header_params["metric_name"] = request.metric_name
523
+ end
524
+
463
525
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
464
526
  metadata[:"x-goog-request-params"] ||= request_params_header
465
527
 
466
528
  options.apply_defaults timeout: @config.rpcs.update_log_metric.timeout,
467
529
  metadata: metadata,
468
530
  retry_policy: @config.rpcs.update_log_metric.retry_policy
469
- options.apply_defaults metadata: @config.metadata,
531
+
532
+ options.apply_defaults timeout: @config.timeout,
533
+ metadata: @config.metadata,
470
534
  retry_policy: @config.retry_policy
471
535
 
472
536
  @metrics_service_stub.call_rpc :update_log_metric, request, options: options do |response, operation|
@@ -508,6 +572,21 @@ module Google
508
572
  #
509
573
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
510
574
  #
575
+ # @example Basic example
576
+ # require "google/cloud/logging/v2"
577
+ #
578
+ # # Create a client object. The client can be reused for multiple calls.
579
+ # client = Google::Cloud::Logging::V2::MetricsService::Client.new
580
+ #
581
+ # # Create a request. To set request fields, pass in keyword arguments.
582
+ # request = Google::Cloud::Logging::V2::DeleteLogMetricRequest.new
583
+ #
584
+ # # Call the delete_log_metric method.
585
+ # result = client.delete_log_metric request
586
+ #
587
+ # # The returned object is of type Google::Protobuf::Empty.
588
+ # p result
589
+ #
511
590
  def delete_log_metric request, options = nil
512
591
  raise ::ArgumentError, "request must be provided" if request.nil?
513
592
 
@@ -525,16 +604,20 @@ module Google
525
604
  gapic_version: ::Google::Cloud::Logging::V2::VERSION
526
605
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
527
606
 
528
- header_params = {
529
- "metric_name" => request.metric_name
530
- }
607
+ header_params = {}
608
+ if request.metric_name
609
+ header_params["metric_name"] = request.metric_name
610
+ end
611
+
531
612
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
532
613
  metadata[:"x-goog-request-params"] ||= request_params_header
533
614
 
534
615
  options.apply_defaults timeout: @config.rpcs.delete_log_metric.timeout,
535
616
  metadata: metadata,
536
617
  retry_policy: @config.rpcs.delete_log_metric.retry_policy
537
- options.apply_defaults metadata: @config.metadata,
618
+
619
+ options.apply_defaults timeout: @config.timeout,
620
+ metadata: @config.metadata,
538
621
  retry_policy: @config.retry_policy
539
622
 
540
623
  @metrics_service_stub.call_rpc :delete_log_metric, request, options: options do |response, operation|
@@ -558,22 +641,21 @@ module Google
558
641
  # Configuration can be applied globally to all clients, or to a single client
559
642
  # on construction.
560
643
  #
561
- # # Examples
562
- #
563
- # To modify the global config, setting the timeout for list_log_metrics
564
- # to 20 seconds, and all remaining timeouts to 10 seconds:
565
- #
566
- # ::Google::Cloud::Logging::V2::MetricsService::Client.configure do |config|
567
- # config.timeout = 10.0
568
- # config.rpcs.list_log_metrics.timeout = 20.0
569
- # end
570
- #
571
- # To apply the above configuration only to a new client:
572
- #
573
- # client = ::Google::Cloud::Logging::V2::MetricsService::Client.new do |config|
574
- # config.timeout = 10.0
575
- # config.rpcs.list_log_metrics.timeout = 20.0
576
- # end
644
+ # @example
645
+ #
646
+ # # Modify the global config, setting the timeout for
647
+ # # list_log_metrics to 20 seconds,
648
+ # # and all remaining timeouts to 10 seconds.
649
+ # ::Google::Cloud::Logging::V2::MetricsService::Client.configure do |config|
650
+ # config.timeout = 10.0
651
+ # config.rpcs.list_log_metrics.timeout = 20.0
652
+ # end
653
+ #
654
+ # # Apply the above configuration only to a new client.
655
+ # client = ::Google::Cloud::Logging::V2::MetricsService::Client.new do |config|
656
+ # config.timeout = 10.0
657
+ # config.rpcs.list_log_metrics.timeout = 20.0
658
+ # end
577
659
  #
578
660
  # @!attribute [rw] endpoint
579
661
  # The hostname or hostname:port of the service endpoint.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Logging
23
23
  module V2
24
- VERSION = "0.5.1"
24
+ VERSION = "0.5.5"
25
25
  end
26
26
  end
27
27
  end
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/logging/v2/log_entry.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/api/monitored_resource_pb'
8
6
  require 'google/api/resource_pb'
@@ -13,6 +11,8 @@ require 'google/protobuf/struct_pb'
13
11
  require 'google/protobuf/timestamp_pb'
14
12
  require 'google/rpc/status_pb'
15
13
  require 'google/api/annotations_pb'
14
+ require 'google/protobuf'
15
+
16
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
17
17
  add_file("google/logging/v2/log_entry.proto", :syntax => :proto3) do
18
18
  add_message "google.logging.v2.LogEntry" do
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/logging/v2/logging_config.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/client_pb'
7
5
  require 'google/api/field_behavior_pb'
8
6
  require 'google/api/resource_pb'
@@ -11,6 +9,8 @@ require 'google/protobuf/empty_pb'
11
9
  require 'google/protobuf/field_mask_pb'
12
10
  require 'google/protobuf/timestamp_pb'
13
11
  require 'google/api/annotations_pb'
12
+ require 'google/protobuf'
13
+
14
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
15
  add_file("google/logging/v2/logging_config.proto", :syntax => :proto3) do
16
16
  add_message "google.logging.v2.LogBucket" do
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/logging/v2/logging_metrics.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/client_pb'
7
5
  require 'google/api/distribution_pb'
8
6
  require 'google/api/field_behavior_pb'
@@ -13,6 +11,8 @@ require 'google/protobuf/empty_pb'
13
11
  require 'google/protobuf/field_mask_pb'
14
12
  require 'google/protobuf/timestamp_pb'
15
13
  require 'google/api/annotations_pb'
14
+ require 'google/protobuf'
15
+
16
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
17
17
  add_file("google/logging/v2/logging_metrics.proto", :syntax => :proto3) do
18
18
  add_message "google.logging.v2.LogMetric" do
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/logging/v2/logging.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/client_pb'
7
5
  require 'google/api/field_behavior_pb'
8
6
  require 'google/api/monitored_resource_pb'
@@ -15,6 +13,8 @@ require 'google/protobuf/field_mask_pb'
15
13
  require 'google/protobuf/timestamp_pb'
16
14
  require 'google/rpc/status_pb'
17
15
  require 'google/api/annotations_pb'
16
+ require 'google/protobuf'
17
+
18
18
  Google::Protobuf::DescriptorPool.generated_pool.build do
19
19
  add_file("google/logging/v2/logging.proto", :syntax => :proto3) do
20
20
  add_message "google.logging.v2.DeleteLogRequest" do
@@ -49,7 +49,7 @@ module Google
49
49
  #
50
50
  # Sum[i=1..n]((x_i - mean)^2)
51
51
  #
52
- # Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
52
+ # Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
53
53
  # describes Welford's method for accumulating this sum in one pass.
54
54
  #
55
55
  # If `count` is zero then this field must be zero.
@@ -207,7 +207,7 @@ module Google
207
207
  # @return [::Array<::Google::Protobuf::Any>]
208
208
  # Contextual information about the example value. Examples are:
209
209
  #
210
- # Trace ID: type.googleapis.com/google.devtools.cloudtrace.v1.Trace
210
+ # Trace: type.googleapis.com/google.monitoring.v3.SpanContext
211
211
  #
212
212
  # Literal string: type.googleapis.com/google.protobuf.StringValue
213
213
  #
@@ -57,9 +57,15 @@ module Google
57
57
 
58
58
  # Denotes that a (repeated) field is an unordered list.
59
59
  # This indicates that the service may provide the elements of the list
60
- # in any arbitrary order, rather than the order the user originally
60
+ # in any arbitrary order, rather than the order the user originally
61
61
  # provided. Additionally, the list's order may or may not be stable.
62
62
  UNORDERED_LIST = 6
63
+
64
+ # Denotes that this field returns a non-empty default value if not set.
65
+ # This indicates that if the user provides the empty value in a request,
66
+ # a non-empty value will be returned. The user will not be aware of what
67
+ # non-empty value to expect.
68
+ NON_EMPTY_DEFAULT = 7
63
69
  end
64
70
  end
65
71
  end
@@ -0,0 +1,71 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Api
22
+ # The launch stage as defined by [Google Cloud Platform
23
+ # Launch Stages](http://cloud.google.com/terms/launch-stages).
24
+ module LaunchStage
25
+ # Do not use this default value.
26
+ LAUNCH_STAGE_UNSPECIFIED = 0
27
+
28
+ # The feature is not yet implemented. Users can not use it.
29
+ UNIMPLEMENTED = 6
30
+
31
+ # Prelaunch features are hidden from users and are only visible internally.
32
+ PRELAUNCH = 7
33
+
34
+ # Early Access features are limited to a closed group of testers. To use
35
+ # these features, you must sign up in advance and sign a Trusted Tester
36
+ # agreement (which includes confidentiality provisions). These features may
37
+ # be unstable, changed in backward-incompatible ways, and are not
38
+ # guaranteed to be released.
39
+ EARLY_ACCESS = 1
40
+
41
+ # Alpha is a limited availability test for releases before they are cleared
42
+ # for widespread use. By Alpha, all significant design issues are resolved
43
+ # and we are in the process of verifying functionality. Alpha customers
44
+ # need to apply for access, agree to applicable terms, and have their
45
+ # projects allowlisted. Alpha releases don’t have to be feature complete,
46
+ # no SLAs are provided, and there are no technical support obligations, but
47
+ # they will be far enough along that customers can actually use them in
48
+ # test environments or for limited-use tests -- just like they would in
49
+ # normal production cases.
50
+ ALPHA = 2
51
+
52
+ # Beta is the point at which we are ready to open a release for any
53
+ # customer to use. There are no SLA or technical support obligations in a
54
+ # Beta release. Products will be complete from a feature perspective, but
55
+ # may have some open outstanding issues. Beta releases are suitable for
56
+ # limited production use cases.
57
+ BETA = 3
58
+
59
+ # GA features are open to all developers and are considered stable and
60
+ # fully qualified for production use.
61
+ GA = 4
62
+
63
+ # Deprecated features are scheduled to be shut down and removed. For more
64
+ # information, see the “Deprecation Policy” section of our [Terms of
65
+ # Service](https://cloud.google.com/terms/)
66
+ # and the [Google Cloud Platform Subject to the Deprecation
67
+ # Policy](https://cloud.google.com/terms/deprecation) documentation.
68
+ DEPRECATED = 5
69
+ end
70
+ end
71
+ end