google-cloud-shell-v1 0.8.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '093caf6a8bdf5564a0d690827c0eec1eb4c95f0b0b54f08bd1882e54c089be09'
4
- data.tar.gz: 5385dc1b5d1f1745b03c33770f249ce19e7fc57020929afb56a9afe3ecfc16a9
3
+ metadata.gz: '0408823ad4adc34a7789aad77977c50fb3790337e336f19bb717ed1312282308'
4
+ data.tar.gz: 38e639b6f16cd44ff0bb21b407ffa899d9f66ef5e81d99e30beff996110d46ef
5
5
  SHA512:
6
- metadata.gz: dd28dcb0e650d8d647c1a8f9a5b6c89db6bab788f988d962f2b59eaeb9818a3bdea6df9a419e02162d89562b8a106421de1b8a2dde75097c29f3214a0db09a4f
7
- data.tar.gz: 7596998352b581ad865c93d9eb758e8238a837781dc5bd9a20045807d2a8aeb74c0e9a0f29b7a20cbc49bd734cf41a594f37d120e013a06cc2c51c9d67e6047c
6
+ metadata.gz: 34dd84cdf2711f2bebafc155ff3be1cca3febbd65caa75f98338834dd2852f444509d2eacdcdda75f9ea4e69312675c09ca5f5a68e93e7d1735de345b9971cb3
7
+ data.tar.gz: 52ff8e7be686f26e81d3a47c027efb4f48e40eb6957ac1f0d85c71bd9123a45d2ae475f1abc26bd2852351b3a4569f129f3151761eb50e8cdf9add59c987cdfc
@@ -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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Shell
23
23
  module V1
24
- VERSION = "0.8.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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.8.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-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common