google-apis-workstations_v1beta 0.39.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: 443b2be2de3276e3c0b3798e00b6faf5d0ae2c76c50aa9022ff7ae3ba2486c2b
4
- data.tar.gz: b56124bedd6e1fc6b023b9801aed422a6a2bd3aded41ea5b472b06f52bb0b52c
3
+ metadata.gz: 5f30ed023619b0d12da95ca7e16a99a1b46c615ac31b352c031e9c007436c652
4
+ data.tar.gz: 3e81e0bbd30d6a10244cc7ec0792476bdb8f6e7cc72f73c84e69a91c6e14e692
5
5
  SHA512:
6
- metadata.gz: 2c1a3cd0ffc5c3cb193fef847ee1b1122ff0305af46aabf1711bcb7e0e2bb69e15225b7bc3604660a63309754a9425d6d0990a0afd27ed801b7fae457000fdfe
7
- data.tar.gz: a988c24687361958e8a00ee6b03e6cc7425f3b58c57ff1658560d2aab25b79fbc72862d0d85df19b4cb35a5ee001f4b06b22f81bf642ba2f078097eb59078fb8
6
+ metadata.gz: d7124bdc1a2ff592ca332a1ec92a234a2cf3c70ff589b0591028cf1e7c9402842f84028b65f465a0d5ee4637a7e9c692dd4c9ace102ff9ce6a87bc77bc1e2120
7
+ data.tar.gz: 6ca3e190ec7b3e65a8e2289f025914bbec4dc0850c5983d5c581030a930d3d2fc85ba454764d3fe5be42b968916233c61187cde78a86ab8e8c52aee25a546f23
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.40.0 (2025-06-15)
8
+
9
+ * Regenerated from discovery document revision 20250604
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.39.0 (2025-05-04)
4
13
 
5
14
  * Regenerated using generator version 0.17.0
@@ -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
 
@@ -505,6 +512,27 @@ module Google
505
512
  end
506
513
  end
507
514
 
515
+ # Configuration options for Cluster HTTP Gateway.
516
+ class GatewayConfig
517
+ include Google::Apis::Core::Hashable
518
+
519
+ # Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults to
520
+ # false.
521
+ # Corresponds to the JSON property `http2Enabled`
522
+ # @return [Boolean]
523
+ attr_accessor :http2_enabled
524
+ alias_method :http2_enabled?, :http2_enabled
525
+
526
+ def initialize(**args)
527
+ update!(**args)
528
+ end
529
+
530
+ # Update properties of this object
531
+ def update!(**args)
532
+ @http2_enabled = args[:http2_enabled] if args.key?(:http2_enabled)
533
+ end
534
+ end
535
+
508
536
  # A set of Compute Engine Confidential VM instance options.
509
537
  class GceConfidentialInstanceConfig
510
538
  include Google::Apis::Core::Hashable
@@ -614,6 +642,12 @@ module Google
614
642
  # @return [Fixnum]
615
643
  attr_accessor :pooled_instances
616
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
+
617
651
  # Optional. The email address of the service account for Cloud Workstations VMs
618
652
  # created with this configuration. When specified, be sure that the service
619
653
  # account has `logging.logEntries.create` and `monitoring.timeSeries.create`
@@ -676,6 +710,7 @@ module Google
676
710
  @machine_type = args[:machine_type] if args.key?(:machine_type)
677
711
  @pool_size = args[:pool_size] if args.key?(:pool_size)
678
712
  @pooled_instances = args[:pooled_instances] if args.key?(:pooled_instances)
713
+ @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
679
714
  @service_account = args[:service_account] if args.key?(:service_account)
680
715
  @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
681
716
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@@ -1529,6 +1564,41 @@ module Google
1529
1564
  end
1530
1565
  end
1531
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
+
1532
1602
  # Runtime host for the workstation.
1533
1603
  class RuntimeHost
1534
1604
  include Google::Apis::Core::Hashable
@@ -1987,6 +2057,11 @@ module Google
1987
2057
  # @return [String]
1988
2058
  attr_accessor :etag
1989
2059
 
2060
+ # Configuration options for Cluster HTTP Gateway.
2061
+ # Corresponds to the JSON property `gatewayConfig`
2062
+ # @return [Google::Apis::WorkstationsV1beta::GatewayConfig]
2063
+ attr_accessor :gateway_config
2064
+
1990
2065
  # Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources)
1991
2066
  # that are applied to the workstation cluster and that are also propagated to
1992
2067
  # the underlying Compute Engine resources.
@@ -2068,6 +2143,7 @@ module Google
2068
2143
  @display_name = args[:display_name] if args.key?(:display_name)
2069
2144
  @domain_config = args[:domain_config] if args.key?(:domain_config)
2070
2145
  @etag = args[:etag] if args.key?(:etag)
2146
+ @gateway_config = args[:gateway_config] if args.key?(:gateway_config)
2071
2147
  @labels = args[:labels] if args.key?(:labels)
2072
2148
  @name = args[:name] if args.key?(:name)
2073
2149
  @network = args[:network] if args.key?(:network)
@@ -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.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250326"
25
+ REVISION = "20250625"
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 GatewayConfig
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class GceConfidentialInstanceConfig
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -232,6 +238,12 @@ module Google
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
241
+ class ReservationAffinity
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
235
247
  class RuntimeHost
236
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
249
 
@@ -343,6 +355,8 @@ module Google
343
355
  property :id, as: 'id'
344
356
  property :machine_type, as: 'machineType'
345
357
  property :pool_size, as: 'poolSize'
358
+ property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::WorkstationsV1beta::ReservationAffinity, decorator: Google::Apis::WorkstationsV1beta::ReservationAffinity::Representation
359
+
346
360
  end
347
361
  end
348
362
 
@@ -398,6 +412,13 @@ module Google
398
412
  end
399
413
  end
400
414
 
415
+ class GatewayConfig
416
+ # @private
417
+ class Representation < Google::Apis::Core::JsonRepresentation
418
+ property :http2_enabled, as: 'http2Enabled'
419
+ end
420
+ end
421
+
401
422
  class GceConfidentialInstanceConfig
402
423
  # @private
403
424
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -421,6 +442,8 @@ module Google
421
442
  property :machine_type, as: 'machineType'
422
443
  property :pool_size, as: 'poolSize'
423
444
  property :pooled_instances, as: 'pooledInstances'
445
+ property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::WorkstationsV1beta::ReservationAffinity, decorator: Google::Apis::WorkstationsV1beta::ReservationAffinity::Representation
446
+
424
447
  property :service_account, as: 'serviceAccount'
425
448
  collection :service_account_scopes, as: 'serviceAccountScopes'
426
449
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig, decorator: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig::Representation
@@ -639,6 +662,15 @@ module Google
639
662
  end
640
663
  end
641
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
+
642
674
  class RuntimeHost
643
675
  # @private
644
676
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -748,6 +780,8 @@ module Google
748
780
  property :domain_config, as: 'domainConfig', class: Google::Apis::WorkstationsV1beta::DomainConfig, decorator: Google::Apis::WorkstationsV1beta::DomainConfig::Representation
749
781
 
750
782
  property :etag, as: 'etag'
783
+ property :gateway_config, as: 'gatewayConfig', class: Google::Apis::WorkstationsV1beta::GatewayConfig, decorator: Google::Apis::WorkstationsV1beta::GatewayConfig::Representation
784
+
751
785
  hash :labels, as: 'labels'
752
786
  property :name, as: 'name'
753
787
  property :network, as: 'network'
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.39.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.39.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:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Workstations API V1beta
79
79
  test_files: []