google-cloud-compute-v1 2.10.0 → 2.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +9 -3
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +27 -12
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +35 -16
- data/lib/google/cloud/compute/v1/compute_pb.rb +51 -1
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +9 -3
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +39 -18
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +39 -18
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +9 -3
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +5 -1
- data/lib/google/cloud/compute/v1/images/rest/client.rb +25 -11
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +837 -0
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/service_stub.rb +378 -0
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests.rb +47 -0
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +43 -20
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/instance_settings_service/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +517 -0
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/service_stub.rb +190 -0
- data/lib/google/cloud/compute/v1/instance_settings_service/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/instance_settings_service.rb +47 -0
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +99 -48
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +9 -3
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +35 -16
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +25 -11
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +136 -14
- data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +62 -0
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +9 -3
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +31 -14
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +27 -12
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +37 -17
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +41 -19
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +5 -1
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +37 -17
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +5 -1
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +23 -10
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/rest.rb +4 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +25 -11
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +27 -12
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/storage_pool_types/credentials.rb +53 -0
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +609 -0
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/service_stub.rb +249 -0
- data/lib/google/cloud/compute/v1/storage_pool_types/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/storage_pool_types.rb +47 -0
- data/lib/google/cloud/compute/v1/storage_pools/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +1326 -0
- data/lib/google/cloud/compute/v1/storage_pools/rest/service_stub.rb +679 -0
- data/lib/google/cloud/compute/v1/storage_pools/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/storage_pools.rb +47 -0
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +27 -12
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +13 -5
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +25 -11
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +27 -12
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +17 -7
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +21 -9
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +19 -8
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +15 -6
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +11 -4
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +7 -2
- data/lib/google/cloud/compute/v1.rb +4 -0
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/compute/v1/compute.rb +1333 -37
- metadata +22 -2
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# The Images API.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "compute.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -258,12 +261,13 @@ module Google
|
|
258
261
|
# Customize the options with defaults
|
259
262
|
call_metadata = @config.rpcs.delete.metadata.to_h
|
260
263
|
|
261
|
-
# Set x-goog-api-client
|
264
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
262
265
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
263
266
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
264
267
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
265
268
|
transports_version_send: [:rest]
|
266
269
|
|
270
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
267
271
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
268
272
|
|
269
273
|
options.apply_defaults timeout: @config.rpcs.delete.timeout,
|
@@ -350,12 +354,13 @@ module Google
|
|
350
354
|
# Customize the options with defaults
|
351
355
|
call_metadata = @config.rpcs.deprecate.metadata.to_h
|
352
356
|
|
353
|
-
# Set x-goog-api-client
|
357
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
354
358
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
355
359
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
356
360
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
357
361
|
transports_version_send: [:rest]
|
358
362
|
|
363
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
359
364
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
360
365
|
|
361
366
|
options.apply_defaults timeout: @config.rpcs.deprecate.timeout,
|
@@ -438,12 +443,13 @@ module Google
|
|
438
443
|
# Customize the options with defaults
|
439
444
|
call_metadata = @config.rpcs.get.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::Compute::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.get.timeout,
|
@@ -518,12 +524,13 @@ module Google
|
|
518
524
|
# Customize the options with defaults
|
519
525
|
call_metadata = @config.rpcs.get_from_family.metadata.to_h
|
520
526
|
|
521
|
-
# Set x-goog-api-client
|
527
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
522
528
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
523
529
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
524
530
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
525
531
|
transports_version_send: [:rest]
|
526
532
|
|
533
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
527
534
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
528
535
|
|
529
536
|
options.apply_defaults timeout: @config.rpcs.get_from_family.timeout,
|
@@ -600,12 +607,13 @@ module Google
|
|
600
607
|
# Customize the options with defaults
|
601
608
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
602
609
|
|
603
|
-
# Set x-goog-api-client
|
610
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
604
611
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
605
612
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
606
613
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
607
614
|
transports_version_send: [:rest]
|
608
615
|
|
616
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
609
617
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
610
618
|
|
611
619
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -684,12 +692,13 @@ module Google
|
|
684
692
|
# Customize the options with defaults
|
685
693
|
call_metadata = @config.rpcs.insert.metadata.to_h
|
686
694
|
|
687
|
-
# Set x-goog-api-client
|
695
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
688
696
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
689
697
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
690
698
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
691
699
|
transports_version_send: [:rest]
|
692
700
|
|
701
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
693
702
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
694
703
|
|
695
704
|
options.apply_defaults timeout: @config.rpcs.insert.timeout,
|
@@ -780,12 +789,13 @@ module Google
|
|
780
789
|
# Customize the options with defaults
|
781
790
|
call_metadata = @config.rpcs.list.metadata.to_h
|
782
791
|
|
783
|
-
# Set x-goog-api-client
|
792
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
784
793
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
785
794
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
786
795
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
787
796
|
transports_version_send: [:rest]
|
788
797
|
|
798
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
789
799
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
790
800
|
|
791
801
|
options.apply_defaults timeout: @config.rpcs.list.timeout,
|
@@ -865,12 +875,13 @@ module Google
|
|
865
875
|
# Customize the options with defaults
|
866
876
|
call_metadata = @config.rpcs.patch.metadata.to_h
|
867
877
|
|
868
|
-
# Set x-goog-api-client
|
878
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
869
879
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
870
880
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
871
881
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
872
882
|
transports_version_send: [:rest]
|
873
883
|
|
884
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
874
885
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
875
886
|
|
876
887
|
options.apply_defaults timeout: @config.rpcs.patch.timeout,
|
@@ -955,12 +966,13 @@ module Google
|
|
955
966
|
# Customize the options with defaults
|
956
967
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
957
968
|
|
958
|
-
# Set x-goog-api-client
|
969
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
959
970
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
960
971
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
961
972
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
962
973
|
transports_version_send: [:rest]
|
963
974
|
|
975
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
964
976
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
965
977
|
|
966
978
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -1037,12 +1049,13 @@ module Google
|
|
1037
1049
|
# Customize the options with defaults
|
1038
1050
|
call_metadata = @config.rpcs.set_labels.metadata.to_h
|
1039
1051
|
|
1040
|
-
# Set x-goog-api-client
|
1052
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1041
1053
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1042
1054
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1043
1055
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1044
1056
|
transports_version_send: [:rest]
|
1045
1057
|
|
1058
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1046
1059
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1047
1060
|
|
1048
1061
|
options.apply_defaults timeout: @config.rpcs.set_labels.timeout,
|
@@ -1127,12 +1140,13 @@ module Google
|
|
1127
1140
|
# Customize the options with defaults
|
1128
1141
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1129
1142
|
|
1130
|
-
# Set x-goog-api-client
|
1143
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1131
1144
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1132
1145
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1133
1146
|
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
1134
1147
|
transports_version_send: [:rest]
|
1135
1148
|
|
1149
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1136
1150
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1137
1151
|
|
1138
1152
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "googleauth"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module Compute
|
24
|
+
module V1
|
25
|
+
module InstanceGroupManagerResizeRequests
|
26
|
+
# Credentials for the InstanceGroupManagerResizeRequests API.
|
27
|
+
class Credentials < ::Google::Auth::Credentials
|
28
|
+
self.scope = [
|
29
|
+
"https://www.googleapis.com/auth/compute",
|
30
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
31
|
+
]
|
32
|
+
self.env_vars = [
|
33
|
+
"COMPUTE_CREDENTIALS",
|
34
|
+
"COMPUTE_KEYFILE",
|
35
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
36
|
+
"GOOGLE_CLOUD_KEYFILE",
|
37
|
+
"GCLOUD_KEYFILE",
|
38
|
+
"COMPUTE_CREDENTIALS_JSON",
|
39
|
+
"COMPUTE_KEYFILE_JSON",
|
40
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
41
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
42
|
+
"GCLOUD_KEYFILE_JSON"
|
43
|
+
]
|
44
|
+
self.paths = [
|
45
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
46
|
+
]
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|