google-apis-gkehub_v1alpha 0.98.0 → 0.99.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: 457eefa6852e2c481111a5133d7249c9b0813d759ac0713bf496705a2150b702
4
- data.tar.gz: 72ffd2525e920fac10fa94c4da95b2c0e57c2a7a1974df703bb3e648ad86a6ab
3
+ metadata.gz: 55ae5ef40099174f771bf4431dc969a9729a10448a4122198eaaa5adf283a604
4
+ data.tar.gz: f467d5c30648765049365809dc9793d338c050232094d55e4af912b8cfd2c897
5
5
  SHA512:
6
- metadata.gz: 46c095ad47219251c3813c0c0b895a83288901b54c4723f55910d589db0573f2fa4da01dff25965803b4704acf5c1869b37d6638223f29b7fdd470ad737c12a1
7
- data.tar.gz: 2fc8615304c5e6ccf9eda6e3b904c4007ba9b75d3ee7f5c4aced12c542a46eed81dcaef8cfd1ea569087e16c7a6309632ba1f5b3850b431231daa1f7b5f0c0f4
6
+ metadata.gz: 076ff3331c5085e5270c80aa039691c4150e1c3b100271c6b179b9a178cee0835fed09e7b2f73ee4c202f062fa465bf51d854b45de99254cc9099e1aed3dd117
7
+ data.tar.gz: dc5d80f45feda1032df409ba28cb2966fc6d380017addd384e34c9c2405e5d38ab97dd6847f084127523501cc25cb6e8a17053ea462faeb8a0747963c88932c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.99.0 (2025-11-09)
4
+
5
+ * Regenerated from discovery document revision 20251103
6
+
3
7
  ### v0.98.0 (2025-11-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20251026
@@ -402,6 +402,26 @@ module Google
402
402
  end
403
403
  end
404
404
 
405
+ # Selector for clusters.
406
+ class ClusterSelector
407
+ include Google::Apis::Core::Hashable
408
+
409
+ # The label selector must be a valid CEL (go/cel) expression which evaluates
410
+ # resource.labels.
411
+ # Corresponds to the JSON property `labelSelector`
412
+ # @return [String]
413
+ attr_accessor :label_selector
414
+
415
+ def initialize(**args)
416
+ update!(**args)
417
+ end
418
+
419
+ # Update properties of this object
420
+ def update!(**args)
421
+ @label_selector = args[:label_selector] if args.key?(:label_selector)
422
+ end
423
+ end
424
+
405
425
  # **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade
406
426
  # feature.
407
427
  class ClusterUpgradeFleetSpec
@@ -2385,6 +2405,32 @@ module Google
2385
2405
  end
2386
2406
  end
2387
2407
 
2408
+ # An excluded cluster from the rollout.
2409
+ class ExcludedCluster
2410
+ include Google::Apis::Core::Hashable
2411
+
2412
+ # Output only. The name of the fleet Membership resource associated to the
2413
+ # excluded cluster.
2414
+ # Corresponds to the JSON property `membership`
2415
+ # @return [String]
2416
+ attr_accessor :membership
2417
+
2418
+ # Output only. The reason for excluding the cluster from the rollout.
2419
+ # Corresponds to the JSON property `reason`
2420
+ # @return [String]
2421
+ attr_accessor :reason
2422
+
2423
+ def initialize(**args)
2424
+ update!(**args)
2425
+ end
2426
+
2427
+ # Update properties of this object
2428
+ def update!(**args)
2429
+ @membership = args[:membership] if args.key?(:membership)
2430
+ @reason = args[:reason] if args.key?(:reason)
2431
+ end
2432
+ end
2433
+
2388
2434
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
2389
2435
  # CEL is a C-like expression language. The syntax and semantics of CEL are
2390
2436
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -2650,6 +2696,33 @@ module Google
2650
2696
  end
2651
2697
  end
2652
2698
 
2699
+ # LINT.IfChange Feature config to use for Rollout.
2700
+ class FeatureUpdate
2701
+ include Google::Apis::Core::Hashable
2702
+
2703
+ # BinaryAuthorizationConfig defines the fleet level configuration of binary
2704
+ # authorization feature.
2705
+ # Corresponds to the JSON property `binaryAuthorizationConfig`
2706
+ # @return [Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig]
2707
+ attr_accessor :binary_authorization_config
2708
+
2709
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
2710
+ # the Security Posture API.
2711
+ # Corresponds to the JSON property `securityPostureConfig`
2712
+ # @return [Google::Apis::GkehubV1alpha::SecurityPostureConfig]
2713
+ attr_accessor :security_posture_config
2714
+
2715
+ def initialize(**args)
2716
+ update!(**args)
2717
+ end
2718
+
2719
+ # Update properties of this object
2720
+ def update!(**args)
2721
+ @binary_authorization_config = args[:binary_authorization_config] if args.key?(:binary_authorization_config)
2722
+ @security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
2723
+ end
2724
+ end
2725
+
2653
2726
  # Fleet contains the Fleet-wide metadata and configuration.
2654
2727
  class Fleet
2655
2728
  include Google::Apis::Core::Hashable
@@ -4146,6 +4219,58 @@ module Google
4146
4219
  end
4147
4220
  end
4148
4221
 
4222
+ # Response message for listing rollout sequences.
4223
+ class ListRolloutSequencesResponse
4224
+ include Google::Apis::Core::Hashable
4225
+
4226
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
4227
+ # field is omitted, there are no subsequent pages.
4228
+ # Corresponds to the JSON property `nextPageToken`
4229
+ # @return [String]
4230
+ attr_accessor :next_page_token
4231
+
4232
+ # The rollout sequences from the specified parent resource.
4233
+ # Corresponds to the JSON property `rolloutSequences`
4234
+ # @return [Array<Google::Apis::GkehubV1alpha::RolloutSequence>]
4235
+ attr_accessor :rollout_sequences
4236
+
4237
+ def initialize(**args)
4238
+ update!(**args)
4239
+ end
4240
+
4241
+ # Update properties of this object
4242
+ def update!(**args)
4243
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4244
+ @rollout_sequences = args[:rollout_sequences] if args.key?(:rollout_sequences)
4245
+ end
4246
+ end
4247
+
4248
+ # Response message for listing rollouts.
4249
+ class ListRolloutsResponse
4250
+ include Google::Apis::Core::Hashable
4251
+
4252
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
4253
+ # field is omitted, there are no subsequent pages.
4254
+ # Corresponds to the JSON property `nextPageToken`
4255
+ # @return [String]
4256
+ attr_accessor :next_page_token
4257
+
4258
+ # The rollouts from the specified parent resource.
4259
+ # Corresponds to the JSON property `rollouts`
4260
+ # @return [Array<Google::Apis::GkehubV1alpha::Rollout>]
4261
+ attr_accessor :rollouts
4262
+
4263
+ def initialize(**args)
4264
+ update!(**args)
4265
+ end
4266
+
4267
+ # Update properties of this object
4268
+ def update!(**args)
4269
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4270
+ @rollouts = args[:rollouts] if args.key?(:rollouts)
4271
+ end
4272
+ end
4273
+
4149
4274
  # List of fleet namespaces.
4150
4275
  class ListScopeNamespacesResponse
4151
4276
  include Google::Apis::Core::Hashable
@@ -5996,6 +6121,352 @@ module Google
5996
6121
  end
5997
6122
  end
5998
6123
 
6124
+ # Rollout contains the Rollout metadata and configuration.
6125
+ class Rollout
6126
+ include Google::Apis::Core::Hashable
6127
+
6128
+ # Output only. The timestamp at which the Rollout was completed.
6129
+ # Corresponds to the JSON property `completeTime`
6130
+ # @return [String]
6131
+ attr_accessor :complete_time
6132
+
6133
+ # Output only. The timestamp at which the Rollout was created.
6134
+ # Corresponds to the JSON property `createTime`
6135
+ # @return [String]
6136
+ attr_accessor :create_time
6137
+
6138
+ # Output only. The timestamp at the Rollout was deleted.
6139
+ # Corresponds to the JSON property `deleteTime`
6140
+ # @return [String]
6141
+ attr_accessor :delete_time
6142
+
6143
+ # Optional. Human readable display name of the Rollout.
6144
+ # Corresponds to the JSON property `displayName`
6145
+ # @return [String]
6146
+ attr_accessor :display_name
6147
+
6148
+ # Output only. etag of the Rollout Ex. abc1234
6149
+ # Corresponds to the JSON property `etag`
6150
+ # @return [String]
6151
+ attr_accessor :etag
6152
+
6153
+ # Optional. Output only. The excluded clusters from the rollout.
6154
+ # Corresponds to the JSON property `excludedClusters`
6155
+ # @return [Array<Google::Apis::GkehubV1alpha::ExcludedCluster>]
6156
+ attr_accessor :excluded_clusters
6157
+
6158
+ # LINT.IfChange Feature config to use for Rollout.
6159
+ # Corresponds to the JSON property `feature`
6160
+ # @return [Google::Apis::GkehubV1alpha::FeatureUpdate]
6161
+ attr_accessor :feature
6162
+
6163
+ # Optional. Labels for this Rollout.
6164
+ # Corresponds to the JSON property `labels`
6165
+ # @return [Hash<String,String>]
6166
+ attr_accessor :labels
6167
+
6168
+ # Output only. States of upgrading control plane or node pool targets of a
6169
+ # single cluster (GKE Hub membership) that's part of this Rollout. The key is
6170
+ # the membership name of the cluster. The value is the state of the cluster.
6171
+ # Corresponds to the JSON property `membershipStates`
6172
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::RolloutMembershipState>]
6173
+ attr_accessor :membership_states
6174
+
6175
+ # Identifier. The full, unique resource name of this Rollout in the format of `
6176
+ # projects/`project`/locations/global/rollouts/`rollout``.
6177
+ # Corresponds to the JSON property `name`
6178
+ # @return [String]
6179
+ attr_accessor :name
6180
+
6181
+ # Optional. Immutable. The full, unique resource name of the rollout sequence
6182
+ # that initiatied this Rollout. In the format of `projects/`project`/locations/
6183
+ # global/rolloutSequences/`rollout_sequence``. Empty for user initiated rollouts.
6184
+ # Corresponds to the JSON property `rolloutSequence`
6185
+ # @return [String]
6186
+ attr_accessor :rollout_sequence
6187
+
6188
+ # Schedule represents the schedule of the Rollout.
6189
+ # Corresponds to the JSON property `schedule`
6190
+ # @return [Google::Apis::GkehubV1alpha::Schedule]
6191
+ attr_accessor :schedule
6192
+
6193
+ # Output only. The stages of the Rollout. Note: this is only populated for
6194
+ # google-initiated rollouts.
6195
+ # Corresponds to the JSON property `stages`
6196
+ # @return [Array<Google::Apis::GkehubV1alpha::RolloutStage>]
6197
+ attr_accessor :stages
6198
+
6199
+ # Output only. State specifies various states of the Rollout.
6200
+ # Corresponds to the JSON property `state`
6201
+ # @return [String]
6202
+ attr_accessor :state
6203
+
6204
+ # Output only. A human-readable description explaining the reason for the
6205
+ # current state.
6206
+ # Corresponds to the JSON property `stateReason`
6207
+ # @return [String]
6208
+ attr_accessor :state_reason
6209
+
6210
+ # Output only. Google-generated UUID for this resource. This is unique across
6211
+ # all Rollout resources. If a Rollout resource is deleted and another resource
6212
+ # with the same name is created, it gets a different uid.
6213
+ # Corresponds to the JSON property `uid`
6214
+ # @return [String]
6215
+ attr_accessor :uid
6216
+
6217
+ # Output only. The timestamp at which the Rollout was last updated.
6218
+ # Corresponds to the JSON property `updateTime`
6219
+ # @return [String]
6220
+ attr_accessor :update_time
6221
+
6222
+ # Config for version upgrade of clusters.
6223
+ # Corresponds to the JSON property `versionUpgrade`
6224
+ # @return [Google::Apis::GkehubV1alpha::VersionUpgrade]
6225
+ attr_accessor :version_upgrade
6226
+
6227
+ def initialize(**args)
6228
+ update!(**args)
6229
+ end
6230
+
6231
+ # Update properties of this object
6232
+ def update!(**args)
6233
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
6234
+ @create_time = args[:create_time] if args.key?(:create_time)
6235
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
6236
+ @display_name = args[:display_name] if args.key?(:display_name)
6237
+ @etag = args[:etag] if args.key?(:etag)
6238
+ @excluded_clusters = args[:excluded_clusters] if args.key?(:excluded_clusters)
6239
+ @feature = args[:feature] if args.key?(:feature)
6240
+ @labels = args[:labels] if args.key?(:labels)
6241
+ @membership_states = args[:membership_states] if args.key?(:membership_states)
6242
+ @name = args[:name] if args.key?(:name)
6243
+ @rollout_sequence = args[:rollout_sequence] if args.key?(:rollout_sequence)
6244
+ @schedule = args[:schedule] if args.key?(:schedule)
6245
+ @stages = args[:stages] if args.key?(:stages)
6246
+ @state = args[:state] if args.key?(:state)
6247
+ @state_reason = args[:state_reason] if args.key?(:state_reason)
6248
+ @uid = args[:uid] if args.key?(:uid)
6249
+ @update_time = args[:update_time] if args.key?(:update_time)
6250
+ @version_upgrade = args[:version_upgrade] if args.key?(:version_upgrade)
6251
+ end
6252
+ end
6253
+
6254
+ # Metadata about single cluster (GKE Hub membership) that's part of this Rollout.
6255
+ class RolloutMembershipState
6256
+ include Google::Apis::Core::Hashable
6257
+
6258
+ # Optional. Output only. The time this status and any related Rollout-specific
6259
+ # details for the membership were updated.
6260
+ # Corresponds to the JSON property `lastUpdateTime`
6261
+ # @return [String]
6262
+ attr_accessor :last_update_time
6263
+
6264
+ # Output only. The stage assignment of this cluster in this rollout.
6265
+ # Corresponds to the JSON property `stageAssignment`
6266
+ # @return [Fixnum]
6267
+ attr_accessor :stage_assignment
6268
+
6269
+ # Output only. The targets of the rollout - clusters or node pools that are
6270
+ # being upgraded. All targets belongs to the same cluster, identified by the
6271
+ # membership name (key of membership_states map).
6272
+ # Corresponds to the JSON property `targets`
6273
+ # @return [Array<Google::Apis::GkehubV1alpha::RolloutTarget>]
6274
+ attr_accessor :targets
6275
+
6276
+ def initialize(**args)
6277
+ update!(**args)
6278
+ end
6279
+
6280
+ # Update properties of this object
6281
+ def update!(**args)
6282
+ @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
6283
+ @stage_assignment = args[:stage_assignment] if args.key?(:stage_assignment)
6284
+ @targets = args[:targets] if args.key?(:targets)
6285
+ end
6286
+ end
6287
+
6288
+ # RolloutSequence defines the desired order of upgrades.
6289
+ class RolloutSequence
6290
+ include Google::Apis::Core::Hashable
6291
+
6292
+ # Output only. The timestamp at which the Rollout Sequence was created.
6293
+ # Corresponds to the JSON property `createTime`
6294
+ # @return [String]
6295
+ attr_accessor :create_time
6296
+
6297
+ # Output only. The timestamp at the Rollout Sequence was deleted.
6298
+ # Corresponds to the JSON property `deleteTime`
6299
+ # @return [String]
6300
+ attr_accessor :delete_time
6301
+
6302
+ # Optional. Human readable display name of the Rollout Sequence.
6303
+ # Corresponds to the JSON property `displayName`
6304
+ # @return [String]
6305
+ attr_accessor :display_name
6306
+
6307
+ # Output only. etag of the Rollout Sequence Ex. abc1234
6308
+ # Corresponds to the JSON property `etag`
6309
+ # @return [String]
6310
+ attr_accessor :etag
6311
+
6312
+ # Optional. Labels for this Rollout Sequence.
6313
+ # Corresponds to the JSON property `labels`
6314
+ # @return [Hash<String,String>]
6315
+ attr_accessor :labels
6316
+
6317
+ # Identifier. Name of the rollout sequence in the format of: projects/`
6318
+ # PROJECT_ID`/locations/global/rolloutSequences/`NAME`
6319
+ # Corresponds to the JSON property `name`
6320
+ # @return [String]
6321
+ attr_accessor :name
6322
+
6323
+ # Required. Ordered list of stages that constitutes this Rollout.
6324
+ # Corresponds to the JSON property `stages`
6325
+ # @return [Array<Google::Apis::GkehubV1alpha::Stage>]
6326
+ attr_accessor :stages
6327
+
6328
+ # Output only. Google-generated UUID for this resource. This is unique across
6329
+ # all Rollout Sequence resources. If a Rollout Sequence resource is deleted and
6330
+ # another resource with the same name is created, it gets a different uid.
6331
+ # Corresponds to the JSON property `uid`
6332
+ # @return [String]
6333
+ attr_accessor :uid
6334
+
6335
+ # Output only. The timestamp at which the Rollout Sequence was last updated.
6336
+ # Corresponds to the JSON property `updateTime`
6337
+ # @return [String]
6338
+ attr_accessor :update_time
6339
+
6340
+ def initialize(**args)
6341
+ update!(**args)
6342
+ end
6343
+
6344
+ # Update properties of this object
6345
+ def update!(**args)
6346
+ @create_time = args[:create_time] if args.key?(:create_time)
6347
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
6348
+ @display_name = args[:display_name] if args.key?(:display_name)
6349
+ @etag = args[:etag] if args.key?(:etag)
6350
+ @labels = args[:labels] if args.key?(:labels)
6351
+ @name = args[:name] if args.key?(:name)
6352
+ @stages = args[:stages] if args.key?(:stages)
6353
+ @uid = args[:uid] if args.key?(:uid)
6354
+ @update_time = args[:update_time] if args.key?(:update_time)
6355
+ end
6356
+ end
6357
+
6358
+ # Stage represents a single stage in the Rollout.
6359
+ class RolloutStage
6360
+ include Google::Apis::Core::Hashable
6361
+
6362
+ # Optional. Output only. The time at which the wave ended.
6363
+ # Corresponds to the JSON property `endTime`
6364
+ # @return [String]
6365
+ attr_accessor :end_time
6366
+
6367
+ # Optional. Duration to soak after this wave before starting the next wave.
6368
+ # Corresponds to the JSON property `soakDuration`
6369
+ # @return [String]
6370
+ attr_accessor :soak_duration
6371
+
6372
+ # Output only. The wave number to which this status applies.
6373
+ # Corresponds to the JSON property `stageNumber`
6374
+ # @return [Fixnum]
6375
+ attr_accessor :stage_number
6376
+
6377
+ # Optional. Output only. The time at which the wave started.
6378
+ # Corresponds to the JSON property `startTime`
6379
+ # @return [String]
6380
+ attr_accessor :start_time
6381
+
6382
+ # Output only. The state of the wave.
6383
+ # Corresponds to the JSON property `state`
6384
+ # @return [String]
6385
+ attr_accessor :state
6386
+
6387
+ def initialize(**args)
6388
+ update!(**args)
6389
+ end
6390
+
6391
+ # Update properties of this object
6392
+ def update!(**args)
6393
+ @end_time = args[:end_time] if args.key?(:end_time)
6394
+ @soak_duration = args[:soak_duration] if args.key?(:soak_duration)
6395
+ @stage_number = args[:stage_number] if args.key?(:stage_number)
6396
+ @start_time = args[:start_time] if args.key?(:start_time)
6397
+ @state = args[:state] if args.key?(:state)
6398
+ end
6399
+ end
6400
+
6401
+ # Metadata about the status of targets (clusters or node pools) involved in the
6402
+ # Rollout.
6403
+ class RolloutTarget
6404
+ include Google::Apis::Core::Hashable
6405
+
6406
+ # Optional. Output only. The resource link of the Cluster resource upgraded in
6407
+ # this Rollout. It is formatted as: ///projects//locations//clusters/. I.e. for
6408
+ # GKE clusters, it is formatted as: //container.googleapis.com/projects//
6409
+ # locations//clusters/. For GDCE, it is formatted as: //edgecontainer.googleapis.
6410
+ # com/projects//locations//clusters/.
6411
+ # Corresponds to the JSON property `cluster`
6412
+ # @return [String]
6413
+ attr_accessor :cluster
6414
+
6415
+ # Optional. Output only. The resource link of the NodePool resource upgraded in
6416
+ # this Rollout. It is formatted as: ///projects//locations//clusters//nodePools/.
6417
+ # Corresponds to the JSON property `nodePool`
6418
+ # @return [String]
6419
+ attr_accessor :node_pool
6420
+
6421
+ # Optional. Output only. The operation resource name performing the mutation.
6422
+ # Corresponds to the JSON property `operation`
6423
+ # @return [String]
6424
+ attr_accessor :operation
6425
+
6426
+ # Optional. Output only. A human-readable description of the current status.
6427
+ # Corresponds to the JSON property `reason`
6428
+ # @return [String]
6429
+ attr_accessor :reason
6430
+
6431
+ # Output only. The high-level, machine-readable status of this Rollout for the
6432
+ # target.
6433
+ # Corresponds to the JSON property `state`
6434
+ # @return [String]
6435
+ attr_accessor :state
6436
+
6437
+ def initialize(**args)
6438
+ update!(**args)
6439
+ end
6440
+
6441
+ # Update properties of this object
6442
+ def update!(**args)
6443
+ @cluster = args[:cluster] if args.key?(:cluster)
6444
+ @node_pool = args[:node_pool] if args.key?(:node_pool)
6445
+ @operation = args[:operation] if args.key?(:operation)
6446
+ @reason = args[:reason] if args.key?(:reason)
6447
+ @state = args[:state] if args.key?(:state)
6448
+ end
6449
+ end
6450
+
6451
+ # Schedule represents the schedule of the Rollout.
6452
+ class Schedule
6453
+ include Google::Apis::Core::Hashable
6454
+
6455
+ # Output only. The schedule of each wave in the Rollout.
6456
+ # Corresponds to the JSON property `waves`
6457
+ # @return [Array<Google::Apis::GkehubV1alpha::WaveSchedule>]
6458
+ attr_accessor :waves
6459
+
6460
+ def initialize(**args)
6461
+ update!(**args)
6462
+ end
6463
+
6464
+ # Update properties of this object
6465
+ def update!(**args)
6466
+ @waves = args[:waves] if args.key?(:waves)
6467
+ end
6468
+ end
6469
+
5999
6470
  # Scope represents a Scope in a Fleet.
6000
6471
  class Scope
6001
6472
  include Google::Apis::Core::Hashable
@@ -6592,6 +7063,38 @@ module Google
6592
7063
  end
6593
7064
  end
6594
7065
 
7066
+ # Rollout stage.
7067
+ class Stage
7068
+ include Google::Apis::Core::Hashable
7069
+
7070
+ # Selector for clusters.
7071
+ # Corresponds to the JSON property `clusterSelector`
7072
+ # @return [Google::Apis::GkehubV1alpha::ClusterSelector]
7073
+ attr_accessor :cluster_selector
7074
+
7075
+ # Required. List of Fleet projects to select the clusters from. Expected format:
7076
+ # projects/`project`
7077
+ # Corresponds to the JSON property `fleetProjects`
7078
+ # @return [Array<String>]
7079
+ attr_accessor :fleet_projects
7080
+
7081
+ # Optional. Soak time after upgrading all the clusters in the stage.
7082
+ # Corresponds to the JSON property `soakDuration`
7083
+ # @return [String]
7084
+ attr_accessor :soak_duration
7085
+
7086
+ def initialize(**args)
7087
+ update!(**args)
7088
+ end
7089
+
7090
+ # Update properties of this object
7091
+ def update!(**args)
7092
+ @cluster_selector = args[:cluster_selector] if args.key?(:cluster_selector)
7093
+ @fleet_projects = args[:fleet_projects] if args.key?(:fleet_projects)
7094
+ @soak_duration = args[:soak_duration] if args.key?(:soak_duration)
7095
+ end
7096
+ end
7097
+
6595
7098
  # Status specifies state for the subcomponent.
6596
7099
  class Status
6597
7100
  include Google::Apis::Core::Hashable
@@ -6784,6 +7287,62 @@ module Google
6784
7287
  end
6785
7288
  end
6786
7289
 
7290
+ # Config for version upgrade of clusters.
7291
+ class VersionUpgrade
7292
+ include Google::Apis::Core::Hashable
7293
+
7294
+ # Optional. Desired version of the component.
7295
+ # Corresponds to the JSON property `desiredVersion`
7296
+ # @return [String]
7297
+ attr_accessor :desired_version
7298
+
7299
+ # Optional. Type of version upgrade specifies which component should be upgraded.
7300
+ # Corresponds to the JSON property `type`
7301
+ # @return [String]
7302
+ attr_accessor :type
7303
+
7304
+ def initialize(**args)
7305
+ update!(**args)
7306
+ end
7307
+
7308
+ # Update properties of this object
7309
+ def update!(**args)
7310
+ @desired_version = args[:desired_version] if args.key?(:desired_version)
7311
+ @type = args[:type] if args.key?(:type)
7312
+ end
7313
+ end
7314
+
7315
+ # WaveSchedule represents the schedule of a single rollout wave.
7316
+ class WaveSchedule
7317
+ include Google::Apis::Core::Hashable
7318
+
7319
+ # Output only. The time at which the wave ends.
7320
+ # Corresponds to the JSON property `waveEndTime`
7321
+ # @return [String]
7322
+ attr_accessor :wave_end_time
7323
+
7324
+ # Output only. The wave number to which this schedule applies.
7325
+ # Corresponds to the JSON property `waveNumber`
7326
+ # @return [Fixnum]
7327
+ attr_accessor :wave_number
7328
+
7329
+ # Output only. The time at which the wave starts.
7330
+ # Corresponds to the JSON property `waveStartTime`
7331
+ # @return [String]
7332
+ attr_accessor :wave_start_time
7333
+
7334
+ def initialize(**args)
7335
+ update!(**args)
7336
+ end
7337
+
7338
+ # Update properties of this object
7339
+ def update!(**args)
7340
+ @wave_end_time = args[:wave_end_time] if args.key?(:wave_end_time)
7341
+ @wave_number = args[:wave_number] if args.key?(:wave_number)
7342
+ @wave_start_time = args[:wave_start_time] if args.key?(:wave_start_time)
7343
+ end
7344
+ end
7345
+
6787
7346
  # **WorkloadIdentity**: Global feature specification.
6788
7347
  class WorkloadIdentityFeatureSpec
6789
7348
  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.98.0"
19
+ GEM_VERSION = "0.99.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251026"
25
+ REVISION = "20251103"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class ClusterSelector
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class ClusterUpgradeFleetSpec
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -412,6 +418,12 @@ module Google
412
418
  include Google::Apis::Core::JsonObjectSupport
413
419
  end
414
420
 
421
+ class ExcludedCluster
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
415
427
  class Expr
416
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
429
 
@@ -442,6 +454,12 @@ module Google
442
454
  include Google::Apis::Core::JsonObjectSupport
443
455
  end
444
456
 
457
+ class FeatureUpdate
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
445
463
  class Fleet
446
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
465
 
@@ -706,6 +724,18 @@ module Google
706
724
  include Google::Apis::Core::JsonObjectSupport
707
725
  end
708
726
 
727
+ class ListRolloutSequencesResponse
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
733
+ class ListRolloutsResponse
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
709
739
  class ListScopeNamespacesResponse
710
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
711
741
 
@@ -994,6 +1024,42 @@ module Google
994
1024
  include Google::Apis::Core::JsonObjectSupport
995
1025
  end
996
1026
 
1027
+ class Rollout
1028
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1029
+
1030
+ include Google::Apis::Core::JsonObjectSupport
1031
+ end
1032
+
1033
+ class RolloutMembershipState
1034
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1035
+
1036
+ include Google::Apis::Core::JsonObjectSupport
1037
+ end
1038
+
1039
+ class RolloutSequence
1040
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1041
+
1042
+ include Google::Apis::Core::JsonObjectSupport
1043
+ end
1044
+
1045
+ class RolloutStage
1046
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1047
+
1048
+ include Google::Apis::Core::JsonObjectSupport
1049
+ end
1050
+
1051
+ class RolloutTarget
1052
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1053
+
1054
+ include Google::Apis::Core::JsonObjectSupport
1055
+ end
1056
+
1057
+ class Schedule
1058
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1059
+
1060
+ include Google::Apis::Core::JsonObjectSupport
1061
+ end
1062
+
997
1063
  class Scope
998
1064
  class Representation < Google::Apis::Core::JsonRepresentation; end
999
1065
 
@@ -1096,6 +1162,12 @@ module Google
1096
1162
  include Google::Apis::Core::JsonObjectSupport
1097
1163
  end
1098
1164
 
1165
+ class Stage
1166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1167
+
1168
+ include Google::Apis::Core::JsonObjectSupport
1169
+ end
1170
+
1099
1171
  class Status
1100
1172
  class Representation < Google::Apis::Core::JsonRepresentation; end
1101
1173
 
@@ -1144,6 +1216,18 @@ module Google
1144
1216
  include Google::Apis::Core::JsonObjectSupport
1145
1217
  end
1146
1218
 
1219
+ class VersionUpgrade
1220
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1221
+
1222
+ include Google::Apis::Core::JsonObjectSupport
1223
+ end
1224
+
1225
+ class WaveSchedule
1226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1227
+
1228
+ include Google::Apis::Core::JsonObjectSupport
1229
+ end
1230
+
1147
1231
  class WorkloadIdentityFeatureSpec
1148
1232
  class Representation < Google::Apis::Core::JsonRepresentation; end
1149
1233
 
@@ -1264,6 +1348,13 @@ module Google
1264
1348
  end
1265
1349
  end
1266
1350
 
1351
+ class ClusterSelector
1352
+ # @private
1353
+ class Representation < Google::Apis::Core::JsonRepresentation
1354
+ property :label_selector, as: 'labelSelector'
1355
+ end
1356
+ end
1357
+
1267
1358
  class ClusterUpgradeFleetSpec
1268
1359
  # @private
1269
1360
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1855,6 +1946,14 @@ module Google
1855
1946
  end
1856
1947
  end
1857
1948
 
1949
+ class ExcludedCluster
1950
+ # @private
1951
+ class Representation < Google::Apis::Core::JsonRepresentation
1952
+ property :membership, as: 'membership'
1953
+ property :reason, as: 'reason'
1954
+ end
1955
+ end
1956
+
1858
1957
  class Expr
1859
1958
  # @private
1860
1959
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1918,6 +2017,16 @@ module Google
1918
2017
  end
1919
2018
  end
1920
2019
 
2020
+ class FeatureUpdate
2021
+ # @private
2022
+ class Representation < Google::Apis::Core::JsonRepresentation
2023
+ property :binary_authorization_config, as: 'binaryAuthorizationConfig', class: Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig, decorator: Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig::Representation
2024
+
2025
+ property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::GkehubV1alpha::SecurityPostureConfig, decorator: Google::Apis::GkehubV1alpha::SecurityPostureConfig::Representation
2026
+
2027
+ end
2028
+ end
2029
+
1921
2030
  class Fleet
1922
2031
  # @private
1923
2032
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2354,6 +2463,24 @@ module Google
2354
2463
  end
2355
2464
  end
2356
2465
 
2466
+ class ListRolloutSequencesResponse
2467
+ # @private
2468
+ class Representation < Google::Apis::Core::JsonRepresentation
2469
+ property :next_page_token, as: 'nextPageToken'
2470
+ collection :rollout_sequences, as: 'rolloutSequences', class: Google::Apis::GkehubV1alpha::RolloutSequence, decorator: Google::Apis::GkehubV1alpha::RolloutSequence::Representation
2471
+
2472
+ end
2473
+ end
2474
+
2475
+ class ListRolloutsResponse
2476
+ # @private
2477
+ class Representation < Google::Apis::Core::JsonRepresentation
2478
+ property :next_page_token, as: 'nextPageToken'
2479
+ collection :rollouts, as: 'rollouts', class: Google::Apis::GkehubV1alpha::Rollout, decorator: Google::Apis::GkehubV1alpha::Rollout::Representation
2480
+
2481
+ end
2482
+ end
2483
+
2357
2484
  class ListScopeNamespacesResponse
2358
2485
  # @private
2359
2486
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2865,6 +2992,92 @@ module Google
2865
2992
  end
2866
2993
  end
2867
2994
 
2995
+ class Rollout
2996
+ # @private
2997
+ class Representation < Google::Apis::Core::JsonRepresentation
2998
+ property :complete_time, as: 'completeTime'
2999
+ property :create_time, as: 'createTime'
3000
+ property :delete_time, as: 'deleteTime'
3001
+ property :display_name, as: 'displayName'
3002
+ property :etag, as: 'etag'
3003
+ collection :excluded_clusters, as: 'excludedClusters', class: Google::Apis::GkehubV1alpha::ExcludedCluster, decorator: Google::Apis::GkehubV1alpha::ExcludedCluster::Representation
3004
+
3005
+ property :feature, as: 'feature', class: Google::Apis::GkehubV1alpha::FeatureUpdate, decorator: Google::Apis::GkehubV1alpha::FeatureUpdate::Representation
3006
+
3007
+ hash :labels, as: 'labels'
3008
+ hash :membership_states, as: 'membershipStates', class: Google::Apis::GkehubV1alpha::RolloutMembershipState, decorator: Google::Apis::GkehubV1alpha::RolloutMembershipState::Representation
3009
+
3010
+ property :name, as: 'name'
3011
+ property :rollout_sequence, as: 'rolloutSequence'
3012
+ property :schedule, as: 'schedule', class: Google::Apis::GkehubV1alpha::Schedule, decorator: Google::Apis::GkehubV1alpha::Schedule::Representation
3013
+
3014
+ collection :stages, as: 'stages', class: Google::Apis::GkehubV1alpha::RolloutStage, decorator: Google::Apis::GkehubV1alpha::RolloutStage::Representation
3015
+
3016
+ property :state, as: 'state'
3017
+ property :state_reason, as: 'stateReason'
3018
+ property :uid, as: 'uid'
3019
+ property :update_time, as: 'updateTime'
3020
+ property :version_upgrade, as: 'versionUpgrade', class: Google::Apis::GkehubV1alpha::VersionUpgrade, decorator: Google::Apis::GkehubV1alpha::VersionUpgrade::Representation
3021
+
3022
+ end
3023
+ end
3024
+
3025
+ class RolloutMembershipState
3026
+ # @private
3027
+ class Representation < Google::Apis::Core::JsonRepresentation
3028
+ property :last_update_time, as: 'lastUpdateTime'
3029
+ property :stage_assignment, as: 'stageAssignment'
3030
+ collection :targets, as: 'targets', class: Google::Apis::GkehubV1alpha::RolloutTarget, decorator: Google::Apis::GkehubV1alpha::RolloutTarget::Representation
3031
+
3032
+ end
3033
+ end
3034
+
3035
+ class RolloutSequence
3036
+ # @private
3037
+ class Representation < Google::Apis::Core::JsonRepresentation
3038
+ property :create_time, as: 'createTime'
3039
+ property :delete_time, as: 'deleteTime'
3040
+ property :display_name, as: 'displayName'
3041
+ property :etag, as: 'etag'
3042
+ hash :labels, as: 'labels'
3043
+ property :name, as: 'name'
3044
+ collection :stages, as: 'stages', class: Google::Apis::GkehubV1alpha::Stage, decorator: Google::Apis::GkehubV1alpha::Stage::Representation
3045
+
3046
+ property :uid, as: 'uid'
3047
+ property :update_time, as: 'updateTime'
3048
+ end
3049
+ end
3050
+
3051
+ class RolloutStage
3052
+ # @private
3053
+ class Representation < Google::Apis::Core::JsonRepresentation
3054
+ property :end_time, as: 'endTime'
3055
+ property :soak_duration, as: 'soakDuration'
3056
+ property :stage_number, as: 'stageNumber'
3057
+ property :start_time, as: 'startTime'
3058
+ property :state, as: 'state'
3059
+ end
3060
+ end
3061
+
3062
+ class RolloutTarget
3063
+ # @private
3064
+ class Representation < Google::Apis::Core::JsonRepresentation
3065
+ property :cluster, as: 'cluster'
3066
+ property :node_pool, as: 'nodePool'
3067
+ property :operation, as: 'operation'
3068
+ property :reason, as: 'reason'
3069
+ property :state, as: 'state'
3070
+ end
3071
+ end
3072
+
3073
+ class Schedule
3074
+ # @private
3075
+ class Representation < Google::Apis::Core::JsonRepresentation
3076
+ collection :waves, as: 'waves', class: Google::Apis::GkehubV1alpha::WaveSchedule, decorator: Google::Apis::GkehubV1alpha::WaveSchedule::Representation
3077
+
3078
+ end
3079
+ end
3080
+
2868
3081
  class Scope
2869
3082
  # @private
2870
3083
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3033,6 +3246,16 @@ module Google
3033
3246
  end
3034
3247
  end
3035
3248
 
3249
+ class Stage
3250
+ # @private
3251
+ class Representation < Google::Apis::Core::JsonRepresentation
3252
+ property :cluster_selector, as: 'clusterSelector', class: Google::Apis::GkehubV1alpha::ClusterSelector, decorator: Google::Apis::GkehubV1alpha::ClusterSelector::Representation
3253
+
3254
+ collection :fleet_projects, as: 'fleetProjects'
3255
+ property :soak_duration, as: 'soakDuration'
3256
+ end
3257
+ end
3258
+
3036
3259
  class Status
3037
3260
  # @private
3038
3261
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3097,6 +3320,23 @@ module Google
3097
3320
  end
3098
3321
  end
3099
3322
 
3323
+ class VersionUpgrade
3324
+ # @private
3325
+ class Representation < Google::Apis::Core::JsonRepresentation
3326
+ property :desired_version, as: 'desiredVersion'
3327
+ property :type, as: 'type'
3328
+ end
3329
+ end
3330
+
3331
+ class WaveSchedule
3332
+ # @private
3333
+ class Representation < Google::Apis::Core::JsonRepresentation
3334
+ property :wave_end_time, as: 'waveEndTime'
3335
+ property :wave_number, as: 'waveNumber'
3336
+ property :wave_start_time, as: 'waveStartTime'
3337
+ end
3338
+ end
3339
+
3100
3340
  class WorkloadIdentityFeatureSpec
3101
3341
  # @private
3102
3342
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1860,6 +1860,267 @@ module Google
1860
1860
  execute_or_queue_command(command, &block)
1861
1861
  end
1862
1862
 
1863
+ # Create a new rollout sequence resource.
1864
+ # @param [String] parent
1865
+ # Required. The parent resource where this rollout sequence will be created.
1866
+ # projects/`project`/locations/`location`
1867
+ # @param [Google::Apis::GkehubV1alpha::RolloutSequence] rollout_sequence_object
1868
+ # @param [String] rollout_sequence_id
1869
+ # Required. User provided identifier that is used as part of the resource name;
1870
+ # must conform to RFC-1034 and additionally restrict to lower-cased letters.
1871
+ # This comes out roughly to: /^a-z+[a-z0-9]$/
1872
+ # @param [String] fields
1873
+ # Selector specifying which fields to include in a partial response.
1874
+ # @param [String] quota_user
1875
+ # Available to use for quota purposes for server-side applications. Can be any
1876
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1877
+ # @param [Google::Apis::RequestOptions] options
1878
+ # Request-specific options
1879
+ #
1880
+ # @yield [result, err] Result & error if block supplied
1881
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
1882
+ # @yieldparam err [StandardError] error object if request failed
1883
+ #
1884
+ # @return [Google::Apis::GkehubV1alpha::Operation]
1885
+ #
1886
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1887
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1888
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1889
+ def create_project_location_rollout_sequence(parent, rollout_sequence_object = nil, rollout_sequence_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1890
+ command = make_simple_command(:post, 'v1alpha/{+parent}/rolloutSequences', options)
1891
+ command.request_representation = Google::Apis::GkehubV1alpha::RolloutSequence::Representation
1892
+ command.request_object = rollout_sequence_object
1893
+ command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
1894
+ command.response_class = Google::Apis::GkehubV1alpha::Operation
1895
+ command.params['parent'] = parent unless parent.nil?
1896
+ command.query['rolloutSequenceId'] = rollout_sequence_id unless rollout_sequence_id.nil?
1897
+ command.query['fields'] = fields unless fields.nil?
1898
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1899
+ execute_or_queue_command(command, &block)
1900
+ end
1901
+
1902
+ # Remove a RolloutSequence.
1903
+ # @param [String] name
1904
+ # Required. The name of the rollout sequence to delete. projects/`project`/
1905
+ # locations/`location`/rolloutSequences/`rollout_sequence`
1906
+ # @param [String] fields
1907
+ # Selector specifying which fields to include in a partial response.
1908
+ # @param [String] quota_user
1909
+ # Available to use for quota purposes for server-side applications. Can be any
1910
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1911
+ # @param [Google::Apis::RequestOptions] options
1912
+ # Request-specific options
1913
+ #
1914
+ # @yield [result, err] Result & error if block supplied
1915
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
1916
+ # @yieldparam err [StandardError] error object if request failed
1917
+ #
1918
+ # @return [Google::Apis::GkehubV1alpha::Operation]
1919
+ #
1920
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1921
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1922
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1923
+ def delete_project_location_rollout_sequence(name, fields: nil, quota_user: nil, options: nil, &block)
1924
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1925
+ command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
1926
+ command.response_class = Google::Apis::GkehubV1alpha::Operation
1927
+ command.params['name'] = name unless name.nil?
1928
+ command.query['fields'] = fields unless fields.nil?
1929
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1930
+ execute_or_queue_command(command, &block)
1931
+ end
1932
+
1933
+ # Retrieve a single rollout sequence.
1934
+ # @param [String] name
1935
+ # Required. The name of the rollout sequence to retrieve. projects/`project`/
1936
+ # locations/`location`/rolloutSequences/`rollout_sequence`
1937
+ # @param [String] fields
1938
+ # Selector specifying which fields to include in a partial response.
1939
+ # @param [String] quota_user
1940
+ # Available to use for quota purposes for server-side applications. Can be any
1941
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1942
+ # @param [Google::Apis::RequestOptions] options
1943
+ # Request-specific options
1944
+ #
1945
+ # @yield [result, err] Result & error if block supplied
1946
+ # @yieldparam result [Google::Apis::GkehubV1alpha::RolloutSequence] parsed result object
1947
+ # @yieldparam err [StandardError] error object if request failed
1948
+ #
1949
+ # @return [Google::Apis::GkehubV1alpha::RolloutSequence]
1950
+ #
1951
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1952
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1953
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1954
+ def get_project_location_rollout_sequence(name, fields: nil, quota_user: nil, options: nil, &block)
1955
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1956
+ command.response_representation = Google::Apis::GkehubV1alpha::RolloutSequence::Representation
1957
+ command.response_class = Google::Apis::GkehubV1alpha::RolloutSequence
1958
+ command.params['name'] = name unless name.nil?
1959
+ command.query['fields'] = fields unless fields.nil?
1960
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1961
+ execute_or_queue_command(command, &block)
1962
+ end
1963
+
1964
+ # Retrieve the list of all rollout sequences.
1965
+ # @param [String] parent
1966
+ # Required. The parent, which owns this collection of rollout sequences. Format:
1967
+ # projects/`project`/locations/`location`
1968
+ # @param [String] filter
1969
+ # Optional. Lists Rollout Sequences that match the filter expression, following
1970
+ # the syntax outlined in https://google.aip.dev/160.
1971
+ # @param [Fixnum] page_size
1972
+ # Optional. The maximum number of rollout sequences to return. The service may
1973
+ # return fewer than this value. If unspecified, at most 50 rollout sequences
1974
+ # will be returned. The maximum value is 1000; values above 1000 will be coerced
1975
+ # to 1000.
1976
+ # @param [String] page_token
1977
+ # Optional. A page token, received from a previous `ListRolloutSequences` call.
1978
+ # Provide this to retrieve the subsequent page. When paginating, all other
1979
+ # parameters provided to `ListRolloutSequences` must match the call that
1980
+ # provided the page token.
1981
+ # @param [String] fields
1982
+ # Selector specifying which fields to include in a partial response.
1983
+ # @param [String] quota_user
1984
+ # Available to use for quota purposes for server-side applications. Can be any
1985
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1986
+ # @param [Google::Apis::RequestOptions] options
1987
+ # Request-specific options
1988
+ #
1989
+ # @yield [result, err] Result & error if block supplied
1990
+ # @yieldparam result [Google::Apis::GkehubV1alpha::ListRolloutSequencesResponse] parsed result object
1991
+ # @yieldparam err [StandardError] error object if request failed
1992
+ #
1993
+ # @return [Google::Apis::GkehubV1alpha::ListRolloutSequencesResponse]
1994
+ #
1995
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1996
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1997
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1998
+ def list_project_location_rollout_sequences(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1999
+ command = make_simple_command(:get, 'v1alpha/{+parent}/rolloutSequences', options)
2000
+ command.response_representation = Google::Apis::GkehubV1alpha::ListRolloutSequencesResponse::Representation
2001
+ command.response_class = Google::Apis::GkehubV1alpha::ListRolloutSequencesResponse
2002
+ command.params['parent'] = parent unless parent.nil?
2003
+ command.query['filter'] = filter unless filter.nil?
2004
+ command.query['pageSize'] = page_size unless page_size.nil?
2005
+ command.query['pageToken'] = page_token unless page_token.nil?
2006
+ command.query['fields'] = fields unless fields.nil?
2007
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2008
+ execute_or_queue_command(command, &block)
2009
+ end
2010
+
2011
+ # Update a rollout sequence.
2012
+ # @param [String] name
2013
+ # Identifier. Name of the rollout sequence in the format of: projects/`
2014
+ # PROJECT_ID`/locations/global/rolloutSequences/`NAME`
2015
+ # @param [Google::Apis::GkehubV1alpha::RolloutSequence] rollout_sequence_object
2016
+ # @param [String] update_mask
2017
+ # Optional. The list of fields to update.
2018
+ # @param [String] fields
2019
+ # Selector specifying which fields to include in a partial response.
2020
+ # @param [String] quota_user
2021
+ # Available to use for quota purposes for server-side applications. Can be any
2022
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2023
+ # @param [Google::Apis::RequestOptions] options
2024
+ # Request-specific options
2025
+ #
2026
+ # @yield [result, err] Result & error if block supplied
2027
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
2028
+ # @yieldparam err [StandardError] error object if request failed
2029
+ #
2030
+ # @return [Google::Apis::GkehubV1alpha::Operation]
2031
+ #
2032
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2033
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2034
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2035
+ def patch_project_location_rollout_sequence(name, rollout_sequence_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2036
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
2037
+ command.request_representation = Google::Apis::GkehubV1alpha::RolloutSequence::Representation
2038
+ command.request_object = rollout_sequence_object
2039
+ command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
2040
+ command.response_class = Google::Apis::GkehubV1alpha::Operation
2041
+ command.params['name'] = name unless name.nil?
2042
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2043
+ command.query['fields'] = fields unless fields.nil?
2044
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2045
+ execute_or_queue_command(command, &block)
2046
+ end
2047
+
2048
+ # Retrieve a single rollout.
2049
+ # @param [String] name
2050
+ # Required. The name of the rollout to retrieve. projects/`project`/locations/`
2051
+ # location`/rollouts/`rollout`
2052
+ # @param [String] fields
2053
+ # Selector specifying which fields to include in a partial response.
2054
+ # @param [String] quota_user
2055
+ # Available to use for quota purposes for server-side applications. Can be any
2056
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2057
+ # @param [Google::Apis::RequestOptions] options
2058
+ # Request-specific options
2059
+ #
2060
+ # @yield [result, err] Result & error if block supplied
2061
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Rollout] parsed result object
2062
+ # @yieldparam err [StandardError] error object if request failed
2063
+ #
2064
+ # @return [Google::Apis::GkehubV1alpha::Rollout]
2065
+ #
2066
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2067
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2068
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2069
+ def get_project_location_rollout(name, fields: nil, quota_user: nil, options: nil, &block)
2070
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
2071
+ command.response_representation = Google::Apis::GkehubV1alpha::Rollout::Representation
2072
+ command.response_class = Google::Apis::GkehubV1alpha::Rollout
2073
+ command.params['name'] = name unless name.nil?
2074
+ command.query['fields'] = fields unless fields.nil?
2075
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2076
+ execute_or_queue_command(command, &block)
2077
+ end
2078
+
2079
+ # Retrieve the list of all rollouts.
2080
+ # @param [String] parent
2081
+ # Required. The parent, which owns this collection of rollout. Format: projects/`
2082
+ # project`/locations/`location`
2083
+ # @param [String] filter
2084
+ # Optional. Lists Rollouts that match the filter expression, following the
2085
+ # syntax outlined in https://google.aip.dev/160.
2086
+ # @param [Fixnum] page_size
2087
+ # The maximum number of rollout to return. The service may return fewer than
2088
+ # this value. If unspecified, at most 50 rollouts will be returned. The maximum
2089
+ # value is 1000; values above 1000 will be coerced to 1000.
2090
+ # @param [String] page_token
2091
+ # A page token, received from a previous `ListRollouts` call. Provide this to
2092
+ # retrieve the subsequent page. When paginating, all other parameters provided
2093
+ # to `ListRollouts` must match the call that provided the page token.
2094
+ # @param [String] fields
2095
+ # Selector specifying which fields to include in a partial response.
2096
+ # @param [String] quota_user
2097
+ # Available to use for quota purposes for server-side applications. Can be any
2098
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2099
+ # @param [Google::Apis::RequestOptions] options
2100
+ # Request-specific options
2101
+ #
2102
+ # @yield [result, err] Result & error if block supplied
2103
+ # @yieldparam result [Google::Apis::GkehubV1alpha::ListRolloutsResponse] parsed result object
2104
+ # @yieldparam err [StandardError] error object if request failed
2105
+ #
2106
+ # @return [Google::Apis::GkehubV1alpha::ListRolloutsResponse]
2107
+ #
2108
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2109
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2110
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2111
+ def list_project_location_rollouts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2112
+ command = make_simple_command(:get, 'v1alpha/{+parent}/rollouts', options)
2113
+ command.response_representation = Google::Apis::GkehubV1alpha::ListRolloutsResponse::Representation
2114
+ command.response_class = Google::Apis::GkehubV1alpha::ListRolloutsResponse
2115
+ command.params['parent'] = parent unless parent.nil?
2116
+ command.query['filter'] = filter unless filter.nil?
2117
+ command.query['pageSize'] = page_size unless page_size.nil?
2118
+ command.query['pageToken'] = page_token unless page_token.nil?
2119
+ command.query['fields'] = fields unless fields.nil?
2120
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2121
+ execute_or_queue_command(command, &block)
2122
+ end
2123
+
1863
2124
  # Creates a Scope.
1864
2125
  # @param [String] parent
1865
2126
  # 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.98.0
4
+ version: 0.99.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.98.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.99.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: