google-apis-compute_alpha 0.51.0 → 0.52.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: 4c9d8afbc1bb92788839c68069184815afb583bf6ef675354aacafcccaff8bc0
4
- data.tar.gz: '085ae9da8d6cfb62101f1d4cda3b454322780a04a79b6fb099d911a69fa937fe'
3
+ metadata.gz: 0bd47da97f12a3cf06160dde98fe399cf82b4c04b0d4519873744d5478ebc37b
4
+ data.tar.gz: f8e3103cc99d5f29b840b8aca208c385c9bd76ba9033bee69e75e79e28bd89fe
5
5
  SHA512:
6
- metadata.gz: 06f913b777eef6fcb913ac1c792d4ccb3a491e22a3cbb79378ebbd433ef89e2baf2dee8d16c014b7c94d13fdddf2b4d9f72a2df7927a0efcc26e36725f86d495
7
- data.tar.gz: 6604b5c0062c3475ee58750ed873fe24bc72c8085f58af0abeb1e910dd4584902b4202dbb44ddc4dea7a607e71650ad9b42cd3fc25d7669172a4dc7ce21abd02
6
+ metadata.gz: 6f80e44a1d69bc00c88710bc9f5a462930f20988a7ce31b700eb43b7e49dfdf1920203dd5c30d93b768f1f3ca6f9aa675cde0e95172f0ef859731337dbf5c9f5
7
+ data.tar.gz: 73db0d8cd5fde56b808a88a781eea61316f5652354ebc22aedeb4e1acac0b049d7a3bbfb3351ea789216d81dcc8e4e8fa6c79dcc7dde6c9ba97f8bc1ece3c5d4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.52.0 (2022-11-03)
4
+
5
+ * Regenerated from discovery document revision 20221026
6
+ * Regenerated using generator version 0.11.0
7
+
3
8
  ### v0.51.0 (2022-10-02)
4
9
 
5
10
  * Regenerated from discovery document revision 20220918
@@ -22,6 +22,52 @@ module Google
22
22
  module Apis
23
23
  module ComputeAlpha
24
24
 
25
+ # Contains the configurations necessary to generate a signature for access to
26
+ # private storage buckets that support Signature Version 4 for authentication.
27
+ # The service name for generating the authentication header will always default
28
+ # to 's3'.
29
+ class Awsv4Signature
30
+ include Google::Apis::Core::Hashable
31
+
32
+ # The access key used for s3 bucket authentication. Required for updating or
33
+ # creating a backend that uses AWS v4 signature authentication, but will not be
34
+ # returned as part of the configuration when queried with a REST API GET request.
35
+ # @InputOnly
36
+ # Corresponds to the JSON property `accessKey`
37
+ # @return [String]
38
+ attr_accessor :access_key
39
+
40
+ # The identifier of an access key used for s3 bucket authentication.
41
+ # Corresponds to the JSON property `accessKeyId`
42
+ # @return [String]
43
+ attr_accessor :access_key_id
44
+
45
+ # The optional version identifier for the access key. You can use this to keep
46
+ # track of different iterations of your access key.
47
+ # Corresponds to the JSON property `accessKeyVersion`
48
+ # @return [String]
49
+ attr_accessor :access_key_version
50
+
51
+ # The name of the cloud region of your origin. This is a free-form field with
52
+ # the name of the region your cloud uses to host your origin. For example, "us-
53
+ # east-1" for AWS or "us-ashburn-1" for OCI.
54
+ # Corresponds to the JSON property `originRegion`
55
+ # @return [String]
56
+ attr_accessor :origin_region
57
+
58
+ def initialize(**args)
59
+ update!(**args)
60
+ end
61
+
62
+ # Update properties of this object
63
+ def update!(**args)
64
+ @access_key = args[:access_key] if args.key?(:access_key)
65
+ @access_key_id = args[:access_key_id] if args.key?(:access_key_id)
66
+ @access_key_version = args[:access_key_version] if args.key?(:access_key_version)
67
+ @origin_region = args[:origin_region] if args.key?(:origin_region)
68
+ end
69
+ end
70
+
25
71
  # A specification of the type and number of accelerator cards attached to the
26
72
  # instance.
27
73
  class AcceleratorConfig
@@ -1282,8 +1328,8 @@ module Google
1282
1328
  # @return [Fixnum]
1283
1329
  attr_accessor :maintenance_freeze_duration_hours
1284
1330
 
1285
- # For more information about maintenance intervals, see Setting maintenance
1286
- # intervals.
1331
+ # Specifies the frequency of planned maintenance events. The accepted values are:
1332
+ # `PERIODIC`.
1287
1333
  # Corresponds to the JSON property `maintenanceInterval`
1288
1334
  # @return [String]
1289
1335
  attr_accessor :maintenance_interval
@@ -1582,12 +1628,14 @@ module Google
1582
1628
  # Specifies the disk type to use to create the instance. If not specified, the
1583
1629
  # default is pd-standard, specified using the full URL. For example: https://www.
1584
1630
  # googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard
1585
- # For a full list of acceptable values, see Persistent disk types. If you define
1586
- # this field, you can provide either the full or partial URL. For example, the
1587
- # following are valid values: - https://www.googleapis.com/compute/v1/projects/
1588
- # project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/
1589
- # diskType - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this
1590
- # is the name of the disk type, not URL.
1631
+ # For a full list of acceptable values, see Persistent disk types. If you
1632
+ # specify this field when creating a VM, you can provide either the full or
1633
+ # partial URL. For example, the following values are valid: - https://www.
1634
+ # googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType -
1635
+ # projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType
1636
+ # If you specify this field when creating or updating an instance template or
1637
+ # all-instances configuration, specify the type of the disk, not the URL. For
1638
+ # example: pd-standard.
1591
1639
  # Corresponds to the JSON property `diskType`
1592
1640
  # @return [String]
1593
1641
  attr_accessor :disk_type
@@ -1688,10 +1736,10 @@ module Google
1688
1736
  attr_accessor :source_image
1689
1737
 
1690
1738
  # The customer-supplied encryption key of the source image. Required if the
1691
- # source image is protected by a customer-supplied encryption key. Instance
1692
- # templates do not store customer-supplied encryption keys, so you cannot create
1693
- # disks for instances in a managed instance group if the source images are
1694
- # encrypted with your own keys.
1739
+ # source image is protected by a customer-supplied encryption key.
1740
+ # InstanceTemplate and InstancePropertiesPatch do not store customer-supplied
1741
+ # encryption keys, so you cannot create disks for instances in a managed
1742
+ # instance group if the source images are encrypted with your own keys.
1695
1743
  # Corresponds to the JSON property `sourceImageEncryptionKey`
1696
1744
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
1697
1745
  attr_accessor :source_image_encryption_key
@@ -5048,6 +5096,30 @@ module Google
5048
5096
  end
5049
5097
  end
5050
5098
 
5099
+ # A transient resource used in compute.disks.bulkInsert and compute.regionDisks.
5100
+ # bulkInsert. It is only used to process requests and is not persisted.
5101
+ class BulkInsertDiskResource
5102
+ include Google::Apis::Core::Hashable
5103
+
5104
+ # The URL of the DiskConsistencyGroupPolicy for the group of disks to clone.
5105
+ # This may be a full or partial URL, such as: - https://www.googleapis.com/
5106
+ # compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy -
5107
+ # projects/project/regions/region/resourcePolicies/resourcePolicy - regions/
5108
+ # region/resourcePolicies/resourcePolicy
5109
+ # Corresponds to the JSON property `sourceConsistencyGroupPolicy`
5110
+ # @return [String]
5111
+ attr_accessor :source_consistency_group_policy
5112
+
5113
+ def initialize(**args)
5114
+ update!(**args)
5115
+ end
5116
+
5117
+ # Update properties of this object
5118
+ def update!(**args)
5119
+ @source_consistency_group_policy = args[:source_consistency_group_policy] if args.key?(:source_consistency_group_policy)
5120
+ end
5121
+ end
5122
+
5051
5123
  # A transient resource used in compute.instances.bulkInsert and compute.
5052
5124
  # regionInstances.bulkInsert . This resource is not persisted anywhere, it is
5053
5125
  # used only for processing the requests.
@@ -6138,7 +6210,8 @@ module Google
6138
6210
  # Specifies a regular expression that matches allowed origins. For more
6139
6211
  # information about the regular expression syntax, see Syntax. An origin is
6140
6212
  # allowed if it matches either an item in allowOrigins or an item in
6141
- # allowOriginRegexes.
6213
+ # allowOriginRegexes. Regular expressions can only be used when the
6214
+ # loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
6142
6215
  # Corresponds to the JSON property `allowOriginRegexes`
6143
6216
  # @return [Array<String>]
6144
6217
  attr_accessor :allow_origin_regexes
@@ -9717,16 +9790,17 @@ module Google
9717
9790
  # optionally specify an IP address that references an existing static (reserved)
9718
9791
  # IP address resource. When omitted, Google Cloud assigns an ephemeral IP
9719
9792
  # address. Use one of the following formats to specify an IP address while
9720
- # creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full
9721
- # resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/
9722
- # regions/region /addresses/address-name * Partial URL or by name, as in: -
9723
- # projects/project_id/regions/region/addresses/address-name - regions/region/
9724
- # addresses/address-name - global/addresses/address-name - address-name The
9725
- # forwarding rule's target or backendService, and in most cases, also the
9726
- # loadBalancingScheme, determine the type of IP address that you can use. For
9727
- # detailed information, see [IP address specifications](https://cloud.google.com/
9728
- # load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When
9729
- # reading an IPAddress, the API always returns the IP address number.
9793
+ # creating a forwarding rule: * IP address number, as in `100.1.2.3` * IPv6
9794
+ # address range, as in `2600:1234::/96` * Full resource URL, as in https://www.
9795
+ # googleapis.com/compute/v1/projects/ project_id/regions/region/addresses/
9796
+ # address-name * Partial URL or by name, as in: - projects/project_id/regions/
9797
+ # region/addresses/address-name - regions/region/addresses/address-name - global/
9798
+ # addresses/address-name - address-name The forwarding rule's target or
9799
+ # backendService, and in most cases, also the loadBalancingScheme, determine the
9800
+ # type of IP address that you can use. For detailed information, see [IP address
9801
+ # specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-
9802
+ # concepts#ip_address_specifications). When reading an IPAddress, the API always
9803
+ # returns the IP address number.
9730
9804
  # Corresponds to the JSON property `IPAddress`
9731
9805
  # @return [String]
9732
9806
  attr_accessor :ip_address
@@ -13240,8 +13314,8 @@ module Google
13240
13314
  # For matching against a port specified in the HTTP request, use a headerMatch
13241
13315
  # with headerName set to PORT and a regular expression that satisfies the
13242
13316
  # RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch,
13243
- # suffixMatch, regexMatch, presentMatch or rangeMatch must be set. regexMatch
13244
- # only applies to load balancers that have loadBalancingScheme set to
13317
+ # suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular
13318
+ # expressions can only be used when the loadBalancingScheme is set to
13245
13319
  # INTERNAL_SELF_MANAGED.
13246
13320
  # Corresponds to the JSON property `regexMatch`
13247
13321
  # @return [String]
@@ -13566,8 +13640,8 @@ module Google
13566
13640
  # The queryParameterMatch matches if the value of the parameter matches the
13567
13641
  # regular expression specified by regexMatch. For more information about regular
13568
13642
  # expression syntax, see Syntax. Only one of presentMatch, exactMatch, or
13569
- # regexMatch must be set. regexMatch only applies when the loadBalancingScheme
13570
- # is set to INTERNAL_SELF_MANAGED.
13643
+ # regexMatch must be set. Regular expressions can only be used when the
13644
+ # loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
13571
13645
  # Corresponds to the JSON property `regexMatch`
13572
13646
  # @return [String]
13573
13647
  attr_accessor :regex_match
@@ -13957,6 +14031,16 @@ module Google
13957
14031
  # @return [Array<Google::Apis::ComputeAlpha::MetadataFilter>]
13958
14032
  attr_accessor :metadata_filters
13959
14033
 
14034
+ # If specified, the route is a pattern match expression that must match the :
14035
+ # path header once the query string is removed. A pattern match allows you to
14036
+ # match - The value must be between 1 and 1024 characters - The pattern must
14037
+ # start with a leading slash ("/") - There may be no more than 5 operators in
14038
+ # pattern Precisely one of prefix_match, full_path_match, regex_match or
14039
+ # path_template_match must be set.
14040
+ # Corresponds to the JSON property `pathTemplateMatch`
14041
+ # @return [String]
14042
+ attr_accessor :path_template_match
14043
+
13960
14044
  # For satisfying the matchRule condition, the request's path must begin with the
13961
14045
  # specified prefixMatch. prefixMatch must begin with a /. The value must be from
13962
14046
  # 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch
@@ -13976,8 +14060,8 @@ module Google
13976
14060
  # the regular expression specified in regexMatch after removing any query
13977
14061
  # parameters and anchor supplied with the original URL. For more information
13978
14062
  # about regular expression syntax, see Syntax. Only one of prefixMatch,
13979
- # fullPathMatch or regexMatch must be specified. regexMatch only applies to load
13980
- # balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.
14063
+ # fullPathMatch or regexMatch must be specified. Regular expressions can only be
14064
+ # used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
13981
14065
  # Corresponds to the JSON property `regexMatch`
13982
14066
  # @return [String]
13983
14067
  attr_accessor :regex_match
@@ -13992,6 +14076,7 @@ module Google
13992
14076
  @header_matches = args[:header_matches] if args.key?(:header_matches)
