google-apis-compute_alpha 0.67.0 → 0.68.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: 3d7f296fdb90aad7628aaf2ed2e224a16113d1274070dd01b1ee1b9b105e7ced
|
4
|
+
data.tar.gz: 802071679beea9ee11aa2f799c53e7371fb104f82a60a06f415b518828dabc1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1ba26d71a2d15c6c6b4add020c2d1eb9fd6869a1a5de0b91c87437d5860e59187b3b64c562cff99f9b134d5a848bca423251cea653cadcde40a170db30090a6
|
7
|
+
data.tar.gz: 62b4bce4dcb26d7876a2fa28fa87936cdbb97233dbd91d95fda69ece4cb2a26faa74df86e66c711f5741599b845edbf3357c5e9ff44c0b092f0728f9a22f78fa
|
data/CHANGELOG.md
CHANGED
@@ -1263,6 +1263,11 @@ module Google
|
|
1263
1263
|
# @return [String]
|
1264
1264
|
attr_accessor :vm_family
|
1265
1265
|
|
1266
|
+
# The workload type of the instances that will target this reservation.
|
1267
|
+
# Corresponds to the JSON property `workloadType`
|
1268
|
+
# @return [String]
|
1269
|
+
attr_accessor :workload_type
|
1270
|
+
|
1266
1271
|
def initialize(**args)
|
1267
1272
|
update!(**args)
|
1268
1273
|
end
|
@@ -1272,6 +1277,7 @@ module Google
|
|
1272
1277
|
@in_use_resources = args[:in_use_resources] if args.key?(:in_use_resources)
|
1273
1278
|
@reserved_resources = args[:reserved_resources] if args.key?(:reserved_resources)
|
1274
1279
|
@vm_family = args[:vm_family] if args.key?(:vm_family)
|
1280
|
+
@workload_type = args[:workload_type] if args.key?(:workload_type)
|
1275
1281
|
end
|
1276
1282
|
end
|
1277
1283
|
|
@@ -1736,8 +1742,7 @@ module Google
|
|
1736
1742
|
# @return [String]
|
1737
1743
|
attr_accessor :disk_type
|
1738
1744
|
|
1739
|
-
# Whether this disk is using confidential compute mode.
|
1740
|
-
# in-arcus for details.
|
1745
|
+
# Whether this disk is using confidential compute mode.
|
1741
1746
|
# Corresponds to the JSON property `enableConfidentialCompute`
|
1742
1747
|
# @return [Boolean]
|
1743
1748
|
attr_accessor :enable_confidential_compute
|
@@ -2619,13 +2624,16 @@ module Google
|
|
2619
2624
|
class AutoscalingPolicy
|
2620
2625
|
include Google::Apis::Core::Hashable
|
2621
2626
|
|
2622
|
-
# The number of seconds that
|
2623
|
-
#
|
2624
|
-
#
|
2625
|
-
#
|
2626
|
-
#
|
2627
|
-
#
|
2628
|
-
#
|
2627
|
+
# The number of seconds that your application takes to initialize on a VM
|
2628
|
+
# instance. This is referred to as the [initialization period](/compute/docs/
|
2629
|
+
# autoscaler#cool_down_period). Specifying an accurate initialization period
|
2630
|
+
# improves autoscaler decisions. For example, when scaling out, the autoscaler
|
2631
|
+
# ignores data from VMs that are still initializing because those VMs might not
|
2632
|
+
# yet represent normal usage of your application. The default initialization
|
2633
|
+
# period is 60 seconds. Initialization periods might vary because of numerous
|
2634
|
+
# factors. We recommend that you test how long your application takes to
|
2635
|
+
# initialize. To do this, create a VM and time your application's startup
|
2636
|
+
# process.
|
2629
2637
|
# Corresponds to the JSON property `coolDownPeriodSec`
|
2630
2638
|
# @return [Fixnum]
|
2631
2639
|
attr_accessor :cool_down_period_sec
|
@@ -2659,7 +2667,11 @@ module Google
|
|
2659
2667
|
# @return [Fixnum]
|
2660
2668
|
attr_accessor :min_num_replicas
|
2661
2669
|
|
2662
|
-
# Defines operating mode for this policy.
|
2670
|
+
# Defines the operating mode for this policy. The following modes are available:
|
2671
|
+
# - OFF: Disables the autoscaler but maintains its configuration. -
|
2672
|
+
# ONLY_SCALE_OUT: Restricts the autoscaler to add VM instances only. - ON:
|
2673
|
+
# Enables all autoscaler activities according to its policy. For more
|
2674
|
+
# information, see "Turning off or restricting an autoscaler"
|
2663
2675
|
# Corresponds to the JSON property `mode`
|
2664
2676
|
# @return [String]
|
2665
2677
|
attr_accessor :mode
|
@@ -5816,6 +5828,11 @@ module Google
|
|
5816
5828
|
# @return [Array<Google::Apis::ComputeAlpha::Reservation>]
|
5817
5829
|
attr_accessor :reservations
|
5818
5830
|
|
5831
|
+
# [Output Only] Contains output only fields.
|
5832
|
+
# Corresponds to the JSON property `resourceStatus`
|
5833
|
+
# @return [Google::Apis::ComputeAlpha::CommitmentResourceStatus]
|
5834
|
+
attr_accessor :resource_status
|
5835
|
+
|
5819
5836
|
# A list of commitment amounts for particular resources. Note that VCPU and
|
5820
5837
|
# MEMORY resource commitments must occur together.
|
5821
5838
|
# Corresponds to the JSON property `resources`
|
@@ -5881,6 +5898,7 @@ module Google
|
|
5881
5898
|
@plan = args[:plan] if args.key?(:plan)
|
5882
5899
|
@region = args[:region] if args.key?(:region)
|
5883
5900
|
@reservations = args[:reservations] if args.key?(:reservations)
|
5901
|
+
@resource_status = args[:resource_status] if args.key?(:resource_status)
|
5884
5902
|
@resources = args[:resources] if args.key?(:resources)
|
5885
5903
|
@self_link = args[:self_link] if args.key?(:self_link)
|
5886
5904
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
@@ -6134,6 +6152,70 @@ module Google
|
|
6134
6152
|
end
|
6135
6153
|
end
|
6136
6154
|
|
6155
|
+
# [Output Only] Contains output only fields.
|
6156
|
+
class CommitmentResourceStatus
|
6157
|
+
include Google::Apis::Core::Hashable
|
6158
|
+
|
6159
|
+
# [Output Only] An optional, contains all the needed information of cancellation.
|
6160
|
+
# Corresponds to the JSON property `cancellationInformation`
|
6161
|
+
# @return [Google::Apis::ComputeAlpha::CommitmentResourceStatusCancellationInformation]
|
6162
|
+
attr_accessor :cancellation_information
|
6163
|
+
|
6164
|
+
def initialize(**args)
|
6165
|
+
update!(**args)
|
6166
|
+
end
|
6167
|
+
|
6168
|
+
# Update properties of this object
|
6169
|
+
def update!(**args)
|
6170
|
+
@cancellation_information = args[:cancellation_information] if args.key?(:cancellation_information)
|
6171
|
+
end
|
6172
|
+
end
|
6173
|
+
|
6174
|
+
#
|
6175
|
+
class CommitmentResourceStatusCancellationInformation
|
6176
|
+
include Google::Apis::Core::Hashable
|
6177
|
+
|
6178
|
+
# Represents an amount of money with its currency type.
|
6179
|
+
# Corresponds to the JSON property `canceledCommitment`
|
6180
|
+
# @return [Google::Apis::ComputeAlpha::Money]
|
6181
|
+
attr_accessor :canceled_commitment
|
6182
|
+
|
6183
|
+
# [Output Only] An optional last update time of canceled_commitment. RFC3339
|
6184
|
+
# text format.
|
6185
|
+
# Corresponds to the JSON property `canceledCommitmentLastUpdatedTimestamp`
|
6186
|
+
# @return [String]
|
6187
|
+
attr_accessor :canceled_commitment_last_updated_timestamp
|
6188
|
+
|
6189
|
+
# Represents an amount of money with its currency type.
|
6190
|
+
# Corresponds to the JSON property `cancellationCap`
|
6191
|
+
# @return [Google::Apis::ComputeAlpha::Money]
|
6192
|
+
attr_accessor :cancellation_cap
|
6193
|
+
|
6194
|
+
# Represents an amount of money with its currency type.
|
6195
|
+
# Corresponds to the JSON property `cancellationFee`
|
6196
|
+
# @return [Google::Apis::ComputeAlpha::Money]
|
6197
|
+
attr_accessor :cancellation_fee
|
6198
|
+
|
6199
|
+
# [Output Only] An optional, cancellation fee expiration time. RFC3339 text
|
6200
|
+
# format.
|
6201
|
+
# Corresponds to the JSON property `cancellationFeeExpirationTimestamp`
|
6202
|
+
# @return [String]
|
6203
|
+
attr_accessor :cancellation_fee_expiration_timestamp
|
6204
|
+
|
6205
|
+
def initialize(**args)
|
6206
|
+
update!(**args)
|
6207
|
+
end
|
6208
|
+
|
6209
|
+
# Update properties of this object
|
6210
|
+
def update!(**args)
|
6211
|
+
@canceled_commitment = args[:canceled_commitment] if args.key?(:canceled_commitment)
|
6212
|
+
@canceled_commitment_last_updated_timestamp = args[:canceled_commitment_last_updated_timestamp] if args.key?(:canceled_commitment_last_updated_timestamp)
|
6213
|
+
@cancellation_cap = args[:cancellation_cap] if args.key?(:cancellation_cap)
|
6214
|
+
@cancellation_fee = args[:cancellation_fee] if args.key?(:cancellation_fee)
|
6215
|
+
@cancellation_fee_expiration_timestamp = args[:cancellation_fee_expiration_timestamp] if args.key?(:cancellation_fee_expiration_timestamp)
|
6216
|
+
end
|
6217
|
+
end
|
6218
|
+
|
6137
6219
|
#
|
6138
6220
|
class CommitmentsScopedList
|
6139
6221
|
include Google::Apis::Core::Hashable
|
@@ -6756,8 +6838,7 @@ module Google
|
|
6756
6838
|
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
6757
6839
|
attr_accessor :disk_encryption_key
|
6758
6840
|
|
6759
|
-
# Whether this disk is using confidential compute mode.
|
6760
|
-
# in-arcus for details.
|
6841
|
+
# Whether this disk is using confidential compute mode.
|
6761
6842
|
# Corresponds to the JSON property `enableConfidentialCompute`
|
6762
6843
|
# @return [Boolean]
|
6763
6844
|
attr_accessor :enable_confidential_compute
|
@@ -7604,6 +7685,12 @@ module Google
|
|
7604
7685
|
# @return [Hash<String,Google::Apis::ComputeAlpha::DiskResourceStatusAsyncReplicationStatus>]
|
7605
7686
|
attr_accessor :async_secondary_disks
|
7606
7687
|
|
7688
|
+
# [Output Only] Space used by data stored in the disk (in bytes). Note that this
|
7689
|
+
# field is set only when the disk is in a storage pool.
|
7690
|
+
# Corresponds to the JSON property `usedBytes`
|
7691
|
+
# @return [Fixnum]
|
7692
|
+
attr_accessor :used_bytes
|
7693
|
+
|
7607
7694
|
def initialize(**args)
|
7608
7695
|
update!(**args)
|
7609
7696
|
end
|
@@ -7612,6 +7699,7 @@ module Google
|
|
7612
7699
|
def update!(**args)
|
7613
7700
|
@async_primary_disk = args[:async_primary_disk] if args.key?(:async_primary_disk)
|
7614
7701
|
@async_secondary_disks = args[:async_secondary_disks] if args.key?(:async_secondary_disks)
|
7702
|
+
@used_bytes = args[:used_bytes] if args.key?(:used_bytes)
|
7615
7703
|
end
|
7616
7704
|
end
|
7617
7705
|
|
@@ -11925,8 +12013,8 @@ module Google
|
|
11925
12013
|
# The ID of a supported feature. To add multiple values, use commas to separate
|
11926
12014
|
# values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
|
11927
12015
|
# WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE -
|
11928
|
-
# SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE
|
11929
|
-
#
|
12016
|
+
# SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more
|
12017
|
+
# information, see Enabling guest operating system features.
|
11930
12018
|
# Corresponds to the JSON property `type`
|
11931
12019
|
# @return [String]
|
11932
12020
|
attr_accessor :type
|
@@ -16746,12 +16834,13 @@ module Google
|
|
16746
16834
|
# @return [String]
|
16747
16835
|
attr_accessor :health_check
|
16748
16836
|
|
16749
|
-
# The number of seconds that
|
16750
|
-
#
|
16751
|
-
#
|
16752
|
-
#
|
16753
|
-
#
|
16754
|
-
#
|
16837
|
+
# The initial delay is the number of seconds that a new VM takes to initialize
|
16838
|
+
# and run its startup script. During a VM's initial delay period, the MIG
|
16839
|
+
# ignores unsuccessful health checks because the VM might be in the startup
|
16840
|
+
# process. This prevents the MIG from prematurely recreating a VM. If the health
|
16841
|
+
# check receives a healthy response during the initial delay, it indicates that
|
16842
|
+
# the startup process is complete and the VM is ready. The value of initial
|
16843
|
+
# delay must be between 0 and 3600 seconds. The default value is 0.
|
16755
16844
|
# Corresponds to the JSON property `initialDelaySec`
|
16756
16845
|
# @return [Fixnum]
|
16757
16846
|
attr_accessor :initial_delay_sec
|
@@ -25567,6 +25656,42 @@ module Google
|
|
25567
25656
|
end
|
25568
25657
|
end
|
25569
25658
|
|
25659
|
+
# Represents an amount of money with its currency type.
|
25660
|
+
class Money
|
25661
|
+
include Google::Apis::Core::Hashable
|
25662
|
+
|
25663
|
+
# The three-letter currency code defined in ISO 4217.
|
25664
|
+
# Corresponds to the JSON property `currencyCode`
|
25665
|
+
# @return [String]
|
25666
|
+
attr_accessor :currency_code
|
25667
|
+
|
25668
|
+
# Number of nano (10^-9) units of the amount. The value must be between -999,999,
|
25669
|
+
# 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
|
25670
|
+
# positive or zero. If `units` is zero, `nanos` can be positive, zero, or
|
25671
|
+
# negative. If `units` is negative, `nanos` must be negative or zero. For
|
25672
|
+
# example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
|
25673
|
+
# Corresponds to the JSON property `nanos`
|
25674
|
+
# @return [Fixnum]
|
25675
|
+
attr_accessor :nanos
|
25676
|
+
|
25677
|
+
# The whole units of the amount. For example if `currencyCode` is `"USD"`, then
|
25678
|
+
# 1 unit is one US dollar.
|
25679
|
+
# Corresponds to the JSON property `units`
|
25680
|
+
# @return [Fixnum]
|
25681
|
+
attr_accessor :units
|
25682
|
+
|
25683
|
+
def initialize(**args)
|
25684
|
+
update!(**args)
|
25685
|
+
end
|
25686
|
+
|
25687
|
+
# Update properties of this object
|
25688
|
+
def update!(**args)
|
25689
|
+
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
25690
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
25691
|
+
@units = args[:units] if args.key?(:units)
|
25692
|
+
end
|
25693
|
+
end
|
25694
|
+
|
25570
25695
|
# [Deprecated] Configuration for the mutual Tls mode for peer authentication.
|
25571
25696
|
# Configuration for the mutual Tls mode for peer authentication.
|
25572
25697
|
class MutualTls
|
@@ -26098,8 +26223,8 @@ module Google
|
|
26098
26223
|
class NetworkAttachmentConnectedEndpoint
|
26099
26224
|
include Google::Apis::Core::Hashable
|
26100
26225
|
|
26101
|
-
# The
|
26102
|
-
# will be a range in case of Serverless.
|
26226
|
+
# The IPv4 address assigned to the producer instance network interface. This
|
26227
|
+
# value will be a range in case of Serverless.
|
26103
26228
|
# Corresponds to the JSON property `ipAddress`
|
26104
26229
|
# @return [String]
|
26105
26230
|
attr_accessor :ip_address
|
@@ -30790,8 +30915,7 @@ module Google
|
|
30790
30915
|
attr_accessor :self_link_with_id
|
30791
30916
|
|
30792
30917
|
# Encapsulates partial completion metadata for SetCommonInstanceMetadata. Will
|
30793
|
-
# be propagated on Operation.metadata
|
30794
|
-
# See go/gce-aips/2822 for API council results.
|
30918
|
+
# be propagated on Operation.metadata.
|
30795
30919
|
# Corresponds to the JSON property `setCommonInstanceMetadataOperationMetadata`
|
30796
30920
|
# @return [Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadata]
|
30797
30921
|
attr_accessor :set_common_instance_metadata_operation_metadata
|
@@ -41996,6 +42120,12 @@ module Google
|
|
41996
42120
|
# @return [Google::Apis::ComputeAlpha::Expr]
|
41997
42121
|
attr_accessor :expr
|
41998
42122
|
|
42123
|
+
# The configuration options available when specifying a user defined CEVAL
|
42124
|
+
# expression (i.e., 'expr').
|
42125
|
+
# Corresponds to the JSON property `exprOptions`
|
42126
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherExprOptions]
|
42127
|
+
attr_accessor :expr_options
|
42128
|
+
|
41999
42129
|
# Preconfigured versioned expression. If this field is specified, config must
|
42000
42130
|
# also be specified. Available preconfigured expressions along with their
|
42001
42131
|
# requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range
|
@@ -42012,6 +42142,7 @@ module Google
|
|
42012
42142
|
def update!(**args)
|
42013
42143
|
@config = args[:config] if args.key?(:config)
|
42014
42144
|
@expr = args[:expr] if args.key?(:expr)
|
42145
|
+
@expr_options = args[:expr_options] if args.key?(:expr_options)
|
42015
42146
|
@versioned_expr = args[:versioned_expr] if args.key?(:versioned_expr)
|
42016
42147
|
end
|
42017
42148
|
end
|
@@ -42120,6 +42251,55 @@ module Google
|
|
42120
42251
|
end
|
42121
42252
|
end
|
42122
42253
|
|
42254
|
+
#
|
42255
|
+
class SecurityPolicyRuleMatcherExprOptions
|
42256
|
+
include Google::Apis::Core::Hashable
|
42257
|
+
|
42258
|
+
# reCAPTCHA configuration options to be applied for the rule. If the rule does
|
42259
|
+
# not evaluate reCAPTCHA tokens, this field will have no effect.
|
42260
|
+
# Corresponds to the JSON property `recaptchaOptions`
|
42261
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions]
|
42262
|
+
attr_accessor :recaptcha_options
|
42263
|
+
|
42264
|
+
def initialize(**args)
|
42265
|
+
update!(**args)
|
42266
|
+
end
|
42267
|
+
|
42268
|
+
# Update properties of this object
|
42269
|
+
def update!(**args)
|
42270
|
+
@recaptcha_options = args[:recaptcha_options] if args.key?(:recaptcha_options)
|
42271
|
+
end
|
42272
|
+
end
|
42273
|
+
|
42274
|
+
#
|
42275
|
+
class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
|
42276
|
+
include Google::Apis::Core::Hashable
|
42277
|
+
|
42278
|
+
# A list of site keys to be used during the validation of reCAPTCHA action-
|
42279
|
+
# tokens. The provided site keys need to be created from reCAPTCHA API under the
|
42280
|
+
# same project where the security policy is created.
|
42281
|
+
# Corresponds to the JSON property `actionTokenSiteKeys`
|
42282
|
+
# @return [Array<String>]
|
42283
|
+
attr_accessor :action_token_site_keys
|
42284
|
+
|
42285
|
+
# A list of site keys to be used during the validation of reCAPTCHA session-
|
42286
|
+
# tokens. The provided site keys need to be created from reCAPTCHA API under the
|
42287
|
+
# same project where the security policy is created.
|
42288
|
+
# Corresponds to the JSON property `sessionTokenSiteKeys`
|
42289
|
+
# @return [Array<String>]
|
42290
|
+
attr_accessor :session_token_site_keys
|
42291
|
+
|
42292
|
+
def initialize(**args)
|
42293
|
+
update!(**args)
|
42294
|
+
end
|
42295
|
+
|
42296
|
+
# Update properties of this object
|
42297
|
+
def update!(**args)
|
42298
|
+
@action_token_site_keys = args[:action_token_site_keys] if args.key?(:action_token_site_keys)
|
42299
|
+
@session_token_site_keys = args[:session_token_site_keys] if args.key?(:session_token_site_keys)
|
42300
|
+
end
|
42301
|
+
end
|
42302
|
+
|
42123
42303
|
# Represents a match condition that incoming network traffic is evaluated
|
42124
42304
|
# against.
|
42125
42305
|
class SecurityPolicyRuleNetworkMatcher
|
@@ -42633,7 +42813,7 @@ module Google
|
|
42633
42813
|
# describes how clients should authenticate with this service's backends.
|
42634
42814
|
# clientTlsPolicy only applies to a global BackendService with the
|
42635
42815
|
# loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank,
|
42636
|
-
# communications are not encrypted.
|
42816
|
+
# communications are not encrypted.
|
42637
42817
|
# Corresponds to the JSON property `clientTlsPolicy`
|
42638
42818
|
# @return [String]
|
42639
42819
|
attr_accessor :client_tls_policy
|
@@ -42655,7 +42835,7 @@ module Google
|
|
42655
42835
|
# provisions server identities. Only applies to a global BackendService with
|
42656
42836
|
# loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when
|
42657
42837
|
# BackendService has an attached clientTlsPolicy with clientCertificate (mTLS
|
42658
|
-
# mode).
|
42838
|
+
# mode).
|
42659
42839
|
# Corresponds to the JSON property `subjectAltNames`
|
42660
42840
|
# @return [Array<String>]
|
42661
42841
|
attr_accessor :subject_alt_names
|
@@ -43412,8 +43592,7 @@ module Google
|
|
43412
43592
|
end
|
43413
43593
|
|
43414
43594
|
# Encapsulates partial completion metadata for SetCommonInstanceMetadata. Will
|
43415
|
-
# be propagated on Operation.metadata
|
43416
|
-
# See go/gce-aips/2822 for API council results.
|
43595
|
+
# be propagated on Operation.metadata.
|
43417
43596
|
class SetCommonInstanceMetadataOperationMetadata
|
43418
43597
|
include Google::Apis::Core::Hashable
|
43419
43598
|
|
@@ -43875,9 +44054,8 @@ module Google
|
|
43875
44054
|
# @return [Fixnum]
|
43876
44055
|
attr_accessor :download_bytes
|
43877
44056
|
|
43878
|
-
# Whether this snapshot is created from a confidential compute mode disk.
|
43879
|
-
#
|
43880
|
-
# by user, but from source disk.
|
44057
|
+
# Whether this snapshot is created from a confidential compute mode disk. [
|
44058
|
+
# Output Only]: This field is not set by user, but from source disk.
|
43881
44059
|
# Corresponds to the JSON property `enableConfidentialCompute`
|
43882
44060
|
# @return [Boolean]
|
43883
44061
|
attr_accessor :enable_confidential_compute
|
@@ -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.68.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 = "20230516"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -694,6 +694,18 @@ module Google
|
|
694
694
|
include Google::Apis::Core::JsonObjectSupport
|
695
695
|
end
|
696
696
|
|
697
|
+
class CommitmentResourceStatus
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
|
+
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
701
|
+
end
|
702
|
+
|
703
|
+
class CommitmentResourceStatusCancellationInformation
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
|
+
|
706
|
+
include Google::Apis::Core::JsonObjectSupport
|
707
|
+
end
|
708
|
+
|
697
709
|
class CommitmentsScopedList
|
698
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
711
|
|
@@ -3196,6 +3208,12 @@ module Google
|
|
3196
3208
|
include Google::Apis::Core::JsonObjectSupport
|
3197
3209
|
end
|
3198
3210
|
|
3211
|
+
class Money
|
3212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3213
|
+
|
3214
|
+
include Google::Apis::Core::JsonObjectSupport
|
3215
|
+
end
|
3216
|
+
|
3199
3217
|
class MutualTls
|
3200
3218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3201
3219
|
|
@@ -5506,6 +5524,18 @@ module Google
|
|
5506
5524
|
include Google::Apis::Core::JsonObjectSupport
|
5507
5525
|
end
|
5508
5526
|
|
5527
|
+
class SecurityPolicyRuleMatcherExprOptions
|
5528
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5529
|
+
|
5530
|
+
include Google::Apis::Core::JsonObjectSupport
|
5531
|
+
end
|
5532
|
+
|
5533
|
+
class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
|
5534
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5535
|
+
|
5536
|
+
include Google::Apis::Core::JsonObjectSupport
|
5537
|
+
end
|
5538
|
+
|
5509
5539
|
class SecurityPolicyRuleNetworkMatcher
|
5510
5540
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5511
5541
|
|
@@ -7432,6 +7462,7 @@ module Google
|
|
7432
7462
|
collection :reserved_resources, as: 'reservedResources', class: Google::Apis::ComputeAlpha::AllocationAggregateReservationReservedResourceInfo, decorator: Google::Apis::ComputeAlpha::AllocationAggregateReservationReservedResourceInfo::Representation
|
7433
7463
|
|
7434
7464
|
property :vm_family, as: 'vmFamily'
|
7465
|
+
property :workload_type, as: 'workloadType'
|
7435
7466
|
end
|
7436
7467
|
end
|
7437
7468
|
|
@@ -8414,6 +8445,8 @@ module Google
|
|
8414
8445
|
property :region, as: 'region'
|
8415
8446
|
collection :reservations, as: 'reservations', class: Google::Apis::ComputeAlpha::Reservation, decorator: Google::Apis::ComputeAlpha::Reservation::Representation
|
8416
8447
|
|
8448
|
+
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeAlpha::CommitmentResourceStatus, decorator: Google::Apis::ComputeAlpha::CommitmentResourceStatus::Representation
|
8449
|
+
|
8417
8450
|
collection :resources, as: 'resources', class: Google::Apis::ComputeAlpha::ResourceCommitment, decorator: Google::Apis::ComputeAlpha::ResourceCommitment::Representation
|
8418
8451
|
|
8419
8452
|
property :self_link, as: 'selfLink'
|
@@ -8491,6 +8524,28 @@ module Google
|
|
8491
8524
|
end
|
8492
8525
|
end
|
8493
8526
|
|
8527
|
+
class CommitmentResourceStatus
|
8528
|
+
# @private
|
8529
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8530
|
+
property :cancellation_information, as: 'cancellationInformation', class: Google::Apis::ComputeAlpha::CommitmentResourceStatusCancellationInformation, decorator: Google::Apis::ComputeAlpha::CommitmentResourceStatusCancellationInformation::Representation
|
8531
|
+
|
8532
|
+
end
|
8533
|
+
end
|
8534
|
+
|
8535
|
+
class CommitmentResourceStatusCancellationInformation
|
8536
|
+
# @private
|
8537
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8538
|
+
property :canceled_commitment, as: 'canceledCommitment', class: Google::Apis::ComputeAlpha::Money, decorator: Google::Apis::ComputeAlpha::Money::Representation
|
8539
|
+
|
8540
|
+
property :canceled_commitment_last_updated_timestamp, as: 'canceledCommitmentLastUpdatedTimestamp'
|
8541
|
+
property :cancellation_cap, as: 'cancellationCap', class: Google::Apis::ComputeAlpha::Money, decorator: Google::Apis::ComputeAlpha::Money::Representation
|
8542
|
+
|
8543
|
+
property :cancellation_fee, as: 'cancellationFee', class: Google::Apis::ComputeAlpha::Money, decorator: Google::Apis::ComputeAlpha::Money::Representation
|
8544
|
+
|
8545
|
+
property :cancellation_fee_expiration_timestamp, as: 'cancellationFeeExpirationTimestamp'
|
8546
|
+
end
|
8547
|
+
end
|
8548
|
+
|
8494
8549
|
class CommitmentsScopedList
|
8495
8550
|
# @private
|
8496
8551
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8814,6 +8869,7 @@ module Google
|
|
8814
8869
|
|
8815
8870
|
hash :async_secondary_disks, as: 'asyncSecondaryDisks', class: Google::Apis::ComputeAlpha::DiskResourceStatusAsyncReplicationStatus, decorator: Google::Apis::ComputeAlpha::DiskResourceStatusAsyncReplicationStatus::Representation
|
8816
8871
|
|
8872
|
+
property :used_bytes, :numeric_string => true, as: 'usedBytes'
|
8817
8873
|
end
|
8818
8874
|
end
|
8819
8875
|
|
@@ -13240,6 +13296,15 @@ module Google
|
|
13240
13296
|
end
|
13241
13297
|
end
|
13242
13298
|
|
13299
|
+
class Money
|
13300
|
+
# @private
|
13301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13302
|
+
property :currency_code, as: 'currencyCode'
|
13303
|
+
property :nanos, as: 'nanos'
|
13304
|
+
property :units, :numeric_string => true, as: 'units'
|
13305
|
+
end
|
13306
|
+
end
|
13307
|
+
|
13243
13308
|
class MutualTls
|
13244
13309
|
# @private
|
13245
13310
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -17450,6 +17515,8 @@ module Google
|
|
17450
17515
|
|
17451
17516
|
property :expr, as: 'expr', class: Google::Apis::ComputeAlpha::Expr, decorator: Google::Apis::ComputeAlpha::Expr::Representation
|
17452
17517
|
|
17518
|
+
property :expr_options, as: 'exprOptions', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherExprOptions, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherExprOptions::Representation
|
17519
|
+
|
17453
17520
|
property :versioned_expr, as: 'versionedExpr'
|
17454
17521
|
end
|
17455
17522
|
end
|
@@ -17482,6 +17549,22 @@ module Google
|
|
17482
17549
|
end
|
17483
17550
|
end
|
17484
17551
|
|
17552
|
+
class SecurityPolicyRuleMatcherExprOptions
|
17553
|
+
# @private
|
17554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
17555
|
+
property :recaptcha_options, as: 'recaptchaOptions', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions::Representation
|
17556
|
+
|
17557
|
+
end
|
17558
|
+
end
|
17559
|
+
|
17560
|
+
class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
|
17561
|
+
# @private
|
17562
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
17563
|
+
collection :action_token_site_keys, as: 'actionTokenSiteKeys'
|
17564
|
+
collection :session_token_site_keys, as: 'sessionTokenSiteKeys'
|
17565
|
+
end
|
17566
|
+
end
|
17567
|
+
|
17485
17568
|
class SecurityPolicyRuleNetworkMatcher
|
17486
17569
|
# @private
|
17487
17570
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -27465,6 +27465,106 @@ module Google
|
|
27465
27465
|
execute_or_queue_command(command, &block)
|
27466
27466
|
end
|
27467
27467
|
|
27468
|
+
# Calculate cancellation fee for the specified commitment.
|
27469
|
+
# @param [String] project
|
27470
|
+
# Project ID for this request.
|
27471
|
+
# @param [String] region
|
27472
|
+
# Name of the region for this request.
|
27473
|
+
# @param [String] commitment
|
27474
|
+
# Name of the commitment to delete.
|
27475
|
+
# @param [String] request_id
|
27476
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
27477
|
+
# that if you must retry your request, the server will know to ignore the
|
27478
|
+
# request if it has already been completed. For example, consider a situation
|
27479
|
+
# where you make an initial request and the request times out. If you make the
|
27480
|
+
# request again with the same request ID, the server can check if original
|
27481
|
+
# operation with the same request ID was received, and if so, will ignore the
|
27482
|
+
# second request. This prevents clients from accidentally creating duplicate
|
27483
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
27484
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
27485
|
+
# @param [String] fields
|
27486
|
+
# Selector specifying which fields to include in a partial response.
|
27487
|
+
# @param [String] quota_user
|
27488
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
27489
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
27490
|
+
# @param [String] user_ip
|
27491
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
27492
|
+
# @param [Google::Apis::RequestOptions] options
|
27493
|
+
# Request-specific options
|
27494
|
+
#
|
27495
|
+
# @yield [result, err] Result & error if block supplied
|
27496
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
27497
|
+
# @yieldparam err [StandardError] error object if request failed
|
27498
|
+
#
|
27499
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
27500
|
+
#
|
27501
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
27502
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
27503
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
27504
|
+
def calculate_region_commitment_cancellation_fee(project, region, commitment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
27505
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/commitments/{commitment}/calculateCancellationFee', options)
|
27506
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
27507
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
27508
|
+
command.params['project'] = project unless project.nil?
|
27509
|
+
command.params['region'] = region unless region.nil?
|
27510
|
+
command.params['commitment'] = commitment unless commitment.nil?
|
27511
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
27512
|
+
command.query['fields'] = fields unless fields.nil?
|
27513
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
27514
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
27515
|
+
execute_or_queue_command(command, &block)
|
27516
|
+
end
|
27517
|
+
|
27518
|
+
# Cancel the specified commitment.
|
27519
|
+
# @param [String] project
|
27520
|
+
# Project ID for this request.
|
27521
|
+
# @param [String] region
|
27522
|
+
# Name of the region for this request.
|
27523
|
+
# @param [String] commitment
|
27524
|
+
# Name of the commitment to delete.
|
27525
|
+
# @param [String] request_id
|
27526
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
27527
|
+
# that if you must retry your request, the server will know to ignore the
|
27528
|
+
# request if it has already been completed. For example, consider a situation
|
27529
|
+
# where you make an initial request and the request times out. If you make the
|
27530
|
+
# request again with the same request ID, the server can check if original
|
27531
|
+
# operation with the same request ID was received, and if so, will ignore the
|
27532
|
+
# second request. This prevents clients from accidentally creating duplicate
|
27533
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
27534
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
27535
|
+
# @param [String] fields
|
27536
|
+
# Selector specifying which fields to include in a partial response.
|
27537
|
+
# @param [String] quota_user
|
27538
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
27539
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
27540
|
+
# @param [String] user_ip
|
27541
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
27542
|
+
# @param [Google::Apis::RequestOptions] options
|
27543
|
+
# Request-specific options
|
27544
|
+
#
|
27545
|
+
# @yield [result, err] Result & error if block supplied
|
27546
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
27547
|
+
# @yieldparam err [StandardError] error object if request failed
|
27548
|
+
#
|
27549
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
27550
|
+
#
|
27551
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
27552
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
27553
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
27554
|
+
def cancel_region_commitment(project, region, commitment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
27555
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/commitments/{commitment}/cancel', options)
|
27556
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
27557
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
27558
|
+
command.params['project'] = project unless project.nil?
|
27559
|
+
command.params['region'] = region unless region.nil?
|
27560
|
+
command.params['commitment'] = commitment unless commitment.nil?
|
27561
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
27562
|
+
command.query['fields'] = fields unless fields.nil?
|
27563
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
27564
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
27565
|
+
execute_or_queue_command(command, &block)
|
27566
|
+
end
|
27567
|
+
|
27468
27568
|
# Returns the specified commitment resource.
|
27469
27569
|
# @param [String] project
|
27470
27570
|
# Project ID for this request.
|
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.68.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-05-
|
11
|
+
date: 2023-05-28 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.68.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: []
|