google-apis-compute_alpha 0.87.0 → 0.88.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3eb137688debbc6bd94ef7626134ba7d3155e5d98c03ca4fb422c75375935689
|
4
|
+
data.tar.gz: 0baf88a4ee1946cc6106c4dd044f29d45d37a04b4444a6c22e24b35bb8fc565d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6600a7aee94c90a9b7ce0d56b834af8bfb32e690cb88a8eb7a76b43039ab876dafd60e872e2eb0e6da5dc18dfbfb01d8b680ce79aedb9bb9b3209f357311b9f7
|
7
|
+
data.tar.gz: 4667508ea9cdb654f8fa54f171efdca058ac8854ca5c24e9e430b04680df6efab08d0dad24c1559e384221a0124fb6e16b405e3fcdb13e2db6a97a9b2bea291b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-compute_alpha
|
2
2
|
|
3
|
+
### v0.88.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240109
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
3
8
|
### v0.87.0 (2024-01-07)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20231231
|
@@ -10600,14 +10600,12 @@ module Google
|
|
10600
10600
|
attr_accessor :all_ports
|
10601
10601
|
alias_method :all_ports?, :all_ports
|
10602
10602
|
|
10603
|
-
#
|
10604
|
-
#
|
10605
|
-
#
|
10606
|
-
#
|
10607
|
-
#
|
10608
|
-
#
|
10609
|
-
# forwarding rules, this field cannot be changed after the forwarding rule is
|
10610
|
-
# created.
|
10603
|
+
# If set to true, clients can access the internal passthrough Network Load
|
10604
|
+
# Balancers, the regional internal Application Load Balancer, and the regional
|
10605
|
+
# internal proxy Network Load Balancer from all regions. If false, only allows
|
10606
|
+
# access from the local region the load balancer is located at. Note that for
|
10607
|
+
# INTERNAL_MANAGED forwarding rules, this field cannot be changed after the
|
10608
|
+
# forwarding rule is created.
|
10611
10609
|
# Corresponds to the JSON property `allowGlobalAccess`
|
10612
10610
|
# @return [Boolean]
|
10613
10611
|
attr_accessor :allow_global_access
|
@@ -12511,8 +12509,9 @@ module Google
|
|
12511
12509
|
# The ID of a supported feature. To add multiple values, use commas to separate
|
12512
12510
|
# values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
|
12513
12511
|
# WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE -
|
12514
|
-
# SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE -
|
12515
|
-
# more information, see Enabling guest operating system
|
12512
|
+
# SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE -
|
12513
|
+
# TDX_CAPABLE - IDPF For more information, see Enabling guest operating system
|
12514
|
+
# features.
|
12516
12515
|
# Corresponds to the JSON property `type`
|
12517
12516
|
# @return [String]
|
12518
12517
|
attr_accessor :type
|
@@ -21314,55 +21313,6 @@ module Google
|
|
21314
21313
|
end
|
21315
21314
|
end
|
21316
21315
|
|
21317
|
-
#
|
21318
|
-
class InstantSnapshotExportParams
|
21319
|
-
include Google::Apis::Core::Hashable
|
21320
|
-
|
21321
|
-
# An optional base instant snapshot that this resource is compared against. If
|
21322
|
-
# not specified, all blocks of this resource are exported. The base instant
|
21323
|
-
# snapshot and this resource must be created from the same disk. The base
|
21324
|
-
# instant snapshot must be created earlier in time than this resource.
|
21325
|
-
# Corresponds to the JSON property `baseInstantSnapshot`
|
21326
|
-
# @return [String]
|
21327
|
-
attr_accessor :base_instant_snapshot
|
21328
|
-
|
21329
|
-
# The name of an existing bucket in Cloud Storage where the changed blocks will
|
21330
|
-
# be stored. The Google Service Account must have read and write access to this
|
21331
|
-
# bucket. The bucket has to be in the same region as this resource.
|
21332
|
-
# Corresponds to the JSON property `bucketName`
|
21333
|
-
# @return [String]
|
21334
|
-
attr_accessor :bucket_name
|
21335
|
-
|
21336
|
-
# Encryption key used to encrypt the instant snapshot.
|
21337
|
-
# Corresponds to the JSON property `encryptionKey`
|
21338
|
-
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
21339
|
-
attr_accessor :encryption_key
|
21340
|
-
|
21341
|
-
# Name of the output Bigstore object storing the changed blocks. Object name
|
21342
|
-
# must be less than 1024 bytes in length.
|
21343
|
-
# Corresponds to the JSON property `objectName`
|
21344
|
-
# @return [String]
|
21345
|
-
attr_accessor :object_name
|
21346
|
-
|
21347
|
-
# The format of the output file.
|
21348
|
-
# Corresponds to the JSON property `outputType`
|
21349
|
-
# @return [String]
|
21350
|
-
attr_accessor :output_type
|
21351
|
-
|
21352
|
-
def initialize(**args)
|
21353
|
-
update!(**args)
|
21354
|
-
end
|
21355
|
-
|
21356
|
-
# Update properties of this object
|
21357
|
-
def update!(**args)
|
21358
|
-
@base_instant_snapshot = args[:base_instant_snapshot] if args.key?(:base_instant_snapshot)
|
21359
|
-
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
21360
|
-
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
|
21361
|
-
@object_name = args[:object_name] if args.key?(:object_name)
|
21362
|
-
@output_type = args[:output_type] if args.key?(:output_type)
|
21363
|
-
end
|
21364
|
-
end
|
21365
|
-
|
21366
21316
|
# Contains a list of InstantSnapshot resources.
|
21367
21317
|
class InstantSnapshotList
|
21368
21318
|
include Google::Apis::Core::Hashable
|
@@ -21499,25 +21449,6 @@ module Google
|
|
21499
21449
|
end
|
21500
21450
|
end
|
21501
21451
|
|
21502
|
-
#
|
21503
|
-
class InstantSnapshotsExportRequest
|
21504
|
-
include Google::Apis::Core::Hashable
|
21505
|
-
|
21506
|
-
# Parameters to export the changed blocks.
|
21507
|
-
# Corresponds to the JSON property `exportParams`
|
21508
|
-
# @return [Google::Apis::ComputeAlpha::InstantSnapshotExportParams]
|
21509
|
-
attr_accessor :export_params
|
21510
|
-
|
21511
|
-
def initialize(**args)
|
21512
|
-
update!(**args)
|
21513
|
-
end
|
21514
|
-
|
21515
|
-
# Update properties of this object
|
21516
|
-
def update!(**args)
|
21517
|
-
@export_params = args[:export_params] if args.key?(:export_params)
|
21518
|
-
end
|
21519
|
-
end
|
21520
|
-
|
21521
21452
|
#
|
21522
21453
|
class InstantSnapshotsScopedList
|
21523
21454
|
include Google::Apis::Core::Hashable
|
@@ -27563,10 +27494,12 @@ module Google
|
|
27563
27494
|
# @return [String]
|
27564
27495
|
attr_accessor :fqdn
|
27565
27496
|
|
27566
|
-
# The name
|
27567
|
-
# required for network endpoints of type GCE_VM_IP_PORT. The instance
|
27568
|
-
# the same zone of network endpoint group
|
27569
|
-
#
|
27497
|
+
# The name or a URL of a specific VM instance that the IP address belongs to.
|
27498
|
+
# This is required for network endpoints of type GCE_VM_IP_PORT. The instance
|
27499
|
+
# must be in the same zone of network endpoint group (for zonal NEGs) or in the
|
27500
|
+
# zone within the region of the NEG (for regional NEGs). The name must be 1-63
|
27501
|
+
# characters long, and comply with RFC1035 or be a valid URL pointing to an
|
27502
|
+
# existing instance.
|
27570
27503
|
# Corresponds to the JSON property `instance`
|
27571
27504
|
# @return [String]
|
27572
27505
|
attr_accessor :instance
|
@@ -37205,25 +37138,6 @@ module Google
|
|
37205
37138
|
end
|
37206
37139
|
end
|
37207
37140
|
|
37208
|
-
#
|
37209
|
-
class RegionInstantSnapshotsExportRequest
|
37210
|
-
include Google::Apis::Core::Hashable
|
37211
|
-
|
37212
|
-
# Parameters to export the changed blocks.
|
37213
|
-
# Corresponds to the JSON property `exportParams`
|
37214
|
-
# @return [Google::Apis::ComputeAlpha::InstantSnapshotExportParams]
|
37215
|
-
attr_accessor :export_params
|
37216
|
-
|
37217
|
-
def initialize(**args)
|
37218
|
-
update!(**args)
|
37219
|
-
end
|
37220
|
-
|
37221
|
-
# Update properties of this object
|
37222
|
-
def update!(**args)
|
37223
|
-
@export_params = args[:export_params] if args.key?(:export_params)
|
37224
|
-
end
|
37225
|
-
end
|
37226
|
-
|
37227
37141
|
# Contains a list of region resources.
|
37228
37142
|
class RegionList
|
37229
37143
|
include Google::Apis::Core::Hashable
|
@@ -48665,32 +48579,38 @@ module Google
|
|
48665
48579
|
# @return [String]
|
48666
48580
|
attr_accessor :kind
|
48667
48581
|
|
48582
|
+
# [Output Only] Maximum storage pool size in GB.
|
48583
|
+
# Corresponds to the JSON property `maxPoolProvisionedCapacityGb`
|
48584
|
+
# @return [Fixnum]
|
48585
|
+
attr_accessor :max_pool_provisioned_capacity_gb
|
48586
|
+
|
48668
48587
|
# [Output Only] Maximum provisioned IOPS.
|
48669
|
-
# Corresponds to the JSON property `
|
48588
|
+
# Corresponds to the JSON property `maxPoolProvisionedIops`
|
48670
48589
|
# @return [Fixnum]
|
48671
|
-
attr_accessor :
|
48590
|
+
attr_accessor :max_pool_provisioned_iops
|
48672
48591
|
|
48673
48592
|
# [Output Only] Maximum provisioned throughput.
|
48674
|
-
# Corresponds to the JSON property `
|
48593
|
+
# Corresponds to the JSON property `maxPoolProvisionedThroughput`
|
48675
48594
|
# @return [Fixnum]
|
48676
|
-
attr_accessor :
|
48595
|
+
attr_accessor :max_pool_provisioned_throughput
|
48677
48596
|
|
48678
|
-
# [Output Only]
|
48679
|
-
# Corresponds to the JSON property `
|
48597
|
+
# [Output Only] Minimum storage pool size in GB.
|
48598
|
+
# Corresponds to the JSON property `minPoolProvisionedCapacityGb`
|
48680
48599
|
# @return [Fixnum]
|
48681
|
-
attr_accessor :
|
48600
|
+
attr_accessor :min_pool_provisioned_capacity_gb
|
48682
48601
|
|
48683
48602
|
# [Output Only] Minimum provisioned IOPS.
|
48684
|
-
# Corresponds to the JSON property `
|
48603
|
+
# Corresponds to the JSON property `minPoolProvisionedIops`
|
48685
48604
|
# @return [Fixnum]
|
48686
|
-
attr_accessor :
|
48605
|
+
attr_accessor :min_pool_provisioned_iops
|
48687
48606
|
|
48688
48607
|
# [Output Only] Minimum provisioned throughput.
|
48689
|
-
# Corresponds to the JSON property `
|
48608
|
+
# Corresponds to the JSON property `minPoolProvisionedThroughput`
|
48690
48609
|
# @return [Fixnum]
|
48691
|
-
attr_accessor :
|
48610
|
+
attr_accessor :min_pool_provisioned_throughput
|
48692
48611
|
|
48693
|
-
# [
|
48612
|
+
# [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb
|
48613
|
+
# instead.
|
48694
48614
|
# Corresponds to the JSON property `minSizeGb`
|
48695
48615
|
# @return [Fixnum]
|
48696
48616
|
attr_accessor :min_size_gb
|
@@ -48733,11 +48653,12 @@ module Google
|
|
48733
48653
|
@description = args[:description] if args.key?(:description)
|
48734
48654
|
@id = args[:id] if args.key?(:id)
|
48735
48655
|
@kind = args[:kind] if args.key?(:kind)
|
48736
|
-
@
|
48737
|
-
@
|
48738
|
-
@
|
48739
|
-
@
|
48740
|
-
@
|
48656
|
+
@max_pool_provisioned_capacity_gb = args[:max_pool_provisioned_capacity_gb] if args.key?(:max_pool_provisioned_capacity_gb)
|
48657
|
+
@max_pool_provisioned_iops = args[:max_pool_provisioned_iops] if args.key?(:max_pool_provisioned_iops)
|
48658
|
+
@max_pool_provisioned_throughput = args[:max_pool_provisioned_throughput] if args.key?(:max_pool_provisioned_throughput)
|
48659
|
+
@min_pool_provisioned_capacity_gb = args[:min_pool_provisioned_capacity_gb] if args.key?(:min_pool_provisioned_capacity_gb)
|
48660
|
+
@min_pool_provisioned_iops = args[:min_pool_provisioned_iops] if args.key?(:min_pool_provisioned_iops)
|
48661
|
+
@min_pool_provisioned_throughput = args[:min_pool_provisioned_throughput] if args.key?(:min_pool_provisioned_throughput)
|
48741
48662
|
@min_size_gb = args[:min_size_gb] if args.key?(:min_size_gb)
|
48742
48663
|
@name = args[:name] if args.key?(:name)
|
48743
48664
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -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.88.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240109"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2626,12 +2626,6 @@ module Google
|
|
2626
2626
|
include Google::Apis::Core::JsonObjectSupport
|
2627
2627
|
end
|
2628
2628
|
|
2629
|
-
class InstantSnapshotExportParams
|
2630
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2631
|
-
|
2632
|
-
include Google::Apis::Core::JsonObjectSupport
|
2633
|
-
end
|
2634
|
-
|
2635
2629
|
class InstantSnapshotList
|
2636
2630
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2637
2631
|
|
@@ -2656,12 +2650,6 @@ module Google
|
|
2656
2650
|
include Google::Apis::Core::JsonObjectSupport
|
2657
2651
|
end
|
2658
2652
|
|
2659
|
-
class InstantSnapshotsExportRequest
|
2660
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2661
|
-
|
2662
|
-
include Google::Apis::Core::JsonObjectSupport
|
2663
|
-
end
|
2664
|
-
|
2665
2653
|
class InstantSnapshotsScopedList
|
2666
2654
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2667
2655
|
|
@@ -4828,12 +4816,6 @@ module Google
|
|
4828
4816
|
include Google::Apis::Core::JsonObjectSupport
|
4829
4817
|
end
|
4830
4818
|
|
4831
|
-
class RegionInstantSnapshotsExportRequest
|
4832
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4833
|
-
|
4834
|
-
include Google::Apis::Core::JsonObjectSupport
|
4835
|
-
end
|
4836
|
-
|
4837
4819
|
class RegionList
|
4838
4820
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4839
4821
|
|
@@ -12551,18 +12533,6 @@ module Google
|
|
12551
12533
|
end
|
12552
12534
|
end
|
12553
12535
|
|
12554
|
-
class InstantSnapshotExportParams
|
12555
|
-
# @private
|
12556
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
12557
|
-
property :base_instant_snapshot, as: 'baseInstantSnapshot'
|
12558
|
-
property :bucket_name, as: 'bucketName'
|
12559
|
-
property :encryption_key, as: 'encryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
|
12560
|
-
|
12561
|
-
property :object_name, as: 'objectName'
|
12562
|
-
property :output_type, as: 'outputType'
|
12563
|
-
end
|
12564
|
-
end
|
12565
|
-
|
12566
12536
|
class InstantSnapshotList
|
12567
12537
|
# @private
|
12568
12538
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12602,14 +12572,6 @@ module Google
|
|
12602
12572
|
end
|
12603
12573
|
end
|
12604
12574
|
|
12605
|
-
class InstantSnapshotsExportRequest
|
12606
|
-
# @private
|
12607
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
12608
|
-
property :export_params, as: 'exportParams', class: Google::Apis::ComputeAlpha::InstantSnapshotExportParams, decorator: Google::Apis::ComputeAlpha::InstantSnapshotExportParams::Representation
|
12609
|
-
|
12610
|
-
end
|
12611
|
-
end
|
12612
|
-
|
12613
12575
|
class InstantSnapshotsScopedList
|
12614
12576
|
# @private
|
12615
12577
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16604,14 +16566,6 @@ module Google
|
|
16604
16566
|
end
|
16605
16567
|
end
|
16606
16568
|
|
16607
|
-
class RegionInstantSnapshotsExportRequest
|
16608
|
-
# @private
|
16609
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
16610
|
-
property :export_params, as: 'exportParams', class: Google::Apis::ComputeAlpha::InstantSnapshotExportParams, decorator: Google::Apis::ComputeAlpha::InstantSnapshotExportParams::Representation
|
16611
|
-
|
16612
|
-
end
|
16613
|
-
end
|
16614
|
-
|
16615
16569
|
class RegionList
|
16616
16570
|
# @private
|
16617
16571
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -19488,11 +19442,12 @@ module Google
|
|
19488
19442
|
property :description, as: 'description'
|
19489
19443
|
property :id, :numeric_string => true, as: 'id'
|
19490
19444
|
property :kind, as: 'kind'
|
19491
|
-
property :
|
19492
|
-
property :
|
19493
|
-
property :
|
19494
|
-
property :
|
19495
|
-
property :
|
19445
|
+
property :max_pool_provisioned_capacity_gb, :numeric_string => true, as: 'maxPoolProvisionedCapacityGb'
|
19446
|
+
property :max_pool_provisioned_iops, :numeric_string => true, as: 'maxPoolProvisionedIops'
|
19447
|
+
property :max_pool_provisioned_throughput, :numeric_string => true, as: 'maxPoolProvisionedThroughput'
|
19448
|
+
property :min_pool_provisioned_capacity_gb, :numeric_string => true, as: 'minPoolProvisionedCapacityGb'
|
19449
|
+
property :min_pool_provisioned_iops, :numeric_string => true, as: 'minPoolProvisionedIops'
|
19450
|
+
property :min_pool_provisioned_throughput, :numeric_string => true, as: 'minPoolProvisionedThroughput'
|
19496
19451
|
property :min_size_gb, :numeric_string => true, as: 'minSizeGb'
|
19497
19452
|
property :name, as: 'name'
|
19498
19453
|
property :self_link, as: 'selfLink'
|
@@ -32,6 +32,8 @@ module Google
|
|
32
32
|
#
|
33
33
|
# @see https://cloud.google.com/compute/
|
34
34
|
class ComputeService < Google::Apis::Core::BaseService
|
35
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://compute.$UNIVERSE_DOMAIN$/"
|
36
|
+
|
35
37
|
# @return [String]
|
36
38
|
# API key. Your API key identifies your project and provides you with API access,
|
37
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -47,7 +49,7 @@ module Google
|
|
47
49
|
attr_accessor :user_ip
|
48
50
|
|
49
51
|
def initialize
|
50
|
-
super(
|
52
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, 'compute/alpha/',
|
51
53
|
client_name: 'google-apis-compute_alpha',
|
52
54
|
client_version: Google::Apis::ComputeAlpha::GEM_VERSION)
|
53
55
|
@batch_path = 'batch/compute/alpha'
|
@@ -16705,60 +16707,6 @@ module Google
|
|
16705
16707
|
execute_or_queue_command(command, &block)
|
16706
16708
|
end
|
16707
16709
|
|
16708
|
-
# Export the changed blocks between two instant snapshots to a customer's bucket
|
16709
|
-
# in the user specified format.
|
16710
|
-
# @param [String] project
|
16711
|
-
# Project ID for this request.
|
16712
|
-
# @param [String] zone
|
16713
|
-
# The name of the zone for this request.
|
16714
|
-
# @param [String] instant_snapshot
|
16715
|
-
# Name of the instant snapshot to export.
|
16716
|
-
# @param [Google::Apis::ComputeAlpha::InstantSnapshotsExportRequest] instant_snapshots_export_request_object
|
16717
|
-
# @param [String] request_id
|
16718
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
16719
|
-
# that if you must retry your request, the server will know to ignore the
|
16720
|
-
# request if it has already been completed. For example, consider a situation
|
16721
|
-
# where you make an initial request and the request times out. If you make the
|
16722
|
-
# request again with the same request ID, the server can check if original
|
16723
|
-
# operation with the same request ID was received, and if so, will ignore the
|
16724
|
-
# second request. This prevents clients from accidentally creating duplicate
|
16725
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
16726
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
16727
|
-
# @param [String] fields
|
16728
|
-
# Selector specifying which fields to include in a partial response.
|
16729
|
-
# @param [String] quota_user
|
16730
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
16731
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16732
|
-
# @param [String] user_ip
|
16733
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
16734
|
-
# @param [Google::Apis::RequestOptions] options
|
16735
|
-
# Request-specific options
|
16736
|
-
#
|
16737
|
-
# @yield [result, err] Result & error if block supplied
|
16738
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
16739
|
-
# @yieldparam err [StandardError] error object if request failed
|
16740
|
-
#
|
16741
|
-
# @return [Google::Apis::ComputeAlpha::Operation]
|
16742
|
-
#
|
16743
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16744
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16745
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16746
|
-
def export_instant_snapshot(project, zone, instant_snapshot, instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16747
|
-
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}/export', options)
|
16748
|
-
command.request_representation = Google::Apis::ComputeAlpha::InstantSnapshotsExportRequest::Representation
|
16749
|
-
command.request_object = instant_snapshots_export_request_object
|
16750
|
-
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
16751
|
-
command.response_class = Google::Apis::ComputeAlpha::Operation
|
16752
|
-
command.params['project'] = project unless project.nil?
|
16753
|
-
command.params['zone'] = zone unless zone.nil?
|
16754
|
-
command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
|
16755
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
16756
|
-
command.query['fields'] = fields unless fields.nil?
|
16757
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16758
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
16759
|
-
execute_or_queue_command(command, &block)
|
16760
|
-
end
|
16761
|
-
|
16762
16710
|
# Returns the specified InstantSnapshot resource in the specified zone.
|
16763
16711
|
# @param [String] project
|
16764
16712
|
# Project ID for this request.
|
@@ -32958,60 +32906,6 @@ module Google
|
|
32958
32906
|
execute_or_queue_command(command, &block)
|
32959
32907
|
end
|
32960
32908
|
|
32961
|
-
# Export the changed blocks between two instant snapshots to a customer's bucket
|
32962
|
-
# in the user specified format.
|
32963
|
-
# @param [String] project
|
32964
|
-
# Project ID for this request.
|
32965
|
-
# @param [String] region
|
32966
|
-
# The name of the zone for this request.
|
32967
|
-
# @param [String] instant_snapshot
|
32968
|
-
# Name of the instant snapshot to export.
|
32969
|
-
# @param [Google::Apis::ComputeAlpha::RegionInstantSnapshotsExportRequest] region_instant_snapshots_export_request_object
|
32970
|
-
# @param [String] request_id
|
32971
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
32972
|
-
# that if you must retry your request, the server will know to ignore the
|
32973
|
-
# request if it has already been completed. For example, consider a situation
|
32974
|
-
# where you make an initial request and the request times out. If you make the
|
32975
|
-
# request again with the same request ID, the server can check if original
|
32976
|
-
# operation with the same request ID was received, and if so, will ignore the
|
32977
|
-
# second request. This prevents clients from accidentally creating duplicate
|
32978
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
32979
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
32980
|
-
# @param [String] fields
|
32981
|
-
# Selector specifying which fields to include in a partial response.
|
32982
|
-
# @param [String] quota_user
|
32983
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
32984
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
32985
|
-
# @param [String] user_ip
|
32986
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
32987
|
-
# @param [Google::Apis::RequestOptions] options
|
32988
|
-
# Request-specific options
|
32989
|
-
#
|
32990
|
-
# @yield [result, err] Result & error if block supplied
|
32991
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
32992
|
-
# @yieldparam err [StandardError] error object if request failed
|
32993
|
-
#
|
32994
|
-
# @return [Google::Apis::ComputeAlpha::Operation]
|
32995
|
-
#
|
32996
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
32997
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
32998
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
32999
|
-
def export_region_instant_snapshot(project, region, instant_snapshot, region_instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
33000
|
-
command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}/export', options)
|
33001
|
-
command.request_representation = Google::Apis::ComputeAlpha::RegionInstantSnapshotsExportRequest::Representation
|
33002
|
-
command.request_object = region_instant_snapshots_export_request_object
|
33003
|
-
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
33004
|
-
command.response_class = Google::Apis::ComputeAlpha::Operation
|
33005
|
-
command.params['project'] = project unless project.nil?
|
33006
|
-
command.params['region'] = region unless region.nil?
|
33007
|
-
command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
|
33008
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
33009
|
-
command.query['fields'] = fields unless fields.nil?
|
33010
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
33011
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
33012
|
-
execute_or_queue_command(command, &block)
|
33013
|
-
end
|
33014
|
-
|
33015
32909
|
# Returns the specified InstantSnapshot resource in the specified region.
|
33016
32910
|
# @param [String] project
|
33017
32911
|
# 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.88.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: 2024-01-
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.88.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: []
|