google-apis-compute_alpha 0.71.0 → 0.73.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: 124b5bf20876a812516c5b7a9735d7d0045b998e7f49a4a4996ff23d38cf6246
4
- data.tar.gz: 6a0f807ddb3a12f90928b1ce45b0e35065211d9496008f4ccd0149b59edbd592
3
+ metadata.gz: 5f1412286fdfcfce67d28aaf91f70eb601a1c9c1c24a2c0659dc12906b919a66
4
+ data.tar.gz: 4f885aa621dfe379396e3cd226857443543fe9c71d486e6fdd46e678dc16541b
5
5
  SHA512:
6
- metadata.gz: f93d2e74a078091f8f1f837c86e42314a0678036e7a9debe98bacb80af133354c65a6e67abb4cffd82d5f7ae0e4538544d38e60799b5af193012e29306918dff
7
- data.tar.gz: d1d78697b8fb848645351fc0741c3e7f91d65e7a4af43c774f7385b041cdded62389baf8028652d206bf201b2d4758546fc957f7e96e424c7a0ba5012c68dec6
6
+ metadata.gz: 5d365e883438e8442b6d6fb4f42e498d36e85871ed827b3a925955ba5930b35cd30e2b6fe61e481b809a98c0eb81a1028bb7c605faf936ef5063fd6e8a810d23
7
+ data.tar.gz: 7061c7ec25362ec9b4e5a792dbc553e647fa1df1e951e30de10526949e5a6db28b9635921b972df148901f973fccece9c05a6686b230ee9821214af3367535cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.73.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230711
6
+
7
+ ### v0.72.0 (2023-07-09)
8
+
9
+ * Regenerated from discovery document revision 20230701
10
+
3
11
  ### v0.71.0 (2023-06-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20230610
@@ -3137,7 +3137,7 @@ module Google
3137
3137
  # @return [String]
3138
3138
  attr_accessor :creation_timestamp
3139
3139
 
3140
- # Headers that the HTTP/S load balancer should add to proxied responses.
3140
+ # Headers that the Application Load Balancer should add to proxied responses.
3141
3141
  # Corresponds to the JSON property `customResponseHeaders`
3142
3142
  # @return [Array<String>]
3143
3143
  attr_accessor :custom_response_headers
@@ -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
@@ -14910,6 +14912,13 @@ module Google
14910
14912
  # @return [Fixnum]
14911
14913
  attr_accessor :disk_size_gb
14912
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
+
14913
14922
  # The name of the image family to which this image belongs. The image family
14914
14923
  # name can be from a publicly managed image family provided by Compute Engine,
14915
14924
  # or from a custom image family you create. For example, centos-stream-9 is a
@@ -15148,6 +15157,7 @@ module Google
15148
15157
  @deprecated = args[:deprecated] if args.key?(:deprecated)
15149
15158
  @description = args[:description] if args.key?(:description)
15150
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)
15151
15161
  @family = args[:family] if args.key?(:family)
15152
15162
  @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
15153
15163
  @id = args[:id] if args.key?(:id)
@@ -16657,6 +16667,14 @@ module Google
16657
16667
  # @return [Fixnum]
16658
16668
  attr_accessor :creating_atomically
16659
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
+
16660
16678
  # [Output Only] The number of instances that the managed instance group will
16661
16679
  # attempt to create. The group attempts to create each instance only once. If
16662
16680
  # the group fails to create any of these instances, it decreases the group's
@@ -16744,6 +16762,7 @@ module Google
16744
16762
  @abandoning = args[:abandoning] if args.key?(:abandoning)
16745
16763
  @creating = args[:creating] if args.key?(:creating)
16746
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)
16747
16766
  @creating_without_retries = args[:creating_without_retries] if args.key?(:creating_without_retries)
16748
16767
  @deleting = args[:deleting] if args.key?(:deleting)
16749
16768
  @none = args[:none] if args.key?(:none)
@@ -17564,6 +17583,11 @@ module Google
17564
17583
  # @return [Fixnum]
17565
17584
  attr_accessor :initial_delay_sec
17566
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
+
17567
17591
  def initialize(**args)
17568
17592
  update!(**args)
17569
17593
  end
@@ -17571,6 +17595,7 @@ module Google
17571
17595
  # Update properties of this object
17572
17596
  def update!(**args)
17573
17597
  @initial_delay_sec = args[:initial_delay_sec] if args.key?(:initial_delay_sec)
17598
+ @mode = args[:mode] if args.key?(:mode)
17574
17599
  end
17575
17600
  end
17576
17601
 
@@ -17799,11 +17824,9 @@ module Google
17799
17824
  # @return [String]
17800
17825
  attr_accessor :replacement_method
17801
17826
 
17802
- # The type of update process. You can specify either PROACTIVE so that the
17803
- # instance group manager proactively executes actions in order to bring
17804
- # instances to their target versions or OPPORTUNISTIC so that no action is
17805
- # proactively executed but the update will be performed as part of other actions
17806
- # (for example, resizes or recreateInstances calls).
17827
+ # The type of update process. You can specify either PROACTIVE so that the MIG
17828
+ # automatically updates VMs to the latest configurations or OPPORTUNISTIC so
17829
+ # that you can select the VMs that you want to update.
17807
17830
  # Corresponds to the JSON property `type`
17808
17831
  # @return [String]
17809
17832
  attr_accessor :type
@@ -17973,6 +17996,13 @@ module Google
17973
17996
  class InstanceGroupManagersDeleteInstancesRequest
17974
17997
  include Google::Apis::Core::Hashable
17975
17998
 
17999
+ # The list of instance names to delete. Queued instances do not have URL and can
18000
+ # be deleted only by name. You cannot specify both URLs and names in a single
18001
+ # request.
18002
+ # Corresponds to the JSON property `instanceNames`
18003
+ # @return [Array<String>]
18004
+ attr_accessor :instance_names
18005
+
17976
18006
  # The URLs of one or more instances to delete. This can be a full URL or a
17977
18007
  # partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances
17978
18008
  # do not have URL and can be deleted only by name. One cannot specify both URLs
@@ -17999,6 +18029,7 @@ module Google
17999
18029
 
18000
18030
  # Update properties of this object
18001
18031
  def update!(**args)
18032
+ @instance_names = args[:instance_names] if args.key?(:instance_names)
18002
18033
  @instances = args[:instances] if args.key?(:instances)
18003
18034
  @skip_instances_on_validation_error = args[:skip_instances_on_validation_error] if args.key?(:skip_instances_on_validation_error)
18004
18035
  end
@@ -19491,6 +19522,18 @@ module Google
19491
19522
  # @return [String]
19492
19523
  attr_accessor :email
19493
19524
 
19525
+ # Specifies a fingerprint for instance settings, which is essentially a hash of
19526
+ # the instance settings resource's contents and used for optimistic locking. The
19527
+ # fingerprint is initially generated by Compute Engine and changes after every
19528
+ # request to modify or update the instance settings resource. You must always
19529
+ # provide an up-to-date fingerprint hash in order to update or change the
19530
+ # resource, otherwise the request will fail with error 412 conditionNotMet. To
19531
+ # see the latest fingerprint, make a get() request to retrieve the resource.
19532
+ # Corresponds to the JSON property `fingerprint`
19533
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
19534
+ # @return [String]
19535
+ attr_accessor :fingerprint
19536
+
19494
19537
  # [Output Only] Type of the resource. Always compute#instance_settings for
19495
19538
  # instance settings.
19496
19539
  # Corresponds to the JSON property `kind`
@@ -19511,6 +19554,7 @@ module Google
19511
19554
  # Update properties of this object
19512
19555
  def update!(**args)
19513
19556
  @email = args[:email] if args.key?(:email)
19557
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
19514
19558
  @kind = args[:kind] if args.key?(:kind)
19515
19559
  @zone = args[:zone] if args.key?(:zone)
19516
19560
  end
@@ -21070,10 +21114,11 @@ module Google
21070
21114
  attr_accessor :admin_enabled
21071
21115
  alias_method :admin_enabled?, :admin_enabled
21072
21116
 
21073
- # [Output only] List of features available for this interconnect, which can take
21074
- # one of the following values: - MACSEC If present then the interconnect was
21075
- # created on MACsec capable hardware ports. If not present then the interconnect
21076
- # is provisioned on non-MACsec capable ports and MACsec enablement will fail.
21117
+ # [Output only] List of features available for this Interconnect connection,
21118
+ # which can take one of the following values: - MACSEC If present then the
21119
+ # interconnect was created on MACsec capable hardware ports. If not present then
21120
+ # the interconnect is provisioned on non-MACsec capable ports and MACsec
21121
+ # enablement will fail.
21077
21122
  # Corresponds to the JSON property `availableFeatures`
21078
21123
  # @return [Array<String>]
21079
21124
  attr_accessor :available_features
@@ -21178,14 +21223,14 @@ module Google
21178
21223
  # @return [String]
21179
21224
  attr_accessor :location
21180
21225
 
21181
- # Configuration information for enabling Media Access Control security (Macsec)
21182
- # on this Interconnect between Google and your on-premises router.
21226
+ # Configuration information for enabling Media Access Control security (MACsec)
21227
+ # on this Interconnect connection between Google and your on-premises router.
21183
21228
  # Corresponds to the JSON property `macsec`
21184
21229
  # @return [Google::Apis::ComputeAlpha::InterconnectMacsec]
21185
21230
  attr_accessor :macsec
21186
21231
 
21187
- # Enable or disable MACsec on this Interconnect. MACsec enablement will fail if
21188
- # the macsec object is not specified.
21232
+ # Enable or disable MACsec on this Interconnect connection. MACsec enablement
21233
+ # fails if the MACsec object is not specified.
21189
21234
  # Corresponds to the JSON property `macsecEnabled`
21190
21235
  # @return [Boolean]
21191
21236
  attr_accessor :macsec_enabled
@@ -21239,13 +21284,12 @@ module Google
21239
21284
  # @return [String]
21240
21285
  attr_accessor :remote_location
21241
21286
 
21242
- # Optional. List of features requested for this interconnect, which can take one
21243
- # of the following values: - MACSEC If specified then the interconnect will be
21244
- # created on MACsec capable hardware ports. If not specified, the default value
21245
- # is false, which will allocate non-MACsec capable ports first if available.
21246
- # This parameter can only be provided during interconnect INSERT and cannot be
21247
- # changed using interconnect PATCH. Please review Interconnect Pricing for
21248
- # implications on enabling this flag.
21287
+ # Optional. List of features requested for this Interconnect connection, which
21288
+ # can take one of the following values: - MACSEC If specified then the
21289
+ # interconnect will be created on MACsec capable hardware ports. If not
21290
+ # specified, the default value is false, which will allocate non-MACsec capable
21291
+ # ports first if available. This parameter can only be provided during
21292
+ # interconnect INSERT and cannot be changed using interconnect PATCH.
21249
21293
  # Corresponds to the JSON property `requestedFeatures`
21250
21294
  # @return [Array<String>]
21251
21295
  attr_accessor :requested_features
@@ -22194,8 +22238,9 @@ module Google
22194
22238
  end
22195
22239
  end
22196
22240
 
22197
- # Diagnostics information about interconnect, contains detailed and current
22198
- # technical information about Google's side of the connection.
22241
+ # Diagnostics information about the Interconnect connection, which contains
22242
+ # detailed and current technical information about Google's side of the
22243
+ # connection.
22199
22244
  class InterconnectDiagnostics
22200
22245
  include Google::Apis::Core::Hashable
22201
22246
 
@@ -22563,14 +22608,14 @@ module Google
22563
22608
  # @return [String]
22564
22609
  attr_accessor :availability_zone
22565
22610
 
22566
- # [Output only] List of features available at this interconnect location, which
22611
+ # [Output only] List of features available at this InterconnectLocation, which
22567
22612
  # can take one of the following values: - MACSEC
22568
22613
  # Corresponds to the JSON property `availableFeatures`
22569
22614
  # @return [Array<String>]
22570
22615
  attr_accessor :available_features
22571
22616
 
22572
- # [Output only] List of link types available at this interconnect location,
22573
- # which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR -
22617
+ # [Output only] List of link types available at this InterconnectLocation, which
22618
+ # can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR -
22574
22619
  # LINK_TYPE_ETHERNET_100G_LR
22575
22620
  # Corresponds to the JSON property `availableLinkTypes`
22576
22621
  # @return [Array<String>]
@@ -22842,16 +22887,16 @@ module Google
22842
22887
  end
22843
22888
  end
22844
22889
 
22845
- # Configuration information for enabling Media Access Control security (Macsec)
22846
- # on this Interconnect between Google and your on-premises router.
22890
+ # Configuration information for enabling Media Access Control security (MACsec)
22891
+ # on this Interconnect connection between Google and your on-premises router.
22847
22892
  class InterconnectMacsec
22848
22893
  include Google::Apis::Core::Hashable
22849
22894
 
22850
- # If set to true, the Interconnect will be configured with a should-secure
22895
+ # If set to true, the Interconnect connection is configured with a should-secure
22851
22896
  # MACsec security policy, that allows the Google router to fallback to cleartext
22852
22897
  # traffic if the MKA session cannot be established. By default, the Interconnect
22853
- # will be configured with a must-secure security policy that drops all traffic
22854
- # if the MKA session cannot be established with your router.
22898
+ # connection is configured with a must-secure security policy that drops all
22899
+ # traffic if the MKA session cannot be established with your router.
22855
22900
  # Corresponds to the JSON property `failOpen`
22856
22901
  # @return [Boolean]
22857
22902
  attr_accessor :fail_open
@@ -22876,16 +22921,16 @@ module Google
22876
22921
  end
22877
22922
  end
22878
22923
 
22879
- # MACsec configuration information for the Interconnect. Contains the generated
22880
- # Connectivity Association Key Name (CKN) and the key (CAK) for this
22881
- # Interconnect.
22924
+ # MACsec configuration information for the Interconnect connection. Contains the
22925
+ # generated Connectivity Association Key Name (CKN) and the key (CAK) for this
22926
+ # Interconnect connection.
22882
22927
  class InterconnectMacsecConfig
22883
22928
  include Google::Apis::Core::Hashable
22884
22929
 
22885
22930
  # A keychain placeholder describing a set of named key objects along with their
22886
- # start times. A MACsec CKN/CAK will be generated for each key in the key chain.
22887
- # Google router will automatically pick the key with the most recent startTime
22888
- # when establishing or re-establishing a MACsec secure link.
22931
+ # start times. A MACsec CKN/CAK is generated for each key in the key chain.
22932
+ # Google router automatically picks the key with the most recent startTime when
22933
+ # establishing or re-establishing a MACsec secure link.
22889
22934
  # Corresponds to the JSON property `preSharedKeys`
22890
22935
  # @return [Array<Google::Apis::ComputeAlpha::InterconnectMacsecConfigPreSharedKey>]
22891
22936
  attr_accessor :pre_shared_keys
@@ -23423,8 +23468,9 @@ module Google
23423
23468
  class InterconnectsGetDiagnosticsResponse
23424
23469
  include Google::Apis::Core::Hashable
23425
23470
 
23426
- # Diagnostics information about interconnect, contains detailed and current
23427
- # technical information about Google's side of the connection.
23471
+ # Diagnostics information about the Interconnect connection, which contains
23472
+ # detailed and current technical information about Google's side of the
23473
+ # connection.
23428
23474
  # Corresponds to the JSON property `result`
23429
23475
  # @return [Google::Apis::ComputeAlpha::InterconnectDiagnostics]
23430
23476
  attr_accessor :result
@@ -23448,9 +23494,9 @@ module Google
23448
23494
  # @return [String]
23449
23495
  attr_accessor :etag
23450
23496
 
23451
- # MACsec configuration information for the Interconnect. Contains the generated
23452
- # Connectivity Association Key Name (CKN) and the key (CAK) for this
23453
- # Interconnect.
23497
+ # MACsec configuration information for the Interconnect connection. Contains the
23498
+ # generated Connectivity Association Key Name (CKN) and the key (CAK) for this
23499
+ # Interconnect connection.
23454
23500
  # Corresponds to the JSON property `result`
23455
23501
  # @return [Google::Apis::ComputeAlpha::InterconnectMacsecConfig]
23456
23502
  attr_accessor :result
@@ -31669,45 +31715,38 @@ module Google
31669
31715
  # @return [Google::Apis::ComputeAlpha::Duration]
31670
31716
  attr_accessor :base_ejection_time
31671
31717
 
31672
- # Number of errors before a host is ejected from the connection pool. When the
31673
- # backend host is accessed over HTTP, a 5xx return code qualifies as an error.
31674
- # Defaults to 5. Not supported when the backend service is referenced by a URL
31675
- # map that is bound to target gRPC proxy that has validateForProxyless field set
31676
- # to true.
31718
+ # Number of consecutive errors before a backend endpoint is ejected from the
31719
+ # load balancing pool. When the backend endpoint is accessed over HTTP, a 5xx
31720
+ # return code qualifies as an error. Defaults to 5.
31677
31721
  # Corresponds to the JSON property `consecutiveErrors`
31678
31722
  # @return [Fixnum]
31679
31723
  attr_accessor :consecutive_errors
31680
31724
 
31681
31725
  # The number of consecutive gateway failures (502, 503, 504 status or connection
31682
31726
  # errors that are mapped to one of those status codes) before a consecutive
31683
- # gateway failure ejection occurs. Defaults to 3. Not supported when the backend
31684
- # service is referenced by a URL map that is bound to target gRPC proxy that has
31685
- # validateForProxyless field set to true.
31727
+ # gateway failure ejection occurs. Defaults to 3.
31686
31728
  # Corresponds to the JSON property `consecutiveGatewayFailure`
31687
31729
  # @return [Fixnum]
31688
31730
  attr_accessor :consecutive_gateway_failure
31689
31731
 
31690
- # The percentage chance that a host will be actually ejected when an outlier
31732
+ # The percentage chance that a backend endpoint will be ejected when an outlier
31691
31733
  # status is detected through consecutive 5xx. This setting can be used to
31692
- # disable ejection or to ramp it up slowly. Defaults to 0. Not supported when
31693
- # the backend service is referenced by a URL map that is bound to target gRPC
31694
- # proxy that has validateForProxyless field set to true.
31734
+ # disable ejection or to ramp it up slowly. Defaults to 0.
31695
31735
  # Corresponds to the JSON property `enforcingConsecutiveErrors`
31696
31736
  # @return [Fixnum]
31697
31737
  attr_accessor :enforcing_consecutive_errors
31698
31738
 
31699
- # The percentage chance that a host will be actually ejected when an outlier
31739
+ # The percentage chance that a backend endpoint will be ejected when an outlier
31700
31740
  # status is detected through consecutive gateway failures. This setting can be
31701
- # used to disable ejection or to ramp it up slowly. Defaults to 100. Not
31702
- # supported when the backend service is referenced by a URL map that is bound to
31703
- # target gRPC proxy that has validateForProxyless field set to true.
31741
+ # used to disable ejection or to ramp it up slowly. Defaults to 100.
31704
31742
  # Corresponds to the JSON property `enforcingConsecutiveGatewayFailure`
31705
31743
  # @return [Fixnum]
31706
31744
  attr_accessor :enforcing_consecutive_gateway_failure
31707
31745
 
31708
- # The percentage chance that a host will be actually ejected when an outlier
31746
+ # The percentage chance that a backend endpoint will be ejected when an outlier
31709
31747
  # status is detected through success rate statistics. This setting can be used
31710
- # to disable ejection or to ramp it up slowly. Defaults to 100.
31748
+ # to disable ejection or to ramp it up slowly. Defaults to 100. Not supported
31749
+ # when the backend service uses Serverless NEG.
31711
31750
  # Corresponds to the JSON property `enforcingSuccessRate`
31712
31751
  # @return [Fixnum]
31713
31752
  attr_accessor :enforcing_success_rate
@@ -31720,25 +31759,29 @@ module Google
31720
31759
  # @return [Google::Apis::ComputeAlpha::Duration]
31721
31760
  attr_accessor :interval
31722
31761
 
31723
- # Maximum percentage of hosts in the load balancing pool for the backend service
31724
- # that can be ejected. Defaults to 50%.
31762
+ # Maximum percentage of backend endpoints in the load balancing pool for the
31763
+ # backend service that can be ejected if the ejection conditions are met.
31764
+ # Defaults to 50%.
31725
31765
  # Corresponds to the JSON property `maxEjectionPercent`
31726
31766
  # @return [Fixnum]
31727
31767
  attr_accessor :max_ejection_percent
31728
31768
 
31729
- # The number of hosts in a cluster that must have enough request volume to
31730
- # detect success rate outliers. If the number of hosts is less than this setting,
31731
- # outlier detection via success rate statistics is not performed for any host
31732
- # in the cluster. Defaults to 5.
31769
+ # The number of backend endpoints in the load balancing pool that must have
31770
+ # enough request volume to detect success rate outliers. If the number of
31771
+ # backend endpoints is fewer than this setting, outlier detection via success
31772
+ # rate statistics is not performed for any backend endpoint in the load
31773
+ # balancing pool. Defaults to 5. Not supported when the backend service uses
31774
+ # Serverless NEG.
31733
31775
  # Corresponds to the JSON property `successRateMinimumHosts`
31734
31776
  # @return [Fixnum]
31735
31777
  attr_accessor :success_rate_minimum_hosts
31736
31778
 
31737
31779
  # The minimum number of total requests that must be collected in one interval (
31738
- # as defined by the interval duration above) to include this host in success
31739
- # rate based outlier detection. If the volume is lower than this setting,
31740
- # outlier detection via success rate statistics is not performed for that host.
31741
- # Defaults to 100.
31780
+ # as defined by the interval duration above) to include this backend endpoint in
31781
+ # success rate based outlier detection. If the volume is lower than this setting,
31782
+ # outlier detection via success rate statistics is not performed for that
31783
+ # backend endpoint. Defaults to 100. Not supported when the backend service uses
31784
+ # Serverless NEG.
31742
31785
  # Corresponds to the JSON property `successRateRequestVolume`
31743
31786
  # @return [Fixnum]
31744
31787
  attr_accessor :success_rate_request_volume
@@ -31746,9 +31789,10 @@ module Google
31746
31789
  # This factor is used to determine the ejection threshold for success rate
31747
31790
  # outlier ejection. The ejection threshold is the difference between the mean
31748
31791
  # success rate, and the product of this factor and the standard deviation of the
31749
- # mean success rate: mean - (stdev * success_rate_stdev_factor). This factor is
31792
+ # mean success rate: mean - (stdev * successRateStdevFactor). This factor is
31750
31793
  # divided by a thousand to get a double. That is, if the desired factor is 1.9,
31751
- # the runtime value should be 1900. Defaults to 1900.
31794
+ # the runtime value should be 1900. Defaults to 1900. Not supported when the
31795
+ # backend service uses Serverless NEG.
31752
31796
  # Corresponds to the JSON property `successRateStdevFactor`
31753
31797
  # @return [Fixnum]
31754
31798
  attr_accessor :success_rate_stdev_factor
@@ -33186,6 +33230,13 @@ module Google
33186
33230
  # @return [String]
33187
33231
  attr_accessor :kind
33188
33232
 
33233
+ # [Output Only] The Cloud Armor Managed Protection (CAMP) tier for this project.
33234
+ # It can be one of the following values: CA_STANDARD, CAMP_PLUS_MONTHLY. If this
33235
+ # field is not specified, it is assumed to be CA_STANDARD.
33236
+ # Corresponds to the JSON property `managedProtectionTier`
33237
+ # @return [String]
33238
+ attr_accessor :managed_protection_tier
33239
+
33189
33240
  # The project ID. For example: my-example-project. Use the project ID to make
33190
33241
  # requests to Compute Engine.
33191
33242
  # Corresponds to the JSON property `name`
@@ -33234,6 +33285,7 @@ module Google
33234
33285
  @enabled_features = args[:enabled_features] if args.key?(:enabled_features)
33235
33286
  @id = args[:id] if args.key?(:id)
33236
33287
  @kind = args[:kind] if args.key?(:kind)
33288
+ @managed_protection_tier = args[:managed_protection_tier] if args.key?(:managed_protection_tier)
33237
33289
  @name = args[:name] if args.key?(:name)
33238
33290
  @quotas = args[:quotas] if args.key?(:quotas)
33239
33291
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -33388,6 +33440,25 @@ module Google
33388
33440
  end
33389
33441
  end
33390
33442
 
33443
+ #
33444
+ class ProjectsSetManagedProtectionTierRequest
33445
+ include Google::Apis::Core::Hashable
33446
+
33447
+ # Managed protection tier to be set.
33448
+ # Corresponds to the JSON property `managedProtectionTier`
33449
+ # @return [String]
33450
+ attr_accessor :managed_protection_tier
33451
+
33452
+ def initialize(**args)
33453
+ update!(**args)
33454
+ end
33455
+
33456
+ # Update properties of this object
33457
+ def update!(**args)
33458
+ @managed_protection_tier = args[:managed_protection_tier] if args.key?(:managed_protection_tier)
33459
+ end
33460
+ end
33461
+
33391
33462
  # A public advertised prefix represents an aggregated IP prefix or netblock
33392
33463
  # which customers bring to cloud. The IP prefix is a single unit of route
33393
33464
  # advertisement and is announced globally to the internet.
@@ -33714,7 +33785,7 @@ module Google
33714
33785
  # @return [Fixnum]
33715
33786
  attr_accessor :id
33716
33787
 
33717
- # The IPv4 address range, in CIDR format, represented by this public delegated
33788
+ # The IP address range, in CIDR format, represented by this public delegated
33718
33789
  # prefix.
33719
33790
  # Corresponds to the JSON property `ipCidrRange`
33720
33791
  # @return [String]
@@ -34063,8 +34134,8 @@ module Google
34063
34134
  # @return [String]
34064
34135
  attr_accessor :description
34065
34136
 
34066
- # The IPv4 address range, in CIDR format, represented by this sub public
34067
- # delegated prefix.
34137
+ # The IP address range, in CIDR format, represented by this sub public delegated
34138
+ # prefix.
34068
34139
  # Corresponds to the JSON property `ipCidrRange`
34069
34140
  # @return [String]
34070
34141
  attr_accessor :ip_cidr_range
@@ -41731,6 +41802,12 @@ module Google
41731
41802
  # @return [String]
41732
41803
  attr_accessor :rule_visibility
41733
41804
 
41805
+ # Configuration options for layer7 adaptive protection for various customizable
41806
+ # thresholds.
41807
+ # Corresponds to the JSON property `thresholdConfigs`
41808
+ # @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig>]
41809
+ attr_accessor :threshold_configs
41810
+
41734
41811
  def initialize(**args)
41735
41812
  update!(**args)
41736
41813
  end
@@ -41739,6 +41816,51 @@ module Google
41739
41816
  def update!(**args)
41740
41817
  @enable = args[:enable] if args.key?(:enable)
41741
41818
  @rule_visibility = args[:rule_visibility] if args.key?(:rule_visibility)
41819
+ @threshold_configs = args[:threshold_configs] if args.key?(:threshold_configs)
41820
+ end
41821
+ end
41822
+
41823
+ #
41824
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
41825
+ include Google::Apis::Core::Hashable
41826
+
41827
+ #
41828
+ # Corresponds to the JSON property `autoDeployConfidenceThreshold`
41829
+ # @return [Float]
41830
+ attr_accessor :auto_deploy_confidence_threshold
41831
+
41832
+ #
41833
+ # Corresponds to the JSON property `autoDeployExpirationSec`
41834
+ # @return [Fixnum]
41835
+ attr_accessor :auto_deploy_expiration_sec
41836
+
41837
+ #
41838
+ # Corresponds to the JSON property `autoDeployImpactedBaselineThreshold`
41839
+ # @return [Float]
41840
+ attr_accessor :auto_deploy_impacted_baseline_threshold
41841
+
41842
+ #
41843
+ # Corresponds to the JSON property `autoDeployLoadThreshold`
41844
+ # @return [Float]
41845
+ attr_accessor :auto_deploy_load_threshold
41846
+
41847
+ # The name must be 1-63 characters long, and comply with RFC1035. The name must
41848
+ # be unique within the security policy.
41849
+ # Corresponds to the JSON property `name`
41850
+ # @return [String]
41851
+ attr_accessor :name
41852
+
41853
+ def initialize(**args)
41854
+ update!(**args)
41855
+ end
41856
+
41857
+ # Update properties of this object
41858
+ def update!(**args)
41859
+ @auto_deploy_confidence_threshold = args[:auto_deploy_confidence_threshold] if args.key?(:auto_deploy_confidence_threshold)
41860
+ @auto_deploy_expiration_sec = args[:auto_deploy_expiration_sec] if args.key?(:auto_deploy_expiration_sec)
41861
+ @auto_deploy_impacted_baseline_threshold = args[:auto_deploy_impacted_baseline_threshold] if args.key?(:auto_deploy_impacted_baseline_threshold)
41862
+ @auto_deploy_load_threshold = args[:auto_deploy_load_threshold] if args.key?(:auto_deploy_load_threshold)
41863
+ @name = args[:name] if args.key?(:name)
41742
41864
  end
41743
41865
  end
41744
41866
 
@@ -44604,6 +44726,71 @@ module Google
44604
44726
  end
44605
44727
  end
44606
44728
 
44729
+ #
44730
+ class SnapshotSettings
44731
+ include Google::Apis::Core::Hashable
44732
+
44733
+ # Policy of which storage location is going to be resolved, and additional data
44734
+ # that particularizes how the policy is going to be carried out.
44735
+ # Corresponds to the JSON property `storageLocation`
44736
+ # @return [Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettings]
44737
+ attr_accessor :storage_location
44738
+
44739
+ def initialize(**args)
44740
+ update!(**args)
44741
+ end
44742
+
44743
+ # Update properties of this object
44744
+ def update!(**args)
44745
+ @storage_location = args[:storage_location] if args.key?(:storage_location)
44746
+ end
44747
+ end
44748
+
44749
+ #
44750
+ class SnapshotSettingsStorageLocationSettings
44751
+ include Google::Apis::Core::Hashable
44752
+
44753
+ # When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the
44754
+ # locations listed in this field. Keys are GCS bucket locations.
44755
+ # Corresponds to the JSON property `locations`
44756
+ # @return [Hash<String,Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettingsStorageLocationPreference>]
44757
+ attr_accessor :locations
44758
+
44759
+ # The chosen location policy.
44760
+ # Corresponds to the JSON property `policy`
44761
+ # @return [String]
44762
+ attr_accessor :policy
44763
+
44764
+ def initialize(**args)
44765
+ update!(**args)
44766
+ end
44767
+
44768
+ # Update properties of this object
44769
+ def update!(**args)
44770
+ @locations = args[:locations] if args.key?(:locations)
44771
+ @policy = args[:policy] if args.key?(:policy)
44772
+ end
44773
+ end
44774
+
44775
+ # A structure for specifying storage locations.
44776
+ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
44777
+ include Google::Apis::Core::Hashable
44778
+
44779
+ # Name of the location. It should be one of the GCS buckets.
44780
+ # Corresponds to the JSON property `name`
44781
+ # @return [String]
44782
+ attr_accessor :name
44783
+
44784
+ def initialize(**args)
44785
+ update!(**args)
44786
+ end
44787
+
44788
+ # Update properties of this object
44789
+ def update!(**args)
44790
+ @name = args[:name] if args.key?(:name)
44791
+ end
44792
+ end
44793
+
44607
44794
  #
44608
44795
  class SourceDiskEncryptionKey
44609
44796
  include Google::Apis::Core::Hashable
@@ -46628,7 +46815,7 @@ module Google
46628
46815
  class StoragePoolResourceStatus
46629
46816
  include Google::Apis::Core::Hashable
46630
46817
 
46631
- # [Output Only] Sum of all the disk' provisioned IOPS.
46818
+ # [Output Only] Sum of all the disks' provisioned IOPS.
46632
46819
  # Corresponds to the JSON property `aggregateDiskProvisionedIops`
46633
46820
  # @return [Fixnum]
46634
46821
  attr_accessor :aggregate_disk_provisioned_iops
@@ -46666,6 +46853,11 @@ module Google
46666
46853
  # @return [Fixnum]
46667
46854
  attr_accessor :used_reduced_bytes
46668
46855
 
46856
+ # [Output Only] Sum of all the disks' provisioned throughput in MB/s.
46857
+ # Corresponds to the JSON property `usedThroughput`
46858
+ # @return [Fixnum]
46859
+ attr_accessor :used_throughput
46860
+
46669
46861
  def initialize(**args)
46670
46862
  update!(**args)
46671
46863
  end
@@ -46679,6 +46871,7 @@ module Google
46679
46871
  @number_of_disks = args[:number_of_disks] if args.key?(:number_of_disks)
46680
46872
  @used_bytes = args[:used_bytes] if args.key?(:used_bytes)
46681
46873
  @used_reduced_bytes = args[:used_reduced_bytes] if args.key?(:used_reduced_bytes)
46874
+ @used_throughput = args[:used_throughput] if args.key?(:used_throughput)
46682
46875
  end
46683
46876
  end
46684
46877
 
@@ -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.71.0"
19
+ GEM_VERSION = "0.73.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 = "20230610"
25
+ REVISION = "20230711"
26
26
  end
27
27
  end
28
28
  end
@@ -4252,6 +4252,12 @@ module Google
4252
4252
  include Google::Apis::Core::JsonObjectSupport
4253
4253
  end
4254
4254
 
4255
+ class ProjectsSetManagedProtectionTierRequest
4256
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4257
+
4258
+ include Google::Apis::Core::JsonObjectSupport
4259
+ end
4260
+
4255
4261
  class PublicAdvertisedPrefix
4256
4262
  class Representation < Google::Apis::Core::JsonRepresentation; end
4257
4263
 
@@ -5428,6 +5434,12 @@ module Google
5428
5434
  include Google::Apis::Core::JsonObjectSupport
5429
5435
  end
5430
5436
 
5437
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
5438
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5439
+
5440
+ include Google::Apis::Core::JsonObjectSupport
5441
+ end
5442
+
5431
5443
  class SecurityPolicyAdvancedOptionsConfig
5432
5444
  class Representation < Google::Apis::Core::JsonRepresentation; end
5433
5445
 
@@ -5830,6 +5842,24 @@ module Google
5830
5842
  include Google::Apis::Core::JsonObjectSupport
5831
5843
  end
5832
5844
 
5845
+ class SnapshotSettings
5846
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5847
+
5848
+ include Google::Apis::Core::JsonObjectSupport
5849
+ end
5850
+
5851
+ class SnapshotSettingsStorageLocationSettings
5852
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5853
+
5854
+ include Google::Apis::Core::JsonObjectSupport
5855
+ end
5856
+
5857
+ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
5858
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5859
+
5860
+ include Google::Apis::Core::JsonObjectSupport
5861
+ end
5862
+
5833
5863
  class SourceDiskEncryptionKey
5834
5864
  class Representation < Google::Apis::Core::JsonRepresentation; end
5835
5865
 
@@ -10599,6 +10629,7 @@ module Google
10599
10629
 
10600
10630
  property :description, as: 'description'
10601
10631
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
10632
+ property :enable_confidential_compute, as: 'enableConfidentialCompute'
10602
10633
  property :family, as: 'family'
10603
10634
  collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
10604
10635
 
@@ -10982,6 +11013,7 @@ module Google
10982
11013
  property :abandoning, as: 'abandoning'
10983
11014
  property :creating, as: 'creating'
10984
11015
  property :creating_atomically, as: 'creatingAtomically'
11016
+ property :creating_in_bulk, as: 'creatingInBulk'
10985
11017
  property :creating_without_retries, as: 'creatingWithoutRetries'
10986
11018
  property :deleting, as: 'deleting'
10987
11019
  property :none, as: 'none'
@@ -11221,6 +11253,7 @@ module Google
11221
11253
  # @private
11222
11254
  class Representation < Google::Apis::Core::JsonRepresentation
11223
11255
  property :initial_delay_sec, as: 'initialDelaySec'
11256
+ property :mode, as: 'mode'
11224
11257
  end
11225
11258
  end
11226
11259
 
@@ -11326,6 +11359,7 @@ module Google
11326
11359
  class InstanceGroupManagersDeleteInstancesRequest
11327
11360
  # @private
11328
11361
  class Representation < Google::Apis::Core::JsonRepresentation
11362
+ collection :instance_names, as: 'instanceNames'
11329
11363
  collection :instances, as: 'instances'
11330
11364
  property :skip_instances_on_validation_error, as: 'skipInstancesOnValidationError'
11331
11365
  end
@@ -11765,6 +11799,7 @@ module Google
11765
11799
  # @private
11766
11800
  class Representation < Google::Apis::Core::JsonRepresentation
11767
11801
  property :email, as: 'email'
11802
+ property :fingerprint, :base64 => true, as: 'fingerprint'
11768
11803
  property :kind, as: 'kind'
11769
11804
  property :zone, as: 'zone'
11770
11805
  end
@@ -15235,6 +15270,7 @@ module Google
15235
15270
  collection :enabled_features, as: 'enabledFeatures'
15236
15271
  property :id, :numeric_string => true, as: 'id'
15237
15272
  property :kind, as: 'kind'
15273
+ property :managed_protection_tier, as: 'managedProtectionTier'
15238
15274
  property :name, as: 'name'
15239
15275
  collection :quotas, as: 'quotas', class: Google::Apis::ComputeAlpha::Quota, decorator: Google::Apis::ComputeAlpha::Quota::Representation
15240
15276
 
@@ -15294,6 +15330,13 @@ module Google
15294
15330
  end
15295
15331
  end
15296
15332
 
15333
+ class ProjectsSetManagedProtectionTierRequest
15334
+ # @private
15335
+ class Representation < Google::Apis::Core::JsonRepresentation
15336
+ property :managed_protection_tier, as: 'managedProtectionTier'
15337
+ end
15338
+ end
15339
+
15297
15340
  class PublicAdvertisedPrefix
15298
15341
  # @private
15299
15342
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17435,6 +17478,19 @@ module Google
17435
17478
  class Representation < Google::Apis::Core::JsonRepresentation
17436
17479
  property :enable, as: 'enable'
17437
17480
  property :rule_visibility, as: 'ruleVisibility'
17481
+ collection :threshold_configs, as: 'thresholdConfigs', class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig, decorator: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig::Representation
17482
+
17483
+ end
17484
+ end
17485
+
17486
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
17487
+ # @private
17488
+ class Representation < Google::Apis::Core::JsonRepresentation
17489
+ property :auto_deploy_confidence_threshold, as: 'autoDeployConfidenceThreshold'
17490
+ property :auto_deploy_expiration_sec, as: 'autoDeployExpirationSec'
17491
+ property :auto_deploy_impacted_baseline_threshold, as: 'autoDeployImpactedBaselineThreshold'
17492
+ property :auto_deploy_load_threshold, as: 'autoDeployLoadThreshold'
17493
+ property :name, as: 'name'
17438
17494
  end
17439
17495
  end
17440
17496
 
@@ -18165,6 +18221,30 @@ module Google
18165
18221
  end
18166
18222
  end
18167
18223
 
18224
+ class SnapshotSettings
18225
+ # @private
18226
+ class Representation < Google::Apis::Core::JsonRepresentation
18227
+ property :storage_location, as: 'storageLocation', class: Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettings, decorator: Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettings::Representation
18228
+
18229
+ end
18230
+ end
18231
+
18232
+ class SnapshotSettingsStorageLocationSettings
18233
+ # @private
18234
+ class Representation < Google::Apis::Core::JsonRepresentation
18235
+ hash :locations, as: 'locations', class: Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettingsStorageLocationPreference, decorator: Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettingsStorageLocationPreference::Representation
18236
+
18237
+ property :policy, as: 'policy'
18238
+ end
18239
+ end
18240
+
18241
+ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
18242
+ # @private
18243
+ class Representation < Google::Apis::Core::JsonRepresentation
18244
+ property :name, as: 'name'
18245
+ end
18246
+ end
18247
+
18168
18248
  class SourceDiskEncryptionKey
18169
18249
  # @private
18170
18250
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -18690,6 +18770,7 @@ module Google
18690
18770
  property :number_of_disks, :numeric_string => true, as: 'numberOfDisks'
18691
18771
  property :used_bytes, :numeric_string => true, as: 'usedBytes'
18692
18772
  property :used_reduced_bytes, :numeric_string => true, as: 'usedReducedBytes'
18773
+ property :used_throughput, :numeric_string => true, as: 'usedThroughput'
18693
18774
  end
18694
18775
  end
18695
18776
 
@@ -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
@@ -25714,6 +25715,56 @@ module Google
25714
25715
  execute_or_queue_command(command, &block)
25715
25716
  end
25716
25717
 
25718
+ # Sets the Cloud Armor Managed Protection (CAMP) tier of the project. To set
25719
+ # PLUS or above the billing account of the project must be subscribed to Managed
25720
+ # Protection Plus. See Subscribing to Managed Protection Plus for more
25721
+ # information.
25722
+ # @param [String] project
25723
+ # Project ID for this request.
25724
+ # @param [Google::Apis::ComputeAlpha::ProjectsSetManagedProtectionTierRequest] projects_set_managed_protection_tier_request_object
25725
+ # @param [String] request_id
25726
+ # An optional request ID to identify requests. Specify a unique request ID so
25727
+ # that if you must retry your request, the server will know to ignore the
25728
+ # request if it has already been completed. For example, consider a situation
25729
+ # where you make an initial request and the request times out. If you make the
25730
+ # request again with the same request ID, the server can check if original
25731
+ # operation with the same request ID was received, and if so, will ignore the
25732
+ # second request. This prevents clients from accidentally creating duplicate
25733
+ # commitments. The request ID must be a valid UUID with the exception that zero
25734
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25735
+ # @param [String] fields
25736
+ # Selector specifying which fields to include in a partial response.
25737
+ # @param [String] quota_user
25738
+ # Available to use for quota purposes for server-side applications. Can be any
25739
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
25740
+ # @param [String] user_ip
25741
+ # Legacy name for parameter that has been superseded by `quotaUser`.
25742
+ # @param [Google::Apis::RequestOptions] options
25743
+ # Request-specific options
25744
+ #
25745
+ # @yield [result, err] Result & error if block supplied
25746
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
25747
+ # @yieldparam err [StandardError] error object if request failed
25748
+ #
25749
+ # @return [Google::Apis::ComputeAlpha::Operation]
25750
+ #
25751
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
25752
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
25753
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
25754
+ def set_project_managed_protection_tier(project, projects_set_managed_protection_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
25755
+ command = make_simple_command(:post, 'projects/{project}/setManagedProtectionTier', options)
25756
+ command.request_representation = Google::Apis::ComputeAlpha::ProjectsSetManagedProtectionTierRequest::Representation
25757
+ command.request_object = projects_set_managed_protection_tier_request_object
25758
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
25759
+ command.response_class = Google::Apis::ComputeAlpha::Operation
25760
+ command.params['project'] = project unless project.nil?
25761
+ command.query['requestId'] = request_id unless request_id.nil?
25762
+ command.query['fields'] = fields unless fields.nil?
25763
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
25764
+ command.query['userIp'] = user_ip unless user_ip.nil?
25765
+ execute_or_queue_command(command, &block)
25766
+ end
25767
+
25717
25768
  # Enables the usage export feature and sets the usage export bucket where
25718
25769
  # reports are stored. If you provide an empty request body using this method,
25719
25770
  # the usage export feature will be disabled.
@@ -35083,9 +35134,9 @@ module Google
35083
35134
  end
35084
35135
 
35085
35136
  # Patches the specified policy with the data included in the request. To clear
35086
- # fields in the rule, leave the fields empty and specify them in the updateMask.
35087
- # This cannot be used to be update the rules in the policy. Please use the per
35088
- # rule methods like addRule, patchRule, and removeRule instead.
35137
+ # fields in the policy, leave the fields empty and specify them in the
35138
+ # updateMask. This cannot be used to be update the rules in the policy. Please
35139
+ # use the per rule methods like addRule, patchRule, and removeRule instead.
35089
35140
  # @param [String] project
35090
35141
  # Project ID for this request.
35091
35142
  # @param [String] region
@@ -40175,9 +40226,9 @@ module Google
40175
40226
  end
40176
40227
 
40177
40228
  # Patches the specified policy with the data included in the request. To clear
40178
- # fields in the rule, leave the fields empty and specify them in the updateMask.
40179
- # This cannot be used to be update the rules in the policy. Please use the per
40180
- # rule methods like addRule, patchRule, and removeRule instead.
40229
+ # fields in the policy, leave the fields empty and specify them in the
40230
+ # updateMask. This cannot be used to be update the rules in the policy. Please
40231
+ # use the per rule methods like addRule, patchRule, and removeRule instead.
40181
40232
  # @param [String] project
40182
40233
  # Project ID for this request.
40183
40234
  # @param [String] security_policy
@@ -40232,7 +40283,8 @@ module Google
40232
40283
  execute_or_queue_command(command, &block)
40233
40284
  end
40234
40285
 
40235
- # Patches a rule at the specified priority.
40286
+ # Patches a rule at the specified priority. To clear fields in the rule, leave
40287
+ # the fields empty and specify them in the updateMask.
40236
40288
  # @param [String] project
40237
40289
  # Project ID for this request.
40238
40290
  # @param [String] security_policy
@@ -40910,6 +40962,89 @@ module Google
40910
40962
  execute_or_queue_command(command, &block)
40911
40963
  end
40912
40964
 
40965
+ # Get snapshot settings.
40966
+ # @param [String] project
40967
+ # Project ID for this request.
40968
+ # @param [String] fields
40969
+ # Selector specifying which fields to include in a partial response.
40970
+ # @param [String] quota_user
40971
+ # Available to use for quota purposes for server-side applications. Can be any
40972
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
40973
+ # @param [String] user_ip
40974
+ # Legacy name for parameter that has been superseded by `quotaUser`.
40975
+ # @param [Google::Apis::RequestOptions] options
40976
+ # Request-specific options
40977
+ #
40978
+ # @yield [result, err] Result & error if block supplied
40979
+ # @yieldparam result [Google::Apis::ComputeAlpha::SnapshotSettings] parsed result object
40980
+ # @yieldparam err [StandardError] error object if request failed
40981
+ #
40982
+ # @return [Google::Apis::ComputeAlpha::SnapshotSettings]
40983
+ #
40984
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
40985
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
40986
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
40987
+ def get_snapshot_setting(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
40988
+ command = make_simple_command(:get, 'projects/{project}/global/snapshotSettings', options)
40989
+ command.response_representation = Google::Apis::ComputeAlpha::SnapshotSettings::Representation
40990
+ command.response_class = Google::Apis::ComputeAlpha::SnapshotSettings
40991
+ command.params['project'] = project unless project.nil?
40992
+ command.query['fields'] = fields unless fields.nil?
40993
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
40994
+ command.query['userIp'] = user_ip unless user_ip.nil?
40995
+ execute_or_queue_command(command, &block)
40996
+ end
40997
+
40998
+ # Patch snapshot settings.
40999
+ # @param [String] project
41000
+ # Project ID for this request.
41001
+ # @param [Google::Apis::ComputeAlpha::SnapshotSettings] snapshot_settings_object
41002
+ # @param [String] request_id
41003
+ # An optional request ID to identify requests. Specify a unique request ID so
41004
+ # that if you must retry your request, the server will know to ignore the
41005
+ # request if it has already been completed. For example, consider a situation
41006
+ # where you make an initial request and the request times out. If you make the
41007
+ # request again with the same request ID, the server can check if original
41008
+ # operation with the same request ID was received, and if so, will ignore the
41009
+ # second request. This prevents clients from accidentally creating duplicate
41010
+ # commitments. The request ID must be a valid UUID with the exception that zero
41011
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
41012
+ # @param [String] update_mask
41013
+ # update_mask indicates fields to be updated as part of this request.
41014
+ # @param [String] fields
41015
+ # Selector specifying which fields to include in a partial response.
41016
+ # @param [String] quota_user
41017
+ # Available to use for quota purposes for server-side applications. Can be any
41018
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
41019
+ # @param [String] user_ip
41020
+ # Legacy name for parameter that has been superseded by `quotaUser`.
41021
+ # @param [Google::Apis::RequestOptions] options
41022
+ # Request-specific options
41023
+ #
41024
+ # @yield [result, err] Result & error if block supplied
41025
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
41026
+ # @yieldparam err [StandardError] error object if request failed
41027
+ #
41028
+ # @return [Google::Apis::ComputeAlpha::Operation]
41029
+ #
41030
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
41031
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
41032
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
41033
+ 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)
41034
+ command = make_simple_command(:patch, 'projects/{project}/global/snapshotSettings', options)
41035
+ command.request_representation = Google::Apis::ComputeAlpha::SnapshotSettings::Representation
41036
+ command.request_object = snapshot_settings_object
41037
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
41038
+ command.response_class = Google::Apis::ComputeAlpha::Operation
41039
+ command.params['project'] = project unless project.nil?
41040
+ command.query['requestId'] = request_id unless request_id.nil?
41041
+ command.query['updateMask'] = update_mask unless update_mask.nil?
41042
+ command.query['fields'] = fields unless fields.nil?
41043
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
41044
+ command.query['userIp'] = user_ip unless user_ip.nil?
41045
+ execute_or_queue_command(command, &block)
41046
+ end
41047
+
40913
41048
  # Deletes the specified Snapshot resource. Keep in mind that deleting a single
40914
41049
  # snapshot might not necessarily delete all the data on that snapshot. If any
40915
41050
  # 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.71.0
4
+ version: 0.73.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-25 00:00:00.000000000 Z
11
+ date: 2023-07-16 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.71.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.73.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: []