google-cloud-compute-v1 1.2.0 → 1.3.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/compute_pb.rb +577 -1
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +3 -1
- data/lib/google/cloud/compute/v1/network_edge_security_services/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +679 -0
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +279 -0
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/network_edge_security_services.rb +44 -0
- data/lib/google/cloud/compute/v1/network_firewall_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +1552 -0
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +778 -0
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/network_firewall_policies.rb +44 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +1670 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +823 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies.rb +44 -0
- data/lib/google/cloud/compute/v1/region_security_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +676 -0
- data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +276 -0
- data/lib/google/cloud/compute/v1/region_security_policies/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/region_security_policies.rb +44 -0
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +87 -0
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +86 -0
- data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +50 -0
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1.rb +4 -0
- data/proto_docs/google/cloud/compute/v1/compute.rb +1562 -65
- metadata +22 -2
@@ -351,7 +351,7 @@ module Google
|
|
351
351
|
# @param disk [::String]
|
352
352
|
# Name of the persistent disk to snapshot.
|
353
353
|
# @param guest_flush [::Boolean]
|
354
|
-
# [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
|
354
|
+
# [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
|
355
355
|
# @param project [::String]
|
356
356
|
# Project ID for this request.
|
357
357
|
# @param request_id [::String]
|
@@ -441,7 +441,7 @@ module Google
|
|
441
441
|
uri = "/compute/v1/locations/global/firewallPolicies"
|
442
442
|
body = request_pb.firewall_policy_resource.to_json
|
443
443
|
query_string_params = {}
|
444
|
-
query_string_params["parentId"] = request_pb.parent_id.to_s
|
444
|
+
query_string_params["parentId"] = request_pb.parent_id.to_s
|
445
445
|
query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
|
446
446
|
|
447
447
|
[uri, body, query_string_params]
|
@@ -1656,7 +1656,7 @@ module Google
|
|
1656
1656
|
end
|
1657
1657
|
|
1658
1658
|
##
|
1659
|
-
# Performs a reset on the instance. This is a hard reset
|
1659
|
+
# Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. For more information, see Resetting an instance.
|
1660
1660
|
#
|
1661
1661
|
# @overload reset(request, options = nil)
|
1662
1662
|
# Pass arguments to `reset` via a request object, either of type
|
@@ -3272,8 +3272,10 @@ module Google
|
|
3272
3272
|
# The body resource for this request
|
3273
3273
|
# @param minimal_action [::String]
|
3274
3274
|
# Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
|
3275
|
+
# Check the MinimalAction enum for the list of possible values.
|
3275
3276
|
# @param most_disruptive_allowed_action [::String]
|
3276
3277
|
# Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
|
3278
|
+
# Check the MostDisruptiveAllowedAction enum for the list of possible values.
|
3277
3279
|
# @param project [::String]
|
3278
3280
|
# Project ID for this request.
|
3279
3281
|
# @param request_id [::String]
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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 NetworkEdgeSecurityServices
|
26
|
+
# Credentials for the NetworkEdgeSecurityServices 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
|