google-apis-workstations_v1beta 0.40.0 → 0.42.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b26f2a3ac0e20520f75d941ceef574aec68e1c3deb9afe098def1ec35f2d733a
|
4
|
+
data.tar.gz: 9f6408ee683845fcd4ffad0c7d3b7f480249a051d8d21daa79383333e2ed30bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ab07f529cd91cf0217018c405fa6f39b130ff655abf61ca160fe142c4ebd39061c41f08a7615c1ee419b563d32d10078af7c7c061679b0bbe8001dca3aa67bd
|
7
|
+
data.tar.gz: 0e95615b6cc0c24ff700362e842766e7fe57ec5321d6f0df060763431091e5c6e255a911b5707ee9036212d0aa2214c435eb52c4636bc9df00a628c1a6d93dc0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-workstations_v1beta
|
2
2
|
|
3
|
+
### v0.42.0 (2025-07-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250716
|
6
|
+
|
7
|
+
### v0.41.0 (2025-07-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250625
|
10
|
+
|
3
11
|
### v0.40.0 (2025-06-15)
|
4
12
|
|
5
13
|
* 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
|
@@ -1939,6 +1988,13 @@ module Google
|
|
1939
1988
|
# @return [String]
|
1940
1989
|
attr_accessor :id
|
1941
1990
|
|
1991
|
+
# Output only. Whether or not the current workstation is actively boosted with
|
1992
|
+
# this id.
|
1993
|
+
# Corresponds to the JSON property `running`
|
1994
|
+
# @return [Boolean]
|
1995
|
+
attr_accessor :running
|
1996
|
+
alias_method :running?, :running
|
1997
|
+
|
1942
1998
|
def initialize(**args)
|
1943
1999
|
update!(**args)
|
1944
2000
|
end
|
@@ -1946,6 +2002,7 @@ module Google
|
|
1946
2002
|
# Update properties of this object
|
1947
2003
|
def update!(**args)
|
1948
2004
|
@id = args[:id] if args.key?(:id)
|
2005
|
+
@running = args[:running] if args.key?(:running)
|
1949
2006
|
end
|
1950
2007
|
end
|
1951
2008
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.42.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 = "
|
25
|
+
REVISION = "20250716"
|
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
|
@@ -744,6 +763,7 @@ module Google
|
|
744
763
|
# @private
|
745
764
|
class Representation < Google::Apis::Core::JsonRepresentation
|
746
765
|
property :id, as: 'id'
|
766
|
+
property :running, as: 'running'
|
747
767
|
end
|
748
768
|
end
|
749
769
|
|
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.
|
4
|
+
version: 0.42.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.42.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:
|