google-apis-workstations_v1 0.19.0 → 0.20.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: edfd4769c99d05e0a9de4e7e3ef24f24cd8408f123454789455305aa0e5b0d79
4
- data.tar.gz: b83e0908660d3b1a3273d957f500b38fcaeca6c4edfc35a99195b5c05dc035de
3
+ metadata.gz: f3e4983d70330351ecbe7d02798eb51a339753ca656c7e1a6a6e559387c3924b
4
+ data.tar.gz: 20829d4576af4c79cf4fd0e16907879478f07a2a62ae3f0ae7ed2a6344e992ec
5
5
  SHA512:
6
- metadata.gz: 81ac57b40c64dd2766a2ea60e206d1bf01649b628be373ef55a5b3b4ea1d46511aa3e9c22984f0a34507871cde4ed97987141609ce71949387fbb4f2b9333c90
7
- data.tar.gz: 7dad660f6211439d563f949764054eb62eb78789d7b4bc5964774ac237404c35c49103b2d82968824dd3245aa498dba4230d8ceaf3043291b9f420e14a9fd5f5
6
+ metadata.gz: c7b0b8cd7cadfdc1784d544d1e529146f2db3ce2f81e5448e557f985a22ce5386b1b7afce188885b7614ba2976b57d769e70671f2ad89da893e768c7292a08af
7
+ data.tar.gz: ed9c062cefee58b63508fd241efb9df2da48107b591684a1dec87cea377ab328ad0accd76c1fb0b15bc11a40bbd2043bbc2979f0981e992fe07f90c5007db327
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-workstations_v1
2
2
 
3
+ ### v0.20.0 (2025-01-12)
4
+
5
+ * Regenerated from discovery document revision 20250101
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.19.0 (2024-12-08)
4
9
 
5
10
  * Regenerated from discovery document revision 20241202
@@ -221,11 +221,11 @@ module Google
221
221
  end
222
222
 
223
223
  # A boost configuration is a set of resources that a workstation can use to
224
- # increase its performance. If a boost configuration is specified, when starting
225
- # a workstation, users can choose to use a VM provisioned under the boost config
226
- # by passing the boost config id in the start request. If no boost config id is
227
- # provided in the start request, the system will choose a VM from the pool
228
- # provisioned under the default config.
224
+ # increase its performance. If you specify a boost configuration, upon startup,
225
+ # workstation users can choose to use a VM provisioned under the boost config by
226
+ # passing the boost config ID in the start request. If the workstation user does
227
+ # not provide a boost config ID in the start request, the system will choose a
228
+ # VM from the pool provisioned under the default config.
229
229
  class BoostConfig
230
230
  include Google::Apis::Core::Hashable
231
231
 
@@ -264,7 +264,7 @@ module Google
264
264
  attr_accessor :enable_nested_virtualization
265
265
  alias_method :enable_nested_virtualization?, :enable_nested_virtualization
266
266
 
267
- # Required. The id to be used for the boost configuration.
267
+ # Required. The ID to be used for the boost configuration.
268
268
  # Corresponds to the JSON property `id`
269
269
  # @return [String]
270
270
  attr_accessor :id
@@ -684,6 +684,37 @@ module Google
684
684
  end
685
685
  end
686
686
 
687
+ # The Compute Engine instance host.
688
+ class GceInstanceHost
689
+ include Google::Apis::Core::Hashable
690
+
691
+ # Optional. Output only. The ID of the Compute Engine instance.
692
+ # Corresponds to the JSON property `id`
693
+ # @return [String]
694
+ attr_accessor :id
695
+
696
+ # Optional. Output only. The name of the Compute Engine instance.
697
+ # Corresponds to the JSON property `name`
698
+ # @return [String]
699
+ attr_accessor :name
700
+
701
+ # Optional. Output only. The zone of the Compute Engine instance.
702
+ # Corresponds to the JSON property `zone`
703
+ # @return [String]
704
+ attr_accessor :zone
705
+
706
+ def initialize(**args)
707
+ update!(**args)
708
+ end
709
+
710
+ # Update properties of this object
711
+ def update!(**args)
712
+ @id = args[:id] if args.key?(:id)
713
+ @name = args[:name] if args.key?(:name)
714
+ @zone = args[:zone] if args.key?(:zone)
715
+ end
716
+ end
717
+
687
718
  # An EphemeralDirectory is backed by a Compute Engine persistent disk.
688
719
  class GcePersistentDisk
689
720
  include Google::Apis::Core::Hashable
@@ -1297,7 +1328,8 @@ module Google
1297
1328
  end
1298
1329
  end
1299
1330
 
1300
- # A directory to persist across workstation sessions.
1331
+ # A directory to persist across workstation sessions. Updates to this field will
1332
+ # not update existing workstations and will only take effect on new workstations.
1301
1333
  class PersistentDirectory
1302
1334
  include Google::Apis::Core::Hashable
1303
1335
 
@@ -1524,6 +1556,25 @@ module Google
1524
1556
  end
1525
1557
  end
1526
1558
 
1559
+ # Runtime host for the workstation.
1560
+ class RuntimeHost
1561
+ include Google::Apis::Core::Hashable
1562
+
1563
+ # The Compute Engine instance host.
1564
+ # Corresponds to the JSON property `gceInstanceHost`
1565
+ # @return [Google::Apis::WorkstationsV1::GceInstanceHost]
1566
+ attr_accessor :gce_instance_host
1567
+
1568
+ def initialize(**args)
1569
+ update!(**args)
1570
+ end
1571
+
1572
+ # Update properties of this object
1573
+ def update!(**args)
1574
+ @gce_instance_host = args[:gce_instance_host] if args.key?(:gce_instance_host)
1575
+ end
1576
+ end
1577
+
1527
1578
  # Request message for `SetIamPolicy` method.
1528
1579
  class SetIamPolicyRequest
1529
1580
  include Google::Apis::Core::Hashable
@@ -1581,6 +1632,12 @@ module Google
1581
1632
  class StartWorkstationRequest
1582
1633
  include Google::Apis::Core::Hashable
1583
1634
 
1635
+ # Optional. If set, the workstation starts using the boost configuration with
1636
+ # the specified ID.
1637
+ # Corresponds to the JSON property `boostConfig`
1638
+ # @return [String]
1639
+ attr_accessor :boost_config
1640
+
1584
1641
  # Optional. If set, the request will be rejected if the latest version of the
1585
1642
  # workstation on the server does not have this ETag.
1586
1643
  # Corresponds to the JSON property `etag`
@@ -1600,6 +1657,7 @@ module Google
1600
1657
 
1601
1658
  # Update properties of this object
1602
1659
  def update!(**args)
1660
+ @boost_config = args[:boost_config] if args.key?(:boost_config)
1603
1661
  @etag = args[:etag] if args.key?(:etag)
1604
1662
  @validate_only = args[:validate_only] if args.key?(:validate_only)
1605
1663
  end
@@ -1783,6 +1841,17 @@ module Google
1783
1841
  attr_accessor :reconciling
1784
1842
  alias_method :reconciling?, :reconciling
1785
1843
 
1844
+ # Runtime host for the workstation.
1845
+ # Corresponds to the JSON property `runtimeHost`
1846
+ # @return [Google::Apis::WorkstationsV1::RuntimeHost]
1847
+ attr_accessor :runtime_host
1848
+
1849
+ # Optional. The source workstation from which this workstation's persistent
1850
+ # directories were cloned on creation.
1851
+ # Corresponds to the JSON property `sourceWorkstation`
1852
+ # @return [String]
1853
+ attr_accessor :source_workstation
1854
+
1786
1855
  # Output only. Time when this workstation was most recently successfully started,
1787
1856
  # regardless of the workstation's initial state.
1788
1857
  # Corresponds to the JSON property `startTime`
@@ -1821,6 +1890,8 @@ module Google
1821
1890
  @labels = args[:labels] if args.key?(:labels)
1822
1891
  @name = args[:name] if args.key?(:name)
1823
1892
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1893
+ @runtime_host = args[:runtime_host] if args.key?(:runtime_host)
1894
+ @source_workstation = args[:source_workstation] if args.key?(:source_workstation)
1824
1895
  @start_time = args[:start_time] if args.key?(:start_time)
1825
1896
  @state = args[:state] if args.key?(:state)
1826
1897
  @uid = args[:uid] if args.key?(:uid)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkstationsV1
18
18
  # Version of the google-apis-workstations_v1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241202"
25
+ REVISION = "20250101"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,12 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class GceInstanceHost
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class GcePersistentDisk
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -232,6 +238,12 @@ module Google
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
241
+ class RuntimeHost
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
235
247
  class SetIamPolicyRequest
236
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
249
 
@@ -418,6 +430,15 @@ module Google
418
430
  end
419
431
  end
420
432
 
433
+ class GceInstanceHost
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :id, as: 'id'
437
+ property :name, as: 'name'
438
+ property :zone, as: 'zone'
439
+ end
440
+ end
441
+
421
442
  class GcePersistentDisk
422
443
  # @private
423
444
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -630,6 +651,14 @@ module Google
630
651
  end
631
652
  end
632
653
 
654
+ class RuntimeHost
655
+ # @private
656
+ class Representation < Google::Apis::Core::JsonRepresentation
657
+ property :gce_instance_host, as: 'gceInstanceHost', class: Google::Apis::WorkstationsV1::GceInstanceHost, decorator: Google::Apis::WorkstationsV1::GceInstanceHost::Representation
658
+
659
+ end
660
+ end
661
+
633
662
  class SetIamPolicyRequest
634
663
  # @private
635
664
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -642,6 +671,7 @@ module Google
642
671
  class StartWorkstationRequest
643
672
  # @private
644
673
  class Representation < Google::Apis::Core::JsonRepresentation
674
+ property :boost_config, as: 'boostConfig'
645
675
  property :etag, as: 'etag'
646
676
  property :validate_only, as: 'validateOnly'
647
677
  end
@@ -692,6 +722,9 @@ module Google
692
722
  hash :labels, as: 'labels'
693
723
  property :name, as: 'name'
694
724
  property :reconciling, as: 'reconciling'
725
+ property :runtime_host, as: 'runtimeHost', class: Google::Apis::WorkstationsV1::RuntimeHost, decorator: Google::Apis::WorkstationsV1::RuntimeHost::Representation
726
+
727
+ property :source_workstation, as: 'sourceWorkstation'
695
728
  property :start_time, as: 'startTime'
696
729
  property :state, as: 'state'
697
730
  property :uid, as: 'uid'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workstations_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-08 00:00:00.000000000 Z
10
+ date: 2025-01-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.19.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.20.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Workstations API V1
82
79
  test_files: []