google-apis-workstations_v1 0.29.0 → 0.30.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: ee07109104044bb6c3c27c213329d4276ad544aa648c3b528adbaac32b99412c
4
+ data.tar.gz: b10738f7bef6150c7a4c769a710ffb3fe063d099c3689d0666cd11091a8ec9c5
5
5
  SHA512:
6
- metadata.gz: 2a198ca05fdf0f440e18da90f3c5894138757e7c31a59eaff43d2cc58cb0bf8b4525cb09dd08f255ef2eee1b6ae38035203eba06f43a10838de51e6c8120e5c8
7
- data.tar.gz: 372ba8108bc82c6b07b9a5209ecd0f5146216b6b905d67fdb77020a25e9c90ed2959017ddbf8de92232f2e8b4d8e38c21bd2fc6374172eab18dfed3db63dde89
6
+ metadata.gz: 3b598486e4df67c80cb4f29096d40fb0accfdb207c8208fcafe8e98522c0c224e2a4a2ac9e725db2bdbed3ff4cc68b53c2794c5fae86174edd268e251b8a5e3d
7
+ data.tar.gz: 622e1c6d8a2f18e3710c987ebcfe363d0f1ce9822b032a3815e41fc75a0d9f462a1ab1e6d24bd21550a0d6e6661534847c7a4c80d3692a36832fb739304a298c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workstations_v1
2
2
 
3
+ ### v0.30.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251202
6
+
3
7
  ### v0.29.0 (2025-11-09)
4
8
 
5
9
  * 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
@@ -664,6 +714,18 @@ module Google
664
714
  # @return [Google::Apis::WorkstationsV1::GceShieldedInstanceConfig]
665
715
  attr_accessor :shielded_instance_config
666
716
 
717
+ # Optional. Link to the startup script stored in Cloud Storage. This script will
718
+ # be run on the host workstation VM when the VM is created. The URI must be of
719
+ # the form gs://`bucket-name`/`object-name`. If specifying a startup script, the
720
+ # service account must have [Permission to access the bucket and script file in
721
+ # Cloud Storage](https://cloud.google.com/storage/docs/access-control/iam-
722
+ # permissions). Otherwise, the script must be publicly accessible. Note that the
723
+ # service regularly updates the OS version used, and it is the responsibility of
724
+ # the user to ensure the script stays compatible with the OS version.
725
+ # Corresponds to the JSON property `startupScriptUri`
726
+ # @return [String]
727
+ attr_accessor :startup_script_uri
728
+
667
729
  # Optional. Network tags to add to the Compute Engine VMs backing the
668
730
  # workstations. This option applies [network tags](https://cloud.google.com/vpc/
669
731
  # docs/add-remove-network-tags) to VMs created with this configuration. These
@@ -700,6 +762,7 @@ module Google
700
762
  @service_account = args[:service_account] if args.key?(:service_account)
701
763
  @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
702
764
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
765
+ @startup_script_uri = args[:startup_script_uri] if args.key?(:startup_script_uri)
703
766
  @tags = args[:tags] if args.key?(:tags)
704
767
  @vm_tags = args[:vm_tags] if args.key?(:vm_tags)
705
768
  end
@@ -1021,8 +1084,9 @@ module Google
1021
1084
  attr_accessor :operations
1022
1085
 
1023
1086
  # 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.
1087
+ # ListOperationsRequest.return_partial_success` and reads across collections.
1088
+ # For example, when attempting to list all resources across all supported
1089
+ # locations.
1026
1090
  # Corresponds to the JSON property `unreachable`
1027
1091
  # @return [Array<String>]
1028
1092
  attr_accessor :unreachable
@@ -1370,6 +1434,15 @@ module Google
1370
1434
  class PersistentDirectory
1371
1435
  include Google::Apis::Core::Hashable
1372
1436
 
1437
+ # A Persistent Directory backed by a Compute Engine [Hyperdisk Balanced High
1438
+ # Availability Disk](https://cloud.google.com/compute/docs/disks/hd-types/
1439
+ # hyperdisk-balanced-ha). This is a high-availability block storage solution
1440
+ # that offers a balance between performance and cost for most general-purpose
1441
+ # workloads.
1442
+ # Corresponds to the JSON property `gceHd`
1443
+ # @return [Google::Apis::WorkstationsV1::GceHyperdiskBalancedHighAvailability]
1444
+ attr_accessor :gce_hd
1445
+
1373
1446
  # A Persistent Directory backed by a Compute Engine regional persistent disk.
1374
1447
  # The persistent_directories field is repeated, but it may contain only one
1375
1448
  # entry. It creates a [persistent disk](https://cloud.google.com/compute/docs/
@@ -1392,6 +1465,7 @@ module Google
1392
1465
 
1393
1466
  # Update properties of this object
1394
1467
  def update!(**args)
1468
+ @gce_hd = args[:gce_hd] if args.key?(:gce_hd)
1395
1469
  @gce_pd = args[:gce_pd] if args.key?(:gce_pd)
1396
1470
  @mount_path = args[:mount_path] if args.key?(:mount_path)
1397
1471
  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.30.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 = "20251202"
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
@@ -438,6 +454,7 @@ module Google
438
454
  collection :service_account_scopes, as: 'serviceAccountScopes'
439
455
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::WorkstationsV1::GceShieldedInstanceConfig, decorator: Google::Apis::WorkstationsV1::GceShieldedInstanceConfig::Representation
440
456
 
457
+ property :startup_script_uri, as: 'startupScriptUri'
441
458
  collection :tags, as: 'tags'
442
459
  hash :vm_tags, as: 'vmTags'
443
460
  end
@@ -621,6 +638,8 @@ module Google
621
638
  class PersistentDirectory
622
639
  # @private
623
640
  class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :gce_hd, as: 'gceHd', class: Google::Apis::WorkstationsV1::GceHyperdiskBalancedHighAvailability, decorator: Google::Apis::WorkstationsV1::GceHyperdiskBalancedHighAvailability::Representation
642
+
624
643
  property :gce_pd, as: 'gcePd', class: Google::Apis::WorkstationsV1::GceRegionalPersistentDisk, decorator: Google::Apis::WorkstationsV1::GceRegionalPersistentDisk::Representation
625
644
 
626
645
  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.30.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.30.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: