google-apis-run_v1alpha1 0.23.0 → 0.26.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: ccbe1f5ae2603fc4af72c14dd3dc218655e602445644c8532923d07ae11d6813
4
- data.tar.gz: ebc9c9336ee2725461da3e75558a2e96598afe03be1bda48b67d92ee715283dc
3
+ metadata.gz: 97f36921c75df20e6af26558b97128fc28e2aa73a5eb69b4224290b10598c7c7
4
+ data.tar.gz: e4f39d4b2e0f6eff9fbe50529b9a297ae3888a79d05404b331156548e8f40f31
5
5
  SHA512:
6
- metadata.gz: 2e4035666c1789426e247d5cefbf7f96b044840a827634e2facbad2ad443b8a20b2783c9f788be8ccd8164e314f31eafcecf4c1f3f97b236ce2b0b574451c8f3
7
- data.tar.gz: 8b2fe35cd0fe65c43b4c42a5a64748e59c344942e11d3e934f5a64659b27d8a42094b739a865fba6442a6b004e496a77474b8ceb6cd6fabfed0ca3223e6f59e5
6
+ metadata.gz: a290f2e673ae99e9d64342ca338ddc9c23abcf54cb172fd4a745b1ef44175be6f60e515ecc96e5d27fa9e694046ffc57416f0e94039138c074f4ae5fc9a8fcc1
7
+ data.tar.gz: fa2541153f1e732b15bed915ea054206f59fb325059f8bc6ebd9d38de26a502b5a99dc65e61d06c8391f2c6bd1466613281ce0f9624a5fff6174f4cecf20d419
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-run_v1alpha1
2
2
 
3
+ ### v0.26.0 (2022-06-03)
4
+
5
+ * Regenerated using generator version 0.5.0
6
+
7
+ ### v0.25.0 (2022-05-04)
8
+
9
+ * Regenerated from discovery document revision 20220429
10
+
11
+ ### v0.24.0 (2022-04-13)
12
+
13
+ * Regenerated from discovery document revision 20220408
14
+
3
15
  ### v0.23.0 (2022-03-24)
4
16
 
5
17
  * Regenerated from discovery document revision 20220318
@@ -484,6 +484,34 @@ module Google
484
484
  end
485
485
  end
486
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
+
487
515
  # The `Status` type defines a logical error model that is suitable for different
488
516
  # programming environments, including REST APIs and RPC APIs. It is used by [
489
517
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -1444,6 +1472,12 @@ module Google
1444
1472
  # @return [Fixnum]
1445
1473
  attr_accessor :failure_threshold
1446
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
+
1447
1481
  # Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
1448
1482
  # requests.
1449
1483
  # Corresponds to the JSON property `httpGet`
@@ -1451,15 +1485,16 @@ module Google
1451
1485
  attr_accessor :http_get
1452
1486
 
1453
1487
  # (Optional) Number of seconds after the container has started before liveness
1454
- # probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/
1455
- # 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
1456
1491
  # Corresponds to the JSON property `initialDelaySeconds`
1457
1492
  # @return [Fixnum]
1458
1493
  attr_accessor :initial_delay_seconds
1459
1494
 
1460
1495
  # (Optional) How often (in seconds) to perform the probe. Default to 10 seconds.
1461
- # Minimum value is 1. Maximum value is 3600. Must be greater or equal than
1462
- # 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.
1463
1498
  # Corresponds to the JSON property `periodSeconds`
1464
1499
  # @return [Fixnum]
1465
1500
  attr_accessor :period_seconds
@@ -1493,6 +1528,7 @@ module Google
1493
1528
  def update!(**args)
1494
1529
  @exec = args[:exec] if args.key?(:exec)
1495
1530
  @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
1531
+ @grpc = args[:grpc] if args.key?(:grpc)
1496
1532
  @http_get = args[:http_get] if args.key?(:http_get)
1497
1533
  @initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
1498
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.23.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220318"
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.23.0
4
+ version: 0.26.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-03-28 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1alpha1/v0.26.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Run Admin API V1alpha1