google-apis-cloudshell_v1 0.25.0 → 0.27.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: d3609501225e1dca781ef9c63b44532b188b90654b4e8d8b89b63891695ceec3
4
- data.tar.gz: 96807d0957314dbb768bfe59dced425c77cca8436ec51dacbba799e91ead984c
3
+ metadata.gz: 92a7248d59a04948383ca6947da0f611f9c05e6d9bd5367718206016f02e8ddf
4
+ data.tar.gz: dc87a3bd43e07d3ed3cf60e47e1d20b5acccc6a74d60067d922f890d9f33ac17
5
5
  SHA512:
6
- metadata.gz: b549d779a9b958175e6b9dfa6c8b4524e9ab51d01a54d9fc2f3e3166db203d06ab0cd7515c494485e847f3687f61c761abc64aa2c8ebda1f4ee59a8e1ad8712e
7
- data.tar.gz: 1b57d7e6e826407614e471034a4cc87f3c82e5391ddfb17c5745be6f0e0b9fe4beda683837944d6a2495e8a6c82d67978101499ca13e78e596a4dc641ebad33c
6
+ metadata.gz: 50459c80822201ed46bb854b5c5ebc9df8a2cd07b7c37d785402f52a9b736b5b681b25868f13442c7557784ff38f4f0f43abf2337c887b01cb58e7f1af65631f
7
+ data.tar.gz: 4ef9ee0b0664f51e643c3663ee26d968146c358661bbd3c4ca6102bc995c1e518e79ddcf228cba9c5dc512dcf50e6290d882fffd3d0bc746415fc02cd2ee6cee
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudshell_v1
2
2
 
3
+ ### v0.27.0 (2025-12-07)
4
+
5
+ * Regenerated from discovery document revision 20251204
6
+
7
+ ### v0.26.0 (2025-11-09)
8
+
9
+ * Regenerated from discovery document revision 20251105
10
+
3
11
  ### v0.25.0 (2025-10-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20250930
@@ -277,6 +277,25 @@ module Google
277
277
  end
278
278
  end
279
279
 
280
+ # Response message for GenerateAccessToken.
281
+ class GenerateAccessTokenResponse
282
+ include Google::Apis::Core::Hashable
283
+
284
+ # The access token.
285
+ # Corresponds to the JSON property `accessToken`
286
+ # @return [String]
287
+ attr_accessor :access_token
288
+
289
+ def initialize(**args)
290
+ update!(**args)
291
+ end
292
+
293
+ # Update properties of this object
294
+ def update!(**args)
295
+ @access_token = args[:access_token] if args.key?(:access_token)
296
+ end
297
+ end
298
+
280
299
  # The response message for Operations.ListOperations.
281
300
  class ListOperationsResponse
282
301
  include Google::Apis::Core::Hashable
@@ -292,8 +311,9 @@ module Google
292
311
  attr_accessor :operations
293
312
 
294
313
  # Unordered list. Unreachable resources. Populated when the request sets `
295
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
296
- # when attempting to list all resources across all supported locations.
314
+ # ListOperationsRequest.return_partial_success` and reads across collections.
315
+ # For example, when attempting to list all resources across all supported
316
+ # locations.
297
317
  # Corresponds to the JSON property `unreachable`
298
318
  # @return [Array<String>]
299
319
  attr_accessor :unreachable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudshellV1
18
18
  # Version of the google-apis-cloudshell_v1 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250930"
25
+ REVISION = "20251204"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class GenerateAccessTokenResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class ListOperationsResponse
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -222,6 +228,13 @@ module Google
222
228
  end
223
229
  end
224
230
 
231
+ class GenerateAccessTokenResponse
232
+ # @private
233
+ class Representation < Google::Apis::Core::JsonRepresentation
234
+ property :access_token, as: 'accessToken'
235
+ end
236
+ end
237
+
225
238
  class ListOperationsResponse
226
239
  # @private
227
240
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -168,11 +168,12 @@ module Google
168
168
  # The standard list page token.
169
169
  # @param [Boolean] return_partial_success
170
170
  # When set to `true`, operations that are reachable are returned as normal, and
171
- # those that are unreachable are returned in the [ListOperationsResponse.
172
- # unreachable] field. This can only be `true` when reading across collections e.
173
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
174
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
175
- # explicitly documented otherwise in service or product specific documentation.
171
+ # those that are unreachable are returned in the ListOperationsResponse.
172
+ # unreachable field. This can only be `true` when reading across collections.
173
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
174
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
175
+ # if set unless explicitly documented otherwise in service or product specific
176
+ # documentation.
176
177
  # @param [String] fields
177
178
  # Selector specifying which fields to include in a partial response.
178
179
  # @param [String] quota_user
@@ -275,6 +276,46 @@ module Google
275
276
  execute_or_queue_command(command, &block)
276
277
  end
277
278
 
279
+ # Generates an access token for the user's environment.
280
+ # @param [String] environment
281
+ # Required. The environment to generate the access token for.
282
+ # @param [String] expire_time
283
+ # Desired expiration time of the access token. This value must be at most 24
284
+ # hours in the future. If a value is not specified, the token's expiration time
285
+ # will be set to a default value of 1 hour in the future.
286
+ # @param [String] ttl
287
+ # Desired lifetime duration of the access token. This value must be at most 24
288
+ # hours. If a value is not specified, the token's lifetime will be set to a
289
+ # default value of 1 hour.
290
+ # @param [String] fields
291
+ # Selector specifying which fields to include in a partial response.
292
+ # @param [String] quota_user
293
+ # Available to use for quota purposes for server-side applications. Can be any
294
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
295
+ # @param [Google::Apis::RequestOptions] options
296
+ # Request-specific options
297
+ #
298
+ # @yield [result, err] Result & error if block supplied
299
+ # @yieldparam result [Google::Apis::CloudshellV1::GenerateAccessTokenResponse] parsed result object
300
+ # @yieldparam err [StandardError] error object if request failed
301
+ #
302
+ # @return [Google::Apis::CloudshellV1::GenerateAccessTokenResponse]
303
+ #
304
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
305
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
306
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
307
+ def generate_user_environment_access_token(environment, expire_time: nil, ttl: nil, fields: nil, quota_user: nil, options: nil, &block)
308
+ command = make_simple_command(:get, 'v1/{+environment}:generateAccessToken', options)
309
+ command.response_representation = Google::Apis::CloudshellV1::GenerateAccessTokenResponse::Representation
310
+ command.response_class = Google::Apis::CloudshellV1::GenerateAccessTokenResponse
311
+ command.params['environment'] = environment unless environment.nil?
312
+ command.query['expireTime'] = expire_time unless expire_time.nil?
313
+ command.query['ttl'] = ttl unless ttl.nil?
314
+ command.query['fields'] = fields unless fields.nil?
315
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
316
+ execute_or_queue_command(command, &block)
317
+ end
318
+
278
319
  # Gets an environment. Returns NOT_FOUND if the environment does not exist.
279
320
  # @param [String] name
280
321
  # Required. Name of the requested resource, for example `users/me/environments/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudshell_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudshell_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudshell_v1/v0.25.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudshell_v1/v0.27.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudshell_v1
62
62
  rdoc_options: []
63
63
  require_paths: