google-apis-compute_v1 0.34.0 → 0.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/compute_v1/classes.rb +107 -36
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +29 -0
- data/lib/google/apis/compute_v1/service.rb +104 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9125b82701a728089b1a1ce976b9f3517dad08e6a12814b5189d0cd19c0db6b6
|
4
|
+
data.tar.gz: 9e271f1456b723e3e39673efd1162c872cfd2c7dd5a86c2bb5aab4f3b7c88627
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cbd987c40dfeee03e4cc41273bfa601cb15d45757ee3a91851d3d6c9789a65a73d1eca5e7b1756788e986d05e68f2353b301b23eb6bdcfb722c62109c4db4cf
|
7
|
+
data.tar.gz: 8b5a820d4df05ec2fc2cc58ca9762221f4a77466d5dc49657c1a93ee7ad1e504b33a981e7697d771a13173ffc0a7fd8c9222fc7d43e2f62b6a18eda672378b29
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.37.0 (2022-05-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220517
|
6
|
+
|
7
|
+
### v0.36.0 (2022-05-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220510
|
10
|
+
|
11
|
+
### v0.35.0 (2022-05-11)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220506
|
14
|
+
|
3
15
|
### v0.34.0 (2022-04-29)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220426
|
@@ -3013,9 +3013,9 @@ module Google
|
|
3013
3013
|
# internal HTTP(S) load balancers and Traffic Director and requires
|
3014
3014
|
# GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is
|
3015
3015
|
# non-persistent and lasts only until the end of the browser session (or
|
3016
|
-
# equivalent). The maximum allowed value is
|
3017
|
-
# the backend service is referenced by a URL map that is bound to target
|
3018
|
-
# proxy that has validateForProxyless field set to true.
|
3016
|
+
# equivalent). The maximum allowed value is two weeks (1,209,600). Not supported
|
3017
|
+
# when the backend service is referenced by a URL map that is bound to target
|
3018
|
+
# gRPC proxy that has validateForProxyless field set to true.
|
3019
3019
|
# Corresponds to the JSON property `affinityCookieTtlSec`
|
3020
3020
|
# @return [Fixnum]
|
3021
3021
|
attr_accessor :affinity_cookie_ttl_sec
|
@@ -8457,21 +8457,26 @@ module Google
|
|
8457
8457
|
class ForwardingRule
|
8458
8458
|
include Google::Apis::Core::Hashable
|
8459
8459
|
|
8460
|
-
# IP address
|
8461
|
-
# this IP address, the forwarding rule directs the traffic to the
|
8462
|
-
#
|
8463
|
-
# an
|
8464
|
-
#
|
8465
|
-
#
|
8466
|
-
#
|
8467
|
-
#
|
8468
|
-
#
|
8469
|
-
#
|
8470
|
-
#
|
8471
|
-
# com/
|
8472
|
-
#
|
8473
|
-
#
|
8474
|
-
#
|
8460
|
+
# IP address for which this forwarding rule accepts traffic. When a client sends
|
8461
|
+
# traffic to this IP address, the forwarding rule directs the traffic to the
|
8462
|
+
# referenced target or backendService. While creating a forwarding rule,
|
8463
|
+
# specifying an IPAddress is required under the following circumstances: - When
|
8464
|
+
# the target is set to targetGrpcProxy and validateForProxyless is set to true,
|
8465
|
+
# the IPAddress should be set to 0.0.0.0. - When the target is a Private Service
|
8466
|
+
# Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can
|
8467
|
+
# optionally specify an IP address that references an existing static (reserved)
|
8468
|
+
# IP address resource. When omitted, Google Cloud assigns an ephemeral IP
|
8469
|
+
# address. Use one of the following formats to specify an IP address while
|
8470
|
+
# creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full
|
8471
|
+
# resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/
|
8472
|
+
# regions/region /addresses/address-name * Partial URL or by name, as in: -
|
8473
|
+
# projects/project_id/regions/region/addresses/address-name - regions/region/
|
8474
|
+
# addresses/address-name - global/addresses/address-name - address-name The
|
8475
|
+
# forwarding rule's target or backendService, and in most cases, also the
|
8476
|
+
# loadBalancingScheme, determine the type of IP address that you can use. For
|
8477
|
+
# detailed information, see [IP address specifications](https://cloud.google.com/
|
8478
|
+
# load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When
|
8479
|
+
# reading an IPAddress, the API always returns the IP address number.
|
8475
8480
|
# Corresponds to the JSON property `IPAddress`
|
8476
8481
|
# @return [String]
|
8477
8482
|
attr_accessor :ip_address
|
@@ -10657,10 +10662,10 @@ module Google
|
|
10657
10662
|
|
10658
10663
|
# The list of host patterns to match. They must be valid hostnames with optional
|
10659
10664
|
# port numbers in the format host:port. * matches any string of ([a-z0-9-.]*).
|
10660
|
-
# In that case, * must be the first character and
|
10661
|
-
#
|
10662
|
-
# is bound to a target gRPC proxy that has the
|
10663
|
-
# true.
|
10665
|
+
# In that case, * must be the first character, and if followed by anything, the
|
10666
|
+
# immediate following character must be either - or .. * based matching is not
|
10667
|
+
# supported when the URL map is bound to a target gRPC proxy that has the
|
10668
|
+
# validateForProxyless field set to true.
|
10664
10669
|
# Corresponds to the JSON property `hosts`
|
10665
10670
|
# @return [Array<String>]
|
10666
10671
|
attr_accessor :hosts
|
@@ -12023,8 +12028,8 @@ module Google
|
|
12023
12028
|
# @return [String]
|
12024
12029
|
attr_accessor :source_snapshot_id
|
12025
12030
|
|
12026
|
-
# The type of the image used to create this disk. The default and only
|
12027
|
-
# RAW
|
12031
|
+
# The type of the image used to create this disk. The default and only valid
|
12032
|
+
# value is RAW.
|
12028
12033
|
# Corresponds to the JSON property `sourceType`
|
12029
12034
|
# @return [String]
|
12030
12035
|
attr_accessor :source_type
|
@@ -13821,12 +13826,16 @@ module Google
|
|
13821
13826
|
# @return [Google::Apis::ComputeV1::FixedOrPercent]
|
13822
13827
|
attr_accessor :max_unavailable
|
13823
13828
|
|
13824
|
-
# Minimal action to be taken on an instance.
|
13825
|
-
#
|
13826
|
-
#
|
13827
|
-
#
|
13828
|
-
#
|
13829
|
-
#
|
13829
|
+
# Minimal action to be taken on an instance. Use this option to minimize
|
13830
|
+
# disruption as much as possible or to apply a more disruptive action than is
|
13831
|
+
# necessary. - To limit disruption as much as possible, set the minimal action
|
13832
|
+
# to REFRESH. If your update requires a more disruptive action, Compute Engine
|
13833
|
+
# performs the necessary action to execute the update. - To apply a more
|
13834
|
+
# disruptive action than is strictly necessary, set the minimal action to
|
13835
|
+
# RESTART or REPLACE. For example, Compute Engine does not need to restart a VM
|
13836
|
+
# to change its metadata. But if your application reads instance metadata only
|
13837
|
+
# when a VM is restarted, you can set the minimal action to RESTART in order to
|
13838
|
+
# pick up metadata changes.
|
13830
13839
|
# Corresponds to the JSON property `minimalAction`
|
13831
13840
|
# @return [String]
|
13832
13841
|
attr_accessor :minimal_action
|
@@ -17895,6 +17904,11 @@ module Google
|
|
17895
17904
|
# @return [Hash<String,Google::Apis::ComputeV1::LocationPolicyLocation>]
|
17896
17905
|
attr_accessor :locations
|
17897
17906
|
|
17907
|
+
# Strategy for distributing VMs across zones in a region.
|
17908
|
+
# Corresponds to the JSON property `targetShape`
|
17909
|
+
# @return [String]
|
17910
|
+
attr_accessor :target_shape
|
17911
|
+
|
17898
17912
|
def initialize(**args)
|
17899
17913
|
update!(**args)
|
17900
17914
|
end
|
@@ -17902,6 +17916,7 @@ module Google
|
|
17902
17916
|
# Update properties of this object
|
17903
17917
|
def update!(**args)
|
17904
17918
|
@locations = args[:locations] if args.key?(:locations)
|
17919
|
+
@target_shape = args[:target_shape] if args.key?(:target_shape)
|
17905
17920
|
end
|
17906
17921
|
end
|
17907
17922
|
|
@@ -28352,9 +28367,9 @@ module Google
|
|
28352
28367
|
class ResourcePolicyGroupPlacementPolicy
|
28353
28368
|
include Google::Apis::Core::Hashable
|
28354
28369
|
|
28355
|
-
# The number of availability domains
|
28356
|
-
# instances are in different availability domain, they
|
28357
|
-
#
|
28370
|
+
# The number of availability domains to spread instances across. If two
|
28371
|
+
# instances are in different availability domain, they are not in the same low
|
28372
|
+
# latency network.
|
28358
28373
|
# Corresponds to the JSON property `availabilityDomainCount`
|
28359
28374
|
# @return [Fixnum]
|
28360
28375
|
attr_accessor :availability_domain_count
|
@@ -28364,7 +28379,9 @@ module Google
|
|
28364
28379
|
# @return [String]
|
28365
28380
|
attr_accessor :collocation
|
28366
28381
|
|
28367
|
-
# Number of
|
28382
|
+
# Number of VMs in this placement group. Google does not recommend that you use
|
28383
|
+
# this field unless you use a compact policy and you want your policy to work
|
28384
|
+
# only if it contains this exact number of VMs.
|
28368
28385
|
# Corresponds to the JSON property `vmCount`
|
28369
28386
|
# @return [Fixnum]
|
28370
28387
|
attr_accessor :vm_count
|
@@ -30980,8 +30997,8 @@ module Google
|
|
30980
30997
|
|
30981
30998
|
# Defines the maintenance behavior for this instance. For standard instances,
|
30982
30999
|
# the default behavior is MIGRATE. For preemptible instances, the default and
|
30983
|
-
# only possible behavior is TERMINATE. For more information, see Set VM
|
30984
|
-
#
|
31000
|
+
# only possible behavior is TERMINATE. For more information, see Set VM host
|
31001
|
+
# maintenance policy.
|
30985
31002
|
# Corresponds to the JSON property `onHostMaintenance`
|
30986
31003
|
# @return [String]
|
30987
31004
|
attr_accessor :on_host_maintenance
|
@@ -35782,6 +35799,25 @@ module Google
|
|
35782
35799
|
end
|
35783
35800
|
end
|
35784
35801
|
|
35802
|
+
#
|
35803
|
+
class TargetHttpsProxiesSetCertificateMapRequest
|
35804
|
+
include Google::Apis::Core::Hashable
|
35805
|
+
|
35806
|
+
# URL of the Certificate Map to associate with this TargetHttpsProxy.
|
35807
|
+
# Corresponds to the JSON property `certificateMap`
|
35808
|
+
# @return [String]
|
35809
|
+
attr_accessor :certificate_map
|
35810
|
+
|
35811
|
+
def initialize(**args)
|
35812
|
+
update!(**args)
|
35813
|
+
end
|
35814
|
+
|
35815
|
+
# Update properties of this object
|
35816
|
+
def update!(**args)
|
35817
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
35818
|
+
end
|
35819
|
+
end
|
35820
|
+
|
35785
35821
|
#
|
35786
35822
|
class TargetHttpsProxiesSetQuicOverrideRequest
|
35787
35823
|
include Google::Apis::Core::Hashable
|
@@ -35845,6 +35881,13 @@ module Google
|
|
35845
35881
|
# @return [String]
|
35846
35882
|
attr_accessor :authorization_policy
|
35847
35883
|
|
35884
|
+
# URL of a certificate map that identifies a certificate map associated with the
|
35885
|
+
# given target proxy. This field can only be set for global target proxies. If
|
35886
|
+
# set, sslCertificates will be ignored.
|
35887
|
+
# Corresponds to the JSON property `certificateMap`
|
35888
|
+
# @return [String]
|
35889
|
+
attr_accessor :certificate_map
|
35890
|
+
|
35848
35891
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
35849
35892
|
# Corresponds to the JSON property `creationTimestamp`
|
35850
35893
|
# @return [String]
|
@@ -35965,6 +36008,7 @@ module Google
|
|
35965
36008
|
# Update properties of this object
|
35966
36009
|
def update!(**args)
|
35967
36010
|
@authorization_policy = args[:authorization_policy] if args.key?(:authorization_policy)
|
36011
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
35968
36012
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
35969
36013
|
@description = args[:description] if args.key?(:description)
|
35970
36014
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
@@ -37252,6 +37296,25 @@ module Google
|
|
37252
37296
|
end
|
37253
37297
|
end
|
37254
37298
|
|
37299
|
+
#
|
37300
|
+
class TargetSslProxiesSetCertificateMapRequest
|
37301
|
+
include Google::Apis::Core::Hashable
|
37302
|
+
|
37303
|
+
# URL of the Certificate Map to associate with this TargetSslProxy.
|
37304
|
+
# Corresponds to the JSON property `certificateMap`
|
37305
|
+
# @return [String]
|
37306
|
+
attr_accessor :certificate_map
|
37307
|
+
|
37308
|
+
def initialize(**args)
|
37309
|
+
update!(**args)
|
37310
|
+
end
|
37311
|
+
|
37312
|
+
# Update properties of this object
|
37313
|
+
def update!(**args)
|
37314
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
37315
|
+
end
|
37316
|
+
end
|
37317
|
+
|
37255
37318
|
#
|
37256
37319
|
class TargetSslProxiesSetProxyHeaderRequest
|
37257
37320
|
include Google::Apis::Core::Hashable
|
@@ -37300,6 +37363,13 @@ module Google
|
|
37300
37363
|
class TargetSslProxy
|
37301
37364
|
include Google::Apis::Core::Hashable
|
37302
37365
|
|
37366
|
+
# URL of a certificate map that identifies a certificate map associated with the
|
37367
|
+
# given target proxy. This field can only be set for global target proxies. If
|
37368
|
+
# set, sslCertificates will be ignored.
|
37369
|
+
# Corresponds to the JSON property `certificateMap`
|
37370
|
+
# @return [String]
|
37371
|
+
attr_accessor :certificate_map
|
37372
|
+
|
37303
37373
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
37304
37374
|
# Corresponds to the JSON property `creationTimestamp`
|
37305
37375
|
# @return [String]
|
@@ -37370,6 +37440,7 @@ module Google
|
|
37370
37440
|
|
37371
37441
|
# Update properties of this object
|
37372
37442
|
def update!(**args)
|
37443
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
37373
37444
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
37374
37445
|
@description = args[:description] if args.key?(:description)
|
37375
37446
|
@id = args[:id] if args.key?(:id)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeV1
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.37.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220517"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -4702,6 +4702,12 @@ module Google
|
|
4702
4702
|
include Google::Apis::Core::JsonObjectSupport
|
4703
4703
|
end
|
4704
4704
|
|
4705
|
+
class TargetHttpsProxiesSetCertificateMapRequest
|
4706
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4707
|
+
|
4708
|
+
include Google::Apis::Core::JsonObjectSupport
|
4709
|
+
end
|
4710
|
+
|
4705
4711
|
class TargetHttpsProxiesSetQuicOverrideRequest
|
4706
4712
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4707
4713
|
|
@@ -4918,6 +4924,12 @@ module Google
|
|
4918
4924
|
include Google::Apis::Core::JsonObjectSupport
|
4919
4925
|
end
|
4920
4926
|
|
4927
|
+
class TargetSslProxiesSetCertificateMapRequest
|
4928
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4929
|
+
|
4930
|
+
include Google::Apis::Core::JsonObjectSupport
|
4931
|
+
end
|
4932
|
+
|
4921
4933
|
class TargetSslProxiesSetProxyHeaderRequest
|
4922
4934
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4923
4935
|
|
@@ -9682,6 +9694,7 @@ module Google
|
|
9682
9694
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9683
9695
|
hash :locations, as: 'locations', class: Google::Apis::ComputeV1::LocationPolicyLocation, decorator: Google::Apis::ComputeV1::LocationPolicyLocation::Representation
|
9684
9696
|
|
9697
|
+
property :target_shape, as: 'targetShape'
|
9685
9698
|
end
|
9686
9699
|
end
|
9687
9700
|
|
@@ -14238,6 +14251,13 @@ module Google
|
|
14238
14251
|
end
|
14239
14252
|
end
|
14240
14253
|
|
14254
|
+
class TargetHttpsProxiesSetCertificateMapRequest
|
14255
|
+
# @private
|
14256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14257
|
+
property :certificate_map, as: 'certificateMap'
|
14258
|
+
end
|
14259
|
+
end
|
14260
|
+
|
14241
14261
|
class TargetHttpsProxiesSetQuicOverrideRequest
|
14242
14262
|
# @private
|
14243
14263
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14256,6 +14276,7 @@ module Google
|
|
14256
14276
|
# @private
|
14257
14277
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14258
14278
|
property :authorization_policy, as: 'authorizationPolicy'
|
14279
|
+
property :certificate_map, as: 'certificateMap'
|
14259
14280
|
property :creation_timestamp, as: 'creationTimestamp'
|
14260
14281
|
property :description, as: 'description'
|
14261
14282
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
@@ -14613,6 +14634,13 @@ module Google
|
|
14613
14634
|
end
|
14614
14635
|
end
|
14615
14636
|
|
14637
|
+
class TargetSslProxiesSetCertificateMapRequest
|
14638
|
+
# @private
|
14639
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14640
|
+
property :certificate_map, as: 'certificateMap'
|
14641
|
+
end
|
14642
|
+
end
|
14643
|
+
|
14616
14644
|
class TargetSslProxiesSetProxyHeaderRequest
|
14617
14645
|
# @private
|
14618
14646
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14630,6 +14658,7 @@ module Google
|
|
14630
14658
|
class TargetSslProxy
|
14631
14659
|
# @private
|
14632
14660
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14661
|
+
property :certificate_map, as: 'certificateMap'
|
14633
14662
|
property :creation_timestamp, as: 'creationTimestamp'
|
14634
14663
|
property :description, as: 'description'
|
14635
14664
|
property :id, :numeric_string => true, as: 'id'
|
@@ -11889,8 +11889,8 @@ module Google
|
|
11889
11889
|
# Sets an instance's scheduling options. You can only call this method on a
|
11890
11890
|
# stopped instance, that is, a VM instance that is in a `TERMINATED` state. See
|
11891
11891
|
# Instance Life Cycle for more information on the possible instance states. For
|
11892
|
-
# more information about setting scheduling options for a VM, see Set VM
|
11893
|
-
#
|
11892
|
+
# more information about setting scheduling options for a VM, see Set VM host
|
11893
|
+
# maintenance policy.
|
11894
11894
|
# @param [String] project
|
11895
11895
|
# Project ID for this request.
|
11896
11896
|
# @param [String] zone
|
@@ -32206,6 +32206,57 @@ module Google
|
|
32206
32206
|
execute_or_queue_command(command, &block)
|
32207
32207
|
end
|
32208
32208
|
|
32209
|
+
# Changes the Certificate Map for TargetHttpsProxy.
|
32210
|
+
# @param [String] project
|
32211
|
+
# Project ID for this request.
|
32212
|
+
# @param [String] target_https_proxy
|
32213
|
+
# Name of the TargetHttpsProxy resource whose CertificateMap is to be set. The
|
32214
|
+
# name must be 1-63 characters long, and comply with RFC1035.
|
32215
|
+
# @param [Google::Apis::ComputeV1::TargetHttpsProxiesSetCertificateMapRequest] target_https_proxies_set_certificate_map_request_object
|
32216
|
+
# @param [String] request_id
|
32217
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
32218
|
+
# that if you must retry your request, the server will know to ignore the
|
32219
|
+
# request if it has already been completed. For example, consider a situation
|
32220
|
+
# where you make an initial request and the request times out. If you make the
|
32221
|
+
# request again with the same request ID, the server can check if original
|
32222
|
+
# operation with the same request ID was received, and if so, will ignore the
|
32223
|
+
# second request. This prevents clients from accidentally creating duplicate
|
32224
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
32225
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
32226
|
+
# @param [String] fields
|
32227
|
+
# Selector specifying which fields to include in a partial response.
|
32228
|
+
# @param [String] quota_user
|
32229
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
32230
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
32231
|
+
# @param [String] user_ip
|
32232
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
32233
|
+
# @param [Google::Apis::RequestOptions] options
|
32234
|
+
# Request-specific options
|
32235
|
+
#
|
32236
|
+
# @yield [result, err] Result & error if block supplied
|
32237
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
32238
|
+
# @yieldparam err [StandardError] error object if request failed
|
32239
|
+
#
|
32240
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
32241
|
+
#
|
32242
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
32243
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
32244
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
32245
|
+
def set_target_https_proxy_certificate_map(project, target_https_proxy, target_https_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
32246
|
+
command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap', options)
|
32247
|
+
command.request_representation = Google::Apis::ComputeV1::TargetHttpsProxiesSetCertificateMapRequest::Representation
|
32248
|
+
command.request_object = target_https_proxies_set_certificate_map_request_object
|
32249
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
32250
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
32251
|
+
command.params['project'] = project unless project.nil?
|
32252
|
+
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
32253
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
32254
|
+
command.query['fields'] = fields unless fields.nil?
|
32255
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
32256
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
32257
|
+
execute_or_queue_command(command, &block)
|
32258
|
+
end
|
32259
|
+
|
32209
32260
|
# Sets the QUIC override policy for TargetHttpsProxy.
|
32210
32261
|
# @param [String] project
|
32211
32262
|
# Project ID for this request.
|
@@ -33595,6 +33646,57 @@ module Google
|
|
33595
33646
|
execute_or_queue_command(command, &block)
|
33596
33647
|
end
|
33597
33648
|
|
33649
|
+
# Changes the Certificate Map for TargetSslProxy.
|
33650
|
+
# @param [String] project
|
33651
|
+
# Project ID for this request.
|
33652
|
+
# @param [String] target_ssl_proxy
|
33653
|
+
# Name of the TargetSslProxy resource whose CertificateMap is to be set. The
|
33654
|
+
# name must be 1-63 characters long, and comply with RFC1035.
|
33655
|
+
# @param [Google::Apis::ComputeV1::TargetSslProxiesSetCertificateMapRequest] target_ssl_proxies_set_certificate_map_request_object
|
33656
|
+
# @param [String] request_id
|
33657
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
33658
|
+
# that if you must retry your request, the server will know to ignore the
|
33659
|
+
# request if it has already been completed. For example, consider a situation
|
33660
|
+
# where you make an initial request and the request times out. If you make the
|
33661
|
+
# request again with the same request ID, the server can check if original
|
33662
|
+
# operation with the same request ID was received, and if so, will ignore the
|
33663
|
+
# second request. This prevents clients from accidentally creating duplicate
|
33664
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
33665
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
33666
|
+
# @param [String] fields
|
33667
|
+
# Selector specifying which fields to include in a partial response.
|
33668
|
+
# @param [String] quota_user
|
33669
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
33670
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
33671
|
+
# @param [String] user_ip
|
33672
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
33673
|
+
# @param [Google::Apis::RequestOptions] options
|
33674
|
+
# Request-specific options
|
33675
|
+
#
|
33676
|
+
# @yield [result, err] Result & error if block supplied
|
33677
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
33678
|
+
# @yieldparam err [StandardError] error object if request failed
|
33679
|
+
#
|
33680
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
33681
|
+
#
|
33682
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
33683
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
33684
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
33685
|
+
def set_target_ssl_proxy_certificate_map(project, target_ssl_proxy, target_ssl_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
33686
|
+
command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap', options)
|
33687
|
+
command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetCertificateMapRequest::Representation
|
33688
|
+
command.request_object = target_ssl_proxies_set_certificate_map_request_object
|
33689
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
33690
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
33691
|
+
command.params['project'] = project unless project.nil?
|
33692
|
+
command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
|
33693
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
33694
|
+
command.query['fields'] = fields unless fields.nil?
|
33695
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
33696
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
33697
|
+
execute_or_queue_command(command, &block)
|
33698
|
+
end
|
33699
|
+
|
33598
33700
|
# Changes the ProxyHeaderType for TargetSslProxy.
|
33599
33701
|
# @param [String] project
|
33600
33702
|
# Project ID for this request.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.37.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: 2022-05-
|
11
|
+
date: 2022-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.37.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Compute Engine API V1
|