google-apis-compute_beta 0.44.0 → 0.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15371516eb14c719ddcb225fd556f88cc65952ccd1de2993562c44976e1987b7
4
- data.tar.gz: 4d13b75ef7d41f1e7239e979221ed58152f38193385b89a26186e1fa9f48edb0
3
+ metadata.gz: 92bf80086d078b9889f8f715acc421c9c63a3774ad54d3c6c2c3ebdc21639c3f
4
+ data.tar.gz: 06afc56bae703ebae2ddd21c14b1fb3951e9cd17721891d5da16b0b0ad1692a4
5
5
  SHA512:
6
- metadata.gz: 544f16e8b1a5987a5b5110ddd61ac74692138d2ac4e567c17c8217df20b9ca426098351470f3f8610a590d5e41b3755bc724cf82d9c5ba3013274beac9bf9ed3
7
- data.tar.gz: 6e09b2e57a9642ad1db3195456166bf3e392d36cd4d888569fa122b63c3fefdf45991f284c5b0964be1e2a29740933bb267d0664a372085b21c41838ab5dd3a6
6
+ metadata.gz: cefc3c59e2cbfdbb42bd174d36567877102d8919271949f5b451de01f6bb268271a6234fd733f82232671efac93c9472846f8799c0baa2658c2fbb19af2a69e4
7
+ data.tar.gz: 402af7f6216d4e5e49c5bd4f145e10759b7c2daa566c620c091ddac38ed85221f705d8f2a36c713ddc9e6a198e652fa803919bf637419bf36f90de48a7b820a9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.47.0 (2022-08-25)
4
+
5
+ * Regenerated from discovery document revision 20220816
6
+
7
+ ### v0.46.0 (2022-08-14)
8
+
9
+ * Regenerated from discovery document revision 20220809
10
+
11
+ ### v0.45.0 (2022-08-06)
12
+
13
+ * Regenerated from discovery document revision 20220726
14
+
3
15
  ### v0.44.0 (2022-07-26)
4
16
 
5
17
  * Regenerated from discovery document revision 20220720
@@ -1318,6 +1318,14 @@ module Google
1318
1318
  # @return [Fixnum]
1319
1319
  attr_accessor :disk_size_gb
1320
1320
 
1321
+ # [Input Only] Whether to force attach the regional disk even if it's currently
1322
+ # attached to another instance. If you try to force attach a zonal disk to an
1323
+ # instance, you will receive an error.
1324
+ # Corresponds to the JSON property `forceAttach`
1325
+ # @return [Boolean]
1326
+ attr_accessor :force_attach
1327
+ alias_method :force_attach?, :force_attach
1328
+
1321
1329
  # A list of features to enable on the guest operating system. Applicable only
1322
1330
  # for bootable images. Read Enabling guest operating system features to see a
1323
1331
  # list of available options.
@@ -1421,6 +1429,7 @@ module Google
1421
1429
  @device_name = args[:device_name] if args.key?(:device_name)
1422
1430
  @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
1423
1431
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1432
+ @force_attach = args[:force_attach] if args.key?(:force_attach)
1424
1433
  @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
1425
1434
  @index = args[:index] if args.key?(:index)
1426
1435
  @initialize_params = args[:initialize_params] if args.key?(:initialize_params)
@@ -1523,6 +1532,14 @@ module Google
1523
1532
  # @return [Fixnum]
1524
1533
  attr_accessor :provisioned_iops
1525
1534
 
1535
+ # Resource manager tags to be bound to the disk. Tag keys and values have the
1536
+ # same definition as resource manager tags. Keys must be in the format `tagKeys/`
1537
+ # tag_key_id``, and values are in the format `tagValues/456`. The field is
1538
+ # ignored (both PUT & PATCH) when empty.
1539
+ # Corresponds to the JSON property `resourceManagerTags`
1540
+ # @return [Hash<String,String>]
1541
+ attr_accessor :resource_manager_tags
1542
+
1526
1543
  # Resource policies applied to this disk for automatic snapshot creations.
1527
1544
  # Specified using the full or partial URL. For instance template, specify only
1528
1545
  # the resource policy name.
@@ -1588,6 +1605,7 @@ module Google
1588
1605
  @multi_writer = args[:multi_writer] if args.key?(:multi_writer)
1589
1606
  @on_update_action = args[:on_update_action] if args.key?(:on_update_action)
1590
1607
  @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
1608
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
1591
1609
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
1592
1610
  @source_image = args[:source_image] if args.key?(:source_image)
1593
1611
  @source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
