google-apis-gkehub_v1alpha 0.109.0 → 0.110.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: 7bc317d11c39288c98ec8f6be6a9036cba495e1ab6d854a6794cf30927056b22
4
- data.tar.gz: 8891a99f27dcf6ff4df94ddd31ee38ddf1eac1c6b4dfe5283b95cb8bf57831db
3
+ metadata.gz: 42f1afe0c5bc4dc342d798c6f21763c9a95f68aff8d0ccb4feab325f1af9e882
4
+ data.tar.gz: c548c3f64696418cc7dc80ad704b7594d9627b924a2f6eb3ea4f863207ad3a8e
5
5
  SHA512:
6
- metadata.gz: 96e6d9c46b109414bcda18c1c06e7de7d064e98933b7ffac5cf17dcc26c482d267ded9cace3a9c23f64de44676769534ad35792587f2f100bde13b017da7caac
7
- data.tar.gz: c7b784d6dd376690f0550b27d368bdfdcfb4f03fb71e3d8a7922c180d678cd063d818b2b8d70be032e534e36b283c1b33f8c1f2eb5cfa4d815a962b9ac6d8aac
6
+ metadata.gz: 2d7724e477cb1abff2078798b5278a4763dc55399ddd720b4d9acaa009cf9a33649b12e68231bb3da3e1f30a282346730ccaa36210e8e2608d36df9f2edf5dcd
7
+ data.tar.gz: 543641405c7e9d8973b4cb3795abb68b88e1a90c4abf3b2f390d07cd821de82f0c09d0d9e3aa8f12dc1670489166c8a94132b904f06ced37de8602805b9bb4ea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.110.0 (2026-06-14)
4
+
5
+ * Regenerated from discovery document revision 20260529
6
+ * Regenerated using generator version 0.19.0
7
+
3
8
  ### v0.109.0 (2026-05-17)
4
9
 
5
10
  * Regenerated from discovery document revision 20260511
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/anthos/multicluster-managem
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -373,6 +373,19 @@ module Google
373
373
  end
374
374
  end
375
375
 
376
+ # Request message for cancelling a rollout.
377
+ class CancelRolloutRequest
378
+ include Google::Apis::Core::Hashable
379
+
380
+ def initialize(**args)
381
+ update!(**args)
382
+ end
383
+
384
+ # Update properties of this object
385
+ def update!(**args)
386
+ end
387
+ end
388
+
376
389
  # **Cloud Audit Logging**: Spec for Audit Logging Allowlisting.
377
390
  class CloudAuditLoggingFeatureSpec
378
391
  include Google::Apis::Core::Hashable
@@ -5397,6 +5410,19 @@ module Google
5397
5410
  end
5398
5411
  end
5399
5412
 
5413
+ # Request message for pausing a rollout.
5414
+ class PauseRolloutRequest
5415
+ include Google::Apis::Core::Hashable
5416
+
5417
+ def initialize(**args)
5418
+ update!(**args)
5419
+ end
5420
+
5421
+ # Update properties of this object
5422
+ def update!(**args)
5423
+ end
5424
+ end
5425
+
5400
5426
  # An Identity and Access Management (IAM) policy, which specifies access
5401
5427
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
5402
5428
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -6145,6 +6171,32 @@ module Google
6145
6171
  end
6146
6172
  end
6147
6173
 
6174
+ # Request message for resuming a rollout.
6175
+ class ResumeRolloutRequest
6176
+ include Google::Apis::Core::Hashable
6177
+
6178
+ # Optional. The duration to offset the Rollout schedule by.
6179
+ # Corresponds to the JSON property `scheduleOffset`
6180
+ # @return [String]
6181
+ attr_accessor :schedule_offset
6182
+
6183
+ # Optional. If set, resume rollout will be executed in dry-run mode.
6184
+ # Corresponds to the JSON property `validateOnly`
6185
+ # @return [Boolean]
6186
+ attr_accessor :validate_only
6187
+ alias_method :validate_only?, :validate_only
6188
+
6189
+ def initialize(**args)
6190
+ update!(**args)
6191
+ end
6192
+
6193
+ # Update properties of this object
6194
+ def update!(**args)
6195
+ @schedule_offset = args[:schedule_offset] if args.key?(:schedule_offset)
6196
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
6197
+ end
6198
+ end
6199
+
6148
6200
  # Role is the type for Kubernetes roles
