google-apis-workstations_v1 0.29.0 → 0.31.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: 1ce3b588175e9e43c412b3ca7b50628b3b0a10ecb055f5966bc99bad0275c5bb
4
- data.tar.gz: f73fdc5fdd33036763b151a62b22fa90578fb1f80cc12f899d6f8e7d2a406a86
3
+ metadata.gz: e8c33397bc67b608a888faf200fb8ad984455077a916333aea68a9936f9066b6
4
+ data.tar.gz: e91772876aeaa714fffe3c3c07dac1dba1f899d95b76dec1b24c342c022c2bf4
5
5
  SHA512:
6
- metadata.gz: 2a198ca05fdf0f440e18da90f3c5894138757e7c31a59eaff43d2cc58cb0bf8b4525cb09dd08f255ef2eee1b6ae38035203eba06f43a10838de51e6c8120e5c8
7
- data.tar.gz: 372ba8108bc82c6b07b9a5209ecd0f5146216b6b905d67fdb77020a25e9c90ed2959017ddbf8de92232f2e8b4d8e38c21bd2fc6374172eab18dfed3db63dde89
6
+ metadata.gz: a8f3901d7cdd44d25115fc053823094cab0ecb06639818065cd2b129e0ff553bda92f05d9ff93f3da77fc33ed4b4cd1c82e9d383e48a29545004a416f415e60f
7
+ data.tar.gz: f5b2803d9d615672ce86e49740cfb1faa9fc9c737255d833e77ed7bb6a9eb9e6962398ab0dd31bda14389cfa8b322207c6ec50c79507b75b49c9272cbab21407
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workstations_v1
2
2
 
3
+ ### v0.31.0 (2026-01-25)
4
+
5
+ * Regenerated from discovery document revision 20260113
6
+
7
+ ### v0.30.0 (2025-12-14)
8
+
9
+ * Regenerated from discovery document revision 20251202
10
+
3
11
  ### v0.29.0 (2025-11-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20251022
@@ -546,6 +546,56 @@ module Google
546
546
  end
547
547
  end
548
548
 
549
+ # A Persistent Directory backed by a Compute Engine [Hyperdisk Balanced High
550
+ # Availability Disk](https://cloud.google.com/compute/docs/disks/hd-types/
551
+ # hyperdisk-balanced-ha). This is a high-availability block storage solution
552
+ # that offers a balance between performance and cost for most general-purpose
553
+ # workloads.
554
+ class GceHyperdiskBalancedHighAvailability
555
+ include Google::Apis::Core::Hashable
556
+
557
+ # Optional. Number of seconds to wait after initially creating or subsequently
558
+ # shutting down the workstation before converting its disk into a snapshot. This
559
+ # generally saves costs at the expense of greater startup time on next
560
+ # workstation start, as the service will need to create a disk from the archival
561
+ # snapshot. A value of `"0s"` indicates that the disk will never be archived.
562
+ # Corresponds to the JSON property `archiveTimeout`
563
+ # @return [String]
564
+ attr_accessor :archive_timeout
565
+
566
+ # Optional. Whether the persistent disk should be deleted when the workstation
567
+ # is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
568
+ # Corresponds to the JSON property `reclaimPolicy`
569
+ # @return [String]
570
+ attr_accessor :reclaim_policy
571
+
572
+ # Optional. The GB capacity of a persistent home directory for each workstation
573
+ # created with this configuration. Must be empty if source_snapshot is set.
574
+ # Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`.
575
+ # Corresponds to the JSON property `sizeGb`
576
+ # @return [Fixnum]
577
+ attr_accessor :size_gb
578
+
579
+ # Optional. Name of the snapshot to use as the source for the disk. If set,
580
+ # size_gb must be empty. Must be formatted as ext4 file system with no
581
+ # partitions.
582
+ # Corresponds to the JSON property `sourceSnapshot`
583
+ # @return [String]
584
+ attr_accessor :source_snapshot
585
+
586
+ def initialize(**args)
587
+ update!(**args)
588
+ end
589
+
590
+ # Update properties of this object
591
+ def update!(**args)
592
+ @archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout)
593
+ @reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy)
594
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
595
+ @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
596
+ end
597
+ end
598
+
549
599
  # A runtime using a Compute Engine instance.
550
600
  class GceInstance
551
601
  include Google::Apis::Core::Hashable
@@ -615,6 +665,11 @@ module Google
615
665
  attr_accessor :enable_nested_virtualization
616
666
  alias_method :enable_nested_virtualization?, :enable_nested_virtualization
617
667
 
668
+ # Optional. Custom metadata to apply to Compute Engine instances.
669
+ # Corresponds to the JSON property `instanceMetadata`
670
+ # @return [Hash<String,String>]
671
+ attr_accessor :instance_metadata
672
+
618
673
  # Optional. The type of machine to use for VM instances—for example, `"e2-
619
674
  # standard-4"`. For more information about machine types that Cloud Workstations
620
675
  # supports, see the list of [available machine types](https://cloud.google.com/
@@ -664,6 +719,19 @@ module Google
664
719
  # @return [Google::Apis::WorkstationsV1::GceShieldedInstanceConfig]
665
720
  attr_accessor :shielded_instance_config
666
721
 
722
+ # Optional. Link to the startup script stored in Cloud Storage. This script will
723
+ # be run on the host workstation VM when the VM is created. The URI must be of
724
+ # the form gs://`bucket-name`/`object-name`. If specifying a startup script, the
725
+ # service account must have [Permission to access the bucket and script file in
726
+ # Cloud Storage](https://cloud.google.com/storage/docs/access-control/iam-
727
+ # permissions). Otherwise, the script must be publicly accessible. Note that the
728
+ # service regularly updates the OS version of the host VM, and it is the
729
+ # responsibility of the user to ensure the script stays compatible with the OS
730
+ # version.
731
+ # Corresponds to the JSON property `startupScriptUri`
732
+ # @return [String]
733
+ attr_accessor :startup_script_uri
734
+
667
735
  # Optional. Network tags to add to the Compute Engine VMs backing the
668
736
  # workstations. This option applies [network tags](https://cloud.google.com/vpc/
669
737
  # docs/add-remove-network-tags) to VMs created with this configuration. These
@@ -694,12 +762,14 @@ module Google
694
762
  @disable_public_ip_addresses = args[:disable_public_ip_addresses] if args.key?(:disable_public_ip_addresses)
695
763
  @disable_ssh = args[:disable_ssh] if args.key?(:disable_ssh)
696
764
  @enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
765
+ @instance_metadata = args[:instance_metadata] if args.key?(:instance_metadata)
697
766
  @machine_type = args[:machine_type] if args.key?(:machine_type)
698
767
  @pool_size = args[:pool_size] if args.key?(:pool_size)
699
768
  @pooled_instances = args[:pooled_instances] if args.key?(:pooled_instances)
700
769
  @service_account = args[:service_account] if args.key?(:service_account)
701
770
  @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
702
771
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
772
+ @startup_script_uri = args[:startup_script_uri] if args.key?(:startup_script_uri)
703
773
  @tags = args[:tags] if args.key?(:tags)
704
774
  @vm_tags = args[:vm_tags] if args.key?(:vm_tags)
705
775
  end
@@ -1021,8 +1091,9 @@ module Google
1021
1091
  attr_accessor :operations
1022
1092
 
1023
1093
  # Unordered list. Unreachable resources. Populated when the request sets `
1024
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1025
- # when attempting to list all resources across all supported locations.
1094
+ # ListOperationsRequest.return_partial_success` and reads across collections.
1095
+ # For example, when attempting to list all resources across all supported
1096
+ # locations.
1026
1097
  # Corresponds to the JSON property `unreachable`
1027
1098
  # @return [Array<String>]
1028
1099
  attr_accessor :unreachable
@@ -1370,6 +1441,15 @@ module Google
1370
1441
  class PersistentDirectory
1371
1442
  include Google::Apis::Core::Hashable
1372
1443
 
1444
+ # A Persistent Directory backed by a Compute Engine [Hyperdisk Balanced High
1445
+ # Availability Disk](https://cloud.google.com/compute/docs/disks/hd-types/
1446
+ # hyperdisk-balanced-ha). This is a high-availability block storage solution
1447
+ # that offers a balance between performance and cost for most general-purpose
1448
+ # workloads.
1449
+ # Corresponds to the JSON property `gceHd`
1450
+ # @return [Google::Apis::WorkstationsV1::GceHyperdiskBalancedHighAvailability]
1451
+ attr_accessor :gce_hd
1452
+
1373
1453
  # A Persistent Directory backed by a Compute Engine regional persistent disk.
1374
1454
  # The persistent_directories field is repeated, but it may contain only one
1375
1455
  # entry. It creates a [persistent disk](https://cloud.google.com/compute/docs/
@@ -1392,6 +1472,7 @@ module Google
1392
1472
 
1393
1473
  # Update properties of this object
1394
1474
  def update!(**args)
1475
+ @gce_hd = args[:gce_hd] if args.key?(:gce_hd)
1395
1476
  @gce_pd = args[:gce_pd] if args.key?(:gce_pd)
1396
1477
  @mount_path = args[:mount_path] if args.key?(:mount_path)
1397
1478
  end
@@ -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.29.0"
19
+ GEM_VERSION = "0.31.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 = "20251022"
25
+ REVISION = "20260113"
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 GceHyperdiskBalancedHighAvailability
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class GceInstance
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -418,6 +424,16 @@ module Google
418
424
  end
419
425
  end
420
426
 
427
+ class GceHyperdiskBalancedHighAvailability
428
+ # @private
429
+ class Representation < Google::Apis::Core::JsonRepresentation
430
+ property :archive_timeout, as: 'archiveTimeout'
431
+ property :reclaim_policy, as: 'reclaimPolicy'
432
+ property :size_gb, as: 'sizeGb'
433
+ property :source_snapshot, as: 'sourceSnapshot'
434
+ end
435
+ end
436
+
421
437
  class GceInstance
422
438
  # @private
423
439
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -431,6 +447,7 @@ module Google
431
447
  property :disable_public_ip_addresses, as: 'disablePublicIpAddresses'
432
448
  property :disable_ssh, as: 'disableSsh'
433
449
  property :enable_nested_virtualization, as: 'enableNestedVirtualization'
450
+ hash :instance_metadata, as: 'instanceMetadata'
434
451
  property :machine_type, as: 'machineType'
435
452
  property :pool_size, as: 'poolSize'
436
453
  property :pooled_instances, as: 'pooledInstances'
@@ -438,6 +455,7 @@ module Google
438
455
  collection :service_account_scopes, as: 'serviceAccountScopes'
439
456
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::WorkstationsV1::GceShieldedInstanceConfig, decorator: Google::Apis::WorkstationsV1::GceShieldedInstanceConfig::Representation
440
457
 
458
+ property :startup_script_uri, as: 'startupScriptUri'
441
459
  collection :tags, as: 'tags'
442
460
  hash :vm_tags, as: 'vmTags'
443
461
  end
@@ -621,6 +639,8 @@ module Google
621
639
  class PersistentDirectory
622
640
  # @private
623
641
  class Representation < Google::Apis::Core::JsonRepresentation
642
+ property :gce_hd, as: 'gceHd', class: Google::Apis::WorkstationsV1::GceHyperdiskBalancedHighAvailability, decorator: Google::Apis::WorkstationsV1::GceHyperdiskBalancedHighAvailability::Representation
643
+
624
644
  property :gce_pd, as: 'gcePd', class: Google::Apis::WorkstationsV1::GceRegionalPersistentDisk, decorator: Google::Apis::WorkstationsV1::GceRegionalPersistentDisk::Representation
625
645
 
626
646
  property :mount_path, as: 'mountPath'
@@ -244,11 +244,12 @@ module Google
244
244
  # The standard list page token.
245
245
  # @param [Boolean] return_partial_success
246
246
  # When set to `true`, operations that are reachable are returned as normal, and
247
- # those that are unreachable are returned in the [ListOperationsResponse.
248
- # unreachable] field. This can only be `true` when reading across collections e.
249
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
250
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
251
- # explicitly documented otherwise in service or product specific documentation.
247
+ # those that are unreachable are returned in the ListOperationsResponse.
248
+ # unreachable field. This can only be `true` when reading across collections.
249
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
250
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
251
+ # if set unless explicitly documented otherwise in service or product specific
252
+ # documentation.
252
253
  # @param [String] fields
253
254
  # Selector specifying which fields to include in a partial response.
254
255
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workstations_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.31.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.29.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.31.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1
62
62
  rdoc_options: []
63
63
  require_paths: