google-apis-compute_beta 0.28.0 → 0.29.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: cba9a839bda80d1ccd02058c4abecf24e44a73b77498602be2e21ac4d246f52c
4
- data.tar.gz: 79ba0e9868c51998169f259e4339591b6459105120be08959a35e27b02c7c775
3
+ metadata.gz: 7d5ec99639fae99fb67ecc2f033de235236181213219b4dd2a091a803eef7b1e
4
+ data.tar.gz: 650c428a672fe6621819de3f134c7183c0a7f992874f7bb0bfbdc7593cca2996
5
5
  SHA512:
6
- metadata.gz: e89bad8c93963f1aa5e112a15d862abcce63dbd4b75ae29e0615ce687707d1d86ad771782300bd27a626da353051c7f5c18a23b162c924621ced4fcb10be35a0
7
- data.tar.gz: debb8c36514b75d0462cf05c8a4e339dfa9e229e5dcf3898abcf5ab6a1fa6a29dd190b1f3f379e91cd31015b9d2481e4755be7c229330a08a9fa5125728a66b5
6
+ metadata.gz: 93589d198b044129838edd9f4c4146be45e6dd4f0401dccda5c1a480940a22e319e938ebe5680e7ef7005f528add71b66cb17bd8ea3fa4f8702acd1d8a8c3bae
7
+ data.tar.gz: e1f8b89634f4338abd39d392d0b27fc37f3f46cc3979ac9d431e4b383a5d24c47bf8b739db8632788c5d3dbea35c38aac3cf9f6d77db2bda659a0240505d4f95
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.29.0 (2022-03-18)
4
+
5
+ * Regenerated from discovery document revision 20220312
6
+
3
7
  ### v0.28.0 (2022-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20220301
@@ -3404,12 +3404,13 @@ module Google
3404
3404
  attr_accessor :subsetting
3405
3405
 
3406
3406
  # The backend service timeout has a different meaning depending on the type of
3407
- # load balancer. For more information see, Backend service settings The default
3408
- # is 30 seconds. The full range of timeout values allowed is 1 - 2,147,483,647
3409
- # seconds. This value can be overridden in the PathMatcher configuration of the
3410
- # UrlMap that references this backend service. Not supported when the backend
3411
- # service is referenced by a URL map that is bound to target gRPC proxy that has
3412
- # validateForProxyless field set to true. Instead, use maxStreamDuration.
3407
+ # load balancer. For more information see, Backend service settings. The default
3408
+ # is 30 seconds. The full range of timeout values allowed goes from 1 through 2,
3409
+ # 147,483,647 seconds. This value can be overridden in the PathMatcher
3410
+ # configuration of the UrlMap that references this backend service. Not
3411
+ # supported when the backend service is referenced by a URL map that is bound to
3412
+ # target gRPC proxy that has validateForProxyless field set to true. Instead,
3413
+ # use maxStreamDuration.
3413
3414
  # Corresponds to the JSON property `timeoutSec`
3414
3415
  # @return [Fixnum]
3415
3416
  attr_accessor :timeout_sec
@@ -19857,6 +19858,318 @@ module Google
19857
19858
  end
19858
19859
  end
19859
19860
 
19861
+ # Represents a Google Cloud Armor network edge security service resource.
19862
+ class NetworkEdgeSecurityService
19863
+ include Google::Apis::Core::Hashable
19864
+
19865
+ # [Output Only] Creation timestamp in RFC3339 text format.
19866
+ # Corresponds to the JSON property `creationTimestamp`
19867
+ # @return [String]
19868
+ attr_accessor :creation_timestamp
19869
+
19870
+ # An optional description of this resource. Provide this property when you
19871
+ # create the resource.
19872
+ # Corresponds to the JSON property `description`
19873
+ # @return [String]
19874
+ attr_accessor :description
19875
+
19876
+ # Fingerprint of this resource. A hash of the contents stored in this object.
19877
+ # This field is used in optimistic locking. This field will be ignored when
19878
+ # inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be
19879
+ # provided in order to update the NetworkEdgeSecurityService, otherwise the
19880
+ # request will fail with error 412 conditionNotMet. To see the latest
19881
+ # fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
19882
+ # Corresponds to the JSON property `fingerprint`
19883
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
19884
+ # @return [String]
19885
+ attr_accessor :fingerprint
19886
+
19887
+ # [Output Only] The unique identifier for the resource. This identifier is
19888
+ # defined by the server.
19889
+ # Corresponds to the JSON property `id`
19890
+ # @return [Fixnum]
19891
+ attr_accessor :id
19892
+
19893
+ # [Output only] Type of the resource. Always compute#networkEdgeSecurityService
19894
+ # for NetworkEdgeSecurityServices
19895
+ # Corresponds to the JSON property `kind`
19896
+ # @return [String]
19897
+ attr_accessor :kind
19898
+
19899
+ # Name of the resource. Provided by the client when the resource is created. The
19900
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
19901
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
19902
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
19903
+ # and all following characters must be a dash, lowercase letter, or digit,
19904
+ # except the last character, which cannot be a dash.
19905
+ # Corresponds to the JSON property `name`
19906
+ # @return [String]
19907
+ attr_accessor :name
19908
+
19909
+ # [Output Only] URL of the region where the resource resides. You must specify
19910
+ # this field as part of the HTTP request URL. It is not settable as a field in
19911
+ # the request body.
19912
+ # Corresponds to the JSON property `region`
19913
+ # @return [String]
19914
+ attr_accessor :region
19915
+
19916
+ # The resource URL for the network edge security service associated with this
19917
+ # network edge security service.
19918
+ # Corresponds to the JSON property `securityPolicy`
19919
+ # @return [String]
19920
+ attr_accessor :security_policy
19921
+
19922
+ # [Output Only] Server-defined URL for the resource.
19923
+ # Corresponds to the JSON property `selfLink`
19924
+ # @return [String]
19925
+ attr_accessor :self_link
19926
+
19927
+ # [Output Only] Server-defined URL for this resource with the resource id.
19928
+ # Corresponds to the JSON property `selfLinkWithId`
19929
+ # @return [String]
19930
+ attr_accessor :self_link_with_id
19931
+
19932
+ def initialize(**args)
19933
+ update!(**args)
19934
+ end
19935
+
19936
+ # Update properties of this object
19937
+ def update!(**args)
19938
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
19939
+ @description = args[:description] if args.key?(:description)
19940
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
19941
+ @id = args[:id] if args.key?(:id)
19942
+ @kind = args[:kind] if args.key?(:kind)
19943
+ @name = args[:name] if args.key?(:name)
19944
+ @region = args[:region] if args.key?(:region)
19945
+ @security_policy = args[:security_policy] if args.key?(:security_policy)
19946
+ @self_link = args[:self_link] if args.key?(:self_link)
19947
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
19948
+ end
19949
+ end
19950
+
19951
+ #
19952
+ class NetworkEdgeSecurityServiceAggregatedList
19953
+ include Google::Apis::Core::Hashable
19954
+
19955
+ #
19956
+ # Corresponds to the JSON property `etag`
19957
+ # @return [String]
19958
+ attr_accessor :etag
19959
+
19960
+ # [Output Only] Unique identifier for the resource; defined by the server.
19961
+ # Corresponds to the JSON property `id`
19962
+ # @return [String]
19963
+ attr_accessor :id
19964
+
19965
+ # A list of NetworkEdgeSecurityServicesScopedList resources.
19966
+ # Corresponds to the JSON property `items`
19967
+ # @return [Hash<String,Google::Apis::ComputeBeta::NetworkEdgeSecurityServicesScopedList>]
19968
+ attr_accessor :items
19969
+
19970
+ # [Output Only] Type of resource. Always compute#
19971
+ # networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security
19972
+ # Services.
19973
+ # Corresponds to the JSON property `kind`
19974
+ # @return [String]
19975
+ attr_accessor :kind
19976
+
19977
+ # [Output Only] This token allows you to get the next page of results for list
19978
+ # requests. If the number of results is larger than maxResults, use the
19979
+ # nextPageToken as a value for the query parameter pageToken in the next list
19980
+ # request. Subsequent list requests will have their own nextPageToken to
19981
+ # continue paging through the results.
19982
+ # Corresponds to the JSON property `nextPageToken`
19983
+ # @return [String]
19984
+ attr_accessor :next_page_token
19985
+
19986
+ # [Output Only] Server-defined URL for this resource.
19987
+ # Corresponds to the JSON property `selfLink`
19988
+ # @return [String]
19989
+ attr_accessor :self_link
19990
+
19991
+ # [Output Only] Unreachable resources.
19992
+ # Corresponds to the JSON property `unreachables`
19993
+ # @return [Array<String>]
19994
+ attr_accessor :unreachables
19995
+
19996
+ # [Output Only] Informational warning message.
19997
+ # Corresponds to the JSON property `warning`
19998
+ # @return [Google::Apis::ComputeBeta::NetworkEdgeSecurityServiceAggregatedList::Warning]
19999
+ attr_accessor :warning
20000
+
20001
+ def initialize(**args)
20002
+ update!(**args)
20003
+ end
20004
+
20005
+ # Update properties of this object
20006
+ def update!(**args)
20007
+ @etag = args[:etag] if args.key?(:etag)
20008
+ @id = args[:id] if args.key?(:id)
20009
+ @items = args[:items] if args.key?(:items)
20010
+ @kind = args[:kind] if args.key?(:kind)
20011
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
20012
+ @self_link = args[:self_link] if args.key?(:self_link)
20013
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
20014
+ @warning = args[:warning] if args.key?(:warning)
20015
+ end
20016
+
20017
+ # [Output Only] Informational warning message.
20018
+ class Warning
20019
+ include Google::Apis::Core::Hashable
20020
+
20021
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
20022
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
20023
+ # Corresponds to the JSON property `code`
20024
+ # @return [String]
20025
+ attr_accessor :code
20026
+
20027
+ # [Output Only] Metadata about this warning in key: value format. For example: "
20028
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
20029
+ # Corresponds to the JSON property `data`
20030
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEdgeSecurityServiceAggregatedList::Warning::Datum>]
20031
+ attr_accessor :data
20032
+
20033
+ # [Output Only] A human-readable description of the warning code.
20034
+ # Corresponds to the JSON property `message`
20035
+ # @return [String]
20036
+ attr_accessor :message
20037
+
20038
+ def initialize(**args)
20039
+ update!(**args)
20040
+ end
20041
+
20042
+ # Update properties of this object
20043
+ def update!(**args)
20044
+ @code = args[:code] if args.key?(:code)
20045
+ @data = args[:data] if args.key?(:data)
20046
+ @message = args[:message] if args.key?(:message)
20047
+ end
20048
+
20049
+ #
20050
+ class Datum
20051
+ include Google::Apis::Core::Hashable
20052
+
20053
+ # [Output Only] A key that provides more detail on the warning being returned.
20054
+ # For example, for warnings where there are no results in a list request for a
20055
+ # particular zone, this key might be scope and the key value might be the zone
20056
+ # name. Other examples might be a key indicating a deprecated resource and a
20057
+ # suggested replacement, or a warning about invalid network settings (for
20058
+ # example, if an instance attempts to perform IP forwarding but is not enabled
20059
+ # for IP forwarding).
20060
+ # Corresponds to the JSON property `key`
20061
+ # @return [String]
20062
+ attr_accessor :key
20063
+
20064
+ # [Output Only] A warning data value corresponding to the key.
20065
+ # Corresponds to the JSON property `value`
20066
+ # @return [String]
20067
+ attr_accessor :value
20068
+
20069
+ def initialize(**args)
20070
+ update!(**args)
20071
+ end
20072
+
20073
+ # Update properties of this object
20074
+ def update!(**args)
20075
+ @key = args[:key] if args.key?(:key)
20076
+ @value = args[:value] if args.key?(:value)
20077
+ end
20078
+ end
20079
+ end
20080
+ end
20081
+
20082
+ #
20083
+ class NetworkEdgeSecurityServicesScopedList
20084
+ include Google::Apis::Core::Hashable
20085
+
20086
+ # A list of NetworkEdgeSecurityServices contained in this scope.
20087
+ # Corresponds to the JSON property `networkEdgeSecurityServices`
20088
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEdgeSecurityService>]
20089
+ attr_accessor :network_edge_security_services
20090
+
20091
+ # Informational warning which replaces the list of security policies when the
20092
+ # list is empty.
20093
+ # Corresponds to the JSON property `warning`
20094
+ # @return [Google::Apis::ComputeBeta::NetworkEdgeSecurityServicesScopedList::Warning]
20095
+ attr_accessor :warning
20096
+
20097
+ def initialize(**args)
20098
+ update!(**args)
20099
+ end
20100
+
20101
+ # Update properties of this object
20102
+ def update!(**args)
20103
+ @network_edge_security_services = args[:network_edge_security_services] if args.key?(:network_edge_security_services)
20104
+ @warning = args[:warning] if args.key?(:warning)
20105
+ end
20106
+
20107
+ # Informational warning which replaces the list of security policies when the
20108
+ # list is empty.
20109
+ class Warning
20110
+ include Google::Apis::Core::Hashable
20111
+
20112
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
20113
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
20114
+ # Corresponds to the JSON property `code`
20115
+ # @return [String]
20116
+ attr_accessor :code
20117
+
20118
+ # [Output Only] Metadata about this warning in key: value format. For example: "
20119
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
20120
+ # Corresponds to the JSON property `data`
20121
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEdgeSecurityServicesScopedList::Warning::Datum>]
20122
+ attr_accessor :data
20123
+
20124
+ # [Output Only] A human-readable description of the warning code.
20125
+ # Corresponds to the JSON property `message`
20126
+ # @return [String]
20127
+ attr_accessor :message
20128
+
20129
+ def initialize(**args)
20130
+ update!(**args)
20131
+ end
20132
+
20133
+ # Update properties of this object
20134
+ def update!(**args)
20135
+ @code = args[:code] if args.key?(:code)
20136
+ @data = args[:data] if args.key?(:data)
20137
+ @message = args[:message] if args.key?(:message)
20138
+ end
20139
+
20140
+ #
20141
+ class Datum
20142
+ include Google::Apis::Core::Hashable
20143
+
20144
+ # [Output Only] A key that provides more detail on the warning being returned.
20145
+ # For example, for warnings where there are no results in a list request for a
20146
+ # particular zone, this key might be scope and the key value might be the zone
20147
+ # name. Other examples might be a key indicating a deprecated resource and a
20148
+ # suggested replacement, or a warning about invalid network settings (for
20149
+ # example, if an instance attempts to perform IP forwarding but is not enabled
20150
+ # for IP forwarding).
20151
+ # Corresponds to the JSON property `key`
20152
+ # @return [String]
20153
+ attr_accessor :key
20154
+
20155
+ # [Output Only] A warning data value corresponding to the key.
20156
+ # Corresponds to the JSON property `value`
20157
+ # @return [String]
20158
+ attr_accessor :value
20159
+
20160
+ def initialize(**args)
20161
+ update!(**args)
20162
+ end
20163
+
20164
+ # Update properties of this object
20165
+ def update!(**args)
20166
+ @key = args[:key] if args.key?(:key)
20167
+ @value = args[:value] if args.key?(:value)
20168
+ end
20169
+ end
20170
+ end
20171
+ end
20172
+
19860
20173
  # The network endpoint.
19861
20174
  class NetworkEndpoint
19862
20175
  include Google::Apis::Core::Hashable
@@ -20902,7 +21215,8 @@ module Google
20902
21215
  attr_accessor :kind
20903
21216
 
20904
21217
  # [Output Only] The name of the network interface, which is generated by the
20905
- # server. For network devices, these are eth0, eth1, etc.
21218
+ # server. For a VM, the network interface uses the nicN naming format. Where N
21219
+ # is a value between 0 and 7. The default interface value is nic0.
20906
21220
  # Corresponds to the JSON property `name`
20907
21221
  # @return [String]
20908
21222
  attr_accessor :name
@@ -29544,6 +29858,11 @@ module Google
29544
29858
  # @return [Fixnum]
29545
29859
  attr_accessor :priority
29546
29860
 
29861
+ # [Output only] The status of the route.
29862
+ # Corresponds to the JSON property `routeStatus`
29863
+ # @return [String]
29864
+ attr_accessor :route_status
29865
+
29547
29866
  # [Output Only] The type of this route, which can be one of the following values:
29548
29867
  # - 'TRANSIT' for a transit route that this router learned from another Cloud
29549
29868
  # Router and will readvertise to one of its BGP peers - 'SUBNET' for a route
@@ -29592,6 +29911,7 @@ module Google
29592
29911
  @next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
29593
29912
  @next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
29594
29913
  @priority = args[:priority] if args.key?(:priority)
29914
+ @route_status = args[:route_status] if args.key?(:route_status)
29595
29915
  @route_type = args[:route_type] if args.key?(:route_type)
29596
29916
  @self_link = args[:self_link] if args.key?(:self_link)
29597
29917
  @tags = args[:tags] if args.key?(:tags)
@@ -31683,6 +32003,136 @@ module Google
31683
32003
  end
31684
32004
  end
31685
32005
 
32006
+ #
32007
+ class SecurityPoliciesAggregatedList
32008
+ include Google::Apis::Core::Hashable
32009
+
32010
+ #
32011
+ # Corresponds to the JSON property `etag`
32012
+ # @return [String]
32013
+ attr_accessor :etag
32014
+
32015
+ # [Output Only] Unique identifier for the resource; defined by the server.
32016
+ # Corresponds to the JSON property `id`
32017
+ # @return [String]
32018
+ attr_accessor :id
32019
+
32020
+ # A list of SecurityPoliciesScopedList resources.
32021
+ # Corresponds to the JSON property `items`
32022
+ # @return [Hash<String,Google::Apis::ComputeBeta::SecurityPoliciesScopedList>]
32023
+ attr_accessor :items
32024
+
32025
+ # [Output Only] Type of resource. Always compute#securityPolicyAggregatedList
32026
+ # for lists of Security Policies.
32027
+ # Corresponds to the JSON property `kind`
32028
+ # @return [String]
32029
+ attr_accessor :kind
32030
+
32031
+ # [Output Only] This token allows you to get the next page of results for list
32032
+ # requests. If the number of results is larger than maxResults, use the
32033
+ # nextPageToken as a value for the query parameter pageToken in the next list
32034
+ # request. Subsequent list requests will have their own nextPageToken to
32035
+ # continue paging through the results.
32036
+ # Corresponds to the JSON property `nextPageToken`
32037
+ # @return [String]
32038
+ attr_accessor :next_page_token
32039
+
32040
+ # [Output Only] Server-defined URL for this resource.
32041
+ # Corresponds to the JSON property `selfLink`
32042
+ # @return [String]
32043
+ attr_accessor :self_link
32044
+
32045
+ # [Output Only] Unreachable resources.
32046
+ # Corresponds to the JSON property `unreachables`
32047
+ # @return [Array<String>]
32048
+ attr_accessor :unreachables
32049
+
32050
+ # [Output Only] Informational warning message.
32051
+ # Corresponds to the JSON property `warning`
32052
+ # @return [Google::Apis::ComputeBeta::SecurityPoliciesAggregatedList::Warning]
32053
+ attr_accessor :warning
32054
+
32055
+ def initialize(**args)
32056
+ update!(**args)
32057
+ end
32058
+
32059
+ # Update properties of this object
32060
+ def update!(**args)
32061
+ @etag = args[:etag] if args.key?(:etag)
32062
+ @id = args[:id] if args.key?(:id)
32063
+ @items = args[:items] if args.key?(:items)
32064
+ @kind = args[:kind] if args.key?(:kind)
32065
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
32066
+ @self_link = args[:self_link] if args.key?(:self_link)
32067
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
32068
+ @warning = args[:warning] if args.key?(:warning)
32069
+ end
32070
+
32071
+ # [Output Only] Informational warning message.
32072
+ class Warning
32073
+ include Google::Apis::Core::Hashable
32074
+
32075
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
32076
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
32077
+ # Corresponds to the JSON property `code`
32078
+ # @return [String]
32079
+ attr_accessor :code
32080
+
32081
+ # [Output Only] Metadata about this warning in key: value format. For example: "
32082
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
32083
+ # Corresponds to the JSON property `data`
32084
+ # @return [Array<Google::Apis::ComputeBeta::SecurityPoliciesAggregatedList::Warning::Datum>]
32085
+ attr_accessor :data
32086
+
32087
+ # [Output Only] A human-readable description of the warning code.
32088
+ # Corresponds to the JSON property `message`
32089
+ # @return [String]
32090
+ attr_accessor :message
32091
+
32092
+ def initialize(**args)
32093
+ update!(**args)
32094
+ end
32095
+
32096
+ # Update properties of this object
32097
+ def update!(**args)
32098
+ @code = args[:code] if args.key?(:code)
32099
+ @data = args[:data] if args.key?(:data)
32100
+ @message = args[:message] if args.key?(:message)
32101
+ end
32102
+
32103
+ #
32104
+ class Datum
32105
+ include Google::Apis::Core::Hashable
32106
+
32107
+ # [Output Only] A key that provides more detail on the warning being returned.
32108
+ # For example, for warnings where there are no results in a list request for a
32109
+ # particular zone, this key might be scope and the key value might be the zone
32110
+ # name. Other examples might be a key indicating a deprecated resource and a
32111
+ # suggested replacement, or a warning about invalid network settings (for
32112
+ # example, if an instance attempts to perform IP forwarding but is not enabled
32113
+ # for IP forwarding).
32114
+ # Corresponds to the JSON property `key`
32115
+ # @return [String]
32116
+ attr_accessor :key
32117
+
32118
+ # [Output Only] A warning data value corresponding to the key.
32119
+ # Corresponds to the JSON property `value`
32120
+ # @return [String]
32121
+ attr_accessor :value
32122
+
32123
+ def initialize(**args)
32124
+ update!(**args)
32125
+ end
32126
+
32127
+ # Update properties of this object
32128
+ def update!(**args)
32129
+ @key = args[:key] if args.key?(:key)
32130
+ @value = args[:value] if args.key?(:value)
32131
+ end
32132
+ end
32133
+ end
32134
+ end
32135
+
31686
32136
  #
31687
32137
  class SecurityPoliciesListPreconfiguredExpressionSetsResponse
31688
32138
  include Google::Apis::Core::Hashable
@@ -31702,6 +32152,97 @@ module Google
31702
32152
  end
31703
32153
  end
31704
32154
 
32155
+ #
32156
+ class SecurityPoliciesScopedList
32157
+ include Google::Apis::Core::Hashable
32158
+
32159
+ # A list of SecurityPolicies contained in this scope.
32160
+ # Corresponds to the JSON property `securityPolicies`
32161
+ # @return [Array<Google::Apis::ComputeBeta::SecurityPolicy>]
32162
+ attr_accessor :security_policies
32163
+
32164
+ # Informational warning which replaces the list of security policies when the
32165
+ # list is empty.
32166
+ # Corresponds to the JSON property `warning`
32167
+ # @return [Google::Apis::ComputeBeta::SecurityPoliciesScopedList::Warning]
32168
+ attr_accessor :warning
32169
+
32170
+ def initialize(**args)
32171
+ update!(**args)
32172
+ end
32173
+
32174
+ # Update properties of this object
32175
+ def update!(**args)
32176
+ @security_policies = args[:security_policies] if args.key?(:security_policies)
32177
+ @warning = args[:warning] if args.key?(:warning)
32178
+ end
32179
+
32180
+ # Informational warning which replaces the list of security policies when the
32181
+ # list is empty.
32182
+ class Warning
32183
+ include Google::Apis::Core::Hashable
32184
+
32185
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
32186
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
32187
+ # Corresponds to the JSON property `code`
32188
+ # @return [String]
32189
+ attr_accessor :code
32190
+
32191
+ # [Output Only] Metadata about this warning in key: value format. For example: "
32192
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
32193
+ # Corresponds to the JSON property `data`
32194
+ # @return [Array<Google::Apis::ComputeBeta::SecurityPoliciesScopedList::Warning::Datum>]
32195
+ attr_accessor :data
32196
+
32197
+ # [Output Only] A human-readable description of the warning code.
32198
+ # Corresponds to the JSON property `message`
32199
+ # @return [String]
32200
+ attr_accessor :message
32201
+
32202
+ def initialize(**args)
32203
+ update!(**args)
32204
+ end
32205
+
32206
+ # Update properties of this object
32207
+ def update!(**args)
32208
+ @code = args[:code] if args.key?(:code)
32209
+ @data = args[:data] if args.key?(:data)
32210
+ @message = args[:message] if args.key?(:message)
32211
+ end
32212
+
32213
+ #
32214
+ class Datum
32215
+ include Google::Apis::Core::Hashable
32216
+
32217
+ # [Output Only] A key that provides more detail on the warning being returned.
32218
+ # For example, for warnings where there are no results in a list request for a
32219
+ # particular zone, this key might be scope and the key value might be the zone
32220
+ # name. Other examples might be a key indicating a deprecated resource and a
32221
+ # suggested replacement, or a warning about invalid network settings (for
32222
+ # example, if an instance attempts to perform IP forwarding but is not enabled
32223
+ # for IP forwarding).
32224
+ # Corresponds to the JSON property `key`
32225
+ # @return [String]
32226
+ attr_accessor :key
32227
+
32228
+ # [Output Only] A warning data value corresponding to the key.
32229
+ # Corresponds to the JSON property `value`
32230
+ # @return [String]
32231
+ attr_accessor :value
32232
+
32233
+ def initialize(**args)
32234
+ update!(**args)
32235
+ end
32236
+
32237
+ # Update properties of this object
32238
+ def update!(**args)
32239
+ @key = args[:key] if args.key?(:key)
32240
+ @value = args[:value] if args.key?(:value)
32241
+ end
32242
+ end
32243
+ end
32244
+ end
32245
+
31705
32246
  #
31706
32247
  class SecurityPoliciesWafConfig
31707
32248
  include Google::Apis::Core::Hashable
@@ -31747,6 +32288,11 @@ module Google
31747
32288
  # @return [String]
31748
32289
  attr_accessor :creation_timestamp
31749
32290
 
32291
+ #
32292
+ # Corresponds to the JSON property `ddosProtectionConfig`
32293
+ # @return [Google::Apis::ComputeBeta::SecurityPolicyDdosProtectionConfig]
32294
+ attr_accessor :ddos_protection_config
32295
+
31750
32296
  # An optional description of this resource. Provide this property when you
31751
32297
  # create the resource.
31752
32298
  # Corresponds to the JSON property `description`
@@ -31827,6 +32373,12 @@ module Google
31827
32373
  # @return [Google::Apis::ComputeBeta::SecurityPolicyRecaptchaOptionsConfig]
31828
32374
  attr_accessor :recaptcha_options_config
31829
32375
 
32376
+ # [Output Only] URL of the region where the regional security policy resides.
32377
+ # This field is not applicable to global security policies.
32378
+ # Corresponds to the JSON property `region`
32379
+ # @return [String]
32380
+ attr_accessor :region
32381
+
31830
32382
  # [Output Only] Total count of all security policy rule tuples. A security
31831
32383
  # policy can not exceed a set number of tuples.
31832
32384
  # Corresponds to the JSON property `ruleTupleCount`
@@ -31876,6 +32428,7 @@ module Google
31876
32428
  @advanced_options_config = args[:advanced_options_config] if args.key?(:advanced_options_config)
31877
32429
  @associations = args[:associations] if args.key?(:associations)
31878
32430
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
32431
+ @ddos_protection_config = args[:ddos_protection_config] if args.key?(:ddos_protection_config)
31879
32432
  @description = args[:description] if args.key?(:description)
31880
32433
  @display_name = args[:display_name] if args.key?(:display_name)
31881
32434
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@@ -31886,6 +32439,7 @@ module Google
31886
32439
  @name = args[:name] if args.key?(:name)
31887
32440
  @parent = args[:parent] if args.key?(:parent)
31888
32441
  @recaptcha_options_config = args[:recaptcha_options_config] if args.key?(:recaptcha_options_config)
32442
+ @region = args[:region] if args.key?(:region)
31889
32443
  @rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
31890
32444
  @rules = args[:rules] if args.key?(:rules)
31891
32445
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -32002,6 +32556,25 @@ module Google
32002
32556
  end
32003
32557
  end
32004
32558
 
32559
+ #
32560
+ class SecurityPolicyDdosProtectionConfig
32561
+ include Google::Apis::Core::Hashable
32562
+
32563
+ #
32564
+ # Corresponds to the JSON property `ddosProtection`
32565
+ # @return [String]
32566
+ attr_accessor :ddos_protection
32567
+
32568
+ def initialize(**args)
32569
+ update!(**args)
32570
+ end
32571
+
32572
+ # Update properties of this object
32573
+ def update!(**args)
32574
+ @ddos_protection = args[:ddos_protection] if args.key?(:ddos_protection)
32575
+ end
32576
+ end
32577
+
32005
32578
  #
32006
32579
  class SecurityPolicyList
32007
32580
  include Google::Apis::Core::Hashable