google-apis-run_v1alpha1 0.24.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: f4f866b5cfd99b3206275667d72c1dcfd64d4d03f6eeeeb1994c1152a47042a5
4
- data.tar.gz: c004becf72f544c0259666471a237e2ab5d3d6e36adcc2af49d8159fb91c65cf
3
+ metadata.gz: b2e6a2798c82adfa959e7e7e8eddb9ddc896f58a9d42ed1e8b9e6bfc33608dc7
4
+ data.tar.gz: 8c109b1a97bacfc82e0907453ea39912f1e6ac2b1c04298938812c570a47464d
5
5
  SHA512:
6
- metadata.gz: 7a17c85824dd06258e71fa142c472b40d28c2d09d5b2cbb081c86fd9f23b5ef665b3bf0e89b11ea2f4f90bfb12e6c56d115532d50e2062c0b48065a2185d99c5
7
- data.tar.gz: 0dc53e22490675a2407c877a4b7954d45714d6ef509cba5faf6d044f8eaee59ef89cbc037338521fec1dfbf707dd4ee1058a074c6255c245d3b18e9ed582db13
6
+ metadata.gz: 5d8770a3cb8252caa1e00230d3218201c80eeaf16150d347671160953c3902b4263b7caba50231628f24368c904693644b149c2a66e0ae95007d68269e26e7bf
7
+ data.tar.gz: 8d1bab6af23519e1de6d4b015bf3ef165d3d8fdd38f6a384ea55548f2e5606d3e260d337db66e588867a81f0300a6ecafb1906158b3c9fb729c9a4c38d249307
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.24.0 (2022-04-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20220408
@@ -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`
@@ -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.24.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 = "20220408"
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.24.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-04-18 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.24.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: []