google-apis-compute_beta 0.33.0 → 0.34.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6606d80203f3cc7d49d9ec4d590469ebf17072c49f7bfcb3123e328746daced
|
4
|
+
data.tar.gz: 0b1f26ed5ee342a45086d1cafd3a2408cf6daa65298e99134e60c957803b2e95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df3705c51164ed45769cb5aaff8333f95af63b1f677546b9e03890236424a1898b5c4dc48898659a306d9653ca5b65b76608ddfd43b4f6c818b50b38a4f1e830
|
7
|
+
data.tar.gz: 5fa8e9c45814f9b0af1c9d5bbcdce063bb428e3d1d61587960c3e208c36f42011524d1039135e4318202b8ec21e40b67d6be35a3dd299633395d934c755d30bf
|
data/CHANGELOG.md
CHANGED
@@ -8713,21 +8713,26 @@ module Google
|
|
8713
8713
|
class ForwardingRule
|
8714
8714
|
include Google::Apis::Core::Hashable
|
8715
8715
|
|
8716
|
-
# IP address
|
8717
|
-
# this IP address, the forwarding rule directs the traffic to the
|
8718
|
-
#
|
8719
|
-
# an
|
8720
|
-
#
|
8721
|
-
#
|
8722
|
-
#
|
8723
|
-
#
|
8724
|
-
#
|
8725
|
-
#
|
8726
|
-
#
|
8727
|
-
# com/
|
8728
|
-
#
|
8729
|
-
#
|
8730
|
-
#
|
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.
|
8731
8736
|
# Corresponds to the JSON property `IPAddress`
|
8732
8737
|
# @return [String]
|
8733
8738
|
attr_accessor :ip_address
|
@@ -10936,10 +10941,10 @@ module Google
|
|
10936
10941
|
|
10937
10942
|
# The list of host patterns to match. They must be valid hostnames with optional
|
10938
10943
|
# port numbers in the format host:port. * matches any string of ([a-z0-9-.]*).
|
10939
|
-
# In that case, * must be the first character and
|
10940
|
-
#
|
10941
|
-
# is bound to a target gRPC proxy that has the
|
10942
|
-
# 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.
|
10943
10948
|
# Corresponds to the JSON property `hosts`
|
10944
10949
|
# @return [Array<String>]
|
10945
10950
|
attr_accessor :hosts
|
@@ -14383,12 +14388,16 @@ module Google
|
|
14383
14388
|
# @return [Fixnum]
|
14384
14389
|
attr_accessor :min_ready_sec
|
14385
14390
|
|
14386
|
-
# Minimal action to be taken on an instance.
|
14387
|
-
#
|
14388
|
-
#
|
14389
|
-
#
|
14390
|
-
#
|
14391
|
-
#
|
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.
|
14392
14401
|
# Corresponds to the JSON property `minimalAction`
|
14393
14402
|
# @return [String]
|
14394
14403
|
attr_accessor :minimal_action
|
@@ -29547,9 +29556,9 @@ module Google
|
|
29547
29556
|
class ResourcePolicyGroupPlacementPolicy
|
29548
29557
|
include Google::Apis::Core::Hashable
|
29549
29558
|
|
29550
|
-
# The number of availability domains
|
29551
|
-
# instances are in different availability domain, they
|
29552
|
-
#
|
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.
|
29553
29562
|
# Corresponds to the JSON property `availabilityDomainCount`
|
29554
29563
|
# @return [Fixnum]
|
29555
29564
|
attr_accessor :availability_domain_count
|
@@ -29559,7 +29568,9 @@ module Google
|
|
29559
29568
|
# @return [String]
|
29560
29569
|
attr_accessor :collocation
|
29561
29570
|
|
29562
|
-
# Number of
|
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.
|
29563
29574
|
# Corresponds to the JSON property `vmCount`
|
29564
29575
|
# @return [Fixnum]
|
29565
29576
|
attr_accessor :vm_count
|
@@ -35566,6 +35577,136 @@ module Google
|
|
35566
35577
|
end
|
35567
35578
|
end
|
35568
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
|
+
|
35569
35710
|
#
|
35570
35711
|
class SslPoliciesList
|
35571
35712
|
include Google::Apis::Core::Hashable
|
@@ -35703,6 +35844,97 @@ module Google
|
|
35703
35844
|
end
|
35704
35845
|
end
|
35705
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
|
+
|
35706
35938
|
# Represents an SSL Policy resource. Use SSL policies to control the SSL
|
35707
35939
|
# features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy
|
35708
35940
|
# load balancer. For more information, read SSL Policy Concepts.
|
@@ -35779,6 +36011,12 @@ module Google
|
|
35779
36011
|
# @return [String]
|
35780
36012
|
attr_accessor :profile
|
35781
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
|
+
|
35782
36020
|
# [Output Only] Server-defined URL for the resource.
|
35783
36021
|
# Corresponds to the JSON property `selfLink`
|
35784
36022
|
# @return [String]
|
@@ -35806,6 +36044,7 @@ module Google
|
|
35806
36044
|
@min_tls_version = args[:min_tls_version] if args.key?(:min_tls_version)
|
35807
36045
|
@name = args[:name] if args.key?(:name)
|
35808
36046
|
@profile = args[:profile] if args.key?(:profile)
|
36047
|
+
@region = args[:region] if args.key?(:region)
|
35809
36048
|
@self_link = args[:self_link] if args.key?(:self_link)
|
35810
36049
|
@warnings = args[:warnings] if args.key?(:warnings)
|
35811
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.
|
19
|
+
GEM_VERSION = "0.34.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220506"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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
|
|
@@ -14386,6 +14422,40 @@ module Google
|
|
14386
14422
|
end
|
14387
14423
|
end
|
14388
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
|
+
|
14389
14459
|
class SslPoliciesList
|
14390
14460
|
# @private
|
14391
14461
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14425,6 +14495,34 @@ module Google
|
|
14425
14495
|
end
|
14426
14496
|
end
|
14427
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
|
+
|
14428
14526
|
class SslPolicy
|
14429
14527
|
# @private
|
14430
14528
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14438,6 +14536,7 @@ module Google
|
|
14438
14536
|
property :min_tls_version, as: 'minTlsVersion'
|
14439
14537
|
property :name, as: 'name'
|
14440
14538
|
property :profile, as: 'profile'
|
14539
|
+
property :region, as: 'region'
|
14441
14540
|
property :self_link, as: 'selfLink'
|
14442
14541
|
collection :warnings, as: 'warnings', class: Google::Apis::ComputeBeta::SslPolicy::Warning, decorator: Google::Apis::ComputeBeta::SslPolicy::Warning::Representation
|
14443
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.
|
4
|
+
version: 0.34.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.34.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: []
|