@@ -4650,25 +4668,28 @@ module Google
4650
4668
  # anyone who is authenticated with a Google account or a service account. * `
4651
4669
  # user:`emailid``: An email address that represents a specific Google account.
4652
4670
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
4653
- # address that represents a service account. For example, `my-other-app@appspot.
4654
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
4655
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
4656
- # `uniqueid``: An email address (plus unique identifier) representing a user
4657
- # that has been recently deleted. For example, `alice@example.com?uid=
4658
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
4659
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
4660
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
4661
- # identifier) representing a service account that has been recently deleted. For
4662
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
4663
- # If the service account is undeleted, this value reverts to `serviceAccount:`
4664
- # emailid`` and the undeleted service account retains the role in the binding. *
4665
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
4666
- # identifier) representing a Google group that has been recently deleted. For
4667
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
4668
- # recovered, this value reverts to `group:`emailid`` and the recovered group
4669
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
4670
- # primary) that represents all the users of that domain. For example, `google.
4671
- # com` or `example.com`.
4671
+ # address that represents a Google service account. For example, `my-other-app@
4672
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
4673
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
4674
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
4675
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
4676
+ # . * `group:`emailid``: An email address that represents a Google group. For
4677
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
4678
+ # email address (plus unique identifier) representing a user that has been
4679
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
4680
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
4681
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
4682
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
4683
+ # representing a service account that has been recently deleted. For example, `
4684
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
4685
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
4686
+ # and the undeleted service account retains the role in the binding. * `deleted:
4687
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
4688
+ # representing a Google group that has been recently deleted. For example, `
4689
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
4690
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
4691
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
4692
+ # all the users of that domain. For example, `google.com` or `example.com`.
4672
4693
  # Corresponds to the JSON property `members`
4673
4694
  # @return [Array<String>]
4674
4695
  attr_accessor :members
@@ -5013,6 +5034,11 @@ module Google
5013
5034
  # @return [Google::Apis::ComputeBeta::LicenseResourceCommitment]
5014
5035
  attr_accessor :license_resource
5015
5036
 
5037
+ # List of source commitments to be merged into a new commitment.
5038
+ # Corresponds to the JSON property `mergeSourceCommitments`
5039
+ # @return [Array<String>]
5040
+ attr_accessor :merge_source_commitments
5041
+
5016
5042
  # Name of the resource. Provided by the client when the resource is created. The
5017
5043
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
5018
5044
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -5051,6 +5077,11 @@ module Google
5051
5077
  # @return [String]
5052
5078
  attr_accessor :self_link
5053
5079
 
5080
+ # Source commitment to be splitted into a new commitment.
5081
+ # Corresponds to the JSON property `splitSourceCommitment`
5082
+ # @return [String]
5083
+ attr_accessor :split_source_commitment
5084
+
5054
5085
  # [Output Only] Commitment start time in RFC3339 text format.
5055
5086
  # Corresponds to the JSON property `startTimestamp`
5056
5087
  # @return [String]
@@ -5090,12 +5121,14 @@ module Google
5090
5121
  @id = args[:id] if args.key?(:id)
5091
5122
  @kind = args[:kind] if args.key?(:kind)
5092
5123
  @license_resource = args[:license_resource] if args.key?(:license_resource)
5124
+ @merge_source_commitments = args[:merge_source_commitments] if args.key?(:merge_source_commitments)
5093
5125
  @name = args[:name] if args.key?(:name)
5094
5126
  @plan = args[:plan] if args.key?(:plan)
5095
5127
  @region = args[:region] if args.key?(:region)
5096
5128
  @reservations = args[:reservations] if args.key?(:reservations)
5097
5129
  @resources = args[:resources] if args.key?(:resources)
5098
5130
  @self_link = args[:self_link] if args.key?(:self_link)
5131
+ @split_source_commitment = args[:split_source_commitment] if args.key?(:split_source_commitment)
5099
5132
  @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
5100
5133
  @status = args[:status] if args.key?(:status)
5101
5134
  @status_message = args[:status_message] if args.key?(:status_message)
@@ -5974,6 +6007,11 @@ module Google
5974
6007
  # @return [String]
5975
6008
  attr_accessor :options
5976
6009
 
6010
+ # Additional disk params.
6011
+ # Corresponds to the JSON property `params`
6012
+ # @return [Google::Apis::ComputeBeta::DiskParams]
6013
+ attr_accessor :params
6014
+
5977
6015
  # Physical block size of the persistent disk, in bytes. If not present in a
5978
6016
  # request, a default value is used. The currently supported size is 4096, other
5979
6017
  # sizes may be added in the future. If an unsupported value is requested, the
