google-apis-workstations_v1beta 0.10.0 → 0.12.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 +33 -0
- data/lib/google/apis/workstations_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/workstations_v1beta/representations.rb +16 -0
- data/lib/google/apis/workstations_v1beta/service.rb +1 -1
- data/lib/google/apis/workstations_v1beta.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c7b8b5e0b5b16e3601671684a178a00be13092ce6a426bbeb21c1837f334b1f
|
4
|
+
data.tar.gz: 80e50b0301f243ff7753cc1b181c29aacb89138f56856a69e721bfbe496b3bc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 672084f7d3217eb57bf4834b444f1441dce6e558e5be031cadffc71259168c671ea40f395ae862b743716d4906dc4cacdd3c712d44b68d0aa7bdd853f13031da
|
7
|
+
data.tar.gz: 93c2b291b3734ff259e8d0a91a93d274c368498a023d10cc00b1b13a606ffd4750ef7b6f63e6b832c16caac71e923b106f2a1bf467c34369b7fb1b9c7644298b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-workstations_v1beta
|
2
2
|
|
3
|
+
### v0.12.0 (2023-05-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230510
|
6
|
+
|
7
|
+
### v0.11.0 (2023-05-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230501
|
10
|
+
|
3
11
|
### v0.10.0 (2023-04-30)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230423
|
@@ -22,6 +22,32 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module WorkstationsV1beta
|
24
24
|
|
25
|
+
# An accelerator card attached to the instance.
|
26
|
+
class Accelerator
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Number of accelerator cards exposed to the instance.
|
30
|
+
# Corresponds to the JSON property `count`
|
31
|
+
# @return [Fixnum]
|
32
|
+
attr_accessor :count
|
33
|
+
|
34
|
+
# Type of accelerator resource to attach to the instance, for example, "nvidia-
|
35
|
+
# tesla-p100".
|
36
|
+
# Corresponds to the JSON property `type`
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :type
|
39
|
+
|
40
|
+
def initialize(**args)
|
41
|
+
update!(**args)
|
42
|
+
end
|
43
|
+
|
44
|
+
# Update properties of this object
|
45
|
+
def update!(**args)
|
46
|
+
@count = args[:count] if args.key?(:count)
|
47
|
+
@type = args[:type] if args.key?(:type)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
25
51
|
# Specifies the audit configuration for a service. The configuration determines
|
26
52
|
# which permission types are logged, and what identities, if any, are exempted
|
27
53
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -239,6 +265,7 @@ module Google
|
|
239
265
|
|
240
266
|
# Immutable. The name of the Google Cloud KMS encryption key. For example, `
|
241
267
|
# projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME`.
|
268
|
+
# The key must be in the same region as the workstation configuration.
|
242
269
|
# Corresponds to the JSON property `kmsKey`
|
243
270
|
# @return [String]
|
244
271
|
attr_accessor :kms_key
|
@@ -342,6 +369,11 @@ module Google
|
|
342
369
|
class GceInstance
|
343
370
|
include Google::Apis::Core::Hashable
|
344
371
|
|
372
|
+
# A list of the type and count of accelerator cards attached to the instance.
|
373
|
+
# Corresponds to the JSON property `accelerators`
|
374
|
+
# @return [Array<Google::Apis::WorkstationsV1beta::Accelerator>]
|
375
|
+
attr_accessor :accelerators
|
376
|
+
|
345
377
|
# Size of the boot disk in GB. Defaults to 50.
|
346
378
|
# Corresponds to the JSON property `bootDiskSizeGb`
|
347
379
|
# @return [Fixnum]
|
@@ -398,6 +430,7 @@ module Google
|
|
398
430
|
|
399
431
|
# Update properties of this object
|
400
432
|
def update!(**args)
|
433
|
+
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
401
434
|
@boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
|
402
435
|
@confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
|
403
436
|
@disable_public_ip_addresses = args[:disable_public_ip_addresses] if args.key?(:disable_public_ip_addresses)
|
@@ -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.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230510"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module WorkstationsV1beta
|
24
24
|
|
25
|
+
class Accelerator
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AuditConfig
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -238,6 +244,14 @@ module Google
|
|
238
244
|
include Google::Apis::Core::JsonObjectSupport
|
239
245
|
end
|
240
246
|
|
247
|
+
class Accelerator
|
248
|
+
# @private
|
249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
250
|
+
property :count, as: 'count'
|
251
|
+
property :type, as: 'type'
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
241
255
|
class AuditConfig
|
242
256
|
# @private
|
243
257
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -311,6 +325,8 @@ module Google
|
|
311
325
|
class GceInstance
|
312
326
|
# @private
|
313
327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
328
|
+
collection :accelerators, as: 'accelerators', class: Google::Apis::WorkstationsV1beta::Accelerator, decorator: Google::Apis::WorkstationsV1beta::Accelerator::Representation
|
329
|
+
|
314
330
|
property :boot_disk_size_gb, as: 'bootDiskSizeGb'
|
315
331
|
property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::WorkstationsV1beta::GceConfidentialInstanceConfig, decorator: Google::Apis::WorkstationsV1beta::GceConfidentialInstanceConfig::Representation
|
316
332
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.12.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|