13993
14077
  @ignore_case = args[:ignore_case] if args.key?(:ignore_case)
13994
14078
  @metadata_filters = args[:metadata_filters] if args.key?(:metadata_filters)
14079
+ @path_template_match = args[:path_template_match] if args.key?(:path_template_match)
13995
14080
  @prefix_match = args[:prefix_match] if args.key?(:prefix_match)
13996
14081
  @query_parameter_matches = args[:query_parameter_matches] if args.key?(:query_parameter_matches)
13997
14082
  @regex_match = args[:regex_match] if args.key?(:regex_match)
@@ -23247,6 +23332,12 @@ module Google
23247
23332
  # @return [Google::Apis::ComputeAlpha::LocationPolicyLocationConstraints]
23248
23333
  attr_accessor :constraints
23249
23334
 
23335
+ # Names of resources to be put in the location. Must contain unique, correct
23336
+ # resource names. If used, targetShape must be left unset.
23337
+ # Corresponds to the JSON property `names`
23338
+ # @return [Array<String>]
23339
+ attr_accessor :names
23340
+
23250
23341
  # Preference for a given location. Set to either ALLOW or DENY.
23251
23342
  # Corresponds to the JSON property `preference`
23252
23343
  # @return [String]
@@ -23259,6 +23350,7 @@ module Google
23259
23350
  # Update properties of this object
23260
23351
  def update!(**args)
23261
23352
  @constraints = args[:constraints] if args.key?(:constraints)
23353
+ @names = args[:names] if args.key?(:names)
23262
23354
  @preference = args[:preference] if args.key?(:preference)
23263
23355
  end
23264
23356
  end
@@ -26795,6 +26887,13 @@ module Google
26795
26887
  # @return [String]
26796
26888
  attr_accessor :network
26797
26889
 
26890
+ # The URL of the network attachment that this interface should connect to in the
26891
+ # following format: projects/`project_number`/regions/`region_name`/
26892
+ # networkAttachments/`network_attachment_name`.
26893
+ # Corresponds to the JSON property `networkAttachment`
26894
+ # @return [String]
26895
+ attr_accessor :network_attachment
26896
+
26798
26897
  # An IPv4 internal IP address to assign to the instance for this network
26799
26898
  # interface. If not specified by the user, an unused internal IP is assigned by
26800
26899
  # the system.
@@ -26857,6 +26956,7 @@ module Google
26857
26956
  @kind = args[:kind] if args.key?(:kind)
26858
26957
  @name = args[:name] if args.key?(:name)
26859
26958
  @network = args[:network] if args.key?(:network)
26959
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
26860
26960
  @network_ip = args[:network_ip] if args.key?(:network_ip)
26861
26961
  @nic_type = args[:nic_type] if args.key?(:nic_type)
26862
26962
  @queue_count = args[:queue_count] if args.key?(:queue_count)
@@ -30396,28 +30496,36 @@ module Google
30396
30496
 
30397
30497
  # Number of errors before a host is ejected from the connection pool. When the
30398
30498
  # backend host is accessed over HTTP, a 5xx return code qualifies as an error.
30399
- # Defaults to 5.
30499
+ # Defaults to 5. Not supported when the backend service is referenced by a URL
30500
+ # map that is bound to target gRPC proxy that has validateForProxyless field set
30501
+ # to true.
30400
30502
  # Corresponds to the JSON property `consecutiveErrors`
30401
30503
  # @return [Fixnum]
30402
30504
  attr_accessor :consecutive_errors
30403
30505
 
30404
30506
  # The number of consecutive gateway failures (502, 503, 504 status or connection
30405
30507
  # errors that are mapped to one of those status codes) before a consecutive
30406
- # gateway failure ejection occurs. Defaults to 3.
30508
+ # gateway failure ejection occurs. Defaults to 3. Not supported when the backend
30509
+ # service is referenced by a URL map that is bound to target gRPC proxy that has
30510
+ # validateForProxyless field set to true.
30407
30511
  # Corresponds to the JSON property `consecutiveGatewayFailure`
30408
30512
  # @return [Fixnum]
30409
30513
  attr_accessor :consecutive_gateway_failure
30410
30514
 
30411
30515
  # The percentage chance that a host will be actually ejected when an outlier
30412
30516
  # status is detected through consecutive 5xx. This setting can be used to
30413
- # disable ejection or to ramp it up slowly. Defaults to 0.
30517
+ # disable ejection or to ramp it up slowly. Defaults to 0. Not supported when
30518
+ # the backend service is referenced by a URL map that is bound to target gRPC
30519
+ # proxy that has validateForProxyless field set to true.
30414
30520
  # Corresponds to the JSON property `enforcingConsecutiveErrors`
30415
30521
  # @return [Fixnum]
30416
30522
  attr_accessor :enforcing_consecutive_errors
30417
30523
 
30418
30524
  # The percentage chance that a host will be actually ejected when an outlier
30419
30525
  # status is detected through consecutive gateway failures. This setting can be
30420
- # used to disable ejection or to ramp it up slowly. Defaults to 100.
30526
+ # used to disable ejection or to ramp it up slowly. Defaults to 100. Not
30527
+ # supported when the backend service is referenced by a URL map that is bound to
30528
+ # target gRPC proxy that has validateForProxyless field set to true.
30421
30529
  # Corresponds to the JSON property `enforcingConsecutiveGatewayFailure`
30422
30530
  # @return [Fixnum]
30423
30531
  attr_accessor :enforcing_consecutive_gateway_failure
@@ -31894,6 +32002,11 @@ module Google
31894
32002
  # @return [Google::Apis::ComputeAlpha::UsageExportLocation]
31895
32003
  attr_accessor :usage_export_location
31896
32004
 
32005
+ # [Output Only] Default internal DNS setting used by VMs running in this project.
32006
+ # Corresponds to the JSON property `vmDnsSetting`
32007
+ # @return [String]
32008
+ attr_accessor :vm_dns_setting
32009
+
31897
32010
  # [Output Only] The role this project has in a shared VPC configuration.
31898
32011
  # Currently, only projects with the host role, which is specified by the value
31899
32012
  # HOST, are differentiated.
@@ -31919,6 +32032,7 @@ module Google
31919
32032
  @quotas = args[:quotas] if args.key?(:quotas)
31920
32033
  @self_link = args[:self_link] if args.key?(:self_link)
31921
32034
  @usage_export_location = args[:usage_export_location] if args.key?(:usage_export_location)
32035
+ @vm_dns_setting = args[:vm_dns_setting] if args.key?(:vm_dns_setting)
31922
32036
  @xpn_project_status = args[:xpn_project_status] if args.key?(:xpn_project_status)
31923
32037
  end
31924
32038
  end
@@ -32929,13 +33043,6 @@ module Google
32929
33043
  # @return [Google::Apis::ComputeAlpha::QueuingPolicy]
32930
33044
  attr_accessor :queuing_policy
32931
33045
 
32932
- # [Output Only] URL of the region where the resource resides. Only applicable
32933
- # for regional resources. You must specify this field as part of the HTTP
32934
- # request URL. It is not settable as a field in the request body.
32935
- # Corresponds to the JSON property `region`
32936
- # @return [String]
32937
- attr_accessor :region
32938
-
32939
33046
  # [Output only] Server-defined URL for the resource.
32940
33047
  # Corresponds to the JSON property `selfLink`
32941
33048
  # @return [String]
@@ -32976,7 +33083,6 @@ module Google
32976
33083
  @kind = args[:kind] if args.key?(:kind)
32977
33084
  @name = args[:name] if args.key?(:name)
32978
33085
  @queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy)
32979
- @region = args[:region] if args.key?(:region)
32980
33086
  @self_link = args[:self_link] if args.key?(:self_link)
32981
33087
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
32982
33088
  @state = args[:state] if args.key?(:state)
@@ -32989,11 +33095,6 @@ module Google
32989
33095
  class QueuedResourceList
32990
33096
  include Google::Apis::Core::Hashable
32991
33097
 
32992
- #
32993
- # Corresponds to the JSON property `etag`
32994
- # @return [String]
32995
- attr_accessor :etag
32996
-
32997
33098
  # Unique identifier for the resource; defined by the server.
32998
33099
  # Corresponds to the JSON property `id`
32999
33100
  # @return [String]
@@ -33038,7 +33139,6 @@ module Google
33038
33139
 
33039
33140
  # Update properties of this object
33040
33141
  def update!(**args)
33041
- @etag = args[:etag] if args.key?(:etag)
33042
33142
  @id = args[:id] if args.key?(:id)
33043
33143
  @items = args[:items] if args.key?(:items)
33044
33144
  @kind = args[:kind] if args.key?(:kind)
@@ -36286,6 +36386,11 @@ module Google
36286
36386
  # @return [String]
36287
36387
  attr_accessor :style
36288
36388
 
36389
+ # Specifies the shape of the TPU slice
36390
+ # Corresponds to the JSON property `tpuTopology`
36391
+ # @return [String]
36392
+ attr_accessor :tpu_topology
36393
+
36289
36394
  # Number of VMs in this placement group. Google does not recommend that you use
36290
36395
  # this field unless you use a compact policy and you want your policy to work
36291
36396
  # only if it contains this exact number of VMs.
@@ -36304,6 +36409,7 @@ module Google
36304
36409
  @locality = args[:locality] if args.key?(:locality)
36305
36410
  @scope = args[:scope] if args.key?(:scope)
36306
36411
  @style = args[:style] if args.key?(:style)
36412
+ @tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
36307
36413
  @vm_count = args[:vm_count] if args.key?(:vm_count)
36308
36414
  end
36309
36415
  end
@@ -39286,12 +39392,6 @@ module Google
39286
39392
  # @return [Fixnum]
39287
39393
  attr_accessor :current_memory_mb
39288
39394
 
39289
- # Configuration for properties related to dynamic assignment of computing
39290
- # resources to VM (CPU and RAM).
39291
- # Corresponds to the JSON property `dynamicResizeProperties`
39292
- # @return [Google::Apis::ComputeAlpha::SchedulingDynamicResizeProperties]
39293
- attr_accessor :dynamic_resize_properties
39294
-
39295
39395
  # Specify the time in seconds for host error detection, the value must be within
39296
39396
  # the range of [90, 330] with the increment of 30, if unset, the default
39297
39397
  # behavior of host error recovery will be used.
@@ -39324,8 +39424,8 @@ module Google
39324
39424
  # @return [Fixnum]
39325
39425
  attr_accessor :maintenance_freeze_duration_hours
39326
39426
 
39327
- # For more information about maintenance intervals, see Setting maintenance
39328
- # intervals.
39427
+ # Specifies the frequency of planned maintenance events. The accepted values are:
39428
+ # `PERIODIC`.
39329
39429
  # Corresponds to the JSON property `maintenanceInterval`
39330
39430
  # @return [String]
39331
39431
  attr_accessor :maintenance_interval
@@ -39389,7 +39489,6 @@ module Google
39389
39489
  @availability_domain = args[:availability_domain] if args.key?(:availability_domain)
39390
39490
  @current_cpus = args[:current_cpus] if args.key?(:current_cpus)
39391
39491
  @current_memory_mb = args[:current_memory_mb] if args.key?(:current_memory_mb)
39392
- @dynamic_resize_properties = args[:dynamic_resize_properties] if args.key?(:dynamic_resize_properties)
39393
39492
  @host_error_timeout_seconds = args[:host_error_timeout_seconds] if args.key?(:host_error_timeout_seconds)
39394
39493
  @instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
39395
39494
  @latency_tolerant = args[:latency_tolerant] if args.key?(:latency_tolerant)
@@ -39406,33 +39505,6 @@ module Google
39406
39505
  end
39407
39506
  end
39408
39507
 
39409
- # Configuration for properties related to dynamic assignment of computing
39410
- # resources to VM (CPU and RAM).
39411
- class SchedulingDynamicResizeProperties
39412
- include Google::Apis::Core::Hashable
39413
-
39414
- # Set to true if this VM is supporting HotStandby modes (b/235044648).
39415
- # Corresponds to the JSON property `enableHotStandby`
39416
- # @return [Boolean]
39417
- attr_accessor :enable_hot_standby
39418
- alias_method :enable_hot_standby?, :enable_hot_standby
39419
-
39420
- # Current Hot Standby state of VM.
39421
- # Corresponds to the JSON property `hotStandbyState`
39422
- # @return [String]
39423
- attr_accessor :hot_standby_state
39424
-
39425
- def initialize(**args)
39426
- update!(**args)
39427
- end
39428
-
39429
- # Update properties of this object
39430
- def update!(**args)
39431
- @enable_hot_standby = args[:enable_hot_standby] if args.key?(:enable_hot_standby)
39432
- @hot_standby_state = args[:hot_standby_state] if args.key?(:hot_standby_state)
39433
- end
39434
- end
39435
-
39436
39508
  # Node Affinity: the configuration of desired nodes onto which this Instance
39437
39509
  # could be scheduled.
39438
39510
  class SchedulingNodeAffinity
@@ -39901,9 +39973,11 @@ module Google
39901
39973
  attr_accessor :rule_tuple_count
39902
39974
 
39903
39975
  # A list of rules that belong to this policy. There must always be a default
39904
- # rule (rule with priority 2147483647 and match "*"). If no rules are provided
39905
- # when creating a security policy, a default rule with action "allow" will be
39906
- # added.
39976
+ # rule which is a rule with priority 2147483647 and match all condition (for the
39977
+ # match condition this means match "*" for srcIpRanges and for the networkMatch
39978
+ # condition every field must be either match "*" or not set). If no rules are
39979
+ # provided when creating a security policy, a default rule with action "allow"
39980
+ # will be added.
39907
39981
  # Corresponds to the JSON property `rules`
