google-apis-workstations_v1beta 0.44.0 → 0.46.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: 242f494482300484f8dfd3db3065778dd29a4ab83e8aa6ee209976b3cc3f4d2a
4
- data.tar.gz: 16467abc6f2123e4d09da34c7177bdb70cf59ccbde92da0757ec60a70b742ca1
3
+ metadata.gz: b71b4237f01b753ac8bddee3b7455f47a814f085adf389eb42a401bec473ade2
4
+ data.tar.gz: dd5045d1bd382bced0af18805c96a1eafbdb0596613f4b9b2b4e8cd7878bc198
5
5
  SHA512:
6
- metadata.gz: defd32807806369e9a066e84b6c3f20bec026a50912184d5e28ece4f0e03542bd6de54540d484d796aef16f76b263577120ac55274679cf8d421dc6ba00f8977
7
- data.tar.gz: 6d7415632d02e67423b28f20f00f9648e2914b9ed72e06c21721912beddd949f4c4790bab770d9b9c96be28d5990e6d86b5cb5278eb21757372389891f1ad6b3
6
+ metadata.gz: 872430cd2c3daa7326dc31daa35c78037fdb77caf5214bb1bdbb622686381dbfa3ac7ca9a86ffd0fe5082b7e4ac2477e01d98a4f6453f5c0b4d939aed854cb30
7
+ data.tar.gz: d18b15626cc67ccac36ae484a731b1d77409076cfbd6c67d226dc0c308dd775978b2e5c84cbb834d08194312270359b3f25cf04113cc24dc3738f82666683dc3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.46.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251202
6
+
7
+ ### v0.45.0 (2025-11-09)
8
+
9
+ * Regenerated from discovery document revision 20251022
10
+
3
11
  ### v0.44.0 (2025-10-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20250929
@@ -553,6 +553,56 @@ module Google
553
553
  end
554
554
  end
555
555
 
556
+ # A Persistent Directory backed by a Compute Engine [Hyperdisk Balanced High
557
+ # Availability Disk](https://cloud.google.com/compute/docs/disks/hd-types/
558
+ # hyperdisk-balanced-ha). This is a high-availability block storage solution
559
+ # that offers a balance between performance and cost for most general-purpose
560
+ # workloads.
561
+ class GceHyperdiskBalancedHighAvailability
562
+ include Google::Apis::Core::Hashable
563
+
564
+ # Optional. Number of seconds to wait after initially creating or subsequently
565
+ # shutting down the workstation before converting its disk into a snapshot. This
566
+ # generally saves costs at the expense of greater startup time on next
567
+ # workstation start, as the service will need to create a disk from the archival
568
+ # snapshot. A value of `"0s"` indicates that the disk will never be archived.
569
+ # Corresponds to the JSON property `archiveTimeout`
570
+ # @return [String]
571
+ attr_accessor :archive_timeout
572
+
573
+ # Optional. Whether the persistent disk should be deleted when the workstation
574
+ # is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
575
+ # Corresponds to the JSON property `reclaimPolicy`
576
+ # @return [String]
577
+ attr_accessor :reclaim_policy
578
+
579
+ # Optional. The GB capacity of a persistent home directory for each workstation
580
+ # created with this configuration. Must be empty if source_snapshot is set.
581
+ # Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`.
582
+ # Corresponds to the JSON property `sizeGb`
583
+ # @return [Fixnum]
584
+ attr_accessor :size_gb
585
+
586
+ # Optional. Name of the snapshot to use as the source for the disk. If set,
587
+ # size_gb must be empty. Must be formatted as ext4 file system with no
588
+ # partitions.
589
+ # Corresponds to the JSON property `sourceSnapshot`
590
+ # @return [String]
591
+ attr_accessor :source_snapshot
592
+
593
+ def initialize(**args)
594
+ update!(**args)
595
+ end
596
+
597
+ # Update properties of this object
598
+ def update!(**args)
599
+ @archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout)
600
+ @reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy)
601
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
602
+ @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
603
+ end
604
+ end
605
+
556
606
  # A runtime using a Compute Engine instance.
557
607
  class GceInstance
558
608
  include Google::Apis::Core::Hashable
@@ -622,6 +672,11 @@ module Google
622
672
  attr_accessor :enable_nested_virtualization
623
673
  alias_method :enable_nested_virtualization?, :enable_nested_virtualization
624
674
 
675
+ # Optional. Custom metadata to apply to Compute Engine instances.
676
+ # Corresponds to the JSON property `instanceMetadata`
677
+ # @return [Hash<String,String>]
678
+ attr_accessor :instance_metadata
679
+
625
680
  # Optional. The type of machine to use for VM instances—for example, `"e2-
626
681
  # standard-4"`. For more information about machine types that Cloud Workstations
627
682
  # supports, see the list of [available machine types](https://cloud.google.com/
@@ -677,6 +732,18 @@ module Google
677
732
  # @return [Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig]
678
733
  attr_accessor :shielded_instance_config
679
734
 
735
+ # Optional. Link to the startup script stored in Cloud Storage. This script will
736
+ # be run on the host workstation VM when the VM is created. The URI must be of
737
+ # the form gs://`bucket-name`/`object-name`. If specifying a startup script, the
738
+ # service account must have [Permission to access the bucket and script file in
739
+ # Cloud Storage](https://cloud.google.com/storage/docs/access-control/iam-
740
+ # permissions). Otherwise, the script must be publicly accessible. Note that the
741
+ # service regularly updates the OS version used, and it is the responsibility of
742
+ # the user to ensure the script stays compatible with the OS version.
743
+ # Corresponds to the JSON property `startupScriptUri`
744
+ # @return [String]
745
+ attr_accessor :startup_script_uri
746
+
680
747
  # Optional. Network tags to add to the Compute Engine VMs backing the
681
748
  # workstations. This option applies [network tags](https://cloud.google.com/vpc/
682
749
  # docs/add-remove-network-tags) to VMs created with this configuration. These
@@ -707,6 +774,7 @@ module Google
707
774
  @disable_public_ip_addresses = args[:disable_public_ip_addresses] if args.key?(:disable_public_ip_addresses)
708
775
  @disable_ssh = args[:disable_ssh] if args.key?(:disable_ssh)
709
776
  @enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
777
+ @instance_metadata = args[:instance_metadata] if args.key?(:instance_metadata)
710
778
  @machine_type = args[:machine_type] if args.key?(:machine_type)
711
779
  @pool_size = args[:pool_size] if args.key?(:pool_size)
712
780
  @pooled_instances = args[:pooled_instances] if args.key?(:pooled_instances)
@@ -714,6 +782,7 @@ module Google
714
782
  @service_account = args[:service_account] if args.key?(:service_account)
715
783
  @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
716
784
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
785
+ @startup_script_uri = args[:startup_script_uri] if args.key?(:startup_script_uri)
717
786
  @tags = args[:tags] if args.key?(:tags)
718
787
  @vm_tags = args[:vm_tags] if args.key?(:vm_tags)
719
788
  end
@@ -1047,8 +1116,9 @@ module Google
1047
1116
  attr_accessor :operations
1048
1117
 
1049
1118
  # Unordered list. Unreachable resources. Populated when the request sets `
1050
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1051
- # when attempting to list all resources across all supported locations.
1119
+ # ListOperationsRequest.return_partial_success` and reads across collections.
1120
+ # For example, when attempting to list all resources across all supported
1121
+ # locations.
1052
1122
  # Corresponds to the JSON property `unreachable`
1053
1123
  # @return [Array<String>]
1054
1124
  attr_accessor :unreachable
@@ -1349,6 +1419,15 @@ module Google
1349
1419
  class PersistentDirectory
1350
1420
  include Google::Apis::Core::Hashable
1351
1421
 
1422
+ # A Persistent Directory backed by a Compute Engine [Hyperdisk Balanced High
1423
+ # Availability Disk](https://cloud.google.com/compute/docs/disks/hd-types/
1424
+ # hyperdisk-balanced-ha). This is a high-availability block storage solution
1425
+ # that offers a balance between performance and cost for most general-purpose
1426
+ # workloads.
1427
+ # Corresponds to the JSON property `gceHd`
1428
+ # @return [Google::Apis::WorkstationsV1beta::GceHyperdiskBalancedHighAvailability]
1429
+ attr_accessor :gce_hd
1430
+
1352
1431
  # A Persistent Directory backed by a Compute Engine regional persistent disk.
1353
1432
  # The persistent_directories field is repeated, but it may contain only one
1354
1433
  # entry. It creates a [persistent disk](https://cloud.google.com/compute/docs/
@@ -1371,6 +1450,7 @@ module Google
1371
1450
 
1372
1451
  # Update properties of this object
1373
1452
  def update!(**args)
1453
+ @gce_hd = args[:gce_hd] if args.key?(:gce_hd)
1374
1454
  @gce_pd = args[:gce_pd] if args.key?(:gce_pd)
1375
1455
  @mount_path = args[:mount_path] if args.key?(:mount_path)
1376
1456
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkstationsV1beta
18
18
  # Version of the google-apis-workstations_v1beta gem
19
- GEM_VERSION = "0.44.0"
19
+ GEM_VERSION = "0.46.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 = "20250929"
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
 
@@ -426,6 +432,16 @@ module Google
426
432
  end
427
433
  end
428
434
 
435
+ class GceHyperdiskBalancedHighAvailability
436
+ # @private
437
+ class Representation < Google::Apis::Core::JsonRepresentation
438
+ property :archive_timeout, as: 'archiveTimeout'
439
+ property :reclaim_policy, as: 'reclaimPolicy'
440
+ property :size_gb, as: 'sizeGb'
441
+ property :source_snapshot, as: 'sourceSnapshot'
442
+ end
443
+ end
444
+
429
445
  class GceInstance
430
446
  # @private
431
447
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -439,6 +455,7 @@ module Google
439
455
  property :disable_public_ip_addresses, as: 'disablePublicIpAddresses'
440
456
  property :disable_ssh, as: 'disableSsh'
441
457
  property :enable_nested_virtualization, as: 'enableNestedVirtualization'
458
+ hash :instance_metadata, as: 'instanceMetadata'
442
459
  property :machine_type, as: 'machineType'
443
460
  property :pool_size, as: 'poolSize'
444
461
  property :pooled_instances, as: 'pooledInstances'
@@ -448,6 +465,7 @@ module Google
448
465
  collection :service_account_scopes, as: 'serviceAccountScopes'
449
466
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig, decorator: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig::Representation
450
467
 
468
+ property :startup_script_uri, as: 'startupScriptUri'
451
469
  collection :tags, as: 'tags'
452
470
  hash :vm_tags, as: 'vmTags'
453
471
  end
@@ -619,6 +637,8 @@ module Google
619
637
  class PersistentDirectory
620
638
  # @private
621
639
  class Representation < Google::Apis::Core::JsonRepresentation
640
+ property :gce_hd, as: 'gceHd', class: Google::Apis::WorkstationsV1beta::GceHyperdiskBalancedHighAvailability, decorator: Google::Apis::WorkstationsV1beta::GceHyperdiskBalancedHighAvailability::Representation
641
+
622
642
  property :gce_pd, as: 'gcePd', class: Google::Apis::WorkstationsV1beta::GceRegionalPersistentDisk, decorator: Google::Apis::WorkstationsV1beta::GceRegionalPersistentDisk::Representation
623
643
 
624
644
  property :mount_path, as: 'mountPath'
@@ -167,11 +167,12 @@ module Google
167
167
  # The standard list page token.
168
168
  # @param [Boolean] return_partial_success
169
169
  # When set to `true`, operations that are reachable are returned as normal, and
170
- # those that are unreachable are returned in the [ListOperationsResponse.
171
- # unreachable] field. This can only be `true` when reading across collections e.
172
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
173
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
174
- # explicitly documented otherwise in service or product specific documentation.
170
+ # those that are unreachable are returned in the ListOperationsResponse.
171
+ # unreachable field. This can only be `true` when reading across collections.
172
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
173
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
174
+ # if set unless explicitly documented otherwise in service or product specific
175
+ # documentation.
175
176
  # @param [String] fields
176
177
  # Selector specifying which fields to include in a partial response.
177
178
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workstations_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.46.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_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.44.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.46.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: