google-apis-workstations_v1 0.18.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: 1e7aeb896c9da474ff141d126190581c5048394c7266e5bedf8460a800ee711f
4
- data.tar.gz: 4a1784359976a1655e4217f887148eebba9f5406ef62277330d5f39aad813a8e
3
+ metadata.gz: f3e4983d70330351ecbe7d02798eb51a339753ca656c7e1a6a6e559387c3924b
4
+ data.tar.gz: 20829d4576af4c79cf4fd0e16907879478f07a2a62ae3f0ae7ed2a6344e992ec
5
5
  SHA512:
6
- metadata.gz: 7e2947c2d573691b7a7780124d94c24e2234dab1d5a8ebbe1bec7ef1f4b7af75eb9763fcf2febafc35d72584bd7fdeee40a1c421743ffa388d558d9e22603254
7
- data.tar.gz: efeb9fa63b5dc65f1b301a84913a94b1c0afe1fbd5de4fb357d60c72069bbb0fcf5fcbb51f9650926dd3ff81a7cda4ba55a2230c108430d36df7699522dff281
6
+ metadata.gz: c7b0b8cd7cadfdc1784d544d1e529146f2db3ce2f81e5448e557f985a22ce5386b1b7afce188885b7614ba2976b57d769e70671f2ad89da893e768c7292a08af
7
+ data.tar.gz: ed9c062cefee58b63508fd241efb9df2da48107b591684a1dec87cea377ab328ad0accd76c1fb0b15bc11a40bbd2043bbc2979f0981e992fe07f90c5007db327
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.19.0 (2024-12-08)
9
+
10
+ * Regenerated from discovery document revision 20241202
11
+
3
12
  ### v0.18.0 (2024-10-20)
4
13
 
5
14
  * Regenerated from discovery document revision 20241009
@@ -220,7 +220,12 @@ module Google
220
220
  end
221
221
  end
222
222
 
223
- # A configuration that workstations can boost to.
223
+ # A boost configuration is a set of resources that a workstation can use to
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.
224
229
  class BoostConfig
225
230
  include Google::Apis::Core::Hashable
226
231
 
@@ -259,7 +264,7 @@ module Google
259
264
  attr_accessor :enable_nested_virtualization
260
265
  alias_method :enable_nested_virtualization?, :enable_nested_virtualization
261
266
 
262
- # Optional. Required. The id to be used for the boost configuration.
267
+ # Required. The ID to be used for the boost configuration.
263
268
  # Corresponds to the JSON property `id`
264
269
  # @return [String]
265
270
  attr_accessor :id
@@ -531,7 +536,9 @@ module Google
531
536
  attr_accessor :accelerators
532
537
 
533
538
  # Optional. A list of the boost configurations that workstations created using
534
- # this workstation configuration are allowed to use.
539
+ # this workstation configuration are allowed to use. If specified, users will
540
+ # have the option to choose from the list of boost configs when starting a
541
+ # workstation.
535
542
  # Corresponds to the JSON property `boostConfigs`
536
543
  # @return [Array<Google::Apis::WorkstationsV1::BoostConfig>]
537
544
  attr_accessor :boost_configs
@@ -677,6 +684,37 @@ module Google
677
684
  end
678
685
  end
679
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
+
680
718
  # An EphemeralDirectory is backed by a Compute Engine persistent disk.
681
719
  class GcePersistentDisk
682
720
  include Google::Apis::Core::Hashable
@@ -1290,7 +1328,8 @@ module Google
1290
1328
  end
1291
1329
  end
1292
1330
 
1293
- # 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.
1294
1333
  class PersistentDirectory
1295
1334
  include Google::Apis::Core::Hashable
1296
1335
 
@@ -1517,6 +1556,25 @@ module Google
1517
1556
  end
1518
1557
  end
1519
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
+
1520
1578
  # Request message for `SetIamPolicy` method.
1521
1579
  class SetIamPolicyRequest
1522
1580
  include Google::Apis::Core::Hashable
@@ -1574,6 +1632,12 @@ module Google
1574
1632
  class StartWorkstationRequest
1575
1633
  include Google::Apis::Core::Hashable
1576
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
+
1577
1641
  # Optional. If set, the request will be rejected if the latest version of the
1578
1642
  # workstation on the server does not have this ETag.
1579
1643
  # Corresponds to the JSON property `etag`
@@ -1593,6 +1657,7 @@ module Google
1593
1657
 
1594
1658
  # Update properties of this object
1595
1659
  def update!(**args)
1660
+ @boost_config = args[:boost_config] if args.key?(:boost_config)
1596
1661
  @etag = args[:etag] if args.key?(:etag)
1597
1662
  @validate_only = args[:validate_only] if args.key?(:validate_only)
1598
1663
  end
@@ -1776,6 +1841,17 @@ module Google
1776
1841
  attr_accessor :reconciling
1777
1842
  alias_method :reconciling?, :reconciling
1778
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
+
1779
1855
  # Output only. Time when this workstation was most recently successfully started,
1780
1856
  # regardless of the workstation's initial state.
1781
1857
  # Corresponds to the JSON property `startTime`
@@ -1814,6 +1890,8 @@ module Google
1814
1890
  @labels = args[:labels] if args.key?(:labels)
1815
1891
  @name = args[:name] if args.key?(:name)
1816
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)
1817
1895
  @start_time = args[:start_time] if args.key?(:start_time)
1818
1896
  @state = args[:state] if args.key?(:state)
1819
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.18.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 = "20241009"
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'
@@ -130,8 +130,8 @@ module Google
130
130
  # Clients can use Operations.GetOperation or other methods to check whether the
131
131
  # cancellation succeeded or whether the operation completed despite cancellation.
132
132
  # On successful cancellation, the operation is not deleted; instead, it becomes
133
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
134
- # corresponding to `Code.CANCELLED`.
133
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
134
+ # , corresponding to `Code.CANCELLED`.
135
135
  # @param [String] name
136
136
  # The name of the operation resource to be cancelled.
137
137
  # @param [Google::Apis::WorkstationsV1::CancelOperationRequest] cancel_operation_request_object
@@ -894,7 +894,8 @@ module Google
894
894
  end
895
895
 
896
896
  # Returns a short-lived credential that can be used to send authenticated and
897
- # authorized traffic to a workstation.
897
+ # authorized traffic to a workstation. Once generated this token cannot be
898
+ # revoked and is good for the lifetime of the token.
898
899
  # @param [String] workstation
899
900
  # Required. Name of the workstation for which the access token should be
900
901
  # generated.
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.18.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-10-27 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.18.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.21
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: []