google-apis-compute_v1 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: 214428c9056f91588acab916d502d4707ba00353f1a665be9ee2fee721ccd579
4
- data.tar.gz: 9107d26b4c723c6b79a3c65bbaedcdac5e42a786618fe154d339579eb3662da9
3
+ metadata.gz: 9d1a2224043f0997198bfd0684082914df6a0f39412c0bab3412677e40eb640a
4
+ data.tar.gz: 928052220dff1e84d0590255f84adb78117524c70d564a460d233a4fa2c49d60
5
5
  SHA512:
6
- metadata.gz: f8f70af70ae83418b4a41da3329f6844e9e859cdd0525e4117f68514271a5b81bd014874db7ac24671ebad96e57a09648da0dead945fed57c1b7b656de460080
7
- data.tar.gz: 98047afbd1d0f02cc577d529c10e8448ac014348bff1a6df0ab05d1da3cdb60565318db80dca5e8064028b06fd8820302b5dbd7ca53eaa1ee56fea19abf3b530
6
+ metadata.gz: ea059ce0a2e7dc6c5fa6e18ee212ec4ba10704c6ba3f59ab3a3133314fafefa8d81103aaab96475c1c9d9ca528a4c90b706da1e23ac67ea4cc1b407a35cf5d9d
7
+ data.tar.gz: 628c8cff9815bbf0d076631ef2e1fe4c771fbe37d2703f0e5084a0ce44ab4d762f445c8a87fbfe80fde7e96db0e1451950dc9380b04d825996bd0a19d544d070
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
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
@@ -3276,12 +3276,13 @@ module Google
3276
3276
  attr_accessor :subsetting
3277
3277
 
3278
3278
  # The backend service timeout has a different meaning depending on the type of
3279
- # load balancer. For more information see, Backend service settings The default
3280
- # is 30 seconds. The full range of timeout values allowed is 1 - 2,147,483,647
3281
- # seconds. This value can be overridden in the PathMatcher configuration of the
3282
- # UrlMap that references this backend service. Not supported when the backend
3283
- # service is referenced by a URL map that is bound to target gRPC proxy that has
3284
- # validateForProxyless field set to true. Instead, use maxStreamDuration.
3279
+ # load balancer. For more information see, Backend service settings. The default
3280
+ # is 30 seconds. The full range of timeout values allowed goes from 1 through 2,
3281
+ # 147,483,647 seconds. This value can be overridden in the PathMatcher
3282
+ # configuration of the UrlMap that references this backend service. Not
3283
+ # supported when the backend service is referenced by a URL map that is bound to
3284
+ # target gRPC proxy that has validateForProxyless field set to true. Instead,
3285
+ # use maxStreamDuration.
3285
3286
  # Corresponds to the JSON property `timeoutSec`
3286
3287
  # @return [Fixnum]
3287
3288
  attr_accessor :timeout_sec
@@ -19224,6 +19225,318 @@ module Google
19224
19225
  end
19225
19226
  end
19226
19227
 
19228
+ # Represents a Google Cloud Armor network edge security service resource.
19229
+ class NetworkEdgeSecurityService
19230
+ include Google::Apis::Core::Hashable
19231
+
19232
+ # [Output Only] Creation timestamp in RFC3339 text format.
19233
+ # Corresponds to the JSON property `creationTimestamp`
19234
+ # @return [String]
19235
+ attr_accessor :creation_timestamp
19236
+
19237
+ # An optional description of this resource. Provide this property when you
19238
+ # create the resource.
19239
+ # Corresponds to the JSON property `description`
19240
+ # @return [String]
19241
+ attr_accessor :description
19242
+
19243
+ # Fingerprint of this resource. A hash of the contents stored in this object.
19244
+ # This field is used in optimistic locking. This field will be ignored when
19245
+ # inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be
19246
+ # provided in order to update the NetworkEdgeSecurityService, otherwise the
19247
+ # request will fail with error 412 conditionNotMet. To see the latest
19248
+ # fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
19249
+ # Corresponds to the JSON property `fingerprint`
19250
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
19251
+ # @return [String]
19252
+ attr_accessor :fingerprint
19253
+
19254
+ # [Output Only] The unique identifier for the resource. This identifier is
19255
+ # defined by the server.
19256
+ # Corresponds to the JSON property `id`
19257
+ # @return [Fixnum]
19258
+ attr_accessor :id
19259
+
19260
+ # [Output only] Type of the resource. Always compute#networkEdgeSecurityService
19261
+ # for NetworkEdgeSecurityServices
19262
+ # Corresponds to the JSON property `kind`
19263
+ # @return [String]
19264
+ attr_accessor :kind
19265
+
19266
+ # Name of the resource. Provided by the client when the resource is created. The
19267
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
19268
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
19269
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
19270
+ # and all following characters must be a dash, lowercase letter, or digit,
19271
+ # except the last character, which cannot be a dash.
19272
+ # Corresponds to the JSON property `name`
19273
+ # @return [String]
19274
+ attr_accessor :name
19275
+
19276
+ # [Output Only] URL of the region where the resource resides. You must specify
19277
+ # this field as part of the HTTP request URL. It is not settable as a field in
19278
+ # the request body.
19279
+ # Corresponds to the JSON property `region`
19280
+ # @return [String]
19281
+ attr_accessor :region
19282
+
19283
+ # The resource URL for the network edge security service associated with this
19284
+ # network edge security service.
19285
+ # Corresponds to the JSON property `securityPolicy`
19286
+ # @return [String]
19287
+ attr_accessor :security_policy
19288
+
19289
+ # [Output Only] Server-defined URL for the resource.
19290
+ # Corresponds to the JSON property `selfLink`
19291
+ # @return [String]
19292
+ attr_accessor :self_link
19293
+
19294
+ # [Output Only] Server-defined URL for this resource with the resource id.
19295
+ # Corresponds to the JSON property `selfLinkWithId`
19296
+ # @return [String]
19297
+ attr_accessor :self_link_with_id
19298
+
19299
+ def initialize(**args)
19300
+ update!(**args)
19301
+ end
19302
+
19303
+ # Update properties of this object
19304
+ def update!(**args)
19305
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
19306
+ @description = args[:description] if args.key?(:description)
19307
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
19308
+ @id = args[:id] if args.key?(:id)
19309
+ @kind = args[:kind] if args.key?(:kind)
19310
+ @name = args[:name] if args.key?(:name)
19311
+ @region = args[:region] if args.key?(:region)
19312
+ @security_policy = args[:security_policy] if args.key?(:security_policy)
19313
+ @self_link = args[:self_link] if args.key?(:self_link)
19314
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
19315
+ end
19316
+ end
19317
+
19318
+ #
19319
+ class NetworkEdgeSecurityServiceAggregatedList
19320
+ include Google::Apis::Core::Hashable
19321
+
19322
+ #
19323
+ # Corresponds to the JSON property `etag`
19324
+ # @return [String]
19325
+ attr_accessor :etag
19326
+
19327
+ # [Output Only] Unique identifier for the resource; defined by the server.
19328
+ # Corresponds to the JSON property `id`
19329
+ # @return [String]
19330
+ attr_accessor :id
19331
+
19332
+ # A list of NetworkEdgeSecurityServicesScopedList resources.
19333
+ # Corresponds to the JSON property `items`
19334
+ # @return [Hash<String,Google::Apis::ComputeV1::NetworkEdgeSecurityServicesScopedList>]
19335
+ attr_accessor :items
19336
+
19337
+ # [Output Only] Type of resource. Always compute#
19338
+ # networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security
19339
+ # Services.
19340
+ # Corresponds to the JSON property `kind`
19341
+ # @return [String]
19342
+ attr_accessor :kind
19343
+
19344
+ # [Output Only] This token allows you to get the next page of results for list
19345
+ # requests. If the number of results is larger than maxResults, use the
19346
+ # nextPageToken as a value for the query parameter pageToken in the next list
19347
+ # request. Subsequent list requests will have their own nextPageToken to
19348
+ # continue paging through the results.
19349
+ # Corresponds to the JSON property `nextPageToken`
19350
+ # @return [String]
19351
+ attr_accessor :next_page_token
19352
+
19353
+ # [Output Only] Server-defined URL for this resource.
19354
+ # Corresponds to the JSON property `selfLink`
19355
+ # @return [String]
19356
+ attr_accessor :self_link
19357
+
19358
+ # [Output Only] Unreachable resources.
19359
+ # Corresponds to the JSON property `unreachables`
19360
+ # @return [Array<String>]
19361
+ attr_accessor :unreachables
19362
+
19363
+ # [Output Only] Informational warning message.
19364
+ # Corresponds to the JSON property `warning`
19365
+ # @return [Google::Apis::ComputeV1::NetworkEdgeSecurityServiceAggregatedList::Warning]
19366
+ attr_accessor :warning
19367
+
19368
+ def initialize(**args)
19369
+ update!(**args)
19370
+ end
19371
+
19372
+ # Update properties of this object
19373
+ def update!(**args)
19374
+ @etag = args[:etag] if args.key?(:etag)
19375
+ @id = args[:id] if args.key?(:id)
19376
+ @items = args[:items] if args.key?(:items)
19377
+ @kind = args[:kind] if args.key?(:kind)
19378
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
19379
+ @self_link = args[:self_link] if args.key?(:self_link)
19380
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
19381
+ @warning = args[:warning] if args.key?(:warning)
19382
+ end
19383
+
19384
+ # [Output Only] Informational warning message.
19385
+ class Warning
19386
+ include Google::Apis::Core::Hashable
19387
+
19388
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
19389
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
19390
+ # Corresponds to the JSON property `code`
19391
+ # @return [String]
19392
+ attr_accessor :code
19393
+
19394
+ # [Output Only] Metadata about this warning in key: value format. For example: "
19395
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
19396
+ # Corresponds to the JSON property `data`
19397
+ # @return [Array<Google::Apis::ComputeV1::NetworkEdgeSecurityServiceAggregatedList::Warning::Datum>]
19398
+ attr_accessor :data
19399
+
19400
+ # [Output Only] A human-readable description of the warning code.
19401
+ # Corresponds to the JSON property `message`
19402
+ # @return [String]
19403
+ attr_accessor :message
19404
+
19405
+ def initialize(**args)
19406
+ update!(**args)
19407
+ end
19408
+
19409
+ # Update properties of this object
19410
+ def update!(**args)
19411
+ @code = args[:code] if args.key?(:code)
19412
+ @data = args[:data] if args.key?(:data)
19413
+ @message = args[:message] if args.key?(:message)
19414
+ end
19415
+
19416
+ #
19417
+ class Datum
19418
+ include Google::Apis::Core::Hashable
19419
+
19420
+ # [Output Only] A key that provides more detail on the warning being returned.
19421
+ # For example, for warnings where there are no results in a list request for a
19422
+ # particular zone, this key might be scope and the key value might be the zone
19423
+ # name. Other examples might be a key indicating a deprecated resource and a
19424
+ # suggested replacement, or a warning about invalid network settings (for
19425
+ # example, if an instance attempts to perform IP forwarding but is not enabled
19426
+ # for IP forwarding).
19427
+ # Corresponds to the JSON property `key`
19428
+ # @return [String]
19429
+ attr_accessor :key
19430
+
19431
+ # [Output Only] A warning data value corresponding to the key.
19432
+ # Corresponds to the JSON property `value`
19433
+ # @return [String]
19434
+ attr_accessor :value
19435
+
19436
+ def initialize(**args)
19437
+ update!(**args)
19438
+ end
19439
+
19440
+ # Update properties of this object
19441
+ def update!(**args)
19442
+ @key = args[:key] if args.key?(:key)
19443
+ @value = args[:value] if args.key?(:value)
19444
+ end
19445
+ end
19446
+ end
19447
+ end
19448
+
19449
+ #
19450
+ class NetworkEdgeSecurityServicesScopedList
19451
+ include Google::Apis::Core::Hashable
19452
+
19453
+ # A list of NetworkEdgeSecurityServices contained in this scope.
19454
+ # Corresponds to the JSON property `networkEdgeSecurityServices`
19455
+ # @return [Array<Google::Apis::ComputeV1::NetworkEdgeSecurityService>]
19456
+ attr_accessor :network_edge_security_services
19457
+
19458
+ # Informational warning which replaces the list of security policies when the
19459
+ # list is empty.
19460
+ # Corresponds to the JSON property `warning`
19461
+ # @return [Google::Apis::ComputeV1::NetworkEdgeSecurityServicesScopedList::Warning]
19462
+ attr_accessor :warning
19463
+
19464
+ def initialize(**args)
19465
+ update!(**args)
19466
+ end
19467
+
19468
+ # Update properties of this object
19469
+ def update!(**args)
19470
+ @network_edge_security_services = args[:network_edge_security_services] if args.key?(:network_edge_security_services)
19471
+ @warning = args[:warning] if args.key?(:warning)
19472
+ end
19473
+
19474
+ # Informational warning which replaces the list of security policies when the
19475
+ # list is empty.
19476
+ class Warning
19477
+ include Google::Apis::Core::Hashable
19478
+
19479
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
19480
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
19481
+ # Corresponds to the JSON property `code`
19482
+ # @return [String]
19483
+ attr_accessor :code
19484
+
19485
+ # [Output Only] Metadata about this warning in key: value format. For example: "
19486
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
19487
+ # Corresponds to the JSON property `data`
19488
+ # @return [Array<Google::Apis::ComputeV1::NetworkEdgeSecurityServicesScopedList::Warning::Datum>]
19489
+ attr_accessor :data
19490
+
19491
+ # [Output Only] A human-readable description of the warning code.
19492
+ # Corresponds to the JSON property `message`
19493
+ # @return [String]
19494
+ attr_accessor :message
19495
+
19496
+ def initialize(**args)
19497
+ update!(**args)
19498
+ end
19499
+
19500
+ # Update properties of this object
19501
+ def update!(**args)
19502
+ @code = args[:code] if args.key?(:code)
19503
+ @data = args[:data] if args.key?(:data)
19504
+ @message = args[:message] if args.key?(:message)
19505
+ end
19506
+
19507
+ #
19508
+ class Datum
19509
+ include Google::Apis::Core::Hashable
19510
+
19511
+ # [Output Only] A key that provides more detail on the warning being returned.
19512
+ # For example, for warnings where there are no results in a list request for a
19513
+ # particular zone, this key might be scope and the key value might be the zone
19514
+ # name. Other examples might be a key indicating a deprecated resource and a
19515
+ # suggested replacement, or a warning about invalid network settings (for
19516
+ # example, if an instance attempts to perform IP forwarding but is not enabled
19517
+ # for IP forwarding).
19518
+ # Corresponds to the JSON property `key`
19519
+ # @return [String]
19520
+ attr_accessor :key
19521
+
19522
+ # [Output Only] A warning data value corresponding to the key.
19523
+ # Corresponds to the JSON property `value`
19524
+ # @return [String]
19525
+ attr_accessor :value
19526
+
19527
+ def initialize(**args)
19528
+ update!(**args)
19529
+ end
19530
+
19531
+ # Update properties of this object
19532
+ def update!(**args)
19533
+ @key = args[:key] if args.key?(:key)
19534
+ @value = args[:value] if args.key?(:value)
19535
+ end
19536
+ end
19537
+ end
19538
+ end
19539
+
19227
19540
  # The network endpoint.
19228
19541
  class NetworkEndpoint
19229
19542
  include Google::Apis::Core::Hashable
@@ -20134,7 +20447,8 @@ module Google
20134
20447
  attr_accessor :kind
20135
20448
 
20136
20449
  # [Output Only] The name of the network interface, which is generated by the
20137
- # server. For network devices, these are eth0, eth1, etc.
20450
+ # server. For a VM, the network interface uses the nicN naming format. Where N
20451
+ # is a value between 0 and 7. The default interface value is nic0.
20138
20452
  # Corresponds to the JSON property `name`
20139
20453
  # @return [String]
20140
20454
  attr_accessor :name
@@ -28510,6 +28824,11 @@ module Google
28510
28824
  # @return [Fixnum]
28511
28825
  attr_accessor :priority
28512
28826
 
28827
+ # [Output only] The status of the route.
28828
+ # Corresponds to the JSON property `routeStatus`
28829
+ # @return [String]
28830
+ attr_accessor :route_status
28831
+
28513
28832
  # [Output Only] The type of this route, which can be one of the following values:
28514
28833
  # - 'TRANSIT' for a transit route that this router learned from another Cloud
28515
28834
  # Router and will readvertise to one of its BGP peers - 'SUBNET' for a route
@@ -28557,6 +28876,7 @@ module Google
28557
28876
  @next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
28558
28877
  @next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
28559
28878
  @priority = args[:priority] if args.key?(:priority)
28879
+ @route_status = args[:route_status] if args.key?(:route_status)
28560
28880
  @route_type = args[:route_type] if args.key?(:route_type)
28561
28881
  @self_link = args[:self_link] if args.key?(:self_link)
28562
28882
  @tags = args[:tags] if args.key?(:tags)
@@ -30626,6 +30946,136 @@ module Google
30626
30946
  end
30627
30947
  end
30628
30948
 
30949
+ #
30950
+ class SecurityPoliciesAggregatedList
30951
+ include Google::Apis::Core::Hashable
30952
+
30953
+ #
30954
+ # Corresponds to the JSON property `etag`
30955
+ # @return [String]
30956
+ attr_accessor :etag
30957
+
30958
+ # [Output Only] Unique identifier for the resource; defined by the server.
30959
+ # Corresponds to the JSON property `id`
30960
+ # @return [String]
30961
+ attr_accessor :id
30962
+
30963
+ # A list of SecurityPoliciesScopedList resources.
30964
+ # Corresponds to the JSON property `items`
30965
+ # @return [Hash<String,Google::Apis::ComputeV1::SecurityPoliciesScopedList>]
30966
+ attr_accessor :items
30967
+
30968
+ # [Output Only] Type of resource. Always compute#securityPolicyAggregatedList
30969
+ # for lists of Security Policies.
30970
+ # Corresponds to the JSON property `kind`
30971
+ # @return [String]
30972
+ attr_accessor :kind
30973
+
30974
+ # [Output Only] This token allows you to get the next page of results for list
30975
+ # requests. If the number of results is larger than maxResults, use the
30976
+ # nextPageToken as a value for the query parameter pageToken in the next list
30977
+ # request. Subsequent list requests will have their own nextPageToken to
30978
+ # continue paging through the results.
30979
+ # Corresponds to the JSON property `nextPageToken`
30980
+ # @return [String]
30981
+ attr_accessor :next_page_token
30982
+
30983
+ # [Output Only] Server-defined URL for this resource.
30984
+ # Corresponds to the JSON property `selfLink`
30985
+ # @return [String]
30986
+ attr_accessor :self_link
30987
+
30988
+ # [Output Only] Unreachable resources.
30989
+ # Corresponds to the JSON property `unreachables`
30990
+ # @return [Array<String>]
30991
+ attr_accessor :unreachables
30992
+
30993
+ # [Output Only] Informational warning message.
30994
+ # Corresponds to the JSON property `warning`
30995
+ # @return [Google::Apis::ComputeV1::SecurityPoliciesAggregatedList::Warning]
30996
+ attr_accessor :warning
30997
+
30998
+ def initialize(**args)
30999
+ update!(**args)
31000
+ end
31001
+
31002
+ # Update properties of this object
31003
+ def update!(**args)
31004
+ @etag = args[:etag] if args.key?(:etag)
31005
+ @id = args[:id] if args.key?(:id)
31006
+ @items = args[:items] if args.key?(:items)
31007
+ @kind = args[:kind] if args.key?(:kind)
31008
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
31009
+ @self_link = args[:self_link] if args.key?(:self_link)
31010
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
31011
+ @warning = args[:warning] if args.key?(:warning)
31012
+ end
31013
+
31014
+ # [Output Only] Informational warning message.
31015
+ class Warning
31016
+ include Google::Apis::Core::Hashable
31017
+
31018
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
31019
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
31020
+ # Corresponds to the JSON property `code`
31021
+ # @return [String]
31022
+ attr_accessor :code
31023
+
31024
+ # [Output Only] Metadata about this warning in key: value format. For example: "
31025
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
31026
+ # Corresponds to the JSON property `data`
31027
+ # @return [Array<Google::Apis::ComputeV1::SecurityPoliciesAggregatedList::Warning::Datum>]
31028
+ attr_accessor :data
31029
+
31030
+ # [Output Only] A human-readable description of the warning code.
31031
+ # Corresponds to the JSON property `message`
31032
+ # @return [String]
31033
+ attr_accessor :message
31034
+
31035
+ def initialize(**args)
31036
+ update!(**args)
31037
+ end
31038
+
31039
+ # Update properties of this object
31040
+ def update!(**args)
31041
+ @code = args[:code] if args.key?(:code)
31042
+ @data = args[:data] if args.key?(:data)
31043
+ @message = args[:message] if args.key?(:message)
31044
+ end
31045
+
31046
+ #
31047
+ class Datum
31048
+ include Google::Apis::Core::Hashable
31049
+
31050
+ # [Output Only] A key that provides more detail on the warning being returned.
31051
+ # For example, for warnings where there are no results in a list request for a
31052
+ # particular zone, this key might be scope and the key value might be the zone
31053
+ # name. Other examples might be a key indicating a deprecated resource and a
31054
+ # suggested replacement, or a warning about invalid network settings (for
31055
+ # example, if an instance attempts to perform IP forwarding but is not enabled
31056
+ # for IP forwarding).
31057
+ # Corresponds to the JSON property `key`
31058
+ # @return [String]
31059
+ attr_accessor :key
31060
+
31061
+ # [Output Only] A warning data value corresponding to the key.
31062
+ # Corresponds to the JSON property `value`
31063
+ # @return [String]
31064
+ attr_accessor :value
31065
+
31066
+ def initialize(**args)
31067
+ update!(**args)
31068
+ end
31069
+
31070
+ # Update properties of this object
31071
+ def update!(**args)
31072
+ @key = args[:key] if args.key?(:key)
31073
+ @value = args[:value] if args.key?(:value)
31074
+ end
31075
+ end
31076
+ end
31077
+ end
31078
+
30629
31079
  #
30630
31080
  class SecurityPoliciesListPreconfiguredExpressionSetsResponse
30631
31081
  include Google::Apis::Core::Hashable
@@ -30645,6 +31095,97 @@ module Google
30645
31095
  end
30646
31096
  end
30647
31097
 
31098
+ #
31099
+ class SecurityPoliciesScopedList
31100
+ include Google::Apis::Core::Hashable
31101
+
31102
+ # A list of SecurityPolicies contained in this scope.
31103
+ # Corresponds to the JSON property `securityPolicies`
31104
+ # @return [Array<Google::Apis::ComputeV1::SecurityPolicy>]
31105
+ attr_accessor :security_policies
31106
+
31107
+ # Informational warning which replaces the list of security policies when the
31108
+ # list is empty.
31109
+ # Corresponds to the JSON property `warning`
31110
+ # @return [Google::Apis::ComputeV1::SecurityPoliciesScopedList::Warning]
31111
+ attr_accessor :warning
31112
+
31113
+ def initialize(**args)
31114
+ update!(**args)
31115
+ end
31116
+
31117
+ # Update properties of this object
31118
+ def update!(**args)
31119
+ @security_policies = args[:security_policies] if args.key?(:security_policies)
31120
+ @warning = args[:warning] if args.key?(:warning)
31121
+ end
31122
+
31123
+ # Informational warning which replaces the list of security policies when the
31124
+ # list is empty.
31125
+ class Warning
31126
+ include Google::Apis::Core::Hashable
31127
+
31128
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
31129
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
31130
+ # Corresponds to the JSON property `code`
31131
+ # @return [String]
31132
+ attr_accessor :code
31133
+
31134
+ # [Output Only] Metadata about this warning in key: value format. For example: "
31135
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
31136
+ # Corresponds to the JSON property `data`
31137
+ # @return [Array<Google::Apis::ComputeV1::SecurityPoliciesScopedList::Warning::Datum>]
31138
+ attr_accessor :data
31139
+
31140
+ # [Output Only] A human-readable description of the warning code.
31141
+ # Corresponds to the JSON property `message`
31142
+ # @return [String]
31143
+ attr_accessor :message
31144
+
31145
+ def initialize(**args)
31146
+ update!(**args)
31147
+ end
31148
+
31149
+ # Update properties of this object
31150
+ def update!(**args)
31151
+ @code = args[:code] if args.key?(:code)
31152
+ @data = args[:data] if args.key?(:data)
31153
+ @message = args[:message] if args.key?(:message)
31154
+ end
31155
+
31156
+ #
31157
+ class Datum
31158
+ include Google::Apis::Core::Hashable
31159
+
31160
+ # [Output Only] A key that provides more detail on the warning being returned.
31161
+ # For example, for warnings where there are no results in a list request for a
31162
+ # particular zone, this key might be scope and the key value might be the zone
31163
+ # name. Other examples might be a key indicating a deprecated resource and a
31164
+ # suggested replacement, or a warning about invalid network settings (for
31165
+ # example, if an instance attempts to perform IP forwarding but is not enabled
31166
+ # for IP forwarding).
31167
+ # Corresponds to the JSON property `key`
31168
+ # @return [String]
31169
+ attr_accessor :key
31170
+
31171
+ # [Output Only] A warning data value corresponding to the key.
31172
+ # Corresponds to the JSON property `value`
31173
+ # @return [String]
31174
+ attr_accessor :value
31175
+
31176
+ def initialize(**args)
31177
+ update!(**args)
31178
+ end
31179
+
31180
+ # Update properties of this object
31181
+ def update!(**args)
31182
+ @key = args[:key] if args.key?(:key)
31183
+ @value = args[:value] if args.key?(:value)
31184
+ end
31185
+ end
31186
+ end
31187
+ end
31188
+
30648
31189
  #
30649
31190
  class SecurityPoliciesWafConfig
30650
31191
  include Google::Apis::Core::Hashable
@@ -30685,6 +31226,11 @@ module Google
30685
31226
  # @return [String]
30686
31227
  attr_accessor :creation_timestamp
30687
31228
 
31229
+ #
31230
+ # Corresponds to the JSON property `ddosProtectionConfig`
31231
+ # @return [Google::Apis::ComputeV1::SecurityPolicyDdosProtectionConfig]
31232
+ attr_accessor :ddos_protection_config
31233
+
30688
31234
  # An optional description of this resource. Provide this property when you
30689
31235
  # create the resource.
30690
31236
  # Corresponds to the JSON property `description`
@@ -30730,6 +31276,12 @@ module Google
30730
31276
  # @return [Google::Apis::ComputeV1::SecurityPolicyRecaptchaOptionsConfig]
30731
31277
  attr_accessor :recaptcha_options_config
30732
31278
 
31279
+ # [Output Only] URL of the region where the regional security policy resides.
31280
+ # This field is not applicable to global security policies.
31281
+ # Corresponds to the JSON property `region`
31282
+ # @return [String]
31283
+ attr_accessor :region
31284
+
30733
31285
  # A list of rules that belong to this policy. There must always be a default
30734
31286
  # rule (rule with priority 2147483647 and match "*"). If no rules are provided
30735
31287
  # when creating a security policy, a default rule with action "allow" will be
@@ -30767,12 +31319,14 @@ module Google
30767
31319
  @adaptive_protection_config = args[:adaptive_protection_config] if args.key?(:adaptive_protection_config)
30768
31320
  @advanced_options_config = args[:advanced_options_config] if args.key?(:advanced_options_config)
30769
31321
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
31322
+ @ddos_protection_config = args[:ddos_protection_config] if args.key?(:ddos_protection_config)
30770
31323
  @description = args[:description] if args.key?(:description)
30771
31324
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
30772
31325
  @id = args[:id] if args.key?(:id)
30773
31326
  @kind = args[:kind] if args.key?(:kind)
30774
31327
  @name = args[:name] if args.key?(:name)
30775
31328
  @recaptcha_options_config = args[:recaptcha_options_config] if args.key?(:recaptcha_options_config)
31329
+ @region = args[:region] if args.key?(:region)
30776
31330
  @rules = args[:rules] if args.key?(:rules)
30777
31331
  @self_link = args[:self_link] if args.key?(:self_link)
30778
31332
  @type = args[:type] if args.key?(:type)
@@ -30850,6 +31404,25 @@ module Google
30850
31404
  end
30851
31405
  end
30852
31406
 
31407
+ #
31408
+ class SecurityPolicyDdosProtectionConfig
31409
+ include Google::Apis::Core::Hashable
31410
+
31411
+ #
31412
+ # Corresponds to the JSON property `ddosProtection`
31413
+ # @return [String]
31414
+ attr_accessor :ddos_protection
31415
+
31416
+ def initialize(**args)
31417
+ update!(**args)
31418
+ end
31419
+
31420
+ # Update properties of this object
31421
+ def update!(**args)
31422
+ @ddos_protection = args[:ddos_protection] if args.key?(:ddos_protection)
31423
+ end
31424
+ end
31425
+
30853
31426
  #
30854
31427
  class SecurityPolicyList
30855
31428
  include Google::Apis::Core::Hashable