google-apis-run_v1alpha1 0.22.0 → 0.25.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9186a3f5ba7205895154e1e4f9153560065023cef90ce797fa56fc05394b9fb
4
- data.tar.gz: a4ed63c0317d482e8179faa41899c1df5d3c0d2c5be7f6ce7b860a88b7805e2f
3
+ metadata.gz: b2e6a2798c82adfa959e7e7e8eddb9ddc896f58a9d42ed1e8b9e6bfc33608dc7
4
+ data.tar.gz: 8c109b1a97bacfc82e0907453ea39912f1e6ac2b1c04298938812c570a47464d
5
5
  SHA512:
6
- metadata.gz: 3128975e2bb6c38259b73fd64ee85c1bee75f334f95ca8cb4766824d87dfed84caf2c562b1dbd072c49a41b77ab17a0de1de3bf1abd98f6ab626e4804710fc29
7
- data.tar.gz: cab014069a87d0bb6cbe07d0264a22461277e663f9f671fb797ffdca1913f18d85c9d88246f3e4350c7f1089405211a64fac5906a174eb103ddf85d4f250c193
6
+ metadata.gz: 5d8770a3cb8252caa1e00230d3218201c80eeaf16150d347671160953c3902b4263b7caba50231628f24368c904693644b149c2a66e0ae95007d68269e26e7bf
7
+ data.tar.gz: 8d1bab6af23519e1de6d4b015bf3ef165d3d8fdd38f6a384ea55548f2e5606d3e260d337db66e588867a81f0300a6ecafb1906158b3c9fb729c9a4c38d249307
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-run_v1alpha1
2
2
 
3
+ ### v0.25.0 (2022-05-04)
4
+
5
+ * Regenerated from discovery document revision 20220429
6
+
7
+ ### v0.24.0 (2022-04-13)
8
+
9
+ * Regenerated from discovery document revision 20220408
10
+
11
+ ### v0.23.0 (2022-03-24)
12
+
13
+ * Regenerated from discovery document revision 20220318
14
+
3
15
  ### v0.22.0 (2022-02-23)
4
16
 
5
17
  * Regenerated from discovery document revision 20220218
@@ -349,8 +349,7 @@ module Google
349
349
  # A generic empty message that you can re-use to avoid defining duplicated empty
350
350
  # messages in your APIs. A typical example is to use it as the request or the
351
351
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
352
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
353
- # `Empty` is empty JSON object ````.
352
+ # protobuf.Empty) returns (google.protobuf.Empty); `
354
353
  class Empty
355
354
  include Google::Apis::Core::Hashable
356
355
 
@@ -485,6 +484,34 @@ module Google
485
484
  end
486
485
  end
487
486
 
487
+ # Not supported by Cloud Run GRPCAction describes an action involving a GRPC
488
+ # port.
489
+ class GrpcAction
490
+ include Google::Apis::Core::Hashable
491
+
492
+ # Port number of the gRPC service. Number must be in the range 1 to 65535.
493
+ # Corresponds to the JSON property `port`
494
+ # @return [Fixnum]
495
+ attr_accessor :port
496
+
497
+ # Service is the name of the service to place in the gRPC HealthCheckRequest (
498
+ # see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this
499
+ # is not specified, the default behavior is defined by gRPC.
500
+ # Corresponds to the JSON property `service`
501
+ # @return [String]
502
+ attr_accessor :service
503
+
504
+ def initialize(**args)
505
+ update!(**args)
506
+ end
507
+
508
+ # Update properties of this object
509
+ def update!(**args)
510
+ @port = args[:port] if args.key?(:port)
511
+ @service = args[:service] if args.key?(:service)
512
+ end
513
+ end
514
+
488
515
  # The `Status` type defines a logical error model that is suitable for different
489
516
  # programming environments, including REST APIs and RPC APIs. It is used by [
490
517
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -1445,6 +1472,12 @@ module Google
1445
1472
  # @return [Fixnum]
1446
1473
  attr_accessor :failure_threshold
1447
1474
 
1475
+ # Not supported by Cloud Run GRPCAction describes an action involving a GRPC
1476
+ # port.
1477
+ # Corresponds to the JSON property `grpc`
1478
+ # @return [Google::Apis::RunV1alpha1::GrpcAction]
1479
+ attr_accessor :grpc
1480
+
1448
1481
  # Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
1449
1482
  # requests.
1450
1483
  # Corresponds to the JSON property `httpGet`
@@ -1452,15 +1485,16 @@ module Google
1452
1485
  attr_accessor :http_get
1453
1486
 
1454
1487
  # (Optional) Number of seconds after the container has started before liveness
1455
- # probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/
1456
- # pods/pod-lifecycle#container-probes
1488
+ # probes are initiated. Defaults to 0 seconds. Minimum value is 0. Max value for
1489
+ # liveness probe is 3600. Max value for startup probe is 240. More info: https://
1490
+ # kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
1457
1491
  # Corresponds to the JSON property `initialDelaySeconds`
1458
1492
  # @return [Fixnum]
1459
1493
  attr_accessor :initial_delay_seconds
1460
1494
 
1461
1495
  # (Optional) How often (in seconds) to perform the probe. Default to 10 seconds.
1462
- # Minimum value is 1. Maximum value is 3600. Must be greater or equal than
1463
- # timeout_seconds.
1496
+ # Minimum value is 1. Max value for liveness probe is 3600. Max value for
1497
+ # startup probe is 240. Must be greater or equal than timeout_seconds.
1464
1498
  # Corresponds to the JSON property `periodSeconds`
1465
1499
  # @return [Fixnum]
1466
1500
  attr_accessor :period_seconds
@@ -1494,6 +1528,7 @@ module Google
1494
1528
  def update!(**args)
1495
1529
  @exec = args[:exec] if args.key?(:exec)
1496
1530
  @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
1531
+ @grpc = args[:grpc] if args.key?(:grpc)
1497
1532
  @http_get = args[:http_get] if args.key?(:http_get)
1498
1533
  @initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
1499
1534
  @period_seconds = args[:period_seconds] if args.key?(:period_seconds)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV1alpha1
18
18
  # Version of the google-apis-run_v1alpha1 gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220218"
25
+ REVISION = "20220429"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GrpcAction
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class GoogleRpcStatus
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -355,6 +361,14 @@ module Google
355
361
  end
356
362
  end
357
363
 
364
+ class GrpcAction
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ property :port, as: 'port'
368
+ property :service, as: 'service'
369
+ end
370
+ end
371
+
358
372
  class GoogleRpcStatus
359
373
  # @private
360
374
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -564,6 +578,8 @@ module Google
564
578
  property :exec, as: 'exec', class: Google::Apis::RunV1alpha1::ExecAction, decorator: Google::Apis::RunV1alpha1::ExecAction::Representation
565
579
 
566
580
  property :failure_threshold, as: 'failureThreshold'
581
+ property :grpc, as: 'grpc', class: Google::Apis::RunV1alpha1::GrpcAction, decorator: Google::Apis::RunV1alpha1::GrpcAction::Representation
582
+
567
583
  property :http_get, as: 'httpGet', class: Google::Apis::RunV1alpha1::HttpGetAction, decorator: Google::Apis::RunV1alpha1::HttpGetAction::Representation
568
584
 
569
585
  property :initial_delay_seconds, as: 'initialDelaySeconds'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2022-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1alpha1/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1alpha1/v0.25.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []