google-apis-workstations_v1beta 0.26.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: 364a9e73eb73d37973ba998ce088bba03cd27caad146b9e59745ce591f168603
4
- data.tar.gz: 6c0e872c3444b335111ce1b237db1eb3d993f3fc1d90c976ae01b6e73783e982
3
+ metadata.gz: 246df60bea584010c297b4386cfa33aca8ed34c6ef501974742464844e9fde54
4
+ data.tar.gz: 4c7dbb98f16ab8890afc9cbf9527d4aa7ff718b6bc36f9eb84f9f764ff7d36dc
5
5
  SHA512:
6
- metadata.gz: 7d4b1a6123219137e851c3282b6e3521988f45ed8b4ac9fb84f755c90f8b9073fed7bb8b31a8ff36a235fc28f952b6b7a0ac217d2f25ba1aeb0fd138cc894e7a
7
- data.tar.gz: 66976a06b95805022ee8cbf0f389decb8f9754275cbb9ea5307ff0bb6df4b3c8e293d74d1b08631045a2c0606cf9c72f27916f40019939cff9e0997403d5beca
6
+ metadata.gz: f603e2ad032ba3f8b540129e70e55e78594191df4ffc5e42dc576ff68990a45a00e7b327acb520d29169fb74c1f051eefc6aa5b281776f8150c7e7ecf28b007f
7
+ data.tar.gz: 8622401170bddbf5302b60e87af1c1747f96a024de82109707e01797e23a8c7cb376244ba45e19a763952ff85a765dfe0588378f9a921a76446fb8f74dfc1aa0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.27.0 (2024-05-05)
9
+
10
+ * Regenerated from discovery document revision 20240424
11
+
3
12
  ### v0.26.0 (2024-03-31)
4
13
 
5
14
  * Regenerated from discovery document revision 20240318
@@ -584,23 +584,22 @@ module Google
584
584
 
585
585
  # Optional. The email address of the service account for Cloud Workstations VMs
586
586
  # created with this configuration. When specified, be sure that the service
587
- # account has `logginglogEntries.create` permission on the project so it can
588
- # write logs out to Cloud Logging. If using a custom container image, the
589
- # service account must have [Artifact Registry Reader](https://cloud.google.com/
590
- # artifact-registry/docs/access-control#roles) permission to pull the specified
591
- # image. If you as the administrator want to be able to `ssh` into the
592
- # underlying VM, you need to set this value to a service account for which you
593
- # have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want
594
- # anyone to be able to `ssh` into the underlying VM, use a service account where
595
- # no one has that permission. If not set, VMs run with a service account
596
- # provided by the Cloud Workstations service, and the image must be publicly
597
- # accessible.
587
+ # account has `logging.logEntries.create` and `monitoring.timeSeries.create`
588
+ # permissions on the project so it can write logs out to Cloud Logging. If using
589
+ # a custom container image, the service account must have [Artifact Registry
590
+ # Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles)
591
+ # permission to pull the specified image. If you as the administrator want to be
592
+ # able to `ssh` into the underlying VM, you need to set this value to a service
593
+ # account for which you have the `iam.serviceAccounts.actAs` permission.
594
+ # Conversely, if you don't want anyone to be able to `ssh` into the underlying
595
+ # VM, use a service account where no one has that permission. If not set, VMs
596
+ # run with a service account provided by the Cloud Workstations service, and the
597
+ # image must be publicly accessible.
598
598
  # Corresponds to the JSON property `serviceAccount`
599
599
  # @return [String]
600
600
  attr_accessor :service_account
601
601
 
602
- # Optional. Scopes to grant to the service_account. Various scopes are
603
- # automatically added based on feature usage. When specified, users of
602
+ # Optional. Scopes to grant to the service_account. When specified, users of
604
603
  # workstations under this configuration must have `iam.serviceAccounts.actAs` on
605
604
  # the service account.
606
605
  # Corresponds to the JSON property `serviceAccountScopes`
@@ -1310,6 +1309,32 @@ module Google
1310
1309
  end
1311
1310
  end
1312
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
+
1313
1338
  # Configuration options for private workstation clusters.
1314
1339
  class PrivateClusterConfig
1315
1340
  include Google::Apis::Core::Hashable
@@ -1836,6 +1861,12 @@ module Google
1836
1861
  class WorkstationConfig
1837
1862
  include Google::Apis::Core::Hashable
1838
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
+
1839
1870
  # Optional. Client-specified annotations.
1840
1871
  # Corresponds to the JSON property `annotations`
1841
1872
  # @return [Hash<String,String>]
@@ -2005,6 +2036,7 @@ module Google
2005
2036
 
2006
2037
  # Update properties of this object
2007
2038
  def update!(**args)
2039
+ @allowed_ports = args[:allowed_ports] if args.key?(:allowed_ports)
2008
2040
  @annotations = args[:annotations] if args.key?(:annotations)
2009
2041
  @conditions = args[:conditions] if args.key?(:conditions)
2010
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.26.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 = "20240318"
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.26.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-03-31 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.26.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: []