google-apis-workstations_v1beta 0.9.0 → 0.10.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: f15ae3a9d45ec946fda986f7ae0bb997b5ac396fe0e1c2b4852de61dc9800bb4
4
- data.tar.gz: 6c70ba597bd4cf451504fa59e9bdeff0dd89990a963f714ed336917e6381ef0b
3
+ metadata.gz: f0225db11f33e43cf8c3e3c8025730b6fa137fa0d326369487f978d51ef2f33a
4
+ data.tar.gz: c42bc2801a5f0ec2825a33b9eb3271ffefc2a2d58aac491e4437a6e2ea051a3a
5
5
  SHA512:
6
- metadata.gz: 9d42b3442e903633af0a1c906d63d37d230e74b3d554b8e48577cfb254ab3f2cf481d2f3d0ea4ae37316cc1399d67c4cbb86de509b8bc18a86821168bd5c8ca0
7
- data.tar.gz: b6fb0d872a5eefbce6da25a2c842c2389411696e6a6899183350b3ab521e6b3e4f256d5065a5e4ee96a607458cc6149f895d202a35b036a42c0f8b0792451d41
6
+ metadata.gz: 6ea44df14489741e0668099a65c5ee6d68a2586f71d6bb855f8f17622d2f39e563918150b3630999f371c8683579fc9d3fd4fac746cf651337d3130a80bb19ce
7
+ data.tar.gz: ba007c8ec495fd7250177c49954e2ca4fb79c9ccf150f2963f691ea310a2d75fa096603b8ba9ba6556540b9d2bb442edfeed90942305a3372bd275c9e43263f0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.10.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230423
6
+
3
7
  ### v0.9.0 (2023-04-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20230412
@@ -196,7 +196,7 @@ module Google
196
196
  # @return [Array<String>]
197
197
  attr_accessor :command
198
198
 
199
- # Environment variables passed to the container.
199
+ # Environment variables passed to the container's entrypoint.
200
200
  # Corresponds to the JSON property `env`
201
201
  # @return [Hash<String,String>]
202
202
  attr_accessor :env
@@ -363,11 +363,17 @@ module Google
363
363
  # @return [String]
364
364
  attr_accessor :machine_type
365
365
 
366
- # Number of instances to pool for faster workstation starup.
366
+ # Number of instances to pool for faster workstation startup.
367
367
  # Corresponds to the JSON property `poolSize`
368
368
  # @return [Fixnum]
369
369
  attr_accessor :pool_size
370
370
 
371
+ # Output only. Number of instances currently available in the pool for faster
372
+ # workstation startup.
373
+ # Corresponds to the JSON property `pooledInstances`
374
+ # @return [Fixnum]
375
+ attr_accessor :pooled_instances
376
+
371
377
  # Email address of the service account used on VM instances used to support this
372
378
  # configuration. If not set, VMs run with a Google-managed service account. This
373
379
  # service account must have permission to pull the specified container image;
@@ -397,6 +403,7 @@ module Google
397
403
  @disable_public_ip_addresses = args[:disable_public_ip_addresses] if args.key?(:disable_public_ip_addresses)
398
404
  @machine_type = args[:machine_type] if args.key?(:machine_type)
399
405
  @pool_size = args[:pool_size] if args.key?(:pool_size)
406
+ @pooled_instances = args[:pooled_instances] if args.key?(:pooled_instances)
400
407
  @service_account = args[:service_account] if args.key?(:service_account)
401
408
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
402
409
  @tags = args[:tags] if args.key?(:tags)
@@ -520,7 +527,7 @@ module Google
520
527
 
521
528
  # The generated bearer access token. To use this token, include it in an
522
529
  # Authorization header of an HTTP request sent to the associated workstation's
523
- # hostname, for example, `Authorization: Bearer `.
530
+ # hostnamefor example, `Authorization: Bearer `.
524
531
  # Corresponds to the JSON property `accessToken`
525
532
  # @return [String]
526
533
  attr_accessor :access_token
@@ -1047,6 +1054,31 @@ module Google
1047
1054
  end
1048
1055
  end
1049
1056
 
1057
+ # A readiness check to be performed on a workstation.
1058
+ class ReadinessCheck
1059
+ include Google::Apis::Core::Hashable
1060
+
1061
+ # Path to which the request should be sent.
1062
+ # Corresponds to the JSON property `path`
1063
+ # @return [String]
1064
+ attr_accessor :path
1065
+
1066
+ # Port to which the request should be sent.
1067
+ # Corresponds to the JSON property `port`
1068
+ # @return [Fixnum]
1069
+ attr_accessor :port
1070
+
1071
+ def initialize(**args)
1072
+ update!(**args)
1073
+ end
1074
+
1075
+ # Update properties of this object
1076
+ def update!(**args)
1077
+ @path = args[:path] if args.key?(:path)
1078
+ @port = args[:port] if args.key?(:port)
1079
+ end
1080
+ end
1081
+
1050
1082
  # Request message for `SetIamPolicy` method.
1051
1083
  class SetIamPolicyRequest
1052
1084
  include Google::Apis::Core::Hashable
@@ -1105,7 +1137,7 @@ module Google
1105
1137
  include Google::Apis::Core::Hashable
1106
1138
 
1107
1139
  # If set, the request will be rejected if the latest version of the workstation
1108
- # on the server does not have this etag.
1140
+ # on the server does not have this ETag.
1109
1141
  # Corresponds to the JSON property `etag`
1110
1142
  # @return [String]
1111
1143
  attr_accessor :etag
@@ -1172,7 +1204,7 @@ module Google
1172
1204
  include Google::Apis::Core::Hashable
1173
1205
 
1174
1206
  # If set, the request will be rejected if the latest version of the workstation
1175
- # on the server does not have this etag.
1207
+ # on the server does not have this ETag.
1176
1208
  # Corresponds to the JSON property `etag`
1177
1209
  # @return [String]
1178
1210
  attr_accessor :etag
@@ -1259,7 +1291,7 @@ module Google
1259
1291
  # @return [String]
1260
1292
  attr_accessor :display_name
1261
1293
 
1262
- # Environment variables passed to the workstation container.
1294
+ # Environment variables passed to the workstation container's entrypoint.
1263
1295
  # Corresponds to the JSON property `env`
1264
1296
  # @return [Hash<String,String>]
1265
1297
  attr_accessor :env
@@ -1549,6 +1581,13 @@ module Google
1549
1581
  # @return [Array<Google::Apis::WorkstationsV1beta::PersistentDirectory>]
1550
1582
  attr_accessor :persistent_directories
1551
1583
 
1584
+ # Readiness checks to perform when starting a workstation using this workstation
1585
+ # configuration. Mark a workstation as running only after all specified
1586
+ # readiness checks return 200 status codes.
1587
+ # Corresponds to the JSON property `readinessChecks`
1588
+ # @return [Array<Google::Apis::WorkstationsV1beta::ReadinessCheck>]
1589
+ attr_accessor :readiness_checks
1590
+
1552
1591
  # Output only. Indicates whether this resource is currently being updated to
1553
1592
  # match its intended state.
1554
1593
  # Corresponds to the JSON property `reconciling`
@@ -1595,6 +1634,7 @@ module Google
1595
1634
  @labels = args[:labels] if args.key?(:labels)
1596
1635
  @name = args[:name] if args.key?(:name)
1597
1636
  @persistent_directories = args[:persistent_directories] if args.key?(:persistent_directories)
1637
+ @readiness_checks = args[:readiness_checks] if args.key?(:readiness_checks)
1598
1638
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1599
1639
  @running_timeout = args[:running_timeout] if args.key?(:running_timeout)
1600
1640
  @uid = args[:uid] if args.key?(:uid)
@@ -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.9.0"
19
+ GEM_VERSION = "0.10.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 = "20230412"
25
+ REVISION = "20230423"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class ReadinessCheck
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class SetIamPolicyRequest
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -311,6 +317,7 @@ module Google
311
317
  property :disable_public_ip_addresses, as: 'disablePublicIpAddresses'
312
318
  property :machine_type, as: 'machineType'
313
319
  property :pool_size, as: 'poolSize'
320
+ property :pooled_instances, as: 'pooledInstances'
314
321
  property :service_account, as: 'serviceAccount'
315
322
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig, decorator: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig::Representation
316
323
 
@@ -483,6 +490,14 @@ module Google
483
490
  end
484
491
  end
485
492
 
493
+ class ReadinessCheck
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :path, as: 'path'
497
+ property :port, as: 'port'
498
+ end
499
+ end
500
+
486
501
  class SetIamPolicyRequest
487
502
  # @private
488
503
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -597,6 +612,8 @@ module Google
597
612
  property :name, as: 'name'
598
613
  collection :persistent_directories, as: 'persistentDirectories', class: Google::Apis::WorkstationsV1beta::PersistentDirectory, decorator: Google::Apis::WorkstationsV1beta::PersistentDirectory::Representation
599
614
 
615
+ collection :readiness_checks, as: 'readinessChecks', class: Google::Apis::WorkstationsV1beta::ReadinessCheck, decorator: Google::Apis::WorkstationsV1beta::ReadinessCheck::Representation
616
+
600
617
  property :reconciling, as: 'reconciling'
601
618
  property :running_timeout, as: 'runningTimeout'
602
619
  property :uid, as: 'uid'
@@ -238,7 +238,7 @@ module Google
238
238
  # Required. Name of the workstation cluster to delete.
239
239
  # @param [String] etag
240
240
  # If set, the request will be rejected if the latest version of the workstation
241
- # cluster on the server does not have this etag.
241
+ # cluster on the server does not have this ETag.
242
242
  # @param [Boolean] force
243
243
  # If set, any workstation configurations and workstations in the workstation
244
244
  # cluster are also deleted. Otherwise, the request only works if the workstation
@@ -431,7 +431,7 @@ module Google
431
431
  # Required. Name of the workstation configuration to delete.
432
432
  # @param [String] etag
433
433
  # If set, the request is rejected if the latest version of the workstation
434
- # configuration on the server does not have this etag.
434
+ # configuration on the server does not have this ETag.
435
435
  # @param [Boolean] force
436
436
  # If set, any workstations in the workstation configuration are also deleted.
437
437
  # Otherwise, the request works only if the workstation configuration has no
@@ -783,7 +783,7 @@ module Google
783
783
  # Required. Name of the workstation to delete.
784
784
  # @param [String] etag
785
785
  # If set, the request will be rejected if the latest version of the workstation
786
- # on the server does not have this etag.
786
+ # on the server does not have this ETag.
787
787
  # @param [Boolean] validate_only
788
788
  # If set, validate the request and preview the review, but do not actually apply
789
789
  # it.
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.9.0
4
+ version: 0.10.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-23 00:00:00.000000000 Z
11
+ date: 2023-04-30 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.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.10.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: []