google-apis-compute_alpha 0.113.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/compute_alpha/classes.rb +1829 -495
- data/lib/google/apis/compute_alpha/gem_version.rb +3 -3
- data/lib/google/apis/compute_alpha/representations.rb +501 -0
- data/lib/google/apis/compute_alpha/service.rb +1126 -108
- metadata +3 -3
@@ -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)
|
@@ -4149,7 +4158,8 @@ module Google
|
|
4149
4158
|
# be set for Internal Passthrough Network Load Balancers when the haPolicy is
|
4150
4159
|
# enabled, and for External Passthrough Network Load Balancers when the haPolicy
|
4151
4160
|
# fastIpMove is enabled. This field can only be specified when the load
|
4152
|
-
# balancing scheme is set to INTERNAL
|
4161
|
+
# balancing scheme is set to INTERNAL, or when the load balancing scheme is set
|
4162
|
+
# to EXTERNAL and haPolicy fastIpMove is enabled.
|
4153
4163
|
# Corresponds to the JSON property `network`
|
4154
4164
|
# @return [String]
|
4155
4165
|
attr_accessor :network
|
@@ -4954,7 +4964,7 @@ module Google
|
|
4954
4964
|
# backend service must set the network field, and all NEGs must belong to that
|
4955
4965
|
# network. However, individual NEGs can belong to different subnetworks of that
|
4956
4966
|
# network. - The maximum number of network endpoints across all backends of a
|
4957
|
-
# backend service with fastIPMove is
|
4967
|
+
# backend service with fastIPMove is 32. - The maximum number of backend
|
4958
4968
|
# services with fastIPMove that can have the same network endpoint attached to
|
4959
4969
|
# one of its backends is 64. - The maximum number of backend services with
|
4960
4970
|
# fastIPMove in a VPC in a region is 64. - The network endpoints that are
|
@@ -6342,6 +6352,11 @@ module Google
|
|
6342
6352
|
# @return [Fixnum]
|
6343
6353
|
attr_accessor :count
|
6344
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
|
+
|
6345
6360
|
# The instance properties defining the VM instances to be created. Required if
|
6346
6361
|
# sourceInstanceTemplate is not provided.
|
6347
6362
|
# Corresponds to the JSON property `instanceProperties`
|
@@ -6401,6 +6416,7 @@ module Google
|
|
6401
6416
|
# Update properties of this object
|
6402
6417
|
def update!(**args)
|
6403
6418
|
@count = args[:count] if args.key?(:count)
|
6419
|
+
@instance_flexibility_policy = args[:instance_flexibility_policy] if args.key?(:instance_flexibility_policy)
|
6404
6420
|
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
|
6405
6421
|
@location_policy = args[:location_policy] if args.key?(:location_policy)
|
6406
6422
|
@min_count = args[:min_count] if args.key?(:min_count)
|
@@ -6759,6 +6775,273 @@ module Google
|
|
6759
6775
|
end
|
6760
6776
|
end
|
6761
6777
|
|
6778
|
+
# A request to provide Assistant Scores. These scores determine VM obtainability
|
6779
|
+
# and preemption likelihood.
|
6780
|
+
class CapacityAdviceRequest
|
6781
|
+
include Google::Apis::Core::Hashable
|
6782
|
+
|
6783
|
+
# Policy specifying the distribution of instances across zones within the
|
6784
|
+
# requested region.
|
6785
|
+
# Corresponds to the JSON property `distributionPolicy`
|
6786
|
+
# @return [Google::Apis::ComputeAlpha::CapacityAdviceRequestDistributionPolicy]
|
6787
|
+
attr_accessor :distribution_policy
|
6788
|
+
|
6789
|
+
# Specification of alternative, flexible instance subsets.
|
6790
|
+
# Corresponds to the JSON property `instanceFlexibilityPolicy`
|
6791
|
+
# @return [Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceFlexibilityPolicy]
|
6792
|
+
attr_accessor :instance_flexibility_policy
|
6793
|
+
|
6794
|
+
# Instance provisining properties.
|
6795
|
+
# Corresponds to the JSON property `instanceProperties`
|
6796
|
+
# @return [Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceProperties]
|
6797
|
+
attr_accessor :instance_properties
|
6798
|
+
|
6799
|
+
def initialize(**args)
|
6800
|
+
update!(**args)
|
6801
|
+
end
|
6802
|
+
|
6803
|
+
# Update properties of this object
|
6804
|
+
def update!(**args)
|
6805
|
+
@distribution_policy = args[:distribution_policy] if args.key?(:distribution_policy)
|
6806
|
+
@instance_flexibility_policy = args[:instance_flexibility_policy] if args.key?(:instance_flexibility_policy)
|
6807
|
+
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
|
6808
|
+
end
|
6809
|
+
end
|
6810
|
+
|
6811
|
+
#
|
6812
|
+
class CapacityAdviceRequestDistributionPolicy
|
6813
|
+
include Google::Apis::Core::Hashable
|
6814
|
+
|
6815
|
+
# The distribution shape to which the group converges.
|
6816
|
+
# Corresponds to the JSON property `targetShape`
|
6817
|
+
# @return [String]
|
6818
|
+
attr_accessor :target_shape
|
6819
|
+
|
6820
|
+
# Zones where Capacity Advisor looks for capacity.
|
6821
|
+
# Corresponds to the JSON property `zones`
|
6822
|
+
# @return [Array<Google::Apis::ComputeAlpha::CapacityAdviceRequestDistributionPolicyZoneConfiguration>]
|
6823
|
+
attr_accessor :zones
|
6824
|
+
|
6825
|
+
def initialize(**args)
|
6826
|
+
update!(**args)
|
6827
|
+
end
|
6828
|
+
|
6829
|
+
# Update properties of this object
|
6830
|
+
def update!(**args)
|
6831
|
+
@target_shape = args[:target_shape] if args.key?(:target_shape)
|
6832
|
+
@zones = args[:zones] if args.key?(:zones)
|
6833
|
+
end
|
6834
|
+
end
|
6835
|
+
|
6836
|
+
#
|
6837
|
+
class CapacityAdviceRequestDistributionPolicyZoneConfiguration
|
6838
|
+
include Google::Apis::Core::Hashable
|
6839
|
+
|
6840
|
+
# The URL of the zone.
|
6841
|
+
# Corresponds to the JSON property `zone`
|
6842
|
+
# @return [String]
|
6843
|
+
attr_accessor :zone
|
6844
|
+
|
6845
|
+
def initialize(**args)
|
6846
|
+
update!(**args)
|
6847
|
+
end
|
6848
|
+
|
6849
|
+
# Update properties of this object
|
6850
|
+
def update!(**args)
|
6851
|
+
@zone = args[:zone] if args.key?(:zone)
|
6852
|
+
end
|
6853
|
+
end
|
6854
|
+
|
6855
|
+
# Specification of alternative, flexible instance subsets.
|
6856
|
+
class CapacityAdviceRequestInstanceFlexibilityPolicy
|
6857
|
+
include Google::Apis::Core::Hashable
|
6858
|
+
|
6859
|
+
# Named instance selections configure properties. The key is an arbitrary,
|
6860
|
+
# unique RFC1035 string that identifies the instance selection.
|
6861
|
+
# Corresponds to the JSON property `instanceSelections`
|
6862
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection>]
|
6863
|
+
attr_accessor :instance_selections
|
6864
|
+
|
6865
|
+
def initialize(**args)
|
6866
|
+
update!(**args)
|
6867
|
+
end
|
6868
|
+
|
6869
|
+
# Update properties of this object
|
6870
|
+
def update!(**args)
|
6871
|
+
@instance_selections = args[:instance_selections] if args.key?(:instance_selections)
|
6872
|
+
end
|
6873
|
+
end
|
6874
|
+
|
6875
|
+
# Machine specification.
|
6876
|
+
class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection
|
6877
|
+
include Google::Apis::Core::Hashable
|
6878
|
+
|
6879
|
+
# Full machine-type names, e.g. "n1-standard-16".
|
6880
|
+
# Corresponds to the JSON property `machineTypes`
|
6881
|
+
# @return [Array<String>]
|
6882
|
+
attr_accessor :machine_types
|
6883
|
+
|
6884
|
+
def initialize(**args)
|
6885
|
+
update!(**args)
|
6886
|
+
end
|
6887
|
+
|
6888
|
+
# Update properties of this object
|
6889
|
+
def update!(**args)
|
6890
|
+
@machine_types = args[:machine_types] if args.key?(:machine_types)
|
6891
|
+
end
|
6892
|
+
end
|
6893
|
+
|
6894
|
+
# Instance provisining properties.
|
6895
|
+
class CapacityAdviceRequestInstanceProperties
|
6896
|
+
include Google::Apis::Core::Hashable
|
6897
|
+
|
6898
|
+
# Defines the instance scheduling options.
|
6899
|
+
# Corresponds to the JSON property `scheduling`
|
6900
|
+
# @return [Google::Apis::ComputeAlpha::CapacityAdviceRequestInstancePropertiesScheduling]
|
6901
|
+
attr_accessor :scheduling
|
6902
|
+
|
6903
|
+
def initialize(**args)
|
6904
|
+
update!(**args)
|
6905
|
+
end
|
6906
|
+
|
6907
|
+
# Update properties of this object
|
6908
|
+
def update!(**args)
|
6909
|
+
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
6910
|
+
end
|
6911
|
+
end
|
6912
|
+
|
6913
|
+
# Defines the instance scheduling options.
|
6914
|
+
class CapacityAdviceRequestInstancePropertiesScheduling
|
6915
|
+
include Google::Apis::Core::Hashable
|
6916
|
+
|
6917
|
+
# Specifies the provisioning model of the instance.
|
6918
|
+
# Corresponds to the JSON property `provisioningModel`
|
6919
|
+
# @return [String]
|
6920
|
+
attr_accessor :provisioning_model
|
6921
|
+
|
6922
|
+
def initialize(**args)
|
6923
|
+
update!(**args)
|
6924
|
+
end
|
6925
|
+
|
6926
|
+
# Update properties of this object
|
6927
|
+
def update!(**args)
|
6928
|
+
@provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
|
6929
|
+
end
|
6930
|
+
end
|
6931
|
+
|
6932
|
+
# A response contains multiple scoring recommendations.
|
6933
|
+
class CapacityAdviceResponse
|
6934
|
+
include Google::Apis::Core::Hashable
|
6935
|
+
|
6936
|
+
# Initially the API will provide one recommendation which balances the
|
6937
|
+
# individual scores according to Google's preference.
|
6938
|
+
# Corresponds to the JSON property `recommendations`
|
6939
|
+
# @return [Array<Google::Apis::ComputeAlpha::CapacityAdviceResponseRecommendation>]
|
6940
|
+
attr_accessor :recommendations
|
6941
|
+
|
6942
|
+
def initialize(**args)
|
6943
|
+
update!(**args)
|
6944
|
+
end
|
6945
|
+
|
6946
|
+
# Update properties of this object
|
6947
|
+
def update!(**args)
|
6948
|
+
@recommendations = args[:recommendations] if args.key?(:recommendations)
|
6949
|
+
end
|
6950
|
+
end
|
6951
|
+
|
6952
|
+
#
|
6953
|
+
class CapacityAdviceResponseRecommendation
|
6954
|
+
include Google::Apis::Core::Hashable
|
6955
|
+
|
6956
|
+
# The Scores message groups information about a shard of capacity.
|
6957
|
+
# Corresponds to the JSON property `scores`
|
6958
|
+
# @return [Google::Apis::ComputeAlpha::CapacityAdviceResponseRecommendationScores]
|
6959
|
+
attr_accessor :scores
|
6960
|
+
|
6961
|
+
#
|
6962
|
+
# Corresponds to the JSON property `shards`
|
6963
|
+
# @return [Array<Google::Apis::ComputeAlpha::CapacityAdviceResponseRecommendationShard>]
|
6964
|
+
attr_accessor :shards
|
6965
|
+
|
6966
|
+
def initialize(**args)
|
6967
|
+
update!(**args)
|
6968
|
+
end
|
6969
|
+
|
6970
|
+
# Update properties of this object
|
6971
|
+
def update!(**args)
|
6972
|
+
@scores = args[:scores] if args.key?(:scores)
|
6973
|
+
@shards = args[:shards] if args.key?(:shards)
|
6974
|
+
end
|
6975
|
+
end
|
6976
|
+
|
6977
|
+
# The Scores message groups information about a shard of capacity.
|
6978
|
+
class CapacityAdviceResponseRecommendationScores
|
6979
|
+
include Google::Apis::Core::Hashable
|
6980
|
+
|
6981
|
+
# The obtainability score indicates the likelihood of successfully obtaining (
|
6982
|
+
# provisioning) the requested number of VMs. The score range is 0.0 through 1.0.
|
6983
|
+
# Higher is better.
|
6984
|
+
# Corresponds to the JSON property `obtainability`
|
6985
|
+
# @return [Float]
|
6986
|
+
attr_accessor :obtainability
|
6987
|
+
|
6988
|
+
# The preemption score indicates the likelihood that your Spot VMs is preempted.
|
6989
|
+
# For more information about the preemption process, see Preemption of Spot VMs.
|
6990
|
+
# The score range is 0.0 through 1.0. Higher is better.
|
6991
|
+
# Corresponds to the JSON property `spotPreemption`
|
6992
|
+
# @return [Float]
|
6993
|
+
attr_accessor :spot_preemption
|
6994
|
+
|
6995
|
+
def initialize(**args)
|
6996
|
+
update!(**args)
|
6997
|
+
end
|
6998
|
+
|
6999
|
+
# Update properties of this object
|
7000
|
+
def update!(**args)
|
7001
|
+
@obtainability = args[:obtainability] if args.key?(:obtainability)
|
7002
|
+
@spot_preemption = args[:spot_preemption] if args.key?(:spot_preemption)
|
7003
|
+
end
|
7004
|
+
end
|
7005
|
+
|
7006
|
+
# Shards represent blocks of uniform capacity in recommendations. Each shard is
|
7007
|
+
# for a single zone, single instance selection, and a single machine shape. Each
|
7008
|
+
# shard defines a size expressed as the number of VMs.
|
7009
|
+
class CapacityAdviceResponseRecommendationShard
|
7010
|
+
include Google::Apis::Core::Hashable
|
7011
|
+
|
7012
|
+
#
|
7013
|
+
# Corresponds to the JSON property `instanceCount`
|
7014
|
+
# @return [Fixnum]
|
7015
|
+
attr_accessor :instance_count
|
7016
|
+
|
7017
|
+
# The machine type corresponds to the instance selection in the request.
|
7018
|
+
# Corresponds to the JSON property `machineType`
|
7019
|
+
# @return [String]
|
7020
|
+
attr_accessor :machine_type
|
7021
|
+
|
7022
|
+
# Provisioning model of the recommended capacity.
|
7023
|
+
# Corresponds to the JSON property `provisioningModel`
|
7024
|
+
# @return [String]
|
7025
|
+
attr_accessor :provisioning_model
|
7026
|
+
|
7027
|
+
# The zone name for this shard.
|
7028
|
+
# Corresponds to the JSON property `zone`
|
7029
|
+
# @return [String]
|
7030
|
+
attr_accessor :zone
|
7031
|
+
|
7032
|
+
def initialize(**args)
|
7033
|
+
update!(**args)
|
7034
|
+
end
|
7035
|
+
|
7036
|
+
# Update properties of this object
|
7037
|
+
def update!(**args)
|
7038
|
+
@instance_count = args[:instance_count] if args.key?(:instance_count)
|
7039
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
7040
|
+
@provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
|
7041
|
+
@zone = args[:zone] if args.key?(:zone)
|
7042
|
+
end
|
7043
|
+
end
|
7044
|
+
|
6762
7045
|
# [Deprecated] gRPC channel credentials to access the SDS server. gRPC channel
|
6763
7046
|
# credentials to access the SDS server.
|
6764
7047
|
class ChannelCredentials
|
@@ -9024,6 +9307,37 @@ module Google
|
|
9024
9307
|
# @return [String]
|
9025
9308
|
attr_accessor :source_instant_snapshot_id
|
9026
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
|
+
|
9027
9341
|
# The source snapshot used to create this disk. You can provide this as a
|
9028
9342
|
# partial or full URL to the resource. For example, the following are valid
|
9029
9343
|
# values: - https://www.googleapis.com/compute/v1/projects/project /global/
|
@@ -9160,6 +9474,10 @@ module Google
|
|
9160
9474
|
@source_image_id = args[:source_image_id] if args.key?(:source_image_id)
|
9161
9475
|
@source_instant_snapshot = args[:source_instant_snapshot] if args.key?(:source_instant_snapshot)
|
9162
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)
|
9163
9481
|
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
9164
9482
|
@source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
|
9165
9483
|
@source_snapshot_id = args[:source_snapshot_id] if args.key?(:source_snapshot_id)
|
@@ -17535,7 +17853,8 @@ module Google
|
|
17535
17853
|
|
17536
17854
|
# If false, headerValue is appended to any values that already exist for the
|
17537
17855
|
# header. If true, headerValue is set for the header, discarding any values that
|
17538
|
-
# 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. .
|
17539
17858
|
# Corresponds to the JSON property `replace`
|
17540
17859
|
# @return [Boolean]
|
17541
17860
|
attr_accessor :replace
|
@@ -18626,6 +18945,11 @@ module Google
|
|
18626
18945
|
# @return [String]
|
18627
18946
|
attr_accessor :name
|
18628
18947
|
|
18948
|
+
# Additional image params.
|
18949
|
+
# Corresponds to the JSON property `params`
|
18950
|
+
# @return [Google::Apis::ComputeAlpha::ImageParams]
|
18951
|
+
attr_accessor :params
|
18952
|
+
|
18629
18953
|
# The parameters of the raw disk image.
|
18630
18954
|
# Corresponds to the JSON property `rawDisk`
|
18631
18955
|
# @return [Google::Apis::ComputeAlpha::Image::RawDisk]
|
@@ -18786,6 +19110,7 @@ module Google
|
|
18786
19110
|
@licenses = args[:licenses] if args.key?(:licenses)
|
18787
19111
|
@locked = args[:locked] if args.key?(:locked)
|
18788
19112
|
@name = args[:name] if args.key?(:name)
|
19113
|
+
@params = args[:params] if args.key?(:params)
|
18789
19114
|
@raw_disk = args[:raw_disk] if args.key?(:raw_disk)
|
18790
19115
|
@rollout_override = args[:rollout_override] if args.key?(:rollout_override)
|
18791
19116
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
@@ -18985,6 +19310,28 @@ module Google
|
|
18985
19310
|
end
|
18986
19311
|
end
|
18987
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
|
+
|
18988
19335
|
# Initial State for shielded instance, these are public keys which are safe to
|
18989
19336
|
# store in public
|
18990
19337
|
class InitialStateConfig
|
@@ -19637,6 +19984,61 @@ module Google
|
|
19637
19984
|
end
|
19638
19985
|
end
|
19639
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
|
+
|
19640
20042
|
# Represents an Instance Group resource. Instance Groups can be used to
|
19641
20043
|
# configure a target for load balancing. Instance groups can either be managed
|
19642
20044
|
# or unmanaged. To create managed instance groups, use the instanceGroupManager
|
@@ -20211,7 +20613,8 @@ module Google
|
|
20211
20613
|
# @return [Fixnum]
|
20212
20614
|
attr_accessor :target_size
|
20213
20615
|
|
20214
|
-
#
|
20616
|
+
# The policy that specifies how the MIG creates its VMs to achieve the target
|
20617
|
+
# size.
|
20215
20618
|
# Corresponds to the JSON property `targetSizePolicy`
|
20216
20619
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerTargetSizePolicy]
|
20217
20620
|
attr_accessor :target_size_policy
|
@@ -20832,7 +21235,7 @@ module Google
|
|
20832
21235
|
class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
|
20833
21236
|
include Google::Apis::Core::Hashable
|
20834
21237
|
|
20835
|
-
# 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.
|
20836
21239
|
# Corresponds to the JSON property `allowChangingZone`
|
20837
21240
|
# @return [String]
|
20838
21241
|
attr_accessor :allow_changing_zone
|
@@ -21578,7 +21981,8 @@ module Google
|
|
21578
21981
|
# @return [String]
|
21579
21982
|
attr_accessor :autoscaler
|
21580
21983
|
|
21581
|
-
#
|
21984
|
+
# Bulk instance operation is the creation of VMs in a MIG when the
|
21985
|
+
# targetSizePolicy.mode is set to BULK.
|
21582
21986
|
# Corresponds to the JSON property `bulkInstanceOperation`
|
21583
21987
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusBulkInstanceOperation]
|
21584
21988
|
attr_accessor :bulk_instance_operation
|
@@ -21648,7 +22052,8 @@ module Google
|
|
21648
22052
|
end
|
21649
22053
|
end
|
21650
22054
|
|
21651
|
-
#
|
22055
|
+
# Bulk instance operation is the creation of VMs in a MIG when the
|
22056
|
+
# targetSizePolicy.mode is set to BULK.
|
21652
22057
|
class InstanceGroupManagerStatusBulkInstanceOperation
|
21653
22058
|
include Google::Apis::Core::Hashable
|
21654
22059
|
|
@@ -21658,7 +22063,8 @@ module Google
|
|
21658
22063
|
attr_accessor :in_progress
|
21659
22064
|
alias_method :in_progress?, :in_progress
|
21660
22065
|
|
21661
|
-
# [Output Only] Information from last progress check of bulk instance
|
22066
|
+
# [Output Only] Information from the last progress check of bulk instance
|
22067
|
+
# operation.
|
21662
22068
|
# Corresponds to the JSON property `lastProgressCheck`
|
21663
22069
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck]
|
21664
22070
|
attr_accessor :last_progress_check
|
@@ -21678,7 +22084,7 @@ module Google
|
|
21678
22084
|
class InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck
|
21679
22085
|
include Google::Apis::Core::Hashable
|
21680
22086
|
|
21681
|
-
# [Output Only]
|
22087
|
+
# [Output Only] Errors encountered during bulk instance operation.
|
21682
22088
|
# Corresponds to the JSON property `error`
|
21683
22089
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck::Error]
|
21684
22090
|
attr_accessor :error
|
@@ -21699,7 +22105,7 @@ module Google
|
|
21699
22105
|
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
21700
22106
|
end
|
21701
22107
|
|
21702
|
-
# [Output Only]
|
22108
|
+
# [Output Only] Errors encountered during bulk instance operation.
|
21703
22109
|
class Error
|
21704
22110
|
include Google::Apis::Core::Hashable
|
21705
22111
|
|
@@ -21900,7 +22306,8 @@ module Google
|
|
21900
22306
|
class InstanceGroupManagerTargetSizePolicy
|
21901
22307
|
include Google::Apis::Core::Hashable
|
21902
22308
|
|
21903
|
-
#
|
22309
|
+
# The mode of target size policy based on which the MIG creates its VMs
|
22310
|
+
# individually or all at once.
|
21904
22311
|
# Corresponds to the JSON property `mode`
|
21905
22312
|
# @return [String]
|
21906
22313
|
attr_accessor :mode
|
@@ -23392,6 +23799,14 @@ module Google
|
|
23392
23799
|
class InstanceParams
|
23393
23800
|
include Google::Apis::Core::Hashable
|
23394
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
|
+
|
23395
23810
|
# Resource manager tags to be bound to the instance. Tag keys and values have
|
23396
23811
|
# the same definition as resource manager tags. Keys must be in the format `
|
23397
23812
|
# tagKeys/`tag_key_id``, and values are in the format `tagValues/456`. The field
|
@@ -23406,6 +23821,7 @@ module Google
|
|
23406
23821
|
|
23407
23822
|
# Update properties of this object
|
23408
23823
|
def update!(**args)
|
23824
|
+
@request_valid_for_duration = args[:request_valid_for_duration] if args.key?(:request_valid_for_duration)
|
23409
23825
|
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
23410
23826
|
end
|
23411
23827
|
end
|
@@ -36308,6 +36724,11 @@ module Google
|
|
36308
36724
|
# @return [String]
|
36309
36725
|
attr_accessor :name
|
36310
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
|
+
|
36311
36732
|
# [Output Only] Server-defined URL for the resource.
|
36312
36733
|
# Corresponds to the JSON property `selfLink`
|
36313
36734
|
# @return [String]
|
@@ -36331,6 +36752,7 @@ module Google
|
|
36331
36752
|
@kind = args[:kind] if args.key?(:kind)
|
36332
36753
|
@location = args[:location] if args.key?(:location)
|
36333
36754
|
@name = args[:name] if args.key?(:name)
|
36755
|
+
@profile_type = args[:profile_type] if args.key?(:profile_type)
|
36334
36756
|
@self_link = args[:self_link] if args.key?(:self_link)
|
36335
36757
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
36336
36758
|
end
|
@@ -36545,6 +36967,43 @@ module Google
|
|
36545
36967
|
end
|
36546
36968
|
end
|
36547
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
|
+
|
36548
37007
|
# Contains a list of network profiles.
|
36549
37008
|
class NetworkProfilesListResponse
|
36550
37009
|
include Google::Apis::Core::Hashable
|
@@ -42198,6 +42657,11 @@ module Google
|
|
42198
42657
|
# @return [String]
|
42199
42658
|
attr_accessor :ip_cidr_range
|
42200
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
|
+
|
42201
42665
|
# [Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for
|
42202
42666
|
# public advertised prefixes.
|
42203
42667
|
# Corresponds to the JSON property `kind`
|
@@ -42269,6 +42733,7 @@ module Google
|
|
42269
42733
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
42270
42734
|
@id = args[:id] if args.key?(:id)
|
42271
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)
|
42272
42737
|
@kind = args[:kind] if args.key?(:kind)
|
42273
42738
|
@name = args[:name] if args.key?(:name)
|
42274
42739
|
@pdp_scope = args[:pdp_scope] if args.key?(:pdp_scope)
|
@@ -42498,6 +42963,12 @@ module Google
|
|
42498
42963
|
# @return [String]
|
42499
42964
|
attr_accessor :ip_cidr_range
|
42500
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
|
+
|
42501
42972
|
# If true, the prefix will be live migrated.
|
42502
42973
|
# Corresponds to the JSON property `isLiveMigration`
|
42503
42974
|
# @return [Boolean]
|
@@ -42578,6 +43049,7 @@ module Google
|
|
42578
43049
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
42579
43050
|
@id = args[:id] if args.key?(:id)
|
42580
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)
|
42581
43053
|
@is_live_migration = args[:is_live_migration] if args.key?(:is_live_migration)
|
42582
43054
|
@kind = args[:kind] if args.key?(:kind)
|
42583
43055
|
@mode = args[:mode] if args.key?(:mode)
|
@@ -42860,6 +43332,12 @@ module Google
|
|
42860
43332
|
# @return [String]
|
42861
43333
|
attr_accessor :ip_cidr_range
|
42862
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
|
+
|
42863
43341
|
# Whether the sub prefix is delegated to create Address resources in the
|
42864
43342
|
# delegatee project.
|
42865
43343
|
# Corresponds to the JSON property `isAddress`
|
@@ -42898,6 +43376,7 @@ module Google
|
|
42898
43376
|
@delegatee_project = args[:delegatee_project] if args.key?(:delegatee_project)
|
42899
43377
|
@description = args[:description] if args.key?(:description)
|
42900
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)
|
42901
43380
|
@is_address = args[:is_address] if args.key?(:is_address)
|
42902
43381
|
@mode = args[:mode] if args.key?(:mode)
|
42903
43382
|
@name = args[:name] if args.key?(:name)
|
@@ -43738,47 +44217,9 @@ module Google
|
|
43738
44217
|
end
|
43739
44218
|
end
|
43740
44219
|
|
43741
|
-
# Represents a
|
43742
|
-
|
43743
|
-
|
43744
|
-
|
43745
|
-
# [Output Only] Type of the resource. Always compute#reference for references.
|
43746
|
-
# Corresponds to the JSON property `kind`
|
43747
|
-
# @return [String]
|
43748
|
-
attr_accessor :kind
|
43749
|
-
|
43750
|
-
# A description of the reference type with no implied semantics. Possible values
|
43751
|
-
# include: 1. MEMBER_OF
|
43752
|
-
# Corresponds to the JSON property `referenceType`
|
43753
|
-
# @return [String]
|
43754
|
-
attr_accessor :reference_type
|
43755
|
-
|
43756
|
-
# URL of the resource which refers to the target.
|
43757
|
-
# Corresponds to the JSON property `referrer`
|
43758
|
-
# @return [String]
|
43759
|
-
attr_accessor :referrer
|
43760
|
-
|
43761
|
-
# URL of the resource to which this reference points.
|
43762
|
-
# Corresponds to the JSON property `target`
|
43763
|
-
# @return [String]
|
43764
|
-
attr_accessor :target
|
43765
|
-
|
43766
|
-
def initialize(**args)
|
43767
|
-
update!(**args)
|
43768
|
-
end
|
43769
|
-
|
43770
|
-
# Update properties of this object
|
43771
|
-
def update!(**args)
|
43772
|
-
@kind = args[:kind] if args.key?(:kind)
|
43773
|
-
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
43774
|
-
@referrer = args[:referrer] if args.key?(:referrer)
|
43775
|
-
@target = args[:target] if args.key?(:target)
|
43776
|
-
end
|
43777
|
-
end
|
43778
|
-
|
43779
|
-
# Represents a Region resource. A region is a geographical area where a resource
|
43780
|
-
# is located. For more information, read Regions and Zones.
|
43781
|
-
class Region
|
44220
|
+
# Represents a RecoverableSnapshot resource. A RecoverableSnapshot represents a
|
44221
|
+
# snapshot in recycle bin.
|
44222
|
+
class RecoverableSnapshot
|
43782
44223
|
include Google::Apis::Core::Hashable
|
43783
44224
|
|
43784
44225
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
@@ -43786,12 +44227,7 @@ module Google
|
|
43786
44227
|
# @return [String]
|
43787
44228
|
attr_accessor :creation_timestamp
|
43788
44229
|
|
43789
|
-
#
|
43790
|
-
# Corresponds to the JSON property `deprecated`
|
43791
|
-
# @return [Google::Apis::ComputeAlpha::DeprecationStatus]
|
43792
|
-
attr_accessor :deprecated
|
43793
|
-
|
43794
|
-
# [Output Only] Textual description of the resource.
|
44230
|
+
# Optional. An optional description of this resource.
|
43795
44231
|
# Corresponds to the JSON property `description`
|
43796
44232
|
# @return [String]
|
43797
44233
|
attr_accessor :description
|
@@ -43802,54 +44238,59 @@ module Google
|
|
43802
44238
|
# @return [Fixnum]
|
43803
44239
|
attr_accessor :id
|
43804
44240
|
|
43805
|
-
# [Output Only] Type of the resource. Always compute#
|
44241
|
+
# [Output Only] Type of the resource. Always compute#recoverableSnapshot for
|
44242
|
+
# RecoverableSnapshot resources.
|
43806
44243
|
# Corresponds to the JSON property `kind`
|
43807
44244
|
# @return [String]
|
43808
44245
|
attr_accessor :kind
|
43809
44246
|
|
43810
|
-
#
|
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.
|
43811
44253
|
# Corresponds to the JSON property `name`
|
43812
44254
|
# @return [String]
|
43813
44255
|
attr_accessor :name
|
43814
44256
|
|
43815
|
-
#
|
43816
|
-
#
|
43817
|
-
#
|
43818
|
-
|
43819
|
-
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
|
43820
44261
|
|
43821
|
-
# [Output Only]
|
43822
|
-
# Corresponds to the JSON property `
|
43823
|
-
# @return [
|
43824
|
-
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
|
43825
44278
|
|
43826
44279
|
# [Output Only] Server-defined URL for the resource.
|
43827
44280
|
# Corresponds to the JSON property `selfLink`
|
43828
44281
|
# @return [String]
|
43829
44282
|
attr_accessor :self_link
|
43830
44283
|
|
43831
|
-
# [Output Only] Server-defined URL for this resource
|
44284
|
+
# [Output Only] Server-defined URL for this resource's resource id.
|
43832
44285
|
# Corresponds to the JSON property `selfLinkWithId`
|
43833
44286
|
# @return [String]
|
43834
44287
|
attr_accessor :self_link_with_id
|
43835
44288
|
|
43836
|
-
# [Output Only] Status of the
|
44289
|
+
# [Output Only] Status of the recoverable snapshot.
|
43837
44290
|
# Corresponds to the JSON property `status`
|
43838
44291
|
# @return [String]
|
43839
44292
|
attr_accessor :status
|
43840
44293
|
|
43841
|
-
# [Output Only] Reserved for future use.
|
43842
|
-
# Corresponds to the JSON property `supportsPzs`
|
43843
|
-
# @return [Boolean]
|
43844
|
-
attr_accessor :supports_pzs
|
43845
|
-
alias_method :supports_pzs?, :supports_pzs
|
43846
|
-
|
43847
|
-
# [Output Only] A list of zones available in this region, in the form of
|
43848
|
-
# resource URLs.
|
43849
|
-
# Corresponds to the JSON property `zones`
|
43850
|
-
# @return [Array<String>]
|
43851
|
-
attr_accessor :zones
|
43852
|
-
|
43853
44294
|
def initialize(**args)
|
43854
44295
|
update!(**args)
|
43855
44296
|
end
|
@@ -43857,132 +44298,41 @@ module Google
|
|
43857
44298
|
# Update properties of this object
|
43858
44299
|
def update!(**args)
|
43859
44300
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
43860
|
-
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
43861
44301
|
@description = args[:description] if args.key?(:description)
|
43862
44302
|
@id = args[:id] if args.key?(:id)
|
43863
44303
|
@kind = args[:kind] if args.key?(:kind)
|
43864
44304
|
@name = args[:name] if args.key?(:name)
|
43865
|
-
@
|
43866
|
-
@
|
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)
|
43867
44309
|
@self_link = args[:self_link] if args.key?(:self_link)
|
43868
44310
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
43869
44311
|
@status = args[:status] if args.key?(:status)
|
43870
|
-
@supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
|
43871
|
-
@zones = args[:zones] if args.key?(:zones)
|
43872
|
-
end
|
43873
|
-
|
43874
|
-
# [Output Only] Warning of fetching the `quotas` field for this region. This
|
43875
|
-
# field is populated only if fetching of the `quotas` field fails.
|
43876
|
-
class QuotaStatusWarning
|
43877
|
-
include Google::Apis::Core::Hashable
|
43878
|
-
|
43879
|
-
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
43880
|
-
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
43881
|
-
# Corresponds to the JSON property `code`
|
43882
|
-
# @return [String]
|
43883
|
-
attr_accessor :code
|
43884
|
-
|
43885
|
-
# [Output Only] Metadata about this warning in key: value format. For example: "
|
43886
|
-
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
43887
|
-
# Corresponds to the JSON property `data`
|
43888
|
-
# @return [Array<Google::Apis::ComputeAlpha::Region::QuotaStatusWarning::Datum>]
|
43889
|
-
attr_accessor :data
|
43890
|
-
|
43891
|
-
# [Output Only] A human-readable description of the warning code.
|
43892
|
-
# Corresponds to the JSON property `message`
|
43893
|
-
# @return [String]
|
43894
|
-
attr_accessor :message
|
43895
|
-
|
43896
|
-
def initialize(**args)
|
43897
|
-
update!(**args)
|
43898
|
-
end
|
43899
|
-
|
43900
|
-
# Update properties of this object
|
43901
|
-
def update!(**args)
|
43902
|
-
@code = args[:code] if args.key?(:code)
|
43903
|
-
@data = args[:data] if args.key?(:data)
|
43904
|
-
@message = args[:message] if args.key?(:message)
|
43905
|
-
end
|
43906
|
-
|
43907
|
-
#
|
43908
|
-
class Datum
|
43909
|
-
include Google::Apis::Core::Hashable
|
43910
|
-
|
43911
|
-
# [Output Only] A key that provides more detail on the warning being returned.
|
43912
|
-
# For example, for warnings where there are no results in a list request for a
|
43913
|
-
# particular zone, this key might be scope and the key value might be the zone
|
43914
|
-
# name. Other examples might be a key indicating a deprecated resource and a
|
43915
|
-
# suggested replacement, or a warning about invalid network settings (for
|
43916
|
-
# example, if an instance attempts to perform IP forwarding but is not enabled
|
43917
|
-
# for IP forwarding).
|
43918
|
-
# Corresponds to the JSON property `key`
|
43919
|
-
# @return [String]
|
43920
|
-
attr_accessor :key
|
43921
|
-
|
43922
|
-
# [Output Only] A warning data value corresponding to the key.
|
43923
|
-
# Corresponds to the JSON property `value`
|
43924
|
-
# @return [String]
|
43925
|
-
attr_accessor :value
|
43926
|
-
|
43927
|
-
def initialize(**args)
|
43928
|
-
update!(**args)
|
43929
|
-
end
|
43930
|
-
|
43931
|
-
# Update properties of this object
|
43932
|
-
def update!(**args)
|
43933
|
-
@key = args[:key] if args.key?(:key)
|
43934
|
-
@value = args[:value] if args.key?(:value)
|
43935
|
-
end
|
43936
|
-
end
|
43937
44312
|
end
|
43938
44313
|
end
|
43939
44314
|
|
43940
44315
|
#
|
43941
|
-
class
|
44316
|
+
class RecoverableSnapshotAggregatedList
|
43942
44317
|
include Google::Apis::Core::Hashable
|
43943
44318
|
|
43944
|
-
#
|
43945
|
-
# the
|
43946
|
-
# Corresponds to the JSON property `description`
|
43947
|
-
# @return [String]
|
43948
|
-
attr_accessor :description
|
43949
|
-
|
43950
|
-
# The URL of the destination address to move to. This can be a full or partial
|
43951
|
-
# URL. For example, the following are all valid URLs to a address: - https://www.
|
43952
|
-
# googleapis.com/compute/v1/projects/project/regions/region /addresses/address -
|
43953
|
-
# projects/project/regions/region/addresses/address Note that destination
|
43954
|
-
# project must be different from the source project. So /regions/region/
|
43955
|
-
# addresses/address is not valid partial url.
|
43956
|
-
# Corresponds to the JSON property `destinationAddress`
|
44319
|
+
#
|
44320
|
+
# Corresponds to the JSON property `etag`
|
43957
44321
|
# @return [String]
|
43958
|
-
attr_accessor :
|
43959
|
-
|
43960
|
-
def initialize(**args)
|
43961
|
-
update!(**args)
|
43962
|
-
end
|
43963
|
-
|
43964
|
-
# Update properties of this object
|
43965
|
-
def update!(**args)
|
43966
|
-
@description = args[:description] if args.key?(:description)
|
43967
|
-
@destination_address = args[:destination_address] if args.key?(:destination_address)
|
43968
|
-
end
|
43969
|
-
end
|
43970
|
-
|
43971
|
-
# Contains a list of autoscalers.
|
43972
|
-
class RegionAutoscalerList
|
43973
|
-
include Google::Apis::Core::Hashable
|
44322
|
+
attr_accessor :etag
|
43974
44323
|
|
43975
44324
|
# [Output Only] Unique identifier for the resource; defined by the server.
|
43976
44325
|
# Corresponds to the JSON property `id`
|
43977
44326
|
# @return [String]
|
43978
44327
|
attr_accessor :id
|
43979
44328
|
|
43980
|
-
# A list of
|
44329
|
+
# A list of RecoverableSnapshotsScopedList resources.
|
43981
44330
|
# Corresponds to the JSON property `items`
|
43982
|
-
# @return [
|
44331
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::RecoverableSnapshotsScopedList>]
|
43983
44332
|
attr_accessor :items
|
43984
44333
|
|
43985
|
-
# Type of resource.
|
44334
|
+
# [Output Only] Type of resource. Always compute#
|
44335
|
+
# recoverableSnapshotAggregatedList for aggregated lists of recoverablesnapshots.
|
43986
44336
|
# Corresponds to the JSON property `kind`
|
43987
44337
|
# @return [String]
|
43988
44338
|
attr_accessor :kind
|
@@ -44001,9 +44351,15 @@ module Google
|
|
44001
44351
|
# @return [String]
|
44002
44352
|
attr_accessor :self_link
|
44003
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
|
+
|
44004
44360
|
# [Output Only] Informational warning message.
|
44005
44361
|
# Corresponds to the JSON property `warning`
|
44006
|
-
# @return [Google::Apis::ComputeAlpha::
|
44362
|
+
# @return [Google::Apis::ComputeAlpha::RecoverableSnapshotAggregatedList::Warning]
|
44007
44363
|
attr_accessor :warning
|
44008
44364
|
|
44009
44365
|
def initialize(**args)
|
@@ -44012,11 +44368,13 @@ module Google
|
|
44012
44368
|
|
44013
44369
|
# Update properties of this object
|
44014
44370
|
def update!(**args)
|
44371
|
+
@etag = args[:etag] if args.key?(:etag)
|
44015
44372
|
@id = args[:id] if args.key?(:id)
|
44016
44373
|
@items = args[:items] if args.key?(:items)
|
44017
44374
|
@kind = args[:kind] if args.key?(:kind)
|
44018
44375
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
44019
44376
|
@self_link = args[:self_link] if args.key?(:self_link)
|
44377
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
44020
44378
|
@warning = args[:warning] if args.key?(:warning)
|
44021
44379
|
end
|
44022
44380
|
|
@@ -44033,7 +44391,7 @@ module Google
|
|
44033
44391
|
# [Output Only] Metadata about this warning in key: value format. For example: "
|
44034
44392
|
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
44035
44393
|
# Corresponds to the JSON property `data`
|
44036
|
-
# @return [Array<Google::Apis::ComputeAlpha::
|
44394
|
+
# @return [Array<Google::Apis::ComputeAlpha::RecoverableSnapshotAggregatedList::Warning::Datum>]
|
44037
44395
|
attr_accessor :data
|
44038
44396
|
|
44039
44397
|
# [Output Only] A human-readable description of the warning code.
|
@@ -44086,40 +44444,26 @@ module Google
|
|
44086
44444
|
end
|
44087
44445
|
|
44088
44446
|
#
|
44089
|
-
class
|
44447
|
+
class RecoverableSnapshotList
|
44090
44448
|
include Google::Apis::Core::Hashable
|
44091
44449
|
|
44092
|
-
#
|
44093
|
-
# Corresponds to the JSON property `
|
44094
|
-
# @return [
|
44095
|
-
attr_accessor :
|
44096
|
-
|
44097
|
-
def initialize(**args)
|
44098
|
-
update!(**args)
|
44099
|
-
end
|
44100
|
-
|
44101
|
-
# Update properties of this object
|
44102
|
-
def update!(**args)
|
44103
|
-
@reservations = args[:reservations] if args.key?(:reservations)
|
44104
|
-
end
|
44105
|
-
end
|
44106
|
-
|
44107
|
-
#
|
44108
|
-
class RegionDiskTypeList
|
44109
|
-
include Google::Apis::Core::Hashable
|
44450
|
+
#
|
44451
|
+
# Corresponds to the JSON property `etag`
|
44452
|
+
# @return [String]
|
44453
|
+
attr_accessor :etag
|
44110
44454
|
|
44111
44455
|
# [Output Only] Unique identifier for the resource; defined by the server.
|
44112
44456
|
# Corresponds to the JSON property `id`
|
44113
44457
|
# @return [String]
|
44114
44458
|
attr_accessor :id
|
44115
44459
|
|
44116
|
-
# A list of
|
44460
|
+
# A list of RecoverableSnapshots resources.
|
44117
44461
|
# Corresponds to the JSON property `items`
|
44118
|
-
# @return [Array<Google::Apis::ComputeAlpha::
|
44462
|
+
# @return [Array<Google::Apis::ComputeAlpha::RecoverableSnapshot>]
|
44119
44463
|
attr_accessor :items
|
44120
44464
|
|
44121
|
-
# [Output Only] Type of resource. Always compute#
|
44122
|
-
#
|
44465
|
+
# [Output Only] Type of resource. Always compute#recoverableSnapshotList for
|
44466
|
+
# lists of recoverablesnapshots.
|
44123
44467
|
# Corresponds to the JSON property `kind`
|
44124
44468
|
# @return [String]
|
44125
44469
|
attr_accessor :kind
|
@@ -44138,9 +44482,15 @@ module Google
|
|
44138
44482
|
# @return [String]
|
44139
44483
|
attr_accessor :self_link
|
44140
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
|
+
|
44141
44491
|
# [Output Only] Informational warning message.
|
44142
44492
|
# Corresponds to the JSON property `warning`
|
44143
|
-
# @return [Google::Apis::ComputeAlpha::
|
44493
|
+
# @return [Google::Apis::ComputeAlpha::RecoverableSnapshotList::Warning]
|
44144
44494
|
attr_accessor :warning
|
44145
44495
|
|
44146
44496
|
def initialize(**args)
|
@@ -44149,11 +44499,13 @@ module Google
|
|
44149
44499
|
|
44150
44500
|
# Update properties of this object
|
44151
44501
|
def update!(**args)
|
44502
|
+
@etag = args[:etag] if args.key?(:etag)
|
44152
44503
|
@id = args[:id] if args.key?(:id)
|
44153
44504
|
@items = args[:items] if args.key?(:items)
|
44154
44505
|
@kind = args[:kind] if args.key?(:kind)
|
44155
44506
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
44156
44507
|
@self_link = args[:self_link] if args.key?(:self_link)
|
44508
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
44157
44509
|
@warning = args[:warning] if args.key?(:warning)
|
44158
44510
|
end
|
44159
44511
|
|
@@ -44170,7 +44522,898 @@ module Google
|
|
44170
44522
|
# [Output Only] Metadata about this warning in key: value format. For example: "
|
44171
44523
|
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
44172
44524
|
# Corresponds to the JSON property `data`
|
44173
|
-
# @return [Array<Google::Apis::ComputeAlpha::
|
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>]
|
45132
|
+
attr_accessor :data
|
45133
|
+
|
45134
|
+
# [Output Only] A human-readable description of the warning code.
|
45135
|
+
# Corresponds to the JSON property `message`
|
45136
|
+
# @return [String]
|
45137
|
+
attr_accessor :message
|
45138
|
+
|
45139
|
+
def initialize(**args)
|
45140
|
+
update!(**args)
|
45141
|
+
end
|
45142
|
+
|
45143
|
+
# Update properties of this object
|
45144
|
+
def update!(**args)
|
45145
|
+
@code = args[:code] if args.key?(:code)
|
45146
|
+
@data = args[:data] if args.key?(:data)
|
45147
|
+
@message = args[:message] if args.key?(:message)
|
45148
|
+
end
|
45149
|
+
|
45150
|
+
#
|
45151
|
+
class Datum
|
45152
|
+
include Google::Apis::Core::Hashable
|
45153
|
+
|
45154
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
45155
|
+
# For example, for warnings where there are no results in a list request for a
|
45156
|
+
# particular zone, this key might be scope and the key value might be the zone
|
45157
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
45158
|
+
# suggested replacement, or a warning about invalid network settings (for
|
45159
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
45160
|
+
# for IP forwarding).
|
45161
|
+
# Corresponds to the JSON property `key`
|
45162
|
+
# @return [String]
|
45163
|
+
attr_accessor :key
|
45164
|
+
|
45165
|
+
# [Output Only] A warning data value corresponding to the key.
|
45166
|
+
# Corresponds to the JSON property `value`
|
45167
|
+
# @return [String]
|
45168
|
+
attr_accessor :value
|
45169
|
+
|
45170
|
+
def initialize(**args)
|
45171
|
+
update!(**args)
|
45172
|
+
end
|
45173
|
+
|
45174
|
+
# Update properties of this object
|
45175
|
+
def update!(**args)
|
45176
|
+
@key = args[:key] if args.key?(:key)
|
45177
|
+
@value = args[:value] if args.key?(:value)
|
45178
|
+
end
|
45179
|
+
end
|
45180
|
+
end
|
45181
|
+
end
|
45182
|
+
|
45183
|
+
#
|
45184
|
+
class RegionAddressesMoveRequest
|
45185
|
+
include Google::Apis::Core::Hashable
|
45186
|
+
|
45187
|
+
# An optional destination address description if intended to be different from
|
45188
|
+
# the source.
|
45189
|
+
# Corresponds to the JSON property `description`
|
45190
|
+
# @return [String]
|
45191
|
+
attr_accessor :description
|
45192
|
+
|
45193
|
+
# The URL of the destination address to move to. This can be a full or partial
|
45194
|
+
# URL. For example, the following are all valid URLs to a address: - https://www.
|
45195
|
+
# googleapis.com/compute/v1/projects/project/regions/region /addresses/address -
|
45196
|
+
# projects/project/regions/region/addresses/address Note that destination
|
45197
|
+
# project must be different from the source project. So /regions/region/
|
45198
|
+
# addresses/address is not valid partial url.
|
45199
|
+
# Corresponds to the JSON property `destinationAddress`
|
45200
|
+
# @return [String]
|
45201
|
+
attr_accessor :destination_address
|
45202
|
+
|
45203
|
+
def initialize(**args)
|
45204
|
+
update!(**args)
|
45205
|
+
end
|
45206
|
+
|
45207
|
+
# Update properties of this object
|
45208
|
+
def update!(**args)
|
45209
|
+
@description = args[:description] if args.key?(:description)
|
45210
|
+
@destination_address = args[:destination_address] if args.key?(:destination_address)
|
45211
|
+
end
|
45212
|
+
end
|
45213
|
+
|
45214
|
+
# Contains a list of autoscalers.
|
45215
|
+
class RegionAutoscalerList
|
45216
|
+
include Google::Apis::Core::Hashable
|
45217
|
+
|
45218
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
45219
|
+
# Corresponds to the JSON property `id`
|
45220
|
+
# @return [String]
|
45221
|
+
attr_accessor :id
|
45222
|
+
|
45223
|
+
# A list of Autoscaler resources.
|
45224
|
+
# Corresponds to the JSON property `items`
|
45225
|
+
# @return [Array<Google::Apis::ComputeAlpha::Autoscaler>]
|
45226
|
+
attr_accessor :items
|
45227
|
+
|
45228
|
+
# Type of resource.
|
45229
|
+
# Corresponds to the JSON property `kind`
|
45230
|
+
# @return [String]
|
45231
|
+
attr_accessor :kind
|
45232
|
+
|
45233
|
+
# [Output Only] This token allows you to get the next page of results for list
|
45234
|
+
# requests. If the number of results is larger than maxResults, use the
|
45235
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
45236
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
45237
|
+
# continue paging through the results.
|
45238
|
+
# Corresponds to the JSON property `nextPageToken`
|
45239
|
+
# @return [String]
|
45240
|
+
attr_accessor :next_page_token
|
45241
|
+
|
45242
|
+
# [Output Only] Server-defined URL for this resource.
|
45243
|
+
# Corresponds to the JSON property `selfLink`
|
45244
|
+
# @return [String]
|
45245
|
+
attr_accessor :self_link
|
45246
|
+
|
45247
|
+
# [Output Only] Informational warning message.
|
45248
|
+
# Corresponds to the JSON property `warning`
|
45249
|
+
# @return [Google::Apis::ComputeAlpha::RegionAutoscalerList::Warning]
|
45250
|
+
attr_accessor :warning
|
45251
|
+
|
45252
|
+
def initialize(**args)
|
45253
|
+
update!(**args)
|
45254
|
+
end
|
45255
|
+
|
45256
|
+
# Update properties of this object
|
45257
|
+
def update!(**args)
|
45258
|
+
@id = args[:id] if args.key?(:id)
|
45259
|
+
@items = args[:items] if args.key?(:items)
|
45260
|
+
@kind = args[:kind] if args.key?(:kind)
|
45261
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
45262
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
45263
|
+
@warning = args[:warning] if args.key?(:warning)
|
45264
|
+
end
|
45265
|
+
|
45266
|
+
# [Output Only] Informational warning message.
|
45267
|
+
class Warning
|
45268
|
+
include Google::Apis::Core::Hashable
|
45269
|
+
|
45270
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
45271
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
45272
|
+
# Corresponds to the JSON property `code`
|
45273
|
+
# @return [String]
|
45274
|
+
attr_accessor :code
|
45275
|
+
|
45276
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
45277
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
45278
|
+
# Corresponds to the JSON property `data`
|
45279
|
+
# @return [Array<Google::Apis::ComputeAlpha::RegionAutoscalerList::Warning::Datum>]
|
45280
|
+
attr_accessor :data
|
45281
|
+
|
45282
|
+
# [Output Only] A human-readable description of the warning code.
|
45283
|
+
# Corresponds to the JSON property `message`
|
45284
|
+
# @return [String]
|
45285
|
+
attr_accessor :message
|
45286
|
+
|
45287
|
+
def initialize(**args)
|
45288
|
+
update!(**args)
|
45289
|
+
end
|
45290
|
+
|
45291
|
+
# Update properties of this object
|
45292
|
+
def update!(**args)
|
45293
|
+
@code = args[:code] if args.key?(:code)
|
45294
|
+
@data = args[:data] if args.key?(:data)
|
45295
|
+
@message = args[:message] if args.key?(:message)
|
45296
|
+
end
|
45297
|
+
|
45298
|
+
#
|
45299
|
+
class Datum
|
45300
|
+
include Google::Apis::Core::Hashable
|
45301
|
+
|
45302
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
45303
|
+
# For example, for warnings where there are no results in a list request for a
|
45304
|
+
# particular zone, this key might be scope and the key value might be the zone
|
45305
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
45306
|
+
# suggested replacement, or a warning about invalid network settings (for
|
45307
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
45308
|
+
# for IP forwarding).
|
45309
|
+
# Corresponds to the JSON property `key`
|
45310
|
+
# @return [String]
|
45311
|
+
attr_accessor :key
|
45312
|
+
|
45313
|
+
# [Output Only] A warning data value corresponding to the key.
|
45314
|
+
# Corresponds to the JSON property `value`
|
45315
|
+
# @return [String]
|
45316
|
+
attr_accessor :value
|
45317
|
+
|
45318
|
+
def initialize(**args)
|
45319
|
+
update!(**args)
|
45320
|
+
end
|
45321
|
+
|
45322
|
+
# Update properties of this object
|
45323
|
+
def update!(**args)
|
45324
|
+
@key = args[:key] if args.key?(:key)
|
45325
|
+
@value = args[:value] if args.key?(:value)
|
45326
|
+
end
|
45327
|
+
end
|
45328
|
+
end
|
45329
|
+
end
|
45330
|
+
|
45331
|
+
#
|
45332
|
+
class RegionCommitmentsUpdateReservationsRequest
|
45333
|
+
include Google::Apis::Core::Hashable
|
45334
|
+
|
45335
|
+
# A list of two reservations to transfer GPUs and Local SSD disks between.
|
45336
|
+
# Corresponds to the JSON property `reservations`
|
45337
|
+
# @return [Array<Google::Apis::ComputeAlpha::Reservation>]
|
45338
|
+
attr_accessor :reservations
|
45339
|
+
|
45340
|
+
def initialize(**args)
|
45341
|
+
update!(**args)
|
45342
|
+
end
|
45343
|
+
|
45344
|
+
# Update properties of this object
|
45345
|
+
def update!(**args)
|
45346
|
+
@reservations = args[:reservations] if args.key?(:reservations)
|
45347
|
+
end
|
45348
|
+
end
|
45349
|
+
|
45350
|
+
#
|
45351
|
+
class RegionDiskTypeList
|
45352
|
+
include Google::Apis::Core::Hashable
|
45353
|
+
|
45354
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
45355
|
+
# Corresponds to the JSON property `id`
|
45356
|
+
# @return [String]
|
45357
|
+
attr_accessor :id
|
45358
|
+
|
45359
|
+
# A list of DiskType resources.
|
45360
|
+
# Corresponds to the JSON property `items`
|
45361
|
+
# @return [Array<Google::Apis::ComputeAlpha::DiskType>]
|
45362
|
+
attr_accessor :items
|
45363
|
+
|
45364
|
+
# [Output Only] Type of resource. Always compute#regionDiskTypeList for region
|
45365
|
+
# disk types.
|
45366
|
+
# Corresponds to the JSON property `kind`
|
45367
|
+
# @return [String]
|
45368
|
+
attr_accessor :kind
|
45369
|
+
|
45370
|
+
# [Output Only] This token allows you to get the next page of results for list
|
45371
|
+
# requests. If the number of results is larger than maxResults, use the
|
45372
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
45373
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
45374
|
+
# continue paging through the results.
|
45375
|
+
# Corresponds to the JSON property `nextPageToken`
|
45376
|
+
# @return [String]
|
45377
|
+
attr_accessor :next_page_token
|
45378
|
+
|
45379
|
+
# [Output Only] Server-defined URL for this resource.
|
45380
|
+
# Corresponds to the JSON property `selfLink`
|
45381
|
+
# @return [String]
|
45382
|
+
attr_accessor :self_link
|
45383
|
+
|
45384
|
+
# [Output Only] Informational warning message.
|
45385
|
+
# Corresponds to the JSON property `warning`
|
45386
|
+
# @return [Google::Apis::ComputeAlpha::RegionDiskTypeList::Warning]
|
45387
|
+
attr_accessor :warning
|
45388
|
+
|
45389
|
+
def initialize(**args)
|
45390
|
+
update!(**args)
|
45391
|
+
end
|
45392
|
+
|
45393
|
+
# Update properties of this object
|
45394
|
+
def update!(**args)
|
45395
|
+
@id = args[:id] if args.key?(:id)
|
45396
|
+
@items = args[:items] if args.key?(:items)
|
45397
|
+
@kind = args[:kind] if args.key?(:kind)
|
45398
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
45399
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
45400
|
+
@warning = args[:warning] if args.key?(:warning)
|
45401
|
+
end
|
45402
|
+
|
45403
|
+
# [Output Only] Informational warning message.
|
45404
|
+
class Warning
|
45405
|
+
include Google::Apis::Core::Hashable
|
45406
|
+
|
45407
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
45408
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
45409
|
+
# Corresponds to the JSON property `code`
|
45410
|
+
# @return [String]
|
45411
|
+
attr_accessor :code
|
45412
|
+
|
45413
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
45414
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
45415
|
+
# Corresponds to the JSON property `data`
|
45416
|
+
# @return [Array<Google::Apis::ComputeAlpha::RegionDiskTypeList::Warning::Datum>]
|
44174
45417
|
attr_accessor :data
|
44175
45418
|
|
44176
45419
|
# [Output Only] A human-readable description of the warning code.
|
@@ -46149,7 +47392,8 @@ module Google
|
|
46149
47392
|
# @return [String]
|
46150
47393
|
attr_accessor :description
|
46151
47394
|
|
46152
|
-
# Indicates
|
47395
|
+
# Indicates whether Compute Engine allows unplanned maintenance for your VMs;
|
47396
|
+
# for example, to fix hardware errors.
|
46153
47397
|
# Corresponds to the JSON property `enableEmergentMaintenance`
|
46154
47398
|
# @return [Boolean]
|
46155
47399
|
attr_accessor :enable_emergent_maintenance
|
@@ -48374,6 +49618,18 @@ module Google
|
|
48374
49618
|
# @return [Array<Google::Apis::ComputeAlpha::ResourceStatusAcceleratorStatus>]
|
48375
49619
|
attr_accessor :accelerator_status
|
48376
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
|
+
|
48377
49633
|
# Effective values of predefined metadata keys for an instance.
|
48378
49634
|
# Corresponds to the JSON property `effectiveInstanceMetadata`
|
48379
49635
|
# @return [Google::Apis::ComputeAlpha::ResourceStatusEffectiveInstanceMetadata]
|
@@ -48426,6 +49682,8 @@ module Google
|
|
48426
49682
|
# Update properties of this object
|
48427
49683
|
def update!(**args)
|
48428
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)
|
48429
49687
|
@effective_instance_metadata = args[:effective_instance_metadata] if args.key?(:effective_instance_metadata)
|
48430
49688
|
@last_instance_termination_details = args[:last_instance_termination_details] if args.key?(:last_instance_termination_details)
|
48431
49689
|
@physical_host = args[:physical_host] if args.key?(:physical_host)
|
@@ -49596,6 +50854,11 @@ module Google
|
|
49596
50854
|
# @return [String]
|
49597
50855
|
attr_accessor :network
|
49598
50856
|
|
50857
|
+
# Additional router parameters.
|
50858
|
+
# Corresponds to the JSON property `params`
|
50859
|
+
# @return [Google::Apis::ComputeAlpha::RouterParams]
|
50860
|
+
attr_accessor :params
|
50861
|
+
|
49599
50862
|
# [Output Only] URI of the region where the router resides. You must specify
|
49600
50863
|
# this field as part of the HTTP request URL. It is not settable as a field in
|
49601
50864
|
# the request body.
|
@@ -49632,6 +50895,7 @@ module Google
|
|
49632
50895
|
@nats = args[:nats] if args.key?(:nats)
|
49633
50896
|
@ncc_gateway = args[:ncc_gateway] if args.key?(:ncc_gateway)
|
49634
50897
|
@network = args[:network] if args.key?(:network)
|
50898
|
+
@params = args[:params] if args.key?(:params)
|
49635
50899
|
@region = args[:region] if args.key?(:region)
|
49636
50900
|
@self_link = args[:self_link] if args.key?(:self_link)
|
49637
50901
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
@@ -50783,6 +52047,33 @@ module Google
|
|
50783
52047
|
end
|
50784
52048
|
end
|
50785
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
|
+
|
50786
52077
|
#
|
50787
52078
|
class RouterStatus
|
50788
52079
|
include Google::Apis::Core::Hashable
|
@@ -52096,6 +53387,13 @@ module Google
|
|
52096
53387
|
# @return [Google::Apis::ComputeAlpha::Duration]
|
52097
53388
|
attr_accessor :shutdown_timeout
|
52098
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
|
+
|
52099
53397
|
# Specifies the timestamp, when the instance will be terminated, in RFC3339 text
|
52100
53398
|
# format. If specified, the instance termination action will be performed at the
|
52101
53399
|
# termination time.
|
@@ -52135,6 +53433,7 @@ module Google
|
|
52135
53433
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
52136
53434
|
@provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
|
52137
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)
|
52138
53437
|
@termination_time = args[:termination_time] if args.key?(:termination_time)
|
52139
53438
|
@windows_license_optimization_mode = args[:windows_license_optimization_mode] if args.key?(:windows_license_optimization_mode)
|
52140
53439
|
end
|
@@ -55667,6 +56966,11 @@ module Google
|
|
55667
56966
|
# @return [String]
|
55668
56967
|
attr_accessor :name
|
55669
56968
|
|
56969
|
+
# Additional snapshot params.
|
56970
|
+
# Corresponds to the JSON property `params`
|
56971
|
+
# @return [Google::Apis::ComputeAlpha::SnapshotParams]
|
56972
|
+
attr_accessor :params
|
56973
|
+
|
55670
56974
|
# [Output Only] URL of the region where the snapshot resides. Only applicable
|
55671
56975
|
# for regional snapshots.
|
55672
56976
|
# Corresponds to the JSON property `region`
|
@@ -55842,6 +57146,7 @@ module Google
|
|
55842
57146
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
55843
57147
|
@max_retention_days = args[:max_retention_days] if args.key?(:max_retention_days)
|
55844
57148
|
@name = args[:name] if args.key?(:name)
|
57149
|
+
@params = args[:params] if args.key?(:params)
|
55845
57150
|
@region = args[:region] if args.key?(:region)
|
55846
57151
|
@resource_status = args[:resource_status] if args.key?(:resource_status)
|
55847
57152
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
@@ -55999,219 +57304,310 @@ module Google
|
|
55999
57304
|
end
|
56000
57305
|
end
|
56001
57306
|
|
56002
|
-
# Represents a SnapshotGroup resource. A snapshot group is a set of snapshots
|
56003
|
-
# that represents a point in time state of a consistency group.
|
56004
|
-
class SnapshotGroup
|
56005
|
-
include Google::Apis::Core::Hashable
|
56006
|
-
|
56007
|
-
# [Output Only] Creation timestamp in RFC3339 text format.
|
56008
|
-
# Corresponds to the JSON property `creationTimestamp`
|
56009
|
-
# @return [String]
|
56010
|
-
attr_accessor :creation_timestamp
|
56011
|
-
|
56012
|
-
# Optional. An optional description of this resource. Provide this property when
|
56013
|
-
# you create the resource.
|
56014
|
-
# Corresponds to the JSON property `description`
|
56015
|
-
# @return [String]
|
56016
|
-
attr_accessor :description
|
56017
|
-
|
56018
|
-
# [Output Only] The unique identifier for the resource. This identifier is
|
56019
|
-
# defined by the server.
|
56020
|
-
# Corresponds to the JSON property `id`
|
56021
|
-
# @return [Fixnum]
|
56022
|
-
attr_accessor :id
|
56023
|
-
|
56024
|
-
# [Output Only] Type of the resource. Always compute#snapshotGroup for
|
56025
|
-
# SnapshotGroup resources.
|
56026
|
-
# Corresponds to the JSON property `kind`
|
56027
|
-
# @return [String]
|
56028
|
-
attr_accessor :kind
|
56029
|
-
|
56030
|
-
# Identifier. Name of the resource; provided by the client when the resource is
|
56031
|
-
# created. The name must be 1-63 characters long, and comply with RFC1035.
|
56032
|
-
# Specifically, the name must be 1-63 characters long and match the regular
|
56033
|
-
# expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
|
56034
|
-
# be a lowercase letter, and all following characters must be a dash, lowercase
|
56035
|
-
# letter, or digit, except the last character, which cannot be a dash.
|
56036
|
-
# Corresponds to the JSON property `name`
|
56037
|
-
# @return [String]
|
56038
|
-
attr_accessor :name
|
56039
|
-
|
56040
|
-
# [Output Only] Server-defined URL for the resource.
|
56041
|
-
# Corresponds to the JSON property `selfLink`
|
56042
|
-
# @return [String]
|
56043
|
-
attr_accessor :self_link
|
56044
|
-
|
56045
|
-
# [Output Only] Server-defined URL for this resource's resource id.
|
56046
|
-
# Corresponds to the JSON property `selfLinkWithId`
|
56047
|
-
# @return [String]
|
56048
|
-
attr_accessor :self_link_with_id
|
56049
|
-
|
56050
|
-
# [Output Only]
|
56051
|
-
# Corresponds to the JSON property `sourceInfo`
|
56052
|
-
# @return [Google::Apis::ComputeAlpha::SnapshotGroupSourceInfo]
|
56053
|
-
attr_accessor :source_info
|
56054
|
-
|
56055
|
-
# Input field for the source instant snapshot group.
|
56056
|
-
# Corresponds to the JSON property `sourceInstantSnapshotGroup`
|
56057
|
-
# @return [String]
|
56058
|
-
attr_accessor :source_instant_snapshot_group
|
56059
|
-
|
56060
|
-
# [Output Only]
|
56061
|
-
# Corresponds to the JSON property `sourceInstantSnapshotGroupInfo`
|
56062
|
-
# @return [Google::Apis::ComputeAlpha::SnapshotGroupSourceInstantSnapshotGroupInfo]
|
56063
|
-
attr_accessor :source_instant_snapshot_group_info
|
56064
|
-
|
56065
|
-
# [Output Only]
|
56066
|
-
# Corresponds to the JSON property `status`
|
56067
|
-
# @return [String]
|
56068
|
-
attr_accessor :status
|
56069
|
-
|
56070
|
-
def initialize(**args)
|
56071
|
-
update!(**args)
|
56072
|
-
end
|
56073
|
-
|
56074
|
-
# Update properties of this object
|
56075
|
-
def update!(**args)
|
56076
|
-
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
56077
|
-
@description = args[:description] if args.key?(:description)
|
56078
|
-
@id = args[:id] if args.key?(:id)
|
56079
|
-
@kind = args[:kind] if args.key?(:kind)
|
56080
|
-
@name = args[:name] if args.key?(:name)
|
56081
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
56082
|
-
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
56083
|
-
@source_info = args[:source_info] if args.key?(:source_info)
|
56084
|
-
@source_instant_snapshot_group = args[:source_instant_snapshot_group] if args.key?(:source_instant_snapshot_group)
|
56085
|
-
@source_instant_snapshot_group_info = args[:source_instant_snapshot_group_info] if args.key?(:source_instant_snapshot_group_info)
|
56086
|
-
@status = args[:status] if args.key?(:status)
|
56087
|
-
end
|
56088
|
-
end
|
56089
|
-
|
56090
|
-
#
|
56091
|
-
class SnapshotGroupParameters
|
56092
|
-
include Google::Apis::Core::Hashable
|
56093
|
-
|
56094
|
-
# URLs of the zones where disks should be replicated to. Only applicable for
|
56095
|
-
# regional resources.
|
56096
|
-
# Corresponds to the JSON property `replicaZones`
|
56097
|
-
# @return [Array<String>]
|
56098
|
-
attr_accessor :replica_zones
|
56099
|
-
|
56100
|
-
# The source snapshot group used to create disks. You can provide this as a
|
56101
|
-
# partial or full URL to the resource. For example, the following are valid
|
56102
|
-
# values: - https://www.googleapis.com/compute/v1/projects/project /global/
|
56103
|
-
# snapshotGroups/snapshotGroup - projects/project/global/snapshotGroups/
|
56104
|
-
# snapshotGroup - global/snapshotGroups/snapshotGroup
|
56105
|
-
# Corresponds to the JSON property `sourceSnapshotGroup`
|
56106
|
-
# @return [String]
|
56107
|
-
attr_accessor :source_snapshot_group
|
56108
|
-
|
56109
|
-
# URL of the disk type resource describing which disk type to use to create
|
56110
|
-
# disks. Provide this when creating the disk. For example: projects/project /
|
56111
|
-
# zones/zone/diskTypes/pd-ssd . See Persistent disk types.
|
56112
|
-
# Corresponds to the JSON property `type`
|
56113
|
-
# @return [String]
|
56114
|
-
attr_accessor :type
|
56115
|
-
|
56116
|
-
def initialize(**args)
|
56117
|
-
update!(**args)
|
56118
|
-
end
|
56119
|
-
|
56120
|
-
# Update properties of this object
|
56121
|
-
def update!(**args)
|
56122
|
-
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
56123
|
-
@source_snapshot_group = args[:source_snapshot_group] if args.key?(:source_snapshot_group)
|
56124
|
-
@type = args[:type] if args.key?(:type)
|
56125
|
-
end
|
56126
|
-
end
|
56127
|
-
|
56128
|
-
#
|
56129
|
-
class SnapshotGroupSourceInfo
|
56130
|
-
include Google::Apis::Core::Hashable
|
56131
|
-
|
56132
|
-
#
|
56133
|
-
# Corresponds to the JSON property `consistencyGroup`
|
56134
|
-
# @return [String]
|
56135
|
-
attr_accessor :consistency_group
|
56136
|
-
|
56137
|
-
#
|
56138
|
-
# Corresponds to the JSON property `consistencyGroupId`
|
56139
|
-
# @return [String]
|
56140
|
-
attr_accessor :consistency_group_id
|
56141
|
-
|
56142
|
-
def initialize(**args)
|
56143
|
-
update!(**args)
|
56144
|
-
end
|
56145
|
-
|
56146
|
-
# Update properties of this object
|
56147
|
-
def update!(**args)
|
56148
|
-
@consistency_group = args[:consistency_group] if args.key?(:consistency_group)
|
56149
|
-
@consistency_group_id = args[:consistency_group_id] if args.key?(:consistency_group_id)
|
56150
|
-
end
|
56151
|
-
end
|
56152
|
-
|
56153
|
-
#
|
56154
|
-
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
|
56155
57602
|
include Google::Apis::Core::Hashable
|
56156
57603
|
|
56157
|
-
#
|
56158
|
-
#
|
56159
|
-
#
|
56160
|
-
|
56161
|
-
|
56162
|
-
#
|
56163
|
-
|
56164
|
-
# @return [String]
|
56165
|
-
attr_accessor :instant_snapshot_group_id
|
56166
|
-
|
56167
|
-
def initialize(**args)
|
56168
|
-
update!(**args)
|
56169
|
-
end
|
56170
|
-
|
56171
|
-
# Update properties of this object
|
56172
|
-
def update!(**args)
|
56173
|
-
@instant_snapshot_group = args[:instant_snapshot_group] if args.key?(:instant_snapshot_group)
|
56174
|
-
@instant_snapshot_group_id = args[:instant_snapshot_group_id] if args.key?(:instant_snapshot_group_id)
|
56175
|
-
end
|
56176
|
-
end
|
56177
|
-
|
56178
|
-
# Contains a list of Snapshot resources.
|
56179
|
-
class SnapshotList
|
56180
|
-
include Google::Apis::Core::Hashable
|
56181
|
-
|
56182
|
-
# [Output Only] Unique identifier for the resource; defined by the server.
|
56183
|
-
# Corresponds to the JSON property `id`
|
56184
|
-
# @return [String]
|
56185
|
-
attr_accessor :id
|
56186
|
-
|
56187
|
-
# A list of Snapshot resources.
|
56188
|
-
# Corresponds to the JSON property `items`
|
56189
|
-
# @return [Array<Google::Apis::ComputeAlpha::Snapshot>]
|
56190
|
-
attr_accessor :items
|
56191
|
-
|
56192
|
-
# Type of resource.
|
56193
|
-
# Corresponds to the JSON property `kind`
|
56194
|
-
# @return [String]
|
56195
|
-
attr_accessor :kind
|
56196
|
-
|
56197
|
-
# [Output Only] This token allows you to get the next page of results for list
|
56198
|
-
# requests. If the number of results is larger than maxResults, use the
|
56199
|
-
# nextPageToken as a value for the query parameter pageToken in the next list
|
56200
|
-
# request. Subsequent list requests will have their own nextPageToken to
|
56201
|
-
# continue paging through the results.
|
56202
|
-
# Corresponds to the JSON property `nextPageToken`
|
56203
|
-
# @return [String]
|
56204
|
-
attr_accessor :next_page_token
|
56205
|
-
|
56206
|
-
# [Output Only] Server-defined URL for this resource.
|
56207
|
-
# Corresponds to the JSON property `selfLink`
|
56208
|
-
# @return [String]
|
56209
|
-
attr_accessor :self_link
|
56210
|
-
|
56211
|
-
# [Output Only] Informational warning message.
|
56212
|
-
# Corresponds to the JSON property `warning`
|
56213
|
-
# @return [Google::Apis::ComputeAlpha::SnapshotList::Warning]
|
56214
|
-
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
|
56215
57611
|
|
56216
57612
|
def initialize(**args)
|
56217
57613
|
update!(**args)
|
@@ -56219,76 +57615,7 @@ module Google
|
|
56219
57615
|
|
56220
57616
|
# Update properties of this object
|
56221
57617
|
def update!(**args)
|
56222
|
-
@
|
56223
|
-
@items = args[:items] if args.key?(:items)
|
56224
|
-
@kind = args[:kind] if args.key?(:kind)
|
56225
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
56226
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
56227
|
-
@warning = args[:warning] if args.key?(:warning)
|
56228
|
-
end
|
56229
|
-
|
56230
|
-
# [Output Only] Informational warning message.
|
56231
|
-
class Warning
|
56232
|
-
include Google::Apis::Core::Hashable
|
56233
|
-
|
56234
|
-
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
56235
|
-
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
56236
|
-
# Corresponds to the JSON property `code`
|
56237
|
-
# @return [String]
|
56238
|
-
attr_accessor :code
|
56239
|
-
|
56240
|
-
# [Output Only] Metadata about this warning in key: value format. For example: "
|
56241
|
-
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
56242
|
-
# Corresponds to the JSON property `data`
|
56243
|
-
# @return [Array<Google::Apis::ComputeAlpha::SnapshotList::Warning::Datum>]
|
56244
|
-
attr_accessor :data
|
56245
|
-
|
56246
|
-
# [Output Only] A human-readable description of the warning code.
|
56247
|
-
# Corresponds to the JSON property `message`
|
56248
|
-
# @return [String]
|
56249
|
-
attr_accessor :message
|
56250
|
-
|
56251
|
-
def initialize(**args)
|
56252
|
-
update!(**args)
|
56253
|
-
end
|
56254
|
-
|
56255
|
-
# Update properties of this object
|
56256
|
-
def update!(**args)
|
56257
|
-
@code = args[:code] if args.key?(:code)
|
56258
|
-
@data = args[:data] if args.key?(:data)
|
56259
|
-
@message = args[:message] if args.key?(:message)
|
56260
|
-
end
|
56261
|
-
|
56262
|
-
#
|
56263
|
-
class Datum
|
56264
|
-
include Google::Apis::Core::Hashable
|
56265
|
-
|
56266
|
-
# [Output Only] A key that provides more detail on the warning being returned.
|
56267
|
-
# For example, for warnings where there are no results in a list request for a
|
56268
|
-
# particular zone, this key might be scope and the key value might be the zone
|
56269
|
-
# name. Other examples might be a key indicating a deprecated resource and a
|
56270
|
-
# suggested replacement, or a warning about invalid network settings (for
|
56271
|
-
# example, if an instance attempts to perform IP forwarding but is not enabled
|
56272
|
-
# for IP forwarding).
|
56273
|
-
# Corresponds to the JSON property `key`
|
56274
|
-
# @return [String]
|
56275
|
-
attr_accessor :key
|
56276
|
-
|
56277
|
-
# [Output Only] A warning data value corresponding to the key.
|
56278
|
-
# Corresponds to the JSON property `value`
|
56279
|
-
# @return [String]
|
56280
|
-
attr_accessor :value
|
56281
|
-
|
56282
|
-
def initialize(**args)
|
56283
|
-
update!(**args)
|
56284
|
-
end
|
56285
|
-
|
56286
|
-
# Update properties of this object
|
56287
|
-
def update!(**args)
|
56288
|
-
@key = args[:key] if args.key?(:key)
|
56289
|
-
@value = args[:value] if args.key?(:value)
|
56290
|
-
end
|
56291
|
-
end
|
57618
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
56292
57619
|
end
|
56293
57620
|
end
|
56294
57621
|
|
@@ -67281,6 +68608,12 @@ module Google
|
|
67281
68608
|
# @return [String]
|
67282
68609
|
attr_accessor :name
|
67283
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
|
+
|
67284
68617
|
# [Output Only] Server-defined URL for the resource.
|
67285
68618
|
# Corresponds to the JSON property `selfLink`
|
67286
68619
|
# @return [String]
|
@@ -67338,6 +68671,7 @@ module Google
|
|
67338
68671
|
@id = args[:id] if args.key?(:id)
|
67339
68672
|
@kind = args[:kind] if args.key?(:kind)
|
67340
68673
|
@name = args[:name] if args.key?(:name)
|
68674
|
+
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
67341
68675
|
@self_link = args[:self_link] if args.key?(:self_link)
|
67342
68676
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
67343
68677
|
@service_level = args[:service_level] if args.key?(:service_level)
|