google-apis-compute_alpha 0.86.0 → 0.87.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 865e21e8c9ac0898f91e361bc1fb29905183278c9e8c2e22d289b7f7cbe3724d
4
- data.tar.gz: 72fea2527b30e72dbe04d47948130fa363d67b9f00803a0242489ce7dd7cbce3
3
+ metadata.gz: 4e4075b9757d20de72a33abdc88afd44e86673d9b9ac5f9a22ae41bb6bdafe92
4
+ data.tar.gz: 260bc4a699dd742f097b53a1f55172ada505a22af3dfc0a89ca8d4b7b69f3f4f
5
5
  SHA512:
6
- metadata.gz: 928aff720f040fbf3b8824d103abe492ab111512a8bd3143958baba37aca67c0d5bc21d4d0d6bc1270a7f86c39ca2c2a9f41b5a45abf3001c25525f5b57c191d
7
- data.tar.gz: 15689b0c8f37c5e4ef499b9c17bd734c109e04d375ff75aa0f72b535f13b1911c4797829ffe12fc600dd0ccfa26276861f2ef9ae4783871dc804f3737f9fe590
6
+ metadata.gz: eb6b975e1591d446339e4e050db9955d6d6d73f987ab3dc23d421f34a2bb0878bd03c1b44164c0717893e7b0c7a7214b9bcae4e21285aa89908f7f02b8cae2b5
7
+ data.tar.gz: a1676be10c61626db04c9d27622335b009b8c836870d4f1481a0b266d5653c4e0eeb4f6a520db75bc91b70b7d74bc58ae9f59fc0a396190b204bd24cc08ad539
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.87.0 (2024-01-07)
4
+
5
+ * Regenerated from discovery document revision 20231231
6
+
3
7
  ### v0.86.0 (2023-12-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20231128
@@ -5493,7 +5493,8 @@ module Google
5493
5493
  class BgpRouteNetworkLayerReachabilityInformation
5494
5494
  include Google::Apis::Core::Hashable
5495
5495
 
5496
- # Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.
5496
+ # Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16. Deprecated in
5497
+ # favor of prefix.
5497
5498
  # Corresponds to the JSON property `destination`
5498
5499
  # @return [String]
5499
5500
  attr_accessor :destination
@@ -5504,6 +5505,11 @@ module Google
5504
5505
  # @return [Fixnum]
5505
5506
  attr_accessor :path_id
5506
5507
 
5508
+ # Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.
5509
+ # Corresponds to the JSON property `prefix`
5510
+ # @return [String]
5511
+ attr_accessor :prefix
5512
+
5507
5513
  def initialize(**args)
5508
5514
  update!(**args)
5509
5515
  end
@@ -5512,6 +5518,7 @@ module Google
5512
5518
  def update!(**args)
5513
5519
  @destination = args[:destination] if args.key?(:destination)
5514
5520
  @path_id = args[:path_id] if args.key?(:path_id)
5521
+ @prefix = args[:prefix] if args.key?(:prefix)
5515
5522
  end
5516
5523
  end
5517
5524
 
@@ -5559,21 +5566,43 @@ module Google
5559
5566
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
5560
5567
  # email address that represents a Google group. For example, `admins@example.com`
5561
5568
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
5562
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
5563
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
5564
- # representing a user that has been recently deleted. For example, `alice@
5565
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
5566
- # reverts to `user:`emailid`` and the recovered user retains the role in the
5567
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
5568
- # (plus unique identifier) representing a service account that has been recently
5569
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
5569
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
5570
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
5571
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
5572
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
5573
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
5574
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
5575
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
5576
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
5577
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
5578
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
5579
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
5580
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
5581
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
5582
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
5583
+ # googleapis.com/projects/`project_number`/locations/global/
5584
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
5585
+ # All identities in a workload identity pool with a certain attribute. * `
5586
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
5587
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
5588
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
5589
+ # identifier) representing a user that has been recently deleted. For example, `
5590
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
5591
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
5592
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
5593
+ # address (plus unique identifier) representing a service account that has been
5594
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
5570
5595
  # 123456789012345678901`. If the service account is undeleted, this value
5571
5596
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
5572
5597
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
5573
5598
  # An email address (plus unique identifier) representing a Google group that has
5574
5599
  # been recently deleted. For example, `admins@example.com?uid=
5575
5600
  # 123456789012345678901`. If the group is recovered, this value reverts to `
5576
- # group:`emailid`` and the recovered group retains the role in the binding.
5601
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
5602
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
5603
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
5604
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
5605
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
5577
5606
  # Corresponds to the JSON property `members`
5578
5607
  # @return [Array<String>]
5579
5608
  attr_accessor :members
@@ -6161,7 +6190,7 @@ module Google
6161
6190
  # @return [String]
6162
6191
  attr_accessor :region
6163
6192
 
6164
- # List of create-on-create reseravtions for this commitment.
6193
+ # List of create-on-create reservations for this commitment.
6165
6194
  # Corresponds to the JSON property `reservations`
6166
6195
  # @return [Array<Google::Apis::ComputeAlpha::Reservation>]
6167
6196
  attr_accessor :reservations
@@ -12482,8 +12511,8 @@ module Google
12482
12511
  # The ID of a supported feature. To add multiple values, use commas to separate
12483
12512
  # values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
12484
12513
  # WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE -
12485
- # SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more
12486
- # information, see Enabling guest operating system features.
12514
+ # SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - IDPF For
12515
+ # more information, see Enabling guest operating system features.
12487
12516
  # Corresponds to the JSON property `type`
12488
12517
  # @return [String]
12489
12518
  attr_accessor :type
@@ -13853,6 +13882,16 @@ module Google
13853
13882
  # @return [String]
13854
13883
  attr_accessor :ip_address
13855
13884
 
13885
+ #
13886
+ # Corresponds to the JSON property `ipv6Address`
13887
+ # @return [String]
13888
+ attr_accessor :ipv6_address
13889
+
13890
+ # Health state of the IPv6 address of the instance.
13891
+ # Corresponds to the JSON property `ipv6HealthState`
13892
+ # @return [String]
13893
+ attr_accessor :ipv6_health_state
13894
+
13856
13895
  # The named port of the instance group, not necessarily the port that is health-
13857
13896
  # checked.
13858
13897
  # Corresponds to the JSON property `port`
@@ -13881,6 +13920,8 @@ module Google
13881
13920
  @health_state = args[:health_state] if args.key?(:health_state)
13882
13921
  @instance = args[:instance] if args.key?(:instance)
13883
13922
  @ip_address = args[:ip_address] if args.key?(:ip_address)
13923
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
13924
+ @ipv6_health_state = args[:ipv6_health_state] if args.key?(:ipv6_health_state)
13884
13925
  @port = args[:port] if args.key?(:port)
13885
13926
  @weight = args[:weight] if args.key?(:weight)
13886
13927
  @weight_error = args[:weight_error] if args.key?(:weight_error)
@@ -17766,8 +17807,10 @@ module Google
17766
17807
  class InstanceGroupManagerResizeRequestStatus
17767
17808
  include Google::Apis::Core::Hashable
17768
17809
 
17769
- # Errors encountered during the queueing or provisioning phases of the
17770
- # ResizeRequest.
17810
+ # [Output only] Fatal errors encountered during the queueing or provisioning
17811
+ # phases of the ResizeRequest that caused the transition to the FAILED state. As
17812
+ # a contrary to the last_attempt errors, this field is final and errors are
17813
+ # never removed from here, as the RR is not going to retry.
17771
17814
  # Corresponds to the JSON property `error`
17772
17815
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatus::Error]
17773
17816
  attr_accessor :error
@@ -17787,8 +17830,10 @@ module Google
17787
17830
  @queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy)
17788
17831
  end
17789
17832
 
17790
- # Errors encountered during the queueing or provisioning phases of the
17791
- # ResizeRequest.
17833
+ # [Output only] Fatal errors encountered during the queueing or provisioning
17834
+ # phases of the ResizeRequest that caused the transition to the FAILED state. As
17835
+ # a contrary to the last_attempt errors, this field is final and errors are
17836
+ # never removed from here, as the RR is not going to retry.
17792
17837
  class Error
17793
17838
  include Google::Apis::Core::Hashable
17794
17839
 
@@ -18019,7 +18064,10 @@ module Google
18019
18064
  class InstanceGroupManagerStandbyPolicy
18020
18065
  include Google::Apis::Core::Hashable
18021
18066
 
18022
- #
18067
+ # Specifies the number of seconds that the MIG should wait to suspend or stop a
18068
+ # VM after that VM was created. The initial delay gives the initialization
18069
+ # script the time to prepare your VM for a quick scale out. The value of initial
18070
+ # delay must be between 0 and 3600 seconds. The default value is 0.
18023
18071
  # Corresponds to the JSON property `initialDelaySec`
18024
18072
  # @return [Fixnum]
18025
18073
  attr_accessor :initial_delay_sec
@@ -20494,25 +20542,6 @@ module Google
20494
20542
  end
20495
20543
  end
20496
20544
 
20497
- #
20498
- class InstancesAddNetworkInterfaceRequest
20499
- include Google::Apis::Core::Hashable
20500
-
20501
- # A network interface resource attached to an instance.
20502
- # Corresponds to the JSON property `network_interface`
20503
- # @return [Google::Apis::ComputeAlpha::NetworkInterface]
20504
- attr_accessor :network_interface
20505
-
20506
- def initialize(**args)
20507
- update!(**args)
20508
- end
20509
-
20510
- # Update properties of this object
20511
- def update!(**args)
20512
- @network_interface = args[:network_interface] if args.key?(:network_interface)
20513
- end
20514
- end
20515
-
20516
20545
  #
20517
20546
  class InstancesAddResourcePoliciesRequest
20518
20547
  include Google::Apis::Core::Hashable
@@ -22068,6 +22097,13 @@ module Google
22068
22097
  # @return [Fixnum]
22069
22098
  attr_accessor :mtu
22070
22099
 
22100
+ # Whether or not to permit multicast traffic for this attachment. Multicast
22101
+ # packets will be dropped if this is not enabled.
22102
+ # Corresponds to the JSON property `multicastEnabled`
22103
+ # @return [Boolean]
22104
+ attr_accessor :multicast_enabled
22105
+ alias_method :multicast_enabled?, :multicast_enabled
22106
+
22071
22107
  # Name of the resource. Provided by the client when the resource is created. The
22072
22108
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
22073
22109
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -22237,6 +22273,7 @@ module Google
22237
22273
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
22238
22274
  @labels = args[:labels] if args.key?(:labels)
22239
22275
  @mtu = args[:mtu] if args.key?(:mtu)
22276
+ @multicast_enabled = args[:multicast_enabled] if args.key?(:multicast_enabled)
22240
22277
  @name = args[:name] if args.key?(:name)
22241
22278
  @operational_status = args[:operational_status] if args.key?(:operational_status)
22242
22279
  @pairing_key = args[:pairing_key] if args.key?(:pairing_key)
@@ -31570,7 +31607,8 @@ module Google
31570
31607
  # global operations, use the `globalOperations` resource. - For regional
31571
31608
  # operations, use the `regionOperations` resource. - For zonal operations, use
31572
31609
  # the `zoneOperations` resource. For more information, read Global, Regional,
31573
- # and Zonal Resources.
31610
+ # and Zonal Resources. Note that completed Operation resources have a limited
31611
+ # retention period.
31574
31612
  class Operation
31575
31613
  include Google::Apis::Core::Hashable
31576
31614
 
@@ -32740,15 +32778,17 @@ module Google
32740
32778
 
32741
32779
  # Protocols that apply as filter on mirrored traffic. If no protocols are
32742
32780
  # specified, all traffic that matches the specified CIDR ranges is mirrored. If
32743
- # neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
32781
+ # neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored.
32744
32782
  # Corresponds to the JSON property `IPProtocols`
32745
32783
  # @return [Array<String>]
32746
32784
  attr_accessor :ip_protocols
32747
32785
 
32748
- # IP CIDR ranges that apply as filter on the source (ingress) or destination (
32749
- # egress) IP in the IP header. Only IPv4 is supported. If no ranges are
32750
- # specified, all traffic that matches the specified IPProtocols is mirrored. If
32751
- # neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
32786
+ # One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (
32787
+ # ingress) or destination (egress) IP in the IP header. If no ranges are
32788
+ # specified, all IPv4 traffic that matches the specified IPProtocols is mirrored.
32789
+ # If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is
32790
+ # mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note:
32791
+ # Support for IPv6 traffic is in preview.
32752
32792
  # Corresponds to the JSON property `cidrRanges`
32753
32793
  # @return [Array<String>]
32754
32794
  attr_accessor :cidr_ranges
@@ -42785,7 +42825,7 @@ module Google
42785
42825
  # @return [String]
42786
42826
  attr_accessor :description
42787
42827
 
42788
- # User-provided name of the Organization security plicy. The name should be
42828
+ # User-provided name of the organization security policy. The name should be
42789
42829
  # unique in the organization in which the security policy is created. This
42790
42830
  # should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63
42791
42831
  # characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt.
@@ -43841,7 +43881,7 @@ module Google
43841
43881
  include Google::Apis::Core::Hashable
43842
43882
 
43843
43883
  # reCAPTCHA configuration options to be applied for the rule. If the rule does
43844
- # not evaluate reCAPTCHA tokens, this field will have no effect.
43884
+ # not evaluate reCAPTCHA tokens, this field has no effect.
43845
43885
  # Corresponds to the JSON property `recaptchaOptions`
43846
43886
  # @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions]
43847
43887
  attr_accessor :recaptcha_options
@@ -46226,6 +46266,12 @@ module Google
46226
46266
  class SnapshotSettings
46227
46267
  include Google::Apis::Core::Hashable
46228
46268
 
46269
+ # (Regional snapshots use only)Policy of which location is allowed to access
46270
+ # snapshot.
46271
+ # Corresponds to the JSON property `accessLocation`
46272
+ # @return [Google::Apis::ComputeAlpha::SnapshotSettingsAccessLocation]
46273
+ attr_accessor :access_location
46274
+
46229
46275
  # Policy of which storage location is going to be resolved, and additional data
46230
46276
  # that particularizes how the policy is going to be carried out.
46231
46277
  # Corresponds to the JSON property `storageLocation`
@@ -46238,10 +46284,49 @@ module Google
46238
46284
 
46239
46285
  # Update properties of this object
46240
46286
  def update!(**args)
46287
+ @access_location = args[:access_location] if args.key?(:access_location)
46241
46288
  @storage_location = args[:storage_location] if args.key?(:storage_location)
46242
46289
  end
46243
46290
  end
46244
46291
 
46292
+ #
46293
+ class SnapshotSettingsAccessLocation
46294
+ include Google::Apis::Core::Hashable
46295
+
46296
+ # List of regions that can restore a regional snapshot from the current region
46297
+ # Corresponds to the JSON property `locations`
46298
+ # @return [Hash<String,Google::Apis::ComputeAlpha::SnapshotSettingsAccessLocationAccessLocationPreference>]
46299
+ attr_accessor :locations
46300
+
46301
+ def initialize(**args)
46302
+ update!(**args)
46303
+ end
46304
+
46305
+ # Update properties of this object
46306
+ def update!(**args)
46307
+ @locations = args[:locations] if args.key?(:locations)
46308
+ end
46309
+ end
46310
+
46311
+ # A structure for specifying an allowed target region.
46312
+ class SnapshotSettingsAccessLocationAccessLocationPreference
46313
+ include Google::Apis::Core::Hashable
46314
+
46315
+ # Accessible region name
46316
+ # Corresponds to the JSON property `region`
46317
+ # @return [String]
46318
+ attr_accessor :region
46319
+
46320
+ def initialize(**args)
46321
+ update!(**args)
46322
+ end
46323
+
46324
+ # Update properties of this object
46325
+ def update!(**args)
46326
+ @region = args[:region] if args.key?(:region)
46327
+ end
46328
+ end
46329
+
46245
46330
  #
46246
46331
  class SnapshotSettingsStorageLocationSettings
46247
46332
  include Google::Apis::Core::Hashable
@@ -47854,13 +47939,29 @@ module Google
47854
47939
  # @return [String]
47855
47940
  attr_accessor :performance_provisioning_type
47856
47941
 
47857
- # Provsioned IOPS of the storage pool.
47858
- # Corresponds to the JSON property `provisionedIops`
47942
+ # Size, in GiB, of the storage pool.
47943
+ # Corresponds to the JSON property `poolProvisionedCapacityGb`
47859
47944
  # @return [Fixnum]
47860
- attr_accessor :provisioned_iops
47945
+ attr_accessor :pool_provisioned_capacity_gb
47946
+
47947
+ # Provsioned IOPS of the storage pool. Only relevant if the storage pool type is
47948
+ # hyperdisk-balanced.
47949
+ # Corresponds to the JSON property `poolProvisionedIops`
47950
+ # @return [Fixnum]
47951
+ attr_accessor :pool_provisioned_iops
47861
47952
 
47862
47953
  # Provisioned throughput of the storage pool. Only relevant if the storage pool
47863
47954
  # type is hyperdisk-balanced or hyperdisk-throughput.
47955
+ # Corresponds to the JSON property `poolProvisionedThroughput`
47956
+ # @return [Fixnum]
47957
+ attr_accessor :pool_provisioned_throughput
47958
+
47959
+ # DEPRECATED -- use "pool provisioned IOPS".
47960
+ # Corresponds to the JSON property `provisionedIops`
47961
+ # @return [Fixnum]
47962
+ attr_accessor :provisioned_iops
47963
+
47964
+ # DEPRECATED -- use "pool provisioned throughput".
47864
47965
  # Corresponds to the JSON property `provisionedThroughput`
47865
47966
  # @return [Fixnum]
47866
47967
  attr_accessor :provisioned_throughput
@@ -47880,7 +47981,7 @@ module Google
47880
47981
  # @return [String]
47881
47982
  attr_accessor :self_link_with_id
47882
47983
 
47883
- # Size, in GiB, of the storage pool.
47984
+ # DEPRECATED -- use "pool provisioned capacity gb".
47884
47985
  # Corresponds to the JSON property `sizeGb`
47885
47986
  # @return [Fixnum]
47886
47987
  attr_accessor :size_gb
@@ -47924,6 +48025,9 @@ module Google
47924
48025
  @labels = args[:labels] if args.key?(:labels)
47925
48026
  @name = args[:name] if args.key?(:name)
47926
48027
  @performance_provisioning_type = args[:performance_provisioning_type] if args.key?(:performance_provisioning_type)
48028
+ @pool_provisioned_capacity_gb = args[:pool_provisioned_capacity_gb] if args.key?(:pool_provisioned_capacity_gb)
48029
+ @pool_provisioned_iops = args[:pool_provisioned_iops] if args.key?(:pool_provisioned_iops)
48030
+ @pool_provisioned_throughput = args[:pool_provisioned_throughput] if args.key?(:pool_provisioned_throughput)
47927
48031
  @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
47928
48032
  @provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
47929
48033
  @resource_status = args[:resource_status] if args.key?(:resource_status)
@@ -48413,45 +48517,93 @@ module Google
48413
48517
  class StoragePoolResourceStatus
48414
48518
  include Google::Apis::Core::Hashable
48415
48519
 
48416
- # [Output Only] Sum of all the disks' provisioned IOPS.
48520
+ # DEPRECATED -- use "total_provisioned_disk_iops".
48417
48521
  # Corresponds to the JSON property `aggregateDiskProvisionedIops`
48418
48522
  # @return [Fixnum]
48419
48523
  attr_accessor :aggregate_disk_provisioned_iops
48420
48524
 
48421
- # [Output Only] Sum of all the capacity provisioned in disks in this storage
48422
- # pool. A disk's provisioned capacity is the same as its total capacity.
48525
+ # DEPRECATED -- use "total provisioned disk size gb".
48423
48526
  # Corresponds to the JSON property `aggregateDiskSizeGb`
48424
48527
  # @return [Fixnum]
48425
48528
  attr_accessor :aggregate_disk_size_gb
48426
48529
 
48530
+ # [Output Only] Number of disks used.
48531
+ # Corresponds to the JSON property `diskCount`
48532
+ # @return [Fixnum]
48533
+ attr_accessor :disk_count
48534
+
48427
48535
  # [Output Only] Timestamp of the last successful resize in RFC3339 text format.
48428
48536
  # Corresponds to the JSON property `lastResizeTimestamp`
48429
48537
  # @return [String]
48430
48538
  attr_accessor :last_resize_timestamp
48431
48539
 
48432
- # [Output Only] Maximum allowed aggregate disk size in gigabytes.
48540
+ # DEPRECATED -- use "max provisioned disk size gb"
48433
48541
  # Corresponds to the JSON property `maxAggregateDiskSizeGb`
48434
48542
  # @return [Fixnum]
48435
48543
  attr_accessor :max_aggregate_disk_size_gb
48436
48544
 
48437
- # [Output Only] Number of disks used.
48545
+ # [Output Only] Maximum allowed aggregate disk size in gigabytes.
48546
+ # Corresponds to the JSON property `maxTotalProvisionedDiskCapacityGb`
48547
+ # @return [Fixnum]
48548
+ attr_accessor :max_total_provisioned_disk_capacity_gb
48549
+
48550
+ # DEPRECATED -- use "disk count".
48438
48551
  # Corresponds to the JSON property `numberOfDisks`
48439
48552
  # @return [Fixnum]
48440
48553
  attr_accessor :number_of_disks
48441
48554
 
48442
48555
  # [Output Only] Space used by data stored in disks within the storage pool (in
48443
- # bytes).
48556
+ # bytes). This will reflect the total number of bytes written to the disks in
48557
+ # the pool, in contrast to the capacity of those disks.
48558
+ # Corresponds to the JSON property `poolUsedCapacityBytes`
48559
+ # @return [Fixnum]
48560
+ attr_accessor :pool_used_capacity_bytes
48561
+
48562
+ # Sum of all the disks' provisioned IOPS, minus some amount that is allowed per
48563
+ # disk that is not counted towards pool's IOPS capacity.
48564
+ # Corresponds to the JSON property `poolUsedIops`
48565
+ # @return [Fixnum]
48566
+ attr_accessor :pool_used_iops
48567
+
48568
+ # [Output Only] Sum of all the disks' provisioned throughput in MB/s.
48569
+ # Corresponds to the JSON property `poolUsedThroughput`
48570
+ # @return [Fixnum]
48571
+ attr_accessor :pool_used_throughput
48572
+
48573
+ # [Output Only] Amount of data written into the pool, before it is compacted.
48574
+ # Corresponds to the JSON property `poolUserWrittenBytes`
48575
+ # @return [Fixnum]
48576
+ attr_accessor :pool_user_written_bytes
48577
+
48578
+ # [Output Only] Sum of all the capacity provisioned in disks in this storage
48579
+ # pool. A disk's provisioned capacity is the same as its total capacity.
48580
+ # Corresponds to the JSON property `totalProvisionedDiskCapacityGb`
48581
+ # @return [Fixnum]
48582
+ attr_accessor :total_provisioned_disk_capacity_gb
48583
+
48584
+ # [Output Only] Sum of all the disks' provisioned IOPS.
48585
+ # Corresponds to the JSON property `totalProvisionedDiskIops`
48586
+ # @return [Fixnum]
48587
+ attr_accessor :total_provisioned_disk_iops
48588
+
48589
+ # [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some
48590
+ # amount that is allowed per disk that is not counted towards pool's throughput
48591
+ # capacity.
48592
+ # Corresponds to the JSON property `totalProvisionedDiskThroughput`
48593
+ # @return [Fixnum]
48594
+ attr_accessor :total_provisioned_disk_throughput
48595
+
48596
+ # DEPRECATED -- use "pool used capacity".
48444
48597
  # Corresponds to the JSON property `usedBytes`
48445
48598
  # @return [Fixnum]
48446
48599
  attr_accessor :used_bytes
48447
48600
 
48448
- # [Output Only] Space used by compressed and deduped data stored in disks within
48449
- # the storage pool (in bytes).
48601
+ # DEPRECATED -- do not use, will be removed.
48450
48602
  # Corresponds to the JSON property `usedReducedBytes`
48451
48603
  # @return [Fixnum]
48452
48604
  attr_accessor :used_reduced_bytes
48453
48605
 
48454
- # [Output Only] Sum of all the disks' provisioned throughput in MB/s.
48606
+ # DEPRECATED -- use "pool used throughput".
48455
48607
  # Corresponds to the JSON property `usedThroughput`
48456
48608
  # @return [Fixnum]
48457
48609
  attr_accessor :used_throughput
@@ -48464,9 +48616,18 @@ module Google
48464
48616
  def update!(**args)
48465
48617
  @aggregate_disk_provisioned_iops = args[:aggregate_disk_provisioned_iops] if args.key?(:aggregate_disk_provisioned_iops)
48466
48618
  @aggregate_disk_size_gb = args[:aggregate_disk_size_gb] if args.key?(:aggregate_disk_size_gb)
48619
+ @disk_count = args[:disk_count] if args.key?(:disk_count)
48467
48620
  @last_resize_timestamp = args[:last_resize_timestamp] if args.key?(:last_resize_timestamp)
48468
48621
  @max_aggregate_disk_size_gb = args[:max_aggregate_disk_size_gb] if args.key?(:max_aggregate_disk_size_gb)
48622
+ @max_total_provisioned_disk_capacity_gb = args[:max_total_provisioned_disk_capacity_gb] if args.key?(:max_total_provisioned_disk_capacity_gb)
48469
48623
  @number_of_disks = args[:number_of_disks] if args.key?(:number_of_disks)
48624
+ @pool_used_capacity_bytes = args[:pool_used_capacity_bytes] if args.key?(:pool_used_capacity_bytes)
48625
+ @pool_used_iops = args[:pool_used_iops] if args.key?(:pool_used_iops)
48626
+ @pool_used_throughput = args[:pool_used_throughput] if args.key?(:pool_used_throughput)
48627
+ @pool_user_written_bytes = args[:pool_user_written_bytes] if args.key?(:pool_user_written_bytes)
48628
+ @total_provisioned_disk_capacity_gb = args[:total_provisioned_disk_capacity_gb] if args.key?(:total_provisioned_disk_capacity_gb)
48629
+ @total_provisioned_disk_iops = args[:total_provisioned_disk_iops] if args.key?(:total_provisioned_disk_iops)
48630
+ @total_provisioned_disk_throughput = args[:total_provisioned_disk_throughput] if args.key?(:total_provisioned_disk_throughput)
48470
48631
  @used_bytes = args[:used_bytes] if args.key?(:used_bytes)
48471
48632
  @used_reduced_bytes = args[:used_reduced_bytes] if args.key?(:used_reduced_bytes)
48472
48633
  @used_throughput = args[:used_throughput] if args.key?(:used_throughput)
@@ -49209,18 +49370,15 @@ module Google
49209
49370
  attr_accessor :private_ipv6_google_access
49210
49371
 
49211
49372
  # The purpose of the resource. This field can be either PRIVATE,
49212
- # REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
49213
- # INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created
49214
- # subnets or subnets that are automatically created in auto mode networks. A
49215
- # subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork
49216
- # that is reserved for regional Envoy-based load balancers. A subnet with
49217
- # purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using
49218
- # Private Service Connect. A subnet with purpose set to
49219
- # INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by
49220
- # regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is
49221
- # the preferred setting for all regional Envoy load balancers. If unspecified,
49222
- # the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't
49223
- # supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
49373
+ # GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
49374
+ # PRIVATE is the default purpose for user-created subnets or subnets that are
49375
+ # automatically created in auto mode networks. Subnets with purpose set to
49376
+ # GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks
49377
+ # that are reserved for Envoy-based load balancers. A subnet with purpose set to
49378
+ # PRIVATE_SERVICE_CONNECT is used to publish services using Private Service
49379
+ # Connect. If unspecified, the subnet purpose defaults to PRIVATE. The
49380
+ # enableFlowLogs field isn't supported if the subnet purpose field is set to
49381
+ # GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.
49224
49382
  # Corresponds to the JSON property `purpose`
49225
49383
  # @return [String]
49226
49384
  attr_accessor :purpose
@@ -49236,11 +49394,12 @@ module Google
49236
49394
  # @return [String]
49237
49395
  attr_accessor :reserved_internal_range
49238
49396
 
49239
- # The role of subnetwork. Currently, this field is only used when purpose =
49240
- # REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE
49241
- # subnetwork is one that is currently being used for Envoy-based load balancers
49242
- # in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE
49243
- # or is currently draining. This field can be updated with a patch request.
49397
+ # The role of subnetwork. Currently, this field is only used when purpose is set
49398
+ # to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to
49399
+ # ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for
49400
+ # Envoy-based load balancers in a region. A BACKUP subnetwork is one that is
49401
+ # ready to be promoted to ACTIVE or is currently draining. This field can be
49402
+ # updated with a patch request.
49244
49403
  # Corresponds to the JSON property `role`
49245
49404
  # @return [String]
49246
49405
  attr_accessor :role
@@ -54716,27 +54875,25 @@ module Google
54716
54875
  attr_accessor :network
54717
54876
 
54718
54877
  # The purpose of the resource. This field can be either PRIVATE,
54719
- # REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
54720
- # INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created
54721
- # subnets or subnets that are automatically created in auto mode networks. A
54722
- # subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork
54723
- # that is reserved for regional Envoy-based load balancers. A subnet with
54724
- # purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using
54725
- # Private Service Connect. A subnet with purpose set to
54726
- # INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by
54727
- # regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is
54728
- # the preferred setting for all regional Envoy load balancers. If unspecified,
54729
- # the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't
54730
- # supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
54878
+ # GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
54879
+ # PRIVATE is the default purpose for user-created subnets or subnets that are
54880
+ # automatically created in auto mode networks. Subnets with purpose set to
54881
+ # GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks
54882
+ # that are reserved for Envoy-based load balancers. A subnet with purpose set to
54883
+ # PRIVATE_SERVICE_CONNECT is used to publish services using Private Service
54884
+ # Connect. If unspecified, the subnet purpose defaults to PRIVATE. The
54885
+ # enableFlowLogs field isn't supported if the subnet purpose field is set to
54886
+ # GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.
54731
54887
  # Corresponds to the JSON property `purpose`
54732
54888
  # @return [String]
54733
54889
  attr_accessor :purpose
54734
54890
 
54735
- # The role of subnetwork. Currently, this field is only used when purpose =
54736
- # REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE
54737
- # subnetwork is one that is currently being used for Envoy-based load balancers
54738
- # in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE
54739
- # or is currently draining. This field can be updated with a patch request.
54891
+ # The role of subnetwork. Currently, this field is only used when purpose is set
54892
+ # to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to
54893
+ # ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for
54894
+ # Envoy-based load balancers in a region. A BACKUP subnetwork is one that is
54895
+ # ready to be promoted to ACTIVE or is currently draining. This field can be
54896
+ # updated with a patch request.
54740
54897
  # Corresponds to the JSON property `role`
54741
54898
  # @return [String]
54742
54899
  attr_accessor :role
@@ -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.86.0"
19
+ GEM_VERSION = "0.87.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231128"
25
+ REVISION = "20231231"
26
26
  end
27
27
  end
28
28
  end
@@ -2494,12 +2494,6 @@ module Google
2494
2494
  include Google::Apis::Core::JsonObjectSupport
2495
2495
  end
2496
2496
 
2497
- class InstancesAddNetworkInterfaceRequest
2498
- class Representation < Google::Apis::Core::JsonRepresentation; end
2499
-
2500
- include Google::Apis::Core::JsonObjectSupport
2501
- end
2502
-
2503
2497
  class InstancesAddResourcePoliciesRequest
2504
2498
  class Representation < Google::Apis::Core::JsonRepresentation; end
2505
2499
 
@@ -6040,6 +6034,18 @@ module Google
6040
6034
  include Google::Apis::Core::JsonObjectSupport
6041
6035
  end
6042
6036
 
6037
+ class SnapshotSettingsAccessLocation
6038
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6039
+
6040
+ include Google::Apis::Core::JsonObjectSupport
6041
+ end
6042
+
6043
+ class SnapshotSettingsAccessLocationAccessLocationPreference
6044
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6045
+
6046
+ include Google::Apis::Core::JsonObjectSupport
6047
+ end
6048
+
6043
6049
  class SnapshotSettingsStorageLocationSettings
6044
6050
  class Representation < Google::Apis::Core::JsonRepresentation; end
6045
6051
 
@@ -8735,6 +8741,7 @@ module Google
8735
8741
  class Representation < Google::Apis::Core::JsonRepresentation
8736
8742
  property :destination, as: 'destination'
8737
8743
  property :path_id, as: 'pathId'
8744
+ property :prefix, as: 'prefix'
8738
8745
  end
8739
8746
  end
8740
8747
 
@@ -10676,6 +10683,8 @@ module Google
10676
10683
  property :health_state, as: 'healthState'
10677
10684
  property :instance, as: 'instance'
10678
10685
  property :ip_address, as: 'ipAddress'
10686
+ property :ipv6_address, as: 'ipv6Address'
10687
+ property :ipv6_health_state, as: 'ipv6HealthState'
10679
10688
  property :port, as: 'port'
10680
10689
  property :weight, as: 'weight'
10681
10690
  property :weight_error, as: 'weightError'
@@ -12325,14 +12334,6 @@ module Google
12325
12334
  end
12326
12335
  end
12327
12336
 
12328
- class InstancesAddNetworkInterfaceRequest
12329
- # @private
12330
- class Representation < Google::Apis::Core::JsonRepresentation
12331
- property :network_interface, as: 'network_interface', class: Google::Apis::ComputeAlpha::NetworkInterface, decorator: Google::Apis::ComputeAlpha::NetworkInterface::Representation
12332
-
12333
- end
12334
- end
12335
-
12336
12337
  class InstancesAddResourcePoliciesRequest
12337
12338
  # @private
12338
12339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12713,6 +12714,7 @@ module Google
12713
12714
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
12714
12715
  hash :labels, as: 'labels'
12715
12716
  property :mtu, as: 'mtu'
12717
+ property :multicast_enabled, as: 'multicastEnabled'
12716
12718
  property :name, as: 'name'
12717
12719
  property :operational_status, as: 'operationalStatus'
12718
12720
  property :pairing_key, as: 'pairingKey'
@@ -18869,11 +18871,28 @@ module Google
18869
18871
  class SnapshotSettings
18870
18872
  # @private
18871
18873
  class Representation < Google::Apis::Core::JsonRepresentation
18874
+ property :access_location, as: 'accessLocation', class: Google::Apis::ComputeAlpha::SnapshotSettingsAccessLocation, decorator: Google::Apis::ComputeAlpha::SnapshotSettingsAccessLocation::Representation
18875
+
18872
18876
  property :storage_location, as: 'storageLocation', class: Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettings, decorator: Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettings::Representation
18873
18877
 
18874
18878
  end
18875
18879
  end
18876
18880
 
18881
+ class SnapshotSettingsAccessLocation
18882
+ # @private
18883
+ class Representation < Google::Apis::Core::JsonRepresentation
18884
+ hash :locations, as: 'locations', class: Google::Apis::ComputeAlpha::SnapshotSettingsAccessLocationAccessLocationPreference, decorator: Google::Apis::ComputeAlpha::SnapshotSettingsAccessLocationAccessLocationPreference::Representation
18885
+
18886
+ end
18887
+ end
18888
+
18889
+ class SnapshotSettingsAccessLocationAccessLocationPreference
18890
+ # @private
18891
+ class Representation < Google::Apis::Core::JsonRepresentation
18892
+ property :region, as: 'region'
18893
+ end
18894
+ end
18895
+
18877
18896
  class SnapshotSettingsStorageLocationSettings
18878
18897
  # @private
18879
18898
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -19300,6 +19319,9 @@ module Google
19300
19319
  hash :labels, as: 'labels'
19301
19320
  property :name, as: 'name'
19302
19321
  property :performance_provisioning_type, as: 'performanceProvisioningType'
19322
+ property :pool_provisioned_capacity_gb, :numeric_string => true, as: 'poolProvisionedCapacityGb'
19323
+ property :pool_provisioned_iops, :numeric_string => true, as: 'poolProvisionedIops'
19324
+ property :pool_provisioned_throughput, :numeric_string => true, as: 'poolProvisionedThroughput'
19303
19325
  property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
19304
19326
  property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
19305
19327
  property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeAlpha::StoragePoolResourceStatus, decorator: Google::Apis::ComputeAlpha::StoragePoolResourceStatus::Representation
@@ -19439,9 +19461,18 @@ module Google
19439
19461
  class Representation < Google::Apis::Core::JsonRepresentation
19440
19462
  property :aggregate_disk_provisioned_iops, :numeric_string => true, as: 'aggregateDiskProvisionedIops'
19441
19463
  property :aggregate_disk_size_gb, :numeric_string => true, as: 'aggregateDiskSizeGb'
19464
+ property :disk_count, :numeric_string => true, as: 'diskCount'
19442
19465
  property :last_resize_timestamp, as: 'lastResizeTimestamp'
19443
19466
  property :max_aggregate_disk_size_gb, :numeric_string => true, as: 'maxAggregateDiskSizeGb'
19467
+ property :max_total_provisioned_disk_capacity_gb, :numeric_string => true, as: 'maxTotalProvisionedDiskCapacityGb'
19444
19468
  property :number_of_disks, :numeric_string => true, as: 'numberOfDisks'
19469
+ property :pool_used_capacity_bytes, :numeric_string => true, as: 'poolUsedCapacityBytes'
19470
+ property :pool_used_iops, :numeric_string => true, as: 'poolUsedIops'
19471
+ property :pool_used_throughput, :numeric_string => true, as: 'poolUsedThroughput'
19472
+ property :pool_user_written_bytes, :numeric_string => true, as: 'poolUserWrittenBytes'
19473
+ property :total_provisioned_disk_capacity_gb, :numeric_string => true, as: 'totalProvisionedDiskCapacityGb'
19474
+ property :total_provisioned_disk_iops, :numeric_string => true, as: 'totalProvisionedDiskIops'
19475
+ property :total_provisioned_disk_throughput, :numeric_string => true, as: 'totalProvisionedDiskThroughput'
19445
19476
  property :used_bytes, :numeric_string => true, as: 'usedBytes'
19446
19477
  property :used_reduced_bytes, :numeric_string => true, as: 'usedReducedBytes'
19447
19478
  property :used_throughput, :numeric_string => true, as: 'usedThroughput'
@@ -1665,7 +1665,7 @@ module Google
1665
1665
  # @param [String] project
1666
1666
  # Project ID for this request.
1667
1667
  # @param [String] backend_bucket
1668
- # Name of the BackendService resource to which the security policy should be set.
1668
+ # Name of the BackendBucket resource to which the security policy should be set.
1669
1669
  # The name should conform to RFC1035.
1670
1670
  # @param [Google::Apis::ComputeAlpha::SecurityPolicyReference] security_policy_reference_object
1671
1671
  # @param [String] request_id
@@ -13588,7 +13588,7 @@ module Google
13588
13588
  # @param [String] instance
13589
13589
  # The instance name for this request stored as resource_id. Name should conform
13590
13590
  # to RFC1035 or be an unsigned long integer.
13591
- # @param [Google::Apis::ComputeAlpha::InstancesAddNetworkInterfaceRequest] instances_add_network_interface_request_object
13591
+ # @param [Google::Apis::ComputeAlpha::NetworkInterface] network_interface_object
13592
13592
  # @param [String] request_id
13593
13593
  # An optional request ID to identify requests. Specify a unique request ID so
13594
13594
  # that if you must retry your request, the server will know to ignore the
@@ -13618,10 +13618,10 @@ module Google
13618
13618
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13619
13619
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13620
13620
  # @raise [Google::Apis::AuthorizationError] Authorization is required
13621
- def add_instance_network_interface(project, zone, instance, instances_add_network_interface_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13621
+ def add_instance_network_interface(project, zone, instance, network_interface_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13622
13622
  command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/addNetworkInterface', options)
13623
- command.request_representation = Google::Apis::ComputeAlpha::InstancesAddNetworkInterfaceRequest::Representation
13624
- command.request_object = instances_add_network_interface_request_object
13623
+ command.request_representation = Google::Apis::ComputeAlpha::NetworkInterface::Representation
13624
+ command.request_object = network_interface_object
13625
13625
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
13626
13626
  command.response_class = Google::Apis::ComputeAlpha::Operation
13627
13627
  command.params['project'] = project unless project.nil?
@@ -35819,6 +35819,95 @@ module Google
35819
35819
  execute_or_queue_command(command, &block)
35820
35820
  end
35821
35821
 
35822
+ # Get region snapshot settings.
35823
+ # @param [String] project
35824
+ # Project ID for this request.
35825
+ # @param [String] region
35826
+ # Name of the region for this request.
35827
+ # @param [String] fields
35828
+ # Selector specifying which fields to include in a partial response.
35829
+ # @param [String] quota_user
35830
+ # Available to use for quota purposes for server-side applications. Can be any
35831
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
35832
+ # @param [String] user_ip
35833
+ # Legacy name for parameter that has been superseded by `quotaUser`.
35834
+ # @param [Google::Apis::RequestOptions] options
35835
+ # Request-specific options
35836
+ #
35837
+ # @yield [result, err] Result & error if block supplied
35838
+ # @yieldparam result [Google::Apis::ComputeAlpha::SnapshotSettings] parsed result object
35839
+ # @yieldparam err [StandardError] error object if request failed
35840
+ #
35841
+ # @return [Google::Apis::ComputeAlpha::SnapshotSettings]
35842
+ #
35843
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
35844
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
35845
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
35846
+ def get_region_snapshot_setting(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
35847
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/snapshotSettings', options)
35848
+ command.response_representation = Google::Apis::ComputeAlpha::SnapshotSettings::Representation
35849
+ command.response_class = Google::Apis::ComputeAlpha::SnapshotSettings
35850
+ command.params['project'] = project unless project.nil?
35851
+ command.params['region'] = region unless region.nil?
35852
+ command.query['fields'] = fields unless fields.nil?
35853
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
35854
+ command.query['userIp'] = user_ip unless user_ip.nil?
35855
+ execute_or_queue_command(command, &block)
35856
+ end
35857
+
35858
+ # Patch region snapshot settings.
35859
+ # @param [String] project
35860
+ # Project ID for this request.
35861
+ # @param [String] region
35862
+ # Name of the region for this request.
35863
+ # @param [Google::Apis::ComputeAlpha::SnapshotSettings] snapshot_settings_object
35864
+ # @param [String] request_id
35865
+ # An optional request ID to identify requests. Specify a unique request ID so
35866
+ # that if you must retry your request, the server will know to ignore the
35867
+ # request if it has already been completed. For example, consider a situation
35868
+ # where you make an initial request and the request times out. If you make the
35869
+ # request again with the same request ID, the server can check if original
35870
+ # operation with the same request ID was received, and if so, will ignore the
35871
+ # second request. This prevents clients from accidentally creating duplicate
35872
+ # commitments. The request ID must be a valid UUID with the exception that zero
35873
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
35874
+ # @param [String] update_mask
35875
+ # update_mask indicates fields to be updated as part of this request.
35876
+ # @param [String] fields
35877
+ # Selector specifying which fields to include in a partial response.
35878
+ # @param [String] quota_user
35879
+ # Available to use for quota purposes for server-side applications. Can be any
35880
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
35881
+ # @param [String] user_ip
35882
+ # Legacy name for parameter that has been superseded by `quotaUser`.
35883
+ # @param [Google::Apis::RequestOptions] options
35884
+ # Request-specific options
35885
+ #
35886
+ # @yield [result, err] Result & error if block supplied
35887
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
35888
+ # @yieldparam err [StandardError] error object if request failed
35889
+ #
35890
+ # @return [Google::Apis::ComputeAlpha::Operation]
35891
+ #
35892
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
35893
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
35894
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
35895
+ def patch_region_snapshot_setting(project, region, snapshot_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
35896
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/snapshotSettings', options)
35897
+ command.request_representation = Google::Apis::ComputeAlpha::SnapshotSettings::Representation
35898
+ command.request_object = snapshot_settings_object
35899
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
35900
+ command.response_class = Google::Apis::ComputeAlpha::Operation
35901
+ command.params['project'] = project unless project.nil?
35902
+ command.params['region'] = region unless region.nil?
35903
+ command.query['requestId'] = request_id unless request_id.nil?
35904
+ command.query['updateMask'] = update_mask unless update_mask.nil?
35905
+ command.query['fields'] = fields unless fields.nil?
35906
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
35907
+ command.query['userIp'] = user_ip unless user_ip.nil?
35908
+ execute_or_queue_command(command, &block)
35909
+ end
35910
+
35822
35911
  # Deletes the specified Snapshot resource. Keep in mind that deleting a single
35823
35912
  # snapshot might not necessarily delete all the data on that snapshot. If any
35824
35913
  # data on the snapshot that is marked for deletion is needed for subsequent
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.86.0
4
+ version: 0.87.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: 2023-12-10 00:00:00.000000000 Z
11
+ date: 2024-01-07 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_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.86.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.87.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Compute Engine API Alpha