google-apis-compute_v1 0.34.0 → 0.35.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e3c5ba55a7216d0799913ea7714ff4f288e86e3e1a5f174d88d3fd25ec879ef0
|
|
4
|
+
data.tar.gz: 7c48265750e75e45babb5f5ca1e5f654ac7663bdb509cfcdbdc5d2092d90383e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 04f17d61ac623ffa2d454a81d6b5ebb8ddc2ca64386d289b222b62f574436d48ac68328db753c37850a5ee152c2224d00d08f4ac4c419125c35e39950fdad6ec
|
|
7
|
+
data.tar.gz: e5a34ae79a349163de9c092b1650d649dbbd38124b3f1974b68c2814d6e1d0c0c705eaf8a37b9ffed33ce67de2dea2966fb853568633fbee7258cdaf4e3e35e6
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
@@ -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
|
|
@@ -28352,9 +28361,9 @@ module Google
|
|
|
28352
28361
|
class ResourcePolicyGroupPlacementPolicy
|
|
28353
28362
|
include Google::Apis::Core::Hashable
|
|
28354
28363
|
|
|
28355
|
-
# The number of availability domains
|
|
28356
|
-
# instances are in different availability domain, they
|
|
28357
|
-
#
|
|
28364
|
+
# The number of availability domains to spread instances across. If two
|
|
28365
|
+
# instances are in different availability domain, they are not in the same low
|
|
28366
|
+
# latency network.
|
|
28358
28367
|
# Corresponds to the JSON property `availabilityDomainCount`
|
|
28359
28368
|
# @return [Fixnum]
|
|
28360
28369
|
attr_accessor :availability_domain_count
|
|
@@ -28364,7 +28373,9 @@ module Google
|
|
|
28364
28373
|
# @return [String]
|
|
28365
28374
|
attr_accessor :collocation
|
|
28366
28375
|
|
|
28367
|
-
# Number of
|
|
28376
|
+
# Number of VMs in this placement group. Google does not recommend that you use
|
|
28377
|
+
# this field unless you use a compact policy and you want your policy to work
|
|
28378
|
+
# only if it contains this exact number of VMs.
|
|
28368
28379
|
# Corresponds to the JSON property `vmCount`
|
|
28369
28380
|
# @return [Fixnum]
|
|
28370
28381
|
attr_accessor :vm_count
|
|
@@ -35782,6 +35793,25 @@ module Google
|
|
|
35782
35793
|
end
|
|
35783
35794
|
end
|
|
35784
35795
|
|
|
35796
|
+
#
|
|
35797
|
+
class TargetHttpsProxiesSetCertificateMapRequest
|
|
35798
|
+
include Google::Apis::Core::Hashable
|
|
35799
|
+
|
|
35800
|
+
# URL of the Certificate Map to associate with this TargetHttpsProxy.
|
|
35801
|
+
# Corresponds to the JSON property `certificateMap`
|
|
35802
|
+
# @return [String]
|
|
35803
|
+
attr_accessor :certificate_map
|
|
35804
|
+
|
|
35805
|
+
def initialize(**args)
|
|
35806
|
+
update!(**args)
|
|
35807
|
+
end
|
|
35808
|
+
|
|
35809
|
+
# Update properties of this object
|
|
35810
|
+
def update!(**args)
|
|
35811
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
|
35812
|
+
end
|
|
35813
|
+
end
|
|
35814
|
+
|
|
35785
35815
|
#
|
|
35786
35816
|
class TargetHttpsProxiesSetQuicOverrideRequest
|
|
35787
35817
|
include Google::Apis::Core::Hashable
|
|
@@ -35845,6 +35875,13 @@ module Google
|
|
|
35845
35875
|
# @return [String]
|
|
35846
35876
|
attr_accessor :authorization_policy
|
|
35847
35877
|
|
|
35878
|
+
# URL of a certificate map that identifies a certificate map associated with the
|
|
35879
|
+
# given target proxy. This field can only be set for global target proxies. If
|
|
35880
|
+
# set, sslCertificates will be ignored.
|
|
35881
|
+
# Corresponds to the JSON property `certificateMap`
|
|
35882
|
+
# @return [String]
|
|
35883
|
+
attr_accessor :certificate_map
|
|
35884
|
+
|
|
35848
35885
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
35849
35886
|
# Corresponds to the JSON property `creationTimestamp`
|
|
35850
35887
|
# @return [String]
|
|
@@ -35965,6 +36002,7 @@ module Google
|
|
|
35965
36002
|
# Update properties of this object
|
|
35966
36003
|
def update!(**args)
|
|
35967
36004
|
@authorization_policy = args[:authorization_policy] if args.key?(:authorization_policy)
|
|
36005
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
|
35968
36006
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
35969
36007
|
@description = args[:description] if args.key?(:description)
|
|
35970
36008
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
@@ -37252,6 +37290,25 @@ module Google
|
|
|
37252
37290
|
end
|
|
37253
37291
|
end
|
|
37254
37292
|
|
|
37293
|
+
#
|
|
37294
|
+
class TargetSslProxiesSetCertificateMapRequest
|
|
37295
|
+
include Google::Apis::Core::Hashable
|
|
37296
|
+
|
|
37297
|
+
# URL of the Certificate Map to associate with this TargetSslProxy.
|
|
37298
|
+
# Corresponds to the JSON property `certificateMap`
|
|
37299
|
+
# @return [String]
|
|
37300
|
+
attr_accessor :certificate_map
|
|
37301
|
+
|
|
37302
|
+
def initialize(**args)
|
|
37303
|
+
update!(**args)
|
|
37304
|
+
end
|
|
37305
|
+
|
|
37306
|
+
# Update properties of this object
|
|
37307
|
+
def update!(**args)
|
|
37308
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
|
37309
|
+
end
|
|
37310
|
+
end
|
|
37311
|
+
|
|
37255
37312
|
#
|
|
37256
37313
|
class TargetSslProxiesSetProxyHeaderRequest
|
|
37257
37314
|
include Google::Apis::Core::Hashable
|
|
@@ -37300,6 +37357,13 @@ module Google
|
|
|
37300
37357
|
class TargetSslProxy
|
|
37301
37358
|
include Google::Apis::Core::Hashable
|
|
37302
37359
|
|
|
37360
|
+
# URL of a certificate map that identifies a certificate map associated with the
|
|
37361
|
+
# given target proxy. This field can only be set for global target proxies. If
|
|
37362
|
+
# set, sslCertificates will be ignored.
|
|
37363
|
+
# Corresponds to the JSON property `certificateMap`
|
|
37364
|
+
# @return [String]
|
|
37365
|
+
attr_accessor :certificate_map
|
|
37366
|
+
|
|
37303
37367
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
37304
37368
|
# Corresponds to the JSON property `creationTimestamp`
|
|
37305
37369
|
# @return [String]
|
|
@@ -37370,6 +37434,7 @@ module Google
|
|
|
37370
37434
|
|
|
37371
37435
|
# Update properties of this object
|
|
37372
37436
|
def update!(**args)
|
|
37437
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
|
37373
37438
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
37374
37439
|
@description = args[:description] if args.key?(:description)
|
|
37375
37440
|
@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.35.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 = "20220506"
|
|
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
|
|
|
@@ -14238,6 +14250,13 @@ module Google
|
|
|
14238
14250
|
end
|
|
14239
14251
|
end
|
|
14240
14252
|
|
|
14253
|
+
class TargetHttpsProxiesSetCertificateMapRequest
|
|
14254
|
+
# @private
|
|
14255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14256
|
+
property :certificate_map, as: 'certificateMap'
|
|
14257
|
+
end
|
|
14258
|
+
end
|
|
14259
|
+
|
|
14241
14260
|
class TargetHttpsProxiesSetQuicOverrideRequest
|
|
14242
14261
|
# @private
|
|
14243
14262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -14256,6 +14275,7 @@ module Google
|
|
|
14256
14275
|
# @private
|
|
14257
14276
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14258
14277
|
property :authorization_policy, as: 'authorizationPolicy'
|
|
14278
|
+
property :certificate_map, as: 'certificateMap'
|
|
14259
14279
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
14260
14280
|
property :description, as: 'description'
|
|
14261
14281
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
|
@@ -14613,6 +14633,13 @@ module Google
|
|
|
14613
14633
|
end
|
|
14614
14634
|
end
|
|
14615
14635
|
|
|
14636
|
+
class TargetSslProxiesSetCertificateMapRequest
|
|
14637
|
+
# @private
|
|
14638
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14639
|
+
property :certificate_map, as: 'certificateMap'
|
|
14640
|
+
end
|
|
14641
|
+
end
|
|
14642
|
+
|
|
14616
14643
|
class TargetSslProxiesSetProxyHeaderRequest
|
|
14617
14644
|
# @private
|
|
14618
14645
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -14630,6 +14657,7 @@ module Google
|
|
|
14630
14657
|
class TargetSslProxy
|
|
14631
14658
|
# @private
|
|
14632
14659
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14660
|
+
property :certificate_map, as: 'certificateMap'
|
|
14633
14661
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
14634
14662
|
property :description, as: 'description'
|
|
14635
14663
|
property :id, :numeric_string => true, as: 'id'
|
|
@@ -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.35.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-16 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.35.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: []
|