google-apis-compute_v1 0.33.0 → 0.36.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: ba4822bf8310b0ce1efff14f4f315271e247544f0c334158831102b6e7f2324d
4
- data.tar.gz: e853ab3c30c27d7a4b26687289908bb7aecf06180c6f8d2d66e9970be65d676b
3
+ metadata.gz: 9cf0468533ad5b8b1b9f53386860920d34e8f3b97cfaebc7ab80e724619cc3ab
4
+ data.tar.gz: f9e31932d2adedf16ee42ed1bbe89bbede077095e21688a37165593084df7bfa
5
5
  SHA512:
6
- metadata.gz: ec20174adb56a0227741063dd6ac50c8892b0e77217ea5e7edadd245e8ab492531aec831d4f368cc6a301b45285011b7772671658ec63fbedf26b6466d635811
7
- data.tar.gz: 496a0036d2a9bbf0be7fb3710a1b224855fb0676d5cded7077a01fcf8fdfe07b886ee1e57bc02bfe7f70c1a3a3f9352fcee1a1b1d6a7e7cfb0e6eee97e4506e7
6
+ metadata.gz: fe99c4739dd72d41bf6fe0a429fd46fe031250008a0fa422769e0fdc46762a2290b07c4ef8b97f1c2cb68cb8826c36a9daa0950099a43f90040e39765744fbd8
7
+ data.tar.gz: 04c9dbb0370409266e8f7bedca2a10b2839da22508758ffe9f68b6135ef99a865027f2896363f2851a2597bcf98413e0762268cb02b76fe4416f2f60e6344473
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.36.0 (2022-05-18)
4
+
5
+ * Regenerated from discovery document revision 20220510
6
+
7
+ ### v0.35.0 (2022-05-11)
8
+
9
+ * Regenerated from discovery document revision 20220506
10
+
11
+ ### v0.34.0 (2022-04-29)
12
+
13
+ * Regenerated from discovery document revision 20220426
14
+
3
15
  ### v0.33.0 (2022-04-22)
4
16
 
5
17
  * Regenerated from discovery document revision 20220420
@@ -3270,6 +3270,13 @@ module Google
3270
3270
  # @return [String]
3271
3271
  attr_accessor :self_link
3272
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
+
3273
3280
  # Type of session affinity to use. The default is NONE. Only NONE and
3274
3281
  # HEADER_FIELD are supported when the backend service is referenced by a URL map
3275
3282
  # that is bound to target gRPC proxy that has validateForProxyless field set to
@@ -3338,6 +3345,7 @@ module Google
3338
3345
  @security_policy = args[:security_policy] if args.key?(:security_policy)
3339
3346
  @security_settings = args[:security_settings] if args.key?(:security_settings)
3340
3347
  @self_link = args[:self_link] if args.key?(:self_link)
3348
+ @service_bindings = args[:service_bindings] if args.key?(:service_bindings)
3341
3349
  @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
3342
3350
  @subsetting = args[:subsetting] if args.key?(:subsetting)
3343
3351
  @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
@@ -8449,21 +8457,26 @@ module Google
8449
8457
  class ForwardingRule
8450
8458
  include Google::Apis::Core::Hashable
8451
8459
 
8452
- # IP address that this forwarding rule serves. When a client sends traffic to
8453
- # this IP address, the forwarding rule directs the traffic to the target that
8454
- # you specify in the forwarding rule. If you don't specify a reserved IP address,
8455
- # an ephemeral IP address is assigned. Methods for specifying an IP address: *
8456
- # IPv4 dotted decimal, as in `100.1.2.3` * Full URL, as in https://www.
8457
- # googleapis.com/compute/v1/projects/project_id/regions/region /addresses/
8458
- # address-name * Partial URL or by name, as in: - projects/project_id/regions/
8459
- # region/addresses/address-name - regions/region/addresses/address-name - global/
8460
- # addresses/address-name - address-name The loadBalancingScheme and the
8461
- # forwarding rule's target determine the type of IP address that you can use.
8462
- # For detailed information, see [IP address specifications](https://cloud.google.
8463
- # com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
8464
- # Must be set to `0.0.0.0` when the target is targetGrpcProxy that has
8465
- # validateForProxyless field set to true. For Private Service Connect forwarding
8466
- # rules that forward traffic to Google APIs, IP address must be provided.
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.
8467
8480
  # Corresponds to the JSON property `IPAddress`
8468
8481
  # @return [String]
8469
8482
  attr_accessor :ip_address
@@ -8631,6 +8644,14 @@ module Google
8631
8644
  # @return [String]
8632
8645
  attr_accessor :network_tier
8633
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
+
8634
8655
  # This field can be used only if: - Load balancing scheme is one of EXTERNAL,
8635
8656
  # INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or
8636
8657
  # SCTP. Packets addressed to ports in the specified range will be forwarded to
@@ -8742,6 +8763,7 @@ module Google
8742
8763
  @name = args[:name] if args.key?(:name)
8743
8764
  @network = args[:network] if args.key?(:network)
8744
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)
8745
8767
  @port_range = args[:port_range] if args.key?(:port_range)
8746
8768
  @ports = args[:ports] if args.key?(:ports)
8747
8769
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
@@ -10640,10 +10662,10 @@ module Google
10640
10662
 
10641
10663
  # The list of host patterns to match. They must be valid hostnames with optional
10642
10664
  # port numbers in the format host:port. * matches any string of ([a-z0-9-.]*).
10643
- # In that case, * must be the first character and must be followed in the
10644
- # pattern by either - or .. * based matching is not supported when the URL map
10645
- # is bound to a target gRPC proxy that has the validateForProxyless field set to
10646
- # 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.
10647
10669
  # Corresponds to the JSON property `hosts`
10648
10670
  # @return [Array<String>]
10649
10671
  attr_accessor :hosts
@@ -12006,8 +12028,8 @@ module Google
12006
12028
  # @return [String]
12007
12029
  attr_accessor :source_snapshot_id
12008
12030
 
12009
- # The type of the image used to create this disk. The default and only value is
12010
- # RAW
12031
+ # The type of the image used to create this disk. The default and only valid
12032
+ # value is RAW.
12011
12033
  # Corresponds to the JSON property `sourceType`
12012
12034
  # @return [String]
12013
12035
  attr_accessor :source_type
@@ -13804,12 +13826,16 @@ module Google
13804
13826
  # @return [Google::Apis::ComputeV1::FixedOrPercent]
13805
13827
  attr_accessor :max_unavailable
13806
13828
 
13807
- # Minimal action to be taken on an instance. You can specify either RESTART to
13808
- # restart existing instances or REPLACE to delete and create new instances from
13809
- # the target template. If you specify a RESTART, the Updater will attempt to
13810
- # perform that action only. However, if the Updater determines that the minimal
13811
- # action you specify is not enough to perform the update, it might perform a
13812
- # more disruptive action.
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.
13813
13839
  # Corresponds to the JSON property `minimalAction`
13814
13840
  # @return [String]
13815
13841
  attr_accessor :minimal_action
@@ -17878,6 +17904,11 @@ module Google
17878
17904
  # @return [Hash<String,Google::Apis::ComputeV1::LocationPolicyLocation>]
17879
17905
  attr_accessor :locations
17880
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
+
17881
17912
  def initialize(**args)
17882
17913
  update!(**args)
17883
17914
  end
@@ -17885,6 +17916,7 @@ module Google
17885
17916
  # Update properties of this object
17886
17917
  def update!(**args)
17887
17918
  @locations = args[:locations] if args.key?(:locations)
17919
+ @target_shape = args[:target_shape] if args.key?(:target_shape)
17888
17920
  end
17889
17921
  end
17890
17922
 
@@ -20823,6 +20855,12 @@ module Google
20823
20855
  # @return [Fixnum]
20824
20856
  attr_accessor :peer_mtu
20825
20857
 
20858
+ # Which IP version(s) of traffic and routes are allowed to be imported or
20859
+ # exported between peer networks. The default value is IPV4_ONLY.
20860
+ # Corresponds to the JSON property `stackType`
20861
+ # @return [String]
20862
+ attr_accessor :stack_type
20863
+
20826
20864
  # [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The
20827
20865
  # peering is `ACTIVE` when there's a matching configuration in the peer network.
20828
20866
  # Corresponds to the JSON property `state`
@@ -20849,6 +20887,7 @@ module Google
20849
20887
  @name = args[:name] if args.key?(:name)
20850
20888
  @network = args[:network] if args.key?(:network)
20851
20889
  @peer_mtu = args[:peer_mtu] if args.key?(:peer_mtu)
20890
+ @stack_type = args[:stack_type] if args.key?(:stack_type)
20852
20891
  @state = args[:state] if args.key?(:state)
20853
20892
  @state_details = args[:state_details] if args.key?(:state_details)
20854
20893
  end
@@ -28328,9 +28367,9 @@ module Google
28328
28367
  class ResourcePolicyGroupPlacementPolicy
28329
28368
  include Google::Apis::Core::Hashable
28330
28369
 
28331
- # The number of availability domains instances will be spread across. If two
28332
- # instances are in different availability domain, they will not be put in the
28333
- # same low latency network
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.
28334
28373
  # Corresponds to the JSON property `availabilityDomainCount`
28335
28374
  # @return [Fixnum]
28336
28375
  attr_accessor :availability_domain_count
@@ -28340,7 +28379,9 @@ module Google
28340
28379
  # @return [String]
28341
28380
  attr_accessor :collocation
28342
28381
 
28343
- # Number of vms in this placement group
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.
28344
28385
  # Corresponds to the JSON property `vmCount`
28345
28386
  # @return [Fixnum]
28346
28387
  attr_accessor :vm_count
@@ -29941,6 +29982,12 @@ module Google
29941
29982
  attr_accessor :enable_endpoint_independent_mapping
29942
29983
  alias_method :enable_endpoint_independent_mapping?, :enable_endpoint_independent_mapping
29943
29984
 
29985
+ # List of NAT-ted endpoint types supported by the Nat Gateway. If the list is
29986
+ # empty, then it will be equivalent to include ENDPOINT_TYPE_VM
29987
+ # Corresponds to the JSON property `endpointTypes`
29988
+ # @return [Array<String>]
29989
+ attr_accessor :endpoint_types
29990
+
29944
29991
  # Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
29945
29992
  # Corresponds to the JSON property `icmpIdleTimeoutSec`
29946
29993
  # @return [Fixnum]
@@ -30048,6 +30095,7 @@ module Google
30048
30095
  @drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
30049
30096
  @enable_dynamic_port_allocation = args[:enable_dynamic_port_allocation] if args.key?(:enable_dynamic_port_allocation)
30050
30097
  @enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
30098
+ @endpoint_types = args[:endpoint_types] if args.key?(:endpoint_types)
30051
30099
  @icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
30052
30100
  @log_config = args[:log_config] if args.key?(:log_config)
30053
30101
  @max_ports_per_vm = args[:max_ports_per_vm] if args.key?(:max_ports_per_vm)
@@ -35751,6 +35799,25 @@ module Google
35751
35799
  end
35752
35800
  end
35753
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
+
35754
35821
  #
35755
35822
  class TargetHttpsProxiesSetQuicOverrideRequest
35756
35823
  include Google::Apis::Core::Hashable
@@ -35814,6 +35881,13 @@ module Google
35814
35881
  # @return [String]
35815
35882
  attr_accessor :authorization_policy
35816
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
+
35817
35891
  # [Output Only] Creation timestamp in RFC3339 text format.
35818
35892
  # Corresponds to the JSON property `creationTimestamp`
35819
35893
  # @return [String]
@@ -35934,6 +36008,7 @@ module Google
35934
36008
  # Update properties of this object
35935
36009
  def update!(**args)
35936
36010
  @authorization_policy = args[:authorization_policy] if args.key?(:authorization_policy)
36011
+ @certificate_map = args[:certificate_map] if args.key?(:certificate_map)
35937
36012
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
35938
36013
  @description = args[:description] if args.key?(:description)
35939
36014
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@@ -37221,6 +37296,25 @@ module Google
37221
37296
  end
37222
37297
  end
37223
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
+
37224
37318
  #
37225
37319
  class TargetSslProxiesSetProxyHeaderRequest
37226
37320
  include Google::Apis::Core::Hashable
@@ -37269,6 +37363,13 @@ module Google
37269
37363
  class TargetSslProxy
37270
37364
  include Google::Apis::Core::Hashable
37271
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
+
37272
37373
  # [Output Only] Creation timestamp in RFC3339 text format.
37273
37374
  # Corresponds to the JSON property `creationTimestamp`
37274
37375
  # @return [String]
@@ -37339,6 +37440,7 @@ module Google
37339
37440
 
37340
37441
  # Update properties of this object
37341
37442
  def update!(**args)
37443
+ @certificate_map = args[:certificate_map] if args.key?(:certificate_map)
37342
37444
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
37343
37445
  @description = args[:description] if args.key?(:description)
37344
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.33.0"
19
+ GEM_VERSION = "0.36.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 = "20220420"
25
+ REVISION = "20220510"
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'
@@ -9680,6 +9694,7 @@ module Google
9680
9694
  class Representation < Google::Apis::Core::JsonRepresentation
9681
9695
  hash :locations, as: 'locations', class: Google::Apis::ComputeV1::LocationPolicyLocation, decorator: Google::Apis::ComputeV1::LocationPolicyLocation::Representation
9682
9696
 
9697
+ property :target_shape, as: 'targetShape'
9683
9698
  end
9684
9699
  end
9685
9700
 
@@ -10425,6 +10440,7 @@ module Google
10425
10440
  property :name, as: 'name'
10426
10441
  property :network, as: 'network'
10427
10442
  property :peer_mtu, as: 'peerMtu'
10443
+ property :stack_type, as: 'stackType'
10428
10444
  property :state, as: 'state'
10429
10445
  property :state_details, as: 'stateDetails'
10430
10446
  end
@@ -12778,6 +12794,7 @@ module Google
12778
12794
  collection :drain_nat_ips, as: 'drainNatIps'
12779
12795
  property :enable_dynamic_port_allocation, as: 'enableDynamicPortAllocation'
12780
12796
  property :enable_endpoint_independent_mapping, as: 'enableEndpointIndependentMapping'
12797
+ collection :endpoint_types, as: 'endpointTypes'
12781
12798
  property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
12782
12799
  property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::RouterNatLogConfig, decorator: Google::Apis::ComputeV1::RouterNatLogConfig::Representation
12783
12800
 
@@ -14234,6 +14251,13 @@ module Google
14234
14251
  end
14235
14252
  end
14236
14253
 
14254
+ class TargetHttpsProxiesSetCertificateMapRequest
14255
+ # @private
14256
+ class Representation < Google::Apis::Core::JsonRepresentation
14257
+ property :certificate_map, as: 'certificateMap'
14258
+ end
14259
+ end
14260
+
14237
14261
  class TargetHttpsProxiesSetQuicOverrideRequest
14238
14262
  # @private
14239
14263
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14252,6 +14276,7 @@ module Google
14252
14276
  # @private
14253
14277
  class Representation < Google::Apis::Core::JsonRepresentation
14254
14278
  property :authorization_policy, as: 'authorizationPolicy'
14279
+ property :certificate_map, as: 'certificateMap'
14255
14280
  property :creation_timestamp, as: 'creationTimestamp'
14256
14281
  property :description, as: 'description'
14257
14282
  property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -14609,6 +14634,13 @@ module Google
14609
14634
  end
14610
14635
  end
14611
14636
 
14637
+ class TargetSslProxiesSetCertificateMapRequest
14638
+ # @private
14639
+ class Representation < Google::Apis::Core::JsonRepresentation
14640
+ property :certificate_map, as: 'certificateMap'
14641
+ end
14642
+ end
14643
+
14612
14644
  class TargetSslProxiesSetProxyHeaderRequest
14613
14645
  # @private
14614
14646
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14626,6 +14658,7 @@ module Google
14626
14658
  class TargetSslProxy
14627
14659
  # @private
14628
14660
  class Representation < Google::Apis::Core::JsonRepresentation
14661
+ property :certificate_map, as: 'certificateMap'
14629
14662
  property :creation_timestamp, as: 'creationTimestamp'
14630
14663
  property :description, as: 'description'
14631
14664
  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.33.0
4
+ version: 0.36.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-04-25 00:00:00.000000000 Z
11
+ date: 2022-05-23 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.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.36.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: []