google-apis-workstations_v1beta 0.27.0 → 0.28.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: 1ef364d56fab21079bc3148fcd78b9c0bf2c96b282294a7594ab4ed147345f9a
4
- data.tar.gz: f639d8a52da82ad956b8899d99116e3e899cf0f25d5866ed1b0eabd06f6ed158
3
+ metadata.gz: 246df60bea584010c297b4386cfa33aca8ed34c6ef501974742464844e9fde54
4
+ data.tar.gz: 4c7dbb98f16ab8890afc9cbf9527d4aa7ff718b6bc36f9eb84f9f764ff7d36dc
5
5
  SHA512:
6
- metadata.gz: 1852e6148710c12eb02459714a310c62d03556074befa4cd9c68280e2116fa615122584a7b69e070d5a8b2c3f841ee17dcc359fc2c77dd55ae7b37a1a3bacaa2
7
- data.tar.gz: e746a92f2c9dd4e70aafa6cff54c4b9c5be056cd0e99c09dc5e81e53c2cc74f095b76e21a5f63933d3a284a8562a01b72008dd486bc5f0d0745bc64af0b01423
6
+ metadata.gz: f603e2ad032ba3f8b540129e70e55e78594191df4ffc5e42dc576ff68990a45a00e7b327acb520d29169fb74c1f051eefc6aa5b281776f8150c7e7ecf28b007f
7
+ data.tar.gz: 8622401170bddbf5302b60e87af1c1747f96a024de82109707e01797e23a8c7cb376244ba45e19a763952ff85a765dfe0588378f9a921a76446fb8f74dfc1aa0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.28.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240508
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.27.0 (2024-05-05)
4
9
 
5
10
  * Regenerated from discovery document revision 20240424
@@ -1309,6 +1309,32 @@ module Google
1309
1309
  end
1310
1310
  end
1311
1311
 
1312
+ # A PortsConfig defines a range of ports. Both first and last are inclusive. To
1313
+ # specify a single port, both first and last should be same.
1314
+ class PortRange
1315
+ include Google::Apis::Core::Hashable
1316
+
1317
+ # Required. Starting port number for the current range of ports.
1318
+ # Corresponds to the JSON property `first`
1319
+ # @return [Fixnum]
1320
+ attr_accessor :first
1321
+
1322
+ # Required. Ending port number for the current range of ports.
1323
+ # Corresponds to the JSON property `last`
1324
+ # @return [Fixnum]
1325
+ attr_accessor :last
1326
+
1327
+ def initialize(**args)
1328
+ update!(**args)
1329
+ end
1330
+
1331
+ # Update properties of this object
1332
+ def update!(**args)
1333
+ @first = args[:first] if args.key?(:first)
1334
+ @last = args[:last] if args.key?(:last)
1335
+ end
1336
+ end
1337
+
1312
1338
  # Configuration options for private workstation clusters.
1313
1339
  class PrivateClusterConfig
1314
1340
  include Google::Apis::Core::Hashable
@@ -1835,6 +1861,12 @@ module Google
1835
1861
  class WorkstationConfig
1836
1862
  include Google::Apis::Core::Hashable
1837
1863
 
1864
+ # Optional. Single or Range of ports externally accessible in the workstation.
1865
+ # If not specified defaults to ports 22, 80 and ports 1024-65535.
1866
+ # Corresponds to the JSON property `allowedPorts`
1867
+ # @return [Array<Google::Apis::WorkstationsV1beta::PortRange>]
1868
+ attr_accessor :allowed_ports
1869
+
1838
1870
  # Optional. Client-specified annotations.
1839
1871
  # Corresponds to the JSON property `annotations`
1840
1872
  # @return [Hash<String,String>]
@@ -2004,6 +2036,7 @@ module Google
2004
2036
 
2005
2037
  # Update properties of this object
2006
2038
  def update!(**args)
2039
+ @allowed_ports = args[:allowed_ports] if args.key?(:allowed_ports)
2007
2040
  @annotations = args[:annotations] if args.key?(:annotations)
2008
2041
  @conditions = args[:conditions] if args.key?(:conditions)
2009
2042
  @container = args[:container] if args.key?(:container)
@@ -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.27.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240424"
25
+ REVISION = "20240508"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class PortRange
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class PrivateClusterConfig
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -563,6 +569,14 @@ module Google
563
569
  end
564
570
  end
565
571
 
572
+ class PortRange
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ property :first, as: 'first'
576
+ property :last, as: 'last'
577
+ end
578
+ end
579
+
566
580
  class PrivateClusterConfig
567
581
  # @private
568
582
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -680,6 +694,8 @@ module Google
680
694
  class WorkstationConfig
681
695
  # @private
682
696
  class Representation < Google::Apis::Core::JsonRepresentation
697
+ collection :allowed_ports, as: 'allowedPorts', class: Google::Apis::WorkstationsV1beta::PortRange, decorator: Google::Apis::WorkstationsV1beta::PortRange::Representation
698
+
683
699
  hash :annotations, as: 'annotations'
684
700
  collection :conditions, as: 'conditions', class: Google::Apis::WorkstationsV1beta::Status, decorator: Google::Apis::WorkstationsV1beta::Status::Representation
685
701
 
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.27.0
4
+ version: 0.28.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: 2024-05-05 00:00:00.000000000 Z
11
+ date: 2024-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.28.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: []