39908
39982
  # @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyRule>]
39909
39983
  attr_accessor :rules
@@ -40420,25 +40494,8 @@ module Google
40420
40494
  # @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcher]
40421
40495
  attr_accessor :match
40422
40496
 
40423
- # A match condition that incoming packets are evaluated against for
40424
- # CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding '
40425
- # action' is enforced. The match criteria for a rule consists of built-in match
40426
- # fields (like 'srcIpRanges') and potentially multiple user-defined match fields
40427
- # ('userDefinedFields'). Field values may be extracted directly from the packet
40428
- # or derived from it (e.g. 'srcRegionCodes'). Some fields may not be present in
40429
- # every packet (e.g. 'srcPorts'). A user-defined field is only present if the
40430
- # base header is found in the packet and the entire field is in bounds. Each
40431
- # match field may specify which values can match it, listing one or more ranges,
40432
- # prefixes, or exact values that are considered a match for the field. A field
40433
- # value must be present in order to match a specified match field. If no match
40434
- # values are specified for a match field, then any field value is considered to
40435
- # match it, and it's not required to be present. For a packet to match a rule,
40436
- # all specified match fields must match the corresponding field values derived
40437
- # from the packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.
40438
- # 51.100.0/24" userDefinedFields: - name: "ipv4_fragment_offset" values: - "1-
40439
- # 0x1fff" The above match condition matches packets with a source IP in 192.0.2.
40440
- # 0/24 or 198.51.100.0/24 and a user-defined field named "ipv4_fragment_offset"
40441
- # with a value between 1 and 0x1fff inclusive.
40497
+ # Represents a match condition that incoming network traffic is evaluated
40498
+ # against.
40442
40499
  # Corresponds to the JSON property `networkMatch`
40443
40500
  # @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleNetworkMatcher]
40444
40501
  attr_accessor :network_match
@@ -40741,7 +40798,8 @@ module Google
40741
40798
  end
40742
40799
  end
40743
40800
 
40744
- #
40801
+ # Represents a match condition that incoming network traffic is evaluated
40802
+ # against.
40745
40803
  class SecurityPolicyRuleNetworkMatcher
40746
40804
  include Google::Apis::Core::Hashable
40747
40805
 
@@ -40964,19 +41022,23 @@ module Google
40964
41022
 
40965
41023
  # Determines the key to enforce the rate_limit_threshold on. Possible values are:
40966
41024
  # - ALL: A single rate limit threshold is applied to all the requests matching
40967
- # this rule. This is the default value if this field 'enforce_on_key' is not
40968
- # configured. - IP: The source IP address of the request is the key. Each IP has
40969
- # this limit enforced separately. - HTTP_HEADER: The value of the HTTP header
40970
- # whose name is configured under "enforce_on_key_name". The key value is
40971
- # truncated to the first 128 bytes of the header value. If no such header is
40972
- # present in the request, the key type defaults to ALL. - XFF_IP: The first IP
40973
- # address (i.e. the originating client IP address) specified in the list of IPs
40974
- # under X-Forwarded-For HTTP header. If no such header is present or the value
40975
- # is not a valid IP, the key defaults to the source IP address of the request i.
40976
- # e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is
40977
- # configured under "enforce_on_key_name". The key value is truncated to the
40978
- # first 128 bytes of the cookie value. If no such cookie is present in the
40979
- # request, the key type defaults to ALL.
41025
+ # this rule. This is the default value if "enforceOnKey" is not configured. - IP:
41026
+ # The source IP address of the request is the key. Each IP has this limit
41027
+ # enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is
41028
+ # configured under "enforceOnKeyName". The key value is truncated to the first
41029
+ # 128 bytes of the header value. If no such header is present in the request,
41030
+ # the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the
41031
+ # originating client IP address) specified in the list of IPs under X-Forwarded-
41032
+ # For HTTP header. If no such header is present or the value is not a valid IP,
41033
+ # the key defaults to the source IP address of the request i.e. key type IP. -
41034
+ # HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "
41035
+ # enforceOnKeyName". The key value is truncated to the first 128 bytes of the
41036
+ # cookie value. If no such cookie is present in the request, the key type
41037
+ # defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value
41038
+ # is truncated to the first 128 bytes. - SNI: Server name indication in the TLS
41039
+ # session of the HTTPS request. The key value is truncated to the first 128
41040
+ # bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The
41041
+ # country/region from which the request originates.
40980
41042
  # Corresponds to the JSON property `enforceOnKey`
40981
41043
  # @return [String]
40982
41044
  attr_accessor :enforce_on_key
@@ -41181,6 +41243,14 @@ module Google
41181
41243
  # @return [Google::Apis::ComputeAlpha::AuthorizationConfig]
41182
41244
  attr_accessor :authorization_config
41183
41245
 
41246
+ # Contains the configurations necessary to generate a signature for access to
41247
+ # private storage buckets that support Signature Version 4 for authentication.
41248
+ # The service name for generating the authentication header will always default
41249
+ # to 's3'.
41250
+ # Corresponds to the JSON property `awsV4Authentication`
41251
+ # @return [Google::Apis::ComputeAlpha::Awsv4Signature]
41252
+ attr_accessor :aws_v4_authentication
41253
+
41184
41254
  # Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that
41185
41255
  # describes how clients should authenticate with this service's backends.
41186
41256
  # clientTlsPolicy only applies to a global BackendService with the
@@ -41221,6 +41291,7 @@ module Google
41221
41291
  @authentication = args[:authentication] if args.key?(:authentication)
41222
41292
  @authentication_policy = args[:authentication_policy] if args.key?(:authentication_policy)
41223
41293
  @authorization_config = args[:authorization_config] if args.key?(:authorization_config)
41294
+ @aws_v4_authentication = args[:aws_v4_authentication] if args.key?(:aws_v4_authentication)
41224
41295
  @client_tls_policy = args[:client_tls_policy] if args.key?(:client_tls_policy)
41225
41296
  @client_tls_settings = args[:client_tls_settings] if args.key?(:client_tls_settings)
41226
41297
  @subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
@@ -44096,8 +44167,7 @@ module Google
44096
44167
  attr_accessor :enable_private_v6_access
44097
44168
  alias_method :enable_private_v6_access?, :enable_private_v6_access
44098
44169
 
44099
- # [Output Only] The external IPv6 address range that is assigned to this
44100
- # subnetwork.
44170
+ # The external IPv6 address range that is owned by this subnetwork.
44101
44171
  # Corresponds to the JSON property `externalIpv6Prefix`
44102
44172
  # @return [String]
44103
44173
  attr_accessor :external_ipv6_prefix
@@ -49588,6 +49658,22 @@ module Google
49588
49658
  # @return [String]
49589
49659
  attr_accessor :path_prefix_rewrite
49590
49660
 
49661
+ # If specified, the pattern rewrites the URL path (based on the :path header)
49662
+ # using the HTTP template syntax. A corresponding path_template_match must be
49663
+ # specified. Any template variables must exist in the path_template_match field.
49664
+ # - -At least one variable must be specified in the path_template_match field -
49665
+ # You can omit variables from the rewritten URL - The * and ** operators cannot
49666
+ # be matched unless they have a corresponding variable name - e.g. `format=*` or
49667
+ # `var=**`. For example, a path_template_match of /static/`format=**` could be
49668
+ # rewritten as /static/content/`format` to prefix /content to the URL. Variables
49669
+ # can also be re-ordered in a rewrite, so that /`country`/`format`/`suffix=**`
49670
+ # can be rewritten as /content/`format`/`country`/`suffix`. At least one non-
49671
+ # empty routeRules[].matchRules[].path_template_match is required. Only one of
49672
+ # path_prefix_rewrite or path_template_rewrite may be specified.
49673
+ # Corresponds to the JSON property `pathTemplateRewrite`
49674
+ # @return [String]
49675
+ attr_accessor :path_template_rewrite
49676
+
49591
49677
  def initialize(**args)
49592
49678
  update!(**args)
49593
49679
  end
@@ -49596,6 +49682,7 @@ module Google
49596
49682
  def update!(**args)
49597
49683
  @host_rewrite = args[:host_rewrite] if args.key?(:host_rewrite)
49598
49684
  @path_prefix_rewrite = args[:path_prefix_rewrite] if args.key?(:path_prefix_rewrite)
49685
+ @path_template_rewrite = args[:path_template_rewrite] if args.key?(:path_template_rewrite)
49599
49686
  end
49600
49687
  end
49601
49688
 
@@ -50203,7 +50290,8 @@ module Google
50203
50290
  attr_accessor :self_link
50204
50291
 
50205
50292
  # The stack type for this VPN gateway to identify the IP protocols that are
50206
- # enabled. If not specified, IPV4_ONLY will be used.
50293
+ # enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified,
50294
+ # IPV4_ONLY will be used.
50207
50295
  # Corresponds to the JSON property `stackType`
50208
50296
  # @return [String]
50209
50297
  attr_accessor :stack_type
@@ -50833,7 +50921,9 @@ module Google
50833
50921
  attr_accessor :peer_external_gateway
50834
50922
 
50835
50923
  # The interface ID of the external VPN gateway to which this VPN tunnel is
50836
- # connected. Provided by the client when the VPN tunnel is created.
50924
+ # connected. Provided by the client when the VPN tunnel is created. Possible
50925
+ # values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the
50926
+ # external VPN gateway redundancy type.
50837
50927
  # Corresponds to the JSON property `peerExternalGatewayInterface`
50838
50928
  # @return [Fixnum]
50839
50929
  attr_accessor :peer_external_gateway_interface
@@ -50924,6 +51014,7 @@ module Google
50924
51014
  attr_accessor :vpn_gateway
50925
51015
 
50926
51016
  # The interface ID of the VPN gateway with which this VPN tunnel is associated.
51017
+ # Possible values are: `0`, `1`.
50927
51018
  # Corresponds to the JSON property `vpnGatewayInterface`
50928
51019
  # @return [Fixnum]
50929
51020
  attr_accessor :vpn_gateway_interface
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.51.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220918"
25
+ REVISION = "20221026"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ComputeAlpha
24
24
 
25
+ class Awsv4Signature
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AcceleratorConfig
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -562,6 +568,12 @@ module Google
562
568
  include Google::Apis::Core::JsonObjectSupport
563
569
  end
564
570
 
571
+ class BulkInsertDiskResource
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
565
577
  class BulkInsertInstanceResource
566
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
579
 
@@ -5116,12 +5128,6 @@ module Google
5116
5128
  include Google::Apis::Core::JsonObjectSupport
5117
5129
  end
5118
5130
 
5119
- class SchedulingDynamicResizeProperties
5120
- class Representation < Google::Apis::Core::JsonRepresentation; end
5121
-
5122
- include Google::Apis::Core::JsonObjectSupport
5123
- end
5124
-
5125
5131
  class SchedulingNodeAffinity
5126
5132
  class Representation < Google::Apis::Core::JsonRepresentation; end
5127
5133
 
@@ -6844,6 +6850,16 @@ module Google
6844
6850
  include Google::Apis::Core::JsonObjectSupport
6845
6851
  end
6846
6852
 
6853
+ class Awsv4Signature
6854
+ # @private
6855
+ class Representation < Google::Apis::Core::JsonRepresentation
6856
+ property :access_key, as: 'accessKey'
6857
+ property :access_key_id, as: 'accessKeyId'
6858
+ property :access_key_version, as: 'accessKeyVersion'
6859
+ property :origin_region, as: 'originRegion'
6860
+ end
6861
+ end
6862
+
6847
6863
  class AcceleratorConfig
6848
6864
  # @private
6849
6865
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7946,6 +7962,13 @@ module Google
7946
7962
  end
7947
7963
  end
7948
7964
 
7965
+ class BulkInsertDiskResource
7966
+ # @private
7967
+ class Representation < Google::Apis::Core::JsonRepresentation
7968
+ property :source_consistency_group_policy, as: 'sourceConsistencyGroupPolicy'
7969
+ end
7970
+ end
7971
+
7949
7972
  class BulkInsertInstanceResource
7950
7973
  # @private
7951
7974
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10033,6 +10056,7 @@ module Google
10033
10056
  property :ignore_case, as: 'ignoreCase'
10034
10057
  collection :metadata_filters, as: 'metadataFilters', class: Google::Apis::ComputeAlpha::MetadataFilter, decorator: Google::Apis::ComputeAlpha::MetadataFilter::Representation
10035
10058
 
10059
+ property :path_template_match, as: 'pathTemplateMatch'
10036
10060
  property :prefix_match, as: 'prefixMatch'
10037
10061
  collection :query_parameter_matches, as: 'queryParameterMatches', class: Google::Apis::ComputeAlpha::HttpQueryParameterMatch, decorator: Google::Apis::ComputeAlpha::HttpQueryParameterMatch::Representation
10038
10062
 
@@ -12355,6 +12379,7 @@ module Google
12355
12379
  class Representation < Google::Apis::Core::JsonRepresentation
12356
12380
  property :constraints, as: 'constraints', class: Google::Apis::ComputeAlpha::LocationPolicyLocationConstraints, decorator: Google::Apis::ComputeAlpha::LocationPolicyLocationConstraints::Representation
12357
12381
 
12382
+ collection :names, as: 'names'
12358
12383
  property :preference, as: 'preference'
12359
12384
  end
12360
12385
  end
@@ -13263,6 +13288,7 @@ module Google
13263
13288
  property :kind, as: 'kind'
13264
13289
  property :name, as: 'name'
13265
13290
  property :network, as: 'network'
13291
+ property :network_attachment, as: 'networkAttachment'
13266
13292
  property :network_ip, as: 'networkIP'
13267
13293
  property :nic_type, as: 'nicType'
13268
13294
  property :queue_count, as: 'queueCount'
@@ -14563,6 +14589,7 @@ module Google
14563
14589
  property :self_link, as: 'selfLink'
14564
14590
  property :usage_export_location, as: 'usageExportLocation', class: Google::Apis::ComputeAlpha::UsageExportLocation, decorator: Google::Apis::ComputeAlpha::UsageExportLocation::Representation
14565
14591
 
14592
+ property :vm_dns_setting, as: 'vmDnsSetting'
14566
14593
  property :xpn_project_status, as: 'xpnProjectStatus'
14567
14594
  end
14568
14595
  end
@@ -14818,7 +14845,6 @@ module Google
14818
14845
  property :name, as: 'name'
14819
14846
  property :queuing_policy, as: 'queuingPolicy', class: Google::Apis::ComputeAlpha::QueuingPolicy, decorator: Google::Apis::ComputeAlpha::QueuingPolicy::Representation
14820
14847
 
14821
- property :region, as: 'region'
14822
14848
  property :self_link, as: 'selfLink'
14823
14849
  property :self_link_with_id, as: 'selfLinkWithId'
14824
14850
  property :state, as: 'state'
@@ -14831,7 +14857,6 @@ module Google
14831
14857
  class QueuedResourceList
14832
14858
  # @private
14833
14859
  class Representation < Google::Apis::Core::JsonRepresentation
14834
- property :etag, as: 'etag'
14835
14860
  property :id, as: 'id'
14836
14861
  collection :items, as: 'items', class: Google::Apis::ComputeAlpha::QueuedResource, decorator: Google::Apis::ComputeAlpha::QueuedResource::Representation
14837
14862
 
@@ -15749,6 +15774,7 @@ module Google
15749
15774
  property :locality, as: 'locality'
15750
15775
  property :scope, as: 'scope'
15751
15776
  property :style, as: 'style'
15777
+ property :tpu_topology, as: 'tpuTopology'
15752
15778
  property :vm_count, as: 'vmCount'
15753
15779
  end
15754
15780
  end
@@ -16469,8 +16495,6 @@ module Google
16469
16495
  property :availability_domain, as: 'availabilityDomain'
16470
16496
  property :current_cpus, as: 'currentCpus'
16471
16497
  property :current_memory_mb, :numeric_string => true, as: 'currentMemoryMb'
16472
- property :dynamic_resize_properties, as: 'dynamicResizeProperties', class: Google::Apis::ComputeAlpha::SchedulingDynamicResizeProperties, decorator: Google::Apis::ComputeAlpha::SchedulingDynamicResizeProperties::Representation
16473
-
16474
16498
  property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
16475
16499
  property :instance_termination_action, as: 'instanceTerminationAction'
16476
16500
  property :latency_tolerant, as: 'latencyTolerant'
@@ -16489,14 +16513,6 @@ module Google
16489
16513
  end
16490
16514
  end
16491
16515
 
16492
- class SchedulingDynamicResizeProperties
16493
- # @private
16494
- class Representation < Google::Apis::Core::JsonRepresentation
16495
- property :enable_hot_standby, as: 'enableHotStandby'
16496
- property :hot_standby_state, as: 'hotStandbyState'
16497
- end
16498
- end
16499
-
16500
16516
  class SchedulingNodeAffinity
16501
16517
  # @private
16502
16518
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16956,6 +16972,8 @@ module Google
16956
16972
 
16957
16973
  property :authorization_config, as: 'authorizationConfig', class: Google::Apis::ComputeAlpha::AuthorizationConfig, decorator: Google::Apis::ComputeAlpha::AuthorizationConfig::Representation
16958
16974
 
16975
+ property :aws_v4_authentication, as: 'awsV4Authentication', class: Google::Apis::ComputeAlpha::Awsv4Signature, decorator: Google::Apis::ComputeAlpha::Awsv4Signature::Representation
16976
+
16959
16977
  property :client_tls_policy, as: 'clientTlsPolicy'
16960
16978
  property :client_tls_settings, as: 'clientTlsSettings', class: Google::Apis::ComputeAlpha::ClientTlsSettings, decorator: Google::Apis::ComputeAlpha::ClientTlsSettings::Representation
16961
16979
 
@@ -19055,6 +19073,7 @@ module Google
19055
19073
  class Representation < Google::Apis::Core::JsonRepresentation
19056
19074
  property :host_rewrite, as: 'hostRewrite'
19057
19075
  property :path_prefix_rewrite, as: 'pathPrefixRewrite'
19076
+ property :path_template_rewrite, as: 'pathTemplateRewrite'
19058
19077
  end
19059
19078
  end
19060
19079
 
@@ -2995,6 +2995,56 @@ module Google
2995
2995
  execute_or_queue_command(command, &block)
2996
2996
  end
2997
2997
 
2998
+ # Bulk create a set of disks.
2999
+ # @param [String] project
3000
+ # Project ID for this request.
3001
+ # @param [String] zone
3002
+ # The name of the zone for this request.
3003
+ # @param [Google::Apis::ComputeAlpha::BulkInsertDiskResource] bulk_insert_disk_resource_object
3004
+ # @param [String] request_id
3005
+ # An optional request ID to identify requests. Specify a unique request ID so
3006
+ # that if you must retry your request, the server will know to ignore the
3007
+ # request if it has already been completed. For example, consider a situation
3008
+ # where you make an initial request and the request times out. If you make the
3009
+ # request again with the same request ID, the server can check if original
3010
+ # operation with the same request ID was received, and if so, will ignore the
3011
+ # second request. This prevents clients from accidentally creating duplicate
3012
+ # commitments. The request ID must be a valid UUID with the exception that zero
3013
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
3014
+ # @param [String] fields
3015
+ # Selector specifying which fields to include in a partial response.
3016
+ # @param [String] quota_user
3017
+ # Available to use for quota purposes for server-side applications. Can be any
3018
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3019
+ # @param [String] user_ip
3020
+ # Legacy name for parameter that has been superseded by `quotaUser`.
3021
+ # @param [Google::Apis::RequestOptions] options
3022
+ # Request-specific options
3023
+ #
3024
+ # @yield [result, err] Result & error if block supplied
3025
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
3026
+ # @yieldparam err [StandardError] error object if request failed
3027
+ #
3028
+ # @return [Google::Apis::ComputeAlpha::Operation]
3029
+ #
3030
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3031
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3032
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3033
+ def bulk_disk_insert(project, zone, bulk_insert_disk_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3034
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/bulkInsert', options)
3035
+ command.request_representation = Google::Apis::ComputeAlpha::BulkInsertDiskResource::Representation
3036
+ command.request_object = bulk_insert_disk_resource_object
3037
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
3038
+ command.response_class = Google::Apis::ComputeAlpha::Operation
3039
+ command.params['project'] = project unless project.nil?
3040
+ command.params['zone'] = zone unless zone.nil?
3041
+ command.query['requestId'] = request_id unless request_id.nil?
3042
+ command.query['fields'] = fields unless fields.nil?
3043
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3044
+ command.query['userIp'] = user_ip unless user_ip.nil?
3045
+ execute_or_queue_command(command, &block)
3046
+ end
3047
+
2998
3048
  # Creates a snapshot of a specified persistent disk. For regular snapshot
2999
3049
  # creation, consider using snapshots.insert instead, as that method supports
3000
3050
  # more features, such as creating snapshots in a project different from the
@@ -27537,6 +27587,56 @@ module Google
27537
27587
  execute_or_queue_command(command, &block)
27538
27588
  end
27539
27589
 
27590
+ # Bulk create a set of disks.
27591
+ # @param [String] project
27592
+ # Project ID for this request.
27593
+ # @param [String] region
27594
+ # The name of the region for this request.
27595
+ # @param [Google::Apis::ComputeAlpha::BulkInsertDiskResource] bulk_insert_disk_resource_object
27596
+ # @param [String] request_id
27597
+ # An optional request ID to identify requests. Specify a unique request ID so
27598
+ # that if you must retry your request, the server will know to ignore the
27599
+ # request if it has already been completed. For example, consider a situation
27600
+ # where you make an initial request and the request times out. If you make the
27601
+ # request again with the same request ID, the server can check if original
27602
+ # operation with the same request ID was received, and if so, will ignore the
27603
+ # second request. This prevents clients from accidentally creating duplicate
27604
+ # commitments. The request ID must be a valid UUID with the exception that zero
27605
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
27606
+ # @param [String] fields
27607
+ # Selector specifying which fields to include in a partial response.
27608
+ # @param [String] quota_user
27609
+ # Available to use for quota purposes for server-side applications. Can be any
27610
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27611
+ # @param [String] user_ip
27612
+ # Legacy name for parameter that has been superseded by `quotaUser`.
27613
+ # @param [Google::Apis::RequestOptions] options
27614
+ # Request-specific options
27615
+ #
27616
+ # @yield [result, err] Result & error if block supplied
27617
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
27618
+ # @yieldparam err [StandardError] error object if request failed
27619
+ #
27620
+ # @return [Google::Apis::ComputeAlpha::Operation]
27621
+ #
27622
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27623
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27624
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27625
+ def bulk_region_disk_insert(project, region, bulk_insert_disk_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27626
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/bulkInsert', options)
27627
+ command.request_representation = Google::Apis::ComputeAlpha::BulkInsertDiskResource::Representation
27628
+ command.request_object = bulk_insert_disk_resource_object
27629
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
27630
+ command.response_class = Google::Apis::ComputeAlpha::Operation
27631
+ command.params['project'] = project unless project.nil?
27632
+ command.params['region'] = region unless region.nil?
27633
+ command.query['requestId'] = request_id unless request_id.nil?
27634
+ command.query['fields'] = fields unless fields.nil?
27635
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27636
+ command.query['userIp'] = user_ip unless user_ip.nil?
27637
+ execute_or_queue_command(command, &block)
27638
+ end
27639
+
27540
27640
  # Creates a snapshot of a specified persistent disk. For regular snapshot
27541
27641
  # creation, consider using snapshots.insert instead, as that method supports
27542
27642
  # more features, such as creating snapshots in a project different from the
@@ -33942,7 +34042,10 @@ module Google
33942
34042
  execute_or_queue_command(command, &block)
33943
34043
  end
33944
34044
 
33945
- # Patches the specified policy with the data included in the request.
34045
+ # Patches the specified policy with the data included in the request. To clear
34046
+ # fields in the rule, leave the fields empty and specify them in the updateMask.
34047
+ # This cannot be used to be update the rules in the policy. Please use the per
34048
+ # rule methods like addRule, patchRule, and removeRule instead.
33946
34049
  # @param [String] project
33947
34050
  # Project ID for this request.
33948
34051
  # @param [String] region
@@ -34000,7 +34103,8 @@ module Google
34000
34103
  execute_or_queue_command(command, &block)
34001
34104
  end
34002
34105
 
34003
- # Patches a rule at the specified priority.
34106
+ # Patches a rule at the specified priority. To clear fields in the rule, leave
34107
+ # the fields empty and specify them in the updateMask.
34004
34108
  # @param [String] project
34005
34109
  # Project ID for this request.
34006
34110
  # @param [String] region
@@ -34010,6 +34114,8 @@ module Google
34010
34114
  # @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object
34011
34115
  # @param [Fixnum] priority
34012
34116
  # The priority of the rule to patch.
34117
+ # @param [String] update_mask
34118
+ # Indicates fields to be cleared as part of this request.
34013
34119
  # @param [Boolean] validate_only
34014
34120
  # If true, the request will not be committed.
34015
34121
  # @param [String] fields
@@ -34031,7 +34137,7 @@ module Google
34031
34137
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34032
34138
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34033
34139
  # @raise [Google::Apis::AuthorizationError] Authorization is required
34034
- def patch_region_security_policy_rule(project, region, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34140
+ def patch_region_security_policy_rule(project, region, security_policy, security_policy_rule_object = nil, priority: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34035
34141
  command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule', options)
34036
34142
  command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
34037
34143
  command.request_object = security_policy_rule_object
@@ -34041,6 +34147,7 @@ module Google
34041
34147
  command.params['region'] = region unless region.nil?
34042
34148
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
34043
34149
  command.query['priority'] = priority unless priority.nil?
34150
+ command.query['updateMask'] = update_mask unless update_mask.nil?
34044
34151
  command.query['validateOnly'] = validate_only unless validate_only.nil?
34045
34152
  command.query['fields'] = fields unless fields.nil?
34046
34153
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -38839,9 +38946,10 @@ module Google
38839
38946
  execute_or_queue_command(command, &block)
38840
38947
  end
38841
38948
 
38842
- # Patches the specified policy with the data included in the request. This
38843
- # cannot be used to be update the rules in the policy. Please use the per rule
38844
- # methods like addRule, patchRule, and removeRule instead.
38949
+ # Patches the specified policy with the data included in the request. To clear
38950
+ # fields in the rule, leave the fields empty and specify them in the updateMask.
38951
+ # This cannot be used to be update the rules in the policy. Please use the per
38952
+ # rule methods like addRule, patchRule, and removeRule instead.
38845
38953
  # @param [String] project
38846
38954
  # Project ID for this request.
38847
38955
  # @param [String] security_policy
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.51.0
4
+ version: 0.52.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-10-03 00:00:00.000000000 Z
11
+ date: 2022-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.0
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.52.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []