google-apis-compute_beta 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85b021434524c9d443e5aef3f133b0a98d3ece761e75791c8ab67635c2ea8004
4
- data.tar.gz: bc5d391849a3036f160337cdb75f2f6463d7837252f95d1bbd5be6e5b55d56c6
3
+ metadata.gz: 9b0eb85ff277aceb4f3af7752dcb23a9c1e7a9fd1105a6f0678ea9651cc5df10
4
+ data.tar.gz: 95aba688cd10d957d1c994e63a0650ff44d03819b12ffaff8f754d0d58a7ee07
5
5
  SHA512:
6
- metadata.gz: b72fac32edef24d34440b098e03d84847fcc3f003eefa503d0df39f05134f9d3b5ff9ecb35ad7468906881b3e16616f63d6e8060fc19d3c8cc60050ad9cee8e9
7
- data.tar.gz: 5d598303fe4aa4adfa7add2c2c01153f1d856d68f503c033f48c27a085154e9fe48bdaf8a47d2379097db83bfedbda9fc93e4dbf611fb59e4cd6d67e598399cd
6
+ metadata.gz: ef6f08669147137fb0c2e0251758a2c42c692c84b88b621b45be02f5928e6ac419a6cda9c8f943372fc0f3316a80a7f792645f3acad1c9a27af311b305a39378
7
+ data.tar.gz: 9690795a191f128456c64541e157385916de371beb7e79b83c5ba51c33e72ca5e13bb33d7c4fed15f7aad059506bfb9adfb62cb0cbd1c167ba7f38d3d56927cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.35.0 (2022-05-18)
4
+
5
+ * Regenerated from discovery document revision 20220510
6
+
7
+ ### v0.34.0 (2022-05-11)
8
+
9
+ * Regenerated from discovery document revision 20220506
10
+
11
+ ### v0.33.0 (2022-04-29)
12
+
13
+ * Regenerated from discovery document revision 20220426
14
+
3
15
  ### v0.32.0 (2022-04-21)
4
16
 
5
17
  * Regenerated from discovery document revision 20220420
@@ -8525,6 +8525,12 @@ module Google
8525
8525
  class FirewallPolicyRuleMatcher
8526
8526
  include Google::Apis::Core::Hashable
8527
8527
 
8528
+ # Address groups which should be matched against the traffic destination.
8529
+ # Maximum number of destination address groups is 10.
8530
+ # Corresponds to the JSON property `destAddressGroups`
8531
+ # @return [Array<String>]
8532
+ attr_accessor :dest_address_groups
8533
+
8528
8534
  # CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is
8529
8535
  # 5000.
8530
8536
  # Corresponds to the JSON property `destIpRanges`
@@ -8550,6 +8556,12 @@ module Google
8550
8556
  # @return [Array<Google::Apis::ComputeBeta::FirewallPolicyRuleMatcherLayer4Config>]
8551
8557
  attr_accessor :layer4_configs
8552
8558
 
8559
+ # Address groups which should be matched against the traffic source. Maximum
8560
+ # number of source address groups is 10.
8561
+ # Corresponds to the JSON property `srcAddressGroups`
8562
+ # @return [Array<String>]
8563
+ attr_accessor :src_address_groups
8564
+
8553
8565
  # CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
8554
8566
  # Corresponds to the JSON property `srcIpRanges`
8555
8567
  # @return [Array<String>]
@@ -8582,10 +8594,12 @@ module Google
8582
8594
 
8583
8595
  # Update properties of this object
8584
8596
  def update!(**args)
8597
+ @dest_address_groups = args[:dest_address_groups] if args.key?(:dest_address_groups)
8585
8598
  @dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
8586
8599
  @dest_region_codes = args[:dest_region_codes] if args.key?(:dest_region_codes)
8587
8600
  @dest_threat_intelligences = args[:dest_threat_intelligences] if args.key?(:dest_threat_intelligences)
8588
8601
  @layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
8602
+ @src_address_groups = args[:src_address_groups] if args.key?(:src_address_groups)
8589
8603
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
8590
8604
  @src_region_codes = args[:src_region_codes] if args.key?(:src_region_codes)
8591
8605
  @src_secure_tags = args[:src_secure_tags] if args.key?(:src_secure_tags)
@@ -8699,21 +8713,26 @@ module Google
8699
8713
  class ForwardingRule
8700
8714
  include Google::Apis::Core::Hashable
8701
8715
 
8702
- # IP address that this forwarding rule serves. When a client sends traffic to
8703
- # this IP address, the forwarding rule directs the traffic to the target that
8704
- # you specify in the forwarding rule. If you don't specify a reserved IP address,
8705
- # an ephemeral IP address is assigned. Methods for specifying an IP address: *
8706
- # IPv4 dotted decimal, as in `100.1.2.3` * Full URL, as in https://www.
8707
- # googleapis.com/compute/v1/projects/project_id/regions/region /addresses/
8708
- # address-name * Partial URL or by name, as in: - projects/project_id/regions/
8709
- # region/addresses/address-name - regions/region/addresses/address-name - global/
8710
- # addresses/address-name - address-name The loadBalancingScheme and the
8711
- # forwarding rule's target determine the type of IP address that you can use.
8712
- # For detailed information, see [IP address specifications](https://cloud.google.
8713
- # com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
8714
- # Must be set to `0.0.0.0` when the target is targetGrpcProxy that has
8715
- # validateForProxyless field set to true. For Private Service Connect forwarding
8716
- # rules that forward traffic to Google APIs, IP address must be provided.
8716
+ # IP address for which this forwarding rule accepts traffic. When a client sends
8717
+ # traffic to this IP address, the forwarding rule directs the traffic to the
8718
+ # referenced target or backendService. While creating a forwarding rule,
8719
+ # specifying an IPAddress is required under the following circumstances: - When
8720
+ # the target is set to targetGrpcProxy and validateForProxyless is set to true,
8721
+ # the IPAddress should be set to 0.0.0.0. - When the target is a Private Service
8722
+ # Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can
8723
+ # optionally specify an IP address that references an existing static (reserved)
8724
+ # IP address resource. When omitted, Google Cloud assigns an ephemeral IP
8725
+ # address. Use one of the following formats to specify an IP address while
8726
+ # creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full
8727
+ # resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/
8728
+ # regions/region /addresses/address-name * Partial URL or by name, as in: -
8729
+ # projects/project_id/regions/region/addresses/address-name - regions/region/
8730
+ # addresses/address-name - global/addresses/address-name - address-name The
8731
+ # forwarding rule's target or backendService, and in most cases, also the
8732
+ # loadBalancingScheme, determine the type of IP address that you can use. For
8733
+ # detailed information, see [IP address specifications](https://cloud.google.com/
8734
+ # load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When
8735
+ # reading an IPAddress, the API always returns the IP address number.
8717
8736
  # Corresponds to the JSON property `IPAddress`
8718
8737
  # @return [String]
8719
8738
  attr_accessor :ip_address
@@ -8881,6 +8900,14 @@ module Google
8881
8900
  # @return [String]
8882
8901
  attr_accessor :network_tier
8883
8902
 
8903
+ # This is used in PSC consumer ForwardingRule to control whether it should try
8904
+ # to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this
8905
+ # field.
8906
+ # Corresponds to the JSON property `noAutomateDnsZone`
8907
+ # @return [Boolean]
8908
+ attr_accessor :no_automate_dns_zone
8909
+ alias_method :no_automate_dns_zone?, :no_automate_dns_zone
8910
+
8884
8911
  # This field can be used only if: - Load balancing scheme is one of EXTERNAL,
8885
8912
  # INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or
8886
8913
  # SCTP. Packets addressed to ports in the specified range will be forwarded to
@@ -9002,6 +9029,7 @@ module Google
9002
9029
  @name = args[:name] if args.key?(:name)
9003
9030
  @network = args[:network] if args.key?(:network)
9004
9031
  @network_tier = args[:network_tier] if args.key?(:network_tier)
9032
+ @no_automate_dns_zone = args[:no_automate_dns_zone] if args.key?(:no_automate_dns_zone)
9005
9033
  @port_range = args[:port_range] if args.key?(:port_range)
9006
9034
  @ports = args[:ports] if args.key?(:ports)
9007
9035
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
@@ -10913,10 +10941,10 @@ module Google
10913
10941
 
10914
10942
  # The list of host patterns to match. They must be valid hostnames with optional
10915
10943
  # port numbers in the format host:port. * matches any string of ([a-z0-9-.]*).
10916
- # In that case, * must be the first character and must be followed in the
10917
- # pattern by either - or .. * based matching is not supported when the URL map
10918
- # is bound to a target gRPC proxy that has the validateForProxyless field set to
10919
- # true.
10944
+ # In that case, * must be the first character, and if followed by anything, the
10945
+ # immediate following character must be either - or .. * based matching is not
10946
+ # supported when the URL map is bound to a target gRPC proxy that has the
10947
+ # validateForProxyless field set to true.
10920
10948
  # Corresponds to the JSON property `hosts`
10921
10949
  # @return [Array<String>]
10922
10950
  attr_accessor :hosts
@@ -12360,8 +12388,8 @@ module Google
12360
12388
  # @return [String]
12361
12389
  attr_accessor :source_snapshot_id
12362
12390
 
12363
- # The type of the image used to create this disk. The default and only value is
12364
- # RAW
12391
+ # The type of the image used to create this disk. The default and only valid
12392
+ # value is RAW.
12365
12393
  # Corresponds to the JSON property `sourceType`
12366
12394
  # @return [String]
12367
12395
  attr_accessor :source_type
@@ -14360,12 +14388,16 @@ module Google
14360
14388
  # @return [Fixnum]
14361
14389
  attr_accessor :min_ready_sec
14362
14390
 
14363
- # Minimal action to be taken on an instance. You can specify either RESTART to
14364
- # restart existing instances or REPLACE to delete and create new instances from
14365
- # the target template. If you specify a RESTART, the Updater will attempt to
14366
- # perform that action only. However, if the Updater determines that the minimal
14367
- # action you specify is not enough to perform the update, it might perform a
14368
- # more disruptive action.
14391
+ # Minimal action to be taken on an instance. Use this option to minimize
14392
+ # disruption as much as possible or to apply a more disruptive action than is
14393
+ # necessary. - To limit disruption as much as possible, set the minimal action
14394
+ # to REFRESH. If your update requires a more disruptive action, Compute Engine
14395
+ # performs the necessary action to execute the update. - To apply a more
14396
+ # disruptive action than is strictly necessary, set the minimal action to
14397
+ # RESTART or REPLACE. For example, Compute Engine does not need to restart a VM
14398
+ # to change its metadata. But if your application reads instance metadata only
14399
+ # when a VM is restarted, you can set the minimal action to RESTART in order to
14400
+ # pick up metadata changes.
14369
14401
  # Corresponds to the JSON property `minimalAction`
14370
14402
  # @return [String]
14371
14403
  attr_accessor :minimal_action
@@ -21782,6 +21814,12 @@ module Google
21782
21814
  # @return [Fixnum]
21783
21815
  attr_accessor :peer_mtu
21784
21816
 
21817
+ # Which IP version(s) of traffic and routes are allowed to be imported or
21818
+ # exported between peer networks. The default value is IPV4_ONLY.
21819
+ # Corresponds to the JSON property `stackType`
21820
+ # @return [String]
21821
+ attr_accessor :stack_type
21822
+
21785
21823
  # [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The
21786
21824
  # peering is `ACTIVE` when there's a matching configuration in the peer network.
21787
21825
  # Corresponds to the JSON property `state`
@@ -21808,6 +21846,7 @@ module Google
21808
21846
  @name = args[:name] if args.key?(:name)
21809
21847
  @network = args[:network] if args.key?(:network)
21810
21848
  @peer_mtu = args[:peer_mtu] if args.key?(:peer_mtu)
21849
+ @stack_type = args[:stack_type] if args.key?(:stack_type)
21811
21850
  @state = args[:state] if args.key?(:state)
21812
21851
  @state_details = args[:state_details] if args.key?(:state_details)
21813
21852
  end
@@ -29517,9 +29556,9 @@ module Google
29517
29556
  class ResourcePolicyGroupPlacementPolicy
29518
29557
  include Google::Apis::Core::Hashable
29519
29558
 
29520
- # The number of availability domains instances will be spread across. If two
29521
- # instances are in different availability domain, they will not be put in the
29522
- # same low latency network
29559
+ # The number of availability domains to spread instances across. If two
29560
+ # instances are in different availability domain, they are not in the same low
29561
+ # latency network.
29523
29562
  # Corresponds to the JSON property `availabilityDomainCount`
29524
29563
  # @return [Fixnum]
29525
29564
  attr_accessor :availability_domain_count
@@ -29529,7 +29568,9 @@ module Google
29529
29568
  # @return [String]
29530
29569
  attr_accessor :collocation
29531
29570
 
29532
- # Number of vms in this placement group
29571
+ # Number of VMs in this placement group. Google does not recommend that you use
29572
+ # this field unless you use a compact policy and you want your policy to work
29573
+ # only if it contains this exact number of VMs.
29533
29574
  # Corresponds to the JSON property `vmCount`
29534
29575
  # @return [Fixnum]
29535
29576
  attr_accessor :vm_count
@@ -31210,6 +31251,12 @@ module Google
31210
31251
  attr_accessor :enable_endpoint_independent_mapping
31211
31252
  alias_method :enable_endpoint_independent_mapping?, :enable_endpoint_independent_mapping
31212
31253
 
31254
+ # List of NAT-ted endpoint types supported by the Nat Gateway. If the list is
31255
+ # empty, then it will be equivalent to include ENDPOINT_TYPE_VM
31256
+ # Corresponds to the JSON property `endpointTypes`
31257
+ # @return [Array<String>]
31258
+ attr_accessor :endpoint_types
31259
+
31213
31260
  # Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
31214
31261
  # Corresponds to the JSON property `icmpIdleTimeoutSec`
31215
31262
  # @return [Fixnum]
@@ -31317,6 +31364,7 @@ module Google
31317
31364
  @drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
31318
31365
  @enable_dynamic_port_allocation = args[:enable_dynamic_port_allocation] if args.key?(:enable_dynamic_port_allocation)
31319
31366
  @enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
31367
+ @endpoint_types = args[:endpoint_types] if args.key?(:endpoint_types)
31320
31368
  @icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
31321
31369
  @log_config = args[:log_config] if args.key?(:log_config)
31322
31370
  @max_ports_per_vm = args[:max_ports_per_vm] if args.key?(:max_ports_per_vm)
@@ -35529,6 +35577,136 @@ module Google
35529
35577
  end
35530
35578
  end
35531
35579
 
35580
+ #
35581
+ class SslPoliciesAggregatedList
35582
+ include Google::Apis::Core::Hashable
35583
+
35584
+ #
35585
+ # Corresponds to the JSON property `etag`
35586
+ # @return [String]
35587
+ attr_accessor :etag
35588
+
35589
+ # [Output Only] Unique identifier for the resource; defined by the server.
35590
+ # Corresponds to the JSON property `id`
35591
+ # @return [String]
35592
+ attr_accessor :id
35593
+
35594
+ # A list of SslPoliciesScopedList resources.
35595
+ # Corresponds to the JSON property `items`
35596
+ # @return [Hash<String,Google::Apis::ComputeBeta::SslPoliciesScopedList>]
35597
+ attr_accessor :items
35598
+
35599
+ # [Output Only] Type of resource. Always compute#sslPolicyAggregatedList for
35600
+ # lists of SSL Policies.
35601
+ # Corresponds to the JSON property `kind`
35602
+ # @return [String]
35603
+ attr_accessor :kind
35604
+
35605
+ # [Output Only] This token allows you to get the next page of results for list
35606
+ # requests. If the number of results is larger than maxResults, use the
35607
+ # nextPageToken as a value for the query parameter pageToken in the next list
35608
+ # request. Subsequent list requests will have their own nextPageToken to
35609
+ # continue paging through the results.
35610
+ # Corresponds to the JSON property `nextPageToken`
35611
+ # @return [String]
35612
+ attr_accessor :next_page_token
35613
+
35614
+ # [Output Only] Server-defined URL for this resource.
35615
+ # Corresponds to the JSON property `selfLink`
35616
+ # @return [String]
35617
+ attr_accessor :self_link
35618
+
35619
+ # [Output Only] Unreachable resources.
35620
+ # Corresponds to the JSON property `unreachables`
35621
+ # @return [Array<String>]
35622
+ attr_accessor :unreachables
35623
+
35624
+ # [Output Only] Informational warning message.
35625
+ # Corresponds to the JSON property `warning`
35626
+ # @return [Google::Apis::ComputeBeta::SslPoliciesAggregatedList::Warning]
35627
+ attr_accessor :warning
35628
+
35629
+ def initialize(**args)
35630
+ update!(**args)
35631
+ end
35632
+
35633
+ # Update properties of this object
35634
+ def update!(**args)
35635
+ @etag = args[:etag] if args.key?(:etag)
35636
+ @id = args[:id] if args.key?(:id)
35637
+ @items = args[:items] if args.key?(:items)
35638
+ @kind = args[:kind] if args.key?(:kind)
35639
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
35640
+ @self_link = args[:self_link] if args.key?(:self_link)
35641
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
35642
+ @warning = args[:warning] if args.key?(:warning)
35643
+ end
35644
+
35645
+ # [Output Only] Informational warning message.
35646
+ class Warning
35647
+ include Google::Apis::Core::Hashable
35648
+
35649
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
35650
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
35651
+ # Corresponds to the JSON property `code`
35652
+ # @return [String]
35653
+ attr_accessor :code
35654
+
35655
+ # [Output Only] Metadata about this warning in key: value format. For example: "
35656
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
35657
+ # Corresponds to the JSON property `data`
35658
+ # @return [Array<Google::Apis::ComputeBeta::SslPoliciesAggregatedList::Warning::Datum>]
35659
+ attr_accessor :data
35660
+
35661
+ # [Output Only] A human-readable description of the warning code.
35662
+ # Corresponds to the JSON property `message`
35663
+ # @return [String]
35664
+ attr_accessor :message
35665
+
35666
+ def initialize(**args)
35667
+ update!(**args)
35668
+ end
35669
+
35670
+ # Update properties of this object
35671
+ def update!(**args)
35672
+ @code = args[:code] if args.key?(:code)
35673
+ @data = args[:data] if args.key?(:data)
35674
+ @message = args[:message] if args.key?(:message)
35675
+ end
35676
+
35677
+ #
35678
+ class Datum
35679
+ include Google::Apis::Core::Hashable
35680
+
35681
+ # [Output Only] A key that provides more detail on the warning being returned.
35682
+ # For example, for warnings where there are no results in a list request for a
35683
+ # particular zone, this key might be scope and the key value might be the zone
35684
+ # name. Other examples might be a key indicating a deprecated resource and a
35685
+ # suggested replacement, or a warning about invalid network settings (for
35686
+ # example, if an instance attempts to perform IP forwarding but is not enabled
35687
+ # for IP forwarding).
35688
+ # Corresponds to the JSON property `key`
35689
+ # @return [String]
35690
+ attr_accessor :key
35691
+
35692
+ # [Output Only] A warning data value corresponding to the key.
35693
+ # Corresponds to the JSON property `value`
35694
+ # @return [String]
35695
+ attr_accessor :value
35696
+
35697
+ def initialize(**args)
35698
+ update!(**args)
35699
+ end
35700
+
35701
+ # Update properties of this object
35702
+ def update!(**args)
35703
+ @key = args[:key] if args.key?(:key)
35704
+ @value = args[:value] if args.key?(:value)
35705
+ end
35706
+ end
35707
+ end
35708
+ end
35709
+
35532
35710
  #
35533
35711
  class SslPoliciesList
35534
35712
  include Google::Apis::Core::Hashable
@@ -35666,6 +35844,97 @@ module Google
35666
35844
  end
35667
35845
  end
35668
35846
 
35847
+ #
35848
+ class SslPoliciesScopedList
35849
+ include Google::Apis::Core::Hashable
35850
+
35851
+ # A list of SslPolicies contained in this scope.
35852
+ # Corresponds to the JSON property `sslPolicies`
35853
+ # @return [Array<Google::Apis::ComputeBeta::SslPolicy>]
35854
+ attr_accessor :ssl_policies
35855
+
35856
+ # Informational warning which replaces the list of SSL policies when the list is
35857
+ # empty.
35858
+ # Corresponds to the JSON property `warning`
35859
+ # @return [Google::Apis::ComputeBeta::SslPoliciesScopedList::Warning]
35860
+ attr_accessor :warning
35861
+
35862
+ def initialize(**args)
35863
+ update!(**args)
35864
+ end
35865
+
35866
+ # Update properties of this object
35867
+ def update!(**args)
35868
+ @ssl_policies = args[:ssl_policies] if args.key?(:ssl_policies)
35869
+ @warning = args[:warning] if args.key?(:warning)
35870
+ end
35871
+
35872
+ # Informational warning which replaces the list of SSL policies when the list is
35873
+ # empty.
35874
+ class Warning
35875
+ include Google::Apis::Core::Hashable
35876
+
35877
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
35878
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
35879
+ # Corresponds to the JSON property `code`
35880
+ # @return [String]
35881
+ attr_accessor :code
35882
+
35883
+ # [Output Only] Metadata about this warning in key: value format. For example: "
35884
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
35885
+ # Corresponds to the JSON property `data`
35886
+ # @return [Array<Google::Apis::ComputeBeta::SslPoliciesScopedList::Warning::Datum>]
35887
+ attr_accessor :data
35888
+
35889
+ # [Output Only] A human-readable description of the warning code.
35890
+ # Corresponds to the JSON property `message`
35891
+ # @return [String]
35892
+ attr_accessor :message
35893
+
35894
+ def initialize(**args)
35895
+ update!(**args)
35896
+ end
35897
+
35898
+ # Update properties of this object
35899
+ def update!(**args)
35900
+ @code = args[:code] if args.key?(:code)
35901
+ @data = args[:data] if args.key?(:data)
35902
+ @message = args[:message] if args.key?(:message)
35903
+ end
35904
+
35905
+ #
35906
+ class Datum
35907
+ include Google::Apis::Core::Hashable
35908
+
35909
+ # [Output Only] A key that provides more detail on the warning being returned.
35910
+ # For example, for warnings where there are no results in a list request for a
35911
+ # particular zone, this key might be scope and the key value might be the zone
35912
+ # name. Other examples might be a key indicating a deprecated resource and a
35913
+ # suggested replacement, or a warning about invalid network settings (for
35914
+ # example, if an instance attempts to perform IP forwarding but is not enabled
35915
+ # for IP forwarding).
35916
+ # Corresponds to the JSON property `key`
35917
+ # @return [String]
35918
+ attr_accessor :key
35919
+
35920
+ # [Output Only] A warning data value corresponding to the key.
35921
+ # Corresponds to the JSON property `value`
35922
+ # @return [String]
35923
+ attr_accessor :value
35924
+
35925
+ def initialize(**args)
35926
+ update!(**args)
35927
+ end
35928
+
35929
+ # Update properties of this object
35930
+ def update!(**args)
35931
+ @key = args[:key] if args.key?(:key)
35932
+ @value = args[:value] if args.key?(:value)
35933
+ end
35934
+ end
35935
+ end
35936
+ end
35937
+
35669
35938
  # Represents an SSL Policy resource. Use SSL policies to control the SSL
35670
35939
  # features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy
35671
35940
  # load balancer. For more information, read SSL Policy Concepts.
@@ -35742,6 +36011,12 @@ module Google
35742
36011
  # @return [String]
35743
36012
  attr_accessor :profile
35744
36013
 
36014
+ # [Output Only] URL of the region where the regional SSL policy resides. This
36015
+ # field is not applicable to global SSL policies.
36016
+ # Corresponds to the JSON property `region`
36017
+ # @return [String]
36018
+ attr_accessor :region
36019
+
35745
36020
  # [Output Only] Server-defined URL for the resource.
35746
36021
  # Corresponds to the JSON property `selfLink`
35747
36022
  # @return [String]
@@ -35769,6 +36044,7 @@ module Google
35769
36044
  @min_tls_version = args[:min_tls_version] if args.key?(:min_tls_version)
35770
36045
  @name = args[:name] if args.key?(:name)
35771
36046
  @profile = args[:profile] if args.key?(:profile)
36047
+ @region = args[:region] if args.key?(:region)
35772
36048
  @self_link = args[:self_link] if args.key?(:self_link)
35773
36049
  @warnings = args[:warnings] if args.key?(:warnings)
35774
36050
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.32.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 = "20220420"
25
+ REVISION = "20220510"
26
26
  end
27
27
  end
28
28
  end
@@ -4630,6 +4630,24 @@ module Google
4630
4630
  include Google::Apis::Core::JsonObjectSupport
4631
4631
  end
4632
4632
 
4633
+ class SslPoliciesAggregatedList
4634
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4635
+
4636
+ class Warning
4637
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4638
+
4639
+ class Datum
4640
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4641
+
4642
+ include Google::Apis::Core::JsonObjectSupport
4643
+ end
4644
+
4645
+ include Google::Apis::Core::JsonObjectSupport
4646
+ end
4647
+
4648
+ include Google::Apis::Core::JsonObjectSupport
4649
+ end
4650
+
4633
4651
  class SslPoliciesList
4634
4652
  class Representation < Google::Apis::Core::JsonRepresentation; end
4635
4653
 
@@ -4654,6 +4672,24 @@ module Google
4654
4672
  include Google::Apis::Core::JsonObjectSupport
4655
4673
  end
4656
4674
 
4675
+ class SslPoliciesScopedList
4676
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4677
+
4678
+ class Warning
4679
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4680
+
4681
+ class Datum
4682
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4683
+
4684
+ include Google::Apis::Core::JsonObjectSupport
4685
+ end
4686
+
4687
+ include Google::Apis::Core::JsonObjectSupport
4688
+ end
4689
+
4690
+ include Google::Apis::Core::JsonObjectSupport
4691
+ end
4692
+
4657
4693
  class SslPolicy
4658
4694
  class Representation < Google::Apis::Core::JsonRepresentation; end
4659
4695
 
@@ -7613,11 +7649,13 @@ module Google
7613
7649
  class FirewallPolicyRuleMatcher
7614
7650
  # @private
7615
7651
  class Representation < Google::Apis::Core::JsonRepresentation
7652
+ collection :dest_address_groups, as: 'destAddressGroups'
7616
7653
  collection :dest_ip_ranges, as: 'destIpRanges'
7617
7654
  collection :dest_region_codes, as: 'destRegionCodes'
7618
7655
  collection :dest_threat_intelligences, as: 'destThreatIntelligences'
7619
7656
  collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcherLayer4Config::Representation
7620
7657
 
7658
+ collection :src_address_groups, as: 'srcAddressGroups'
7621
7659
  collection :src_ip_ranges, as: 'srcIpRanges'
7622
7660
  collection :src_region_codes, as: 'srcRegionCodes'
7623
7661
  collection :src_secure_tags, as: 'srcSecureTags', class: Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag::Representation
@@ -7674,6 +7712,7 @@ module Google
7674
7712
  property :name, as: 'name'
7675
7713
  property :network, as: 'network'
7676
7714
  property :network_tier, as: 'networkTier'
7715
+ property :no_automate_dns_zone, as: 'noAutomateDnsZone'
7677
7716
  property :port_range, as: 'portRange'
7678
7717
  collection :ports, as: 'ports'
7679
7718
  property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
@@ -10855,6 +10894,7 @@ module Google
10855
10894
  property :name, as: 'name'
10856
10895
  property :network, as: 'network'
10857
10896
  property :peer_mtu, as: 'peerMtu'
10897
+ property :stack_type, as: 'stackType'
10858
10898
  property :state, as: 'state'
10859
10899
  property :state_details, as: 'stateDetails'
10860
10900
  end
@@ -13301,6 +13341,7 @@ module Google
13301
13341
  collection :drain_nat_ips, as: 'drainNatIps'
13302
13342
  property :enable_dynamic_port_allocation, as: 'enableDynamicPortAllocation'
13303
13343
  property :enable_endpoint_independent_mapping, as: 'enableEndpointIndependentMapping'
13344
+ collection :endpoint_types, as: 'endpointTypes'
13304
13345
  property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
13305
13346
  property :log_config, as: 'logConfig', class: Google::Apis::ComputeBeta::RouterNatLogConfig, decorator: Google::Apis::ComputeBeta::RouterNatLogConfig::Representation
13306
13347
 
@@ -14381,6 +14422,40 @@ module Google
14381
14422
  end
14382
14423
  end
14383
14424
 
14425
+ class SslPoliciesAggregatedList
14426
+ # @private
14427
+ class Representation < Google::Apis::Core::JsonRepresentation
14428
+ property :etag, as: 'etag'
14429
+ property :id, as: 'id'
14430
+ hash :items, as: 'items', class: Google::Apis::ComputeBeta::SslPoliciesScopedList, decorator: Google::Apis::ComputeBeta::SslPoliciesScopedList::Representation
14431
+
14432
+ property :kind, as: 'kind'
14433
+ property :next_page_token, as: 'nextPageToken'
14434
+ property :self_link, as: 'selfLink'
14435
+ collection :unreachables, as: 'unreachables'
14436
+ property :warning, as: 'warning', class: Google::Apis::ComputeBeta::SslPoliciesAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::SslPoliciesAggregatedList::Warning::Representation
14437
+
14438
+ end
14439
+
14440
+ class Warning
14441
+ # @private
14442
+ class Representation < Google::Apis::Core::JsonRepresentation
14443
+ property :code, as: 'code'
14444
+ collection :data, as: 'data', class: Google::Apis::ComputeBeta::SslPoliciesAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::SslPoliciesAggregatedList::Warning::Datum::Representation
14445
+
14446
+ property :message, as: 'message'
14447
+ end
14448
+
14449
+ class Datum
14450
+ # @private
14451
+ class Representation < Google::Apis::Core::JsonRepresentation
14452
+ property :key, as: 'key'
14453
+ property :value, as: 'value'
14454
+ end
14455
+ end
14456
+ end
14457
+ end
14458
+
14384
14459
  class SslPoliciesList
14385
14460
  # @private
14386
14461
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14420,6 +14495,34 @@ module Google
14420
14495
  end
14421
14496
  end
14422
14497
 
14498
+ class SslPoliciesScopedList
14499
+ # @private
14500
+ class Representation < Google::Apis::Core::JsonRepresentation
14501
+ collection :ssl_policies, as: 'sslPolicies', class: Google::Apis::ComputeBeta::SslPolicy, decorator: Google::Apis::ComputeBeta::SslPolicy::Representation
14502
+
14503
+ property :warning, as: 'warning', class: Google::Apis::ComputeBeta::SslPoliciesScopedList::Warning, decorator: Google::Apis::ComputeBeta::SslPoliciesScopedList::Warning::Representation
14504
+
14505
+ end
14506
+
14507
+ class Warning
14508
+ # @private
14509
+ class Representation < Google::Apis::Core::JsonRepresentation
14510
+ property :code, as: 'code'
14511
+ collection :data, as: 'data', class: Google::Apis::ComputeBeta::SslPoliciesScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::SslPoliciesScopedList::Warning::Datum::Representation
14512
+
14513
+ property :message, as: 'message'
14514
+ end
14515
+
14516
+ class Datum
14517
+ # @private
14518
+ class Representation < Google::Apis::Core::JsonRepresentation
14519
+ property :key, as: 'key'
14520
+ property :value, as: 'value'
14521
+ end
14522
+ end
14523
+ end
14524
+ end
14525
+
14423
14526
  class SslPolicy
14424
14527
  # @private
14425
14528
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14433,6 +14536,7 @@ module Google
14433
14536
  property :min_tls_version, as: 'minTlsVersion'
14434
14537
  property :name, as: 'name'
14435
14538
  property :profile, as: 'profile'
14539
+ property :region, as: 'region'
14436
14540
  property :self_link, as: 'selfLink'
14437
14541
  collection :warnings, as: 'warnings', class: Google::Apis::ComputeBeta::SslPolicy::Warning, decorator: Google::Apis::ComputeBeta::SslPolicy::Warning::Representation
14438
14542
 
@@ -28426,6 +28426,407 @@ module Google
28426
28426
  execute_or_queue_command(command, &block)
28427
28427
  end
28428
28428
 
28429
+ # Deletes the specified SSL policy. The SSL policy resource can be deleted only
28430
+ # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
28431
+ # @param [String] project
28432
+ # Project ID for this request.
28433
+ # @param [String] region
28434
+ # Name of the region scoping this request.
28435
+ # @param [String] ssl_policy
28436
+ # Name of the SSL policy to delete. The name must be 1-63 characters long, and
28437
+ # comply with RFC1035.
28438
+ # @param [String] request_id
28439
+ # An optional request ID to identify requests. Specify a unique request ID so
28440
+ # that if you must retry your request, the server will know to ignore the
28441
+ # request if it has already been completed. For example, consider a situation
28442
+ # where you make an initial request and the request times out. If you make the
28443
+ # request again with the same request ID, the server can check if original
28444
+ # operation with the same request ID was received, and if so, will ignore the
28445
+ # second request. This prevents clients from accidentally creating duplicate
28446
+ # commitments. The request ID must be a valid UUID with the exception that zero
28447
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
28448
+ # @param [String] fields
28449
+ # Selector specifying which fields to include in a partial response.
28450
+ # @param [String] quota_user
28451
+ # Available to use for quota purposes for server-side applications. Can be any
28452
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28453
+ # @param [String] user_ip
28454
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28455
+ # @param [Google::Apis::RequestOptions] options
28456
+ # Request-specific options
28457
+ #
28458
+ # @yield [result, err] Result & error if block supplied
28459
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
28460
+ # @yieldparam err [StandardError] error object if request failed
28461
+ #
28462
+ # @return [Google::Apis::ComputeBeta::Operation]
28463
+ #
28464
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28465
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28466
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28467
+ def delete_region_ssl_policy(project, region, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28468
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', options)
28469
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
28470
+ command.response_class = Google::Apis::ComputeBeta::Operation
28471
+ command.params['project'] = project unless project.nil?
28472
+ command.params['region'] = region unless region.nil?
28473
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
28474
+ command.query['requestId'] = request_id unless request_id.nil?
28475
+ command.query['fields'] = fields unless fields.nil?
28476
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28477
+ command.query['userIp'] = user_ip unless user_ip.nil?
28478
+ execute_or_queue_command(command, &block)
28479
+ end
28480
+
28481
+ # Lists all of the ordered rules present in a single specified policy.
28482
+ # @param [String] project
28483
+ # Project ID for this request.
28484
+ # @param [String] region
28485
+ # Name of the region scoping this request.
28486
+ # @param [String] ssl_policy
28487
+ # Name of the SSL policy to update. The name must be 1-63 characters long, and
28488
+ # comply with RFC1035.
28489
+ # @param [String] fields
28490
+ # Selector specifying which fields to include in a partial response.
28491
+ # @param [String] quota_user
28492
+ # Available to use for quota purposes for server-side applications. Can be any
28493
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28494
+ # @param [String] user_ip
28495
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28496
+ # @param [Google::Apis::RequestOptions] options
28497
+ # Request-specific options
28498
+ #
28499
+ # @yield [result, err] Result & error if block supplied
28500
+ # @yieldparam result [Google::Apis::ComputeBeta::SslPolicy] parsed result object
28501
+ # @yieldparam err [StandardError] error object if request failed
28502
+ #
28503
+ # @return [Google::Apis::ComputeBeta::SslPolicy]
28504
+ #
28505
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28506
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28507
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28508
+ def get_region_ssl_policy(project, region, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28509
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', options)
28510
+ command.response_representation = Google::Apis::ComputeBeta::SslPolicy::Representation
28511
+ command.response_class = Google::Apis::ComputeBeta::SslPolicy
28512
+ command.params['project'] = project unless project.nil?
28513
+ command.params['region'] = region unless region.nil?
28514
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
28515
+ command.query['fields'] = fields unless fields.nil?
28516
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28517
+ command.query['userIp'] = user_ip unless user_ip.nil?
28518
+ execute_or_queue_command(command, &block)
28519
+ end
28520
+
28521
+ # Creates a new policy in the specified project and region using the data
28522
+ # included in the request.
28523
+ # @param [String] project
28524
+ # Project ID for this request.
28525
+ # @param [String] region
28526
+ # Name of the region scoping this request.
28527
+ # @param [Google::Apis::ComputeBeta::SslPolicy] ssl_policy_object
28528
+ # @param [String] request_id
28529
+ # An optional request ID to identify requests. Specify a unique request ID so
28530
+ # that if you must retry your request, the server will know to ignore the
28531
+ # request if it has already been completed. For example, consider a situation
28532
+ # where you make an initial request and the request times out. If you make the
28533
+ # request again with the same request ID, the server can check if original
28534
+ # operation with the same request ID was received, and if so, will ignore the
28535
+ # second request. This prevents clients from accidentally creating duplicate
28536
+ # commitments. The request ID must be a valid UUID with the exception that zero
28537
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
28538
+ # @param [String] fields
28539
+ # Selector specifying which fields to include in a partial response.
28540
+ # @param [String] quota_user
28541
+ # Available to use for quota purposes for server-side applications. Can be any
28542
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28543
+ # @param [String] user_ip
28544
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28545
+ # @param [Google::Apis::RequestOptions] options
28546
+ # Request-specific options
28547
+ #
28548
+ # @yield [result, err] Result & error if block supplied
28549
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
28550
+ # @yieldparam err [StandardError] error object if request failed
28551
+ #
28552
+ # @return [Google::Apis::ComputeBeta::Operation]
28553
+ #
28554
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28555
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28556
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28557
+ def insert_region_ssl_policy(project, region, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28558
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslPolicies', options)
28559
+ command.request_representation = Google::Apis::ComputeBeta::SslPolicy::Representation
28560
+ command.request_object = ssl_policy_object
28561
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
28562
+ command.response_class = Google::Apis::ComputeBeta::Operation
28563
+ command.params['project'] = project unless project.nil?
28564
+ command.params['region'] = region unless region.nil?
28565
+ command.query['requestId'] = request_id unless request_id.nil?
28566
+ command.query['fields'] = fields unless fields.nil?
28567
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28568
+ command.query['userIp'] = user_ip unless user_ip.nil?
28569
+ execute_or_queue_command(command, &block)
28570
+ end
28571
+
28572
+ # Lists all the SSL policies that have been configured for the specified project
28573
+ # and region.
28574
+ # @param [String] project
28575
+ # Project ID for this request.
28576
+ # @param [String] region
28577
+ # Name of the region scoping this request.
28578
+ # @param [String] filter
28579
+ # A filter expression that filters resources listed in the response. The
28580
+ # expression must specify the field name, an operator, and the value that you
28581
+ # want to use for filtering. The value must be a string, a number, or a boolean.
28582
+ # The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
28583
+ # example, if you are filtering Compute Engine instances, you can exclude
28584
+ # instances named `example-instance` by specifying `name != example-instance`.
28585
+ # The `:` operator can be used with string fields to match substrings. For non-
28586
+ # string fields it is equivalent to the `=` operator. The `:*` comparison can be
28587
+ # used to test whether a key has been defined. For example, to find all objects
28588
+ # with `owner` label use: ``` labels.owner:* ``` You can also filter nested
28589
+ # fields. For example, you could specify `scheduling.automaticRestart = false`
28590
+ # to include instances only if they are not scheduled for automatic restarts.
28591
+ # You can use filtering on nested fields to filter based on resource labels. To
28592
+ # filter on multiple expressions, provide each separate expression within
28593
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
28594
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
28595
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
28596
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
28597
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
28598
+ # @param [Fixnum] max_results
28599
+ # The maximum number of results per page that should be returned. If the number
28600
+ # of available results is larger than `maxResults`, Compute Engine returns a `
28601
+ # nextPageToken` that can be used to get the next page of results in subsequent
28602
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
28603
+ # @param [String] order_by
28604
+ # Sorts list results by a certain order. By default, results are returned in
28605
+ # alphanumerical order based on the resource name. You can also sort results in
28606
+ # descending order based on the creation timestamp using `orderBy="
28607
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
28608
+ # field in reverse chronological order (newest result first). Use this to sort
28609
+ # resources like operations so that the newest operation is returned first.
28610
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
28611
+ # @param [String] page_token
28612
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
28613
+ # by a previous list request to get the next page of results.
28614
+ # @param [Boolean] return_partial_success
28615
+ # Opt-in for partial success behavior which provides partial results in case of
28616
+ # failure. The default value is false.
28617
+ # @param [String] fields
28618
+ # Selector specifying which fields to include in a partial response.
28619
+ # @param [String] quota_user
28620
+ # Available to use for quota purposes for server-side applications. Can be any
28621
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28622
+ # @param [String] user_ip
28623
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28624
+ # @param [Google::Apis::RequestOptions] options
28625
+ # Request-specific options
28626
+ #
28627
+ # @yield [result, err] Result & error if block supplied
28628
+ # @yieldparam result [Google::Apis::ComputeBeta::SslPoliciesList] parsed result object
28629
+ # @yieldparam err [StandardError] error object if request failed
28630
+ #
28631
+ # @return [Google::Apis::ComputeBeta::SslPoliciesList]
28632
+ #
28633
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28634
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28635
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28636
+ def list_region_ssl_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28637
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies', options)
28638
+ command.response_representation = Google::Apis::ComputeBeta::SslPoliciesList::Representation
28639
+ command.response_class = Google::Apis::ComputeBeta::SslPoliciesList
28640
+ command.params['project'] = project unless project.nil?
28641
+ command.params['region'] = region unless region.nil?
28642
+ command.query['filter'] = filter unless filter.nil?
28643
+ command.query['maxResults'] = max_results unless max_results.nil?
28644
+ command.query['orderBy'] = order_by unless order_by.nil?
28645
+ command.query['pageToken'] = page_token unless page_token.nil?
28646
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
28647
+ command.query['fields'] = fields unless fields.nil?
28648
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28649
+ command.query['userIp'] = user_ip unless user_ip.nil?
28650
+ execute_or_queue_command(command, &block)
28651
+ end
28652
+
28653
+ # Lists all features that can be specified in the SSL policy when using custom
28654
+ # profile.
28655
+ # @param [String] project
28656
+ # Project ID for this request.
28657
+ # @param [String] region
28658
+ # Name of the region scoping this request.
28659
+ # @param [String] filter
28660
+ # A filter expression that filters resources listed in the response. The
28661
+ # expression must specify the field name, an operator, and the value that you
28662
+ # want to use for filtering. The value must be a string, a number, or a boolean.
28663
+ # The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
28664
+ # example, if you are filtering Compute Engine instances, you can exclude
28665
+ # instances named `example-instance` by specifying `name != example-instance`.
28666
+ # The `:` operator can be used with string fields to match substrings. For non-
28667
+ # string fields it is equivalent to the `=` operator. The `:*` comparison can be
28668
+ # used to test whether a key has been defined. For example, to find all objects
28669
+ # with `owner` label use: ``` labels.owner:* ``` You can also filter nested
28670
+ # fields. For example, you could specify `scheduling.automaticRestart = false`
28671
+ # to include instances only if they are not scheduled for automatic restarts.
28672
+ # You can use filtering on nested fields to filter based on resource labels. To
28673
+ # filter on multiple expressions, provide each separate expression within
28674
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
28675
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
28676
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
28677
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
28678
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
28679
+ # @param [Fixnum] max_results
28680
+ # The maximum number of results per page that should be returned. If the number
28681
+ # of available results is larger than `maxResults`, Compute Engine returns a `
28682
+ # nextPageToken` that can be used to get the next page of results in subsequent
28683
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
28684
+ # @param [String] order_by
28685
+ # Sorts list results by a certain order. By default, results are returned in
28686
+ # alphanumerical order based on the resource name. You can also sort results in
28687
+ # descending order based on the creation timestamp using `orderBy="
28688
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
28689
+ # field in reverse chronological order (newest result first). Use this to sort
28690
+ # resources like operations so that the newest operation is returned first.
28691
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
28692
+ # @param [String] page_token
28693
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
28694
+ # by a previous list request to get the next page of results.
28695
+ # @param [Boolean] return_partial_success
28696
+ # Opt-in for partial success behavior which provides partial results in case of
28697
+ # failure. The default value is false.
28698
+ # @param [String] fields
28699
+ # Selector specifying which fields to include in a partial response.
28700
+ # @param [String] quota_user
28701
+ # Available to use for quota purposes for server-side applications. Can be any
28702
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28703
+ # @param [String] user_ip
28704
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28705
+ # @param [Google::Apis::RequestOptions] options
28706
+ # Request-specific options
28707
+ #
28708
+ # @yield [result, err] Result & error if block supplied
28709
+ # @yieldparam result [Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse] parsed result object
28710
+ # @yieldparam err [StandardError] error object if request failed
28711
+ #
28712
+ # @return [Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse]
28713
+ #
28714
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28715
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28716
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28717
+ def list_region_ssl_policy_available_features(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28718
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures', options)
28719
+ command.response_representation = Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse::Representation
28720
+ command.response_class = Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse
28721
+ command.params['project'] = project unless project.nil?
28722
+ command.params['region'] = region unless region.nil?
28723
+ command.query['filter'] = filter unless filter.nil?
28724
+ command.query['maxResults'] = max_results unless max_results.nil?
28725
+ command.query['orderBy'] = order_by unless order_by.nil?
28726
+ command.query['pageToken'] = page_token unless page_token.nil?
28727
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
28728
+ command.query['fields'] = fields unless fields.nil?
28729
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28730
+ command.query['userIp'] = user_ip unless user_ip.nil?
28731
+ execute_or_queue_command(command, &block)
28732
+ end
28733
+
28734
+ # Patches the specified SSL policy with the data included in the request.
28735
+ # @param [String] project
28736
+ # Project ID for this request.
28737
+ # @param [String] region
28738
+ # Name of the region scoping this request.
28739
+ # @param [String] ssl_policy
28740
+ # Name of the SSL policy to update. The name must be 1-63 characters long, and
28741
+ # comply with RFC1035.
28742
+ # @param [Google::Apis::ComputeBeta::SslPolicy] ssl_policy_object
28743
+ # @param [String] request_id
28744
+ # An optional request ID to identify requests. Specify a unique request ID so
28745
+ # that if you must retry your request, the server will know to ignore the
28746
+ # request if it has already been completed. For example, consider a situation
28747
+ # where you make an initial request and the request times out. If you make the
28748
+ # request again with the same request ID, the server can check if original
28749
+ # operation with the same request ID was received, and if so, will ignore the
28750
+ # second request. This prevents clients from accidentally creating duplicate
28751
+ # commitments. The request ID must be a valid UUID with the exception that zero
28752
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
28753
+ # @param [String] fields
28754
+ # Selector specifying which fields to include in a partial response.
28755
+ # @param [String] quota_user
28756
+ # Available to use for quota purposes for server-side applications. Can be any
28757
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28758
+ # @param [String] user_ip
28759
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28760
+ # @param [Google::Apis::RequestOptions] options
28761
+ # Request-specific options
28762
+ #
28763
+ # @yield [result, err] Result & error if block supplied
28764
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
28765
+ # @yieldparam err [StandardError] error object if request failed
28766
+ #
28767
+ # @return [Google::Apis::ComputeBeta::Operation]
28768
+ #
28769
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28770
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28771
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28772
+ def patch_region_ssl_policy(project, region, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28773
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', options)
28774
+ command.request_representation = Google::Apis::ComputeBeta::SslPolicy::Representation
28775
+ command.request_object = ssl_policy_object
28776
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
28777
+ command.response_class = Google::Apis::ComputeBeta::Operation
28778
+ command.params['project'] = project unless project.nil?
28779
+ command.params['region'] = region unless region.nil?
28780
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
28781
+ command.query['requestId'] = request_id unless request_id.nil?
28782
+ command.query['fields'] = fields unless fields.nil?
28783
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28784
+ command.query['userIp'] = user_ip unless user_ip.nil?
28785
+ execute_or_queue_command(command, &block)
28786
+ end
28787
+
28788
+ # Returns permissions that a caller has on the specified resource.
28789
+ # @param [String] project
28790
+ # Project ID for this request.
28791
+ # @param [String] region
28792
+ # The name of the region for this request.
28793
+ # @param [String] resource
28794
+ # Name or id of the resource for this request.
28795
+ # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
28796
+ # @param [String] fields
28797
+ # Selector specifying which fields to include in a partial response.
28798
+ # @param [String] quota_user
28799
+ # Available to use for quota purposes for server-side applications. Can be any
28800
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28801
+ # @param [String] user_ip
28802
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28803
+ # @param [Google::Apis::RequestOptions] options
28804
+ # Request-specific options
28805
+ #
28806
+ # @yield [result, err] Result & error if block supplied
28807
+ # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
28808
+ # @yieldparam err [StandardError] error object if request failed
28809
+ #
28810
+ # @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
28811
+ #
28812
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28813
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28814
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28815
+ def test_region_ssl_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28816
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslPolicies/{resource}/testIamPermissions', options)
28817
+ command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
28818
+ command.request_object = test_permissions_request_object
28819
+ command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
28820
+ command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
28821
+ command.params['project'] = project unless project.nil?
28822
+ command.params['region'] = region unless region.nil?
28823
+ command.params['resource'] = resource unless resource.nil?
28824
+ command.query['fields'] = fields unless fields.nil?
28825
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28826
+ command.query['userIp'] = user_ip unless user_ip.nil?
28827
+ execute_or_queue_command(command, &block)
28828
+ end
28829
+
28429
28830
  # Deletes the specified TargetHttpProxy resource.
28430
28831
  # @param [String] project
28431
28832
  # Project ID for this request.
@@ -33716,6 +34117,92 @@ module Google
33716
34117
  execute_or_queue_command(command, &block)
33717
34118
  end
33718
34119
 
34120
+ # Retrieves the list of all SslPolicy resources, regional and global, available
34121
+ # to the specified project.
34122
+ # @param [String] project
34123
+ # Name of the project scoping this request.
34124
+ # @param [String] filter
34125
+ # A filter expression that filters resources listed in the response. The
34126
+ # expression must specify the field name, an operator, and the value that you
34127
+ # want to use for filtering. The value must be a string, a number, or a boolean.
34128
+ # The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
34129
+ # example, if you are filtering Compute Engine instances, you can exclude
34130
+ # instances named `example-instance` by specifying `name != example-instance`.
34131
+ # The `:` operator can be used with string fields to match substrings. For non-
34132
+ # string fields it is equivalent to the `=` operator. The `:*` comparison can be
34133
+ # used to test whether a key has been defined. For example, to find all objects
34134
+ # with `owner` label use: ``` labels.owner:* ``` You can also filter nested
34135
+ # fields. For example, you could specify `scheduling.automaticRestart = false`
34136
+ # to include instances only if they are not scheduled for automatic restarts.
34137
+ # You can use filtering on nested fields to filter based on resource labels. To
34138
+ # filter on multiple expressions, provide each separate expression within
34139
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
34140
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
34141
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
34142
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
34143
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
34144
+ # @param [Boolean] include_all_scopes
34145
+ # Indicates whether every visible scope for each scope type (zone, region,
34146
+ # global) should be included in the response. For new resource types added after
34147
+ # this field, the flag has no effect as new resource types will always include
34148
+ # every visible scope for each scope type in response. For resource types which
34149
+ # predate this field, if this flag is omitted or false, only scopes of the scope
34150
+ # types where the resource type is expected to be found will be included.
34151
+ # @param [Fixnum] max_results
34152
+ # The maximum number of results per page that should be returned. If the number
34153
+ # of available results is larger than `maxResults`, Compute Engine returns a `
34154
+ # nextPageToken` that can be used to get the next page of results in subsequent
34155
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
34156
+ # @param [String] order_by
34157
+ # Sorts list results by a certain order. By default, results are returned in
34158
+ # alphanumerical order based on the resource name. You can also sort results in
34159
+ # descending order based on the creation timestamp using `orderBy="
34160
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
34161
+ # field in reverse chronological order (newest result first). Use this to sort
34162
+ # resources like operations so that the newest operation is returned first.
34163
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
34164
+ # @param [String] page_token
34165
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
34166
+ # by a previous list request to get the next page of results.
34167
+ # @param [Boolean] return_partial_success
34168
+ # Opt-in for partial success behavior which provides partial results in case of
34169
+ # failure. The default value is false.
34170
+ # @param [String] fields
34171
+ # Selector specifying which fields to include in a partial response.
34172
+ # @param [String] quota_user
34173
+ # Available to use for quota purposes for server-side applications. Can be any
34174
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34175
+ # @param [String] user_ip
34176
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34177
+ # @param [Google::Apis::RequestOptions] options
34178
+ # Request-specific options
34179
+ #
34180
+ # @yield [result, err] Result & error if block supplied
34181
+ # @yieldparam result [Google::Apis::ComputeBeta::SslPoliciesAggregatedList] parsed result object
34182
+ # @yieldparam err [StandardError] error object if request failed
34183
+ #
34184
+ # @return [Google::Apis::ComputeBeta::SslPoliciesAggregatedList]
34185
+ #
34186
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34187
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34188
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34189
+ def aggregated_ssl_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34190
+ command = make_simple_command(:get, 'projects/{project}/aggregated/sslPolicies', options)
34191
+ command.response_representation = Google::Apis::ComputeBeta::SslPoliciesAggregatedList::Representation
34192
+ command.response_class = Google::Apis::ComputeBeta::SslPoliciesAggregatedList
34193
+ command.params['project'] = project unless project.nil?
34194
+ command.query['filter'] = filter unless filter.nil?
34195
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
34196
+ command.query['maxResults'] = max_results unless max_results.nil?
34197
+ command.query['orderBy'] = order_by unless order_by.nil?
34198
+ command.query['pageToken'] = page_token unless page_token.nil?
34199
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
34200
+ command.query['fields'] = fields unless fields.nil?
34201
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34202
+ command.query['userIp'] = user_ip unless user_ip.nil?
34203
+ execute_or_queue_command(command, &block)
34204
+ end
34205
+
33719
34206
  # Deletes the specified SSL policy. The SSL policy resource can be deleted only
33720
34207
  # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
33721
34208
  # @param [String] project
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.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-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_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.35.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []