google-apis-workstations_v1beta 0.44.0 → 0.45.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 636b0c8d9d51594664d58fd324258ea6af41f1b769cddf41122536942b0df651
|
|
4
|
+
data.tar.gz: 8d34f440905e43074c0d7c83637db3dbd08ffe7382a16ce13579f4e358089010
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf1a7b59aeadeea8903334c58756bc9ed2e64b4c5e68549263cbe8098a8948700a83dc494f52f1fe19282c9606db3bed6c99ead7714eb4ee5a50c22159dfe824
|
|
7
|
+
data.tar.gz: 496e9e66226d60fecec6f467e7ae4a9cec921b152406ab2ddfb5554c8fe26c48db77e8f283de80dd52c0cce53c95de5fd4789f01c0af996c127f95d97f1a0f87
|
data/CHANGELOG.md
CHANGED
|
@@ -553,6 +553,55 @@ 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. This is a high-availability block storage solution that
|
|
558
|
+
# offers a balance between performance and cost for most general-purpose
|
|
559
|
+
# workloads.
|
|
560
|
+
class GceHyperdiskBalancedHighAvailability
|
|
561
|
+
include Google::Apis::Core::Hashable
|
|
562
|
+
|
|
563
|
+
# Optional. Number of seconds to wait after initially creating or subsequently
|
|
564
|
+
# shutting down the workstation before converting its disk into a snapshot. This
|
|
565
|
+
# generally saves costs at the expense of greater startup time on next
|
|
566
|
+
# workstation start, as the service will need to create a disk from the archival
|
|
567
|
+
# snapshot. A value of `"0s"` indicates that the disk will never be archived.
|
|
568
|
+
# Corresponds to the JSON property `archiveTimeout`
|
|
569
|
+
# @return [String]
|
|
570
|
+
attr_accessor :archive_timeout
|
|
571
|
+
|
|
572
|
+
# Optional. Whether the persistent disk should be deleted when the workstation
|
|
573
|
+
# is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
|
|
574
|
+
# Corresponds to the JSON property `reclaimPolicy`
|
|
575
|
+
# @return [String]
|
|
576
|
+
attr_accessor :reclaim_policy
|
|
577
|
+
|
|
578
|
+
# Optional. The GB capacity of a persistent home directory for each workstation
|
|
579
|
+
# created with this configuration. Must be empty if source_snapshot is set.
|
|
580
|
+
# Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`.
|
|
581
|
+
# Corresponds to the JSON property `sizeGb`
|
|
582
|
+
# @return [Fixnum]
|
|
583
|
+
attr_accessor :size_gb
|
|
584
|
+
|
|
585
|
+
# Optional. Name of the snapshot to use as the source for the disk. If set,
|
|
586
|
+
# size_gb must be empty. Must be formatted as ext4 file system with no
|
|
587
|
+
# partitions.
|
|
588
|
+
# Corresponds to the JSON property `sourceSnapshot`
|
|
589
|
+
# @return [String]
|
|
590
|
+
attr_accessor :source_snapshot
|
|
591
|
+
|
|
592
|
+
def initialize(**args)
|
|
593
|
+
update!(**args)
|
|
594
|
+
end
|
|
595
|
+
|
|
596
|
+
# Update properties of this object
|
|
597
|
+
def update!(**args)
|
|
598
|
+
@archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout)
|
|
599
|
+
@reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy)
|
|
600
|
+
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
|
601
|
+
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
|
602
|
+
end
|
|
603
|
+
end
|
|
604
|
+
|
|
556
605
|
# A runtime using a Compute Engine instance.
|
|
557
606
|
class GceInstance
|
|
558
607
|
include Google::Apis::Core::Hashable
|
|
@@ -677,6 +726,16 @@ module Google
|
|
|
677
726
|
# @return [Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig]
|
|
678
727
|
attr_accessor :shielded_instance_config
|
|
679
728
|
|
|
729
|
+
# Optional. Link to the startup script stored in Cloud Storage. This script will
|
|
730
|
+
# be run on the host workstation VM when the VM is created. The uri must be of
|
|
731
|
+
# the form gs://`bucket-name`/`object-name`. If specifying a startup script, the
|
|
732
|
+
# service account must have [Permission to access the bucket and script file in
|
|
733
|
+
# Cloud Storage](https://cloud.google.com/storage/docs/access-control/iam-
|
|
734
|
+
# permissions). Otherwise, the script must be publicly accessible.
|
|
735
|
+
# Corresponds to the JSON property `startupScriptUri`
|
|
736
|
+
# @return [String]
|
|
737
|
+
attr_accessor :startup_script_uri
|
|
738
|
+
|
|
680
739
|
# Optional. Network tags to add to the Compute Engine VMs backing the
|
|
681
740
|
# workstations. This option applies [network tags](https://cloud.google.com/vpc/
|
|
682
741
|
# docs/add-remove-network-tags) to VMs created with this configuration. These
|
|
@@ -714,6 +773,7 @@ module Google
|
|
|
714
773
|
@service_account = args[:service_account] if args.key?(:service_account)
|
|
715
774
|
@service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
|
|
716
775
|
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
|
776
|
+
@startup_script_uri = args[:startup_script_uri] if args.key?(:startup_script_uri)
|
|
717
777
|
@tags = args[:tags] if args.key?(:tags)
|
|
718
778
|
@vm_tags = args[:vm_tags] if args.key?(:vm_tags)
|
|
719
779
|
end
|
|
@@ -1349,6 +1409,14 @@ module Google
|
|
|
1349
1409
|
class PersistentDirectory
|
|
1350
1410
|
include Google::Apis::Core::Hashable
|
|
1351
1411
|
|
|
1412
|
+
# A Persistent Directory backed by a Compute Engine Hyperdisk Balanced High
|
|
1413
|
+
# Availability Disk. This is a high-availability block storage solution that
|
|
1414
|
+
# offers a balance between performance and cost for most general-purpose
|
|
1415
|
+
# workloads.
|
|
1416
|
+
# Corresponds to the JSON property `gceHd`
|
|
1417
|
+
# @return [Google::Apis::WorkstationsV1beta::GceHyperdiskBalancedHighAvailability]
|
|
1418
|
+
attr_accessor :gce_hd
|
|
1419
|
+
|
|
1352
1420
|
# A Persistent Directory backed by a Compute Engine regional persistent disk.
|
|
1353
1421
|
# The persistent_directories field is repeated, but it may contain only one
|
|
1354
1422
|
# entry. It creates a [persistent disk](https://cloud.google.com/compute/docs/
|
|
@@ -1371,6 +1439,7 @@ module Google
|
|
|
1371
1439
|
|
|
1372
1440
|
# Update properties of this object
|
|
1373
1441
|
def update!(**args)
|
|
1442
|
+
@gce_hd = args[:gce_hd] if args.key?(:gce_hd)
|
|
1374
1443
|
@gce_pd = args[:gce_pd] if args.key?(:gce_pd)
|
|
1375
1444
|
@mount_path = args[:mount_path] if args.key?(:mount_path)
|
|
1376
1445
|
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.
|
|
19
|
+
GEM_VERSION = "0.45.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 = "
|
|
25
|
+
REVISION = "20251022"
|
|
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
|
|
@@ -448,6 +464,7 @@ module Google
|
|
|
448
464
|
collection :service_account_scopes, as: 'serviceAccountScopes'
|
|
449
465
|
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig, decorator: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig::Representation
|
|
450
466
|
|
|
467
|
+
property :startup_script_uri, as: 'startupScriptUri'
|
|
451
468
|
collection :tags, as: 'tags'
|
|
452
469
|
hash :vm_tags, as: 'vmTags'
|
|
453
470
|
end
|
|
@@ -619,6 +636,8 @@ module Google
|
|
|
619
636
|
class PersistentDirectory
|
|
620
637
|
# @private
|
|
621
638
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
639
|
+
property :gce_hd, as: 'gceHd', class: Google::Apis::WorkstationsV1beta::GceHyperdiskBalancedHighAvailability, decorator: Google::Apis::WorkstationsV1beta::GceHyperdiskBalancedHighAvailability::Representation
|
|
640
|
+
|
|
622
641
|
property :gce_pd, as: 'gcePd', class: Google::Apis::WorkstationsV1beta::GceRegionalPersistentDisk, decorator: Google::Apis::WorkstationsV1beta::GceRegionalPersistentDisk::Representation
|
|
623
642
|
|
|
624
643
|
property :mount_path, as: 'mountPath'
|
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.
|
|
4
|
+
version: 0.45.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.45.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:
|