google-apis-compute_beta 0.45.0 → 0.48.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: 3d39a7f17cdf2e704b61e2fd5fe704b4312cc53cb114938596a05a50ee0bfb5a
4
- data.tar.gz: b7d66ba781d806ca708481cea6950a62244b30b139eae60773f1a0ddd3c0742b
3
+ metadata.gz: e094ea6535c4a715d1a2b73c48d212b0a0662f85f27fa3ba63950fb4ea9794f9
4
+ data.tar.gz: f7aece4502da498700c3bbc5652f1d14eaf61d4cf08a1cca96a93f341066b6e1
5
5
  SHA512:
6
- metadata.gz: b1954287dfc97e3d43ef7bfaa8fbe3c35de7f712cef7d842781c8e40b4e3c218628230fcad93361704a9029b08e988143d6c48ad222a34aa8cec7809fac71e61
7
- data.tar.gz: 53b34996e1f7b2aff00b0125700e044138f2f33d62f516d72adebbf54d8b6bfe76f2c627114f85f26088daebd726a6d160fbe5e2c4a4e22fef616edcce5c1419
6
+ metadata.gz: 535c3884cd03229f93401006e3f01d7b7f0c7c3ffd707c8d60715637aceec27642e029431e80cec4af1d396a12089a6d3045d733aa29c4163ac1f5a5429b606e
7
+ data.tar.gz: 1ccbf886e7c38a28bc5a35b3e1e1f60f677f0a461b36e339c872317b7a946a2162e06a591acc48301638da04f144890e1c06f6c2729acd34d85c684c11fa09e5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.48.0 (2022-08-31)
4
+
5
+ * Regenerated from discovery document revision 20220823
6
+
7
+ ### v0.47.0 (2022-08-25)
8
+
9
+ * Regenerated from discovery document revision 20220816
10
+
11
+ ### v0.46.0 (2022-08-14)
12
+
13
+ * Regenerated from discovery document revision 20220809
14
+
3
15
  ### v0.45.0 (2022-08-06)
4
16
 
5
17
  * Regenerated from discovery document revision 20220726
@@ -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.
@@ -1343,10 +1351,9 @@ module Google
1343
1351
  attr_accessor :initialize_params
1344
1352
 
1345
1353
  # Specifies the disk interface to use for attaching this disk, which is either
1346
- # SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and
1347
- # the request will fail if you attempt to attach a persistent disk in any other
1348
- # format than SCSI. Local SSDs can use either NVME or SCSI. For performance
1349
- # characteristics of SCSI over NVMe, see Local SSD performance.
1354
+ # SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use
1355
+ # either NVME or SCSI. In certain configurations, persistent disks can use NVMe.
1356
+ # For more information, see About persistent disks.
1350
1357
  # Corresponds to the JSON property `interface`
1351
1358
  # @return [String]
1352
1359
  attr_accessor :interface
@@ -1421,6 +1428,7 @@ module Google
1421
1428
  @device_name = args[:device_name] if args.key?(:device_name)
1422
1429
  @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
1423
1430
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1431
+ @force_attach = args[:force_attach] if args.key?(:force_attach)
1424
1432
  @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
1425
1433
  @index = args[:index] if args.key?(:index)
1426
1434
  @initialize_params = args[:initialize_params] if args.key?(:initialize_params)
@@ -4659,25 +4667,28 @@ module Google
4659
4667
  # anyone who is authenticated with a Google account or a service account. * `
4660
4668
  # user:`emailid``: An email address that represents a specific Google account.
4661
4669
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
4662
- # address that represents a service account. For example, `my-other-app@appspot.
4663
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
4664
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
4665
- # `uniqueid``: An email address (plus unique identifier) representing a user
4666
- # that has been recently deleted. For example, `alice@example.com?uid=
4667
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
4668
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
4669
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
4670
- # identifier) representing a service account that has been recently deleted. For
4671
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
4672
- # If the service account is undeleted, this value reverts to `serviceAccount:`
4673
- # emailid`` and the undeleted service account retains the role in the binding. *
4674
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
4675
- # identifier) representing a Google group that has been recently deleted. For
4676
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
4677
- # recovered, this value reverts to `group:`emailid`` and the recovered group
4678
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
4679
- # primary) that represents all the users of that domain. For example, `google.
4680
- # com` or `example.com`.
4670
+ # address that represents a Google service account. For example, `my-other-app@
4671
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
4672
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
4673
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
4674
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
4675
+ # . * `group:`emailid``: An email address that represents a Google group. For
4676
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
4677
+ # email address (plus unique identifier) representing a user that has been
4678
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
4679
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
4680
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
4681
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
4682
+ # representing a service account that has been recently deleted. For example, `
4683
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
4684
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
4685
+ # and the undeleted service account retains the role in the binding. * `deleted:
4686
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
4687
+ # representing a Google group that has been recently deleted. For example, `
4688
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
4689
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
4690
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
4691
+ # all the users of that domain. For example, `google.com` or `example.com`.
4681
4692
  # Corresponds to the JSON property `members`
4682
4693
  # @return [Array<String>]
4683
4694
  attr_accessor :members
@@ -5022,6 +5033,11 @@ module Google
5022
5033
  # @return [Google::Apis::ComputeBeta::LicenseResourceCommitment]
5023
5034
  attr_accessor :license_resource
5024
5035
 
5036
+ # List of source commitments to be merged into a new commitment.
5037
+ # Corresponds to the JSON property `mergeSourceCommitments`
5038
+ # @return [Array<String>]
5039
+ attr_accessor :merge_source_commitments
5040
+
5025
5041
  # Name of the resource. Provided by the client when the resource is created. The
5026
5042
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
5027
5043
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -5060,6 +5076,11 @@ module Google
5060
5076
  # @return [String]
5061
5077
  attr_accessor :self_link
5062
5078
 
5079
+ # Source commitment to be splitted into a new commitment.
5080
+ # Corresponds to the JSON property `splitSourceCommitment`
5081
+ # @return [String]
5082
+ attr_accessor :split_source_commitment
5083
+
5063
5084
  # [Output Only] Commitment start time in RFC3339 text format.
5064
5085
  # Corresponds to the JSON property `startTimestamp`
5065
5086
  # @return [String]
@@ -5099,12 +5120,14 @@ module Google
5099
5120
  @id = args[:id] if args.key?(:id)
5100
5121
  @kind = args[:kind] if args.key?(:kind)
5101
5122
  @license_resource = args[:license_resource] if args.key?(:license_resource)
5123
+ @merge_source_commitments = args[:merge_source_commitments] if args.key?(:merge_source_commitments)
5102
5124
  @name = args[:name] if args.key?(:name)
5103
5125
  @plan = args[:plan] if args.key?(:plan)
5104
5126
  @region = args[:region] if args.key?(:region)
5105
5127
  @reservations = args[:reservations] if args.key?(:reservations)
5106
5128
  @resources = args[:resources] if args.key?(:resources)
5107
5129
  @self_link = args[:self_link] if args.key?(:self_link)
5130
+ @split_source_commitment = args[:split_source_commitment] if args.key?(:split_source_commitment)
5108
5131
  @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
5109
5132
  @status = args[:status] if args.key?(:status)
5110
5133
  @status_message = args[:status_message] if args.key?(:status_message)
@@ -7821,9 +7844,8 @@ module Google
7821
7844
  attr_accessor :destination_ranges
7822
7845
 
7823
7846
  # Direction of traffic to which this firewall applies, either `INGRESS` or `
7824
- # EGRESS`. The default is `INGRESS`. For `INGRESS` traffic, you cannot specify
7825
- # the destinationRanges field, and for `EGRESS` traffic, you cannot specify the
7826
- # sourceRanges or sourceTags fields.
7847
+ # EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify
7848
+ # the sourceTags fields.
7827
7849
  # Corresponds to the JSON property `direction`
