google-cloud-compute-v1 2.0.0 → 2.1.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 +2 -2
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/compute_pb.rb +145 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +94 -3
- data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +62 -0
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/images/rest/client.rb +5 -5
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +93 -6
- data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +59 -0
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +91 -3
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +62 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +90 -2
- 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 +3 -3
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +93 -2
- data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +62 -0
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_instance_templates/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +624 -0
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/service_stub.rb +291 -0
- data/lib/google/cloud/compute/v1/region_instance_templates/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_instance_templates.rb +47 -0
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/rest.rb +1 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1.rb +1 -0
- data/proto_docs/google/api/client.rb +9 -3
- data/proto_docs/google/cloud/compute/v1/compute.rb +414 -29
- metadata +9 -4
@@ -1702,9 +1702,9 @@ module Google
|
|
1702
1702
|
# * (`String`) The path to a service account key file in JSON format
|
1703
1703
|
# * (`Hash`) A service account key as a Hash
|
1704
1704
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1705
|
-
# (see the [googleauth docs](https://
|
1705
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1706
1706
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1707
|
-
# (see the [signet docs](https://
|
1707
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1708
1708
|
# * (`nil`) indicating no credentials
|
1709
1709
|
# @return [::Object]
|
1710
1710
|
# @!attribute [rw] scope
|
@@ -498,9 +498,9 @@ module Google
|
|
498
498
|
# * (`String`) The path to a service account key file in JSON format
|
499
499
|
# * (`Hash`) A service account key as a Hash
|
500
500
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
501
|
-
# (see the [googleauth docs](https://
|
501
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
|
-
# (see the [signet docs](https://
|
503
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
505
|
# @return [::Object]
|
506
506
|
# @!attribute [rw] scope
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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 RegionInstanceTemplates
|
26
|
+
# Credentials for the RegionInstanceTemplates 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
|