google-cloud-notebooks-v1beta1 0.10.0 → 0.10.1
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 +4 -4
- data/lib/google/cloud/notebooks/v1beta1/notebook_service/client.rb +41 -19
- data/lib/google/cloud/notebooks/v1beta1/notebook_service/operations.rb +13 -5
- data/lib/google/cloud/notebooks/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95941a74525588728f616f6930cbc7b3593b82af23bc44c3777d7354f9c29fd2
|
|
4
|
+
data.tar.gz: 03ed225e5f7ad051434b4d6d8bd0282a058557023f9cc3b4400c4519ef2b3678
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ebed171281f1e264ad08fb1dc88b8e182c6d95ccd917b66d7578038c2cbf8c31a7af6fd43f91d08ad375f3c5c7cc2965e2abb88daa0fdc73bae744b9f986ee2
|
|
7
|
+
data.tar.gz: 5abd43bed24c35ad5923a99b1e315191fe8b078c3c10920c481a559229a4fe130ef0418cc3808a7a63eccfca00a2875f15c64c86a7cb94a47111729d4eabf64a
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# API v1beta1 service for Cloud AI Platform Notebooks.
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "notebooks.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -312,10 +315,11 @@ module Google
|
|
|
312
315
|
# Customize the options with defaults
|
|
313
316
|
metadata = @config.rpcs.list_instances.metadata.to_h
|
|
314
317
|
|
|
315
|
-
# Set x-goog-api-client
|
|
318
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
316
319
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
317
320
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
318
321
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
322
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
319
323
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
320
324
|
|
|
321
325
|
header_params = {}
|
|
@@ -399,10 +403,11 @@ module Google
|
|
|
399
403
|
# Customize the options with defaults
|
|
400
404
|
metadata = @config.rpcs.get_instance.metadata.to_h
|
|
401
405
|
|
|
402
|
-
# Set x-goog-api-client
|
|
406
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
403
407
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
404
408
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
405
409
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
410
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
406
411
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
407
412
|
|
|
408
413
|
header_params = {}
|
|
@@ -496,10 +501,11 @@ module Google
|
|
|
496
501
|
# Customize the options with defaults
|
|
497
502
|
metadata = @config.rpcs.create_instance.metadata.to_h
|
|
498
503
|
|
|
499
|
-
# Set x-goog-api-client
|
|
504
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
500
505
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
501
506
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
502
507
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
508
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
503
509
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
504
510
|
|
|
505
511
|
header_params = {}
|
|
@@ -598,10 +604,11 @@ module Google
|
|
|
598
604
|
# Customize the options with defaults
|
|
599
605
|
metadata = @config.rpcs.register_instance.metadata.to_h
|
|
600
606
|
|
|
601
|
-
# Set x-goog-api-client
|
|
607
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
602
608
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
603
609
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
604
610
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
611
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
605
612
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
606
613
|
|
|
607
614
|
header_params = {}
|
|
@@ -699,10 +706,11 @@ module Google
|
|
|
699
706
|
# Customize the options with defaults
|
|
700
707
|
metadata = @config.rpcs.set_instance_accelerator.metadata.to_h
|
|
701
708
|
|
|
702
|
-
# Set x-goog-api-client
|
|
709
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
703
710
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
704
711
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
705
712
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
713
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
706
714
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
707
715
|
|
|
708
716
|
header_params = {}
|
|
@@ -796,10 +804,11 @@ module Google
|
|
|
796
804
|
# Customize the options with defaults
|
|
797
805
|
metadata = @config.rpcs.set_instance_machine_type.metadata.to_h
|
|
798
806
|
|
|
799
|
-
# Set x-goog-api-client
|
|
807
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
800
808
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
801
809
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
802
810
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
811
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
803
812
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
804
813
|
|
|
805
814
|
header_params = {}
|
|
@@ -893,10 +902,11 @@ module Google
|
|
|
893
902
|
# Customize the options with defaults
|
|
894
903
|
metadata = @config.rpcs.set_instance_labels.metadata.to_h
|
|
895
904
|
|
|
896
|
-
# Set x-goog-api-client
|
|
905
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
897
906
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
898
907
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
899
908
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
909
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
900
910
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
901
911
|
|
|
902
912
|
header_params = {}
|
|
@@ -987,10 +997,11 @@ module Google
|
|
|
987
997
|
# Customize the options with defaults
|
|
988
998
|
metadata = @config.rpcs.delete_instance.metadata.to_h
|
|
989
999
|
|
|
990
|
-
# Set x-goog-api-client
|
|
1000
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
991
1001
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
992
1002
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
993
1003
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
1004
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
994
1005
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
995
1006
|
|
|
996
1007
|
header_params = {}
|
|
@@ -1081,10 +1092,11 @@ module Google
|
|
|
1081
1092
|
# Customize the options with defaults
|
|
1082
1093
|
metadata = @config.rpcs.start_instance.metadata.to_h
|
|
1083
1094
|
|
|
1084
|
-
# Set x-goog-api-client
|
|
1095
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1085
1096
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1086
1097
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1087
1098
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
1099
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1088
1100
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1089
1101
|
|
|
1090
1102
|
header_params = {}
|
|
@@ -1175,10 +1187,11 @@ module Google
|
|
|
1175
1187
|
# Customize the options with defaults
|
|
1176
1188
|
metadata = @config.rpcs.stop_instance.metadata.to_h
|
|
1177
1189
|
|
|
1178
|
-
# Set x-goog-api-client
|
|
1190
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1179
1191
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1180
1192
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1181
1193
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
1194
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1182
1195
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1183
1196
|
|
|
1184
1197
|
header_params = {}
|
|
@@ -1269,10 +1282,11 @@ module Google
|
|
|
1269
1282
|
# Customize the options with defaults
|
|
1270
1283
|
metadata = @config.rpcs.reset_instance.metadata.to_h
|
|
1271
1284
|
|
|
1272
|
-
# Set x-goog-api-client
|
|
1285
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1273
1286
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1274
1287
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1275
1288
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
1289
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1276
1290
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1277
1291
|
|
|
1278
1292
|
header_params = {}
|
|
@@ -1372,10 +1386,11 @@ module Google
|
|
|
1372
1386
|
# Customize the options with defaults
|
|
1373
1387
|
metadata = @config.rpcs.report_instance_info.metadata.to_h
|
|
1374
1388
|
|
|
1375
|
-
# Set x-goog-api-client
|
|
1389
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1376
1390
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1377
1391
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1378
1392
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
1393
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1379
1394
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1380
1395
|
|
|
1381
1396
|
header_params = {}
|
|
@@ -1462,10 +1477,11 @@ module Google
|
|
|
1462
1477
|
# Customize the options with defaults
|
|
1463
1478
|
metadata = @config.rpcs.is_instance_upgradeable.metadata.to_h
|
|
1464
1479
|
|
|
1465
|
-
# Set x-goog-api-client
|
|
1480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1466
1481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1467
1482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1468
1483
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
1484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1469
1485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1470
1486
|
|
|
1471
1487
|
header_params = {}
|
|
@@ -1558,10 +1574,11 @@ module Google
|
|
|
1558
1574
|
# Customize the options with defaults
|
|
1559
1575
|
metadata = @config.rpcs.upgrade_instance.metadata.to_h
|
|
1560
1576
|
|
|
1561
|
-
# Set x-goog-api-client
|
|
1577
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1562
1578
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1563
1579
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1564
1580
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
1581
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1565
1582
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1566
1583
|
|
|
1567
1584
|
header_params = {}
|
|
@@ -1659,10 +1676,11 @@ module Google
|
|
|
1659
1676
|
# Customize the options with defaults
|
|
1660
1677
|
metadata = @config.rpcs.upgrade_instance_internal.metadata.to_h
|
|
1661
1678
|
|
|
1662
|
-
# Set x-goog-api-client
|
|
1679
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1663
1680
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1664
1681
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1665
1682
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
1683
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1666
1684
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1667
1685
|
|
|
1668
1686
|
header_params = {}
|
|
@@ -1754,10 +1772,11 @@ module Google
|
|
|
1754
1772
|
# Customize the options with defaults
|
|
1755
1773
|
metadata = @config.rpcs.list_environments.metadata.to_h
|
|
1756
1774
|
|
|
1757
|
-
# Set x-goog-api-client
|
|
1775
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1758
1776
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1759
1777
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1760
1778
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
1779
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1761
1780
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1762
1781
|
|
|
1763
1782
|
header_params = {}
|
|
@@ -1841,10 +1860,11 @@ module Google
|
|
|
1841
1860
|
# Customize the options with defaults
|
|
1842
1861
|
metadata = @config.rpcs.get_environment.metadata.to_h
|
|
1843
1862
|
|
|
1844
|
-
# Set x-goog-api-client
|
|
1863
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1845
1864
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1846
1865
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1847
1866
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
1867
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1848
1868
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1849
1869
|
|
|
1850
1870
|
header_params = {}
|
|
@@ -1940,10 +1960,11 @@ module Google
|
|
|
1940
1960
|
# Customize the options with defaults
|
|
1941
1961
|
metadata = @config.rpcs.create_environment.metadata.to_h
|
|
1942
1962
|
|
|
1943
|
-
# Set x-goog-api-client
|
|
1963
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1944
1964
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1945
1965
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1946
1966
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
1967
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1947
1968
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1948
1969
|
|
|
1949
1970
|
header_params = {}
|
|
@@ -2034,10 +2055,11 @@ module Google
|
|
|
2034
2055
|
# Customize the options with defaults
|
|
2035
2056
|
metadata = @config.rpcs.delete_environment.metadata.to_h
|
|
2036
2057
|
|
|
2037
|
-
# Set x-goog-api-client
|
|
2058
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2038
2059
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2039
2060
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2040
2061
|
gapic_version: ::Google::Cloud::Notebooks::V1beta1::VERSION
|
|
2062
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2041
2063
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2042
2064
|
|
|
2043
2065
|
header_params = {}
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module NotebookService
|
|
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 = "notebooks.$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::Notebooks::V1beta1::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::Notebooks::V1beta1::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::Notebooks::V1beta1::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::Notebooks::V1beta1::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::Notebooks::V1beta1::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,
|
|
@@ -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
|
|
@@ -192,9 +196,26 @@ module Google
|
|
|
192
196
|
# @!attribute [rw] common
|
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
194
198
|
# Some settings.
|
|
199
|
+
# @!attribute [rw] experimental_features
|
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
|
201
|
+
# Experimental features to be included during client library generation.
|
|
195
202
|
class PythonSettings
|
|
196
203
|
include ::Google::Protobuf::MessageExts
|
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
205
|
+
|
|
206
|
+
# Experimental features to be included during client library generation.
|
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
|
208
|
+
# by default.
|
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
|
210
|
+
# @return [::Boolean]
|
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
|
214
|
+
# feature in preview packages.
|
|
215
|
+
class ExperimentalFeatures
|
|
216
|
+
include ::Google::Protobuf::MessageExts
|
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
218
|
+
end
|
|
198
219
|
end
|
|
199
220
|
|
|
200
221
|
# Settings for Node client libraries.
|
|
@@ -286,6 +307,13 @@ module Google
|
|
|
286
307
|
# @return [::String]
|
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
|
288
309
|
# This is used to find the method to apply the options.
|
|
310
|
+
#
|
|
311
|
+
# Example:
|
|
312
|
+
#
|
|
313
|
+
# publishing:
|
|
314
|
+
# method_settings:
|
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
316
|
+
# # method settings for CreateFolder...
|
|
289
317
|
# @!attribute [rw] long_running
|
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
291
319
|
# Describes settings to use for long-running operations when generating
|
|
@@ -294,17 +322,14 @@ module Google
|
|
|
294
322
|
#
|
|
295
323
|
# Example of a YAML configuration::
|
|
296
324
|
#
|
|
297
|
-
#
|
|
298
|
-
#
|
|
325
|
+
# publishing:
|
|
326
|
+
# method_settings:
|
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
300
328
|
# long_running:
|
|
301
|
-
# initial_poll_delay:
|
|
302
|
-
# seconds: 60 # 1 minute
|
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
|
303
330
|
# poll_delay_multiplier: 1.5
|
|
304
|
-
# max_poll_delay:
|
|
305
|
-
#
|
|
306
|
-
# total_poll_timeout:
|
|
307
|
-
# seconds: 54000 # 90 minutes
|
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
|
309
334
|
# @return [::Array<::String>]
|
|
310
335
|
# List of top-level fields of the request message, that should be
|
|
@@ -313,8 +338,8 @@ module Google
|
|
|
313
338
|
#
|
|
314
339
|
# Example of a YAML configuration:
|
|
315
340
|
#
|
|
316
|
-
#
|
|
317
|
-
#
|
|
341
|
+
# publishing:
|
|
342
|
+
# method_settings:
|
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
|
319
344
|
# auto_populated_fields:
|
|
320
345
|
# - request_id
|
|
@@ -124,8 +124,13 @@ module Google
|
|
|
124
124
|
# @return [::String]
|
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
|
128
|
-
#
|
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
|
131
|
+
# match the `plural` value.
|
|
132
|
+
#
|
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
|
130
135
|
#
|
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-notebooks-v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.1
|
|
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-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|