google-apis-workstations_v1beta 0.33.0 → 0.35.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: 11a34e75cc4dcf22a814cce9047028cf9d267dc23670ff0cc59261c8afa17346
4
- data.tar.gz: 307c7931c8b344733905dd796a65f579f0124c6bc1c695a58a19c304ba9bf622
3
+ metadata.gz: 6ad845b8a2f1b9dd815f69763f4c0eec68816d37c5996f08f5a6b2aba6b8c276
4
+ data.tar.gz: c8a217896f8d438be8fc26dd23160135f999f777d2f936bc0f58713749ab06d8
5
5
  SHA512:
6
- metadata.gz: 9320314df4dfad9e2b6f4cd61152b37917e544cb44ac2e72faa50819b09bc5934af75aad334fe49adee932803161226b0ef7116e8085fd9b926b826895cb4510
7
- data.tar.gz: 2125d3270811a424d66eb7cb3bbe70ec589c2b16a9a570314b7e967ba1c63f09ff53da9088d2e585a741fa296010dc928aa958d915a477b6b61ca64dbf836a55
6
+ metadata.gz: 738586df275c5a53139bd697a98d318aa21e321799ecd8e1ef587349e20266cba4a37804ed70fb3242698b425d287cd420dccdb0d4a7f0235b5881af0d5eb4ab
7
+ data.tar.gz: 51aa67e1350d8f978101eff18f84d5b9c759bd16627c33961b853a712a6dde6872403629990d6c487e211512dbf2565a8f26f0a86e480d4ac95a7bbdc71fa127
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.35.0 (2025-01-12)
4
+
5
+ * Regenerated from discovery document revision 20250101
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.34.0 (2024-12-08)
9
+
10
+ * Regenerated from discovery document revision 20241202
11
+
3
12
  ### v0.33.0 (2024-12-02)
4
13
 
5
14
  * Regenerated from discovery document revision 20241009
@@ -220,7 +220,12 @@ module Google
220
220
  end
221
221
  end
222
222
 
223
- # A configuration that workstations can boost to.
223
+ # A boost configuration is a set of resources that a workstation can use to
224
+ # increase its performance. If you specify a boost configuration, upon startup,
225
+ # workstation users can choose to use a VM provisioned under the boost config by
226
+ # passing the boost config ID in the start request. If the workstation user does
227
+ # not provide a boost config ID in the start request, the system will choose a
228
+ # VM from the pool provisioned under the default config.
224
229
  class BoostConfig
225
230
  include Google::Apis::Core::Hashable
226
231
 
@@ -259,7 +264,7 @@ module Google
259
264
  attr_accessor :enable_nested_virtualization
260
265
  alias_method :enable_nested_virtualization?, :enable_nested_virtualization
261
266
 
262
- # Optional. Required. The id to be used for the boost configuration.
267
+ # Required. The ID to be used for the boost configuration.
263
268
  # Corresponds to the JSON property `id`
264
269
  # @return [String]
265
270
  attr_accessor :id
@@ -531,7 +536,9 @@ module Google
531
536
  attr_accessor :accelerators
532
537
 
533
538
  # Optional. A list of the boost configurations that workstations created using
534
- # this workstation configuration are allowed to use.
539
+ # this workstation configuration are allowed to use. If specified, users will
540
+ # have the option to choose from the list of boost configs when starting a
541
+ # workstation.
535
542
  # Corresponds to the JSON property `boostConfigs`
536
543
  # @return [Array<Google::Apis::WorkstationsV1beta::BoostConfig>]
537
544
  attr_accessor :boost_configs
@@ -677,6 +684,37 @@ module Google
677
684
  end
678
685
  end
679
686
 
687
+ # The Compute Engine instance host.
688
+ class GceInstanceHost
689
+ include Google::Apis::Core::Hashable
690
+
691
+ # Optional. Output only. The ID of the Compute Engine instance.
692
+ # Corresponds to the JSON property `id`
693
+ # @return [String]
694
+ attr_accessor :id
695
+
696
+ # Optional. Output only. The name of the Compute Engine instance.
697
+ # Corresponds to the JSON property `name`
698
+ # @return [String]
699
+ attr_accessor :name
700
+
701
+ # Optional. Output only. The zone of the Compute Engine instance.
702
+ # Corresponds to the JSON property `zone`
703
+ # @return [String]
704
+ attr_accessor :zone
705
+
706
+ def initialize(**args)
707
+ update!(**args)
708
+ end
709
+
710
+ # Update properties of this object
711
+ def update!(**args)
712
+ @id = args[:id] if args.key?(:id)
713
+ @name = args[:name] if args.key?(:name)
714
+ @zone = args[:zone] if args.key?(:zone)
715
+ end
716
+ end
717
+
680
718
  # An EphemeralDirectory is backed by a Compute Engine persistent disk.
681
719
  class GcePersistentDisk
682
720
  include Google::Apis::Core::Hashable
@@ -930,6 +968,16 @@ module Google
930
968
  attr_accessor :allowed_unauthenticated_cors_preflight_requests
931
969
  alias_method :allowed_unauthenticated_cors_preflight_requests?, :allowed_unauthenticated_cors_preflight_requests
932
970
 
971
+ # Optional. By default, the workstations service replaces references to
972
+ # localhost, 127.0.0.1, and 0.0.0.0 with the workstation's hostname in http
973
+ # responses from the workstation so that applications under development run
974
+ # properly on the workstation. This may intefere with some applications, and so
975
+ # this option allows that behavior to be disabled.
976
+ # Corresponds to the JSON property `disableLocalhostReplacement`
977
+ # @return [Boolean]
978
+ attr_accessor :disable_localhost_replacement
979
+ alias_method :disable_localhost_replacement?, :disable_localhost_replacement
980
+
933
981
  def initialize(**args)
934
982
  update!(**args)
935
983
  end
@@ -937,6 +985,7 @@ module Google
937
985
  # Update properties of this object
938
986
  def update!(**args)
939
987
  @allowed_unauthenticated_cors_preflight_requests = args[:allowed_unauthenticated_cors_preflight_requests] if args.key?(:allowed_unauthenticated_cors_preflight_requests)
988
+ @disable_localhost_replacement = args[:disable_localhost_replacement] if args.key?(:disable_localhost_replacement)
940
989
  end
941
990
  end
942
991
 
@@ -1244,7 +1293,8 @@ module Google
1244
1293
  end
1245
1294
  end
1246
1295
 
1247
- # A directory to persist across workstation sessions.
1296
+ # A directory to persist across workstation sessions. Updates to this field will
1297
+ # not update existing workstations and will only take effect on new workstations.
1248
1298
  class PersistentDirectory
1249
1299
  include Google::Apis::Core::Hashable
1250
1300
 
@@ -1471,6 +1521,25 @@ module Google
1471
1521
  end
1472
1522
  end
1473
1523
 
1524
+ # Runtime host for the workstation.
1525
+ class RuntimeHost
1526
+ include Google::Apis::Core::Hashable
1527
+
1528
+ # The Compute Engine instance host.
1529
+ # Corresponds to the JSON property `gceInstanceHost`
1530
+ # @return [Google::Apis::WorkstationsV1beta::GceInstanceHost]
1531
+ attr_accessor :gce_instance_host
1532
+
1533
+ def initialize(**args)
1534
+ update!(**args)
1535
+ end
1536
+
1537
+ # Update properties of this object
1538
+ def update!(**args)
1539
+ @gce_instance_host = args[:gce_instance_host] if args.key?(:gce_instance_host)
1540
+ end
1541
+ end
1542
+
1474
1543
  # Request message for `SetIamPolicy` method.
1475
1544
  class SetIamPolicyRequest
1476
1545
  include Google::Apis::Core::Hashable
@@ -1743,6 +1812,11 @@ module Google
1743
1812
  attr_accessor :reconciling
1744
1813
  alias_method :reconciling?, :reconciling
1745
1814
 
1815
+ # Runtime host for the workstation.
1816
+ # Corresponds to the JSON property `runtimeHost`
1817
+ # @return [Google::Apis::WorkstationsV1beta::RuntimeHost]
1818
+ attr_accessor :runtime_host
1819
+
1746
1820
  # Output only. Reserved for future use.
1747
1821
  # Corresponds to the JSON property `satisfiesPzi`
1748
1822
  # @return [Boolean]
@@ -1800,6 +1874,7 @@ module Google
1800
1874
  @labels = args[:labels] if args.key?(:labels)
1801
1875
  @name = args[:name] if args.key?(:name)
1802
1876
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1877
+ @runtime_host = args[:runtime_host] if args.key?(:runtime_host)
1803
1878
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
1804
1879
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1805
1880
  @source_workstation = args[:source_workstation] if args.key?(:source_workstation)
@@ -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.33.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241009"
25
+ REVISION = "20250101"
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 GceInstanceHost
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class GcePersistentDisk
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -226,6 +232,12 @@ module Google
226
232
  include Google::Apis::Core::JsonObjectSupport
227
233
  end
228
234
 
235
+ class RuntimeHost
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
229
241
  class SetIamPolicyRequest
230
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
243
 
@@ -418,6 +430,15 @@ module Google
418
430
  end
419
431
  end
420
432
 
433
+ class GceInstanceHost
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :id, as: 'id'
437
+ property :name, as: 'name'
438
+ property :zone, as: 'zone'
439
+ end
440
+ end
441
+
421
442
  class GcePersistentDisk
422
443
  # @private
423
444
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -483,6 +504,7 @@ module Google
483
504
  # @private
484
505
  class Representation < Google::Apis::Core::JsonRepresentation
485
506
  property :allowed_unauthenticated_cors_preflight_requests, as: 'allowedUnauthenticatedCorsPreflightRequests'
507
+ property :disable_localhost_replacement, as: 'disableLocalhostReplacement'
486
508
  end
487
509
  end
488
510
 
@@ -617,6 +639,14 @@ module Google
617
639
  end
618
640
  end
619
641
 
642
+ class RuntimeHost
643
+ # @private
644
+ class Representation < Google::Apis::Core::JsonRepresentation
645
+ property :gce_instance_host, as: 'gceInstanceHost', class: Google::Apis::WorkstationsV1beta::GceInstanceHost, decorator: Google::Apis::WorkstationsV1beta::GceInstanceHost::Representation
646
+
647
+ end
648
+ end
649
+
620
650
  class SetIamPolicyRequest
621
651
  # @private
622
652
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -682,6 +712,8 @@ module Google
682
712
  hash :labels, as: 'labels'
683
713
  property :name, as: 'name'
684
714
  property :reconciling, as: 'reconciling'
715
+ property :runtime_host, as: 'runtimeHost', class: Google::Apis::WorkstationsV1beta::RuntimeHost, decorator: Google::Apis::WorkstationsV1beta::RuntimeHost::Representation
716
+
685
717
  property :satisfies_pzi, as: 'satisfiesPzi'
686
718
  property :satisfies_pzs, as: 'satisfiesPzs'
687
719
  property :source_workstation, as: 'sourceWorkstation'
@@ -57,8 +57,8 @@ module Google
57
57
  # Clients can use Operations.GetOperation or other methods to check whether the
58
58
  # cancellation succeeded or whether the operation completed despite cancellation.
59
59
  # On successful cancellation, the operation is not deleted; instead, it becomes
60
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
61
- # corresponding to `Code.CANCELLED`.
60
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
61
+ # , corresponding to `Code.CANCELLED`.
62
62
  # @param [String] name
63
63
  # The name of the operation resource to be cancelled.
64
64
  # @param [Google::Apis::WorkstationsV1beta::CancelOperationRequest] cancel_operation_request_object
@@ -821,7 +821,8 @@ module Google
821
821
  end
822
822
 
823
823
  # Returns a short-lived credential that can be used to send authenticated and
824
- # authorized traffic to a workstation.
824
+ # authorized traffic to a workstation. Once generated this token cannot be
825
+ # revoked and is good for the lifetime of the token.
825
826
  # @param [String] workstation
826
827
  # Required. Name of the workstation for which the access token should be
827
828
  # generated.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workstations_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
10
+ date: 2025-01-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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.33.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.35.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1beta
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.22
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Workstations API V1beta
82
79
  test_files: []