google-apis-workstations_v1 0.19.0 → 0.21.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: 2e92c4412f67b0c1772aab39498ca118ca6f3696778acb0cdca0f5d2cf240f67
4
+ data.tar.gz: d4a61d623d5e69e2222443e2436c46fed869320a2ce19b94e54ac192fca1dd5b
5
5
  SHA512:
6
- metadata.gz: 81ac57b40c64dd2766a2ea60e206d1bf01649b628be373ef55a5b3b4ea1d46511aa3e9c22984f0a34507871cde4ed97987141609ce71949387fbb4f2b9333c90
7
- data.tar.gz: 7dad660f6211439d563f949764054eb62eb78789d7b4bc5964774ac237404c35c49103b2d82968824dd3245aa498dba4230d8ceaf3043291b9f420e14a9fd5f5
6
+ metadata.gz: 3858ca7de4d85a9a3d440de3edf27f7da2b94ad12cd035f9356a22c2328b549937b533f70db660b4044b1fe70544130e8fadcde1cd19a398b82cc1000feda71c
7
+ data.tar.gz: c58315f8da9b82e25b07c382704bc9acb2c8c660cf778906ab946491f9b1483a6968ba53a1525caf6232d11ee24e60518fc0078516ef158b87ebee6062bdad27
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-workstations_v1
2
2
 
3
+ ### v0.21.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250219
6
+
7
+ ### v0.20.0 (2025-01-12)
8
+
9
+ * Regenerated from discovery document revision 20250101
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.19.0 (2024-12-08)
4
13
 
5
14
  * 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
@@ -702,8 +733,11 @@ module Google
702
733
 
703
734
  # Optional. Name of the disk image to use as the source for the disk. Must be
704
735
  # empty if source_snapshot is set. Updating source_image will update content in
705
- # the ephemeral directory after the workstation is restarted. This field is
706
- # mutable.
736
+ # the ephemeral directory after the workstation is restarted. Only file systems
737
+ # supported by Container-Optimized OS (COS) are explicitly supported. For a list
738
+ # of supported file systems, please refer to the [COS documentation](https://
739
+ # cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems).
740
+ # This field is mutable.
707
741
  # Corresponds to the JSON property `sourceImage`
708
742
  # @return [String]
709
743
  attr_accessor :source_image
@@ -711,7 +745,10 @@ module Google
711
745
  # Optional. Name of the snapshot to use as the source for the disk. Must be
712
746
  # empty if source_image is set. Must be empty if read_only is false. Updating
713
747
  # source_snapshot will update content in the ephemeral directory after the
714
- # workstation is restarted. This field is mutable.
748
+ # workstation is restarted. Only file systems supported by Container-Optimized
749
+ # OS (COS) are explicitly supported. For a list of supported file systems,
750
+ # please refer to the [COS documentation](https://cloud.google.com/container-
751
+ # optimized-os/docs/concepts/supported-filesystems). This field is mutable.
715
752
  # Corresponds to the JSON property `sourceSnapshot`
716
753
  # @return [String]
717
754
  attr_accessor :source_snapshot
@@ -1297,7 +1334,8 @@ module Google
1297
1334
  end
1298
1335
  end
1299
1336
 
1300
- # A directory to persist across workstation sessions.
1337
+ # A directory to persist across workstation sessions. Updates to this field will
1338
+ # not update existing workstations and will only take effect on new workstations.
1301
1339
  class PersistentDirectory
1302
1340
  include Google::Apis::Core::Hashable
1303
1341
 
@@ -1478,7 +1516,7 @@ module Google
1478
1516
  alias_method :enable_private_endpoint?, :enable_private_endpoint
1479
1517
 
1480
1518
  # Output only. Service attachment URI for the workstation cluster. The service
1481
- # attachemnt is created when private endpoint is enabled. To access workstations
1519
+ # attachment is created when private endpoint is enabled. To access workstations
1482
1520
  # in the workstation cluster, configure access to the managed service using [
1483
1521
  # Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-
1484
1522
  # service-connect-services).
@@ -1524,6 +1562,25 @@ module Google
1524
1562
  end
1525
1563
  end
1526
1564
 
1565
+ # Runtime host for the workstation.
1566
+ class RuntimeHost
1567
+ include Google::Apis::Core::Hashable
1568
+
1569
+ # The Compute Engine instance host.
1570
+ # Corresponds to the JSON property `gceInstanceHost`
1571
+ # @return [Google::Apis::WorkstationsV1::GceInstanceHost]
1572
+ attr_accessor :gce_instance_host
1573
+
1574
+ def initialize(**args)
1575
+ update!(**args)
1576
+ end
1577
+
1578
+ # Update properties of this object
1579
+ def update!(**args)
1580
+ @gce_instance_host = args[:gce_instance_host] if args.key?(:gce_instance_host)
1581
+ end
1582
+ end
1583
+
1527
1584
  # Request message for `SetIamPolicy` method.
1528
1585
  class SetIamPolicyRequest
1529
1586
  include Google::Apis::Core::Hashable
@@ -1581,6 +1638,12 @@ module Google
1581
1638
  class StartWorkstationRequest
1582
1639
  include Google::Apis::Core::Hashable
1583
1640
 
1641
+ # Optional. If set, the workstation starts using the boost configuration with
1642
+ # the specified ID.
1643
+ # Corresponds to the JSON property `boostConfig`
1644
+ # @return [String]
1645
+ attr_accessor :boost_config
1646
+
1584
1647
  # Optional. If set, the request will be rejected if the latest version of the
1585
1648
  # workstation on the server does not have this ETag.
1586
1649
  # Corresponds to the JSON property `etag`
@@ -1600,6 +1663,7 @@ module Google
1600
1663
 
1601
1664
  # Update properties of this object
1602
1665
  def update!(**args)
1666
+ @boost_config = args[:boost_config] if args.key?(:boost_config)
1603
1667
  @etag = args[:etag] if args.key?(:etag)
1604
1668
  @validate_only = args[:validate_only] if args.key?(:validate_only)
1605
1669
  end
@@ -1783,6 +1847,17 @@ module Google
1783
1847
  attr_accessor :reconciling
1784
1848
  alias_method :reconciling?, :reconciling
1785
1849
 
1850
+ # Runtime host for the workstation.
1851
+ # Corresponds to the JSON property `runtimeHost`
1852
+ # @return [Google::Apis::WorkstationsV1::RuntimeHost]
1853
+ attr_accessor :runtime_host
1854
+
1855
+ # Optional. The source workstation from which this workstation's persistent
1856
+ # directories were cloned on creation.
1857
+ # Corresponds to the JSON property `sourceWorkstation`
1858
+ # @return [String]
1859
+ attr_accessor :source_workstation
1860
+
1786
1861
  # Output only. Time when this workstation was most recently successfully started,
1787
1862
  # regardless of the workstation's initial state.
1788
1863
  # Corresponds to the JSON property `startTime`
@@ -1821,6 +1896,8 @@ module Google
1821
1896
  @labels = args[:labels] if args.key?(:labels)
1822
1897
  @name = args[:name] if args.key?(:name)
1823
1898
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1899
+ @runtime_host = args[:runtime_host] if args.key?(:runtime_host)
1900
+ @source_workstation = args[:source_workstation] if args.key?(:source_workstation)
1824
1901
  @start_time = args[:start_time] if args.key?(:start_time)
1825
1902
  @state = args[:state] if args.key?(:state)
1826
1903
  @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.21.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 = "20250219"
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.21.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-03-02 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.21.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.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Workstations API V1
82
79
  test_files: []