6149
6201
  class Role
6150
6202
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha
18
18
  # Version of the google-apis-gkehub_v1alpha gem
19
- GEM_VERSION = "0.109.0"
19
+ GEM_VERSION = "0.110.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260511"
25
+ REVISION = "20260529"
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 CancelRolloutRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class CloudAuditLoggingFeatureSpec
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -898,6 +904,12 @@ module Google
898
904
  include Google::Apis::Core::JsonObjectSupport
899
905
  end
900
906
 
907
+ class PauseRolloutRequest
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
901
913
  class Policy
902
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
903
915
 
@@ -1024,6 +1036,12 @@ module Google
1024
1036
  include Google::Apis::Core::JsonObjectSupport
1025
1037
  end
1026
1038
 
1039
+ class ResumeRolloutRequest
1040
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1041
+
1042
+ include Google::Apis::Core::JsonObjectSupport
1043
+ end
1044
+
1027
1045
  class Role
1028
1046
  class Representation < Google::Apis::Core::JsonRepresentation; end
1029
1047
 
@@ -1347,6 +1365,12 @@ module Google
1347
1365
  end
1348
1366
  end
1349
1367
 
1368
+ class CancelRolloutRequest
1369
+ # @private
1370
+ class Representation < Google::Apis::Core::JsonRepresentation
1371
+ end
1372
+ end
1373
+
1350
1374
  class CloudAuditLoggingFeatureSpec
1351
1375
  # @private
1352
1376
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2791,6 +2815,12 @@ module Google
2791
2815
  end
2792
2816
  end
2793
2817
 
2818
+ class PauseRolloutRequest
2819
+ # @private
2820
+ class Representation < Google::Apis::Core::JsonRepresentation
2821
+ end
2822
+ end
2823
+
2794
2824
  class Policy
2795
2825
  # @private
2796
2826
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2997,6 +3027,14 @@ module Google
2997
3027
  end
2998
3028
  end
2999
3029
 
3030
+ class ResumeRolloutRequest
3031
+ # @private
3032
+ class Representation < Google::Apis::Core::JsonRepresentation
3033
+ property :schedule_offset, as: 'scheduleOffset'
3034
+ property :validate_only, as: 'validateOnly'
3035
+ end
3036
+ end
3037
+
3000
3038
  class Role
3001
3039
  # @private
3002
3040
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2055,6 +2055,43 @@ module Google
2055
2055
  execute_or_queue_command(command, &block)
2056
2056
  end
2057
2057
 
