google-apis-workstations_v1beta 0.34.0 → 0.36.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a597997bdf7d61de4f5a60b6842d8bb066317d90531b7149ac23be6c676cd98
4
- data.tar.gz: 02c44c9ea6f965b8e623304255cdd24e1269fcfbd25c53211924b05daa1857b8
3
+ metadata.gz: 17de7595eca4aa0815e0ea4fec27cde53f85c42031c0a3934f281247c4cd89bf
4
+ data.tar.gz: 8bef6d5e52070dac4ef1c5cea7fd6f0273e32a3a3c15a8d3addd3179482cc6b7
5
5
  SHA512:
6
- metadata.gz: 917b787cae83c75a6313af18524d36b516c6ed238e114ea7d4550e2aed9d09f0a4d914cb9b0ca5f85a82f92c67fc1e60d21daa6bd9b8fba524c76e211eb52a20
7
- data.tar.gz: b49b3eaaa8135154440d4182ab72b19b46f621d9e1143e977922ab73f5aa9ad077c52f901a26d560c855feb2fb884ff69cad27d0c33daca09cc9a355960d4636
6
+ metadata.gz: afd5589996c4a9cbc2b56f3f7fd1c86b38d8a63ddb7fcfa77a12e3510528fb92a67b284df96dc3e92f666c238ceac97868519069db2deea1118f1df708085ebc
7
+ data.tar.gz: 8e414d381ef244c06ac9c4aa7e71351d96606eea604bdadeb1c3e888c6aab4757976459143fa6f506517ecc18828269e853ad99d7e25b3cab3e7d377f6ad67fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.36.0 (2025-03-02)
4
+
5
+ * Regenerated from discovery document revision 20250219
6
+
7
+ ### v0.35.0 (2025-01-12)
8
+
9
+ * Regenerated from discovery document revision 20250101
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.34.0 (2024-12-08)
4
13
 
5
14
  * Regenerated from discovery document revision 20241202
@@ -221,11 +221,11 @@ module Google
221
221
  end
222
222
 
223
223
  # A boost configuration is a set of resources that a workstation can use to
224
- # increase its performance. If a boost configuration is specified, when starting
225
- # a workstation, users can choose to use a VM provisioned under the boost config
226
- # by passing the boost config id in the start request. If no boost config id is
227
- # provided in the start request, the system will choose a VM from the pool
228
- # provisioned under the default config.
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.
229
229
  class BoostConfig
230
230
  include Google::Apis::Core::Hashable
231
231
 
@@ -264,7 +264,7 @@ module Google
264
264
  attr_accessor :enable_nested_virtualization
265
265
  alias_method :enable_nested_virtualization?, :enable_nested_virtualization
266
266
 
267
- # Required. The id to be used for the boost configuration.
267
+ # Required. The ID to be used for the boost configuration.
268
268
  # Corresponds to the JSON property `id`
269
269
  # @return [String]
270
270
  attr_accessor :id
@@ -684,6 +684,37 @@ module Google
684
684
  end
685
685
  end
686
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
+
687
718
  # An EphemeralDirectory is backed by a Compute Engine persistent disk.
688
719
  class GcePersistentDisk
689
720
  include Google::Apis::Core::Hashable
@@ -702,8 +733,11 @@ module Google
702
733
 
703
734
  # Optional. Name of the disk image to use as the source for the disk. Must be
704
735
  # empty if source_snapshot is set. Updating source_image will update content in
705
- # the ephemeral directory after the workstation is restarted. This field is
706
- # mutable.
736
+ # the ephemeral directory after the workstation is restarted. Only file systems
737
+ # supported by Container-Optimized OS (COS) are explicitly supported. For a list
738
+ # of supported file systems, please refer to the [COS documentation](https://
739
+ # cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems).
740
+ # This field is mutable.
707
741
  # Corresponds to the JSON property `sourceImage`
708
742
  # @return [String]
709
743
  attr_accessor :source_image
@@ -711,7 +745,10 @@ module Google
711
745
  # Optional. Name of the snapshot to use as the source for the disk. Must be
712
746
  # empty if source_image is set. Must be empty if read_only is false. Updating
713
747
  # source_snapshot will update content in the ephemeral directory after the
714
- # workstation is restarted. This field is mutable.
748
+ # workstation is restarted. Only file systems supported by Container-Optimized
749
+ # OS (COS) are explicitly supported. For a list of supported file systems,
750
+ # please refer to the [COS documentation](https://cloud.google.com/container-
751
+ # optimized-os/docs/concepts/supported-filesystems). This field is mutable.
715
752
  # Corresponds to the JSON property `sourceSnapshot`
716
753
  # @return [String]
717
754
  attr_accessor :source_snapshot
@@ -937,6 +974,16 @@ module Google
937
974
  attr_accessor :allowed_unauthenticated_cors_preflight_requests
938
975
  alias_method :allowed_unauthenticated_cors_preflight_requests?, :allowed_unauthenticated_cors_preflight_requests
939
976
 
977
+ # Optional. By default, the workstations service replaces references to
978
+ # localhost, 127.0.0.1, and 0.0.0.0 with the workstation's hostname in http
979
+ # responses from the workstation so that applications under development run
980
+ # properly on the workstation. This may intefere with some applications, and so
981
+ # this option allows that behavior to be disabled.
982
+ # Corresponds to the JSON property `disableLocalhostReplacement`
983
+ # @return [Boolean]
984
+ attr_accessor :disable_localhost_replacement
985
+ alias_method :disable_localhost_replacement?, :disable_localhost_replacement
986
+
940
987
  def initialize(**args)
941
988
  update!(**args)
942
989
  end
@@ -944,6 +991,7 @@ module Google
944
991
  # Update properties of this object
945
992
  def update!(**args)
946
993
  @allowed_unauthenticated_cors_preflight_requests = args[:allowed_unauthenticated_cors_preflight_requests] if args.key?(:allowed_unauthenticated_cors_preflight_requests)
994
+ @disable_localhost_replacement = args[:disable_localhost_replacement] if args.key?(:disable_localhost_replacement)
947
995
  end
948
996
  end
949
997
 
@@ -1251,7 +1299,8 @@ module Google
1251
1299
  end
1252
1300
  end
1253
1301
 
1254
- # A directory to persist across workstation sessions.
1302
+ # A directory to persist across workstation sessions. Updates to this field will
1303
+ # not update existing workstations and will only take effect on new workstations.
1255
1304
  class PersistentDirectory
1256
1305
  include Google::Apis::Core::Hashable
1257
1306
 
@@ -1432,7 +1481,7 @@ module Google
1432
1481
  alias_method :enable_private_endpoint?, :enable_private_endpoint
1433
1482
 
1434
1483
  # Output only. Service attachment URI for the workstation cluster. The service
1435
- # attachemnt is created when private endpoint is enabled. To access workstations
1484
+ # attachment is created when private endpoint is enabled. To access workstations
1436
1485
  # in the workstation cluster, configure access to the managed service using [
1437
1486
  # Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-
1438
1487
  # service-connect-services).
@@ -1478,6 +1527,25 @@ module Google
1478
1527
  end
1479
1528
  end
1480
1529
 
1530
+ # Runtime host for the workstation.
1531
+ class RuntimeHost
1532
+ include Google::Apis::Core::Hashable
1533
+
1534
+ # The Compute Engine instance host.
1535
+ # Corresponds to the JSON property `gceInstanceHost`
1536
+ # @return [Google::Apis::WorkstationsV1beta::GceInstanceHost]
1537
+ attr_accessor :gce_instance_host
1538
+
1539
+ def initialize(**args)
1540
+ update!(**args)
1541
+ end
1542
+
1543
+ # Update properties of this object
1544
+ def update!(**args)
1545
+ @gce_instance_host = args[:gce_instance_host] if args.key?(:gce_instance_host)
1546
+ end
1547
+ end
1548
+
1481
1549
  # Request message for `SetIamPolicy` method.
1482
1550
  class SetIamPolicyRequest
1483
1551
  include Google::Apis::Core::Hashable
@@ -1688,11 +1756,24 @@ module Google
1688
1756
  # @return [Array<Google::Apis::WorkstationsV1beta::WorkstationBoostConfig>]
1689
1757
  attr_accessor :boost_configs
1690
1758
 
