google-cloud-shell-v1 0.7.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/shell/v1/cloud_shell_service/client.rb +13 -5
- data/lib/google/cloud/shell/v1/cloud_shell_service/operations.rb +13 -5
- data/lib/google/cloud/shell/v1/cloud_shell_service/rest/client.rb +13 -5
- data/lib/google/cloud/shell/v1/cloud_shell_service/rest/operations.rb +11 -4
- data/lib/google/cloud/shell/v1/cloudshell_pb.rb +1 -1
- data/lib/google/cloud/shell/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +4 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0408823ad4adc34a7789aad77977c50fb3790337e336f19bb717ed1312282308'
|
4
|
+
data.tar.gz: 38e639b6f16cd44ff0bb21b407ffa899d9f66ef5e81d99e30beff996110d46ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34dd84cdf2711f2bebafc155ff3be1cca3febbd65caa75f98338834dd2852f444509d2eacdcdda75f9ea4e69312675c09ca5f5a68e93e7d1735de345b9971cb3
|
7
|
+
data.tar.gz: 52ff8e7be686f26e81d3a47c027efb4f48e40eb6957ac1f0d85c71bd9123a45d2ae475f1abc26bd2852351b3a4569f129f3151761eb50e8cdf9add59c987cdfc
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -36,6 +36,9 @@ module Google
|
|
36
36
|
# client.
|
37
37
|
#
|
38
38
|
class Client
|
39
|
+
# @private
|
40
|
+
API_VERSION = ""
|
41
|
+
|
39
42
|
# @private
|
40
43
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudshell.$UNIVERSE_DOMAIN$"
|
41
44
|
|
@@ -249,10 +252,11 @@ module Google
|
|
249
252
|
# Customize the options with defaults
|
250
253
|
metadata = @config.rpcs.get_environment.metadata.to_h
|
251
254
|
|
252
|
-
# Set x-goog-api-client
|
255
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
253
256
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
254
257
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
255
258
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION
|
259
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
256
260
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
257
261
|
|
258
262
|
header_params = {}
|
@@ -355,10 +359,11 @@ module Google
|
|
355
359
|
# Customize the options with defaults
|
356
360
|
metadata = @config.rpcs.start_environment.metadata.to_h
|
357
361
|
|
358
|
-
# Set x-goog-api-client
|
362
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
359
363
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
360
364
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
361
365
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION
|
366
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
362
367
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
363
368
|
|
364
369
|
header_params = {}
|
@@ -460,10 +465,11 @@ module Google
|
|
460
465
|
# Customize the options with defaults
|
461
466
|
metadata = @config.rpcs.authorize_environment.metadata.to_h
|
462
467
|
|
463
|
-
# Set x-goog-api-client
|
468
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
464
469
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
465
470
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
466
471
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION
|
472
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
467
473
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
468
474
|
|
469
475
|
header_params = {}
|
@@ -563,10 +569,11 @@ module Google
|
|
563
569
|
# Customize the options with defaults
|
564
570
|
metadata = @config.rpcs.add_public_key.metadata.to_h
|
565
571
|
|
566
|
-
# Set x-goog-api-client
|
572
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
567
573
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
568
574
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
569
575
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION
|
576
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
570
577
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
571
578
|
|
572
579
|
header_params = {}
|
@@ -662,10 +669,11 @@ module Google
|
|
662
669
|
# Customize the options with defaults
|
663
670
|
metadata = @config.rpcs.remove_public_key.metadata.to_h
|
664
671
|
|
665
|
-
# Set x-goog-api-client
|
672
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
666
673
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
667
674
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
668
675
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION
|
676
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
669
677
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
670
678
|
|
671
679
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module CloudShellService
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudshell.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -38,6 +38,9 @@ module Google
|
|
38
38
|
# client.
|
39
39
|
#
|
40
40
|
class Client
|
41
|
+
# @private
|
42
|
+
API_VERSION = ""
|
43
|
+
|
41
44
|
# @private
|
42
45
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudshell.$UNIVERSE_DOMAIN$"
|
43
46
|
|
@@ -241,12 +244,13 @@ module Google
|
|
241
244
|
# Customize the options with defaults
|
242
245
|
call_metadata = @config.rpcs.get_environment.metadata.to_h
|
243
246
|
|
244
|
-
# Set x-goog-api-client
|
247
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
245
248
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
246
249
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
247
250
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION,
|
248
251
|
transports_version_send: [:rest]
|
249
252
|
|
253
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
250
254
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
251
255
|
|
252
256
|
options.apply_defaults timeout: @config.rpcs.get_environment.timeout,
|
@@ -340,12 +344,13 @@ module Google
|
|
340
344
|
# Customize the options with defaults
|
341
345
|
call_metadata = @config.rpcs.start_environment.metadata.to_h
|
342
346
|
|
343
|
-
# Set x-goog-api-client
|
347
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
344
348
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
345
349
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
346
350
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION,
|
347
351
|
transports_version_send: [:rest]
|
348
352
|
|
353
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
349
354
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
350
355
|
|
351
356
|
options.apply_defaults timeout: @config.rpcs.start_environment.timeout,
|
@@ -438,12 +443,13 @@ module Google
|
|
438
443
|
# Customize the options with defaults
|
439
444
|
call_metadata = @config.rpcs.authorize_environment.metadata.to_h
|
440
445
|
|
441
|
-
# Set x-goog-api-client
|
446
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
447
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
448
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
449
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION,
|
445
450
|
transports_version_send: [:rest]
|
446
451
|
|
452
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
453
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
454
|
|
449
455
|
options.apply_defaults timeout: @config.rpcs.authorize_environment.timeout,
|
@@ -534,12 +540,13 @@ module Google
|
|
534
540
|
# Customize the options with defaults
|
535
541
|
call_metadata = @config.rpcs.add_public_key.metadata.to_h
|
536
542
|
|
537
|
-
# Set x-goog-api-client
|
543
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
538
544
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
539
545
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
540
546
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION,
|
541
547
|
transports_version_send: [:rest]
|
542
548
|
|
549
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
543
550
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
544
551
|
|
545
552
|
options.apply_defaults timeout: @config.rpcs.add_public_key.timeout,
|
@@ -626,12 +633,13 @@ module Google
|
|
626
633
|
# Customize the options with defaults
|
627
634
|
call_metadata = @config.rpcs.remove_public_key.metadata.to_h
|
628
635
|
|
629
|
-
# Set x-goog-api-client
|
636
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
630
637
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
631
638
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
632
639
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION,
|
633
640
|
transports_version_send: [:rest]
|
634
641
|
|
642
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
635
643
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
636
644
|
|
637
645
|
options.apply_defaults timeout: @config.rpcs.remove_public_key.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "cloudshell.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::Shell::V1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -12,7 +12,7 @@ require 'google/longrunning/operations_pb'
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n&google/cloud/shell/v1/cloudshell.proto\x12\x15google.cloud.shell.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
15
|
+
descriptor_data = "\n&google/cloud/shell/v1/cloudshell.proto\x12\x15google.cloud.shell.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb3\x03\n\x0b\x45nvironment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0c\x64ocker_image\x18\x03 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12<\n\x05state\x18\x04 \x01(\x0e\x32(.google.cloud.shell.v1.Environment.StateB\x03\xe0\x41\x03\x12\x15\n\x08web_host\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cssh_username\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08ssh_host\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08ssh_port\x18\x07 \x01(\x05\x42\x03\xe0\x41\x03\x12\x18\n\x0bpublic_keys\x18\x08 \x03(\tB\x03\xe0\x41\x03\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUSPENDED\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04:S\xea\x41P\n%cloudshell.googleapis.com/Environment\x12\'users/{user}/environments/{environment}\"T\n\x15GetEnvironmentRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%cloudshell.googleapis.com/Environment\"\x1b\n\x19\x43reateEnvironmentMetadata\"\x1b\n\x19\x44\x65leteEnvironmentMetadata\"R\n\x17StartEnvironmentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x02 \x01(\t\x12\x13\n\x0bpublic_keys\x18\x03 \x03(\t\"\x84\x01\n\x1b\x41uthorizeEnvironmentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x02 \x01(\t\x12\x10\n\x08id_token\x18\x04 \x01(\t\x12/\n\x0b\x65xpire_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x1e\n\x1c\x41uthorizeEnvironmentResponse\"\x1e\n\x1c\x41uthorizeEnvironmentMetadata\"\xd2\x01\n\x18StartEnvironmentMetadata\x12\x44\n\x05state\x18\x01 \x01(\x0e\x32\x35.google.cloud.shell.v1.StartEnvironmentMetadata.State\"p\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STARTING\x10\x01\x12\x14\n\x10UNARCHIVING_DISK\x10\x02\x12\x1e\n\x1a\x41WAITING_COMPUTE_RESOURCES\x10\x04\x12\x0c\n\x08\x46INISHED\x10\x03\"S\n\x18StartEnvironmentResponse\x12\x37\n\x0b\x65nvironment\x18\x01 \x01(\x0b\x32\".google.cloud.shell.v1.Environment\"7\n\x13\x41\x64\x64PublicKeyRequest\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\"#\n\x14\x41\x64\x64PublicKeyResponse\x12\x0b\n\x03key\x18\x01 \x01(\t\"\x16\n\x14\x41\x64\x64PublicKeyMetadata\":\n\x16RemovePublicKeyRequest\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\"\x19\n\x17RemovePublicKeyResponse\"\x19\n\x17RemovePublicKeyMetadata\"\x9e\x02\n\x16\x43loudShellErrorDetails\x12O\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x41.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode\"\xb2\x01\n\x13\x43loudShellErrorCode\x12&\n\"CLOUD_SHELL_ERROR_CODE_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_UNAVAILABLE\x10\x01\x12\x18\n\x14\x43LOUD_SHELL_DISABLED\x10\x02\x12\x11\n\rTOS_VIOLATION\x10\x04\x12\x12\n\x0eQUOTA_EXCEEDED\x10\x05\x12\x1b\n\x17\x45NVIRONMENT_UNAVAILABLE\x10\x06\x32\xd4\x08\n\x11\x43loudShellService\x12\x94\x01\n\x0eGetEnvironment\x12,.google.cloud.shell.v1.GetEnvironmentRequest\x1a\".google.cloud.shell.v1.Environment\"0\xda\x41\x04name\x82\xd3\xe4\x93\x02#\x12!/v1/{name=users/*/environments/*}\x12\xcc\x01\n\x10StartEnvironment\x12..google.cloud.shell.v1.StartEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41\x34\n\x18StartEnvironmentResponse\x12\x18StartEnvironmentMetadata\x82\xd3\xe4\x93\x02,\"\'/v1/{name=users/*/environments/*}:start:\x01*\x12\xe0\x01\n\x14\x41uthorizeEnvironment\x12\x32.google.cloud.shell.v1.AuthorizeEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41<\n\x1c\x41uthorizeEnvironmentResponse\x12\x1c\x41uthorizeEnvironmentMetadata\x82\xd3\xe4\x93\x02\x30\"+/v1/{name=users/*/environments/*}:authorize:\x01*\x12\xca\x01\n\x0c\x41\x64\x64PublicKey\x12*.google.cloud.shell.v1.AddPublicKeyRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41,\n\x14\x41\x64\x64PublicKeyResponse\x12\x14\x41\x64\x64PublicKeyMetadata\x82\xd3\xe4\x93\x02:\"5/v1/{environment=users/*/environments/*}:addPublicKey:\x01*\x12\xd9\x01\n\x0fRemovePublicKey\x12-.google.cloud.shell.v1.RemovePublicKeyRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x32\n\x17RemovePublicKeyResponse\x12\x17RemovePublicKeyMetadata\x82\xd3\xe4\x93\x02=\"8/v1/{environment=users/*/environments/*}:removePublicKey:\x01*\x1aM\xca\x41\x19\x63loudshell.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB_\n\x19\x63om.google.cloud.shell.v1B\x0f\x43loudShellProtoP\x01Z/cloud.google.com/go/shell/apiv1/shellpb;shellpbb\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-shell-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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-
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,118 +44,6 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: google-style
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.3
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.3
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: minitest
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '5.16'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '5.16'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest-focus
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '1.1'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '1.1'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-rg
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '5.2'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '5.2'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rake
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '13.0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '13.0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: redcarpet
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '3.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '3.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: simplecov
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '0.18'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '0.18'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: yard
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.9'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.9'
|
159
47
|
description: Cloud Shell is an interactive shell environment for Google Cloud that
|
160
48
|
makes it easy for you to learn and experiment with Google Cloud and manage your
|
161
49
|
projects and resources from your web browser. Note that google-cloud-shell-v1 is
|
@@ -209,14 +97,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
209
97
|
requirements:
|
210
98
|
- - ">="
|
211
99
|
- !ruby/object:Gem::Version
|
212
|
-
version: '2.
|
100
|
+
version: '2.7'
|
213
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
102
|
requirements:
|
215
103
|
- - ">="
|
216
104
|
- !ruby/object:Gem::Version
|
217
105
|
version: '0'
|
218
106
|
requirements: []
|
219
|
-
rubygems_version: 3.5.
|
107
|
+
rubygems_version: 3.5.6
|
220
108
|
signing_key:
|
221
109
|
specification_version: 4
|
222
110
|
summary: Allows users to start, configure, and connect to interactive shell sessions
|