google-apis-compute_alpha 0.114.0 → 0.115.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.
@@ -3265,6 +3265,14 @@ module Google
|
|
3265
3265
|
# @return [String]
|
3266
3266
|
attr_accessor :name
|
3267
3267
|
|
3268
|
+
# [Output Only] URL of the region where the regional backend bucket resides.
|
3269
|
+
# This field is not applicable to global backend buckets. You must specify this
|
3270
|
+
# field as part of the HTTP request URL. It is not settable as a field in the
|
3271
|
+
# request body.
|
3272
|
+
# Corresponds to the JSON property `region`
|
3273
|
+
# @return [String]
|
3274
|
+
attr_accessor :region
|
3275
|
+
|
3268
3276
|
# [Output Only] Server-defined URL for the resource.
|
3269
3277
|
# Corresponds to the JSON property `selfLink`
|
3270
3278
|
# @return [String]
|
@@ -3298,6 +3306,7 @@ module Google
|
|
3298
3306
|
@kind = args[:kind] if args.key?(:kind)
|
3299
3307
|
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
3300
3308
|
@name = args[:name] if args.key?(:name)
|
3309
|
+
@region = args[:region] if args.key?(:region)
|
3301
3310
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3302
3311
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
3303
3312
|
@used_by = args[:used_by] if args.key?(:used_by)
|
@@ -4955,7 +4964,7 @@ module Google
|
|
4955
4964
|
# backend service must set the network field, and all NEGs must belong to that
|
4956
4965
|
# network. However, individual NEGs can belong to different subnetworks of that
|
4957
4966
|
# network. - The maximum number of network endpoints across all backends of a
|
4958
|
-
# backend service with fastIPMove is
|
4967
|
+
# backend service with fastIPMove is 32. - The maximum number of backend
|
4959
4968
|
# services with fastIPMove that can have the same network endpoint attached to
|
4960
4969
|
# one of its backends is 64. - The maximum number of backend services with
|
4961
4970
|
# fastIPMove in a VPC in a region is 64. - The network endpoints that are
|
@@ -6343,6 +6352,11 @@ module Google
|
|
6343
6352
|
# @return [Fixnum]
|
6344
6353
|
attr_accessor :count
|
6345
6354
|
|
6355
|
+
# A flexible specification of machine types for instances to create.
|
6356
|
+
# Corresponds to the JSON property `instanceFlexibilityPolicy`
|
6357
|
+
# @return [Google::Apis::ComputeAlpha::InstanceFlexibilityPolicy]
|
6358
|
+
attr_accessor :instance_flexibility_policy
|
6359
|
+
|
6346
6360
|
# The instance properties defining the VM instances to be created. Required if
|
6347
6361
|
# sourceInstanceTemplate is not provided.
|
6348
6362
|
# Corresponds to the JSON property `instanceProperties`
|
@@ -6402,6 +6416,7 @@ module Google
|
|
6402
6416
|
# Update properties of this object
|
6403
6417
|
def update!(**args)
|
6404
6418
|
@count = args[:count] if args.key?(:count)
|
6419
|
+
@instance_flexibility_policy = args[:instance_flexibility_policy] if args.key?(:instance_flexibility_policy)
|
6405
6420
|
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
|
6406
6421
|
@location_policy = args[:location_policy] if args.key?(:location_policy)
|
6407
6422
|
@min_count = args[:min_count] if args.key?(:min_count)
|
@@ -9292,6 +9307,37 @@ module Google
|
|
9292
9307
|
# @return [String]
|
9293
9308
|
attr_accessor :source_instant_snapshot_id
|
9294
9309
|
|
9310
|
+
# The machine image to create the disk from. You can provide this as a partial
|
9311
|
+
# or full URL to the resource. For example, the following are valid values: -
|
9312
|
+
# https://www.googleapis.com/compute/v1/projects/project /global/machineImages/
|
9313
|
+
# machineImage - projects/project/global/machineImages/machineImage - global/
|
9314
|
+
# machineImages/machineImage
|
9315
|
+
# Corresponds to the JSON property `sourceMachineImage`
|
9316
|
+
# @return [String]
|
9317
|
+
attr_accessor :source_machine_image
|
9318
|
+
|
9319
|
+
# Input only. The device name of a disk within a given machine image. The
|
9320
|
+
# source_machine_image must be specified.
|
9321
|
+
# Corresponds to the JSON property `sourceMachineImageDiskDeviceName`
|
9322
|
+
# @return [String]
|
9323
|
+
attr_accessor :source_machine_image_disk_device_name
|
9324
|
+
|
9325
|
+
# The customer-supplied encryption key of the source machine image. Required if
|
9326
|
+
# the source machine image is protected by a customer-supplied encryption key.
|
9327
|
+
# Corresponds to the JSON property `sourceMachineImageEncryptionKey`
|
9328
|
+
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
9329
|
+
attr_accessor :source_machine_image_encryption_key
|
9330
|
+
|
9331
|
+
# [Output Only] The unique ID of the machine image used to create this disk.
|
9332
|
+
# This value identifies the exact machine image that was used to create this
|
9333
|
+
# persistent disk. For example, if you created the persistent disk from a
|
9334
|
+
# machine image that was later deleted and recreated under the same name, the
|
9335
|
+
# source machine image ID would identify the exact version of the machine image
|
9336
|
+
# that was used.
|
9337
|
+
# Corresponds to the JSON property `sourceMachineImageId`
|
9338
|
+
# @return [String]
|
9339
|
+
attr_accessor :source_machine_image_id
|
9340
|
+
|
9295
9341
|
# The source snapshot used to create this disk. You can provide this as a
|
9296
9342
|
# partial or full URL to the resource. For example, the following are valid
|
9297
9343
|
# values: - https://www.googleapis.com/compute/v1/projects/project /global/
|
@@ -9428,6 +9474,10 @@ module Google
|
|
9428
9474
|
@source_image_id = args[:source_image_id] if args.key?(:source_image_id)
|
9429
9475
|
@source_instant_snapshot = args[:source_instant_snapshot] if args.key?(:source_instant_snapshot)
|
9430
9476
|
@source_instant_snapshot_id = args[:source_instant_snapshot_id] if args.key?(:source_instant_snapshot_id)
|
9477
|
+
@source_machine_image = args[:source_machine_image] if args.key?(:source_machine_image)
|
9478
|
+
@source_machine_image_disk_device_name = args[:source_machine_image_disk_device_name] if args.key?(:source_machine_image_disk_device_name)
|
9479
|
+
@source_machine_image_encryption_key = args[:source_machine_image_encryption_key] if args.key?(:source_machine_image_encryption_key)
|
9480
|
+
@source_machine_image_id = args[:source_machine_image_id] if args.key?(:source_machine_image_id)
|
9431
9481
|
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
9432
9482
|
@source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
|
9433
9483
|
@source_snapshot_id = args[:source_snapshot_id] if args.key?(:source_snapshot_id)
|
@@ -17803,7 +17853,8 @@ module Google
|
|
17803
17853
|
|
17804
17854
|
# If false, headerValue is appended to any values that already exist for the
|
17805
17855
|
# header. If true, headerValue is set for the header, discarding any values that
|
17806
|
-
# were set for that header. The default value is
|
17856
|
+
# were set for that header. The default value is true, unless a variable is
|
17857
|
+
# present in headerValue, in which case the default value is false. .
|
17807
17858
|
# Corresponds to the JSON property `replace`
|
17808
17859
|
# @return [Boolean]
|
17809
17860
|
attr_accessor :replace
|
@@ -18894,6 +18945,11 @@ module Google
|
|
18894
18945
|
# @return [String]
|
18895
18946
|
attr_accessor :name
|
18896
18947
|
|
18948
|
+
# Additional image params.
|
18949
|
+
# Corresponds to the JSON property `params`
|
18950
|
+
# @return [Google::Apis::ComputeAlpha::ImageParams]
|
18951
|
+
attr_accessor :params
|
18952
|
+
|
18897
18953
|
# The parameters of the raw disk image.
|
18898
18954
|
# Corresponds to the JSON property `rawDisk`
|
18899
18955
|
# @return [Google::Apis::ComputeAlpha::Image::RawDisk]
|
@@ -19054,6 +19110,7 @@ module Google
|
|
19054
19110
|
@licenses = args[:licenses] if args.key?(:licenses)
|
19055
19111
|
@locked = args[:locked] if args.key?(:locked)
|
19056
19112
|
@name = args[:name] if args.key?(:name)
|
19113
|
+
@params = args[:params] if args.key?(:params)
|
19057
19114
|
@raw_disk = args[:raw_disk] if args.key?(:raw_disk)
|
19058
19115
|
@rollout_override = args[:rollout_override] if args.key?(:rollout_override)
|
19059
19116
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
@@ -19253,6 +19310,28 @@ module Google
|
|
19253
19310
|
end
|
19254
19311
|
end
|
19255
19312
|
|
19313
|
+
# Additional image params.
|
19314
|
+
class ImageParams
|
19315
|
+
include Google::Apis::Core::Hashable
|
19316
|
+
|
19317
|
+
# Resource manager tags to be bound to the image. Tag keys and values have the
|
19318
|
+
# same definition as resource manager tags. Keys must be in the format `tagKeys/`
|
19319
|
+
# tag_key_id``, and values are in the format `tagValues/456`. The field is
|
19320
|
+
# ignored (both PUT & PATCH) when empty.
|
19321
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
19322
|
+
# @return [Hash<String,String>]
|
19323
|
+
attr_accessor :resource_manager_tags
|
19324
|
+
|
19325
|
+
def initialize(**args)
|
19326
|
+
update!(**args)
|
19327
|
+
end
|
19328
|
+
|
19329
|
+
# Update properties of this object
|
19330
|
+
def update!(**args)
|
19331
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
19332
|
+
end
|
19333
|
+
end
|
19334
|
+
|
19256
19335
|
# Initial State for shielded instance, these are public keys which are safe to
|
19257
19336
|
# store in public
|
19258
19337
|
class InitialStateConfig
|
@@ -19905,6 +19984,61 @@ module Google
|
|
19905
19984
|
end
|
19906
19985
|
end
|
19907
19986
|
|
19987
|
+
# A flexible specification of machine types for instances to create.
|
19988
|
+
class InstanceFlexibilityPolicy
|
19989
|
+
include Google::Apis::Core::Hashable
|
19990
|
+
|
19991
|
+
# Specification of alternative, flexible instance subsets. One of them will be
|
19992
|
+
# selected to create the instances based on various criteria, like: - ranks, -
|
19993
|
+
# location policy, - current capacity, - available reservations (you can specify
|
19994
|
+
# affinity in InstanceProperties), - SWAN/GOOSE limitations. Key is an arbitrary,
|
19995
|
+
# unique RFC1035 string that identifies the instance selection.
|
19996
|
+
# Corresponds to the JSON property `instanceSelections`
|
19997
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::InstanceFlexibilityPolicyInstanceSelection>]
|
19998
|
+
attr_accessor :instance_selections
|
19999
|
+
|
20000
|
+
def initialize(**args)
|
20001
|
+
update!(**args)
|
20002
|
+
end
|
20003
|
+
|
20004
|
+
# Update properties of this object
|
20005
|
+
def update!(**args)
|
20006
|
+
@instance_selections = args[:instance_selections] if args.key?(:instance_selections)
|
20007
|
+
end
|
20008
|
+
end
|
20009
|
+
|
20010
|
+
# Specification of machine type to use. Every position inside this message is an
|
20011
|
+
# alternative. The count specified in the shape flexibility must not exceed the
|
20012
|
+
# number of entries in per_instance_properties or the capacity of the
|
20013
|
+
# name_pattern, if used.
|
20014
|
+
class InstanceFlexibilityPolicyInstanceSelection
|
20015
|
+
include Google::Apis::Core::Hashable
|
20016
|
+
|
20017
|
+
# Alternative machine types to use for instances that are created from these
|
20018
|
+
# properties. This field only accepts a machine type names, for example `n2-
|
20019
|
+
# standard-4` and not URLs or partial URLs.
|
20020
|
+
# Corresponds to the JSON property `machineTypes`
|
20021
|
+
# @return [Array<String>]
|
20022
|
+
attr_accessor :machine_types
|
20023
|
+
|
20024
|
+
# Rank when prioritizing the shape flexibilities. The instance selections with
|
20025
|
+
# rank are considered first, in the ascending order of the rank. If not set,
|
20026
|
+
# defaults to 0.
|
20027
|
+
# Corresponds to the JSON property `rank`
|
20028
|
+
# @return [Fixnum]
|
20029
|
+
attr_accessor :rank
|
20030
|
+
|
20031
|
+
def initialize(**args)
|
20032
|
+
update!(**args)
|
20033
|
+
end
|
20034
|
+
|
20035
|
+
# Update properties of this object
|
20036
|
+
def update!(**args)
|
20037
|
+
@machine_types = args[:machine_types] if args.key?(:machine_types)
|
20038
|
+
@rank = args[:rank] if args.key?(:rank)
|
20039
|
+
end
|
20040
|
+
end
|
20041
|
+
|
19908
20042
|
# Represents an Instance Group resource. Instance Groups can be used to
|
19909
20043
|
# configure a target for load balancing. Instance groups can either be managed
|
19910
20044
|
# or unmanaged. To create managed instance groups, use the instanceGroupManager
|
@@ -21101,7 +21235,7 @@ module Google
|
|
21101
21235
|
class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
|
21102
21236
|
include Google::Apis::Core::Hashable
|
21103
21237
|
|
21104
|
-
# Specifies whether the MIG can change a VM's zone during repair.
|
21238
|
+
# Specifies whether the MIG can change a VM's zone during a repair.
|
21105
21239
|
# Corresponds to the JSON property `allowChangingZone`
|
21106
21240
|
# @return [String]
|
21107
21241
|
attr_accessor :allow_changing_zone
|
@@ -23665,6 +23799,14 @@ module Google
|
|
23665
23799
|
class InstanceParams
|
23666
23800
|
include Google::Apis::Core::Hashable
|
23667
23801
|
|
23802
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
23803
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
23804
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
23805
|
+
# 000 years.
|
23806
|
+
# Corresponds to the JSON property `requestValidForDuration`
|
23807
|
+
# @return [Google::Apis::ComputeAlpha::Duration]
|
23808
|
+
attr_accessor :request_valid_for_duration
|
23809
|
+
|
23668
23810
|
# Resource manager tags to be bound to the instance. Tag keys and values have
|
23669
23811
|
# the same definition as resource manager tags. Keys must be in the format `
|
23670
23812
|
# tagKeys/`tag_key_id``, and values are in the format `tagValues/456`. The field
|
@@ -23679,6 +23821,7 @@ module Google
|
|
23679
23821
|
|
23680
23822
|
# Update properties of this object
|
23681
23823
|
def update!(**args)
|
23824
|
+
@request_valid_for_duration = args[:request_valid_for_duration] if args.key?(:request_valid_for_duration)
|
23682
23825
|
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
23683
23826
|
end
|
23684
23827
|
end
|
@@ -36581,6 +36724,11 @@ module Google
|
|
36581
36724
|
# @return [String]
|
36582
36725
|
attr_accessor :name
|
36583
36726
|
|
36727
|
+
# [Output Only] Type of the network profile.
|
36728
|
+
# Corresponds to the JSON property `profileType`
|
36729
|
+
# @return [Google::Apis::ComputeAlpha::NetworkProfileProfileType]
|
36730
|
+
attr_accessor :profile_type
|
36731
|
+
|
36584
36732
|
# [Output Only] Server-defined URL for the resource.
|
36585
36733
|
# Corresponds to the JSON property `selfLink`
|
36586
36734
|
# @return [String]
|
@@ -36604,6 +36752,7 @@ module Google
|
|
36604
36752
|
@kind = args[:kind] if args.key?(:kind)
|
36605
36753
|
@location = args[:location] if args.key?(:location)
|
36606
36754
|
@name = args[:name] if args.key?(:name)
|
36755
|
+
@profile_type = args[:profile_type] if args.key?(:profile_type)
|
36607
36756
|
@self_link = args[:self_link] if args.key?(:self_link)
|
36608
36757
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
36609
36758
|
end
|
@@ -36818,6 +36967,43 @@ module Google
|
|
36818
36967
|
end
|
36819
36968
|
end
|
36820
36969
|
|
36970
|
+
#
|
36971
|
+
class NetworkProfileProfileType
|
36972
|
+
include Google::Apis::Core::Hashable
|
36973
|
+
|
36974
|
+
#
|
36975
|
+
# Corresponds to the JSON property `networkType`
|
36976
|
+
# @return [String]
|
36977
|
+
attr_accessor :network_type
|
36978
|
+
|
36979
|
+
#
|
36980
|
+
# Corresponds to the JSON property `rdmaSubtype`
|
36981
|
+
# @return [String]
|
36982
|
+
attr_accessor :rdma_subtype
|
36983
|
+
|
36984
|
+
#
|
36985
|
+
# Corresponds to the JSON property `ullSubtype`
|
36986
|
+
# @return [String]
|
36987
|
+
attr_accessor :ull_subtype
|
36988
|
+
|
36989
|
+
#
|
36990
|
+
# Corresponds to the JSON property `vpcSubtype`
|
36991
|
+
# @return [String]
|
36992
|
+
attr_accessor :vpc_subtype
|
36993
|
+
|
36994
|
+
def initialize(**args)
|
36995
|
+
update!(**args)
|
36996
|
+
end
|
36997
|
+
|
36998
|
+
# Update properties of this object
|
36999
|
+
def update!(**args)
|
37000
|
+
@network_type = args[:network_type] if args.key?(:network_type)
|
37001
|
+
@rdma_subtype = args[:rdma_subtype] if args.key?(:rdma_subtype)
|
37002
|
+
@ull_subtype = args[:ull_subtype] if args.key?(:ull_subtype)
|
37003
|
+
@vpc_subtype = args[:vpc_subtype] if args.key?(:vpc_subtype)
|
37004
|
+
end
|
37005
|
+
end
|
37006
|
+
|
36821
37007
|
# Contains a list of network profiles.
|
36822
37008
|
class NetworkProfilesListResponse
|
36823
37009
|
include Google::Apis::Core::Hashable
|
@@ -42471,6 +42657,11 @@ module Google
|
|
42471
42657
|
# @return [String]
|
42472
42658
|
attr_accessor :ip_cidr_range
|
42473
42659
|
|
42660
|
+
# The internet access type for IPv6 Public Advertised Prefixes.
|
42661
|
+
# Corresponds to the JSON property `ipv6AccessType`
|
42662
|
+
# @return [String]
|
42663
|
+
attr_accessor :ipv6_access_type
|
42664
|
+
|
42474
42665
|
# [Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for
|
42475
42666
|
# public advertised prefixes.
|
42476
42667
|
# Corresponds to the JSON property `kind`
|
@@ -42542,6 +42733,7 @@ module Google
|
|
42542
42733
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
42543
42734
|
@id = args[:id] if args.key?(:id)
|
42544
42735
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
42736
|
+
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
42545
42737
|
@kind = args[:kind] if args.key?(:kind)
|
42546
42738
|
@name = args[:name] if args.key?(:name)
|
42547
42739
|
@pdp_scope = args[:pdp_scope] if args.key?(:pdp_scope)
|
@@ -42771,6 +42963,12 @@ module Google
|
|
42771
42963
|
# @return [String]
|
42772
42964
|
attr_accessor :ip_cidr_range
|
42773
42965
|
|
42966
|
+
# [Output Only] The internet access type for IPv6 Public Delegated Prefixes.
|
42967
|
+
# Inherited from parent prefix.
|
42968
|
+
# Corresponds to the JSON property `ipv6AccessType`
|
42969
|
+
# @return [String]
|
42970
|
+
attr_accessor :ipv6_access_type
|
42971
|
+
|
42774
42972
|
# If true, the prefix will be live migrated.
|
42775
42973
|
# Corresponds to the JSON property `isLiveMigration`
|
42776
42974
|
# @return [Boolean]
|
@@ -42851,6 +43049,7 @@ module Google
|
|
42851
43049
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
42852
43050
|
@id = args[:id] if args.key?(:id)
|
42853
43051
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
43052
|
+
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
42854
43053
|
@is_live_migration = args[:is_live_migration] if args.key?(:is_live_migration)
|
42855
43054
|
@kind = args[:kind] if args.key?(:kind)
|
42856
43055
|
@mode = args[:mode] if args.key?(:mode)
|
@@ -43133,6 +43332,12 @@ module Google
|
|
43133
43332
|
# @return [String]
|
43134
43333
|
attr_accessor :ip_cidr_range
|
43135
43334
|
|
43335
|
+
# [Output Only] The internet access type for IPv6 Public Delegated Sub Prefixes.
|
43336
|
+
# Inherited from parent prefix.
|
43337
|
+
# Corresponds to the JSON property `ipv6AccessType`
|
43338
|
+
# @return [String]
|
43339
|
+
attr_accessor :ipv6_access_type
|
43340
|
+
|
43136
43341
|
# Whether the sub prefix is delegated to create Address resources in the
|
43137
43342
|
# delegatee project.
|
43138
43343
|
# Corresponds to the JSON property `isAddress`
|
@@ -43171,6 +43376,7 @@ module Google
|
|
43171
43376
|
@delegatee_project = args[:delegatee_project] if args.key?(:delegatee_project)
|
43172
43377
|
@description = args[:description] if args.key?(:description)
|
43173
43378
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
43379
|
+
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
43174
43380
|
@is_address = args[:is_address] if args.key?(:is_address)
|
43175
43381
|
@mode = args[:mode] if args.key?(:mode)
|
43176
43382
|
@name = args[:name] if args.key?(:name)
|
@@ -44011,47 +44217,9 @@ module Google
|
|
44011
44217
|
end
|
44012
44218
|
end
|
44013
44219
|
|
44014
|
-
# Represents a
|
44015
|
-
|
44016
|
-
|
44017
|
-
|
44018
|
-
# [Output Only] Type of the resource. Always compute#reference for references.
|
44019
|
-
# Corresponds to the JSON property `kind`
|
44020
|
-
# @return [String]
|
44021
|
-
attr_accessor :kind
|
44022
|
-
|
44023
|
-
# A description of the reference type with no implied semantics. Possible values
|
44024
|
-
# include: 1. MEMBER_OF
|
44025
|
-
# Corresponds to the JSON property `referenceType`
|
44026
|
-
# @return [String]
|
44027
|
-
attr_accessor :reference_type
|
44028
|
-
|
44029
|
-
# URL of the resource which refers to the target.
|
44030
|
-
# Corresponds to the JSON property `referrer`
|
44031
|
-
# @return [String]
|
44032
|
-
attr_accessor :referrer
|
44033
|
-
|
44034
|
-
# URL of the resource to which this reference points.
|
44035
|
-
# Corresponds to the JSON property `target`
|
44036
|
-
# @return [String]
|
44037
|
-
attr_accessor :target
|
44038
|
-
|
44039
|
-
def initialize(**args)
|
44040
|
-
update!(**args)
|
44041
|
-
end
|
44042
|
-
|
44043
|
-
# Update properties of this object
|
44044
|
-
def update!(**args)
|
44045
|
-
@kind = args[:kind] if args.key?(:kind)
|
44046
|
-
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
44047
|
-
@referrer = args[:referrer] if args.key?(:referrer)
|
44048
|
-
@target = args[:target] if args.key?(:target)
|
44049
|
-
end
|
44050
|
-
end
|
44051
|
-
|
44052
|
-
# Represents a Region resource. A region is a geographical area where a resource
|
44053
|
-
# is located. For more information, read Regions and Zones.
|
44054
|
-
class Region
|
44220
|
+
# Represents a RecoverableSnapshot resource. A RecoverableSnapshot represents a
|
44221
|
+
# snapshot in recycle bin.
|
44222
|
+
class RecoverableSnapshot
|
44055
44223
|
include Google::Apis::Core::Hashable
|
44056
44224
|
|
44057
44225
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
@@ -44059,12 +44227,7 @@ module Google
|
|
44059
44227
|
# @return [String]
|
44060
44228
|
attr_accessor :creation_timestamp
|
44061
44229
|
|
44062
|
-
#
|
44063
|
-
# Corresponds to the JSON property `deprecated`
|
44064
|
-
# @return [Google::Apis::ComputeAlpha::DeprecationStatus]
|
44065
|
-
attr_accessor :deprecated
|
44066
|
-
|
44067
|
-
# [Output Only] Textual description of the resource.
|
44230
|
+
# Optional. An optional description of this resource.
|
44068
44231
|
# Corresponds to the JSON property `description`
|
44069
44232
|
# @return [String]
|
44070
44233
|
attr_accessor :description
|
@@ -44075,54 +44238,59 @@ module Google
|
|
44075
44238
|
# @return [Fixnum]
|
44076
44239
|
attr_accessor :id
|
44077
44240
|
|
44078
|
-
# [Output Only] Type of the resource. Always compute#
|
44241
|
+
# [Output Only] Type of the resource. Always compute#recoverableSnapshot for
|
44242
|
+
# RecoverableSnapshot resources.
|
44079
44243
|
# Corresponds to the JSON property `kind`
|
44080
44244
|
# @return [String]
|
44081
44245
|
attr_accessor :kind
|
44082
44246
|
|
44083
|
-
#
|
44247
|
+
# Identifier. Name of the recoverable snapshot generated on the deletion of the
|
44248
|
+
# snapshot. The name will be 1-63 characters long, and comply with RFC1035.
|
44249
|
+
# Specifically, the name will be 1-63 characters long and match the regular
|
44250
|
+
# expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character will
|
44251
|
+
# be a lowercase letter, and all following characters can be a dash, lowercase
|
44252
|
+
# letter, or digit, except the last character, which cannot be a dash.
|
44084
44253
|
# Corresponds to the JSON property `name`
|
44085
44254
|
# @return [String]
|
44086
44255
|
attr_accessor :name
|
44087
44256
|
|
44088
|
-
#
|
44089
|
-
#
|
44090
|
-
#
|
44091
|
-
|
44092
|
-
attr_accessor :quota_status_warning
|
44257
|
+
# Output Only] The original snapshot resource.
|
44258
|
+
# Corresponds to the JSON property `originalResource`
|
44259
|
+
# @return [Google::Apis::ComputeAlpha::RecoverableSnapshotOriginalSnapshot]
|
44260
|
+
attr_accessor :original_resource
|
44093
44261
|
|
44094
|
-
# [Output Only]
|
44095
|
-
# Corresponds to the JSON property `
|
44096
|
-
# @return [
|
44097
|
-
attr_accessor :
|
44262
|
+
# [Output Only] Purge timestamp of recoverable snapshot in RFC3339 text format.
|
44263
|
+
# Corresponds to the JSON property `purgeTimestamp`
|
44264
|
+
# @return [String]
|
44265
|
+
attr_accessor :purge_timestamp
|
44266
|
+
|
44267
|
+
# Output only. [Output Only] Reserved for future use.
|
44268
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
44269
|
+
# @return [Boolean]
|
44270
|
+
attr_accessor :satisfies_pzi
|
44271
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
44272
|
+
|
44273
|
+
# [Output Only] Reserved for future use.
|
44274
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
44275
|
+
# @return [Boolean]
|
44276
|
+
attr_accessor :satisfies_pzs
|
44277
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
44098
44278
|
|
44099
44279
|
# [Output Only] Server-defined URL for the resource.
|
44100
44280
|
# Corresponds to the JSON property `selfLink`
|
44101
44281
|
# @return [String]
|
44102
44282
|
attr_accessor :self_link
|
44103
44283
|
|
44104
|
-
# [Output Only] Server-defined URL for this resource
|
44284
|
+
# [Output Only] Server-defined URL for this resource's resource id.
|
44105
44285
|
# Corresponds to the JSON property `selfLinkWithId`
|
44106
44286
|
# @return [String]
|
44107
44287
|
attr_accessor :self_link_with_id
|
44108
44288
|
|
44109
|
-
# [Output Only] Status of the
|
44289
|
+
# [Output Only] Status of the recoverable snapshot.
|
44110
44290
|
# Corresponds to the JSON property `status`
|
44111
44291
|
# @return [String]
|
44112
44292
|
attr_accessor :status
|
44113
44293
|
|
44114
|
-
# [Output Only] Reserved for future use.
|
44115
|
-
# Corresponds to the JSON property `supportsPzs`
|
44116
|
-
# @return [Boolean]
|
44117
|
-
attr_accessor :supports_pzs
|
44118
|
-
alias_method :supports_pzs?, :supports_pzs
|
44119
|
-
|
44120
|
-
# [Output Only] A list of zones available in this region, in the form of
|
44121
|
-
# resource URLs.
|
44122
|
-
# Corresponds to the JSON property `zones`
|
44123
|
-
# @return [Array<String>]
|
44124
|
-
attr_accessor :zones
|
44125
|
-
|
44126
44294
|
def initialize(**args)
|
44127
44295
|
update!(**args)
|
44128
44296
|
end
|
@@ -44130,23 +44298,88 @@ module Google
|
|
44130
44298
|
# Update properties of this object
|
44131
44299
|
def update!(**args)
|
44132
44300
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
44133
|
-
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
44134
44301
|
@description = args[:description] if args.key?(:description)
|
44135
44302
|
@id = args[:id] if args.key?(:id)
|
44136
44303
|
@kind = args[:kind] if args.key?(:kind)
|
44137
44304
|
@name = args[:name] if args.key?(:name)
|
44138
|
-
@
|
44139
|
-
@
|
44305
|
+
@original_resource = args[:original_resource] if args.key?(:original_resource)
|
44306
|
+
@purge_timestamp = args[:purge_timestamp] if args.key?(:purge_timestamp)
|
44307
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
44308
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
44140
44309
|
@self_link = args[:self_link] if args.key?(:self_link)
|
44141
44310
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
44142
44311
|
@status = args[:status] if args.key?(:status)
|
44143
|
-
|
44144
|
-
|
44312
|
+
end
|
44313
|
+
end
|
44314
|
+
|
44315
|
+
#
|
44316
|
+
class RecoverableSnapshotAggregatedList
|
44317
|
+
include Google::Apis::Core::Hashable
|
44318
|
+
|
44319
|
+
#
|
44320
|
+
# Corresponds to the JSON property `etag`
|
44321
|
+
# @return [String]
|
44322
|
+
attr_accessor :etag
|
44323
|
+
|
44324
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
44325
|
+
# Corresponds to the JSON property `id`
|
44326
|
+
# @return [String]
|
44327
|
+
attr_accessor :id
|
44328
|
+
|
44329
|
+
# A list of RecoverableSnapshotsScopedList resources.
|
44330
|
+
# Corresponds to the JSON property `items`
|
44331
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::RecoverableSnapshotsScopedList>]
|
44332
|
+
attr_accessor :items
|
44333
|
+
|
44334
|
+
# [Output Only] Type of resource. Always compute#
|
44335
|
+
# recoverableSnapshotAggregatedList for aggregated lists of recoverablesnapshots.
|
44336
|
+
# Corresponds to the JSON property `kind`
|
44337
|
+
# @return [String]
|
44338
|
+
attr_accessor :kind
|
44339
|
+
|
44340
|
+
# [Output Only] This token allows you to get the next page of results for list
|
44341
|
+
# requests. If the number of results is larger than maxResults, use the
|
44342
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
44343
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
44344
|
+
# continue paging through the results.
|
44345
|
+
# Corresponds to the JSON property `nextPageToken`
|
44346
|
+
# @return [String]
|
44347
|
+
attr_accessor :next_page_token
|
44348
|
+
|
44349
|
+
# [Output Only] Server-defined URL for this resource.
|
44350
|
+
# Corresponds to the JSON property `selfLink`
|
44351
|
+
# @return [String]
|
44352
|
+
attr_accessor :self_link
|
44353
|
+
|
44354
|
+
# [Output Only] Unreachable resources. end_interface:
|
44355
|
+
# MixerListResponseWithEtagBuilder
|
44356
|
+
# Corresponds to the JSON property `unreachables`
|
44357
|
+
# @return [Array<String>]
|
44358
|
+
attr_accessor :unreachables
|
44359
|
+
|
44360
|
+
# [Output Only] Informational warning message.
|
44361
|
+
# Corresponds to the JSON property `warning`
|
44362
|
+
# @return [Google::Apis::ComputeAlpha::RecoverableSnapshotAggregatedList::Warning]
|
44363
|
+
attr_accessor :warning
|
44364
|
+
|
44365
|
+
def initialize(**args)
|
44366
|
+
update!(**args)
|
44367
|
+
end
|
44368
|
+
|
44369
|
+
# Update properties of this object
|
44370
|
+
def update!(**args)
|
44371
|
+
@etag = args[:etag] if args.key?(:etag)
|
44372
|
+
@id = args[:id] if args.key?(:id)
|
44373
|
+
@items = args[:items] if args.key?(:items)
|
44374
|
+
@kind = args[:kind] if args.key?(:kind)
|
44375
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
44376
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
44377
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
44378
|
+
@warning = args[:warning] if args.key?(:warning)
|
44145
44379
|
end
|
44146
44380
|
|
44147
|
-
# [Output Only]
|
44148
|
-
|
44149
|
-
class QuotaStatusWarning
|
44381
|
+
# [Output Only] Informational warning message.
|
44382
|
+
class Warning
|
44150
44383
|
include Google::Apis::Core::Hashable
|
44151
44384
|
|
44152
44385
|
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
@@ -44158,7 +44391,744 @@ module Google
|
|
44158
44391
|
# [Output Only] Metadata about this warning in key: value format. For example: "
|
44159
44392
|
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
44160
44393
|
# Corresponds to the JSON property `data`
|
44161
|
-
# @return [Array<Google::Apis::ComputeAlpha::
|
44394
|
+
# @return [Array<Google::Apis::ComputeAlpha::RecoverableSnapshotAggregatedList::Warning::Datum>]
|
44395
|
+
attr_accessor :data
|
44396
|
+
|
44397
|
+
# [Output Only] A human-readable description of the warning code.
|
44398
|
+
# Corresponds to the JSON property `message`
|
44399
|
+
# @return [String]
|
44400
|
+
attr_accessor :message
|
44401
|
+
|
44402
|
+
def initialize(**args)
|
44403
|
+
update!(**args)
|
44404
|
+
end
|
44405
|
+
|
44406
|
+
# Update properties of this object
|
44407
|
+
def update!(**args)
|
44408
|
+
@code = args[:code] if args.key?(:code)
|
44409
|
+
@data = args[:data] if args.key?(:data)
|
44410
|
+
@message = args[:message] if args.key?(:message)
|
44411
|
+
end
|
44412
|
+
|
44413
|
+
#
|
44414
|
+
class Datum
|
44415
|
+
include Google::Apis::Core::Hashable
|
44416
|
+
|
44417
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
44418
|
+
# For example, for warnings where there are no results in a list request for a
|
44419
|
+
# particular zone, this key might be scope and the key value might be the zone
|
44420
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
44421
|
+
# suggested replacement, or a warning about invalid network settings (for
|
44422
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
44423
|
+
# for IP forwarding).
|
44424
|
+
# Corresponds to the JSON property `key`
|
44425
|
+
# @return [String]
|
44426
|
+
attr_accessor :key
|
44427
|
+
|
44428
|
+
# [Output Only] A warning data value corresponding to the key.
|
44429
|
+
# Corresponds to the JSON property `value`
|
44430
|
+
# @return [String]
|
44431
|
+
attr_accessor :value
|
44432
|
+
|
44433
|
+
def initialize(**args)
|
44434
|
+
update!(**args)
|
44435
|
+
end
|
44436
|
+
|
44437
|
+
# Update properties of this object
|
44438
|
+
def update!(**args)
|
44439
|
+
@key = args[:key] if args.key?(:key)
|
44440
|
+
@value = args[:value] if args.key?(:value)
|
44441
|
+
end
|
44442
|
+
end
|
44443
|
+
end
|
44444
|
+
end
|
44445
|
+
|
44446
|
+
#
|
44447
|
+
class RecoverableSnapshotList
|
44448
|
+
include Google::Apis::Core::Hashable
|
44449
|
+
|
44450
|
+
#
|
44451
|
+
# Corresponds to the JSON property `etag`
|
44452
|
+
# @return [String]
|
44453
|
+
attr_accessor :etag
|
44454
|
+
|
44455
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
44456
|
+
# Corresponds to the JSON property `id`
|
44457
|
+
# @return [String]
|
44458
|
+
attr_accessor :id
|
44459
|
+
|
44460
|
+
# A list of RecoverableSnapshots resources.
|
44461
|
+
# Corresponds to the JSON property `items`
|
44462
|
+
# @return [Array<Google::Apis::ComputeAlpha::RecoverableSnapshot>]
|
44463
|
+
attr_accessor :items
|
44464
|
+
|
44465
|
+
# [Output Only] Type of resource. Always compute#recoverableSnapshotList for
|
44466
|
+
# lists of recoverablesnapshots.
|
44467
|
+
# Corresponds to the JSON property `kind`
|
44468
|
+
# @return [String]
|
44469
|
+
attr_accessor :kind
|
44470
|
+
|
44471
|
+
# [Output Only] This token allows you to get the next page of results for list
|
44472
|
+
# requests. If the number of results is larger than maxResults, use the
|
44473
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
44474
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
44475
|
+
# continue paging through the results.
|
44476
|
+
# Corresponds to the JSON property `nextPageToken`
|
44477
|
+
# @return [String]
|
44478
|
+
attr_accessor :next_page_token
|
44479
|
+
|
44480
|
+
# [Output Only] Server-defined URL for this resource.
|
44481
|
+
# Corresponds to the JSON property `selfLink`
|
44482
|
+
# @return [String]
|
44483
|
+
attr_accessor :self_link
|
44484
|
+
|
44485
|
+
# [Output Only] Unreachable resources. end_interface:
|
44486
|
+
# MixerListResponseWithEtagBuilder
|
44487
|
+
# Corresponds to the JSON property `unreachables`
|
44488
|
+
# @return [Array<String>]
|
44489
|
+
attr_accessor :unreachables
|
44490
|
+
|
44491
|
+
# [Output Only] Informational warning message.
|
44492
|
+
# Corresponds to the JSON property `warning`
|
44493
|
+
# @return [Google::Apis::ComputeAlpha::RecoverableSnapshotList::Warning]
|
44494
|
+
attr_accessor :warning
|
44495
|
+
|
44496
|
+
def initialize(**args)
|
44497
|
+
update!(**args)
|
44498
|
+
end
|
44499
|
+
|
44500
|
+
# Update properties of this object
|
44501
|
+
def update!(**args)
|
44502
|
+
@etag = args[:etag] if args.key?(:etag)
|
44503
|
+
@id = args[:id] if args.key?(:id)
|
44504
|
+
@items = args[:items] if args.key?(:items)
|
44505
|
+
@kind = args[:kind] if args.key?(:kind)
|
44506
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
44507
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
44508
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
44509
|
+
@warning = args[:warning] if args.key?(:warning)
|
44510
|
+
end
|
44511
|
+
|
44512
|
+
# [Output Only] Informational warning message.
|
44513
|
+
class Warning
|
44514
|
+
include Google::Apis::Core::Hashable
|
44515
|
+
|
44516
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
44517
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
44518
|
+
# Corresponds to the JSON property `code`
|
44519
|
+
# @return [String]
|
44520
|
+
attr_accessor :code
|
44521
|
+
|
44522
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
44523
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
44524
|
+
# Corresponds to the JSON property `data`
|
44525
|
+
# @return [Array<Google::Apis::ComputeAlpha::RecoverableSnapshotList::Warning::Datum>]
|
44526
|
+
attr_accessor :data
|
44527
|
+
|
44528
|
+
# [Output Only] A human-readable description of the warning code.
|
44529
|
+
# Corresponds to the JSON property `message`
|
44530
|
+
# @return [String]
|
44531
|
+
attr_accessor :message
|
44532
|
+
|
44533
|
+
def initialize(**args)
|
44534
|
+
update!(**args)
|
44535
|
+
end
|
44536
|
+
|
44537
|
+
# Update properties of this object
|
44538
|
+
def update!(**args)
|
44539
|
+
@code = args[:code] if args.key?(:code)
|
44540
|
+
@data = args[:data] if args.key?(:data)
|
44541
|
+
@message = args[:message] if args.key?(:message)
|
44542
|
+
end
|
44543
|
+
|
44544
|
+
#
|
44545
|
+
class Datum
|
44546
|
+
include Google::Apis::Core::Hashable
|
44547
|
+
|
44548
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
44549
|
+
# For example, for warnings where there are no results in a list request for a
|
44550
|
+
# particular zone, this key might be scope and the key value might be the zone
|
44551
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
44552
|
+
# suggested replacement, or a warning about invalid network settings (for
|
44553
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
44554
|
+
# for IP forwarding).
|
44555
|
+
# Corresponds to the JSON property `key`
|
44556
|
+
# @return [String]
|
44557
|
+
attr_accessor :key
|
44558
|
+
|
44559
|
+
# [Output Only] A warning data value corresponding to the key.
|
44560
|
+
# Corresponds to the JSON property `value`
|
44561
|
+
# @return [String]
|
44562
|
+
attr_accessor :value
|
44563
|
+
|
44564
|
+
def initialize(**args)
|
44565
|
+
update!(**args)
|
44566
|
+
end
|
44567
|
+
|
44568
|
+
# Update properties of this object
|
44569
|
+
def update!(**args)
|
44570
|
+
@key = args[:key] if args.key?(:key)
|
44571
|
+
@value = args[:value] if args.key?(:value)
|
44572
|
+
end
|
44573
|
+
end
|
44574
|
+
end
|
44575
|
+
end
|
44576
|
+
|
44577
|
+
#
|
44578
|
+
class RecoverableSnapshotOriginalSnapshot
|
44579
|
+
include Google::Apis::Core::Hashable
|
44580
|
+
|
44581
|
+
# [Output Only] The architecture of the snapshot. Valid values are ARM64 or
|
44582
|
+
# X86_64.
|
44583
|
+
# Corresponds to the JSON property `architecture`
|
44584
|
+
# @return [String]
|
44585
|
+
attr_accessor :architecture
|
44586
|
+
|
44587
|
+
# [Output Only] Set to true if snapshots are automatically created by applying
|
44588
|
+
# resource policy on the target disk.
|
44589
|
+
# Corresponds to the JSON property `autoCreated`
|
44590
|
+
# @return [Boolean]
|
44591
|
+
attr_accessor :auto_created
|
44592
|
+
alias_method :auto_created?, :auto_created
|
44593
|
+
|
44594
|
+
# ResourceKey of the resource policy or flow which created this auto snapshot
|
44595
|
+
# Corresponds to the JSON property `autoCreatedBy`
|
44596
|
+
# @return [String]
|
44597
|
+
attr_accessor :auto_created_by
|
44598
|
+
|
44599
|
+
# Creates the new snapshot in the snapshot chain labeled with the specified name.
|
44600
|
+
# The chain name must be 1-63 characters long and comply with RFC1035. This is
|
44601
|
+
# an uncommon option only for advanced service owners who needs to create
|
44602
|
+
# separate snapshot chains, for example, for chargeback tracking. When you
|
44603
|
+
# describe your snapshot resource, this field is visible only if it has a non-
|
44604
|
+
# empty value.
|
44605
|
+
# Corresponds to the JSON property `chainName`
|
44606
|
+
# @return [String]
|
44607
|
+
attr_accessor :chain_name
|
44608
|
+
|
44609
|
+
# [Output Only] Size in bytes of the snapshot at creation time.
|
44610
|
+
# Corresponds to the JSON property `creationSizeBytes`
|
44611
|
+
# @return [Fixnum]
|
44612
|
+
attr_accessor :creation_size_bytes
|
44613
|
+
|
44614
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
44615
|
+
# Corresponds to the JSON property `creationTimestamp`
|
44616
|
+
# @return [String]
|
44617
|
+
attr_accessor :creation_timestamp
|
44618
|
+
|
44619
|
+
# [Output Only] Purge timestamp of recoverable snapshot in RFC3339 text format.
|
44620
|
+
# Corresponds to the JSON property `deletionTimestamp`
|
44621
|
+
# @return [String]
|
44622
|
+
attr_accessor :deletion_timestamp
|
44623
|
+
|
44624
|
+
# An optional description of this resource.
|
44625
|
+
# Corresponds to the JSON property `description`
|
44626
|
+
# @return [String]
|
44627
|
+
attr_accessor :description
|
44628
|
+
|
44629
|
+
# [Output Only] Size of the source disk, specified in GB.
|
44630
|
+
# Corresponds to the JSON property `diskSizeGb`
|
44631
|
+
# @return [Fixnum]
|
44632
|
+
attr_accessor :disk_size_gb
|
44633
|
+
|
44634
|
+
# [Output Only] Number of bytes downloaded to restore a snapshot to a disk.
|
44635
|
+
# Corresponds to the JSON property `downloadBytes`
|
44636
|
+
# @return [Fixnum]
|
44637
|
+
attr_accessor :download_bytes
|
44638
|
+
|
44639
|
+
# Whether this snapshot is created from a confidential compute mode disk. [
|
44640
|
+
# Output Only]: This field is not set by user, but from source disk.
|
44641
|
+
# Corresponds to the JSON property `enableConfidentialCompute`
|
44642
|
+
# @return [Boolean]
|
44643
|
+
attr_accessor :enable_confidential_compute
|
44644
|
+
alias_method :enable_confidential_compute?, :enable_confidential_compute
|
44645
|
+
|
44646
|
+
# Indicates the created snapshot is a full snapshot.
|
44647
|
+
# Corresponds to the JSON property `full`
|
44648
|
+
# @return [Boolean]
|
44649
|
+
attr_accessor :full
|
44650
|
+
alias_method :full?, :full
|
44651
|
+
|
44652
|
+
# [Output Only] A list of features to enable on the guest operating system.
|
44653
|
+
# Applicable only for bootable images. Read Enabling guest operating system
|
44654
|
+
# features to see a list of available options.
|
44655
|
+
# Corresponds to the JSON property `guestOsFeatures`
|
44656
|
+
# @return [Array<Google::Apis::ComputeAlpha::GuestOsFeature>]
|
44657
|
+
attr_accessor :guest_os_features
|
44658
|
+
|
44659
|
+
# [Output Only] The unique identifier for the original snapshot. This identifier
|
44660
|
+
# is defined by the server.
|
44661
|
+
# Corresponds to the JSON property `id`
|
44662
|
+
# @return [Fixnum]
|
44663
|
+
attr_accessor :id
|
44664
|
+
|
44665
|
+
# A fingerprint for the labels being applied to this snapshot, which is
|
44666
|
+
# essentially a hash of the labels set used for optimistic locking. The
|
44667
|
+
# fingerprint is initially generated by Compute Engine and changes after every
|
44668
|
+
# request to modify or update labels. You must always provide an up-to-date
|
44669
|
+
# fingerprint hash in order to update or change labels, otherwise the request
|
44670
|
+
# will fail with error 412 conditionNotMet. To see the latest fingerprint, make
|
44671
|
+
# a get() request to retrieve a snapshot.
|
44672
|
+
# Corresponds to the JSON property `labelFingerprint`
|
44673
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
44674
|
+
# @return [String]
|
44675
|
+
attr_accessor :label_fingerprint
|
44676
|
+
|
44677
|
+
# Labels to apply to this snapshot. These can be later modified by the setLabels
|
44678
|
+
# method. Label values may be empty.
|
44679
|
+
# Corresponds to the JSON property `labels`
|
44680
|
+
# @return [Hash<String,String>]
|
44681
|
+
attr_accessor :labels
|
44682
|
+
|
44683
|
+
# [Output Only] Integer license codes indicating which licenses are attached to
|
44684
|
+
# this snapshot.
|
44685
|
+
# Corresponds to the JSON property `licenseCodes`
|
44686
|
+
# @return [Array<Fixnum>]
|
44687
|
+
attr_accessor :license_codes
|
44688
|
+
|
44689
|
+
# [Output Only] A list of public visible licenses that apply to this snapshot.
|
44690
|
+
# Corresponds to the JSON property `licenses`
|
44691
|
+
# @return [Array<String>]
|
44692
|
+
attr_accessor :licenses
|
44693
|
+
|
44694
|
+
# Number of days the snapshot should be retained before being deleted
|
44695
|
+
# automatically.
|
44696
|
+
# Corresponds to the JSON property `maxRetentionDays`
|
44697
|
+
# @return [Fixnum]
|
44698
|
+
attr_accessor :max_retention_days
|
44699
|
+
|
44700
|
+
# Name of the original snapshot provided by the client. The name must be 1-63
|
44701
|
+
# characters long, and comply with RFC1035. Specifically, the name must be 1-63
|
44702
|
+
# characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`
|
44703
|
+
# which means the first character must be a lowercase letter, and all following
|
44704
|
+
# characters must be a dash, lowercase letter, or digit, except the last
|
44705
|
+
# character, which cannot be a dash.
|
44706
|
+
# Corresponds to the JSON property `name`
|
44707
|
+
# @return [String]
|
44708
|
+
attr_accessor :name
|
44709
|
+
|
44710
|
+
# [Output Only] URL of the region where the snapshot resides. Only applicable
|
44711
|
+
# for regional snapshots.
|
44712
|
+
# Corresponds to the JSON property `region`
|
44713
|
+
# @return [String]
|
44714
|
+
attr_accessor :region
|
44715
|
+
|
44716
|
+
# Output only. Reserved for future use.
|
44717
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
44718
|
+
# @return [Boolean]
|
44719
|
+
attr_accessor :satisfies_pzi
|
44720
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
44721
|
+
|
44722
|
+
# [Output Only] Reserved for future use.
|
44723
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
44724
|
+
# @return [Boolean]
|
44725
|
+
attr_accessor :satisfies_pzs
|
44726
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
44727
|
+
|
44728
|
+
# [Output Only] Server-defined URL for the resource.
|
44729
|
+
# Corresponds to the JSON property `selfLink`
|
44730
|
+
# @return [String]
|
44731
|
+
attr_accessor :self_link
|
44732
|
+
|
44733
|
+
# [Output Only] Server-defined URL for this resource's resource id.
|
44734
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
44735
|
+
# @return [String]
|
44736
|
+
attr_accessor :self_link_with_id
|
44737
|
+
|
44738
|
+
# Encrypts the snapshot using a customer-supplied encryption key. After you
|
44739
|
+
# encrypt a snapshot using a customer-supplied key, you must provide the same
|
44740
|
+
# key if you use the snapshot later. For example, you must provide the
|
44741
|
+
# encryption key when you create a disk from the encrypted snapshot in a future
|
44742
|
+
# request. Customer-supplied encryption keys do not protect access to metadata
|
44743
|
+
# of the snapshot. If you do not provide an encryption key when creating the
|
44744
|
+
# snapshot, then the snapshot will be encrypted using an automatically generated
|
44745
|
+
# key and you do not need to provide a key to use the snapshot later.
|
44746
|
+
# Corresponds to the JSON property `snapshotEncryptionKey`
|
44747
|
+
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
44748
|
+
attr_accessor :snapshot_encryption_key
|
44749
|
+
|
44750
|
+
# [Output Only] The unique ID of the snapshot group that this snapshot belongs
|
44751
|
+
# to.
|
44752
|
+
# Corresponds to the JSON property `snapshotGroupId`
|
44753
|
+
# @return [String]
|
44754
|
+
attr_accessor :snapshot_group_id
|
44755
|
+
|
44756
|
+
# [Output only] The snapshot group that this snapshot belongs to.
|
44757
|
+
# Corresponds to the JSON property `snapshotGroupName`
|
44758
|
+
# @return [String]
|
44759
|
+
attr_accessor :snapshot_group_name
|
44760
|
+
|
44761
|
+
# Indicates the type of the snapshot.
|
44762
|
+
# Corresponds to the JSON property `snapshotType`
|
44763
|
+
# @return [String]
|
44764
|
+
attr_accessor :snapshot_type
|
44765
|
+
|
44766
|
+
# The source disk used to create this snapshot.
|
44767
|
+
# Corresponds to the JSON property `sourceDisk`
|
44768
|
+
# @return [String]
|
44769
|
+
attr_accessor :source_disk
|
44770
|
+
|
44771
|
+
# The customer-supplied encryption key of the source disk. Required if the
|
44772
|
+
# source disk is protected by a customer-supplied encryption key.
|
44773
|
+
# Corresponds to the JSON property `sourceDiskEncryptionKey`
|
44774
|
+
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
44775
|
+
attr_accessor :source_disk_encryption_key
|
44776
|
+
|
44777
|
+
# The source disk whose recovery checkpoint will be used to create this snapshot.
|
44778
|
+
# Corresponds to the JSON property `sourceDiskForRecoveryCheckpoint`
|
44779
|
+
# @return [String]
|
44780
|
+
attr_accessor :source_disk_for_recovery_checkpoint
|
44781
|
+
|
44782
|
+
# [Output Only] The ID value of the disk used to create this snapshot
|
44783
|
+
# Corresponds to the JSON property `sourceDiskId`
|
44784
|
+
# @return [String]
|
44785
|
+
attr_accessor :source_disk_id
|
44786
|
+
|
44787
|
+
# The source instant snapshot used to create this snapshot.
|
44788
|
+
# Corresponds to the JSON property `sourceInstantSnapshot`
|
44789
|
+
# @return [String]
|
44790
|
+
attr_accessor :source_instant_snapshot
|
44791
|
+
|
44792
|
+
# Customer provided encryption key when creating Snapshot from Instant Snapshot.
|
44793
|
+
# Corresponds to the JSON property `sourceInstantSnapshotEncryptionKey`
|
44794
|
+
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
44795
|
+
attr_accessor :source_instant_snapshot_encryption_key
|
44796
|
+
|
44797
|
+
# [Output Only] The unique ID of the instant snapshot used to create this
|
44798
|
+
# snapshot. This value identifies the exact instant snapshot that was used to
|
44799
|
+
# create this persistent disk. For example, if you created the persistent disk
|
44800
|
+
# from an instant snapshot that was later deleted and recreated under the same
|
44801
|
+
# name, the source instant snapshot ID would identify the exact instant snapshot
|
44802
|
+
# that was used.
|
44803
|
+
# Corresponds to the JSON property `sourceInstantSnapshotId`
|
44804
|
+
# @return [String]
|
44805
|
+
attr_accessor :source_instant_snapshot_id
|
44806
|
+
|
44807
|
+
# [Output Only] URL of the resource policy which created this scheduled snapshot.
|
44808
|
+
# Corresponds to the JSON property `sourceSnapshotSchedulePolicy`
|
44809
|
+
# @return [String]
|
44810
|
+
attr_accessor :source_snapshot_schedule_policy
|
44811
|
+
|
44812
|
+
# [Output Only] ID of the resource policy which created this scheduled snapshot.
|
44813
|
+
# Corresponds to the JSON property `sourceSnapshotSchedulePolicyId`
|
44814
|
+
# @return [String]
|
44815
|
+
attr_accessor :source_snapshot_schedule_policy_id
|
44816
|
+
|
44817
|
+
# [Output Only] A size of the storage used by the snapshot.
|
44818
|
+
# Corresponds to the JSON property `storageBytes`
|
44819
|
+
# @return [Fixnum]
|
44820
|
+
attr_accessor :storage_bytes
|
44821
|
+
|
44822
|
+
# [Output Only] An indicator whether storageBytes is in a stable state or it is
|
44823
|
+
# being adjusted as a result of shared storage reallocation. This status can
|
44824
|
+
# either be UPDATING, meaning the size of the snapshot is being updated, or
|
44825
|
+
# UP_TO_DATE, meaning the size of the snapshot is up-to-date.
|
44826
|
+
# Corresponds to the JSON property `storageBytesStatus`
|
44827
|
+
# @return [String]
|
44828
|
+
attr_accessor :storage_bytes_status
|
44829
|
+
|
44830
|
+
# Cloud Storage bucket storage location of the snapshot (regional or multi-
|
44831
|
+
# regional).
|
44832
|
+
# Corresponds to the JSON property `storageLocations`
|
44833
|
+
# @return [Array<String>]
|
44834
|
+
attr_accessor :storage_locations
|
44835
|
+
|
44836
|
+
# [Output Only] A list of user provided licenses represented by a list of URLs
|
44837
|
+
# to the license resource.
|
44838
|
+
# Corresponds to the JSON property `userLicenses`
|
44839
|
+
# @return [Array<String>]
|
44840
|
+
attr_accessor :user_licenses
|
44841
|
+
|
44842
|
+
def initialize(**args)
|
44843
|
+
update!(**args)
|
44844
|
+
end
|
44845
|
+
|
44846
|
+
# Update properties of this object
|
44847
|
+
def update!(**args)
|
44848
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
44849
|
+
@auto_created = args[:auto_created] if args.key?(:auto_created)
|
44850
|
+
@auto_created_by = args[:auto_created_by] if args.key?(:auto_created_by)
|
44851
|
+
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
44852
|
+
@creation_size_bytes = args[:creation_size_bytes] if args.key?(:creation_size_bytes)
|
44853
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
44854
|
+
@deletion_timestamp = args[:deletion_timestamp] if args.key?(:deletion_timestamp)
|
44855
|
+
@description = args[:description] if args.key?(:description)
|
44856
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
44857
|
+
@download_bytes = args[:download_bytes] if args.key?(:download_bytes)
|
44858
|
+
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
|
44859
|
+
@full = args[:full] if args.key?(:full)
|
44860
|
+
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
44861
|
+
@id = args[:id] if args.key?(:id)
|
44862
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
44863
|
+
@labels = args[:labels] if args.key?(:labels)
|
44864
|
+
@license_codes = args[:license_codes] if args.key?(:license_codes)
|
44865
|
+
@licenses = args[:licenses] if args.key?(:licenses)
|
44866
|
+
@max_retention_days = args[:max_retention_days] if args.key?(:max_retention_days)
|
44867
|
+
@name = args[:name] if args.key?(:name)
|
44868
|
+
@region = args[:region] if args.key?(:region)
|
44869
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
44870
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
44871
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
44872
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
44873
|
+
@snapshot_encryption_key = args[:snapshot_encryption_key] if args.key?(:snapshot_encryption_key)
|
44874
|
+
@snapshot_group_id = args[:snapshot_group_id] if args.key?(:snapshot_group_id)
|
44875
|
+
@snapshot_group_name = args[:snapshot_group_name] if args.key?(:snapshot_group_name)
|
44876
|
+
@snapshot_type = args[:snapshot_type] if args.key?(:snapshot_type)
|
44877
|
+
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
44878
|
+
@source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
|
44879
|
+
@source_disk_for_recovery_checkpoint = args[:source_disk_for_recovery_checkpoint] if args.key?(:source_disk_for_recovery_checkpoint)
|
44880
|
+
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
|
44881
|
+
@source_instant_snapshot = args[:source_instant_snapshot] if args.key?(:source_instant_snapshot)
|
44882
|
+
@source_instant_snapshot_encryption_key = args[:source_instant_snapshot_encryption_key] if args.key?(:source_instant_snapshot_encryption_key)
|
44883
|
+
@source_instant_snapshot_id = args[:source_instant_snapshot_id] if args.key?(:source_instant_snapshot_id)
|
44884
|
+
@source_snapshot_schedule_policy = args[:source_snapshot_schedule_policy] if args.key?(:source_snapshot_schedule_policy)
|
44885
|
+
@source_snapshot_schedule_policy_id = args[:source_snapshot_schedule_policy_id] if args.key?(:source_snapshot_schedule_policy_id)
|
44886
|
+
@storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
|
44887
|
+
@storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
|
44888
|
+
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
44889
|
+
@user_licenses = args[:user_licenses] if args.key?(:user_licenses)
|
44890
|
+
end
|
44891
|
+
end
|
44892
|
+
|
44893
|
+
#
|
44894
|
+
class RecoverableSnapshotsScopedList
|
44895
|
+
include Google::Apis::Core::Hashable
|
44896
|
+
|
44897
|
+
# [Output Only] A list of recoverablesnapshots contained in this scope.
|
44898
|
+
# Corresponds to the JSON property `recoverablesnapshots`
|
44899
|
+
# @return [Array<Google::Apis::ComputeAlpha::RecoverableSnapshot>]
|
44900
|
+
attr_accessor :recoverablesnapshots
|
44901
|
+
|
44902
|
+
# [Output Only] Informational warning which replaces the list of
|
44903
|
+
# recoverablesnapshots when the list is empty.
|
44904
|
+
# Corresponds to the JSON property `warning`
|
44905
|
+
# @return [Google::Apis::ComputeAlpha::RecoverableSnapshotsScopedList::Warning]
|
44906
|
+
attr_accessor :warning
|
44907
|
+
|
44908
|
+
def initialize(**args)
|
44909
|
+
update!(**args)
|
44910
|
+
end
|
44911
|
+
|
44912
|
+
# Update properties of this object
|
44913
|
+
def update!(**args)
|
44914
|
+
@recoverablesnapshots = args[:recoverablesnapshots] if args.key?(:recoverablesnapshots)
|
44915
|
+
@warning = args[:warning] if args.key?(:warning)
|
44916
|
+
end
|
44917
|
+
|
44918
|
+
# [Output Only] Informational warning which replaces the list of
|
44919
|
+
# recoverablesnapshots when the list is empty.
|
44920
|
+
class Warning
|
44921
|
+
include Google::Apis::Core::Hashable
|
44922
|
+
|
44923
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
44924
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
44925
|
+
# Corresponds to the JSON property `code`
|
44926
|
+
# @return [String]
|
44927
|
+
attr_accessor :code
|
44928
|
+
|
44929
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
44930
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
44931
|
+
# Corresponds to the JSON property `data`
|
44932
|
+
# @return [Array<Google::Apis::ComputeAlpha::RecoverableSnapshotsScopedList::Warning::Datum>]
|
44933
|
+
attr_accessor :data
|
44934
|
+
|
44935
|
+
# [Output Only] A human-readable description of the warning code.
|
44936
|
+
# Corresponds to the JSON property `message`
|
44937
|
+
# @return [String]
|
44938
|
+
attr_accessor :message
|
44939
|
+
|
44940
|
+
def initialize(**args)
|
44941
|
+
update!(**args)
|
44942
|
+
end
|
44943
|
+
|
44944
|
+
# Update properties of this object
|
44945
|
+
def update!(**args)
|
44946
|
+
@code = args[:code] if args.key?(:code)
|
44947
|
+
@data = args[:data] if args.key?(:data)
|
44948
|
+
@message = args[:message] if args.key?(:message)
|
44949
|
+
end
|
44950
|
+
|
44951
|
+
#
|
44952
|
+
class Datum
|
44953
|
+
include Google::Apis::Core::Hashable
|
44954
|
+
|
44955
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
44956
|
+
# For example, for warnings where there are no results in a list request for a
|
44957
|
+
# particular zone, this key might be scope and the key value might be the zone
|
44958
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
44959
|
+
# suggested replacement, or a warning about invalid network settings (for
|
44960
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
44961
|
+
# for IP forwarding).
|
44962
|
+
# Corresponds to the JSON property `key`
|
44963
|
+
# @return [String]
|
44964
|
+
attr_accessor :key
|
44965
|
+
|
44966
|
+
# [Output Only] A warning data value corresponding to the key.
|
44967
|
+
# Corresponds to the JSON property `value`
|
44968
|
+
# @return [String]
|
44969
|
+
attr_accessor :value
|
44970
|
+
|
44971
|
+
def initialize(**args)
|
44972
|
+
update!(**args)
|
44973
|
+
end
|
44974
|
+
|
44975
|
+
# Update properties of this object
|
44976
|
+
def update!(**args)
|
44977
|
+
@key = args[:key] if args.key?(:key)
|
44978
|
+
@value = args[:value] if args.key?(:value)
|
44979
|
+
end
|
44980
|
+
end
|
44981
|
+
end
|
44982
|
+
end
|
44983
|
+
|
44984
|
+
# Represents a reference to a resource.
|
44985
|
+
class Reference
|
44986
|
+
include Google::Apis::Core::Hashable
|
44987
|
+
|
44988
|
+
# [Output Only] Type of the resource. Always compute#reference for references.
|
44989
|
+
# Corresponds to the JSON property `kind`
|
44990
|
+
# @return [String]
|
44991
|
+
attr_accessor :kind
|
44992
|
+
|
44993
|
+
# A description of the reference type with no implied semantics. Possible values
|
44994
|
+
# include: 1. MEMBER_OF
|
44995
|
+
# Corresponds to the JSON property `referenceType`
|
44996
|
+
# @return [String]
|
44997
|
+
attr_accessor :reference_type
|
44998
|
+
|
44999
|
+
# URL of the resource which refers to the target.
|
45000
|
+
# Corresponds to the JSON property `referrer`
|
45001
|
+
# @return [String]
|
45002
|
+
attr_accessor :referrer
|
45003
|
+
|
45004
|
+
# URL of the resource to which this reference points.
|
45005
|
+
# Corresponds to the JSON property `target`
|
45006
|
+
# @return [String]
|
45007
|
+
attr_accessor :target
|
45008
|
+
|
45009
|
+
def initialize(**args)
|
45010
|
+
update!(**args)
|
45011
|
+
end
|
45012
|
+
|
45013
|
+
# Update properties of this object
|
45014
|
+
def update!(**args)
|
45015
|
+
@kind = args[:kind] if args.key?(:kind)
|
45016
|
+
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
45017
|
+
@referrer = args[:referrer] if args.key?(:referrer)
|
45018
|
+
@target = args[:target] if args.key?(:target)
|
45019
|
+
end
|
45020
|
+
end
|
45021
|
+
|
45022
|
+
# Represents a Region resource. A region is a geographical area where a resource
|
45023
|
+
# is located. For more information, read Regions and Zones.
|
45024
|
+
class Region
|
45025
|
+
include Google::Apis::Core::Hashable
|
45026
|
+
|
45027
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
45028
|
+
# Corresponds to the JSON property `creationTimestamp`
|
45029
|
+
# @return [String]
|
45030
|
+
attr_accessor :creation_timestamp
|
45031
|
+
|
45032
|
+
# Deprecation status for a public resource.
|
45033
|
+
# Corresponds to the JSON property `deprecated`
|
45034
|
+
# @return [Google::Apis::ComputeAlpha::DeprecationStatus]
|
45035
|
+
attr_accessor :deprecated
|
45036
|
+
|
45037
|
+
# [Output Only] Textual description of the resource.
|
45038
|
+
# Corresponds to the JSON property `description`
|
45039
|
+
# @return [String]
|
45040
|
+
attr_accessor :description
|
45041
|
+
|
45042
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
45043
|
+
# defined by the server.
|
45044
|
+
# Corresponds to the JSON property `id`
|
45045
|
+
# @return [Fixnum]
|
45046
|
+
attr_accessor :id
|
45047
|
+
|
45048
|
+
# [Output Only] Type of the resource. Always compute#region for regions.
|
45049
|
+
# Corresponds to the JSON property `kind`
|
45050
|
+
# @return [String]
|
45051
|
+
attr_accessor :kind
|
45052
|
+
|
45053
|
+
# [Output Only] Name of the resource.
|
45054
|
+
# Corresponds to the JSON property `name`
|
45055
|
+
# @return [String]
|
45056
|
+
attr_accessor :name
|
45057
|
+
|
45058
|
+
# [Output Only] Warning of fetching the `quotas` field for this region. This
|
45059
|
+
# field is populated only if fetching of the `quotas` field fails.
|
45060
|
+
# Corresponds to the JSON property `quotaStatusWarning`
|
45061
|
+
# @return [Google::Apis::ComputeAlpha::Region::QuotaStatusWarning]
|
45062
|
+
attr_accessor :quota_status_warning
|
45063
|
+
|
45064
|
+
# [Output Only] Quotas assigned to this region.
|
45065
|
+
# Corresponds to the JSON property `quotas`
|
45066
|
+
# @return [Array<Google::Apis::ComputeAlpha::Quota>]
|
45067
|
+
attr_accessor :quotas
|
45068
|
+
|
45069
|
+
# [Output Only] Server-defined URL for the resource.
|
45070
|
+
# Corresponds to the JSON property `selfLink`
|
45071
|
+
# @return [String]
|
45072
|
+
attr_accessor :self_link
|
45073
|
+
|
45074
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
45075
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
45076
|
+
# @return [String]
|
45077
|
+
attr_accessor :self_link_with_id
|
45078
|
+
|
45079
|
+
# [Output Only] Status of the region, either UP or DOWN.
|
45080
|
+
# Corresponds to the JSON property `status`
|
45081
|
+
# @return [String]
|
45082
|
+
attr_accessor :status
|
45083
|
+
|
45084
|
+
# [Output Only] Reserved for future use.
|
45085
|
+
# Corresponds to the JSON property `supportsPzs`
|
45086
|
+
# @return [Boolean]
|
45087
|
+
attr_accessor :supports_pzs
|
45088
|
+
alias_method :supports_pzs?, :supports_pzs
|
45089
|
+
|
45090
|
+
# [Output Only] A list of zones available in this region, in the form of
|
45091
|
+
# resource URLs.
|
45092
|
+
# Corresponds to the JSON property `zones`
|
45093
|
+
# @return [Array<String>]
|
45094
|
+
attr_accessor :zones
|
45095
|
+
|
45096
|
+
def initialize(**args)
|
45097
|
+
update!(**args)
|
45098
|
+
end
|
45099
|
+
|
45100
|
+
# Update properties of this object
|
45101
|
+
def update!(**args)
|
45102
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
45103
|
+
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
45104
|
+
@description = args[:description] if args.key?(:description)
|
45105
|
+
@id = args[:id] if args.key?(:id)
|
45106
|
+
@kind = args[:kind] if args.key?(:kind)
|
45107
|
+
@name = args[:name] if args.key?(:name)
|
45108
|
+
@quota_status_warning = args[:quota_status_warning] if args.key?(:quota_status_warning)
|
45109
|
+
@quotas = args[:quotas] if args.key?(:quotas)
|
45110
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
45111
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
45112
|
+
@status = args[:status] if args.key?(:status)
|
45113
|
+
@supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
|
45114
|
+
@zones = args[:zones] if args.key?(:zones)
|
45115
|
+
end
|
45116
|
+
|
45117
|
+
# [Output Only] Warning of fetching the `quotas` field for this region. This
|
45118
|
+
# field is populated only if fetching of the `quotas` field fails.
|
45119
|
+
class QuotaStatusWarning
|
45120
|
+
include Google::Apis::Core::Hashable
|
45121
|
+
|
45122
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
45123
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
45124
|
+
# Corresponds to the JSON property `code`
|
45125
|
+
# @return [String]
|
45126
|
+
attr_accessor :code
|
45127
|
+
|
45128
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
45129
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
45130
|
+
# Corresponds to the JSON property `data`
|
45131
|
+
# @return [Array<Google::Apis::ComputeAlpha::Region::QuotaStatusWarning::Datum>]
|
44162
45132
|
attr_accessor :data
|
44163
45133
|
|
44164
45134
|
# [Output Only] A human-readable description of the warning code.
|
@@ -46422,7 +47392,8 @@ module Google
|
|
46422
47392
|
# @return [String]
|
46423
47393
|
attr_accessor :description
|
46424
47394
|
|
46425
|
-
# Indicates
|
47395
|
+
# Indicates whether Compute Engine allows unplanned maintenance for your VMs;
|
47396
|
+
# for example, to fix hardware errors.
|
46426
47397
|
# Corresponds to the JSON property `enableEmergentMaintenance`
|
46427
47398
|
# @return [Boolean]
|
46428
47399
|
attr_accessor :enable_emergent_maintenance
|
@@ -48647,6 +49618,18 @@ module Google
|
|
48647
49618
|
# @return [Array<Google::Apis::ComputeAlpha::ResourceStatusAcceleratorStatus>]
|
48648
49619
|
attr_accessor :accelerator_status
|
48649
49620
|
|
49621
|
+
# [Output Only] The full resource name of the reservation that this instance is
|
49622
|
+
# consuming from.
|
49623
|
+
# Corresponds to the JSON property `consumedReservation`
|
49624
|
+
# @return [String]
|
49625
|
+
attr_accessor :consumed_reservation
|
49626
|
+
|
49627
|
+
# [Output Only] The full resource name of the reservation block that this
|
49628
|
+
# instance is consuming from.
|
49629
|
+
# Corresponds to the JSON property `consumedReservationBlock`
|
49630
|
+
# @return [String]
|
49631
|
+
attr_accessor :consumed_reservation_block
|
49632
|
+
|
48650
49633
|
# Effective values of predefined metadata keys for an instance.
|
48651
49634
|
# Corresponds to the JSON property `effectiveInstanceMetadata`
|
48652
49635
|
# @return [Google::Apis::ComputeAlpha::ResourceStatusEffectiveInstanceMetadata]
|
@@ -48699,6 +49682,8 @@ module Google
|
|
48699
49682
|
# Update properties of this object
|
48700
49683
|
def update!(**args)
|
48701
49684
|
@accelerator_status = args[:accelerator_status] if args.key?(:accelerator_status)
|
49685
|
+
@consumed_reservation = args[:consumed_reservation] if args.key?(:consumed_reservation)
|
49686
|
+
@consumed_reservation_block = args[:consumed_reservation_block] if args.key?(:consumed_reservation_block)
|
48702
49687
|
@effective_instance_metadata = args[:effective_instance_metadata] if args.key?(:effective_instance_metadata)
|
48703
49688
|
@last_instance_termination_details = args[:last_instance_termination_details] if args.key?(:last_instance_termination_details)
|
48704
49689
|
@physical_host = args[:physical_host] if args.key?(:physical_host)
|
@@ -49869,6 +50854,11 @@ module Google
|
|
49869
50854
|
# @return [String]
|
49870
50855
|
attr_accessor :network
|
49871
50856
|
|
50857
|
+
# Additional router parameters.
|
50858
|
+
# Corresponds to the JSON property `params`
|
50859
|
+
# @return [Google::Apis::ComputeAlpha::RouterParams]
|
50860
|
+
attr_accessor :params
|
50861
|
+
|
49872
50862
|
# [Output Only] URI of the region where the router resides. You must specify
|
49873
50863
|
# this field as part of the HTTP request URL. It is not settable as a field in
|
49874
50864
|
# the request body.
|
@@ -49905,6 +50895,7 @@ module Google
|
|
49905
50895
|
@nats = args[:nats] if args.key?(:nats)
|
49906
50896
|
@ncc_gateway = args[:ncc_gateway] if args.key?(:ncc_gateway)
|
49907
50897
|
@network = args[:network] if args.key?(:network)
|
50898
|
+
@params = args[:params] if args.key?(:params)
|
49908
50899
|
@region = args[:region] if args.key?(:region)
|
49909
50900
|
@self_link = args[:self_link] if args.key?(:self_link)
|
49910
50901
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
@@ -51056,6 +52047,33 @@ module Google
|
|
51056
52047
|
end
|
51057
52048
|
end
|
51058
52049
|
|
52050
|
+
# Additional router parameters.
|
52051
|
+
class RouterParams
|
52052
|
+
include Google::Apis::Core::Hashable
|
52053
|
+
|
52054
|
+
# Tag keys/values directly bound to this resource. Tag keys and values have the
|
52055
|
+
# same definition as resource manager tags. The field is allowed for INSERT only.
|
52056
|
+
# The keys/values to set on the resource should be specified in either ID ` : `
|
52057
|
+
# or Namespaced format ` : `. For example the following are valid inputs: * `"
|
52058
|
+
# tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"` * `"123/
|
52059
|
+
# environment" : "production", "345/abc" : "xyz"` Note: * Invalid combinations
|
52060
|
+
# of ID & namespaced format is not supported. For instance: `"123/environment" :
|
52061
|
+
# "tagValues/444"` is invalid. * Inconsistent format is not supported. For
|
52062
|
+
# instance: `"tagKeys/333" : "tagValues/444", "123/env" : "prod"` is invalid.
|
52063
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
52064
|
+
# @return [Hash<String,String>]
|
52065
|
+
attr_accessor :resource_manager_tags
|
52066
|
+
|
52067
|
+
def initialize(**args)
|
52068
|
+
update!(**args)
|
52069
|
+
end
|
52070
|
+
|
52071
|
+
# Update properties of this object
|
52072
|
+
def update!(**args)
|
52073
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
52074
|
+
end
|
52075
|
+
end
|
52076
|
+
|
51059
52077
|
#
|
51060
52078
|
class RouterStatus
|
51061
52079
|
include Google::Apis::Core::Hashable
|
@@ -52369,6 +53387,13 @@ module Google
|
|
52369
53387
|
# @return [Google::Apis::ComputeAlpha::Duration]
|
52370
53388
|
attr_accessor :shutdown_timeout
|
52371
53389
|
|
53390
|
+
# Default is false and there will be 120 seconds between GCE ACPI G2 Soft Off
|
53391
|
+
# and ACPI G3 Mechanical Off for Standard VMs and 30 seconds for Spot VMs.
|
53392
|
+
# Corresponds to the JSON property `skipGuestOsShutdown`
|
53393
|
+
# @return [Boolean]
|
53394
|
+
attr_accessor :skip_guest_os_shutdown
|
53395
|
+
alias_method :skip_guest_os_shutdown?, :skip_guest_os_shutdown
|
53396
|
+
|
52372
53397
|
# Specifies the timestamp, when the instance will be terminated, in RFC3339 text
|
52373
53398
|
# format. If specified, the instance termination action will be performed at the
|
52374
53399
|
# termination time.
|
@@ -52408,6 +53433,7 @@ module Google
|
|
52408
53433
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
52409
53434
|
@provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
|
52410
53435
|
@shutdown_timeout = args[:shutdown_timeout] if args.key?(:shutdown_timeout)
|
53436
|
+
@skip_guest_os_shutdown = args[:skip_guest_os_shutdown] if args.key?(:skip_guest_os_shutdown)
|
52411
53437
|
@termination_time = args[:termination_time] if args.key?(:termination_time)
|
52412
53438
|
@windows_license_optimization_mode = args[:windows_license_optimization_mode] if args.key?(:windows_license_optimization_mode)
|
52413
53439
|
end
|
@@ -55940,6 +56966,11 @@ module Google
|
|
55940
56966
|
# @return [String]
|
55941
56967
|
attr_accessor :name
|
55942
56968
|
|
56969
|
+
# Additional snapshot params.
|
56970
|
+
# Corresponds to the JSON property `params`
|
56971
|
+
# @return [Google::Apis::ComputeAlpha::SnapshotParams]
|
56972
|
+
attr_accessor :params
|
56973
|
+
|
55943
56974
|
# [Output Only] URL of the region where the snapshot resides. Only applicable
|
55944
56975
|
# for regional snapshots.
|
55945
56976
|
# Corresponds to the JSON property `region`
|
@@ -56115,6 +57146,7 @@ module Google
|
|
56115
57146
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
56116
57147
|
@max_retention_days = args[:max_retention_days] if args.key?(:max_retention_days)
|
56117
57148
|
@name = args[:name] if args.key?(:name)
|
57149
|
+
@params = args[:params] if args.key?(:params)
|
56118
57150
|
@region = args[:region] if args.key?(:region)
|
56119
57151
|
@resource_status = args[:resource_status] if args.key?(:resource_status)
|
56120
57152
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
@@ -56272,219 +57304,310 @@ module Google
|
|
56272
57304
|
end
|
56273
57305
|
end
|
56274
57306
|
|
56275
|
-
# Represents a SnapshotGroup resource. A snapshot group is a set of snapshots
|
56276
|
-
# that represents a point in time state of a consistency group.
|
56277
|
-
class SnapshotGroup
|
56278
|
-
include Google::Apis::Core::Hashable
|
56279
|
-
|
56280
|
-
# [Output Only] Creation timestamp in RFC3339 text format.
|
56281
|
-
# Corresponds to the JSON property `creationTimestamp`
|
56282
|
-
# @return [String]
|
56283
|
-
attr_accessor :creation_timestamp
|
56284
|
-
|
56285
|
-
# Optional. An optional description of this resource. Provide this property when
|
56286
|
-
# you create the resource.
|
56287
|
-
# Corresponds to the JSON property `description`
|
56288
|
-
# @return [String]
|
56289
|
-
attr_accessor :description
|
56290
|
-
|
56291
|
-
# [Output Only] The unique identifier for the resource. This identifier is
|
56292
|
-
# defined by the server.
|
56293
|
-
# Corresponds to the JSON property `id`
|
56294
|
-
# @return [Fixnum]
|
56295
|
-
attr_accessor :id
|
56296
|
-
|
56297
|
-
# [Output Only] Type of the resource. Always compute#snapshotGroup for
|
56298
|
-
# SnapshotGroup resources.
|
56299
|
-
# Corresponds to the JSON property `kind`
|
56300
|
-
# @return [String]
|
56301
|
-
attr_accessor :kind
|
56302
|
-
|
56303
|
-
# Identifier. Name of the resource; provided by the client when the resource is
|
56304
|
-
# created. The name must be 1-63 characters long, and comply with RFC1035.
|
56305
|
-
# Specifically, the name must be 1-63 characters long and match the regular
|
56306
|
-
# expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
|
56307
|
-
# be a lowercase letter, and all following characters must be a dash, lowercase
|
56308
|
-
# letter, or digit, except the last character, which cannot be a dash.
|
56309
|
-
# Corresponds to the JSON property `name`
|
56310
|
-
# @return [String]
|
56311
|
-
attr_accessor :name
|
56312
|
-
|
56313
|
-
# [Output Only] Server-defined URL for the resource.
|
56314
|
-
# Corresponds to the JSON property `selfLink`
|
56315
|
-
# @return [String]
|
56316
|
-
attr_accessor :self_link
|
56317
|
-
|
56318
|
-
# [Output Only] Server-defined URL for this resource's resource id.
|
56319
|
-
# Corresponds to the JSON property `selfLinkWithId`
|
56320
|
-
# @return [String]
|
56321
|
-
attr_accessor :self_link_with_id
|
56322
|
-
|
56323
|
-
# [Output Only]
|
56324
|
-
# Corresponds to the JSON property `sourceInfo`
|
56325
|
-
# @return [Google::Apis::ComputeAlpha::SnapshotGroupSourceInfo]
|
56326
|
-
attr_accessor :source_info
|
56327
|
-
|
56328
|
-
# Input field for the source instant snapshot group.
|
56329
|
-
# Corresponds to the JSON property `sourceInstantSnapshotGroup`
|
56330
|
-
# @return [String]
|
56331
|
-
attr_accessor :source_instant_snapshot_group
|
56332
|
-
|
56333
|
-
# [Output Only]
|
56334
|
-
# Corresponds to the JSON property `sourceInstantSnapshotGroupInfo`
|
56335
|
-
# @return [Google::Apis::ComputeAlpha::SnapshotGroupSourceInstantSnapshotGroupInfo]
|
56336
|
-
attr_accessor :source_instant_snapshot_group_info
|
56337
|
-
|
56338
|
-
# [Output Only]
|
56339
|
-
# Corresponds to the JSON property `status`
|
56340
|
-
# @return [String]
|
56341
|
-
attr_accessor :status
|
56342
|
-
|
56343
|
-
def initialize(**args)
|
56344
|
-
update!(**args)
|
56345
|
-
end
|
56346
|
-
|
56347
|
-
# Update properties of this object
|
56348
|
-
def update!(**args)
|
56349
|
-
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
56350
|
-
@description = args[:description] if args.key?(:description)
|
56351
|
-
@id = args[:id] if args.key?(:id)
|
56352
|
-
@kind = args[:kind] if args.key?(:kind)
|
56353
|
-
@name = args[:name] if args.key?(:name)
|
56354
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
56355
|
-
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
56356
|
-
@source_info = args[:source_info] if args.key?(:source_info)
|
56357
|
-
@source_instant_snapshot_group = args[:source_instant_snapshot_group] if args.key?(:source_instant_snapshot_group)
|
56358
|
-
@source_instant_snapshot_group_info = args[:source_instant_snapshot_group_info] if args.key?(:source_instant_snapshot_group_info)
|
56359
|
-
@status = args[:status] if args.key?(:status)
|
56360
|
-
end
|
56361
|
-
end
|
56362
|
-
|
56363
|
-
#
|
56364
|
-
class SnapshotGroupParameters
|
56365
|
-
include Google::Apis::Core::Hashable
|
56366
|
-
|
56367
|
-
# URLs of the zones where disks should be replicated to. Only applicable for
|
56368
|
-
# regional resources.
|
56369
|
-
# Corresponds to the JSON property `replicaZones`
|
56370
|
-
# @return [Array<String>]
|
56371
|
-
attr_accessor :replica_zones
|
56372
|
-
|
56373
|
-
# The source snapshot group used to create disks. You can provide this as a
|
56374
|
-
# partial or full URL to the resource. For example, the following are valid
|
56375
|
-
# values: - https://www.googleapis.com/compute/v1/projects/project /global/
|
56376
|
-
# snapshotGroups/snapshotGroup - projects/project/global/snapshotGroups/
|
56377
|
-
# snapshotGroup - global/snapshotGroups/snapshotGroup
|
56378
|
-
# Corresponds to the JSON property `sourceSnapshotGroup`
|
56379
|
-
# @return [String]
|
56380
|
-
attr_accessor :source_snapshot_group
|
56381
|
-
|
56382
|
-
# URL of the disk type resource describing which disk type to use to create
|
56383
|
-
# disks. Provide this when creating the disk. For example: projects/project /
|
56384
|
-
# zones/zone/diskTypes/pd-ssd . See Persistent disk types.
|
56385
|
-
# Corresponds to the JSON property `type`
|
56386
|
-
# @return [String]
|
56387
|
-
attr_accessor :type
|
56388
|
-
|
56389
|
-
def initialize(**args)
|
56390
|
-
update!(**args)
|
56391
|
-
end
|
56392
|
-
|
56393
|
-
# Update properties of this object
|
56394
|
-
def update!(**args)
|
56395
|
-
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
56396
|
-
@source_snapshot_group = args[:source_snapshot_group] if args.key?(:source_snapshot_group)
|
56397
|
-
@type = args[:type] if args.key?(:type)
|
56398
|
-
end
|
56399
|
-
end
|
56400
|
-
|
56401
|
-
#
|
56402
|
-
class SnapshotGroupSourceInfo
|
56403
|
-
include Google::Apis::Core::Hashable
|
56404
|
-
|
56405
|
-
#
|
56406
|
-
# Corresponds to the JSON property `consistencyGroup`
|
56407
|
-
# @return [String]
|
56408
|
-
attr_accessor :consistency_group
|
56409
|
-
|
56410
|
-
#
|
56411
|
-
# Corresponds to the JSON property `consistencyGroupId`
|
56412
|
-
# @return [String]
|
56413
|
-
attr_accessor :consistency_group_id
|
56414
|
-
|
56415
|
-
def initialize(**args)
|
56416
|
-
update!(**args)
|
56417
|
-
end
|
56418
|
-
|
56419
|
-
# Update properties of this object
|
56420
|
-
def update!(**args)
|
56421
|
-
@consistency_group = args[:consistency_group] if args.key?(:consistency_group)
|
56422
|
-
@consistency_group_id = args[:consistency_group_id] if args.key?(:consistency_group_id)
|
56423
|
-
end
|
56424
|
-
end
|
56425
|
-
|
56426
|
-
#
|
56427
|
-
class SnapshotGroupSourceInstantSnapshotGroupInfo
|
57307
|
+
# Represents a SnapshotGroup resource. A snapshot group is a set of snapshots
|
57308
|
+
# that represents a point in time state of a consistency group.
|
57309
|
+
class SnapshotGroup
|
57310
|
+
include Google::Apis::Core::Hashable
|
57311
|
+
|
57312
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
57313
|
+
# Corresponds to the JSON property `creationTimestamp`
|
57314
|
+
# @return [String]
|
57315
|
+
attr_accessor :creation_timestamp
|
57316
|
+
|
57317
|
+
# Optional. An optional description of this resource. Provide this property when
|
57318
|
+
# you create the resource.
|
57319
|
+
# Corresponds to the JSON property `description`
|
57320
|
+
# @return [String]
|
57321
|
+
attr_accessor :description
|
57322
|
+
|
57323
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
57324
|
+
# defined by the server.
|
57325
|
+
# Corresponds to the JSON property `id`
|
57326
|
+
# @return [Fixnum]
|
57327
|
+
attr_accessor :id
|
57328
|
+
|
57329
|
+
# [Output Only] Type of the resource. Always compute#snapshotGroup for
|
57330
|
+
# SnapshotGroup resources.
|
57331
|
+
# Corresponds to the JSON property `kind`
|
57332
|
+
# @return [String]
|
57333
|
+
attr_accessor :kind
|
57334
|
+
|
57335
|
+
# Identifier. Name of the resource; provided by the client when the resource is
|
57336
|
+
# created. The name must be 1-63 characters long, and comply with RFC1035.
|
57337
|
+
# Specifically, the name must be 1-63 characters long and match the regular
|
57338
|
+
# expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
|
57339
|
+
# be a lowercase letter, and all following characters must be a dash, lowercase
|
57340
|
+
# letter, or digit, except the last character, which cannot be a dash.
|
57341
|
+
# Corresponds to the JSON property `name`
|
57342
|
+
# @return [String]
|
57343
|
+
attr_accessor :name
|
57344
|
+
|
57345
|
+
# [Output Only] Server-defined URL for the resource.
|
57346
|
+
# Corresponds to the JSON property `selfLink`
|
57347
|
+
# @return [String]
|
57348
|
+
attr_accessor :self_link
|
57349
|
+
|
57350
|
+
# [Output Only] Server-defined URL for this resource's resource id.
|
57351
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
57352
|
+
# @return [String]
|
57353
|
+
attr_accessor :self_link_with_id
|
57354
|
+
|
57355
|
+
# [Output Only]
|
57356
|
+
# Corresponds to the JSON property `sourceInfo`
|
57357
|
+
# @return [Google::Apis::ComputeAlpha::SnapshotGroupSourceInfo]
|
57358
|
+
attr_accessor :source_info
|
57359
|
+
|
57360
|
+
# Input field for the source instant snapshot group.
|
57361
|
+
# Corresponds to the JSON property `sourceInstantSnapshotGroup`
|
57362
|
+
# @return [String]
|
57363
|
+
attr_accessor :source_instant_snapshot_group
|
57364
|
+
|
57365
|
+
# [Output Only]
|
57366
|
+
# Corresponds to the JSON property `sourceInstantSnapshotGroupInfo`
|
57367
|
+
# @return [Google::Apis::ComputeAlpha::SnapshotGroupSourceInstantSnapshotGroupInfo]
|
57368
|
+
attr_accessor :source_instant_snapshot_group_info
|
57369
|
+
|
57370
|
+
# [Output Only]
|
57371
|
+
# Corresponds to the JSON property `status`
|
57372
|
+
# @return [String]
|
57373
|
+
attr_accessor :status
|
57374
|
+
|
57375
|
+
def initialize(**args)
|
57376
|
+
update!(**args)
|
57377
|
+
end
|
57378
|
+
|
57379
|
+
# Update properties of this object
|
57380
|
+
def update!(**args)
|
57381
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
57382
|
+
@description = args[:description] if args.key?(:description)
|
57383
|
+
@id = args[:id] if args.key?(:id)
|
57384
|
+
@kind = args[:kind] if args.key?(:kind)
|
57385
|
+
@name = args[:name] if args.key?(:name)
|
57386
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
57387
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
57388
|
+
@source_info = args[:source_info] if args.key?(:source_info)
|
57389
|
+
@source_instant_snapshot_group = args[:source_instant_snapshot_group] if args.key?(:source_instant_snapshot_group)
|
57390
|
+
@source_instant_snapshot_group_info = args[:source_instant_snapshot_group_info] if args.key?(:source_instant_snapshot_group_info)
|
57391
|
+
@status = args[:status] if args.key?(:status)
|
57392
|
+
end
|
57393
|
+
end
|
57394
|
+
|
57395
|
+
#
|
57396
|
+
class SnapshotGroupParameters
|
57397
|
+
include Google::Apis::Core::Hashable
|
57398
|
+
|
57399
|
+
# URLs of the zones where disks should be replicated to. Only applicable for
|
57400
|
+
# regional resources.
|
57401
|
+
# Corresponds to the JSON property `replicaZones`
|
57402
|
+
# @return [Array<String>]
|
57403
|
+
attr_accessor :replica_zones
|
57404
|
+
|
57405
|
+
# The source snapshot group used to create disks. You can provide this as a
|
57406
|
+
# partial or full URL to the resource. For example, the following are valid
|
57407
|
+
# values: - https://www.googleapis.com/compute/v1/projects/project /global/
|
57408
|
+
# snapshotGroups/snapshotGroup - projects/project/global/snapshotGroups/
|
57409
|
+
# snapshotGroup - global/snapshotGroups/snapshotGroup
|
57410
|
+
# Corresponds to the JSON property `sourceSnapshotGroup`
|
57411
|
+
# @return [String]
|
57412
|
+
attr_accessor :source_snapshot_group
|
57413
|
+
|
57414
|
+
# URL of the disk type resource describing which disk type to use to create
|
57415
|
+
# disks. Provide this when creating the disk. For example: projects/project /
|
57416
|
+
# zones/zone/diskTypes/pd-ssd . See Persistent disk types.
|
57417
|
+
# Corresponds to the JSON property `type`
|
57418
|
+
# @return [String]
|
57419
|
+
attr_accessor :type
|
57420
|
+
|
57421
|
+
def initialize(**args)
|
57422
|
+
update!(**args)
|
57423
|
+
end
|
57424
|
+
|
57425
|
+
# Update properties of this object
|
57426
|
+
def update!(**args)
|
57427
|
+
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
57428
|
+
@source_snapshot_group = args[:source_snapshot_group] if args.key?(:source_snapshot_group)
|
57429
|
+
@type = args[:type] if args.key?(:type)
|
57430
|
+
end
|
57431
|
+
end
|
57432
|
+
|
57433
|
+
#
|
57434
|
+
class SnapshotGroupSourceInfo
|
57435
|
+
include Google::Apis::Core::Hashable
|
57436
|
+
|
57437
|
+
#
|
57438
|
+
# Corresponds to the JSON property `consistencyGroup`
|
57439
|
+
# @return [String]
|
57440
|
+
attr_accessor :consistency_group
|
57441
|
+
|
57442
|
+
#
|
57443
|
+
# Corresponds to the JSON property `consistencyGroupId`
|
57444
|
+
# @return [String]
|
57445
|
+
attr_accessor :consistency_group_id
|
57446
|
+
|
57447
|
+
def initialize(**args)
|
57448
|
+
update!(**args)
|
57449
|
+
end
|
57450
|
+
|
57451
|
+
# Update properties of this object
|
57452
|
+
def update!(**args)
|
57453
|
+
@consistency_group = args[:consistency_group] if args.key?(:consistency_group)
|
57454
|
+
@consistency_group_id = args[:consistency_group_id] if args.key?(:consistency_group_id)
|
57455
|
+
end
|
57456
|
+
end
|
57457
|
+
|
57458
|
+
#
|
57459
|
+
class SnapshotGroupSourceInstantSnapshotGroupInfo
|
57460
|
+
include Google::Apis::Core::Hashable
|
57461
|
+
|
57462
|
+
#
|
57463
|
+
# Corresponds to the JSON property `instantSnapshotGroup`
|
57464
|
+
# @return [String]
|
57465
|
+
attr_accessor :instant_snapshot_group
|
57466
|
+
|
57467
|
+
#
|
57468
|
+
# Corresponds to the JSON property `instantSnapshotGroupId`
|
57469
|
+
# @return [String]
|
57470
|
+
attr_accessor :instant_snapshot_group_id
|
57471
|
+
|
57472
|
+
def initialize(**args)
|
57473
|
+
update!(**args)
|
57474
|
+
end
|
57475
|
+
|
57476
|
+
# Update properties of this object
|
57477
|
+
def update!(**args)
|
57478
|
+
@instant_snapshot_group = args[:instant_snapshot_group] if args.key?(:instant_snapshot_group)
|
57479
|
+
@instant_snapshot_group_id = args[:instant_snapshot_group_id] if args.key?(:instant_snapshot_group_id)
|
57480
|
+
end
|
57481
|
+
end
|
57482
|
+
|
57483
|
+
# Contains a list of Snapshot resources.
|
57484
|
+
class SnapshotList
|
57485
|
+
include Google::Apis::Core::Hashable
|
57486
|
+
|
57487
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
57488
|
+
# Corresponds to the JSON property `id`
|
57489
|
+
# @return [String]
|
57490
|
+
attr_accessor :id
|
57491
|
+
|
57492
|
+
# A list of Snapshot resources.
|
57493
|
+
# Corresponds to the JSON property `items`
|
57494
|
+
# @return [Array<Google::Apis::ComputeAlpha::Snapshot>]
|
57495
|
+
attr_accessor :items
|
57496
|
+
|
57497
|
+
# Type of resource.
|
57498
|
+
# Corresponds to the JSON property `kind`
|
57499
|
+
# @return [String]
|
57500
|
+
attr_accessor :kind
|
57501
|
+
|
57502
|
+
# [Output Only] This token allows you to get the next page of results for list
|
57503
|
+
# requests. If the number of results is larger than maxResults, use the
|
57504
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
57505
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
57506
|
+
# continue paging through the results.
|
57507
|
+
# Corresponds to the JSON property `nextPageToken`
|
57508
|
+
# @return [String]
|
57509
|
+
attr_accessor :next_page_token
|
57510
|
+
|
57511
|
+
# [Output Only] Server-defined URL for this resource.
|
57512
|
+
# Corresponds to the JSON property `selfLink`
|
57513
|
+
# @return [String]
|
57514
|
+
attr_accessor :self_link
|
57515
|
+
|
57516
|
+
# [Output Only] Informational warning message.
|
57517
|
+
# Corresponds to the JSON property `warning`
|
57518
|
+
# @return [Google::Apis::ComputeAlpha::SnapshotList::Warning]
|
57519
|
+
attr_accessor :warning
|
57520
|
+
|
57521
|
+
def initialize(**args)
|
57522
|
+
update!(**args)
|
57523
|
+
end
|
57524
|
+
|
57525
|
+
# Update properties of this object
|
57526
|
+
def update!(**args)
|
57527
|
+
@id = args[:id] if args.key?(:id)
|
57528
|
+
@items = args[:items] if args.key?(:items)
|
57529
|
+
@kind = args[:kind] if args.key?(:kind)
|
57530
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
57531
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
57532
|
+
@warning = args[:warning] if args.key?(:warning)
|
57533
|
+
end
|
57534
|
+
|
57535
|
+
# [Output Only] Informational warning message.
|
57536
|
+
class Warning
|
57537
|
+
include Google::Apis::Core::Hashable
|
57538
|
+
|
57539
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
57540
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
57541
|
+
# Corresponds to the JSON property `code`
|
57542
|
+
# @return [String]
|
57543
|
+
attr_accessor :code
|
57544
|
+
|
57545
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
57546
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
57547
|
+
# Corresponds to the JSON property `data`
|
57548
|
+
# @return [Array<Google::Apis::ComputeAlpha::SnapshotList::Warning::Datum>]
|
57549
|
+
attr_accessor :data
|
57550
|
+
|
57551
|
+
# [Output Only] A human-readable description of the warning code.
|
57552
|
+
# Corresponds to the JSON property `message`
|
57553
|
+
# @return [String]
|
57554
|
+
attr_accessor :message
|
57555
|
+
|
57556
|
+
def initialize(**args)
|
57557
|
+
update!(**args)
|
57558
|
+
end
|
57559
|
+
|
57560
|
+
# Update properties of this object
|
57561
|
+
def update!(**args)
|
57562
|
+
@code = args[:code] if args.key?(:code)
|
57563
|
+
@data = args[:data] if args.key?(:data)
|
57564
|
+
@message = args[:message] if args.key?(:message)
|
57565
|
+
end
|
57566
|
+
|
57567
|
+
#
|
57568
|
+
class Datum
|
57569
|
+
include Google::Apis::Core::Hashable
|
57570
|
+
|
57571
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
57572
|
+
# For example, for warnings where there are no results in a list request for a
|
57573
|
+
# particular zone, this key might be scope and the key value might be the zone
|
57574
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
57575
|
+
# suggested replacement, or a warning about invalid network settings (for
|
57576
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
57577
|
+
# for IP forwarding).
|
57578
|
+
# Corresponds to the JSON property `key`
|
57579
|
+
# @return [String]
|
57580
|
+
attr_accessor :key
|
57581
|
+
|
57582
|
+
# [Output Only] A warning data value corresponding to the key.
|
57583
|
+
# Corresponds to the JSON property `value`
|
57584
|
+
# @return [String]
|
57585
|
+
attr_accessor :value
|
57586
|
+
|
57587
|
+
def initialize(**args)
|
57588
|
+
update!(**args)
|
57589
|
+
end
|
57590
|
+
|
57591
|
+
# Update properties of this object
|
57592
|
+
def update!(**args)
|
57593
|
+
@key = args[:key] if args.key?(:key)
|
57594
|
+
@value = args[:value] if args.key?(:value)
|
57595
|
+
end
|
57596
|
+
end
|
57597
|
+
end
|
57598
|
+
end
|
57599
|
+
|
57600
|
+
# Additional snapshot params.
|
57601
|
+
class SnapshotParams
|
56428
57602
|
include Google::Apis::Core::Hashable
|
56429
57603
|
|
56430
|
-
#
|
56431
|
-
#
|
56432
|
-
#
|
56433
|
-
|
56434
|
-
|
56435
|
-
#
|
56436
|
-
|
56437
|
-
# @return [String]
|
56438
|
-
attr_accessor :instant_snapshot_group_id
|
56439
|
-
|
56440
|
-
def initialize(**args)
|
56441
|
-
update!(**args)
|
56442
|
-
end
|
56443
|
-
|
56444
|
-
# Update properties of this object
|
56445
|
-
def update!(**args)
|
56446
|
-
@instant_snapshot_group = args[:instant_snapshot_group] if args.key?(:instant_snapshot_group)
|
56447
|
-
@instant_snapshot_group_id = args[:instant_snapshot_group_id] if args.key?(:instant_snapshot_group_id)
|
56448
|
-
end
|
56449
|
-
end
|
56450
|
-
|
56451
|
-
# Contains a list of Snapshot resources.
|
56452
|
-
class SnapshotList
|
56453
|
-
include Google::Apis::Core::Hashable
|
56454
|
-
|
56455
|
-
# [Output Only] Unique identifier for the resource; defined by the server.
|
56456
|
-
# Corresponds to the JSON property `id`
|
56457
|
-
# @return [String]
|
56458
|
-
attr_accessor :id
|
56459
|
-
|
56460
|
-
# A list of Snapshot resources.
|
56461
|
-
# Corresponds to the JSON property `items`
|
56462
|
-
# @return [Array<Google::Apis::ComputeAlpha::Snapshot>]
|
56463
|
-
attr_accessor :items
|
56464
|
-
|
56465
|
-
# Type of resource.
|
56466
|
-
# Corresponds to the JSON property `kind`
|
56467
|
-
# @return [String]
|
56468
|
-
attr_accessor :kind
|
56469
|
-
|
56470
|
-
# [Output Only] This token allows you to get the next page of results for list
|
56471
|
-
# requests. If the number of results is larger than maxResults, use the
|
56472
|
-
# nextPageToken as a value for the query parameter pageToken in the next list
|
56473
|
-
# request. Subsequent list requests will have their own nextPageToken to
|
56474
|
-
# continue paging through the results.
|
56475
|
-
# Corresponds to the JSON property `nextPageToken`
|
56476
|
-
# @return [String]
|
56477
|
-
attr_accessor :next_page_token
|
56478
|
-
|
56479
|
-
# [Output Only] Server-defined URL for this resource.
|
56480
|
-
# Corresponds to the JSON property `selfLink`
|
56481
|
-
# @return [String]
|
56482
|
-
attr_accessor :self_link
|
56483
|
-
|
56484
|
-
# [Output Only] Informational warning message.
|
56485
|
-
# Corresponds to the JSON property `warning`
|
56486
|
-
# @return [Google::Apis::ComputeAlpha::SnapshotList::Warning]
|
56487
|
-
attr_accessor :warning
|
57604
|
+
# Resource manager tags to be bound to the snapshot. Tag keys and values have
|
57605
|
+
# the same definition as resource manager tags. Keys must be in the format `
|
57606
|
+
# tagKeys/`tag_key_id``, and values are in the format `tagValues/456`. The field
|
57607
|
+
# is ignored (both PUT & PATCH) when empty.
|
57608
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
57609
|
+
# @return [Hash<String,String>]
|
57610
|
+
attr_accessor :resource_manager_tags
|
56488
57611
|
|
56489
57612
|
def initialize(**args)
|
56490
57613
|
update!(**args)
|
@@ -56492,76 +57615,7 @@ module Google
|
|
56492
57615
|
|
56493
57616
|
# Update properties of this object
|
56494
57617
|
def update!(**args)
|
56495
|
-
@
|
56496
|
-
@items = args[:items] if args.key?(:items)
|
56497
|
-
@kind = args[:kind] if args.key?(:kind)
|
56498
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
56499
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
56500
|
-
@warning = args[:warning] if args.key?(:warning)
|
56501
|
-
end
|
56502
|
-
|
56503
|
-
# [Output Only] Informational warning message.
|
56504
|
-
class Warning
|
56505
|
-
include Google::Apis::Core::Hashable
|
56506
|
-
|
56507
|
-
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
56508
|
-
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
56509
|
-
# Corresponds to the JSON property `code`
|
56510
|
-
# @return [String]
|
56511
|
-
attr_accessor :code
|
56512
|
-
|
56513
|
-
# [Output Only] Metadata about this warning in key: value format. For example: "
|
56514
|
-
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
56515
|
-
# Corresponds to the JSON property `data`
|
56516
|
-
# @return [Array<Google::Apis::ComputeAlpha::SnapshotList::Warning::Datum>]
|
56517
|
-
attr_accessor :data
|
56518
|
-
|
56519
|
-
# [Output Only] A human-readable description of the warning code.
|
56520
|
-
# Corresponds to the JSON property `message`
|
56521
|
-
# @return [String]
|
56522
|
-
attr_accessor :message
|
56523
|
-
|
56524
|
-
def initialize(**args)
|
56525
|
-
update!(**args)
|
56526
|
-
end
|
56527
|
-
|
56528
|
-
# Update properties of this object
|
56529
|
-
def update!(**args)
|
56530
|
-
@code = args[:code] if args.key?(:code)
|
56531
|
-
@data = args[:data] if args.key?(:data)
|
56532
|
-
@message = args[:message] if args.key?(:message)
|
56533
|
-
end
|
56534
|
-
|
56535
|
-
#
|
56536
|
-
class Datum
|
56537
|
-
include Google::Apis::Core::Hashable
|
56538
|
-
|
56539
|
-
# [Output Only] A key that provides more detail on the warning being returned.
|
56540
|
-
# For example, for warnings where there are no results in a list request for a
|
56541
|
-
# particular zone, this key might be scope and the key value might be the zone
|
56542
|
-
# name. Other examples might be a key indicating a deprecated resource and a
|
56543
|
-
# suggested replacement, or a warning about invalid network settings (for
|
56544
|
-
# example, if an instance attempts to perform IP forwarding but is not enabled
|
56545
|
-
# for IP forwarding).
|
56546
|
-
# Corresponds to the JSON property `key`
|
56547
|
-
# @return [String]
|
56548
|
-
attr_accessor :key
|
56549
|
-
|
56550
|
-
# [Output Only] A warning data value corresponding to the key.
|
56551
|
-
# Corresponds to the JSON property `value`
|
56552
|
-
# @return [String]
|
56553
|
-
attr_accessor :value
|
56554
|
-
|
56555
|
-
def initialize(**args)
|
56556
|
-
update!(**args)
|
56557
|
-
end
|
56558
|
-
|
56559
|
-
# Update properties of this object
|
56560
|
-
def update!(**args)
|
56561
|
-
@key = args[:key] if args.key?(:key)
|
56562
|
-
@value = args[:value] if args.key?(:value)
|
56563
|
-
end
|
56564
|
-
end
|
57618
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
56565
57619
|
end
|
56566
57620
|
end
|
56567
57621
|
|
@@ -67554,6 +68608,12 @@ module Google
|
|
67554
68608
|
# @return [String]
|
67555
68609
|
attr_accessor :name
|
67556
68610
|
|
68611
|
+
# [Output Only] Indicates whether there are wire changes yet to be processed.
|
68612
|
+
# Corresponds to the JSON property `reconciling`
|
68613
|
+
# @return [Boolean]
|
68614
|
+
attr_accessor :reconciling
|
68615
|
+
alias_method :reconciling?, :reconciling
|
68616
|
+
|
67557
68617
|
# [Output Only] Server-defined URL for the resource.
|
67558
68618
|
# Corresponds to the JSON property `selfLink`
|
67559
68619
|
# @return [String]
|
@@ -67611,6 +68671,7 @@ module Google
|
|
67611
68671
|
@id = args[:id] if args.key?(:id)
|
67612
68672
|
@kind = args[:kind] if args.key?(:kind)
|
67613
68673
|
@name = args[:name] if args.key?(:name)
|
68674
|
+
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
67614
68675
|
@self_link = args[:self_link] if args.key?(:self_link)
|
67615
68676
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
67616
68677
|
@service_level = args[:service_level] if args.key?(:service_level)
|