@@ -6177,6 +6215,7 @@ module Google
6177
6215
  @multi_writer = args[:multi_writer] if args.key?(:multi_writer)
6178
6216
  @name = args[:name] if args.key?(:name)
6179
6217
  @options = args[:options] if args.key?(:options)
6218
+ @params = args[:params] if args.key?(:params)
6180
6219
  @physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
6181
6220
  @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
6182
6221
  @region = args[:region] if args.key?(:region)
@@ -6525,6 +6564,28 @@ module Google
6525
6564
  end
6526
6565
  end
6527
6566
 
6567
+ # Additional disk params.
6568
+ class DiskParams
6569
+ include Google::Apis::Core::Hashable
6570
+
6571
+ # Resource manager tags to be bound to the disk. Tag keys and values have the
6572
+ # same definition as resource manager tags. Keys must be in the format `tagKeys/`
6573
+ # tag_key_id``, and values are in the format `tagValues/456`. The field is
6574
+ # ignored (both PUT & PATCH) when empty.
6575
+ # Corresponds to the JSON property `resourceManagerTags`
6576
+ # @return [Hash<String,String>]
6577
+ attr_accessor :resource_manager_tags
6578
+
6579
+ def initialize(**args)
6580
+ update!(**args)
6581
+ end
6582
+
6583
+ # Update properties of this object
6584
+ def update!(**args)
6585
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
6586
+ end
6587
+ end
6588
+
6528
6589
  # Represents a Disk Type resource. Google Compute Engine has two Disk Type
6529
6590
  # resources: * [Regional](/compute/docs/reference/rest/beta/regionDiskTypes) * [
6530
6591
  # Zonal](/compute/docs/reference/rest/beta/diskTypes) You can choose from a
@@ -11927,9 +11988,9 @@ module Google
11927
11988
  # forwarding the request to the selected backend. If routeAction specifies any
11928
11989
  # weightedBackendServices, service must not be set. Conversely if service is set,
11929
11990
  # routeAction cannot contain any weightedBackendServices. Only one of
11930
- # urlRedirect, service or routeAction.weightedBackendService must be set.
11931
- # UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
11932
- # within a route rule's routeAction.
11991
+ # urlRedirect, service or routeAction.weightedBackendService must be set. URL
11992
+ # maps for Classic external HTTP(S) load balancers only support the urlRewrite
11993
+ # action within a route rule's routeAction.
11933
11994
  # Corresponds to the JSON property `routeAction`
11934
11995
  # @return [Google::Apis::ComputeBeta::HttpRouteAction]
11935
11996
  attr_accessor :route_action
@@ -18830,7 +18891,7 @@ module Google
18830
18891
  class LocalizedMessage
18831
18892
  include Google::Apis::Core::Hashable
18832
18893
 
18833
- # The locale used following the specification defined at http://www.rfc-editor.
18894
+ # The locale used following the specification defined at https://www.rfc-editor.
18834
18895
  # org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
18835
18896
  # Corresponds to the JSON property `locale`
18836
18897
  # @return [String]
@@ -20851,6 +20912,12 @@ module Google
20851
20912
  # @return [String]
20852
20913
  attr_accessor :network_endpoint_type
20853
20914
 
20915
+ # All data that is specifically relevant to only network endpoint groups of type
20916
+ # PRIVATE_SERVICE_CONNECT.
20917
+ # Corresponds to the JSON property `pscData`
20918
+ # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupPscData]
20919
+ attr_accessor :psc_data
20920
+
20854
20921
  # The target service url used to set up private service connection to a Google
20855
20922
  # API or a PSC Producer Service Attachment. An example value is: "asia-
20856
20923
  # northeast3-cloudkms.googleapis.com"
@@ -20911,6 +20978,7 @@ module Google
20911
20978
  @name = args[:name] if args.key?(:name)
20912
20979
  @network = args[:network] if args.key?(:network)
20913
20980
  @network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
20981
+ @psc_data = args[:psc_data] if args.key?(:psc_data)
20914
20982
  @psc_target_service = args[:psc_target_service] if args.key?(:psc_target_service)
20915
20983
  @region = args[:region] if args.key?(:region)
20916
20984
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -21324,6 +21392,39 @@ module Google
21324
21392
  end
21325
21393
  end
21326
21394
 
21395
+ # All data that is specifically relevant to only network endpoint groups of type
21396
+ # PRIVATE_SERVICE_CONNECT.
21397
+ class NetworkEndpointGroupPscData
21398
+ include Google::Apis::Core::Hashable
21399
+
21400
+ # [Output Only] Address allocated from given subnetwork for PSC. This IP address
21401
+ # acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
21402
+ # Corresponds to the JSON property `consumerPscAddress`
21403
+ # @return [String]
21404
+ attr_accessor :consumer_psc_address
21405
+
21406
+ # [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.
21407
+ # Corresponds to the JSON property `pscConnectionId`
21408
+ # @return [Fixnum]
21409
+ attr_accessor :psc_connection_id
21410
+
21411
+ # [Output Only] The connection status of the PSC Forwarding Rule.
21412
+ # Corresponds to the JSON property `pscConnectionStatus`
21413
+ # @return [String]
21414
+ attr_accessor :psc_connection_status
21415
+
21416
+ def initialize(**args)
21417
+ update!(**args)
21418
+ end
21419
+
21420
+ # Update properties of this object
21421
+ def update!(**args)
21422
+ @consumer_psc_address = args[:consumer_psc_address] if args.key?(:consumer_psc_address)
21423
+ @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
21424
+ @psc_connection_status = args[:psc_connection_status] if args.key?(:psc_connection_status)
21425
+ end
21426
+ end
21427
+
21327
21428
  # Configuration for a serverless network endpoint group (NEG). The platform must
21328
21429
  # be provided. Note: The target backend service must be in the same project and
21329
21430
  # located in the same region as the Serverless NEG.
@@ -25767,8 +25868,9 @@ module Google
25767
25868
  # If defaultRouteAction specifies any weightedBackendServices, defaultService
25768
25869
  # must not be set. Conversely if defaultService is set, defaultRouteAction
25769
25870
  # cannot contain any weightedBackendServices. Only one of defaultRouteAction or
25770
- # defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load balancers
25771
- # support only the urlRewrite action within a path matcher's defaultRouteAction.
25871
+ # defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
25872
+ # balancers only support the urlRewrite action within a path matcher's
25873
+ # defaultRouteAction.
25772
25874
  # Corresponds to the JSON property `defaultRouteAction`
25773
25875
  # @return [Google::Apis::ComputeBeta::HttpRouteAction]
25774
25876
  attr_accessor :default_route_action
@@ -25867,8 +25969,9 @@ module Google
25867
25969
  # the request to the selected backend. If routeAction specifies any
25868
25970
  # weightedBackendServices, service must not be set. Conversely if service is set,
25869
25971
  # routeAction cannot contain any weightedBackendServices. Only one of
25870
- # routeAction or urlRedirect must be set. URL maps for external HTTP(S) load
25871
- # balancers support only the urlRewrite action within a path rule's routeAction.
25972
+ # routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S)
25973
+ # load balancers only support the urlRewrite action within a path rule's
25974
+ # routeAction.
25872
25975
  # Corresponds to the JSON property `routeAction`
25873
25976
  # @return [Google::Apis::ComputeBeta::HttpRouteAction]
25874
25977
  attr_accessor :route_action
@@ -28951,6 +29054,13 @@ module Google
28951
29054
  # @return [String]
28952
29055
  attr_accessor :name
28953
29056
 
29057
+ # Resource policies to be added to this reservation. The key is defined by user,
29058
+ # and the value is resource policy url. This is to define placement policy with
29059
+ # reservation.
29060
+ # Corresponds to the JSON property `resourcePolicies`
29061
+ # @return [Hash<String,String>]
29062
+ attr_accessor :resource_policies
29063
+
28954
29064
  # [Output Only] Reserved for future use.
28955
29065
  # Corresponds to the JSON property `satisfiesPzs`
28956
29066
  # @return [Boolean]
@@ -29004,6 +29114,7 @@ module Google
29004
29114
  @id = args[:id] if args.key?(:id)
29005
29115
  @kind = args[:kind] if args.key?(:kind)
29006
29116
  @name = args[:name] if args.key?(:name)
29117
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
29007
29118
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
29008
29119
  @self_link = args[:self_link] if args.key?(:self_link)
29009
29120
  @share_settings = args[:share_settings] if args.key?(:share_settings)
@@ -33208,6 +33319,12 @@ module Google
33208
33319
  class SecurityPolicyAdvancedOptionsConfig
33209
33320
  include Google::Apis::Core::Hashable
33210
33321
 
33322
+ # Custom configuration to apply the JSON parsing. Only applicable when
33323
+ # json_parsing is set to STANDARD.
33324
+ # Corresponds to the JSON property `jsonCustomConfig`
33325
+ # @return [Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]
33326
+ attr_accessor :json_custom_config
33327
+
33211
33328
  #
33212
33329
  # Corresponds to the JSON property `jsonParsing`
33213
33330
  # @return [String]
@@ -33224,11 +33341,35 @@ module Google
33224
33341
 
33225
33342
  # Update properties of this object
33226
33343
  def update!(**args)
33344
+ @json_custom_config = args[:json_custom_config] if args.key?(:json_custom_config)
33227
33345
  @json_parsing = args[:json_parsing] if args.key?(:json_parsing)
33228
33346
  @log_level = args[:log_level] if args.key?(:log_level)
33229
33347
  end
33230
33348
  end
33231
33349
 
33350
+ #
33351
+ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
33352
+ include Google::Apis::Core::Hashable
33353
+
33354
+ # A list of custom Content-Type header values to apply the JSON parsing. As per
33355
+ # RFC 1341, a Content-Type header value has the following format: Content-Type :=
33356
+ # type "/" subtype *[";" parameter] When configuring a custom Content-Type
33357
+ # header value, only the type/subtype needs to be specified, and the parameters
33358
+ # should be excluded.
33359
+ # Corresponds to the JSON property `contentTypes`
33360
+ # @return [Array<String>]
33361
+ attr_accessor :content_types
33362
+
33363
+ def initialize(**args)
33364
+ update!(**args)
33365
+ end
33366
+
33367
+ # Update properties of this object
33368
+ def update!(**args)
33369
+ @content_types = args[:content_types] if args.key?(:content_types)
33370
+ end
33371
+ end
33372
+
33232
33373
  #
33233
33374
  class SecurityPolicyAssociation
33234
33375
  include Google::Apis::Core::Hashable
@@ -33498,6 +33639,13 @@ module Google
33498
33639
  # @return [Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher]
33499
33640
  attr_accessor :match
33500
33641
 
33642
+ # Preconfigured WAF configuration to be applied for the rule. If the rule does
33643
+ # not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is
33644
+ # not used, this field will have no effect.
33645
+ # Corresponds to the JSON property `preconfiguredWafConfig`
33646
+ # @return [Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfig]
33647
+ attr_accessor :preconfigured_waf_config
33648
+
33501
33649
  # If set to true, the specified action is not enforced.
33502
33650
  # Corresponds to the JSON property `preview`
33503
33651
  # @return [Boolean]
@@ -33564,6 +33712,7 @@ module Google
33564
33712
  @header_action = args[:header_action] if args.key?(:header_action)
33565
33713
  @kind = args[:kind] if args.key?(:kind)
33566
33714
  @match = args[:match] if args.key?(:match)
33715
+ @preconfigured_waf_config = args[:preconfigured_waf_config] if args.key?(:preconfigured_waf_config)
33567
33716
  @preview = args[:preview] if args.key?(:preview)
33568
33717
  @priority = args[:priority] if args.key?(:priority)
33569
33718
  @rate_limit_options = args[:rate_limit_options] if args.key?(:rate_limit_options)
@@ -33735,6 +33884,107 @@ module Google
33735
33884
  end
33736
33885
  end
33737
33886
 
33887
+ #
33888
+ class SecurityPolicyRulePreconfiguredWafConfig
33889
+ include Google::Apis::Core::Hashable
33890
+
33891
+ # A list of exclusions to apply during preconfigured WAF evaluation.
33892
+ # Corresponds to the JSON property `exclusions`
33893
+ # @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusion>]
33894
+ attr_accessor :exclusions
33895
+
33896
+ def initialize(**args)
33897
+ update!(**args)
33898
+ end
33899
+
33900
+ # Update properties of this object
33901
+ def update!(**args)
33902
+ @exclusions = args[:exclusions] if args.key?(:exclusions)
33903
+ end
33904
+ end
33905
+
33906
+ #
33907
+ class SecurityPolicyRulePreconfiguredWafConfigExclusion
33908
+ include Google::Apis::Core::Hashable
33909
+
33910
+ # A list of request cookie names whose value will be excluded from inspection
33911
+ # during preconfigured WAF evaluation.
33912
+ # Corresponds to the JSON property `requestCookiesToExclude`
33913
+ # @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
33914
+ attr_accessor :request_cookies_to_exclude
33915
+
33916
+ # A list of request header names whose value will be excluded from inspection
33917
+ # during preconfigured WAF evaluation.
33918
+ # Corresponds to the JSON property `requestHeadersToExclude`
33919
+ # @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
33920
+ attr_accessor :request_headers_to_exclude
33921
+
33922
+ # A list of request query parameter names whose value will be excluded from
33923
+ # inspection during preconfigured WAF evaluation. Note that the parameter can be
33924
+ # in the query string or in the POST body.
33925
+ # Corresponds to the JSON property `requestQueryParamsToExclude`
33926
+ # @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
33927
+ attr_accessor :request_query_params_to_exclude
33928
+
33929
+ # A list of request URIs from the request line to be excluded from inspection
33930
+ # during preconfigured WAF evaluation. When specifying this field, the query or
33931
+ # fragment part should be excluded.
33932
+ # Corresponds to the JSON property `requestUrisToExclude`
33933
+ # @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
33934
+ attr_accessor :request_uris_to_exclude
33935
+
33936
+ # A list of target rule IDs under the WAF rule set to apply the preconfigured
33937
+ # WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule
33938
+ # set.
33939
+ # Corresponds to the JSON property `targetRuleIds`
33940
+ # @return [Array<String>]
33941
+ attr_accessor :target_rule_ids
33942
+
33943
+ # Target WAF rule set to apply the preconfigured WAF exclusion.
33944
+ # Corresponds to the JSON property `targetRuleSet`
33945
+ # @return [String]
33946
+ attr_accessor :target_rule_set
33947
+
33948
+ def initialize(**args)
33949
+ update!(**args)
33950
+ end
33951
+
33952
+ # Update properties of this object
33953
+ def update!(**args)
33954
+ @request_cookies_to_exclude = args[:request_cookies_to_exclude] if args.key?(:request_cookies_to_exclude)
33955
+ @request_headers_to_exclude = args[:request_headers_to_exclude] if args.key?(:request_headers_to_exclude)
33956
+ @request_query_params_to_exclude = args[:request_query_params_to_exclude] if args.key?(:request_query_params_to_exclude)
33957
+ @request_uris_to_exclude = args[:request_uris_to_exclude] if args.key?(:request_uris_to_exclude)
33958
+ @target_rule_ids = args[:target_rule_ids] if args.key?(:target_rule_ids)
33959
+ @target_rule_set = args[:target_rule_set] if args.key?(:target_rule_set)
33960
+ end
33961
+ end
33962
+
33963
+ #
33964
+ class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams
33965
+ include Google::Apis::Core::Hashable
33966
+
33967
+ # The match operator for the field.
33968
+ # Corresponds to the JSON property `op`
33969
+ # @return [String]
33970
+ attr_accessor :op
33971
+
33972
+ # The value of the field.
33973
+ # Corresponds to the JSON property `val`
33974
+ # @return [String]
33975
+ attr_accessor :val
33976
+
33977
+ def initialize(**args)
33978
+ update!(**args)
33979
+ end
33980
+
33981
+ # Update properties of this object
33982
+ def update!(**args)
33983
+ @op = args[:op] if args.key?(:op)
33984
+ @val = args[:val] if args.key?(:val)
33985
+ end
33986
+ end
33987
+
33738
33988
  #
33739
33989
  class SecurityPolicyRuleRateLimitOptions
33740
33990
  include Google::Apis::Core::Hashable
@@ -40846,8 +41096,8 @@ module Google
40846
41096
  # defaultRouteAction specifies any weightedBackendServices, defaultService must
40847
41097
  # not be set. Conversely if defaultService is set, defaultRouteAction cannot
40848
41098
  # contain any weightedBackendServices. Only one of defaultRouteAction or
40849
- # defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load balancers
40850
- # support only the urlRewrite action within defaultRouteAction.
41099
+ # defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
41100
+ # balancers only support the urlRewrite action within defaultRouteAction.
40851
41101
  # defaultRouteAction has no effect when the URL map is bound to a target gRPC
40852
41102
  # proxy that has the validateForProxyless field set to true.
40853
41103
  # Corresponds to the JSON property `defaultRouteAction`
@@ -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.44.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220720"
25
+ REVISION = "20220816"
26
26
  end
27
27
  end
28
28
  end
@@ -730,6 +730,12 @@ module Google
730
730
  include Google::Apis::Core::JsonObjectSupport
731
731
  end
732
732
 
733
+ class DiskParams
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
733
739
  class DiskType
734
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
735
741
 
@@ -2626,6 +2632,12 @@ module Google
2626
2632
  include Google::Apis::Core::JsonObjectSupport
2627
2633
  end
2628
2634
 
2635
+ class NetworkEndpointGroupPscData
2636
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2637
+
2638
+ include Google::Apis::Core::JsonObjectSupport
2639
+ end
2640
+
2629
2641
  class NetworkEndpointGroupServerlessDeployment
2630
2642
  class Representation < Google::Apis::Core::JsonRepresentation; end
2631
2643
 
@@ -4300,6 +4312,12 @@ module Google
4300
4312
  include Google::Apis::Core::JsonObjectSupport
4301
4313
  end
4302
4314
 
4315
+ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
4316
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4317
+
4318
+ include Google::Apis::Core::JsonObjectSupport
4319
+ end
4320
+
4303
4321
  class SecurityPolicyAssociation
4304
4322
  class Representation < Google::Apis::Core::JsonRepresentation; end
4305
4323
 
@@ -4378,6 +4396,24 @@ module Google
4378
4396
  include Google::Apis::Core::JsonObjectSupport
4379
4397
  end
4380
4398
 
4399
+ class SecurityPolicyRulePreconfiguredWafConfig
4400
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4401
+
4402
+ include Google::Apis::Core::JsonObjectSupport
4403
+ end
4404
+
4405
+ class SecurityPolicyRulePreconfiguredWafConfigExclusion
4406
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4407
+
4408
+ include Google::Apis::Core::JsonObjectSupport
4409
+ end
4410
+
4411
+ class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams
4412
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4413
+
4414
+ include Google::Apis::Core::JsonObjectSupport
4415
+ end
4416
+
4381
4417
  class SecurityPolicyRuleRateLimitOptions
4382
4418
  class Representation < Google::Apis::Core::JsonRepresentation; end
4383
4419
 
@@ -6088,6 +6124,7 @@ module Google
6088
6124
  property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
6089
6125
 
6090
6126
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
6127
+ property :force_attach, as: 'forceAttach'
6091
6128
  collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
6092
6129
 
6093
6130
  property :index, as: 'index'
@@ -6121,6 +6158,7 @@ module Google
6121
6158
  property :multi_writer, as: 'multiWriter'
6122
6159
  property :on_update_action, as: 'onUpdateAction'
6123
6160
  property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
6161
+ hash :resource_manager_tags, as: 'resourceManagerTags'
6124
6162
  collection :resource_policies, as: 'resourcePolicies'
6125
6163
  property :source_image, as: 'sourceImage'
6126
6164
  property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
@@ -6871,6 +6909,7 @@ module Google
6871
6909
  property :kind, as: 'kind'
6872
6910
  property :license_resource, as: 'licenseResource', class: Google::Apis::ComputeBeta::LicenseResourceCommitment, decorator: Google::Apis::ComputeBeta::LicenseResourceCommitment::Representation
6873
6911
 
6912
+ collection :merge_source_commitments, as: 'mergeSourceCommitments'
6874
6913
  property :name, as: 'name'
6875
6914
  property :plan, as: 'plan'
6876
6915
  property :region, as: 'region'
@@ -6879,6 +6918,7 @@ module Google
6879
6918
  collection :resources, as: 'resources', class: Google::Apis::ComputeBeta::ResourceCommitment, decorator: Google::Apis::ComputeBeta::ResourceCommitment::Representation
6880
6919
 
6881
6920
  property :self_link, as: 'selfLink'
6921
+ property :split_source_commitment, as: 'splitSourceCommitment'
6882
6922
  property :start_timestamp, as: 'startTimestamp'
6883
6923
  property :status, as: 'status'
6884
6924
  property :status_message, as: 'statusMessage'
@@ -7096,6 +7136,8 @@ module Google
7096
7136
  property :multi_writer, as: 'multiWriter'
7097
7137
  property :name, as: 'name'
7098
7138
  property :options, as: 'options'
7139
+ property :params, as: 'params', class: Google::Apis::ComputeBeta::DiskParams, decorator: Google::Apis::ComputeBeta::DiskParams::Representation
7140
+
7099
7141
  property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
7100
7142
  property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
7101
7143
  property :region, as: 'region'
@@ -7207,6 +7249,13 @@ module Google
7207
7249
  end
7208
7250
  end
7209
7251
 
7252
+ class DiskParams
7253
+ # @private
7254
+ class Representation < Google::Apis::Core::JsonRepresentation
7255
+ hash :resource_manager_tags, as: 'resourceManagerTags'
7256
+ end
7257
+ end
7258
+
7210
7259
  class DiskType
7211
7260
  # @private
7212
7261
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10703,6 +10752,8 @@ module Google
10703
10752
  property :name, as: 'name'
10704
10753
  property :network, as: 'network'
10705
10754
  property :network_endpoint_type, as: 'networkEndpointType'
10755
+ property :psc_data, as: 'pscData', class: Google::Apis::ComputeBeta::NetworkEndpointGroupPscData, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupPscData::Representation
10756
+
10706
10757
  property :psc_target_service, as: 'pscTargetService'
10707
10758
  property :region, as: 'region'
10708
10759
  property :self_link, as: 'selfLink'
@@ -10815,6 +10866,15 @@ module Google
10815
10866
  end
10816
10867
  end
10817
10868
 
10869
+ class NetworkEndpointGroupPscData
10870
+ # @private
10871
+ class Representation < Google::Apis::Core::JsonRepresentation
10872
+ property :consumer_psc_address, as: 'consumerPscAddress'
10873
+ property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
10874
+ property :psc_connection_status, as: 'pscConnectionStatus'
10875
+ end
10876
+ end
10877
+
10818
10878
  class NetworkEndpointGroupServerlessDeployment
10819
10879
  # @private
10820
10880
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12811,6 +12871,7 @@ module Google
12811
12871
  property :id, :numeric_string => true, as: 'id'
12812
12872
  property :kind, as: 'kind'
12813
12873
  property :name, as: 'name'
12874
+ hash :resource_policies, as: 'resourcePolicies'
12814
12875
  property :satisfies_pzs, as: 'satisfiesPzs'
12815
12876
  property :self_link, as: 'selfLink'
12816
12877
  property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeBeta::ShareSettings, decorator: Google::Apis::ComputeBeta::ShareSettings::Representation
@@ -13870,11 +13931,20 @@ module Google
13870
13931
  class SecurityPolicyAdvancedOptionsConfig
13871
13932
  # @private
13872
13933
  class Representation < Google::Apis::Core::JsonRepresentation
13934
+ property :json_custom_config, as: 'jsonCustomConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig::Representation
13935
+
13873
13936
  property :json_parsing, as: 'jsonParsing'
13874
13937
  property :log_level, as: 'logLevel'
13875
13938
  end
13876
13939
  end
13877
13940
 
13941
+ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
13942
+ # @private
13943
+ class Representation < Google::Apis::Core::JsonRepresentation
13944
+ collection :content_types, as: 'contentTypes'
13945
+ end
13946
+ end
13947
+
13878
13948
  class SecurityPolicyAssociation
13879
13949
  # @private
13880
13950
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13949,6 +14019,8 @@ module Google
13949
14019
  property :kind, as: 'kind'
13950
14020
  property :match, as: 'match', class: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher::Representation
13951
14021
 
14022
+ property :preconfigured_waf_config, as: 'preconfiguredWafConfig', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfig::Representation
14023
+
13952
14024
  property :preview, as: 'preview'
13953
14025
  property :priority, as: 'priority'
13954
14026
  property :rate_limit_options, as: 'rateLimitOptions', class: Google::Apis::ComputeBeta::SecurityPolicyRuleRateLimitOptions, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleRateLimitOptions::Representation
@@ -14007,6 +14079,38 @@ module Google
14007
14079
  end
14008
14080
  end
14009
14081
 
14082
+ class SecurityPolicyRulePreconfiguredWafConfig
14083
+ # @private
14084
+ class Representation < Google::Apis::Core::JsonRepresentation
14085
+ collection :exclusions, as: 'exclusions', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusion, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusion::Representation
14086
+
14087
+ end
14088
+ end
14089
+
14090
+ class SecurityPolicyRulePreconfiguredWafConfigExclusion
14091
+ # @private
14092
+ class Representation < Google::Apis::Core::JsonRepresentation
14093
+ collection :request_cookies_to_exclude, as: 'requestCookiesToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
14094
+
14095
+ collection :request_headers_to_exclude, as: 'requestHeadersToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
14096
+
14097
+ collection :request_query_params_to_exclude, as: 'requestQueryParamsToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
14098
+
14099
+ collection :request_uris_to_exclude, as: 'requestUrisToExclude', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
14100
+
14101
+ collection :target_rule_ids, as: 'targetRuleIds'
14102
+ property :target_rule_set, as: 'targetRuleSet'
14103
+ end
14104
+ end
14105
+
14106
+ class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams
14107
+ # @private
14108
+ class Representation < Google::Apis::Core::JsonRepresentation
14109
+ property :op, as: 'op'
14110
+ property :val, as: 'val'
14111
+ end
14112
+ end
14113
+
14010
14114
  class SecurityPolicyRuleRateLimitOptions
14011
14115
  # @private
14012
14116
  class Representation < Google::Apis::Core::JsonRepresentation
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.44.0
4
+ version: 0.47.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-08-01 00:00:00.000000000 Z
11
+ date: 2022-08-29 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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.47.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: []