2058
+ # Cancels a paused Rollout. The rollout will not be started on new clusters,
2059
+ # however the rollout running on the cluster will be allowed to finish. It's
2060
+ # only valid to cancel a paused rollout, otherwise it will return a
2061
+ # FAILED_PRECONDITION error.
2062
+ # @param [String] name
2063
+ # Required. The name of the rollout to cancel. projects/`project`/locations/`
2064
+ # location`/rollouts/`rollout`
2065
+ # @param [Google::Apis::GkehubV1alpha::CancelRolloutRequest] cancel_rollout_request_object
2066
+ # @param [String] fields
2067
+ # Selector specifying which fields to include in a partial response.
2068
+ # @param [String] quota_user
2069
+ # Available to use for quota purposes for server-side applications. Can be any
2070
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2071
+ # @param [Google::Apis::RequestOptions] options
2072
+ # Request-specific options
2073
+ #
2074
+ # @yield [result, err] Result & error if block supplied
2075
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
2076
+ # @yieldparam err [StandardError] error object if request failed
2077
+ #
2078
+ # @return [Google::Apis::GkehubV1alpha::Operation]
2079
+ #
2080
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2081
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2082
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2083
+ def cancel_rollout(name, cancel_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2084
+ command = make_simple_command(:post, 'v1alpha/{+name}:cancel', options)
2085
+ command.request_representation = Google::Apis::GkehubV1alpha::CancelRolloutRequest::Representation
2086
+ command.request_object = cancel_rollout_request_object
2087
+ command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
2088
+ command.response_class = Google::Apis::GkehubV1alpha::Operation
2089
+ command.params['name'] = name unless name.nil?
2090
+ command.query['fields'] = fields unless fields.nil?
2091
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2092
+ execute_or_queue_command(command, &block)
2093
+ end
2094
+
2058
2095
  # Force-completes a rollout stage. Only the active stage of an active rollout
2059
2096
  # can be force-completed.
2060
2097
  # @param [String] name
@@ -2166,6 +2203,76 @@ module Google
2166
2203
  execute_or_queue_command(command, &block)
2167
2204
  end
2168
2205
 
2206
+ # Pauses a running Rollout. The rollout will not be started on new clusters,
2207
+ # however the rollout running on the cluster will be allowed to finish.
2208
+ # @param [String] name
2209
+ # Required. The name of the rollout to pause. projects/`project`/locations/`
2210
+ # location`/rollouts/`rollout`
2211
+ # @param [Google::Apis::GkehubV1alpha::PauseRolloutRequest] pause_rollout_request_object
2212
+ # @param [String] fields
2213
+ # Selector specifying which fields to include in a partial response.
2214
+ # @param [String] quota_user
2215
+ # Available to use for quota purposes for server-side applications. Can be any
2216
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2217
+ # @param [Google::Apis::RequestOptions] options
2218
+ # Request-specific options
2219
+ #
2220
+ # @yield [result, err] Result & error if block supplied
2221
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
2222
+ # @yieldparam err [StandardError] error object if request failed
2223
+ #
2224
+ # @return [Google::Apis::GkehubV1alpha::Operation]
2225
+ #
2226
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2227
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2228
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2229
+ def pause_rollout(name, pause_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2230
+ command = make_simple_command(:post, 'v1alpha/{+name}:pause', options)
2231
+ command.request_representation = Google::Apis::GkehubV1alpha::PauseRolloutRequest::Representation
2232
+ command.request_object = pause_rollout_request_object
2233
+ command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
2234
+ command.response_class = Google::Apis::GkehubV1alpha::Operation
2235
+ command.params['name'] = name unless name.nil?
2236
+ command.query['fields'] = fields unless fields.nil?
2237
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2238
+ execute_or_queue_command(command, &block)
2239
+ end
2240
+
2241
+ # Resume a paused Rollout. The rollout will be resumed and allowed to be started
2242
+ # on clusters.
2243
+ # @param [String] name
2244
+ # Required. The name of the rollout to resume. projects/`project`/locations/`
2245
+ # location`/rollouts/`rollout`
2246
+ # @param [Google::Apis::GkehubV1alpha::ResumeRolloutRequest] resume_rollout_request_object
2247
+ # @param [String] fields
2248
+ # Selector specifying which fields to include in a partial response.
2249
+ # @param [String] quota_user
2250
+ # Available to use for quota purposes for server-side applications. Can be any
2251
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2252
+ # @param [Google::Apis::RequestOptions] options
2253
+ # Request-specific options
2254
+ #
2255
+ # @yield [result, err] Result & error if block supplied
2256
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
2257
+ # @yieldparam err [StandardError] error object if request failed
2258
+ #
2259
+ # @return [Google::Apis::GkehubV1alpha::Operation]
2260
+ #
2261
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2262
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2263
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2264
+ def resume_rollout(name, resume_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2265
+ command = make_simple_command(:post, 'v1alpha/{+name}:resume', options)
2266
+ command.request_representation = Google::Apis::GkehubV1alpha::ResumeRolloutRequest::Representation
2267
+ command.request_object = resume_rollout_request_object
2268
+ command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
2269
+ command.response_class = Google::Apis::GkehubV1alpha::Operation
2270
+ command.params['name'] = name unless name.nil?
2271
+ command.query['fields'] = fields unless fields.nil?
2272
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2273
+ execute_or_queue_command(command, &block)
2274
+ end
2275
+
2169
2276
  # Creates a Scope.
2170
2277
  # @param [String] parent
2171
2278
  # Required. The parent (project and location) where the Scope will be created.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.109.0
4
+ version: 0.110.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.109.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.110.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="