google-apis-compute_beta 0.27.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -9426,13 +9427,9 @@ module Google
9426
9427
  # @return [String]
9427
9428
  attr_accessor :label_fingerprint
9428
9429
 
9429
- # A list of labels to apply for this resource. Each label key & value must
9430
- # comply with RFC1035. Specifically, the name must be 1-63 characters long and
9431
- # match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
9432
- # first character must be a lowercase letter, and all following characters must
9433
- # be a dash, lowercase letter, or digit, except the last character, which cannot
9434
- # be a dash. For example, "webserver-frontend": "images". A label value can also
9435
- # be empty (e.g. "my-label": "").
9430
+ # A list of labels to apply for this resource. Each label must comply with the
9431
+ # requirements for labels. For example, "webserver-frontend": "images". A label
9432
+ # value can also be empty (e.g. "my-label": "").
9436
9433
  # Corresponds to the JSON property `labels`
9437
9434
  # @return [Hash<String,String>]
9438
9435
  attr_accessor :labels
@@ -9615,9 +9612,9 @@ module Google
9615
9612
 
9616
9613
  # The ID of a supported feature. To add multiple values, use commas to separate
9617
9614
  # values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
9618
- # WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC -
9619
- # SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information,
9620
- # see Enabling guest operating system features.
9615
+ # WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE -
9616
+ # SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling
9617
+ # guest operating system features.
9621
9618
  # Corresponds to the JSON property `type`
9622
9619
  # @return [String]
9623
9620
  attr_accessor :type
@@ -19857,6 +19854,318 @@ module Google
19857
19854
  end
19858
19855
  end
19859
19856
 
19857
+ # Represents a Google Cloud Armor network edge security service resource.
19858
+ class NetworkEdgeSecurityService
19859
+ include Google::Apis::Core::Hashable
19860
+
19861
+ # [Output Only] Creation timestamp in RFC3339 text format.
19862
+ # Corresponds to the JSON property `creationTimestamp`
19863
+ # @return [String]
19864
+ attr_accessor :creation_timestamp
19865
+
19866
+ # An optional description of this resource. Provide this property when you
19867
+ # create the resource.
19868
+ # Corresponds to the JSON property `description`
19869
+ # @return [String]
19870
+ attr_accessor :description
19871
+
19872
+ # Fingerprint of this resource. A hash of the contents stored in this object.
19873
+ # This field is used in optimistic locking. This field will be ignored when
19874
+ # inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be
19875
+ # provided in order to update the NetworkEdgeSecurityService, otherwise the
19876
+ # request will fail with error 412 conditionNotMet. To see the latest
19877
+ # fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
19878
+ # Corresponds to the JSON property `fingerprint`
19879
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
19880
+ # @return [String]
19881
+ attr_accessor :fingerprint
19882
+
19883
+ # [Output Only] The unique identifier for the resource. This identifier is
19884
+ # defined by the server.
19885
+ # Corresponds to the JSON property `id`
19886
+ # @return [Fixnum]
19887
+ attr_accessor :id
19888
+
19889
+ # [Output only] Type of the resource. Always compute#networkEdgeSecurityService
19890
+ # for NetworkEdgeSecurityServices
19891
+ # Corresponds to the JSON property `kind`
19892
+ # @return [String]
19893
+ attr_accessor :kind
19894
+
19895
+ # Name of the resource. Provided by the client when the resource is created. The
19896
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
19897
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
19898
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
19899
+ # and all following characters must be a dash, lowercase letter, or digit,
19900
+ # except the last character, which cannot be a dash.
19901
+ # Corresponds to the JSON property `name`
19902
+ # @return [String]
19903
+ attr_accessor :name
19904
+
19905
+ # [Output Only] URL of the region where the resource resides. You must specify
19906
+ # this field as part of the HTTP request URL. It is not settable as a field in
19907
+ # the request body.
19908
+ # Corresponds to the JSON property `region`
19909
+ # @return [String]
19910
+ attr_accessor :region
19911
+
19912
+ # The resource URL for the network edge security service associated with this
19913
+ # network edge security service.
19914
+ # Corresponds to the JSON property `securityPolicy`
19915
+ # @return [String]
19916
+ attr_accessor :security_policy
19917
+
19918
+ # [Output Only] Server-defined URL for the resource.
19919
+ # Corresponds to the JSON property `selfLink`
19920
+ # @return [String]
19921
+ attr_accessor :self_link
19922
+
19923
+ # [Output Only] Server-defined URL for this resource with the resource id.
19924
+ # Corresponds to the JSON property `selfLinkWithId`
19925
+ # @return [String]
19926
+ attr_accessor :self_link_with_id
19927
+
19928
+ def initialize(**args)
19929
+ update!(**args)
19930
+ end
19931
+
19932
+ # Update properties of this object
19933
+ def update!(**args)
19934
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
19935
+ @description = args[:description] if args.key?(:description)
19936
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
19937
+ @id = args[:id] if args.key?(:id)
19938
+ @kind = args[:kind] if args.key?(:kind)
19939
+ @name = args[:name] if args.key?(:name)
19940
+ @region = args[:region] if args.key?(:region)
19941
+ @security_policy = args[:security_policy] if args.key?(:security_policy)
19942
+ @self_link = args[:self_link] if args.key?(:self_link)
19943
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
19944
+ end
19945
+ end
19946
+
19947
+ #
19948
+ class NetworkEdgeSecurityServiceAggregatedList
19949
+ include Google::Apis::Core::Hashable
19950
+
19951
+ #
19952
+ # Corresponds to the JSON property `etag`
19953
+ # @return [String]
19954
+ attr_accessor :etag
19955
+
19956
+ # [Output Only] Unique identifier for the resource; defined by the server.
19957
+ # Corresponds to the JSON property `id`
19958
+ # @return [String]
19959
+ attr_accessor :id
19960
+
19961
+ # A list of NetworkEdgeSecurityServicesScopedList resources.
19962
+ # Corresponds to the JSON property `items`
19963
+ # @return [Hash<String,Google::Apis::ComputeBeta::NetworkEdgeSecurityServicesScopedList>]
19964
+ attr_accessor :items
19965
+
19966
+ # [Output Only] Type of resource. Always compute#
19967
+ # networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security
19968
+ # Services.
19969
+ # Corresponds to the JSON property `kind`
19970
+ # @return [String]
19971
+ attr_accessor :kind
19972
+
19973
+ # [Output Only] This token allows you to get the next page of results for list
19974
+ # requests. If the number of results is larger than maxResults, use the
19975
+ # nextPageToken as a value for the query parameter pageToken in the next list
19976
+ # request. Subsequent list requests will have their own nextPageToken to
19977
+ # continue paging through the results.
19978
+ # Corresponds to the JSON property `nextPageToken`
19979
+ # @return [String]
19980
+ attr_accessor :next_page_token
19981
+
19982
+ # [Output Only] Server-defined URL for this resource.
19983
+ # Corresponds to the JSON property `selfLink`
19984
+ # @return [String]
19985
+ attr_accessor :self_link
19986
+
19987
+ # [Output Only] Unreachable resources.
19988
+ # Corresponds to the JSON property `unreachables`
19989
+ # @return [Array<String>]
19990
+ attr_accessor :unreachables
19991
+
19992
+ # [Output Only] Informational warning message.
19993
+ # Corresponds to the JSON property `warning`
19994
+ # @return [Google::Apis::ComputeBeta::NetworkEdgeSecurityServiceAggregatedList::Warning]
19995
+ attr_accessor :warning
19996
+
19997
+ def initialize(**args)
19998
+ update!(**args)
19999
+ end
20000
+
20001
+ # Update properties of this object
20002
+ def update!(**args)
20003
+ @etag = args[:etag] if args.key?(:etag)
20004
+ @id = args[:id] if args.key?(:id)
20005
+ @items = args[:items] if args.key?(:items)
20006
+ @kind = args[:kind] if args.key?(:kind)
20007
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
20008
+ @self_link = args[:self_link] if args.key?(:self_link)
20009
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
20010
+ @warning = args[:warning] if args.key?(:warning)
20011
+ end
20012
+
20013
+ # [Output Only] Informational warning message.
20014
+ class Warning
20015
+ include Google::Apis::Core::Hashable
20016
+
20017
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
20018
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
20019
+ # Corresponds to the JSON property `code`
20020
+ # @return [String]
20021
+ attr_accessor :code
20022
+
20023
+ # [Output Only] Metadata about this warning in key: value format. For example: "
20024
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
20025
+ # Corresponds to the JSON property `data`
20026
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEdgeSecurityServiceAggregatedList::Warning::Datum>]
20027
+ attr_accessor :data
20028
+
20029
+ # [Output Only] A human-readable description of the warning code.
20030
+ # Corresponds to the JSON property `message`
20031
+ # @return [String]
20032
+ attr_accessor :message
20033
+
20034
+ def initialize(**args)
20035
+ update!(**args)
20036
+ end
20037
+
20038
+ # Update properties of this object
20039
+ def update!(**args)
20040
+ @code = args[:code] if args.key?(:code)
20041
+ @data = args[:data] if args.key?(:data)
20042
+ @message = args[:message] if args.key?(:message)
20043
+ end
20044
+
20045
+ #
20046
+ class Datum
20047
+ include Google::Apis::Core::Hashable
20048
+
20049
+ # [Output Only] A key that provides more detail on the warning being returned.
20050
+ # For example, for warnings where there are no results in a list request for a
20051
+ # particular zone, this key might be scope and the key value might be the zone
20052
+ # name. Other examples might be a key indicating a deprecated resource and a
20053
+ # suggested replacement, or a warning about invalid network settings (for
20054
+ # example, if an instance attempts to perform IP forwarding but is not enabled
20055
+ # for IP forwarding).
20056
+ # Corresponds to the JSON property `key`
20057
+ # @return [String]
20058
+ attr_accessor :key
20059
+
20060
+ # [Output Only] A warning data value corresponding to the key.
20061
+ # Corresponds to the JSON property `value`
20062
+ # @return [String]
20063
+ attr_accessor :value
20064
+
20065
+ def initialize(**args)
20066
+ update!(**args)
20067
+ end
20068
+
20069
+ # Update properties of this object
20070
+ def update!(**args)
20071
+ @key = args[:key] if args.key?(:key)
20072
+ @value = args[:value] if args.key?(:value)
20073
+ end
20074
+ end
20075
+ end
20076
+ end
20077
+
20078
+ #
20079
+ class NetworkEdgeSecurityServicesScopedList
20080
+ include Google::Apis::Core::Hashable
20081
+
20082
+ # A list of NetworkEdgeSecurityServices contained in this scope.
20083
+ # Corresponds to the JSON property `networkEdgeSecurityServices`
20084
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEdgeSecurityService>]
20085
+ attr_accessor :network_edge_security_services
20086
+
20087
+ # Informational warning which replaces the list of security policies when the
20088
+ # list is empty.
20089
+ # Corresponds to the JSON property `warning`
20090
+ # @return [Google::Apis::ComputeBeta::NetworkEdgeSecurityServicesScopedList::Warning]
20091
+ attr_accessor :warning
20092
+
20093
+ def initialize(**args)
20094
+ update!(**args)
20095
+ end
20096
+
20097
+ # Update properties of this object
20098
+ def update!(**args)
20099
+ @network_edge_security_services = args[:network_edge_security_services] if args.key?(:network_edge_security_services)
20100
+ @warning = args[:warning] if args.key?(:warning)
20101
+ end
20102
+
20103
+ # Informational warning which replaces the list of security policies when the
20104
+ # list is empty.
20105
+ class Warning
20106
+ include Google::Apis::Core::Hashable
20107
+
20108
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
20109
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
20110
+ # Corresponds to the JSON property `code`
20111
+ # @return [String]
20112
+ attr_accessor :code
20113
+
20114
+ # [Output Only] Metadata about this warning in key: value format. For example: "
20115
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
20116
+ # Corresponds to the JSON property `data`
20117
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEdgeSecurityServicesScopedList::Warning::Datum>]
20118
+ attr_accessor :data
20119
+
20120
+ # [Output Only] A human-readable description of the warning code.
20121
+ # Corresponds to the JSON property `message`
20122
+ # @return [String]
20123
+ attr_accessor :message
20124
+
20125
+ def initialize(**args)
20126
+ update!(**args)
20127
+ end
20128
+
20129
+ # Update properties of this object
20130
+ def update!(**args)
20131
+ @code = args[:code] if args.key?(:code)
20132
+ @data = args[:data] if args.key?(:data)
20133
+ @message = args[:message] if args.key?(:message)
20134
+ end
20135
+
20136
+ #
20137
+ class Datum
20138
+ include Google::Apis::Core::Hashable
20139
+
20140
+ # [Output Only] A key that provides more detail on the warning being returned.
20141
+ # For example, for warnings where there are no results in a list request for a
20142
+ # particular zone, this key might be scope and the key value might be the zone
20143
+ # name. Other examples might be a key indicating a deprecated resource and a
20144
+ # suggested replacement, or a warning about invalid network settings (for
20145
+ # example, if an instance attempts to perform IP forwarding but is not enabled
20146
+ # for IP forwarding).
20147
+ # Corresponds to the JSON property `key`
20148
+ # @return [String]
20149
+ attr_accessor :key
20150
+
20151
+ # [Output Only] A warning data value corresponding to the key.
20152
+ # Corresponds to the JSON property `value`
20153
+ # @return [String]
20154
+ attr_accessor :value
20155
+
20156
+ def initialize(**args)
20157
+ update!(**args)
20158
+ end
20159
+
20160
+ # Update properties of this object
20161
+ def update!(**args)
20162
+ @key = args[:key] if args.key?(:key)
20163
+ @value = args[:value] if args.key?(:value)
20164
+ end
20165
+ end
20166
+ end
20167
+ end
20168
+
19860
20169
  # The network endpoint.
19861
20170
  class NetworkEndpoint
19862
20171
  include Google::Apis::Core::Hashable
@@ -20481,10 +20790,8 @@ module Google
20481
20790
  class NetworkEndpointGroupServerlessDeployment
20482
20791
  include Google::Apis::Core::Hashable
20483
20792
 
20484
- # The platform of the backend target(s) of this NEG. Possible values include: 1.
20485
- # API Gateway: apigateway.googleapis.com 2. App Engine: appengine.googleapis.com
20486
- # 3. Cloud Functions: cloudfunctions.googleapis.com 4. Cloud Run: run.googleapis.
20487
- # com
20793
+ # The platform of the backend target(s) of this NEG. The only supported value is
20794
+ # API Gateway: apigateway.googleapis.com.
20488
20795
  # Corresponds to the JSON property `platform`
20489
20796
  # @return [String]
20490
20797
  attr_accessor :platform
@@ -20902,7 +21209,8 @@ module Google
20902
21209
  attr_accessor :kind
20903
21210
 
20904
21211
  # [Output Only] The name of the network interface, which is generated by the
20905
- # server. For network devices, these are eth0, eth1, etc.
21212
+ # server. For a VM, the network interface uses the nicN naming format. Where N
21213
+ # is a value between 0 and 7. The default interface value is nic0.
20906
21214
  # Corresponds to the JSON property `name`
20907
21215
  # @return [String]
20908
21216
  attr_accessor :name
@@ -29544,6 +29852,11 @@ module Google
29544
29852
  # @return [Fixnum]
29545
29853
  attr_accessor :priority
29546
29854
 
29855
+ # [Output only] The status of the route.
29856
+ # Corresponds to the JSON property `routeStatus`
29857
+ # @return [String]
29858
+ attr_accessor :route_status
29859
+
29547
29860
  # [Output Only] The type of this route, which can be one of the following values:
29548
29861
  # - 'TRANSIT' for a transit route that this router learned from another Cloud
29549
29862
  # Router and will readvertise to one of its BGP peers - 'SUBNET' for a route
@@ -29592,6 +29905,7 @@ module Google
29592
29905
  @next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
29593
29906
  @next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
29594
29907
  @priority = args[:priority] if args.key?(:priority)
29908
+ @route_status = args[:route_status] if args.key?(:route_status)
29595
29909
  @route_type = args[:route_type] if args.key?(:route_type)
29596
29910
  @self_link = args[:self_link] if args.key?(:self_link)
29597
29911
  @tags = args[:tags] if args.key?(:tags)
@@ -31683,6 +31997,136 @@ module Google
31683
31997
  end
31684
31998
  end
31685
31999
 
32000
+ #
32001
+ class SecurityPoliciesAggregatedList
32002
+ include Google::Apis::Core::Hashable
32003
+
32004
+ #
32005
+ # Corresponds to the JSON property `etag`
32006
+ # @return [String]
32007
+ attr_accessor :etag
32008
+
32009
+ # [Output Only] Unique identifier for the resource; defined by the server.
32010
+ # Corresponds to the JSON property `id`
32011
+ # @return [String]
32012
+ attr_accessor :id
32013
+
32014
+ # A list of SecurityPoliciesScopedList resources.
32015
+ # Corresponds to the JSON property `items`
32016
+ # @return [Hash<String,Google::Apis::ComputeBeta::SecurityPoliciesScopedList>]
32017
+ attr_accessor :items
32018
+
32019
+ # [Output Only] Type of resource. Always compute#securityPolicyAggregatedList
32020
+ # for lists of Security Policies.
32021
+ # Corresponds to the JSON property `kind`
32022
+ # @return [String]
32023
+ attr_accessor :kind
32024
+
32025
+ # [Output Only] This token allows you to get the next page of results for list
32026
+ # requests. If the number of results is larger than maxResults, use the
32027
+ # nextPageToken as a value for the query parameter pageToken in the next list
32028
+ # request. Subsequent list requests will have their own nextPageToken to
32029
+ # continue paging through the results.
32030
+ # Corresponds to the JSON property `nextPageToken`
32031
+ # @return [String]
32032
+ attr_accessor :next_page_token
32033
+
32034
+ # [Output Only] Server-defined URL for this resource.
32035
+ # Corresponds to the JSON property `selfLink`
32036
+ # @return [String]
32037
+ attr_accessor :self_link
32038
+
32039
+ # [Output Only] Unreachable resources.
32040
+ # Corresponds to the JSON property `unreachables`
32041
+ # @return [Array<String>]
32042
+ attr_accessor :unreachables
32043
+
32044
+ # [Output Only] Informational warning message.
32045
+ # Corresponds to the JSON property `warning`
32046
+ # @return [Google::Apis::ComputeBeta::SecurityPoliciesAggregatedList::Warning]
32047
+ attr_accessor :warning
32048
+
32049
+ def initialize(**args)
32050
+ update!(**args)
32051
+ end
32052
+
32053
+ # Update properties of this object
32054
+ def update!(**args)
32055
+ @etag = args[:etag] if args.key?(:etag)
32056
+ @id = args[:id] if args.key?(:id)
32057
+ @items = args[:items] if args.key?(:items)
32058
+ @kind = args[:kind] if args.key?(:kind)
32059
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
32060
+ @self_link = args[:self_link] if args.key?(:self_link)
32061
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
32062
+ @warning = args[:warning] if args.key?(:warning)
32063
+ end
32064
+
32065
+ # [Output Only] Informational warning message.
32066
+ class Warning
32067
+ include Google::Apis::Core::Hashable
32068
+
32069
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
32070
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
32071
+ # Corresponds to the JSON property `code`
32072
+ # @return [String]
32073
+ attr_accessor :code
32074
+
32075
+ # [Output Only] Metadata about this warning in key: value format. For example: "
32076
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
32077
+ # Corresponds to the JSON property `data`
32078
+ # @return [Array<Google::Apis::ComputeBeta::SecurityPoliciesAggregatedList::Warning::Datum>]
32079
+ attr_accessor :data
32080
+
32081
+ # [Output Only] A human-readable description of the warning code.
32082
+ # Corresponds to the JSON property `message`
32083
+ # @return [String]
32084
+ attr_accessor :message
32085
+
32086
+ def initialize(**args)
32087
+ update!(**args)
32088
+ end
32089
+
32090
+ # Update properties of this object
32091
+ def update!(**args)
32092
+ @code = args[:code] if args.key?(:code)
32093
+ @data = args[:data] if args.key?(:data)
32094
+ @message = args[:message] if args.key?(:message)
32095
+ end
32096
+
32097
+ #
32098
+ class Datum
32099
+ include Google::Apis::Core::Hashable
32100
+
32101
+ # [Output Only] A key that provides more detail on the warning being returned.
32102
+ # For example, for warnings where there are no results in a list request for a
32103
+ # particular zone, this key might be scope and the key value might be the zone
32104
+ # name. Other examples might be a key indicating a deprecated resource and a
32105
+ # suggested replacement, or a warning about invalid network settings (for
32106
+ # example, if an instance attempts to perform IP forwarding but is not enabled
32107
+ # for IP forwarding).
32108
+ # Corresponds to the JSON property `key`
32109
+ # @return [String]
32110
+ attr_accessor :key
32111
+
32112
+ # [Output Only] A warning data value corresponding to the key.
32113
+ # Corresponds to the JSON property `value`
32114
+ # @return [String]
32115
+ attr_accessor :value
32116
+
32117
+ def initialize(**args)
32118
+ update!(**args)
32119
+ end
32120
+
32121
+ # Update properties of this object
32122
+ def update!(**args)
32123
+ @key = args[:key] if args.key?(:key)
32124
+ @value = args[:value] if args.key?(:value)
32125
+ end
32126
+ end
32127
+ end
32128
+ end
32129
+
31686
32130
  #
31687
32131
  class SecurityPoliciesListPreconfiguredExpressionSetsResponse
31688
32132
  include Google::Apis::Core::Hashable
@@ -31702,6 +32146,97 @@ module Google
31702
32146
  end
31703
32147
  end
31704
32148
 
32149
+ #
32150
+ class SecurityPoliciesScopedList
32151
+ include Google::Apis::Core::Hashable
32152
+
32153
+ # A list of SecurityPolicies contained in this scope.
32154
+ # Corresponds to the JSON property `securityPolicies`
32155
+ # @return [Array<Google::Apis::ComputeBeta::SecurityPolicy>]
32156
+ attr_accessor :security_policies
32157
+
32158
+ # Informational warning which replaces the list of security policies when the
32159
+ # list is empty.
32160
+ # Corresponds to the JSON property `warning`
32161
+ # @return [Google::Apis::ComputeBeta::SecurityPoliciesScopedList::Warning]
32162
+ attr_accessor :warning
32163
+
32164
+ def initialize(**args)
32165
+ update!(**args)
32166
+ end
32167
+
32168
+ # Update properties of this object
32169
+ def update!(**args)
32170
+ @security_policies = args[:security_policies] if args.key?(:security_policies)
32171
+ @warning = args[:warning] if args.key?(:warning)
32172
+ end
32173
+
32174
+ # Informational warning which replaces the list of security policies when the
32175
+ # list is empty.
32176
+ class Warning
32177
+ include Google::Apis::Core::Hashable
32178
+
32179
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
32180
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
32181
+ # Corresponds to the JSON property `code`
32182
+ # @return [String]
32183
+ attr_accessor :code
32184
+
32185
+ # [Output Only] Metadata about this warning in key: value format. For example: "
32186
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
32187
+ # Corresponds to the JSON property `data`
32188
+ # @return [Array<Google::Apis::ComputeBeta::SecurityPoliciesScopedList::Warning::Datum>]
32189
+ attr_accessor :data
32190
+
32191
+ # [Output Only] A human-readable description of the warning code.
32192
+ # Corresponds to the JSON property `message`
32193
+ # @return [String]
32194
+ attr_accessor :message
32195
+
32196
+ def initialize(**args)
32197
+ update!(**args)
32198
+ end
32199
+
32200
+ # Update properties of this object
32201
+ def update!(**args)
32202
+ @code = args[:code] if args.key?(:code)
32203
+ @data = args[:data] if args.key?(:data)
32204
+ @message = args[:message] if args.key?(:message)
32205
+ end
32206
+
32207
+ #
32208
+ class Datum
32209
+ include Google::Apis::Core::Hashable
32210
+
32211
+ # [Output Only] A key that provides more detail on the warning being returned.
32212
+ # For example, for warnings where there are no results in a list request for a
32213
+ # particular zone, this key might be scope and the key value might be the zone
32214
+ # name. Other examples might be a key indicating a deprecated resource and a
32215
+ # suggested replacement, or a warning about invalid network settings (for
32216
+ # example, if an instance attempts to perform IP forwarding but is not enabled
32217
+ # for IP forwarding).
32218
+ # Corresponds to the JSON property `key`
32219
+ # @return [String]
32220
+ attr_accessor :key
32221
+
32222
+ # [Output Only] A warning data value corresponding to the key.
32223
+ # Corresponds to the JSON property `value`
32224
+ # @return [String]
32225
+ attr_accessor :value
32226
+
32227
+ def initialize(**args)
32228
+ update!(**args)
32229
+ end
32230
+
32231
+ # Update properties of this object
32232
+ def update!(**args)
32233
+ @key = args[:key] if args.key?(:key)
32234
+ @value = args[:value] if args.key?(:value)
32235
+ end
32236
+ end
32237
+ end
32238
+ end
32239
+
31705
32240
  #
31706
32241
  class SecurityPoliciesWafConfig
31707
32242
  include Google::Apis::Core::Hashable
@@ -31747,6 +32282,11 @@ module Google
31747
32282
  # @return [String]
31748
32283
  attr_accessor :creation_timestamp
31749
32284
 
32285
+ #
32286
+ # Corresponds to the JSON property `ddosProtectionConfig`
32287
+ # @return [Google::Apis::ComputeBeta::SecurityPolicyDdosProtectionConfig]
32288
+ attr_accessor :ddos_protection_config
32289
+
31750
32290
  # An optional description of this resource. Provide this property when you
31751
32291
  # create the resource.
31752
32292
  # Corresponds to the JSON property `description`
@@ -31827,6 +32367,12 @@ module Google
31827
32367
  # @return [Google::Apis::ComputeBeta::SecurityPolicyRecaptchaOptionsConfig]
31828
32368
  attr_accessor :recaptcha_options_config
31829
32369
 
32370
+ # [Output Only] URL of the region where the regional security policy resides.
32371
+ # This field is not applicable to global security policies.
32372
+ # Corresponds to the JSON property `region`
32373
+ # @return [String]
32374
+ attr_accessor :region
32375
+
31830
32376
  # [Output Only] Total count of all security policy rule tuples. A security
31831
32377
  # policy can not exceed a set number of tuples.
31832
32378
  # Corresponds to the JSON property `ruleTupleCount`
@@ -31876,6 +32422,7 @@ module Google
31876
32422
  @advanced_options_config = args[:advanced_options_config] if args.key?(:advanced_options_config)
31877
32423
  @associations = args[:associations] if args.key?(:associations)
31878
32424
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
32425
+ @ddos_protection_config = args[:ddos_protection_config] if args.key?(:ddos_protection_config)
31879
32426
  @description = args[:description] if args.key?(:description)
31880
32427
  @display_name = args[:display_name] if args.key?(:display_name)
31881
32428
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@@ -31886,6 +32433,7 @@ module Google
31886
32433
  @name = args[:name] if args.key?(:name)
31887
32434
  @parent = args[:parent] if args.key?(:parent)
31888
32435
  @recaptcha_options_config = args[:recaptcha_options_config] if args.key?(:recaptcha_options_config)
32436
+ @region = args[:region] if args.key?(:region)
31889
32437
  @rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
31890
32438
  @rules = args[:rules] if args.key?(:rules)
31891
32439
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -32002,6 +32550,25 @@ module Google
32002
32550
  end
32003
32551
  end
32004
32552
 
32553
+ #
32554
+ class SecurityPolicyDdosProtectionConfig
32555
+ include Google::Apis::Core::Hashable
32556
+
32557
+ #
32558
+ # Corresponds to the JSON property `ddosProtection`
32559
+ # @return [String]
32560
+ attr_accessor :ddos_protection
32561
+
32562
+ def initialize(**args)
32563
+ update!(**args)
32564
+ end
32565
+
32566
+ # Update properties of this object
32567
+ def update!(**args)
32568
+ @ddos_protection = args[:ddos_protection] if args.key?(:ddos_protection)
32569
+ end
32570
+ end
32571
+
32005
32572
  #
32006
32573
  class SecurityPolicyList
32007
32574
  include Google::Apis::Core::Hashable