1759
+ # Output only. Status conditions describing the workstation's current state.
1760
+ # Corresponds to the JSON property `conditions`
1761
+ # @return [Array<Google::Apis::WorkstationsV1beta::Status>]
1762
+ attr_accessor :conditions
1763
+
1691
1764
  # Output only. Time when this workstation was created.
1692
1765
  # Corresponds to the JSON property `createTime`
1693
1766
  # @return [String]
1694
1767
  attr_accessor :create_time
1695
1768
 
1769
+ # Output only. Whether this workstation is in degraded mode, in which case it
1770
+ # may require user action to restore full functionality. Details can be found in
1771
+ # conditions.
1772
+ # Corresponds to the JSON property `degraded`
1773
+ # @return [Boolean]
1774
+ attr_accessor :degraded
1775
+ alias_method :degraded?, :degraded
1776
+
1696
1777
  # Output only. Time when this workstation was soft-deleted.
1697
1778
  # Corresponds to the JSON property `deleteTime`
1698
1779
  # @return [String]
@@ -1750,6 +1831,11 @@ module Google
1750
1831
  attr_accessor :reconciling
1751
1832
  alias_method :reconciling?, :reconciling
1752
1833
 
1834
+ # Runtime host for the workstation.
1835
+ # Corresponds to the JSON property `runtimeHost`
1836
+ # @return [Google::Apis::WorkstationsV1beta::RuntimeHost]
1837
+ attr_accessor :runtime_host
1838
+
1753
1839
  # Output only. Reserved for future use.
1754
1840
  # Corresponds to the JSON property `satisfiesPzi`
1755
1841
  # @return [Boolean]
@@ -1797,7 +1883,9 @@ module Google
1797
1883
  def update!(**args)
1798
1884
  @annotations = args[:annotations] if args.key?(:annotations)
1799
1885
  @boost_configs = args[:boost_configs] if args.key?(:boost_configs)
1886
+ @conditions = args[:conditions] if args.key?(:conditions)
1800
1887
  @create_time = args[:create_time] if args.key?(:create_time)
1888
+ @degraded = args[:degraded] if args.key?(:degraded)
1801
1889
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1802
1890
  @display_name = args[:display_name] if args.key?(:display_name)
1803
1891
  @env = args[:env] if args.key?(:env)
@@ -1807,6 +1895,7 @@ module Google
1807
1895
  @labels = args[:labels] if args.key?(:labels)
1808
1896
  @name = args[:name] if args.key?(:name)
1809
1897
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1898
+ @runtime_host = args[:runtime_host] if args.key?(:runtime_host)
1810
1899
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
1811
1900
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1812
1901
  @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.34.0"
19
+ GEM_VERSION = "0.36.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 = "20241202"
25
+ REVISION = "20250219"
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
@@ -672,7 +702,10 @@ module Google
672
702
  hash :annotations, as: 'annotations'
673
703
  collection :boost_configs, as: 'boostConfigs', class: Google::Apis::WorkstationsV1beta::WorkstationBoostConfig, decorator: Google::Apis::WorkstationsV1beta::WorkstationBoostConfig::Representation
674
704
 
705
+ collection :conditions, as: 'conditions', class: Google::Apis::WorkstationsV1beta::Status, decorator: Google::Apis::WorkstationsV1beta::Status::Representation
706
+
675
707
  property :create_time, as: 'createTime'
708
+ property :degraded, as: 'degraded'
676
709
  property :delete_time, as: 'deleteTime'
677
710
  property :display_name, as: 'displayName'
678
711
  hash :env, as: 'env'
@@ -682,6 +715,8 @@ module Google
682
715
  hash :labels, as: 'labels'
683
716
  property :name, as: 'name'
684
717
  property :reconciling, as: 'reconciling'
718
+ property :runtime_host, as: 'runtimeHost', class: Google::Apis::WorkstationsV1beta::RuntimeHost, decorator: Google::Apis::WorkstationsV1beta::RuntimeHost::Representation
719
+
685
720
  property :satisfies_pzi, as: 'satisfiesPzi'
686
721
  property :satisfies_pzs, as: 'satisfiesPzs'
687
722
  property :source_workstation, as: 'sourceWorkstation'
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.34.0
4
+ version: 0.36.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-08 00:00:00.000000000 Z
10
+ date: 2025-03-02 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.34.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.36.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.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Workstations API V1beta
82
79
  test_files: []