google-apis-workstations_v1beta 0.40.0 → 0.41.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: df80d2a8b81864a6e2257824ff6e74b88113ab79af2d9befec7ae8f52ed3d13a
4
- data.tar.gz: 25b07b4540365b370e0ae1589b605f18093417b9c72e5339eab126c610d44115
3
+ metadata.gz: 5f30ed023619b0d12da95ca7e16a99a1b46c615ac31b352c031e9c007436c652
4
+ data.tar.gz: 3e81e0bbd30d6a10244cc7ec0792476bdb8f6e7cc72f73c84e69a91c6e14e692
5
5
  SHA512:
6
- metadata.gz: 5da689046ce861478f07739f94a8e13834d77fa8458a9449d54277d33d9597466d25de1a3acfd8f9d78355693ee59a9e5185e20cd838818add175912d24074e1
7
- data.tar.gz: 8b30d638fe7c6907259e2d94e24c736f236d73e9705ace90fed73ff41a93622068167854c93ca56b27f4cd71a3913aa9a0ce4898ad7ba0216b4a366acce19ca4
6
+ metadata.gz: d7124bdc1a2ff592ca332a1ec92a234a2cf3c70ff589b0591028cf1e7c9402842f84028b65f465a0d5ee4637a7e9c692dd4c9ace102ff9ce6a87bc77bc1e2120
7
+ data.tar.gz: 6ca3e190ec7b3e65a8e2289f025914bbec4dc0850c5983d5c581030a930d3d2fc85ba454764d3fe5be42b968916233c61187cde78a86ab8e8c52aee25a546f23
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.41.0 (2025-07-06)
4
+
5
+ * Regenerated from discovery document revision 20250625
6
+
3
7
  ### v0.40.0 (2025-06-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20250604
@@ -284,6 +284,12 @@ module Google
284
284
  # @return [Fixnum]
285
285
  attr_accessor :pool_size
286
286
 
287
+ # ReservationAffinity is the configuration of the desired reservation from which
288
+ # instances can consume resources.
289
+ # Corresponds to the JSON property `reservationAffinity`
290
+ # @return [Google::Apis::WorkstationsV1beta::ReservationAffinity]
291
+ attr_accessor :reservation_affinity
292
+
287
293
  def initialize(**args)
288
294
  update!(**args)
289
295
  end
@@ -296,6 +302,7 @@ module Google
296
302
  @id = args[:id] if args.key?(:id)
297
303
  @machine_type = args[:machine_type] if args.key?(:machine_type)
298
304
  @pool_size = args[:pool_size] if args.key?(:pool_size)
305
+ @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
299
306
  end
300
307
  end
301
308
 
@@ -635,6 +642,12 @@ module Google
635
642
  # @return [Fixnum]
636
643
  attr_accessor :pooled_instances
637
644
 
645
+ # ReservationAffinity is the configuration of the desired reservation from which
646
+ # instances can consume resources.
647
+ # Corresponds to the JSON property `reservationAffinity`
648
+ # @return [Google::Apis::WorkstationsV1beta::ReservationAffinity]
649
+ attr_accessor :reservation_affinity
650
+
638
651
  # Optional. The email address of the service account for Cloud Workstations VMs
639
652
  # created with this configuration. When specified, be sure that the service
640
653
  # account has `logging.logEntries.create` and `monitoring.timeSeries.create`
@@ -697,6 +710,7 @@ module Google
697
710
  @machine_type = args[:machine_type] if args.key?(:machine_type)
698
711
  @pool_size = args[:pool_size] if args.key?(:pool_size)
699
712
  @pooled_instances = args[:pooled_instances] if args.key?(:pooled_instances)
713
+ @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
700
714
  @service_account = args[:service_account] if args.key?(:service_account)
701
715
  @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
702
716
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@@ -1550,6 +1564,41 @@ module Google
1550
1564
  end
1551
1565
  end
1552
1566
 
1567
+ # ReservationAffinity is the configuration of the desired reservation from which
1568
+ # instances can consume resources.
1569
+ class ReservationAffinity
1570
+ include Google::Apis::Core::Hashable
1571
+
1572
+ # Optional. Corresponds to the type of reservation consumption.
1573
+ # Corresponds to the JSON property `consumeReservationType`
1574
+ # @return [String]
1575
+ attr_accessor :consume_reservation_type
1576
+
1577
+ # Optional. Corresponds to the label key of reservation resource.
1578
+ # Corresponds to the JSON property `key`
1579
+ # @return [String]
1580
+ attr_accessor :key
1581
+
1582
+ # Optional. Corresponds to the label values of reservation resources. Valid
1583
+ # values are either a name to a reservation in the same project or "projects/`
1584
+ # project`/reservations/`reservation`" to target a shared reservation in the
1585
+ # same zone but in a different project.
1586
+ # Corresponds to the JSON property `values`
1587
+ # @return [Array<String>]
1588
+ attr_accessor :values
1589
+
1590
+ def initialize(**args)
1591
+ update!(**args)
1592
+ end
1593
+
1594
+ # Update properties of this object
1595
+ def update!(**args)
1596
+ @consume_reservation_type = args[:consume_reservation_type] if args.key?(:consume_reservation_type)
1597
+ @key = args[:key] if args.key?(:key)
1598
+ @values = args[:values] if args.key?(:values)
1599
+ end
1600
+ end
1601
+
1553
1602
  # Runtime host for the workstation.
1554
1603
  class RuntimeHost
1555
1604
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkstationsV1beta
18
18
  # Version of the google-apis-workstations_v1beta gem
19
- GEM_VERSION = "0.40.0"
19
+ GEM_VERSION = "0.41.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 = "20250604"
25
+ REVISION = "20250625"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,12 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class ReservationAffinity
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
241
247
  class RuntimeHost
242
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
249
 
@@ -349,6 +355,8 @@ module Google
349
355
  property :id, as: 'id'
350
356
  property :machine_type, as: 'machineType'
351
357
  property :pool_size, as: 'poolSize'
358
+ property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::WorkstationsV1beta::ReservationAffinity, decorator: Google::Apis::WorkstationsV1beta::ReservationAffinity::Representation
359
+
352
360
  end
353
361
  end
354
362
 
@@ -434,6 +442,8 @@ module Google
434
442
  property :machine_type, as: 'machineType'
435
443
  property :pool_size, as: 'poolSize'
436
444
  property :pooled_instances, as: 'pooledInstances'
445
+ property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::WorkstationsV1beta::ReservationAffinity, decorator: Google::Apis::WorkstationsV1beta::ReservationAffinity::Representation
446
+
437
447
  property :service_account, as: 'serviceAccount'
438
448
  collection :service_account_scopes, as: 'serviceAccountScopes'
439
449
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig, decorator: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig::Representation
@@ -652,6 +662,15 @@ module Google
652
662
  end
653
663
  end
654
664
 
665
+ class ReservationAffinity
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ property :consume_reservation_type, as: 'consumeReservationType'
669
+ property :key, as: 'key'
670
+ collection :values, as: 'values'
671
+ end
672
+ end
673
+
655
674
  class RuntimeHost
656
675
  # @private
657
676
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workstations_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.41.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-workstations_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.40.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.41.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: