google-apis-compute_alpha 0.71.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ea4a640e2acef560b7ebb62c848cc373ed488c29620c31112d7de5b421d48d7
|
4
|
+
data.tar.gz: c14b872c2c34d4696f78eaf2c7ebf2dc46baefce24a6baf05f560e695f639bd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d0700f909e18cf64e2417f9c3de94ea3dfb900e8f533826048272bb5cff76818fbb0e7d0a70a4298fb4726079438451dc5038891bcd88628bc63860d061a444
|
7
|
+
data.tar.gz: 668ff46d77c9ce0c5defc98aa1e3dcc8c2c0e48c692e9da8d4e21f11889bbe03fd25fd78baf4891ebace7eacfad989e672ef1e83e14e9def499525c38542b40c
|
data/CHANGELOG.md
CHANGED
@@ -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
|
3891
|
-
#
|
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
|
10226
|
-
#
|
10227
|
-
#
|
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
|
|
@@ -17973,6 +17998,13 @@ module Google
|
|
17973
17998
|
class InstanceGroupManagersDeleteInstancesRequest
|
17974
17999
|
include Google::Apis::Core::Hashable
|
17975
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
|
+
|
17976
18008
|
# The URLs of one or more instances to delete. This can be a full URL or a
|
17977
18009
|
# partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances
|
17978
18010
|
# do not have URL and can be deleted only by name. One cannot specify both URLs
|
@@ -17999,6 +18031,7 @@ module Google
|
|
17999
18031
|
|
18000
18032
|
# Update properties of this object
|
18001
18033
|
def update!(**args)
|
18034
|
+
@instance_names = args[:instance_names] if args.key?(:instance_names)
|
18002
18035
|
@instances = args[:instances] if args.key?(:instances)
|
18003
18036
|
@skip_instances_on_validation_error = args[:skip_instances_on_validation_error] if args.key?(:skip_instances_on_validation_error)
|
18004
18037
|
end
|
@@ -19491,6 +19524,18 @@ module Google
|
|
19491
19524
|
# @return [String]
|
19492
19525
|
attr_accessor :email
|
19493
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
|
+
|
19494
19539
|
# [Output Only] Type of the resource. Always compute#instance_settings for
|
19495
19540
|
# instance settings.
|
19496
19541
|
# Corresponds to the JSON property `kind`
|
@@ -19511,6 +19556,7 @@ module Google
|
|
19511
19556
|
# Update properties of this object
|
19512
19557
|
def update!(**args)
|
19513
19558
|
@email = args[:email] if args.key?(:email)
|
19559
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
19514
19560
|
@kind = args[:kind] if args.key?(:kind)
|
19515
19561
|
@zone = args[:zone] if args.key?(:zone)
|
19516
19562
|
end
|
@@ -21070,10 +21116,11 @@ module Google
|
|
21070
21116
|
attr_accessor :admin_enabled
|
21071
21117
|
alias_method :admin_enabled?, :admin_enabled
|
21072
21118
|
|
21073
|
-
# [Output only] List of features available for this
|
21074
|
-
# one of the following values: - MACSEC If present then the
|
21075
|
-
# created on MACsec capable hardware ports. If not present then
|
21076
|
-
# is provisioned on non-MACsec capable ports and MACsec
|
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.
|
21077
21124
|
# Corresponds to the JSON property `availableFeatures`
|
21078
21125
|
# @return [Array<String>]
|
21079
21126
|
attr_accessor :available_features
|
@@ -21178,14 +21225,14 @@ module Google
|
|
21178
21225
|
# @return [String]
|
21179
21226
|
attr_accessor :location
|
21180
21227
|
|
21181
|
-
# Configuration information for enabling Media Access Control security (
|
21182
|
-
# 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.
|
21183
21230
|
# Corresponds to the JSON property `macsec`
|
21184
21231
|
# @return [Google::Apis::ComputeAlpha::InterconnectMacsec]
|
21185
21232
|
attr_accessor :macsec
|
21186
21233
|
|
21187
|
-
# Enable or disable MACsec on this Interconnect. MACsec enablement
|
21188
|
-
# the
|
21234
|
+
# Enable or disable MACsec on this Interconnect connection. MACsec enablement
|
21235
|
+
# fails if the MACsec object is not specified.
|
21189
21236
|
# Corresponds to the JSON property `macsecEnabled`
|
21190
21237
|
# @return [Boolean]
|
21191
21238
|
attr_accessor :macsec_enabled
|
@@ -21239,13 +21286,12 @@ module Google
|
|
21239
21286
|
# @return [String]
|
21240
21287
|
attr_accessor :remote_location
|
21241
21288
|
|
21242
|
-
# Optional. List of features requested for this
|
21243
|
-
# of the following values: - MACSEC If specified then the
|
21244
|
-
# created on MACsec capable hardware ports. If not
|
21245
|
-
# is false, which will allocate non-MACsec capable
|
21246
|
-
# This parameter can only be provided during
|
21247
|
-
# changed using interconnect PATCH.
|
21248
|
-
# 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.
|
21249
21295
|
# Corresponds to the JSON property `requestedFeatures`
|
21250
21296
|
# @return [Array<String>]
|
21251
21297
|
attr_accessor :requested_features
|
@@ -22194,8 +22240,9 @@ module Google
|
|
22194
22240
|
end
|
22195
22241
|
end
|
22196
22242
|
|
22197
|
-
# Diagnostics information about
|
22198
|
-
# technical information about Google's side of the
|
22243
|
+
# Diagnostics information about the Interconnect connection, which contains
|
22244
|
+
# detailed and current technical information about Google's side of the
|
22245
|
+
# connection.
|
22199
22246
|
class InterconnectDiagnostics
|
22200
22247
|
include Google::Apis::Core::Hashable
|
22201
22248
|
|
@@ -22563,14 +22610,14 @@ module Google
|
|
22563
22610
|
# @return [String]
|
22564
22611
|
attr_accessor :availability_zone
|
22565
22612
|
|
22566
|
-
# [Output only] List of features available at this
|
22613
|
+
# [Output only] List of features available at this InterconnectLocation, which
|
22567
22614
|
# can take one of the following values: - MACSEC
|
22568
22615
|
# Corresponds to the JSON property `availableFeatures`
|
22569
22616
|
# @return [Array<String>]
|
22570
22617
|
attr_accessor :available_features
|
22571
22618
|
|
22572
|
-
# [Output only] List of link types available at this
|
22573
|
-
#
|
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 -
|
22574
22621
|
# LINK_TYPE_ETHERNET_100G_LR
|
22575
22622
|
# Corresponds to the JSON property `availableLinkTypes`
|
22576
22623
|
# @return [Array<String>]
|
@@ -22842,16 +22889,16 @@ module Google
|
|
22842
22889
|
end
|
22843
22890
|
end
|
22844
22891
|
|
22845
|
-
# Configuration information for enabling Media Access Control security (
|
22846
|
-
# 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.
|
22847
22894
|
class InterconnectMacsec
|
22848
22895
|
include Google::Apis::Core::Hashable
|
22849
22896
|
|
22850
|
-
# If set to true, the Interconnect
|
22897
|
+
# If set to true, the Interconnect connection is configured with a should-secure
|
22851
22898
|
# MACsec security policy, that allows the Google router to fallback to cleartext
|
22852
22899
|
# traffic if the MKA session cannot be established. By default, the Interconnect
|
22853
|
-
#
|
22854
|
-
# 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.
|
22855
22902
|
# Corresponds to the JSON property `failOpen`
|
22856
22903
|
# @return [Boolean]
|
22857
22904
|
attr_accessor :fail_open
|
@@ -22876,16 +22923,16 @@ module Google
|
|
22876
22923
|
end
|
22877
22924
|
end
|
22878
22925
|
|
22879
|
-
# MACsec configuration information for the Interconnect. Contains the
|
22880
|
-
# Connectivity Association Key Name (CKN) and the key (CAK) for this
|
22881
|
-
# 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.
|
22882
22929
|
class InterconnectMacsecConfig
|
22883
22930
|
include Google::Apis::Core::Hashable
|
22884
22931
|
|
22885
22932
|
# A keychain placeholder describing a set of named key objects along with their
|
22886
|
-
# start times. A MACsec CKN/CAK
|
22887
|
-
# Google router
|
22888
|
-
#
|
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.
|
22889
22936
|
# Corresponds to the JSON property `preSharedKeys`
|
22890
22937
|
# @return [Array<Google::Apis::ComputeAlpha::InterconnectMacsecConfigPreSharedKey>]
|
22891
22938
|
attr_accessor :pre_shared_keys
|
@@ -23423,8 +23470,9 @@ module Google
|
|
23423
23470
|
class InterconnectsGetDiagnosticsResponse
|
23424
23471
|
include Google::Apis::Core::Hashable
|
23425
23472
|
|
23426
|
-
# Diagnostics information about
|
23427
|
-
# technical information about Google's side of the
|
23473
|
+
# Diagnostics information about the Interconnect connection, which contains
|
23474
|
+
# detailed and current technical information about Google's side of the
|
23475
|
+
# connection.
|
23428
23476
|
# Corresponds to the JSON property `result`
|
23429
23477
|
# @return [Google::Apis::ComputeAlpha::InterconnectDiagnostics]
|
23430
23478
|
attr_accessor :result
|
@@ -23448,9 +23496,9 @@ module Google
|
|
23448
23496
|
# @return [String]
|
23449
23497
|
attr_accessor :etag
|
23450
23498
|
|
23451
|
-
# MACsec configuration information for the Interconnect. Contains the
|
23452
|
-
# Connectivity Association Key Name (CKN) and the key (CAK) for this
|
23453
|
-
# 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.
|
23454
23502
|
# Corresponds to the JSON property `result`
|
23455
23503
|
# @return [Google::Apis::ComputeAlpha::InterconnectMacsecConfig]
|
23456
23504
|
attr_accessor :result
|
@@ -31669,45 +31717,38 @@ module Google
|
|
31669
31717
|
# @return [Google::Apis::ComputeAlpha::Duration]
|
31670
31718
|
attr_accessor :base_ejection_time
|
31671
31719
|
|
31672
|
-
# Number of errors before a
|
31673
|
-
# backend
|
31674
|
-
#
|
31675
|
-
# map that is bound to target gRPC proxy that has validateForProxyless field set
|
31676
|
-
# 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.
|
31677
31723
|
# Corresponds to the JSON property `consecutiveErrors`
|
31678
31724
|
# @return [Fixnum]
|
31679
31725
|
attr_accessor :consecutive_errors
|
31680
31726
|
|
31681
31727
|
# The number of consecutive gateway failures (502, 503, 504 status or connection
|
31682
31728
|
# errors that are mapped to one of those status codes) before a consecutive
|
31683
|
-
# gateway failure ejection occurs. Defaults to 3.
|
31684
|
-
# service is referenced by a URL map that is bound to target gRPC proxy that has
|
31685
|
-
# validateForProxyless field set to true.
|
31729
|
+
# gateway failure ejection occurs. Defaults to 3.
|
31686
31730
|
# Corresponds to the JSON property `consecutiveGatewayFailure`
|
31687
31731
|
# @return [Fixnum]
|
31688
31732
|
attr_accessor :consecutive_gateway_failure
|
31689
31733
|
|
31690
|
-
# The percentage chance that a
|
31734
|
+
# The percentage chance that a backend endpoint will be ejected when an outlier
|
31691
31735
|
# status is detected through consecutive 5xx. This setting can be used to
|
31692
|
-
# disable ejection or to ramp it up slowly. Defaults to 0.
|
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.
|
31736
|
+
# disable ejection or to ramp it up slowly. Defaults to 0.
|
31695
31737
|
# Corresponds to the JSON property `enforcingConsecutiveErrors`
|
31696
31738
|
# @return [Fixnum]
|
31697
31739
|
attr_accessor :enforcing_consecutive_errors
|
31698
31740
|
|
31699
|
-
# The percentage chance that a
|
31741
|
+
# The percentage chance that a backend endpoint will be ejected when an outlier
|
31700
31742
|
# 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.
|
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.
|
31743
|
+
# used to disable ejection or to ramp it up slowly. Defaults to 100.
|
31704
31744
|
# Corresponds to the JSON property `enforcingConsecutiveGatewayFailure`
|
31705
31745
|
# @return [Fixnum]
|
31706
31746
|
attr_accessor :enforcing_consecutive_gateway_failure
|
31707
31747
|
|
31708
|
-
# The percentage chance that a
|
31748
|
+
# The percentage chance that a backend endpoint will be ejected when an outlier
|
31709
31749
|
# 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.
|
31750
|
+
# to disable ejection or to ramp it up slowly. Defaults to 100. Not supported
|
31751
|
+
# when the backend service uses Serverless NEG.
|
31711
31752
|
# Corresponds to the JSON property `enforcingSuccessRate`
|
31712
31753
|
# @return [Fixnum]
|
31713
31754
|
attr_accessor :enforcing_success_rate
|
@@ -31720,25 +31761,29 @@ module Google
|
|
31720
31761
|
# @return [Google::Apis::ComputeAlpha::Duration]
|
31721
31762
|
attr_accessor :interval
|
31722
31763
|
|
31723
|
-
# Maximum percentage of
|
31724
|
-
# that can be ejected
|
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%.
|
31725
31767
|
# Corresponds to the JSON property `maxEjectionPercent`
|
31726
31768
|
# @return [Fixnum]
|
31727
31769
|
attr_accessor :max_ejection_percent
|
31728
31770
|
|
31729
|
-
# The number of
|
31730
|
-
# detect success rate outliers. If the number of
|
31731
|
-
#
|
31732
|
-
#
|
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.
|
31733
31777
|
# Corresponds to the JSON property `successRateMinimumHosts`
|
31734
31778
|
# @return [Fixnum]
|
31735
31779
|
attr_accessor :success_rate_minimum_hosts
|
31736
31780
|
|
31737
31781
|
# The minimum number of total requests that must be collected in one interval (
|
31738
|
-
# as defined by the interval duration above) to include this
|
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
|
31741
|
-
# 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.
|
31742
31787
|
# Corresponds to the JSON property `successRateRequestVolume`
|
31743
31788
|
# @return [Fixnum]
|
31744
31789
|
attr_accessor :success_rate_request_volume
|
@@ -31746,9 +31791,10 @@ module Google
|
|
31746
31791
|
# This factor is used to determine the ejection threshold for success rate
|
31747
31792
|
# outlier ejection. The ejection threshold is the difference between the mean
|
31748
31793
|
# success rate, and the product of this factor and the standard deviation of the
|
31749
|
-
# mean success rate: mean - (stdev *
|
31794
|
+
# mean success rate: mean - (stdev * successRateStdevFactor). This factor is
|
31750
31795
|
# 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.
|
31796
|
+
# the runtime value should be 1900. Defaults to 1900. Not supported when the
|
31797
|
+
# backend service uses Serverless NEG.
|
31752
31798
|
# Corresponds to the JSON property `successRateStdevFactor`
|
31753
31799
|
# @return [Fixnum]
|
31754
31800
|
attr_accessor :success_rate_stdev_factor
|
@@ -33714,7 +33760,7 @@ module Google
|
|
33714
33760
|
# @return [Fixnum]
|
33715
33761
|
attr_accessor :id
|
33716
33762
|
|
33717
|
-
# The
|
33763
|
+
# The IP address range, in CIDR format, represented by this public delegated
|
33718
33764
|
# prefix.
|
33719
33765
|
# Corresponds to the JSON property `ipCidrRange`
|
33720
33766
|
# @return [String]
|
@@ -34063,8 +34109,8 @@ module Google
|
|
34063
34109
|
# @return [String]
|
34064
34110
|
attr_accessor :description
|
34065
34111
|
|
34066
|
-
# The
|
34067
|
-
#
|
34112
|
+
# The IP address range, in CIDR format, represented by this sub public delegated
|
34113
|
+
# prefix.
|
34068
34114
|
# Corresponds to the JSON property `ipCidrRange`
|
34069
34115
|
# @return [String]
|
34070
34116
|
attr_accessor :ip_cidr_range
|
@@ -41731,6 +41777,12 @@ module Google
|
|
41731
41777
|
# @return [String]
|
41732
41778
|
attr_accessor :rule_visibility
|
41733
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
|
+
|
41734
41786
|
def initialize(**args)
|
41735
41787
|
update!(**args)
|
41736
41788
|
end
|
@@ -41739,6 +41791,51 @@ module Google
|
|
41739
41791
|
def update!(**args)
|
41740
41792
|
@enable = args[:enable] if args.key?(:enable)
|
41741
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)
|
41742
41839
|
end
|
41743
41840
|
end
|
41744
41841
|
|
@@ -44604,6 +44701,71 @@ module Google
|
|
44604
44701
|
end
|
44605
44702
|
end
|
44606
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
|
+
|
44607
44769
|
#
|
44608
44770
|
class SourceDiskEncryptionKey
|
44609
44771
|
include Google::Apis::Core::Hashable
|
@@ -46628,7 +46790,7 @@ module Google
|
|
46628
46790
|
class StoragePoolResourceStatus
|
46629
46791
|
include Google::Apis::Core::Hashable
|
46630
46792
|
|
46631
|
-
# [Output Only] Sum of all the
|
46793
|
+
# [Output Only] Sum of all the disks' provisioned IOPS.
|
46632
46794
|
# Corresponds to the JSON property `aggregateDiskProvisionedIops`
|
46633
46795
|
# @return [Fixnum]
|
46634
46796
|
attr_accessor :aggregate_disk_provisioned_iops
|
@@ -46666,6 +46828,11 @@ module Google
|
|
46666
46828
|
# @return [Fixnum]
|
46667
46829
|
attr_accessor :used_reduced_bytes
|
46668
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
|
+
|
46669
46836
|
def initialize(**args)
|
46670
46837
|
update!(**args)
|
46671
46838
|
end
|
@@ -46679,6 +46846,7 @@ module Google
|
|
46679
46846
|
@number_of_disks = args[:number_of_disks] if args.key?(:number_of_disks)
|
46680
46847
|
@used_bytes = args[:used_bytes] if args.key?(:used_bytes)
|
46681
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)
|
46682
46850
|
end
|
46683
46851
|
end
|
46684
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.
|
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 = "
|
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
|
|
@@ -10599,6 +10623,7 @@ module Google
|
|
10599
10623
|
|
10600
10624
|
property :description, as: 'description'
|
10601
10625
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
10626
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
10602
10627
|
property :family, as: 'family'
|
10603
10628
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
|
10604
10629
|
|
@@ -10982,6 +11007,7 @@ module Google
|
|
10982
11007
|
property :abandoning, as: 'abandoning'
|
10983
11008
|
property :creating, as: 'creating'
|
10984
11009
|
property :creating_atomically, as: 'creatingAtomically'
|
11010
|
+
property :creating_in_bulk, as: 'creatingInBulk'
|
10985
11011
|
property :creating_without_retries, as: 'creatingWithoutRetries'
|
10986
11012
|
property :deleting, as: 'deleting'
|
10987
11013
|
property :none, as: 'none'
|
@@ -11221,6 +11247,7 @@ module Google
|
|
11221
11247
|
# @private
|
11222
11248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11223
11249
|
property :initial_delay_sec, as: 'initialDelaySec'
|
11250
|
+
property :mode, as: 'mode'
|
11224
11251
|
end
|
11225
11252
|
end
|
11226
11253
|
|
@@ -11326,6 +11353,7 @@ module Google
|
|
11326
11353
|
class InstanceGroupManagersDeleteInstancesRequest
|
11327
11354
|
# @private
|
11328
11355
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11356
|
+
collection :instance_names, as: 'instanceNames'
|
11329
11357
|
collection :instances, as: 'instances'
|
11330
11358
|
property :skip_instances_on_validation_error, as: 'skipInstancesOnValidationError'
|
11331
11359
|
end
|
@@ -11765,6 +11793,7 @@ module Google
|
|
11765
11793
|
# @private
|
11766
11794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11767
11795
|
property :email, as: 'email'
|
11796
|
+
property :fingerprint, :base64 => true, as: 'fingerprint'
|
11768
11797
|
property :kind, as: 'kind'
|
11769
11798
|
property :zone, as: 'zone'
|
11770
11799
|
end
|
@@ -17435,6 +17464,19 @@ module Google
|
|
17435
17464
|
class Representation < Google::Apis::Core::JsonRepresentation
|
17436
17465
|
property :enable, as: 'enable'
|
17437
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'
|
17438
17480
|
end
|
17439
17481
|
end
|
17440
17482
|
|
@@ -18165,6 +18207,30 @@ module Google
|
|
18165
18207
|
end
|
18166
18208
|
end
|
18167
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
|
+
|
18168
18234
|
class SourceDiskEncryptionKey
|
18169
18235
|
# @private
|
18170
18236
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -18690,6 +18756,7 @@ module Google
|
|
18690
18756
|
property :number_of_disks, :numeric_string => true, as: 'numberOfDisks'
|
18691
18757
|
property :used_bytes, :numeric_string => true, as: 'usedBytes'
|
18692
18758
|
property :used_reduced_bytes, :numeric_string => true, as: 'usedReducedBytes'
|
18759
|
+
property :used_throughput, :numeric_string => true, as: 'usedThroughput'
|
18693
18760
|
end
|
18694
18761
|
end
|
18695
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.
|
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-
|
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.
|
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: []
|