google-apis-workstations_v1beta 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0225db11f33e43cf8c3e3c8025730b6fa137fa0d326369487f978d51ef2f33a
4
- data.tar.gz: c42bc2801a5f0ec2825a33b9eb3271ffefc2a2d58aac491e4437a6e2ea051a3a
3
+ metadata.gz: 19a2a0b3b8e0f3a6b807f5d635944a3a584c42b806a6faf511f87e408ebc37a6
4
+ data.tar.gz: 6f8c2506c8ae564098ccd96e01445822eb6a1fca4bbe6855b26e2a91a8e32b18
5
5
  SHA512:
6
- metadata.gz: 6ea44df14489741e0668099a65c5ee6d68a2586f71d6bb855f8f17622d2f39e563918150b3630999f371c8683579fc9d3fd4fac746cf651337d3130a80bb19ce
7
- data.tar.gz: ba007c8ec495fd7250177c49954e2ca4fb79c9ccf150f2963f691ea310a2d75fa096603b8ba9ba6556540b9d2bb442edfeed90942305a3372bd275c9e43263f0
6
+ metadata.gz: 13d56442d066357387966f0c8b41de0eaad66e3cf22fe5126946a9a7e4056664c730ef3732d291463226bceaf0b9bb6008ba4248974e10065094eadf5a103f66
7
+ data.tar.gz: 3f213cbc33eae3b7a142ddb865cb5adcd2a4a4e103e87c1550f7300438f3646b462093840707f202677164136361335a5173cf72c76d21cbf5ff39eda123ab13
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.11.0 (2023-05-07)
4
+
5
+ * Regenerated from discovery document revision 20230501
6
+
3
7
  ### v0.10.0 (2023-04-30)
4
8
 
5
9
  * 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
@@ -342,6 +368,11 @@ module Google
342
368
  class GceInstance
343
369
  include Google::Apis::Core::Hashable
344
370
 
371
+ # A list of the type and count of accelerator cards attached to the instance.
372
+ # Corresponds to the JSON property `accelerators`
373
+ # @return [Array<Google::Apis::WorkstationsV1beta::Accelerator>]
374
+ attr_accessor :accelerators
375
+
345
376
  # Size of the boot disk in GB. Defaults to 50.
346
377
  # Corresponds to the JSON property `bootDiskSizeGb`
347
378
  # @return [Fixnum]
@@ -398,6 +429,7 @@ module Google
398
429
 
399
430
  # Update properties of this object
400
431
  def update!(**args)
432
+ @accelerators = args[:accelerators] if args.key?(:accelerators)
401
433
  @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
402
434
  @confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
403
435
  @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.10.0"
19
+ GEM_VERSION = "0.11.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 = "20230423"
25
+ REVISION = "20230501"
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.10.0
4
+ version: 0.11.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-04-30 00:00:00.000000000 Z
11
+ date: 2023-05-14 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.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.11.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: []