7828
7850
  # @return [String]
7829
7851
  attr_accessor :direction
@@ -11964,9 +11986,9 @@ module Google
11964
11986
  # forwarding the request to the selected backend. If routeAction specifies any
11965
11987
  # weightedBackendServices, service must not be set. Conversely if service is set,
11966
11988
  # routeAction cannot contain any weightedBackendServices. Only one of
11967
- # urlRedirect, service or routeAction.weightedBackendService must be set.
11968
- # UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
11969
- # within a route rule's routeAction.
11989
+ # urlRedirect, service or routeAction.weightedBackendService must be set. URL
11990
+ # maps for Classic external HTTP(S) load balancers only support the urlRewrite
11991
+ # action within a route rule's routeAction.
11970
11992
  # Corresponds to the JSON property `routeAction`
11971
11993
  # @return [Google::Apis::ComputeBeta::HttpRouteAction]
11972
11994
  attr_accessor :route_action
@@ -18867,7 +18889,7 @@ module Google
18867
18889
  class LocalizedMessage
18868
18890
  include Google::Apis::Core::Hashable
18869
18891
 
18870
- # The locale used following the specification defined at http://www.rfc-editor.
18892
+ # The locale used following the specification defined at https://www.rfc-editor.
18871
18893
  # org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
18872
18894
  # Corresponds to the JSON property `locale`
18873
18895
  # @return [String]
@@ -20352,8 +20374,10 @@ module Google
20352
20374
  # @return [String]
20353
20375
  attr_accessor :kind
20354
20376
 
20355
- # Maximum Transmission Unit in bytes. The minimum value for this field is 1460
20356
- # and the maximum value is 1500 bytes. If unspecified, defaults to 1460.
20377
+ # Maximum Transmission Unit in bytes. The minimum value for this field is 1300
20378
+ # and the maximum value is 8896. The suggested value is 1500, which is the
20379
+ # default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If
20380
+ # unspecified, the value defaults to 1460.
20357
20381
  # Corresponds to the JSON property `mtu`
20358
20382
  # @return [Fixnum]
20359
20383
  attr_accessor :mtu
@@ -20888,6 +20912,12 @@ module Google
20888
20912
  # @return [String]
20889
20913
  attr_accessor :network_endpoint_type
20890
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
+
20891
20921
  # The target service url used to set up private service connection to a Google
20892
20922
  # API or a PSC Producer Service Attachment. An example value is: "asia-
20893
20923
  # northeast3-cloudkms.googleapis.com"
@@ -20948,6 +20978,7 @@ module Google
20948
20978
  @name = args[:name] if args.key?(:name)
20949
20979
  @network = args[:network] if args.key?(:network)
20950
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)
20951
20982
  @psc_target_service = args[:psc_target_service] if args.key?(:psc_target_service)
20952
20983
  @region = args[:region] if args.key?(:region)
20953
20984
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -21361,6 +21392,39 @@ module Google
21361
21392
  end
21362
21393
  end
21363
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
+
21364
21428
  # Configuration for a serverless network endpoint group (NEG). The platform must
21365
21429
  # be provided. Note: The target backend service must be in the same project and
21366
21430
  # located in the same region as the Serverless NEG.
@@ -25804,8 +25868,9 @@ module Google
25804
25868
  # If defaultRouteAction specifies any weightedBackendServices, defaultService
25805
25869
  # must not be set. Conversely if defaultService is set, defaultRouteAction
25806
25870
  # cannot contain any weightedBackendServices. Only one of defaultRouteAction or
25807
- # defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load balancers
25808
- # 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.
25809
25874
  # Corresponds to the JSON property `defaultRouteAction`
25810
25875
  # @return [Google::Apis::ComputeBeta::HttpRouteAction]
25811
25876
  attr_accessor :default_route_action
@@ -25904,8 +25969,9 @@ module Google
25904
25969
  # the request to the selected backend. If routeAction specifies any
25905
25970
  # weightedBackendServices, service must not be set. Conversely if service is set,
25906
25971
  # routeAction cannot contain any weightedBackendServices. Only one of
25907
- # routeAction or urlRedirect must be set. URL maps for external HTTP(S) load
25908
- # 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.
25909
25975
  # Corresponds to the JSON property `routeAction`
25910
25976
  # @return [Google::Apis::ComputeBeta::HttpRouteAction]
25911
25977
  attr_accessor :route_action
@@ -28988,6 +29054,13 @@ module Google
28988
29054
  # @return [String]
28989
29055
  attr_accessor :name
28990
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
+
28991
29064
  # [Output Only] Reserved for future use.
28992
29065
  # Corresponds to the JSON property `satisfiesPzs`
28993
29066
  # @return [Boolean]
@@ -29041,6 +29114,7 @@ module Google
29041
29114
  @id = args[:id] if args.key?(:id)
29042
29115
  @kind = args[:kind] if args.key?(:kind)
29043
29116
  @name = args[:name] if args.key?(:name)
29117
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
29044
29118
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
29045
29119
  @self_link = args[:self_link] if args.key?(:self_link)
29046
29120
  @share_settings = args[:share_settings] if args.key?(:share_settings)
@@ -33565,6 +33639,13 @@ module Google
33565
33639
  # @return [Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher]
33566
33640
  attr_accessor :match
33567
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
+
33568
33649
  # If set to true, the specified action is not enforced.
33569
33650
  # Corresponds to the JSON property `preview`
33570
33651
  # @return [Boolean]
@@ -33631,6 +33712,7 @@ module Google
33631
33712
  @header_action = args[:header_action] if args.key?(:header_action)
33632
33713
  @kind = args[:kind] if args.key?(:kind)
33633
33714
  @match = args[:match] if args.key?(:match)
33715
+ @preconfigured_waf_config = args[:preconfigured_waf_config] if args.key?(:preconfigured_waf_config)
33634
33716
  @preview = args[:preview] if args.key?(:preview)
33635
33717
  @priority = args[:priority] if args.key?(:priority)
33636
33718
  @rate_limit_options = args[:rate_limit_options] if args.key?(:rate_limit_options)
@@ -33802,6 +33884,107 @@ module Google
33802
33884
  end
33803
33885
  end
33804
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
+
33805
33988
  #
33806
33989
  class SecurityPolicyRuleRateLimitOptions
33807
33990
  include Google::Apis::Core::Hashable
@@ -40913,8 +41096,8 @@ module Google
40913
41096
  # defaultRouteAction specifies any weightedBackendServices, defaultService must
40914
41097
  # not be set. Conversely if defaultService is set, defaultRouteAction cannot
40915
41098
  # contain any weightedBackendServices. Only one of defaultRouteAction or
40916
- # defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load balancers
40917
- # 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.
40918
41101
  # defaultRouteAction has no effect when the URL map is bound to a target gRPC
40919
41102
  # proxy that has the validateForProxyless field set to true.
40920
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.45.0"
19
+ GEM_VERSION = "0.48.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 = "20220726"
25
+ REVISION = "20220823"
26
26
  end
27
27
  end
28
28
  end
@@ -2632,6 +2632,12 @@ module Google
2632
2632
  include Google::Apis::Core::JsonObjectSupport
2633
2633
  end
2634
2634
 
2635
+ class NetworkEndpointGroupPscData
2636
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2637
+
2638
+ include Google::Apis::Core::JsonObjectSupport
2639
+ end
2640
+
2635
2641
  class NetworkEndpointGroupServerlessDeployment
2636
2642
  class Representation < Google::Apis::Core::JsonRepresentation; end
2637
2643
 
@@ -4390,6 +4396,24 @@ module Google
4390
4396
  include Google::Apis::Core::JsonObjectSupport
4391
4397
  end
4392
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
+
4393
4417
  class SecurityPolicyRuleRateLimitOptions
4394
4418
  class Representation < Google::Apis::Core::JsonRepresentation; end
4395
4419
 
@@ -6100,6 +6124,7 @@ module Google
6100
6124
  property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
6101
6125
 
6102
6126
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
6127
+ property :force_attach, as: 'forceAttach'
6103
6128
  collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
6104
6129
 
6105
6130
  property :index, as: 'index'
@@ -6884,6 +6909,7 @@ module Google
6884
6909
  property :kind, as: 'kind'
6885
6910
  property :license_resource, as: 'licenseResource', class: Google::Apis::ComputeBeta::LicenseResourceCommitment, decorator: Google::Apis::ComputeBeta::LicenseResourceCommitment::Representation
6886
6911
 
6912
+ collection :merge_source_commitments, as: 'mergeSourceCommitments'
6887
6913
  property :name, as: 'name'
6888
6914
  property :plan, as: 'plan'
6889
6915
  property :region, as: 'region'
@@ -6892,6 +6918,7 @@ module Google
6892
6918
  collection :resources, as: 'resources', class: Google::Apis::ComputeBeta::ResourceCommitment, decorator: Google::Apis::ComputeBeta::ResourceCommitment::Representation
6893
6919
 
6894
6920
  property :self_link, as: 'selfLink'
6921
+ property :split_source_commitment, as: 'splitSourceCommitment'
6895
6922
  property :start_timestamp, as: 'startTimestamp'
6896
6923
  property :status, as: 'status'
6897
6924
  property :status_message, as: 'statusMessage'
@@ -10725,6 +10752,8 @@ module Google
10725
10752
  property :name, as: 'name'
10726
10753
  property :network, as: 'network'
10727
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
+
10728
10757
  property :psc_target_service, as: 'pscTargetService'
10729
10758
  property :region, as: 'region'
10730
10759
  property :self_link, as: 'selfLink'
@@ -10837,6 +10866,15 @@ module Google
10837
10866
  end
10838
10867
  end
10839
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
+
10840
10878
  class NetworkEndpointGroupServerlessDeployment
10841
10879
  # @private
10842
10880
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12833,6 +12871,7 @@ module Google
12833
12871
  property :id, :numeric_string => true, as: 'id'
12834
12872
  property :kind, as: 'kind'
12835
12873
  property :name, as: 'name'
12874
+ hash :resource_policies, as: 'resourcePolicies'
12836
12875
  property :satisfies_pzs, as: 'satisfiesPzs'
12837
12876
  property :self_link, as: 'selfLink'
12838
12877
  property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeBeta::ShareSettings, decorator: Google::Apis::ComputeBeta::ShareSettings::Representation
@@ -13980,6 +14019,8 @@ module Google
13980
14019
  property :kind, as: 'kind'
13981
14020
  property :match, as: 'match', class: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher::Representation
13982
14021
 
14022
+ property :preconfigured_waf_config, as: 'preconfiguredWafConfig', class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfig::Representation
14023
+
13983
14024
  property :preview, as: 'preview'
13984
14025
  property :priority, as: 'priority'
13985
14026
  property :rate_limit_options, as: 'rateLimitOptions', class: Google::Apis::ComputeBeta::SecurityPolicyRuleRateLimitOptions, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleRateLimitOptions::Representation
@@ -14038,6 +14079,38 @@ module Google
14038
14079
  end
14039
14080
  end
14040
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
+
14041
14114
  class SecurityPolicyRuleRateLimitOptions
14042
14115
  # @private
14043
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.45.0
4
+ version: 0.48.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-08 00:00:00.000000000 Z
11
+ date: 2022-09-05 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.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.48.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: []