google-apis-compute_v1 0.32.0 → 0.35.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 +138 -39
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +32 -0
- data/lib/google/apis/compute_v1/service.rb +102 -0
- metadata +3 -3
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
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2022-05-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220506
|
6
|
+
|
7
|
+
### v0.34.0 (2022-04-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220426
|
10
|
+
|
11
|
+
### v0.33.0 (2022-04-22)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220420
|
14
|
+
|
3
15
|
### v0.32.0 (2022-04-16)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220405
|
@@ -1284,9 +1284,10 @@ module Google
|
|
1284
1284
|
|
1285
1285
|
# [Input Only] Specifies the parameters for a new disk that will be created
|
1286
1286
|
# alongside the new instance. Use initialization parameters to create boot disks
|
1287
|
-
# or local SSDs attached to the new instance. This
|
1288
|
-
#
|
1289
|
-
#
|
1287
|
+
# or local SSDs attached to the new instance. This field is persisted and
|
1288
|
+
# returned for instanceTemplate and not returned in the context of instance.
|
1289
|
+
# This property is mutually exclusive with the source property; you can only
|
1290
|
+
# define one or the other, but not both.
|
1290
1291
|
# Corresponds to the JSON property `initializeParams`
|
1291
1292
|
# @return [Google::Apis::ComputeV1::AttachedDiskInitializeParams]
|
1292
1293
|
attr_accessor :initialize_params
|
@@ -1366,9 +1367,10 @@ module Google
|
|
1366
1367
|
|
1367
1368
|
# [Input Only] Specifies the parameters for a new disk that will be created
|
1368
1369
|
# alongside the new instance. Use initialization parameters to create boot disks
|
1369
|
-
# or local SSDs attached to the new instance. This
|
1370
|
-
#
|
1371
|
-
#
|
1370
|
+
# or local SSDs attached to the new instance. This field is persisted and
|
1371
|
+
# returned for instanceTemplate and not returned in the context of instance.
|
1372
|
+
# This property is mutually exclusive with the source property; you can only
|
1373
|
+
# define one or the other, but not both.
|
1372
1374
|
class AttachedDiskInitializeParams
|
1373
1375
|
include Google::Apis::Core::Hashable
|
1374
1376
|
|
@@ -2828,9 +2830,9 @@ module Google
|
|
2828
2830
|
# @return [Array<String>]
|
2829
2831
|
attr_accessor :include_http_headers
|
2830
2832
|
|
2831
|
-
# Names of query string parameters to include in cache keys.
|
2832
|
-
#
|
2833
|
-
#
|
2833
|
+
# Names of query string parameters to include in cache keys. Default parameters
|
2834
|
+
# are always included. '&' and '=' will be percent encoded and not treated as
|
2835
|
+
# delimiters.
|
2834
2836
|
# Corresponds to the JSON property `queryStringWhitelist`
|
2835
2837
|
# @return [Array<String>]
|
2836
2838
|
attr_accessor :query_string_whitelist
|
@@ -3268,6 +3270,13 @@ module Google
|
|
3268
3270
|
# @return [String]
|
3269
3271
|
attr_accessor :self_link
|
3270
3272
|
|
3273
|
+
# URLs of networkservices.ServiceBinding resources. Can only be set if load
|
3274
|
+
# balancing scheme is INTERNAL_SELF_MANAGED. If set, lists of backends and
|
3275
|
+
# health checks must be both empty.
|
3276
|
+
# Corresponds to the JSON property `serviceBindings`
|
3277
|
+
# @return [Array<String>]
|
3278
|
+
attr_accessor :service_bindings
|
3279
|
+
|
3271
3280
|
# Type of session affinity to use. The default is NONE. Only NONE and
|
3272
3281
|
# HEADER_FIELD are supported when the backend service is referenced by a URL map
|
3273
3282
|
# that is bound to target gRPC proxy that has validateForProxyless field set to
|
@@ -3336,6 +3345,7 @@ module Google
|
|
3336
3345
|
@security_policy = args[:security_policy] if args.key?(:security_policy)
|
3337
3346
|
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
3338
3347
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3348
|
+
@service_bindings = args[:service_bindings] if args.key?(:service_bindings)
|
3339
3349
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
3340
3350
|
@subsetting = args[:subsetting] if args.key?(:subsetting)
|
3341
3351
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
@@ -8447,21 +8457,26 @@ module Google
|
|
8447
8457
|
class ForwardingRule
|
8448
8458
|
include Google::Apis::Core::Hashable
|
8449
8459
|
|
8450
|
-
# IP address
|
8451
|
-
# this IP address, the forwarding rule directs the traffic to the
|
8452
|
-
#
|
8453
|
-
# an
|
8454
|
-
#
|
8455
|
-
#
|
8456
|
-
#
|
8457
|
-
#
|
8458
|
-
#
|
8459
|
-
#
|
8460
|
-
#
|
8461
|
-
# com/
|
8462
|
-
#
|
8463
|
-
#
|
8464
|
-
#
|
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.
|
8465
8480
|
# Corresponds to the JSON property `IPAddress`
|
8466
8481
|
# @return [String]
|
8467
8482
|
attr_accessor :ip_address
|
@@ -8629,6 +8644,14 @@ module Google
|
|
8629
8644
|
# @return [String]
|
8630
8645
|
attr_accessor :network_tier
|
8631
8646
|
|
8647
|
+
# This is used in PSC consumer ForwardingRule to control whether it should try
|
8648
|
+
# to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this
|
8649
|
+
# field.
|
8650
|
+
# Corresponds to the JSON property `noAutomateDnsZone`
|
8651
|
+
# @return [Boolean]
|
8652
|
+
attr_accessor :no_automate_dns_zone
|
8653
|
+
alias_method :no_automate_dns_zone?, :no_automate_dns_zone
|
8654
|
+
|
8632
8655
|
# This field can be used only if: - Load balancing scheme is one of EXTERNAL,
|
8633
8656
|
# INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or
|
8634
8657
|
# SCTP. Packets addressed to ports in the specified range will be forwarded to
|
@@ -8740,6 +8763,7 @@ module Google
|
|
8740
8763
|
@name = args[:name] if args.key?(:name)
|
8741
8764
|
@network = args[:network] if args.key?(:network)
|
8742
8765
|
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
8766
|
+
@no_automate_dns_zone = args[:no_automate_dns_zone] if args.key?(:no_automate_dns_zone)
|
8743
8767
|
@port_range = args[:port_range] if args.key?(:port_range)
|
8744
8768
|
@ports = args[:ports] if args.key?(:ports)
|
8745
8769
|
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
@@ -10638,10 +10662,10 @@ module Google
|
|
10638
10662
|
|
10639
10663
|
# The list of host patterns to match. They must be valid hostnames with optional
|
10640
10664
|
# port numbers in the format host:port. * matches any string of ([a-z0-9-.]*).
|
10641
|
-
# In that case, * must be the first character and
|
10642
|
-
#
|
10643
|
-
# is bound to a target gRPC proxy that has the
|
10644
|
-
# 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.
|
10645
10669
|
# Corresponds to the JSON property `hosts`
|
10646
10670
|
# @return [Array<String>]
|
10647
10671
|
attr_accessor :hosts
|
@@ -13802,12 +13826,16 @@ module Google
|
|
13802
13826
|
# @return [Google::Apis::ComputeV1::FixedOrPercent]
|
13803
13827
|
attr_accessor :max_unavailable
|
13804
13828
|
|
13805
|
-
# Minimal action to be taken on an instance.
|
13806
|
-
#
|
13807
|
-
#
|
13808
|
-
#
|
13809
|
-
#
|
13810
|
-
#
|
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.
|
13811
13839
|
# Corresponds to the JSON property `minimalAction`
|
13812
13840
|
# @return [String]
|
13813
13841
|
attr_accessor :minimal_action
|
@@ -19775,7 +19803,8 @@ module Google
|
|
19775
19803
|
attr_accessor :network_endpoint_type
|
19776
19804
|
|
19777
19805
|
# The target service url used to set up private service connection to a Google
|
19778
|
-
# API. An example value is: "asia-
|
19806
|
+
# API or a PSC Producer Service Attachment. An example value is: "asia-
|
19807
|
+
# northeast3-cloudkms.googleapis.com"
|
19779
19808
|
# Corresponds to the JSON property `pscTargetService`
|
19780
19809
|
# @return [String]
|
19781
19810
|
attr_accessor :psc_target_service
|
@@ -20820,6 +20849,12 @@ module Google
|
|
20820
20849
|
# @return [Fixnum]
|
20821
20850
|
attr_accessor :peer_mtu
|
20822
20851
|
|
20852
|
+
# Which IP version(s) of traffic and routes are allowed to be imported or
|
20853
|
+
# exported between peer networks. The default value is IPV4_ONLY.
|
20854
|
+
# Corresponds to the JSON property `stackType`
|
20855
|
+
# @return [String]
|
20856
|
+
attr_accessor :stack_type
|
20857
|
+
|
20823
20858
|
# [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The
|
20824
20859
|
# peering is `ACTIVE` when there's a matching configuration in the peer network.
|
20825
20860
|
# Corresponds to the JSON property `state`
|
@@ -20846,6 +20881,7 @@ module Google
|
|
20846
20881
|
@name = args[:name] if args.key?(:name)
|
20847
20882
|
@network = args[:network] if args.key?(:network)
|
20848
20883
|
@peer_mtu = args[:peer_mtu] if args.key?(:peer_mtu)
|
20884
|
+
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
20849
20885
|
@state = args[:state] if args.key?(:state)
|
20850
20886
|
@state_details = args[:state_details] if args.key?(:state_details)
|
20851
20887
|
end
|
@@ -28325,9 +28361,9 @@ module Google
|
|
28325
28361
|
class ResourcePolicyGroupPlacementPolicy
|
28326
28362
|
include Google::Apis::Core::Hashable
|
28327
28363
|
|
28328
|
-
# The number of availability domains
|
28329
|
-
# instances are in different availability domain, they
|
28330
|
-
#
|
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.
|
28331
28367
|
# Corresponds to the JSON property `availabilityDomainCount`
|
28332
28368
|
# @return [Fixnum]
|
28333
28369
|
attr_accessor :availability_domain_count
|
@@ -28337,7 +28373,9 @@ module Google
|
|
28337
28373
|
# @return [String]
|
28338
28374
|
attr_accessor :collocation
|
28339
28375
|
|
28340
|
-
# 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.
|
28341
28379
|
# Corresponds to the JSON property `vmCount`
|
28342
28380
|
# @return [Fixnum]
|
28343
28381
|
attr_accessor :vm_count
|
@@ -29938,6 +29976,12 @@ module Google
|
|
29938
29976
|
attr_accessor :enable_endpoint_independent_mapping
|
29939
29977
|
alias_method :enable_endpoint_independent_mapping?, :enable_endpoint_independent_mapping
|
29940
29978
|
|
29979
|
+
# List of NAT-ted endpoint types supported by the Nat Gateway. If the list is
|
29980
|
+
# empty, then it will be equivalent to include ENDPOINT_TYPE_VM
|
29981
|
+
# Corresponds to the JSON property `endpointTypes`
|
29982
|
+
# @return [Array<String>]
|
29983
|
+
attr_accessor :endpoint_types
|
29984
|
+
|
29941
29985
|
# Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
|
29942
29986
|
# Corresponds to the JSON property `icmpIdleTimeoutSec`
|
29943
29987
|
# @return [Fixnum]
|
@@ -30045,6 +30089,7 @@ module Google
|
|
30045
30089
|
@drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
|
30046
30090
|
@enable_dynamic_port_allocation = args[:enable_dynamic_port_allocation] if args.key?(:enable_dynamic_port_allocation)
|
30047
30091
|
@enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
|
30092
|
+
@endpoint_types = args[:endpoint_types] if args.key?(:endpoint_types)
|
30048
30093
|
@icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
|
30049
30094
|
@log_config = args[:log_config] if args.key?(:log_config)
|
30050
30095
|
@max_ports_per_vm = args[:max_ports_per_vm] if args.key?(:max_ports_per_vm)
|
@@ -35748,6 +35793,25 @@ module Google
|
|
35748
35793
|
end
|
35749
35794
|
end
|
35750
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
|
+
|
35751
35815
|
#
|
35752
35816
|
class TargetHttpsProxiesSetQuicOverrideRequest
|
35753
35817
|
include Google::Apis::Core::Hashable
|
@@ -35811,6 +35875,13 @@ module Google
|
|
35811
35875
|
# @return [String]
|
35812
35876
|
attr_accessor :authorization_policy
|
35813
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
|
+
|
35814
35885
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
35815
35886
|
# Corresponds to the JSON property `creationTimestamp`
|
35816
35887
|
# @return [String]
|
@@ -35931,6 +36002,7 @@ module Google
|
|
35931
36002
|
# Update properties of this object
|
35932
36003
|
def update!(**args)
|
35933
36004
|
@authorization_policy = args[:authorization_policy] if args.key?(:authorization_policy)
|
36005
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
35934
36006
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
35935
36007
|
@description = args[:description] if args.key?(:description)
|
35936
36008
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
@@ -37218,6 +37290,25 @@ module Google
|
|
37218
37290
|
end
|
37219
37291
|
end
|
37220
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
|
+
|
37221
37312
|
#
|
37222
37313
|
class TargetSslProxiesSetProxyHeaderRequest
|
37223
37314
|
include Google::Apis::Core::Hashable
|
@@ -37266,6 +37357,13 @@ module Google
|
|
37266
37357
|
class TargetSslProxy
|
37267
37358
|
include Google::Apis::Core::Hashable
|
37268
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
|
+
|
37269
37367
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
37270
37368
|
# Corresponds to the JSON property `creationTimestamp`
|
37271
37369
|
# @return [String]
|
@@ -37336,6 +37434,7 @@ module Google
|
|
37336
37434
|
|
37337
37435
|
# Update properties of this object
|
37338
37436
|
def update!(**args)
|
37437
|
+
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
37339
37438
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
37340
37439
|
@description = args[:description] if args.key?(:description)
|
37341
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
|
|
@@ -6198,6 +6210,7 @@ module Google
|
|
6198
6210
|
property :security_settings, as: 'securitySettings', class: Google::Apis::ComputeV1::SecuritySettings, decorator: Google::Apis::ComputeV1::SecuritySettings::Representation
|
6199
6211
|
|
6200
6212
|
property :self_link, as: 'selfLink'
|
6213
|
+
collection :service_bindings, as: 'serviceBindings'
|
6201
6214
|
property :session_affinity, as: 'sessionAffinity'
|
6202
6215
|
property :subsetting, as: 'subsetting', class: Google::Apis::ComputeV1::Subsetting, decorator: Google::Apis::ComputeV1::Subsetting::Representation
|
6203
6216
|
|
@@ -7419,6 +7432,7 @@ module Google
|
|
7419
7432
|
property :name, as: 'name'
|
7420
7433
|
property :network, as: 'network'
|
7421
7434
|
property :network_tier, as: 'networkTier'
|
7435
|
+
property :no_automate_dns_zone, as: 'noAutomateDnsZone'
|
7422
7436
|
property :port_range, as: 'portRange'
|
7423
7437
|
collection :ports, as: 'ports'
|
7424
7438
|
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
@@ -10425,6 +10439,7 @@ module Google
|
|
10425
10439
|
property :name, as: 'name'
|
10426
10440
|
property :network, as: 'network'
|
10427
10441
|
property :peer_mtu, as: 'peerMtu'
|
10442
|
+
property :stack_type, as: 'stackType'
|
10428
10443
|
property :state, as: 'state'
|
10429
10444
|
property :state_details, as: 'stateDetails'
|
10430
10445
|
end
|
@@ -12778,6 +12793,7 @@ module Google
|
|
12778
12793
|
collection :drain_nat_ips, as: 'drainNatIps'
|
12779
12794
|
property :enable_dynamic_port_allocation, as: 'enableDynamicPortAllocation'
|
12780
12795
|
property :enable_endpoint_independent_mapping, as: 'enableEndpointIndependentMapping'
|
12796
|
+
collection :endpoint_types, as: 'endpointTypes'
|
12781
12797
|
property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
|
12782
12798
|
property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::RouterNatLogConfig, decorator: Google::Apis::ComputeV1::RouterNatLogConfig::Representation
|
12783
12799
|
|
@@ -14234,6 +14250,13 @@ module Google
|
|
14234
14250
|
end
|
14235
14251
|
end
|
14236
14252
|
|
14253
|
+
class TargetHttpsProxiesSetCertificateMapRequest
|
14254
|
+
# @private
|
14255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14256
|
+
property :certificate_map, as: 'certificateMap'
|
14257
|
+
end
|
14258
|
+
end
|
14259
|
+
|
14237
14260
|
class TargetHttpsProxiesSetQuicOverrideRequest
|
14238
14261
|
# @private
|
14239
14262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14252,6 +14275,7 @@ module Google
|
|
14252
14275
|
# @private
|
14253
14276
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14254
14277
|
property :authorization_policy, as: 'authorizationPolicy'
|
14278
|
+
property :certificate_map, as: 'certificateMap'
|
14255
14279
|
property :creation_timestamp, as: 'creationTimestamp'
|
14256
14280
|
property :description, as: 'description'
|
14257
14281
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
@@ -14609,6 +14633,13 @@ module Google
|
|
14609
14633
|
end
|
14610
14634
|
end
|
14611
14635
|
|
14636
|
+
class TargetSslProxiesSetCertificateMapRequest
|
14637
|
+
# @private
|
14638
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14639
|
+
property :certificate_map, as: 'certificateMap'
|
14640
|
+
end
|
14641
|
+
end
|
14642
|
+
|
14612
14643
|
class TargetSslProxiesSetProxyHeaderRequest
|
14613
14644
|
# @private
|
14614
14645
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14626,6 +14657,7 @@ module Google
|
|
14626
14657
|
class TargetSslProxy
|
14627
14658
|
# @private
|
14628
14659
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14660
|
+
property :certificate_map, as: 'certificateMap'
|
14629
14661
|
property :creation_timestamp, as: 'creationTimestamp'
|
14630
14662
|
property :description, as: 'description'
|
14631
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-
|
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: []
|