google-apis-workstations_v1beta 0.43.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/workstations_v1beta/classes.rb +77 -0
- data/lib/google/apis/workstations_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/workstations_v1beta/representations.rb +20 -0
- data/lib/google/apis/workstations_v1beta/service.rb +9 -1
- metadata +2 -2
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
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-workstations_v1beta
|
|
2
2
|
|
|
3
|
+
### v0.45.0 (2025-11-09)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251022
|
|
6
|
+
|
|
7
|
+
### v0.44.0 (2025-10-12)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250929
|
|
10
|
+
|
|
3
11
|
### v0.43.0 (2025-08-10)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250729
|
|
@@ -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
|
|
@@ -1046,6 +1106,13 @@ module Google
|
|
|
1046
1106
|
# @return [Array<Google::Apis::WorkstationsV1beta::Operation>]
|
|
1047
1107
|
attr_accessor :operations
|
|
1048
1108
|
|
|
1109
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
1110
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
1111
|
+
# when attempting to list all resources across all supported locations.
|
|
1112
|
+
# Corresponds to the JSON property `unreachable`
|
|
1113
|
+
# @return [Array<String>]
|
|
1114
|
+
attr_accessor :unreachable
|
|
1115
|
+
|
|
1049
1116
|
def initialize(**args)
|
|
1050
1117
|
update!(**args)
|
|
1051
1118
|
end
|
|
@@ -1054,6 +1121,7 @@ module Google
|
|
|
1054
1121
|
def update!(**args)
|
|
1055
1122
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1056
1123
|
@operations = args[:operations] if args.key?(:operations)
|
|
1124
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
1057
1125
|
end
|
|
1058
1126
|
end
|
|
1059
1127
|
|
|
@@ -1341,6 +1409,14 @@ module Google
|
|
|
1341
1409
|
class PersistentDirectory
|
|
1342
1410
|
include Google::Apis::Core::Hashable
|
|
1343
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
|
+
|
|
1344
1420
|
# A Persistent Directory backed by a Compute Engine regional persistent disk.
|
|
1345
1421
|
# The persistent_directories field is repeated, but it may contain only one
|
|
1346
1422
|
# entry. It creates a [persistent disk](https://cloud.google.com/compute/docs/
|
|
@@ -1363,6 +1439,7 @@ module Google
|
|
|
1363
1439
|
|
|
1364
1440
|
# Update properties of this object
|
|
1365
1441
|
def update!(**args)
|
|
1442
|
+
@gce_hd = args[:gce_hd] if args.key?(:gce_hd)
|
|
1366
1443
|
@gce_pd = args[:gce_pd] if args.key?(:gce_pd)
|
|
1367
1444
|
@mount_path = args[:mount_path] if args.key?(:mount_path)
|
|
1368
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
|
|
@@ -537,6 +554,7 @@ module Google
|
|
|
537
554
|
property :next_page_token, as: 'nextPageToken'
|
|
538
555
|
collection :operations, as: 'operations', class: Google::Apis::WorkstationsV1beta::Operation, decorator: Google::Apis::WorkstationsV1beta::Operation::Representation
|
|
539
556
|
|
|
557
|
+
collection :unreachable, as: 'unreachable'
|
|
540
558
|
end
|
|
541
559
|
end
|
|
542
560
|
|
|
@@ -618,6 +636,8 @@ module Google
|
|
|
618
636
|
class PersistentDirectory
|
|
619
637
|
# @private
|
|
620
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
|
+
|
|
621
641
|
property :gce_pd, as: 'gcePd', class: Google::Apis::WorkstationsV1beta::GceRegionalPersistentDisk, decorator: Google::Apis::WorkstationsV1beta::GceRegionalPersistentDisk::Representation
|
|
622
642
|
|
|
623
643
|
property :mount_path, as: 'mountPath'
|
|
@@ -165,6 +165,13 @@ module Google
|
|
|
165
165
|
# The standard list page size.
|
|
166
166
|
# @param [String] page_token
|
|
167
167
|
# The standard list page token.
|
|
168
|
+
# @param [Boolean] return_partial_success
|
|
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.
|
|
168
175
|
# @param [String] fields
|
|
169
176
|
# Selector specifying which fields to include in a partial response.
|
|
170
177
|
# @param [String] quota_user
|
|
@@ -182,7 +189,7 @@ module Google
|
|
|
182
189
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
183
190
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
184
191
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
185
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
192
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
186
193
|
command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
|
|
187
194
|
command.response_representation = Google::Apis::WorkstationsV1beta::ListOperationsResponse::Representation
|
|
188
195
|
command.response_class = Google::Apis::WorkstationsV1beta::ListOperationsResponse
|
|
@@ -190,6 +197,7 @@ module Google
|
|
|
190
197
|
command.query['filter'] = filter unless filter.nil?
|
|
191
198
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
192
199
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
200
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
193
201
|
command.query['fields'] = fields unless fields.nil?
|
|
194
202
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
195
203
|
execute_or_queue_command(command, &block)
|
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:
|