google-apis-compute_alpha 0.70.0 → 0.72.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: 97b09133783bfacc39fed5ea57d081c6d21ea7e91213ee59acb6fe6d29fc9f09
4
- data.tar.gz: dd3dc8e50f7794ab8d476e9c7fb192313801ba7a075cce569c34809ab9d563d2
3
+ metadata.gz: 5ea4a640e2acef560b7ebb62c848cc373ed488c29620c31112d7de5b421d48d7
4
+ data.tar.gz: c14b872c2c34d4696f78eaf2c7ebf2dc46baefce24a6baf05f560e695f639bd8
5
5
  SHA512:
6
- metadata.gz: be23806b3594a5f0d801294768c1a7704a3a0ba706d350059844771e00e7e7b4a50bc82ba264f04afdc318e88d82223f656f471bbf127f1e84c251f42f9a0bf2
7
- data.tar.gz: c2807353ea4a13d74aa1a682fa709188be14de33f39d89f5657075a803d77cbcca42f763158013d73c231b017fb2ae391e22c6695014e9d9246773d00f116eb6
6
+ metadata.gz: 9d0700f909e18cf64e2417f9c3de94ea3dfb900e8f533826048272bb5cff76818fbb0e7d0a70a4298fb4726079438451dc5038891bcd88628bc63860d061a444
7
+ data.tar.gz: 668ff46d77c9ce0c5defc98aa1e3dcc8c2c0e48c692e9da8d4e21f11889bbe03fd25fd78baf4891ebace7eacfad989e672ef1e83e14e9def499525c38542b40c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.72.0 (2023-07-09)
4
+
5
+ * Regenerated from discovery document revision 20230701
6
+
7
+ ### v0.71.0 (2023-06-25)
8
+
9
+ * Regenerated from discovery document revision 20230610
10
+
3
11
  ### v0.70.0 (2023-06-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20230606
@@ -665,7 +665,7 @@ module Google
665
665
  attr_accessor :id
666
666
 
667
667
  # The IP version that will be used by this address. Valid options are IPV4 or
668
- # IPV6. This can only be specified for a global address.
668
+ # IPV6.
669
669
  # Corresponds to the JSON property `ipVersion`
670
670
  # @return [String]
671
671
  attr_accessor :ip_version
@@ -3887,9 +3887,8 @@ module Google
3887
3887
  attr_accessor :service_bindings
3888
3888
 
3889
3889
  # URL to networkservices.ServiceLbPolicy resource. Can only be set if load
3890
- # balancing scheme is EXTERNAL, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED. If
3891
- # used with a backend service, must reference a global policy. If used with a
3892
- # regional backend service, must reference a regional policy.
3890
+ # balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or
3891
+ # INTERNAL_SELF_MANAGED and the scope is global.
3893
3892
  # Corresponds to the JSON property `serviceLbPolicy`
3894
3893
  # @return [String]
3895
3894
  attr_accessor :service_lb_policy
@@ -10222,9 +10221,12 @@ module Google
10222
10221
  alias_method :all_ports?, :all_ports
10223
10222
 
10224
10223
  # This field is used along with the backend_service field for internal load
10225
- # balancing or with the target field for internal TargetInstance. If the field
10226
- # is set to TRUE, clients can access ILB from all regions. Otherwise only allows
10227
- # access from clients in the same region as the internal load balancer.
10224
+ # balancing or with the target field for internal TargetInstance. If set to true,
10225
+ # clients can access the Internal TCP/UDP Load Balancer, Internal HTTP(S) and
10226
+ # TCP Proxy Load Balancer from all regions. If false, only allows access from
10227
+ # the local region the load balancer is located at. Note that for
10228
+ # INTERNAL_MANAGED forwarding rules, this field cannot be changed after the
10229
+ # forwarding rule is created.
10228
10230
  # Corresponds to the JSON property `allowGlobalAccess`
10229
10231
  # @return [Boolean]
10230
10232
  attr_accessor :allow_global_access
@@ -10943,6 +10945,32 @@ module Google
10943
10945
  class FutureReservation
10944
10946
  include Google::Apis::Core::Hashable
10945
10947
 
10948
+ # Future timestamp when the FR auto-created reservations will be deleted by GCE.
10949
+ # Format of this field must be a valid href="https://www.ietf.org/rfc/rfc3339.
10950
+ # txt">RFC3339 value.
10951
+ # Corresponds to the JSON property `autoCreatedReservationsDeleteTime`
10952
+ # @return [String]
10953
+ attr_accessor :auto_created_reservations_delete_time
10954
+
10955
+ # A Duration represents a fixed-length span of time represented as a count of
10956
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
10957
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
10958
+ # 000 years.
10959
+ # Corresponds to the JSON property `autoCreatedReservationsDuration`
10960
+ # @return [Google::Apis::ComputeAlpha::Duration]
10961
+ attr_accessor :auto_created_reservations_duration
10962
+
10963
+ # Setting for enabling or disabling automatic deletion for auto-created
10964
+ # reservation. If omitted or set to true, auto-created reservations will be
10965
+ # deleted at Future Reservation's end time (default) or at user's defined
10966
+ # timestamp if any of the [auto_created_reservations_delete_time,
10967
+ # auto_created_reservations_duration] values is specified. For keeping auto-
10968
+ # created reservation indefinitely, this value should be set to false.
10969
+ # Corresponds to the JSON property `autoDeleteAutoCreatedReservations`
10970
+ # @return [Boolean]
10971
+ attr_accessor :auto_delete_auto_created_reservations
10972
+ alias_method :auto_delete_auto_created_reservations?, :auto_delete_auto_created_reservations
10973
+
10946
10974
  # [Output Only] The creation timestamp for this future reservation in RFC3339
10947
10975
  # text format.
10948
10976
  # Corresponds to the JSON property `creationTimestamp`
@@ -11032,6 +11060,9 @@ module Google
11032
11060
 
11033
11061
  # Update properties of this object
11034
11062
  def update!(**args)
11063
+ @auto_created_reservations_delete_time = args[:auto_created_reservations_delete_time] if args.key?(:auto_created_reservations_delete_time)
11064
+ @auto_created_reservations_duration = args[:auto_created_reservations_duration] if args.key?(:auto_created_reservations_duration)
11065
+ @auto_delete_auto_created_reservations = args[:auto_delete_auto_created_reservations] if args.key?(:auto_delete_auto_created_reservations)
11035
11066
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
11036
11067
  @description = args[:description] if args.key?(:description)
11037
11068
  @id = args[:id] if args.key?(:id)
@@ -14881,6 +14912,13 @@ module Google
14881
14912
  # @return [Fixnum]
14882
14913
  attr_accessor :disk_size_gb
14883
14914
 
14915
+ # Whether this image is created from a confidential compute mode disk. [Output
14916
+ # Only]: This field is not set by user, but from source disk.
14917
+ # Corresponds to the JSON property `enableConfidentialCompute`
14918
+ # @return [Boolean]
14919
+ attr_accessor :enable_confidential_compute
14920
+ alias_method :enable_confidential_compute?, :enable_confidential_compute
14921
+
14884
14922
  # The name of the image family to which this image belongs. The image family
14885
14923
  # name can be from a publicly managed image family provided by Compute Engine,
14886
14924
  # or from a custom image family you create. For example, centos-stream-9 is a
@@ -15119,6 +15157,7 @@ module Google
15119
15157
  @deprecated = args[:deprecated] if args.key?(:deprecated)
15120
15158
  @description = args[:description] if args.key?(:description)
15121
15159
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
15160
+ @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
15122
15161
  @family = args[:family] if args.key?(:family)
15123
15162
  @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
15124
15163
  @id = args[:id] if args.key?(:id)
@@ -16628,6 +16667,14 @@ module Google
16628
16667
  # @return [Fixnum]
16629
16668
  attr_accessor :creating_atomically
16630
16669
 
16670
+ # [Output Only] The number of instances that the managed instance group will
16671
+ # attempt to create in bulk. If the desired count of instances cannot be created,
16672
+ # entire batch will be deleted and the group will decrease its targetSize value
16673
+ # accordingly.
16674
+ # Corresponds to the JSON property `creatingInBulk`
16675
+ # @return [Fixnum]
16676
+ attr_accessor :creating_in_bulk
16677
+
16631
16678
  # [Output Only] The number of instances that the managed instance group will
16632
16679
  # attempt to create. The group attempts to create each instance only once. If
16633
16680
  # the group fails to create any of these instances, it decreases the group's
@@ -16715,6 +16762,7 @@ module Google
16715
16762
  @abandoning = args[:abandoning] if args.key?(:abandoning)
16716
16763
  @creating = args[:creating] if args.key?(:creating)
16717
16764
  @creating_atomically = args[:creating_atomically] if args.key?(:creating_atomically)
16765
+ @creating_in_bulk = args[:creating_in_bulk] if args.key?(:creating_in_bulk)
16718
16766
  @creating_without_retries = args[:creating_without_retries] if args.key?(:creating_without_retries)
16719
16767
  @deleting = args[:deleting] if args.key?(:deleting)
16720
16768
  @none = args[:none] if args.key?(:none)
@@ -16994,7 +17042,11 @@ module Google
16994
17042
  class InstanceGroupManagerInstanceLifecyclePolicy
16995
17043
  include Google::Apis::Core::Hashable
16996
17044
 
16997
- # Defines behaviour for all instance or failures
17045
+ # The action that a MIG performs on a failed or an unhealthy VM. A VM is marked
17046
+ # as unhealthy when the application running on that VM fails a health check.
17047
+ # Valid values are - REPAIR (default): MIG automatically repairs a failed or an
17048
+ # unhealthy VM by recreating it. For more information, see About repairing VMs
17049
+ # in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
16998
17050
  # Corresponds to the JSON property `defaultActionOnFailure`
16999
17051
  # @return [String]
17000
17052
  attr_accessor :default_action_on_failure
@@ -17531,6 +17583,11 @@ module Google
17531
17583
  # @return [Fixnum]
17532
17584
  attr_accessor :initial_delay_sec
17533
17585
 
17586
+ # Defines behaviour of using instances from standby pool to resize MIG.
17587
+ # Corresponds to the JSON property `mode`
17588
+ # @return [String]
17589
+ attr_accessor :mode
17590
+
17534
17591
  def initialize(**args)
17535
17592
  update!(**args)
17536
17593
  end
@@ -17538,6 +17595,7 @@ module Google
17538
17595
  # Update properties of this object
17539
17596
  def update!(**args)
17540
17597
  @initial_delay_sec = args[:initial_delay_sec] if args.key?(:initial_delay_sec)
17598
+ @mode = args[:mode] if args.key?(:mode)
17541
17599
  end
17542
17600
  end
17543
17601
 
@@ -17751,12 +17809,12 @@ module Google
17751
17809
  attr_accessor :minimal_action
17752
17810
 
17753
17811
  # Most disruptive action that is allowed to be taken on an instance. You can
17754
- # specify either NONE to forbid any actions, REFRESH to allow actions that do
17755
- # not need instance restart, RESTART to allow actions that can be applied
17756
- # without instance replacing or REPLACE to allow all possible actions. If the
17757
- # Updater determines that the minimal update action needed is more disruptive
17758
- # than most disruptive allowed action you specify it will not perform the update
17759
- # at all.
17812
+ # specify either NONE to forbid any actions, REFRESH to avoid restarting the VM
17813
+ # and to limit disruption as much as possible. RESTART to allow actions that can
17814
+ # be applied without instance replacing or REPLACE to allow all possible actions.
17815
+ # If the Updater determines that the minimal update action needed is more
17816
+ # disruptive than most disruptive allowed action you specify it will not perform
17817
+ # the update at all.
17760
17818
  # Corresponds to the JSON property `mostDisruptiveAllowedAction`
17761
17819
  # @return [String]
17762
17820
  attr_accessor :most_disruptive_allowed_action
@@ -17883,20 +17941,22 @@ module Google
17883
17941
 
17884
17942
  # The minimal action that you want to perform on each instance during the update:
17885
17943
  # - REPLACE: At minimum, delete the instance and create it again. - RESTART:
17886
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
17887
- # NONE: Do not disrupt the instance at all. By default, the minimum action is
17888
- # NONE. If your update requires a more disruptive action than you set with this
17889
- # flag, the necessary action is performed to execute the update.
17944
+ # Stop the instance and start it again. - REFRESH: Do not stop the instance and
17945
+ # limit disruption as much as possible. - NONE: Do not disrupt the instance at
17946
+ # all. By default, the minimum action is NONE. If your update requires a more
17947
+ # disruptive action than you set with this flag, the necessary action is
17948
+ # performed to execute the update.
17890
17949
  # Corresponds to the JSON property `minimalAction`
17891
17950
  # @return [String]
17892
17951
  attr_accessor :minimal_action
17893
17952
 
17894
17953
  # The most disruptive action that you want to perform on each instance during
17895
17954
  # the update: - REPLACE: Delete the instance and create it again. - RESTART:
17896
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
17897
- # NONE: Do not disrupt the instance at all. By default, the most disruptive
17898
- # allowed action is REPLACE. If your update requires a more disruptive action
17899
- # than you set with this flag, the update request will fail.
17955
+ # Stop the instance and start it again. - REFRESH: Do not stop the instance and
17956
+ # limit disruption as much as possible. - NONE: Do not disrupt the instance at
17957
+ # all. By default, the most disruptive allowed action is REPLACE. If your update
17958
+ # requires a more disruptive action than you set with this flag, the update
17959
+ # request will fail.
17900
17960
  # Corresponds to the JSON property `mostDisruptiveAllowedAction`
17901
17961
  # @return [String]
17902
17962
  attr_accessor :most_disruptive_allowed_action
@@ -17938,6 +17998,13 @@ module Google
17938
17998
  class InstanceGroupManagersDeleteInstancesRequest
17939
17999
  include Google::Apis::Core::Hashable
17940
18000
 
18001
+ # The list of instance names to delete. Queued instances do not have URL and can
18002
+ # be deleted only by name. You cannot specify both URLs and names in a single
18003
+ # request.
18004
+ # Corresponds to the JSON property `instanceNames`
18005
+ # @return [Array<String>]
18006
+ attr_accessor :instance_names
18007
+
17941
18008
  # The URLs of one or more instances to delete. This can be a full URL or a
17942
18009
  # partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances
17943
18010
  # do not have URL and can be deleted only by name. One cannot specify both URLs
@@ -17964,6 +18031,7 @@ module Google
17964
18031
 
17965
18032
  # Update properties of this object
17966
18033
  def update!(**args)
18034
+ @instance_names = args[:instance_names] if args.key?(:instance_names)
17967
18035
  @instances = args[:instances] if args.key?(:instances)
17968
18036
  @skip_instances_on_validation_error = args[:skip_instances_on_validation_error] if args.key?(:skip_instances_on_validation_error)
17969
18037
  end
@@ -19456,6 +19524,18 @@ module Google
19456
19524
  # @return [String]
19457
19525
  attr_accessor :email
19458
19526
 
19527
+ # Specifies a fingerprint for instance settings, which is essentially a hash of
19528
+ # the instance settings resource's contents and used for optimistic locking. The
19529
+ # fingerprint is initially generated by Compute Engine and changes after every
19530
+ # request to modify or update the instance settings resource. You must always
19531
+ # provide an up-to-date fingerprint hash in order to update or change the
19532
+ # resource, otherwise the request will fail with error 412 conditionNotMet. To
19533
+ # see the latest fingerprint, make a get() request to retrieve the resource.
19534
+ # Corresponds to the JSON property `fingerprint`
19535
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
19536
+ # @return [String]
19537
+ attr_accessor :fingerprint
19538
+
19459
19539
  # [Output Only] Type of the resource. Always compute#instance_settings for
19460
19540
  # instance settings.
19461
19541
  # Corresponds to the JSON property `kind`
@@ -19476,6 +19556,7 @@ module Google
19476
19556
  # Update properties of this object
19477
19557
  def update!(**args)
19478
19558
  @email = args[:email] if args.key?(:email)
19559
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
19479
19560
  @kind = args[:kind] if args.key?(:kind)
19480
19561
  @zone = args[:zone] if args.key?(:zone)
19481
19562
  end
@@ -21035,10 +21116,11 @@ module Google
21035
21116
  attr_accessor :admin_enabled
21036
21117
  alias_method :admin_enabled?, :admin_enabled
21037
21118
 
21038
- # [Output only] List of features available for this interconnect, which can take
21039
- # one of the following values: - MACSEC If present then the interconnect was
21040
- # created on MACsec capable hardware ports. If not present then the interconnect
21041
- # is provisioned on non-MACsec capable ports and MACsec enablement will fail.
21119
+ # [Output only] List of features available for this Interconnect connection,
21120
+ # which can take one of the following values: - MACSEC If present then the
21121
+ # interconnect was created on MACsec capable hardware ports. If not present then
21122
+ # the interconnect is provisioned on non-MACsec capable ports and MACsec
21123
+ # enablement will fail.
21042
21124
  # Corresponds to the JSON property `availableFeatures`
21043
21125
  # @return [Array<String>]
21044
21126
  attr_accessor :available_features
@@ -21143,14 +21225,14 @@ module Google
21143
21225
  # @return [String]
21144
21226
  attr_accessor :location
21145
21227
 
21146
- # Configuration information for enabling Media Access Control security (Macsec)
21147
- # on this Interconnect between Google and your on-premises router.
21228
+ # Configuration information for enabling Media Access Control security (MACsec)
21229
+ # on this Interconnect connection between Google and your on-premises router.
21148
21230
  # Corresponds to the JSON property `macsec`
21149
21231
  # @return [Google::Apis::ComputeAlpha::InterconnectMacsec]
21150
21232
  attr_accessor :macsec
21151
21233
 
21152
- # Enable or disable MACsec on this Interconnect. MACsec enablement will fail if
21153
- # the macsec object is not specified.
21234
+ # Enable or disable MACsec on this Interconnect connection. MACsec enablement
21235
+ # fails if the MACsec object is not specified.
21154
21236
  # Corresponds to the JSON property `macsecEnabled`
21155
21237
  # @return [Boolean]
21156
21238
  attr_accessor :macsec_enabled
@@ -21204,13 +21286,12 @@ module Google
21204
21286
  # @return [String]
21205
21287
  attr_accessor :remote_location
21206
21288
 
21207
- # Optional. List of features requested for this interconnect, which can take one
21208
- # of the following values: - MACSEC If specified then the interconnect will be
21209
- # created on MACsec capable hardware ports. If not specified, the default value
21210
- # is false, which will allocate non-MACsec capable ports first if available.
21211
- # This parameter can only be provided during interconnect INSERT and cannot be
21212
- # changed using interconnect PATCH. Please review Interconnect Pricing for
21213
- # implications on enabling this flag.
21289
+ # Optional. List of features requested for this Interconnect connection, which
21290
+ # can take one of the following values: - MACSEC If specified then the
21291
+ # interconnect will be created on MACsec capable hardware ports. If not
21292
+ # specified, the default value is false, which will allocate non-MACsec capable
21293
+ # ports first if available. This parameter can only be provided during
21294
+ # interconnect INSERT and cannot be changed using interconnect PATCH.
21214
21295
  # Corresponds to the JSON property `requestedFeatures`
21215
21296
  # @return [Array<String>]
21216
21297
  attr_accessor :requested_features
@@ -22159,8 +22240,9 @@ module Google
22159
22240
  end
22160
22241
  end
22161
22242
 
22162
- # Diagnostics information about interconnect, contains detailed and current
22163
- # technical information about Google's side of the connection.
22243
+ # Diagnostics information about the Interconnect connection, which contains
22244
+ # detailed and current technical information about Google's side of the
22245
+ # connection.
22164
22246
  class InterconnectDiagnostics
22165
22247
  include Google::Apis::Core::Hashable
22166
22248
 
@@ -22528,14 +22610,14 @@ module Google
22528
22610
  # @return [String]
22529
22611
  attr_accessor :availability_zone
22530
22612
 
22531
- # [Output only] List of features available at this interconnect location, which
22613
+ # [Output only] List of features available at this InterconnectLocation, which
22532
22614
  # can take one of the following values: - MACSEC
22533
22615
  # Corresponds to the JSON property `availableFeatures`
22534
22616
  # @return [Array<String>]
22535
22617
  attr_accessor :available_features
22536
22618
 
22537
- # [Output only] List of link types available at this interconnect location,
22538
- # which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR -
22619
+ # [Output only] List of link types available at this InterconnectLocation, which
22620
+ # can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR -
22539
22621
  # LINK_TYPE_ETHERNET_100G_LR
22540
22622
  # Corresponds to the JSON property `availableLinkTypes`
22541
22623
  # @return [Array<String>]
@@ -22807,16 +22889,16 @@ module Google
22807
22889
  end
22808
22890
  end
22809
22891
 
22810
- # Configuration information for enabling Media Access Control security (Macsec)
22811
- # on this Interconnect between Google and your on-premises router.
22892
+ # Configuration information for enabling Media Access Control security (MACsec)
22893
+ # on this Interconnect connection between Google and your on-premises router.
22812
22894
  class InterconnectMacsec
22813
22895
  include Google::Apis::Core::Hashable
22814
22896
 
22815
- # If set to true, the Interconnect will be configured with a should-secure
22897
+ # If set to true, the Interconnect connection is configured with a should-secure
22816
22898
  # MACsec security policy, that allows the Google router to fallback to cleartext
22817
22899
  # traffic if the MKA session cannot be established. By default, the Interconnect
22818
- # will be configured with a must-secure security policy that drops all traffic
22819
- # if the MKA session cannot be established with your router.
22900
+ # connection is configured with a must-secure security policy that drops all
22901
+ # traffic if the MKA session cannot be established with your router.
22820
22902
  # Corresponds to the JSON property `failOpen`
22821
22903
  # @return [Boolean]
22822
22904
  attr_accessor :fail_open
@@ -22841,16 +22923,16 @@ module Google
22841
22923
  end
22842
22924
  end
22843
22925
 
22844
- # MACsec configuration information for the Interconnect. Contains the generated
22845
- # Connectivity Association Key Name (CKN) and the key (CAK) for this
22846
- # Interconnect.
22926
+ # MACsec configuration information for the Interconnect connection. Contains the
22927
+ # generated Connectivity Association Key Name (CKN) and the key (CAK) for this
22928
+ # Interconnect connection.
22847
22929
  class InterconnectMacsecConfig
22848
22930
  include Google::Apis::Core::Hashable
22849
22931
 
22850
22932
  # A keychain placeholder describing a set of named key objects along with their
22851
- # start times. A MACsec CKN/CAK will be generated for each key in the key chain.
22852
- # Google router will automatically pick the key with the most recent startTime
22853
- # when establishing or re-establishing a MACsec secure link.
22933
+ # start times. A MACsec CKN/CAK is generated for each key in the key chain.
22934
+ # Google router automatically picks the key with the most recent startTime when
22935
+ # establishing or re-establishing a MACsec secure link.
22854
22936
  # Corresponds to the JSON property `preSharedKeys`
22855
22937
  # @return [Array<Google::Apis::ComputeAlpha::InterconnectMacsecConfigPreSharedKey>]
22856
22938
  attr_accessor :pre_shared_keys
@@ -23388,8 +23470,9 @@ module Google
23388
23470
  class InterconnectsGetDiagnosticsResponse
23389
23471
  include Google::Apis::Core::Hashable
23390
23472
 
23391
- # Diagnostics information about interconnect, contains detailed and current
23392
- # technical information about Google's side of the connection.
23473
+ # Diagnostics information about the Interconnect connection, which contains
23474
+ # detailed and current technical information about Google's side of the
23475
+ # connection.
23393
23476
  # Corresponds to the JSON property `result`
23394
23477
  # @return [Google::Apis::ComputeAlpha::InterconnectDiagnostics]
23395
23478
  attr_accessor :result
@@ -23413,9 +23496,9 @@ module Google
23413
23496
  # @return [String]
23414
23497
  attr_accessor :etag
23415
23498
 
23416
- # MACsec configuration information for the Interconnect. Contains the generated
23417
- # Connectivity Association Key Name (CKN) and the key (CAK) for this
23418
- # Interconnect.
23499
+ # MACsec configuration information for the Interconnect connection. Contains the
23500
+ # generated Connectivity Association Key Name (CKN) and the key (CAK) for this
23501
+ # Interconnect connection.
23419
23502
  # Corresponds to the JSON property `result`
23420
23503
  # @return [Google::Apis::ComputeAlpha::InterconnectMacsecConfig]
23421
23504
  attr_accessor :result
@@ -31634,45 +31717,38 @@ module Google
31634
31717
  # @return [Google::Apis::ComputeAlpha::Duration]
31635
31718
  attr_accessor :base_ejection_time
31636
31719
 
31637
- # Number of errors before a host is ejected from the connection pool. When the
31638
- # backend host is accessed over HTTP, a 5xx return code qualifies as an error.
31639
- # Defaults to 5. Not supported when the backend service is referenced by a URL
31640
- # map that is bound to target gRPC proxy that has validateForProxyless field set
31641
- # to true.
31720
+ # Number of consecutive errors before a backend endpoint is ejected from the
31721
+ # load balancing pool. When the backend endpoint is accessed over HTTP, a 5xx
31722
+ # return code qualifies as an error. Defaults to 5.
31642
31723
  # Corresponds to the JSON property `consecutiveErrors`
31643
31724
  # @return [Fixnum]
31644
31725
  attr_accessor :consecutive_errors
31645
31726
 
31646
31727
  # The number of consecutive gateway failures (502, 503, 504 status or connection
31647
31728
  # errors that are mapped to one of those status codes) before a consecutive
31648
- # gateway failure ejection occurs. Defaults to 3. Not supported when the backend
31649
- # service is referenced by a URL map that is bound to target gRPC proxy that has
31650
- # validateForProxyless field set to true.
31729
+ # gateway failure ejection occurs. Defaults to 3.
31651
31730
  # Corresponds to the JSON property `consecutiveGatewayFailure`
31652
31731
  # @return [Fixnum]
31653
31732
  attr_accessor :consecutive_gateway_failure
31654
31733
 
31655
- # The percentage chance that a host will be actually ejected when an outlier
31734
+ # The percentage chance that a backend endpoint will be ejected when an outlier
31656
31735
  # status is detected through consecutive 5xx. This setting can be used to
31657
- # disable ejection or to ramp it up slowly. Defaults to 0. Not supported when
31658
- # the backend service is referenced by a URL map that is bound to target gRPC
31659
- # proxy that has validateForProxyless field set to true.
31736
+ # disable ejection or to ramp it up slowly. Defaults to 0.
31660
31737
  # Corresponds to the JSON property `enforcingConsecutiveErrors`
31661
31738
  # @return [Fixnum]
31662
31739
  attr_accessor :enforcing_consecutive_errors
31663
31740
 
31664
- # The percentage chance that a host will be actually ejected when an outlier
31741
+ # The percentage chance that a backend endpoint will be ejected when an outlier
31665
31742
  # status is detected through consecutive gateway failures. This setting can be
31666
- # used to disable ejection or to ramp it up slowly. Defaults to 100. Not
31667
- # supported when the backend service is referenced by a URL map that is bound to
31668
- # target gRPC proxy that has validateForProxyless field set to true.
31743
+ # used to disable ejection or to ramp it up slowly. Defaults to 100.
31669
31744
  # Corresponds to the JSON property `enforcingConsecutiveGatewayFailure`
31670
31745
  # @return [Fixnum]
31671
31746
  attr_accessor :enforcing_consecutive_gateway_failure
31672
31747
 
31673
- # The percentage chance that a host will be actually ejected when an outlier
31748
+ # The percentage chance that a backend endpoint will be ejected when an outlier
31674
31749
  # status is detected through success rate statistics. This setting can be used
31675
- # to disable ejection or to ramp it up slowly. Defaults to 100.
31750
+ # to disable ejection or to ramp it up slowly. Defaults to 100. Not supported
31751
+ # when the backend service uses Serverless NEG.
31676
31752
  # Corresponds to the JSON property `enforcingSuccessRate`
31677
31753
  # @return [Fixnum]
31678
31754
  attr_accessor :enforcing_success_rate
@@ -31685,25 +31761,29 @@ module Google
31685
31761
  # @return [Google::Apis::ComputeAlpha::Duration]
31686
31762
  attr_accessor :interval
31687
31763
 
31688
- # Maximum percentage of hosts in the load balancing pool for the backend service
31689
- # that can be ejected. Defaults to 50%.
31764
+ # Maximum percentage of backend endpoints in the load balancing pool for the
31765
+ # backend service that can be ejected if the ejection conditions are met.
31766
+ # Defaults to 50%.
31690
31767
  # Corresponds to the JSON property `maxEjectionPercent`
31691
31768
  # @return [Fixnum]
31692
31769
  attr_accessor :max_ejection_percent
31693
31770
 
31694
- # The number of hosts in a cluster that must have enough request volume to
31695
- # detect success rate outliers. If the number of hosts is less than this setting,
31696
- # outlier detection via success rate statistics is not performed for any host
31697
- # in the cluster. Defaults to 5.
31771
+ # The number of backend endpoints in the load balancing pool that must have
31772
+ # enough request volume to detect success rate outliers. If the number of
31773
+ # backend endpoints is fewer than this setting, outlier detection via success
31774
+ # rate statistics is not performed for any backend endpoint in the load
31775
+ # balancing pool. Defaults to 5. Not supported when the backend service uses
31776
+ # Serverless NEG.
31698
31777
  # Corresponds to the JSON property `successRateMinimumHosts`
31699
31778
  # @return [Fixnum]
31700
31779
  attr_accessor :success_rate_minimum_hosts
31701
31780
 
31702
31781
  # The minimum number of total requests that must be collected in one interval (
31703
- # as defined by the interval duration above) to include this host in success
31704
- # rate based outlier detection. If the volume is lower than this setting,
31705
- # outlier detection via success rate statistics is not performed for that host.
31706
- # Defaults to 100.
31782
+ # as defined by the interval duration above) to include this backend endpoint in
31783
+ # success rate based outlier detection. If the volume is lower than this setting,
31784
+ # outlier detection via success rate statistics is not performed for that
31785
+ # backend endpoint. Defaults to 100. Not supported when the backend service uses
31786
+ # Serverless NEG.
31707
31787
  # Corresponds to the JSON property `successRateRequestVolume`
31708
31788
  # @return [Fixnum]
31709
31789
  attr_accessor :success_rate_request_volume
@@ -31711,9 +31791,10 @@ module Google
31711
31791
  # This factor is used to determine the ejection threshold for success rate
31712
31792
  # outlier ejection. The ejection threshold is the difference between the mean
31713
31793
  # success rate, and the product of this factor and the standard deviation of the
31714
- # mean success rate: mean - (stdev * success_rate_stdev_factor). This factor is
31794
+ # mean success rate: mean - (stdev * successRateStdevFactor). This factor is
31715
31795
  # divided by a thousand to get a double. That is, if the desired factor is 1.9,
31716
- # the runtime value should be 1900. Defaults to 1900.
31796
+ # the runtime value should be 1900. Defaults to 1900. Not supported when the
31797
+ # backend service uses Serverless NEG.
31717
31798
  # Corresponds to the JSON property `successRateStdevFactor`
31718
31799
  # @return [Fixnum]
31719
31800
  attr_accessor :success_rate_stdev_factor
@@ -33370,7 +33451,7 @@ module Google
33370
33451
  # @return [String]
33371
33452
  attr_accessor :description
33372
33453
 
33373
- # The IPv4 address to be used for reverse DNS verification.
33454
+ # The address to be used for reverse DNS verification.
33374
33455
  # Corresponds to the JSON property `dnsVerificationIp`
33375
33456
  # @return [String]
33376
33457
  attr_accessor :dns_verification_ip
@@ -33392,7 +33473,7 @@ module Google
33392
33473
  # @return [Fixnum]
33393
33474
  attr_accessor :id
33394
33475
 
33395
- # The IPv4 address range, in CIDR format, represented by this public advertised
33476
+ # The address range, in CIDR format, represented by this public advertised
33396
33477
  # prefix.
33397
33478
  # Corresponds to the JSON property `ipCidrRange`
33398
33479
  # @return [String]
@@ -33679,7 +33760,7 @@ module Google
33679
33760
  # @return [Fixnum]
33680
33761
  attr_accessor :id
33681
33762
 
33682
- # The IPv4 address range, in CIDR format, represented by this public delegated
33763
+ # The IP address range, in CIDR format, represented by this public delegated
33683
33764
  # prefix.
33684
33765
  # Corresponds to the JSON property `ipCidrRange`
33685
33766
  # @return [String]
@@ -34028,8 +34109,8 @@ module Google
34028
34109
  # @return [String]
34029
34110
  attr_accessor :description
34030
34111
 
34031
- # The IPv4 address range, in CIDR format, represented by this sub public
34032
- # delegated prefix.
34112
+ # The IP address range, in CIDR format, represented by this sub public delegated
34113
+ # prefix.
34033
34114
  # Corresponds to the JSON property `ipCidrRange`
34034
34115
  # @return [String]
34035
34116
  attr_accessor :ip_cidr_range
@@ -35742,20 +35823,22 @@ module Google
35742
35823
 
35743
35824
  # The minimal action that you want to perform on each instance during the update:
35744
35825
  # - REPLACE: At minimum, delete the instance and create it again. - RESTART:
35745
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
35746
- # NONE: Do not disrupt the instance at all. By default, the minimum action is
35747
- # NONE. If your update requires a more disruptive action than you set with this
35748
- # flag, the necessary action is performed to execute the update.
35826
+ # Stop the instance and start it again. - REFRESH: Do not stop the instance and
35827
+ # limit disruption as much as possible. - NONE: Do not disrupt the instance at
35828
+ # all. By default, the minimum action is NONE. If your update requires a more
35829
+ # disruptive action than you set with this flag, the necessary action is
35830
+ # performed to execute the update.
35749
35831
  # Corresponds to the JSON property `minimalAction`
35750
35832
  # @return [String]
35751
35833
  attr_accessor :minimal_action
35752
35834
 
35753
35835
  # The most disruptive action that you want to perform on each instance during
35754
35836
  # the update: - REPLACE: Delete the instance and create it again. - RESTART:
35755
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
35756
- # NONE: Do not disrupt the instance at all. By default, the most disruptive
35757
- # allowed action is REPLACE. If your update requires a more disruptive action
35758
- # than you set with this flag, the update request will fail.
35837
+ # Stop the instance and start it again. - REFRESH: Do not stop the instance and
35838
+ # limit disruption as much as possible. - NONE: Do not disrupt the instance at
35839
+ # all. By default, the most disruptive allowed action is REPLACE. If your update
35840
+ # requires a more disruptive action than you set with this flag, the update
35841
+ # request will fail.
35759
35842
  # Corresponds to the JSON property `mostDisruptiveAllowedAction`
35760
35843
  # @return [String]
35761
35844
  attr_accessor :most_disruptive_allowed_action
@@ -36825,6 +36908,20 @@ module Google
36825
36908
  # @return [String]
36826
36909
  attr_accessor :creation_timestamp
36827
36910
 
36911
+ # A Duration represents a fixed-length span of time represented as a count of
36912
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
36913
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
36914
+ # 000 years.
36915
+ # Corresponds to the JSON property `deleteAfterDuration`
36916
+ # @return [Google::Apis::ComputeAlpha::Duration]
36917
+ attr_accessor :delete_after_duration
36918
+
36919
+ # Absolute time in future when the reservation will be auto-deleted by GCE.
36920
+ # Timestamp is represented in RFC3339 text format.
36921
+ # Corresponds to the JSON property `deleteAtTime`
36922
+ # @return [String]
36923
+ attr_accessor :delete_at_time
36924
+
36828
36925
  # An optional description of this resource. Provide this property when you
36829
36926
  # create the resource.
36830
36927
  # Corresponds to the JSON property `description`
@@ -36921,6 +37018,8 @@ module Google
36921
37018
  @aggregate_reservation = args[:aggregate_reservation] if args.key?(:aggregate_reservation)
36922
37019
  @commitment = args[:commitment] if args.key?(:commitment)
36923
37020
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
37021
+ @delete_after_duration = args[:delete_after_duration] if args.key?(:delete_after_duration)
37022
+ @delete_at_time = args[:delete_at_time] if args.key?(:delete_at_time)
36924
37023
  @description = args[:description] if args.key?(:description)
36925
37024
  @id = args[:id] if args.key?(:id)
36926
37025
  @kind = args[:kind] if args.key?(:kind)
@@ -41678,6 +41777,12 @@ module Google
41678
41777
  # @return [String]
41679
41778
  attr_accessor :rule_visibility
41680
41779
 
41780
+ # Configuration options for layer7 adaptive protection for various customizable
41781
+ # thresholds.
41782
+ # Corresponds to the JSON property `thresholdConfigs`
41783
+ # @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig>]
41784
+ attr_accessor :threshold_configs
41785
+
41681
41786
  def initialize(**args)
41682
41787
  update!(**args)
41683
41788
  end
@@ -41686,6 +41791,51 @@ module Google
41686
41791
  def update!(**args)
41687
41792
  @enable = args[:enable] if args.key?(:enable)
41688
41793
  @rule_visibility = args[:rule_visibility] if args.key?(:rule_visibility)
41794
+ @threshold_configs = args[:threshold_configs] if args.key?(:threshold_configs)
41795
+ end
41796
+ end
41797
+
41798
+ #
41799
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
41800
+ include Google::Apis::Core::Hashable
41801
+
41802
+ #
41803
+ # Corresponds to the JSON property `autoDeployConfidenceThreshold`
41804
+ # @return [Float]
41805
+ attr_accessor :auto_deploy_confidence_threshold
41806
+
41807
+ #
41808
+ # Corresponds to the JSON property `autoDeployExpirationSec`
41809
+ # @return [Fixnum]
41810
+ attr_accessor :auto_deploy_expiration_sec
41811
+
41812
+ #
41813
+ # Corresponds to the JSON property `autoDeployImpactedBaselineThreshold`
41814
+ # @return [Float]
41815
+ attr_accessor :auto_deploy_impacted_baseline_threshold
41816
+
41817
+ #
41818
+ # Corresponds to the JSON property `autoDeployLoadThreshold`
41819
+ # @return [Float]
41820
+ attr_accessor :auto_deploy_load_threshold
41821
+
41822
+ # The name must be 1-63 characters long, and comply with RFC1035. The name must
41823
+ # be unique within the security policy.
41824
+ # Corresponds to the JSON property `name`
41825
+ # @return [String]
41826
+ attr_accessor :name
41827
+
41828
+ def initialize(**args)
41829
+ update!(**args)
41830
+ end
41831
+
41832
+ # Update properties of this object
41833
+ def update!(**args)
41834
+ @auto_deploy_confidence_threshold = args[:auto_deploy_confidence_threshold] if args.key?(:auto_deploy_confidence_threshold)
41835
+ @auto_deploy_expiration_sec = args[:auto_deploy_expiration_sec] if args.key?(:auto_deploy_expiration_sec)
41836
+ @auto_deploy_impacted_baseline_threshold = args[:auto_deploy_impacted_baseline_threshold] if args.key?(:auto_deploy_impacted_baseline_threshold)
41837
+ @auto_deploy_load_threshold = args[:auto_deploy_load_threshold] if args.key?(:auto_deploy_load_threshold)
41838
+ @name = args[:name] if args.key?(:name)
41689
41839
  end
41690
41840
  end
41691
41841
 
@@ -43400,6 +43550,11 @@ module Google
43400
43550
  class ServiceAttachmentConnectedEndpoint
43401
43551
  include Google::Apis::Core::Hashable
43402
43552
 
43553
+ # The url of the consumer network.
43554
+ # Corresponds to the JSON property `consumerNetwork`
43555
+ # @return [String]
43556
+ attr_accessor :consumer_network
43557
+
43403
43558
  # The url of a connected endpoint.
43404
43559
  # Corresponds to the JSON property `endpoint`
43405
43560
  # @return [String]
@@ -43421,6 +43576,7 @@ module Google
43421
43576
 
43422
43577
  # Update properties of this object
43423
43578
  def update!(**args)
43579
+ @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
43424
43580
  @endpoint = args[:endpoint] if args.key?(:endpoint)
43425
43581
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
43426
43582
  @status = args[:status] if args.key?(:status)
@@ -44545,6 +44701,71 @@ module Google
44545
44701
  end
44546
44702
  end
44547
44703
 
44704
+ #
44705
+ class SnapshotSettings
44706
+ include Google::Apis::Core::Hashable
44707
+
44708
+ # Policy of which storage location is going to be resolved, and additional data
44709
+ # that particularizes how the policy is going to be carried out.
44710
+ # Corresponds to the JSON property `storageLocation`
44711
+ # @return [Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettings]
44712
+ attr_accessor :storage_location
44713
+
44714
+ def initialize(**args)
44715
+ update!(**args)
44716
+ end
44717
+
44718
+ # Update properties of this object
44719
+ def update!(**args)
44720
+ @storage_location = args[:storage_location] if args.key?(:storage_location)
44721
+ end
44722
+ end
44723
+
44724
+ #
44725
+ class SnapshotSettingsStorageLocationSettings
44726
+ include Google::Apis::Core::Hashable
44727
+
44728
+ # When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the
44729
+ # locations listed in this field. Keys are GCS bucket locations.
44730
+ # Corresponds to the JSON property `locations`
44731
+ # @return [Hash<String,Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettingsStorageLocationPreference>]
44732
+ attr_accessor :locations
44733
+
44734
+ # The chosen location policy.
44735
+ # Corresponds to the JSON property `policy`
44736
+ # @return [String]
44737
+ attr_accessor :policy
44738
+
44739
+ def initialize(**args)
44740
+ update!(**args)
44741
+ end
44742
+
44743
+ # Update properties of this object
44744
+ def update!(**args)
44745
+ @locations = args[:locations] if args.key?(:locations)
44746
+ @policy = args[:policy] if args.key?(:policy)
44747
+ end
44748
+ end
44749
+
44750
+ # A structure for specifying storage locations.
44751
+ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
44752
+ include Google::Apis::Core::Hashable
44753
+
44754
+ # Name of the location. It should be one of the GCS buckets.
44755
+ # Corresponds to the JSON property `name`
44756
+ # @return [String]
44757
+ attr_accessor :name
44758
+
44759
+ def initialize(**args)
44760
+ update!(**args)
44761
+ end
44762
+
44763
+ # Update properties of this object
44764
+ def update!(**args)
44765
+ @name = args[:name] if args.key?(:name)
44766
+ end
44767
+ end
44768
+
44548
44769
  #
44549
44770
  class SourceDiskEncryptionKey
44550
44771
  include Google::Apis::Core::Hashable
@@ -46569,7 +46790,7 @@ module Google
46569
46790
  class StoragePoolResourceStatus
46570
46791
  include Google::Apis::Core::Hashable
46571
46792
 
46572
- # [Output Only] Sum of all the disk' provisioned IOPS.
46793
+ # [Output Only] Sum of all the disks' provisioned IOPS.
46573
46794
  # Corresponds to the JSON property `aggregateDiskProvisionedIops`
46574
46795
  # @return [Fixnum]
46575
46796
  attr_accessor :aggregate_disk_provisioned_iops
@@ -46607,6 +46828,11 @@ module Google
46607
46828
  # @return [Fixnum]
46608
46829
  attr_accessor :used_reduced_bytes
46609
46830
 
46831
+ # [Output Only] Sum of all the disks' provisioned throughput in MB/s.
46832
+ # Corresponds to the JSON property `usedThroughput`
46833
+ # @return [Fixnum]
46834
+ attr_accessor :used_throughput
46835
+
46610
46836
  def initialize(**args)
46611
46837
  update!(**args)
46612
46838
  end
@@ -46620,6 +46846,7 @@ module Google
46620
46846
  @number_of_disks = args[:number_of_disks] if args.key?(:number_of_disks)
46621
46847
  @used_bytes = args[:used_bytes] if args.key?(:used_bytes)
46622
46848
  @used_reduced_bytes = args[:used_reduced_bytes] if args.key?(:used_reduced_bytes)
46849
+ @used_throughput = args[:used_throughput] if args.key?(:used_throughput)
46623
46850
  end
46624
46851
  end
46625
46852
 
@@ -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.70.0"
19
+ GEM_VERSION = "0.72.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 = "20230606"
25
+ REVISION = "20230701"
26
26
  end
27
27
  end
28
28
  end
@@ -5428,6 +5428,12 @@ module Google
5428
5428
  include Google::Apis::Core::JsonObjectSupport
5429
5429
  end
5430
5430
 
5431
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
5432
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5433
+
5434
+ include Google::Apis::Core::JsonObjectSupport
5435
+ end
5436
+
5431
5437
  class SecurityPolicyAdvancedOptionsConfig
5432
5438
  class Representation < Google::Apis::Core::JsonRepresentation; end
5433
5439
 
@@ -5830,6 +5836,24 @@ module Google
5830
5836
  include Google::Apis::Core::JsonObjectSupport
5831
5837
  end
5832
5838
 
5839
+ class SnapshotSettings
5840
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5841
+
5842
+ include Google::Apis::Core::JsonObjectSupport
5843
+ end
5844
+
5845
+ class SnapshotSettingsStorageLocationSettings
5846
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5847
+
5848
+ include Google::Apis::Core::JsonObjectSupport
5849
+ end
5850
+
5851
+ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
5852
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5853
+
5854
+ include Google::Apis::Core::JsonObjectSupport
5855
+ end
5856
+
5833
5857
  class SourceDiskEncryptionKey
5834
5858
  class Representation < Google::Apis::Core::JsonRepresentation; end
5835
5859
 
@@ -9653,6 +9677,10 @@ module Google
9653
9677
  class FutureReservation
9654
9678
  # @private
9655
9679
  class Representation < Google::Apis::Core::JsonRepresentation
9680
+ property :auto_created_reservations_delete_time, as: 'autoCreatedReservationsDeleteTime'
9681
+ property :auto_created_reservations_duration, as: 'autoCreatedReservationsDuration', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
9682
+
9683
+ property :auto_delete_auto_created_reservations, as: 'autoDeleteAutoCreatedReservations'
9656
9684
  property :creation_timestamp, as: 'creationTimestamp'
9657
9685
  property :description, as: 'description'
9658
9686
  property :id, :numeric_string => true, as: 'id'
@@ -10595,6 +10623,7 @@ module Google
10595
10623
 
10596
10624
  property :description, as: 'description'
10597
10625
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
10626
+ property :enable_confidential_compute, as: 'enableConfidentialCompute'
10598
10627
  property :family, as: 'family'
10599
10628
  collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
10600
10629
 
@@ -10978,6 +11007,7 @@ module Google
10978
11007
  property :abandoning, as: 'abandoning'
10979
11008
  property :creating, as: 'creating'
10980
11009
  property :creating_atomically, as: 'creatingAtomically'
11010
+ property :creating_in_bulk, as: 'creatingInBulk'
10981
11011
  property :creating_without_retries, as: 'creatingWithoutRetries'
10982
11012
  property :deleting, as: 'deleting'
10983
11013
  property :none, as: 'none'
@@ -11217,6 +11247,7 @@ module Google
11217
11247
  # @private
11218
11248
  class Representation < Google::Apis::Core::JsonRepresentation
11219
11249
  property :initial_delay_sec, as: 'initialDelaySec'
11250
+ property :mode, as: 'mode'
11220
11251
  end
11221
11252
  end
11222
11253
 
@@ -11322,6 +11353,7 @@ module Google
11322
11353
  class InstanceGroupManagersDeleteInstancesRequest
11323
11354
  # @private
11324
11355
  class Representation < Google::Apis::Core::JsonRepresentation
11356
+ collection :instance_names, as: 'instanceNames'
11325
11357
  collection :instances, as: 'instances'
11326
11358
  property :skip_instances_on_validation_error, as: 'skipInstancesOnValidationError'
11327
11359
  end
@@ -11761,6 +11793,7 @@ module Google
11761
11793
  # @private
11762
11794
  class Representation < Google::Apis::Core::JsonRepresentation
11763
11795
  property :email, as: 'email'
11796
+ property :fingerprint, :base64 => true, as: 'fingerprint'
11764
11797
  property :kind, as: 'kind'
11765
11798
  property :zone, as: 'zone'
11766
11799
  end
@@ -16239,6 +16272,9 @@ module Google
16239
16272
 
16240
16273
  property :commitment, as: 'commitment'
16241
16274
  property :creation_timestamp, as: 'creationTimestamp'
16275
+ property :delete_after_duration, as: 'deleteAfterDuration', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
16276
+
16277
+ property :delete_at_time, as: 'deleteAtTime'
16242
16278
  property :description, as: 'description'
16243
16279
  property :id, :numeric_string => true, as: 'id'
16244
16280
  property :kind, as: 'kind'
@@ -17428,6 +17464,19 @@ module Google
17428
17464
  class Representation < Google::Apis::Core::JsonRepresentation
17429
17465
  property :enable, as: 'enable'
17430
17466
  property :rule_visibility, as: 'ruleVisibility'
17467
+ collection :threshold_configs, as: 'thresholdConfigs', class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig, decorator: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig::Representation
17468
+
17469
+ end
17470
+ end
17471
+
17472
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
17473
+ # @private
17474
+ class Representation < Google::Apis::Core::JsonRepresentation
17475
+ property :auto_deploy_confidence_threshold, as: 'autoDeployConfidenceThreshold'
17476
+ property :auto_deploy_expiration_sec, as: 'autoDeployExpirationSec'
17477
+ property :auto_deploy_impacted_baseline_threshold, as: 'autoDeployImpactedBaselineThreshold'
17478
+ property :auto_deploy_load_threshold, as: 'autoDeployLoadThreshold'
17479
+ property :name, as: 'name'
17431
17480
  end
17432
17481
  end
17433
17482
 
@@ -17860,6 +17909,7 @@ module Google
17860
17909
  class ServiceAttachmentConnectedEndpoint
17861
17910
  # @private
17862
17911
  class Representation < Google::Apis::Core::JsonRepresentation
17912
+ property :consumer_network, as: 'consumerNetwork'
17863
17913
  property :endpoint, as: 'endpoint'
17864
17914
  property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
17865
17915
  property :status, as: 'status'
@@ -18157,6 +18207,30 @@ module Google
18157
18207
  end
18158
18208
  end
18159
18209
 
18210
+ class SnapshotSettings
18211
+ # @private
18212
+ class Representation < Google::Apis::Core::JsonRepresentation
18213
+ property :storage_location, as: 'storageLocation', class: Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettings, decorator: Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettings::Representation
18214
+
18215
+ end
18216
+ end
18217
+
18218
+ class SnapshotSettingsStorageLocationSettings
18219
+ # @private
18220
+ class Representation < Google::Apis::Core::JsonRepresentation
18221
+ hash :locations, as: 'locations', class: Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettingsStorageLocationPreference, decorator: Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettingsStorageLocationPreference::Representation
18222
+
18223
+ property :policy, as: 'policy'
18224
+ end
18225
+ end
18226
+
18227
+ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
18228
+ # @private
18229
+ class Representation < Google::Apis::Core::JsonRepresentation
18230
+ property :name, as: 'name'
18231
+ end
18232
+ end
18233
+
18160
18234
  class SourceDiskEncryptionKey
18161
18235
  # @private
18162
18236
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -18682,6 +18756,7 @@ module Google
18682
18756
  property :number_of_disks, :numeric_string => true, as: 'numberOfDisks'
18683
18757
  property :used_bytes, :numeric_string => true, as: 'usedBytes'
18684
18758
  property :used_reduced_bytes, :numeric_string => true, as: 'usedReducedBytes'
18759
+ property :used_throughput, :numeric_string => true, as: 'usedThroughput'
18685
18760
  end
18686
18761
  end
18687
18762
 
@@ -25521,7 +25521,8 @@ module Google
25521
25521
  # behavior. For more information, see the [known issue](/compute/docs/
25522
25522
  # troubleshooting/known-issues#
25523
25523
  # ving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior)
25524
- # .
25524
+ # . [Deprecated] This method is deprecated. See [moving instance across zones](/
25525
+ # compute/docs/instances/moving-instance-across-zones) instead.
25525
25526
  # @param [String] project
25526
25527
  # Project ID for this request.
25527
25528
  # @param [Google::Apis::ComputeAlpha::InstanceMoveRequest] instance_move_request_object
@@ -40910,6 +40911,89 @@ module Google
40910
40911
  execute_or_queue_command(command, &block)
40911
40912
  end
40912
40913
 
40914
+ # Get snapshot settings.
40915
+ # @param [String] project
40916
+ # Project ID for this request.
40917
+ # @param [String] fields
40918
+ # Selector specifying which fields to include in a partial response.
40919
+ # @param [String] quota_user
40920
+ # Available to use for quota purposes for server-side applications. Can be any
40921
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
40922
+ # @param [String] user_ip
40923
+ # Legacy name for parameter that has been superseded by `quotaUser`.
40924
+ # @param [Google::Apis::RequestOptions] options
40925
+ # Request-specific options
40926
+ #
40927
+ # @yield [result, err] Result & error if block supplied
40928
+ # @yieldparam result [Google::Apis::ComputeAlpha::SnapshotSettings] parsed result object
40929
+ # @yieldparam err [StandardError] error object if request failed
40930
+ #
40931
+ # @return [Google::Apis::ComputeAlpha::SnapshotSettings]
40932
+ #
40933
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
40934
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
40935
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
40936
+ def get_snapshot_setting(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
40937
+ command = make_simple_command(:get, 'projects/{project}/global/snapshotSettings', options)
40938
+ command.response_representation = Google::Apis::ComputeAlpha::SnapshotSettings::Representation
40939
+ command.response_class = Google::Apis::ComputeAlpha::SnapshotSettings
40940
+ command.params['project'] = project unless project.nil?
40941
+ command.query['fields'] = fields unless fields.nil?
40942
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
40943
+ command.query['userIp'] = user_ip unless user_ip.nil?
40944
+ execute_or_queue_command(command, &block)
40945
+ end
40946
+
40947
+ # Patch snapshot settings.
40948
+ # @param [String] project
40949
+ # Project ID for this request.
40950
+ # @param [Google::Apis::ComputeAlpha::SnapshotSettings] snapshot_settings_object
40951
+ # @param [String] request_id
40952
+ # An optional request ID to identify requests. Specify a unique request ID so
40953
+ # that if you must retry your request, the server will know to ignore the
40954
+ # request if it has already been completed. For example, consider a situation
40955
+ # where you make an initial request and the request times out. If you make the
40956
+ # request again with the same request ID, the server can check if original
40957
+ # operation with the same request ID was received, and if so, will ignore the
40958
+ # second request. This prevents clients from accidentally creating duplicate
40959
+ # commitments. The request ID must be a valid UUID with the exception that zero
40960
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
40961
+ # @param [String] update_mask
40962
+ # update_mask indicates fields to be updated as part of this request.
40963
+ # @param [String] fields
40964
+ # Selector specifying which fields to include in a partial response.
40965
+ # @param [String] quota_user
40966
+ # Available to use for quota purposes for server-side applications. Can be any
40967
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
40968
+ # @param [String] user_ip
40969
+ # Legacy name for parameter that has been superseded by `quotaUser`.
40970
+ # @param [Google::Apis::RequestOptions] options
40971
+ # Request-specific options
40972
+ #
40973
+ # @yield [result, err] Result & error if block supplied
40974
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
40975
+ # @yieldparam err [StandardError] error object if request failed
40976
+ #
40977
+ # @return [Google::Apis::ComputeAlpha::Operation]
40978
+ #
40979
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
40980
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
40981
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
40982
+ def patch_snapshot_setting(project, snapshot_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
40983
+ command = make_simple_command(:patch, 'projects/{project}/global/snapshotSettings', options)
40984
+ command.request_representation = Google::Apis::ComputeAlpha::SnapshotSettings::Representation
40985
+ command.request_object = snapshot_settings_object
40986
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
40987
+ command.response_class = Google::Apis::ComputeAlpha::Operation
40988
+ command.params['project'] = project unless project.nil?
40989
+ command.query['requestId'] = request_id unless request_id.nil?
40990
+ command.query['updateMask'] = update_mask unless update_mask.nil?
40991
+ command.query['fields'] = fields unless fields.nil?
40992
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
40993
+ command.query['userIp'] = user_ip unless user_ip.nil?
40994
+ execute_or_queue_command(command, &block)
40995
+ end
40996
+
40913
40997
  # Deletes the specified Snapshot resource. Keep in mind that deleting a single
40914
40998
  # snapshot might not necessarily delete all the data on that snapshot. If any
40915
40999
  # 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.70.0
4
+ version: 0.72.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-06-18 00:00:00.000000000 Z
11
+ date: 2023-07-09 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.70.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.72.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: []