google-apis-compute_alpha 0.68.0 → 0.69.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b4ac4478dbaa059c5561eb42e8c7cc20ade8a128f361a6325aa529a5139e833
|
4
|
+
data.tar.gz: 8508480abe392057fcc1795d81177c0261bb1b999f7119a12f015f89e19e80e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04621f0ba4bcc57df7f2e0f56d284d94426c2c67c9a0654b65f4f73cdfa611f8904313f58d74caf068d805ed70513ec6272455f4b44df362a5e8e372819d82ac
|
7
|
+
data.tar.gz: 781391b7cabe316d2a2fe7364071df6482fe0d6510771be1d48ce4e4b5be90fabf00b16f819b6decaf170e2ac5622f9d53ccad07e49278b5bf4af9dd66f4f933
|
data/CHANGELOG.md
CHANGED
@@ -3078,6 +3078,16 @@ module Google
|
|
3078
3078
|
# @return [Float]
|
3079
3079
|
attr_accessor :max_utilization
|
3080
3080
|
|
3081
|
+
# This field indicates whether this backend should be fully utilized before
|
3082
|
+
# sending traffic to backends with default preference. The possible values are: -
|
3083
|
+
# PREFERRED: Backends with this preference level will be filled up to their
|
3084
|
+
# capacity limits first, based on RTT. - DEFAULT: If preferred backends don't
|
3085
|
+
# have enough capacity, backends in this layer would be used and traffic would
|
3086
|
+
# be assigned based on the load balancing algorithm you use. This is the default
|
3087
|
+
# Corresponds to the JSON property `preference`
|
3088
|
+
# @return [String]
|
3089
|
+
attr_accessor :preference
|
3090
|
+
|
3081
3091
|
def initialize(**args)
|
3082
3092
|
update!(**args)
|
3083
3093
|
end
|
@@ -3096,6 +3106,7 @@ module Google
|
|
3096
3106
|
@max_rate_per_endpoint = args[:max_rate_per_endpoint] if args.key?(:max_rate_per_endpoint)
|
3097
3107
|
@max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance)
|
3098
3108
|
@max_utilization = args[:max_utilization] if args.key?(:max_utilization)
|
3109
|
+
@preference = args[:preference] if args.key?(:preference)
|
3099
3110
|
end
|
3100
3111
|
end
|
3101
3112
|
|
@@ -7722,6 +7733,61 @@ module Google
|
|
7722
7733
|
end
|
7723
7734
|
end
|
7724
7735
|
|
7736
|
+
#
|
7737
|
+
class DiskSettings
|
7738
|
+
include Google::Apis::Core::Hashable
|
7739
|
+
|
7740
|
+
# An optional parameter for storing the default resource policies that will be
|
7741
|
+
# used for the Disks created in the given scope. The Key is a string type,
|
7742
|
+
# provided by customers to uniquely identify the default Resource Policy entry.
|
7743
|
+
# The Value is a Default ResourcePolicyDetails Object used to represent the
|
7744
|
+
# detailed information of the Resource Policy entry.
|
7745
|
+
# Corresponds to the JSON property `defaultResourcePolicies`
|
7746
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::DiskSettingsResourcePolicyDetails>]
|
7747
|
+
attr_accessor :default_resource_policies
|
7748
|
+
|
7749
|
+
def initialize(**args)
|
7750
|
+
update!(**args)
|
7751
|
+
end
|
7752
|
+
|
7753
|
+
# Update properties of this object
|
7754
|
+
def update!(**args)
|
7755
|
+
@default_resource_policies = args[:default_resource_policies] if args.key?(:default_resource_policies)
|
7756
|
+
end
|
7757
|
+
end
|
7758
|
+
|
7759
|
+
# This is the object for storing the detail information about the Resource
|
7760
|
+
# Policy that will be set as default ones for the Disks that is using the
|
7761
|
+
# DiskSettings. It contains: - one target Resource Policy referenced by its
|
7762
|
+
# Fully-Qualified URL, - [output only] Disk Types that will be excluded from
|
7763
|
+
# using this Resource Policy, - Other filtering support (e.g. Label filtering)
|
7764
|
+
# for Default Resource Policy can be added here as well
|
7765
|
+
class DiskSettingsResourcePolicyDetails
|
7766
|
+
include Google::Apis::Core::Hashable
|
7767
|
+
|
7768
|
+
# [Output Only] A list of Disk Types that will be excluded from applying the
|
7769
|
+
# Resource Policy referenced here. If absent, Disks created in any DiskType can
|
7770
|
+
# use the referenced default Resource Policy.
|
7771
|
+
# Corresponds to the JSON property `excludedDiskTypes`
|
7772
|
+
# @return [Array<String>]
|
7773
|
+
attr_accessor :excluded_disk_types
|
7774
|
+
|
7775
|
+
# The target Resource Policies identified by their Fully-Qualified URL.
|
7776
|
+
# Corresponds to the JSON property `resourcePolicy`
|
7777
|
+
# @return [String]
|
7778
|
+
attr_accessor :resource_policy
|
7779
|
+
|
7780
|
+
def initialize(**args)
|
7781
|
+
update!(**args)
|
7782
|
+
end
|
7783
|
+
|
7784
|
+
# Update properties of this object
|
7785
|
+
def update!(**args)
|
7786
|
+
@excluded_disk_types = args[:excluded_disk_types] if args.key?(:excluded_disk_types)
|
7787
|
+
@resource_policy = args[:resource_policy] if args.key?(:resource_policy)
|
7788
|
+
end
|
7789
|
+
end
|
7790
|
+
|
7725
7791
|
# Represents a Disk Type resource. Google Compute Engine has two Disk Type
|
7726
7792
|
# resources: * [Regional](/compute/docs/reference/rest/alpha/regionDiskTypes) * [
|
7727
7793
|
# Zonal](/compute/docs/reference/rest/alpha/diskTypes) You can choose from a
|
@@ -8324,27 +8390,6 @@ module Google
|
|
8324
8390
|
end
|
8325
8391
|
end
|
8326
8392
|
|
8327
|
-
#
|
8328
|
-
class DisksStopAsyncReplicationRequest
|
8329
|
-
include Google::Apis::Core::Hashable
|
8330
|
-
|
8331
|
-
# [Deprecated] The secondary disk to stop asynchronous replication to. This
|
8332
|
-
# field will not be included in the beta or v1 APIs and will be removed from the
|
8333
|
-
# alpha API in the near future.
|
8334
|
-
# Corresponds to the JSON property `asyncSecondaryDisk`
|
8335
|
-
# @return [String]
|
8336
|
-
attr_accessor :async_secondary_disk
|
8337
|
-
|
8338
|
-
def initialize(**args)
|
8339
|
-
update!(**args)
|
8340
|
-
end
|
8341
|
-
|
8342
|
-
# Update properties of this object
|
8343
|
-
def update!(**args)
|
8344
|
-
@async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
|
8345
|
-
end
|
8346
|
-
end
|
8347
|
-
|
8348
8393
|
# A transient resource used in compute.disks.stopGroupAsyncReplication and
|
8349
8394
|
# compute.regionDisks.stopGroupAsyncReplication. It is only used to process
|
8350
8395
|
# requests and is not persisted.
|
@@ -26229,6 +26274,13 @@ module Google
|
|
26229
26274
|
# @return [String]
|
26230
26275
|
attr_accessor :ip_address
|
26231
26276
|
|
26277
|
+
# The IPv6 address assigned to the producer instance network interface. This is
|
26278
|
+
# only assigned when the stack types of both the instance network interface and
|
26279
|
+
# the consumer subnet are IPv4_IPv6.
|
26280
|
+
# Corresponds to the JSON property `ipv6Address`
|
26281
|
+
# @return [String]
|
26282
|
+
attr_accessor :ipv6_address
|
26283
|
+
|
26232
26284
|
# The project id or number of the interface to which the IP was assigned.
|
26233
26285
|
# Corresponds to the JSON property `projectIdOrNum`
|
26234
26286
|
# @return [String]
|
@@ -26257,6 +26309,7 @@ module Google
|
|
26257
26309
|
# Update properties of this object
|
26258
26310
|
def update!(**args)
|
26259
26311
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
26312
|
+
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
26260
26313
|
@project_id_or_num = args[:project_id_or_num] if args.key?(:project_id_or_num)
|
26261
26314
|
@secondary_ip_cidr_ranges = args[:secondary_ip_cidr_ranges] if args.key?(:secondary_ip_cidr_ranges)
|
26262
26315
|
@status = args[:status] if args.key?(:status)
|
@@ -32356,6 +32409,37 @@ module Google
|
|
32356
32409
|
end
|
32357
32410
|
end
|
32358
32411
|
|
32412
|
+
# Model definition of partner_metadata field. To be used in dedicated Partner
|
32413
|
+
# Metadata methods and to be inlined in the Instance and InstanceTemplate
|
32414
|
+
# resources.
|
32415
|
+
class PartnerMetadata
|
32416
|
+
include Google::Apis::Core::Hashable
|
32417
|
+
|
32418
|
+
# Instance-level hash to be used for optimistic locking.
|
32419
|
+
# Corresponds to the JSON property `fingerprint`
|
32420
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
32421
|
+
# @return [String]
|
32422
|
+
attr_accessor :fingerprint
|
32423
|
+
|
32424
|
+
# Partner Metadata assigned to the instance. A map from a subdomain to entries
|
32425
|
+
# map. Subdomain name must be compliant with RFC1035 definition. The total size
|
32426
|
+
# of all keys and values must be less than 2MB. Subdomain 'metadata.compute.
|
32427
|
+
# googleapis.com' is reserverd for instance's metadata.
|
32428
|
+
# Corresponds to the JSON property `partnerMetadata`
|
32429
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::StructuredEntries>]
|
32430
|
+
attr_accessor :partner_metadata
|
32431
|
+
|
32432
|
+
def initialize(**args)
|
32433
|
+
update!(**args)
|
32434
|
+
end
|
32435
|
+
|
32436
|
+
# Update properties of this object
|
32437
|
+
def update!(**args)
|
32438
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
32439
|
+
@partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
|
32440
|
+
end
|
32441
|
+
end
|
32442
|
+
|
32359
32443
|
# A matcher for the path portion of the URL. The BackendService from the longest-
|
32360
32444
|
# matched rule will serve the URL. If no rule was matched, the default service
|
32361
32445
|
# is used.
|
@@ -34743,6 +34827,12 @@ module Google
|
|
34743
34827
|
# @return [Hash<String,String>]
|
34744
34828
|
attr_accessor :dimensions
|
34745
34829
|
|
34830
|
+
# Future quota limit being rolled out. The limit's unit depends on the quota
|
34831
|
+
# type or metric.
|
34832
|
+
# Corresponds to the JSON property `futureLimit`
|
34833
|
+
# @return [Float]
|
34834
|
+
attr_accessor :future_limit
|
34835
|
+
|
34746
34836
|
# Current effective quota limit. The limit's unit depends on the quota type or
|
34747
34837
|
# metric.
|
34748
34838
|
# Corresponds to the JSON property `limit`
|
@@ -34766,6 +34856,7 @@ module Google
|
|
34766
34856
|
# Update properties of this object
|
34767
34857
|
def update!(**args)
|
34768
34858
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
34859
|
+
@future_limit = args[:future_limit] if args.key?(:future_limit)
|
34769
34860
|
@limit = args[:limit] if args.key?(:limit)
|
34770
34861
|
@limit_name = args[:limit_name] if args.key?(:limit_name)
|
34771
34862
|
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
@@ -35296,27 +35387,6 @@ module Google
|
|
35296
35387
|
end
|
35297
35388
|
end
|
35298
35389
|
|
35299
|
-
#
|
35300
|
-
class RegionDisksStopAsyncReplicationRequest
|
35301
|
-
include Google::Apis::Core::Hashable
|
35302
|
-
|
35303
|
-
# [Deprecated] The secondary disk to stop asynchronous replication to. This
|
35304
|
-
# field will not be included in the beta or v1 APIs and will be removed from the
|
35305
|
-
# alpha API in the near future.
|
35306
|
-
# Corresponds to the JSON property `asyncSecondaryDisk`
|
35307
|
-
# @return [String]
|
35308
|
-
attr_accessor :async_secondary_disk
|
35309
|
-
|
35310
|
-
def initialize(**args)
|
35311
|
-
update!(**args)
|
35312
|
-
end
|
35313
|
-
|
35314
|
-
# Update properties of this object
|
35315
|
-
def update!(**args)
|
35316
|
-
@async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
|
35317
|
-
end
|
35318
|
-
end
|
35319
|
-
|
35320
35390
|
# Contains a list of InstanceGroup resources.
|
35321
35391
|
class RegionInstanceGroupList
|
35322
35392
|
include Google::Apis::Core::Hashable
|
@@ -39153,6 +39223,14 @@ module Google
|
|
39153
39223
|
# @return [Fixnum]
|
39154
39224
|
attr_accessor :asn
|
39155
39225
|
|
39226
|
+
# Explicitly specifies a range of valid BGP Identifiers for this Router. It is
|
39227
|
+
# provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /
|
39228
|
+
# 30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4
|
39229
|
+
# BGP session ranges. Other vendors commonly call this "router ID".
|
39230
|
+
# Corresponds to the JSON property `identifierRange`
|
39231
|
+
# @return [String]
|
39232
|
+
attr_accessor :identifier_range
|
39233
|
+
|
39156
39234
|
# The interval in seconds between BGP keepalive messages that are sent to the
|
39157
39235
|
# peer. Hold time is three times the interval at which keepalive messages are
|
39158
39236
|
# sent, and the hold time is the maximum number of seconds allowed to elapse
|
@@ -39174,6 +39252,7 @@ module Google
|
|
39174
39252
|
@advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
|
39175
39253
|
@advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
|
39176
39254
|
@asn = args[:asn] if args.key?(:asn)
|
39255
|
+
@identifier_range = args[:identifier_range] if args.key?(:identifier_range)
|
39177
39256
|
@keepalive_interval = args[:keepalive_interval] if args.key?(:keepalive_interval)
|
39178
39257
|
end
|
39179
39258
|
end
|
@@ -39241,6 +39320,13 @@ module Google
|
|
39241
39320
|
# @return [String]
|
39242
39321
|
attr_accessor :enable
|
39243
39322
|
|
39323
|
+
# Enable IPv4 traffic over BGP Peer. It is enabled by default if the
|
39324
|
+
# peerIpAddress is version 4.
|
39325
|
+
# Corresponds to the JSON property `enableIpv4`
|
39326
|
+
# @return [Boolean]
|
39327
|
+
attr_accessor :enable_ipv4
|
39328
|
+
alias_method :enable_ipv4?, :enable_ipv4
|
39329
|
+
|
39244
39330
|
# Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
|
39245
39331
|
# Corresponds to the JSON property `enableIpv6`
|
39246
39332
|
# @return [Boolean]
|
@@ -39258,6 +39344,11 @@ module Google
|
|
39258
39344
|
# @return [String]
|
39259
39345
|
attr_accessor :ip_address
|
39260
39346
|
|
39347
|
+
# IPv4 address of the interface inside Google Cloud Platform.
|
39348
|
+
# Corresponds to the JSON property `ipv4NexthopAddress`
|
39349
|
+
# @return [String]
|
39350
|
+
attr_accessor :ipv4_nexthop_address
|
39351
|
+
|
39261
39352
|
# IPv6 address of the interface inside Google Cloud Platform.
|
39262
39353
|
# Corresponds to the JSON property `ipv6NexthopAddress`
|
39263
39354
|
# @return [String]
|
@@ -39302,6 +39393,11 @@ module Google
|
|
39302
39393
|
# @return [String]
|
39303
39394
|
attr_accessor :peer_ip_address
|
39304
39395
|
|
39396
|
+
# IPv4 address of the BGP interface outside Google Cloud Platform.
|
39397
|
+
# Corresponds to the JSON property `peerIpv4NexthopAddress`
|
39398
|
+
# @return [String]
|
39399
|
+
attr_accessor :peer_ipv4_nexthop_address
|
39400
|
+
|
39305
39401
|
# IPv6 address of the BGP interface outside Google Cloud Platform.
|
39306
39402
|
# Corresponds to the JSON property `peerIpv6NexthopAddress`
|
39307
39403
|
# @return [String]
|
@@ -39329,15 +39425,18 @@ module Google
|
|
39329
39425
|
@custom_learned_ip_ranges = args[:custom_learned_ip_ranges] if args.key?(:custom_learned_ip_ranges)
|
39330
39426
|
@custom_learned_route_priority = args[:custom_learned_route_priority] if args.key?(:custom_learned_route_priority)
|
39331
39427
|
@enable = args[:enable] if args.key?(:enable)
|
39428
|
+
@enable_ipv4 = args[:enable_ipv4] if args.key?(:enable_ipv4)
|
39332
39429
|
@enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
|
39333
39430
|
@interface_name = args[:interface_name] if args.key?(:interface_name)
|
39334
39431
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
39432
|
+
@ipv4_nexthop_address = args[:ipv4_nexthop_address] if args.key?(:ipv4_nexthop_address)
|
39335
39433
|
@ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
|
39336
39434
|
@management_type = args[:management_type] if args.key?(:management_type)
|
39337
39435
|
@md5_authentication_key_name = args[:md5_authentication_key_name] if args.key?(:md5_authentication_key_name)
|
39338
39436
|
@name = args[:name] if args.key?(:name)
|
39339
39437
|
@peer_asn = args[:peer_asn] if args.key?(:peer_asn)
|
39340
39438
|
@peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
|
39439
|
+
@peer_ipv4_nexthop_address = args[:peer_ipv4_nexthop_address] if args.key?(:peer_ipv4_nexthop_address)
|
39341
39440
|
@peer_ipv6_nexthop_address = args[:peer_ipv6_nexthop_address] if args.key?(:peer_ipv6_nexthop_address)
|
39342
39441
|
@router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
|
39343
39442
|
end
|
@@ -39461,6 +39560,11 @@ module Google
|
|
39461
39560
|
# @return [String]
|
39462
39561
|
attr_accessor :ip_range
|
39463
39562
|
|
39563
|
+
# IP version of this interface.
|
39564
|
+
# Corresponds to the JSON property `ipVersion`
|
39565
|
+
# @return [String]
|
39566
|
+
attr_accessor :ip_version
|
39567
|
+
|
39464
39568
|
# URI of the linked Interconnect attachment. It must be in the same region as
|
39465
39569
|
# the router. Each interface can have one linked resource, which can be a VPN
|
39466
39570
|
# tunnel, an Interconnect attachment, or a virtual machine instance.
|
@@ -39531,6 +39635,7 @@ module Google
|
|
39531
39635
|
# Update properties of this object
|
39532
39636
|
def update!(**args)
|
39533
39637
|
@ip_range = args[:ip_range] if args.key?(:ip_range)
|
39638
|
+
@ip_version = args[:ip_version] if args.key?(:ip_version)
|
39534
39639
|
@linked_interconnect_attachment = args[:linked_interconnect_attachment] if args.key?(:linked_interconnect_attachment)
|
39535
39640
|
@linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
|
39536
39641
|
@management_type = args[:management_type] if args.key?(:management_type)
|
@@ -44205,6 +44310,11 @@ module Google
|
|
44205
44310
|
# @return [String]
|
44206
44311
|
attr_accessor :source_instant_snapshot
|
44207
44312
|
|
44313
|
+
# Customer provided encryption key when creating Snapshot from Instant Snapshot.
|
44314
|
+
# Corresponds to the JSON property `sourceInstantSnapshotEncryptionKey`
|
44315
|
+
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
44316
|
+
attr_accessor :source_instant_snapshot_encryption_key
|
44317
|
+
|
44208
44318
|
# [Output Only] The unique ID of the instant snapshot used to create this
|
44209
44319
|
# snapshot. This value identifies the exact instant snapshot that was used to
|
44210
44320
|
# create this persistent disk. For example, if you created the persistent disk
|
@@ -44293,6 +44403,7 @@ module Google
|
|
44293
44403
|
@source_disk_for_recovery_checkpoint = args[:source_disk_for_recovery_checkpoint] if args.key?(:source_disk_for_recovery_checkpoint)
|
44294
44404
|
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
|
44295
44405
|
@source_instant_snapshot = args[:source_instant_snapshot] if args.key?(:source_instant_snapshot)
|
44406
|
+
@source_instant_snapshot_encryption_key = args[:source_instant_snapshot_encryption_key] if args.key?(:source_instant_snapshot_encryption_key)
|
44296
44407
|
@source_instant_snapshot_id = args[:source_instant_snapshot_id] if args.key?(:source_instant_snapshot_id)
|
44297
44408
|
@source_snapshot_schedule_policy = args[:source_snapshot_schedule_policy] if args.key?(:source_snapshot_schedule_policy)
|
44298
44409
|
@source_snapshot_schedule_policy_id = args[:source_snapshot_schedule_policy_id] if args.key?(:source_snapshot_schedule_policy_id)
|
@@ -45887,6 +45998,12 @@ module Google
|
|
45887
45998
|
# @return [Fixnum]
|
45888
45999
|
attr_accessor :provisioned_iops
|
45889
46000
|
|
46001
|
+
# Provisioned throughput of the storage pool. Only relevant if the storage pool
|
46002
|
+
# type is hyperdisk-balanced or hyperdisk-throughput.
|
46003
|
+
# Corresponds to the JSON property `provisionedThroughput`
|
46004
|
+
# @return [Fixnum]
|
46005
|
+
attr_accessor :provisioned_throughput
|
46006
|
+
|
45890
46007
|
# [Output Only] Contains output only fields.
|
45891
46008
|
# Corresponds to the JSON property `resourceStatus`
|
45892
46009
|
# @return [Google::Apis::ComputeAlpha::StoragePoolResourceStatus]
|
@@ -45914,6 +46031,16 @@ module Google
|
|
45914
46031
|
# @return [String]
|
45915
46032
|
attr_accessor :state
|
45916
46033
|
|
46034
|
+
# [Output Only] Contains output only fields.
|
46035
|
+
# Corresponds to the JSON property `status`
|
46036
|
+
# @return [Google::Apis::ComputeAlpha::StoragePoolResourceStatus]
|
46037
|
+
attr_accessor :status
|
46038
|
+
|
46039
|
+
# Type of the storage pool.
|
46040
|
+
# Corresponds to the JSON property `storagePoolType`
|
46041
|
+
# @return [String]
|
46042
|
+
attr_accessor :storage_pool_type
|
46043
|
+
|
45917
46044
|
# Type of the storage pool
|
45918
46045
|
# Corresponds to the JSON property `type`
|
45919
46046
|
# @return [String]
|
@@ -45940,11 +46067,14 @@ module Google
|
|
45940
46067
|
@labels = args[:labels] if args.key?(:labels)
|
45941
46068
|
@name = args[:name] if args.key?(:name)
|
45942
46069
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
46070
|
+
@provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
|
45943
46071
|
@resource_status = args[:resource_status] if args.key?(:resource_status)
|
45944
46072
|
@self_link = args[:self_link] if args.key?(:self_link)
|
45945
46073
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
45946
46074
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
45947
46075
|
@state = args[:state] if args.key?(:state)
|
46076
|
+
@status = args[:status] if args.key?(:status)
|
46077
|
+
@storage_pool_type = args[:storage_pool_type] if args.key?(:storage_pool_type)
|
45948
46078
|
@type = args[:type] if args.key?(:type)
|
45949
46079
|
@zone = args[:zone] if args.key?(:zone)
|
45950
46080
|
end
|
@@ -46080,6 +46210,86 @@ module Google
|
|
46080
46210
|
end
|
46081
46211
|
end
|
46082
46212
|
|
46213
|
+
#
|
46214
|
+
class StoragePoolDisk
|
46215
|
+
include Google::Apis::Core::Hashable
|
46216
|
+
|
46217
|
+
# [Output Only] Instances this disk is attached to.
|
46218
|
+
# Corresponds to the JSON property `attachedInstances`
|
46219
|
+
# @return [Array<String>]
|
46220
|
+
attr_accessor :attached_instances
|
46221
|
+
|
46222
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
46223
|
+
# Corresponds to the JSON property `creationTimestamp`
|
46224
|
+
# @return [String]
|
46225
|
+
attr_accessor :creation_timestamp
|
46226
|
+
|
46227
|
+
# [Output Only] The URL of the disk.
|
46228
|
+
# Corresponds to the JSON property `disk`
|
46229
|
+
# @return [String]
|
46230
|
+
attr_accessor :disk
|
46231
|
+
|
46232
|
+
# [Output Only] The name of the disk.
|
46233
|
+
# Corresponds to the JSON property `name`
|
46234
|
+
# @return [String]
|
46235
|
+
attr_accessor :name
|
46236
|
+
|
46237
|
+
# [Output Only] The number of IOPS provisioned for the disk.
|
46238
|
+
# Corresponds to the JSON property `provisionedIops`
|
46239
|
+
# @return [Fixnum]
|
46240
|
+
attr_accessor :provisioned_iops
|
46241
|
+
|
46242
|
+
# [Output Only] The throughput provisioned for the disk.
|
46243
|
+
# Corresponds to the JSON property `provisionedThroughput`
|
46244
|
+
# @return [Fixnum]
|
46245
|
+
attr_accessor :provisioned_throughput
|
46246
|
+
|
46247
|
+
# [Output Only] Resource policies applied to disk for automatic snapshot
|
46248
|
+
# creations.
|
46249
|
+
# Corresponds to the JSON property `resourcePolicies`
|
46250
|
+
# @return [Array<String>]
|
46251
|
+
attr_accessor :resource_policies
|
46252
|
+
|
46253
|
+
# [Output Only] The disk size, in GB.
|
46254
|
+
# Corresponds to the JSON property `sizeGb`
|
46255
|
+
# @return [Fixnum]
|
46256
|
+
attr_accessor :size_gb
|
46257
|
+
|
46258
|
+
# [Output Only] The disk status.
|
46259
|
+
# Corresponds to the JSON property `status`
|
46260
|
+
# @return [String]
|
46261
|
+
attr_accessor :status
|
46262
|
+
|
46263
|
+
# [Output Only] The disk type.
|
46264
|
+
# Corresponds to the JSON property `type`
|
46265
|
+
# @return [String]
|
46266
|
+
attr_accessor :type
|
46267
|
+
|
46268
|
+
# [Output Only] Amount of disk space used.
|
46269
|
+
# Corresponds to the JSON property `usedBytes`
|
46270
|
+
# @return [Fixnum]
|
46271
|
+
attr_accessor :used_bytes
|
46272
|
+
|
46273
|
+
def initialize(**args)
|
46274
|
+
update!(**args)
|
46275
|
+
end
|
46276
|
+
|
46277
|
+
# Update properties of this object
|
46278
|
+
def update!(**args)
|
46279
|
+
@attached_instances = args[:attached_instances] if args.key?(:attached_instances)
|
46280
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
46281
|
+
@disk = args[:disk] if args.key?(:disk)
|
46282
|
+
@name = args[:name] if args.key?(:name)
|
46283
|
+
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
46284
|
+
@provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
|
46285
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
46286
|
+
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
46287
|
+
@status = args[:status] if args.key?(:status)
|
46288
|
+
@type = args[:type] if args.key?(:type)
|
46289
|
+
@used_bytes = args[:used_bytes] if args.key?(:used_bytes)
|
46290
|
+
end
|
46291
|
+
end
|
46292
|
+
|
46083
46293
|
# A list of StoragePool resources.
|
46084
46294
|
class StoragePoolList
|
46085
46295
|
include Google::Apis::Core::Hashable
|
@@ -46211,6 +46421,137 @@ module Google
|
|
46211
46421
|
end
|
46212
46422
|
end
|
46213
46423
|
|
46424
|
+
#
|
46425
|
+
class StoragePoolListDisks
|
46426
|
+
include Google::Apis::Core::Hashable
|
46427
|
+
|
46428
|
+
#
|
46429
|
+
# Corresponds to the JSON property `etag`
|
46430
|
+
# @return [String]
|
46431
|
+
attr_accessor :etag
|
46432
|
+
|
46433
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
46434
|
+
# Corresponds to the JSON property `id`
|
46435
|
+
# @return [String]
|
46436
|
+
attr_accessor :id
|
46437
|
+
|
46438
|
+
# A list of StoragePoolDisk resources.
|
46439
|
+
# Corresponds to the JSON property `items`
|
46440
|
+
# @return [Array<Google::Apis::ComputeAlpha::StoragePoolDisk>]
|
46441
|
+
attr_accessor :items
|
46442
|
+
|
46443
|
+
# [Output Only] Type of resource. Always compute#storagePoolListDisks for lists
|
46444
|
+
# of disks in a storagePool.
|
46445
|
+
# Corresponds to the JSON property `kind`
|
46446
|
+
# @return [String]
|
46447
|
+
attr_accessor :kind
|
46448
|
+
|
46449
|
+
# [Output Only] This token allows you to get the next page of results for list
|
46450
|
+
# requests. If the number of results is larger than maxResults, use the
|
46451
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
46452
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
46453
|
+
# continue paging through the results.
|
46454
|
+
# Corresponds to the JSON property `nextPageToken`
|
46455
|
+
# @return [String]
|
46456
|
+
attr_accessor :next_page_token
|
46457
|
+
|
46458
|
+
# [Output Only] Server-defined URL for this resource.
|
46459
|
+
# Corresponds to the JSON property `selfLink`
|
46460
|
+
# @return [String]
|
46461
|
+
attr_accessor :self_link
|
46462
|
+
|
46463
|
+
# [Output Only] Unreachable resources. end_interface:
|
46464
|
+
# MixerListResponseWithEtagBuilder
|
46465
|
+
# Corresponds to the JSON property `unreachables`
|
46466
|
+
# @return [Array<String>]
|
46467
|
+
attr_accessor :unreachables
|
46468
|
+
|
46469
|
+
# [Output Only] Informational warning message.
|
46470
|
+
# Corresponds to the JSON property `warning`
|
46471
|
+
# @return [Google::Apis::ComputeAlpha::StoragePoolListDisks::Warning]
|
46472
|
+
attr_accessor :warning
|
46473
|
+
|
46474
|
+
def initialize(**args)
|
46475
|
+
update!(**args)
|
46476
|
+
end
|
46477
|
+
|
46478
|
+
# Update properties of this object
|
46479
|
+
def update!(**args)
|
46480
|
+
@etag = args[:etag] if args.key?(:etag)
|
46481
|
+
@id = args[:id] if args.key?(:id)
|
46482
|
+
@items = args[:items] if args.key?(:items)
|
46483
|
+
@kind = args[:kind] if args.key?(:kind)
|
46484
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
46485
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
46486
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
46487
|
+
@warning = args[:warning] if args.key?(:warning)
|
46488
|
+
end
|
46489
|
+
|
46490
|
+
# [Output Only] Informational warning message.
|
46491
|
+
class Warning
|
46492
|
+
include Google::Apis::Core::Hashable
|
46493
|
+
|
46494
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
46495
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
46496
|
+
# Corresponds to the JSON property `code`
|
46497
|
+
# @return [String]
|
46498
|
+
attr_accessor :code
|
46499
|
+
|
46500
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
46501
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
46502
|
+
# Corresponds to the JSON property `data`
|
46503
|
+
# @return [Array<Google::Apis::ComputeAlpha::StoragePoolListDisks::Warning::Datum>]
|
46504
|
+
attr_accessor :data
|
46505
|
+
|
46506
|
+
# [Output Only] A human-readable description of the warning code.
|
46507
|
+
# Corresponds to the JSON property `message`
|
46508
|
+
# @return [String]
|
46509
|
+
attr_accessor :message
|
46510
|
+
|
46511
|
+
def initialize(**args)
|
46512
|
+
update!(**args)
|
46513
|
+
end
|
46514
|
+
|
46515
|
+
# Update properties of this object
|
46516
|
+
def update!(**args)
|
46517
|
+
@code = args[:code] if args.key?(:code)
|
46518
|
+
@data = args[:data] if args.key?(:data)
|
46519
|
+
@message = args[:message] if args.key?(:message)
|
46520
|
+
end
|
46521
|
+
|
46522
|
+
#
|
46523
|
+
class Datum
|
46524
|
+
include Google::Apis::Core::Hashable
|
46525
|
+
|
46526
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
46527
|
+
# For example, for warnings where there are no results in a list request for a
|
46528
|
+
# particular zone, this key might be scope and the key value might be the zone
|
46529
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
46530
|
+
# suggested replacement, or a warning about invalid network settings (for
|
46531
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
46532
|
+
# for IP forwarding).
|
46533
|
+
# Corresponds to the JSON property `key`
|
46534
|
+
# @return [String]
|
46535
|
+
attr_accessor :key
|
46536
|
+
|
46537
|
+
# [Output Only] A warning data value corresponding to the key.
|
46538
|
+
# Corresponds to the JSON property `value`
|
46539
|
+
# @return [String]
|
46540
|
+
attr_accessor :value
|
46541
|
+
|
46542
|
+
def initialize(**args)
|
46543
|
+
update!(**args)
|
46544
|
+
end
|
46545
|
+
|
46546
|
+
# Update properties of this object
|
46547
|
+
def update!(**args)
|
46548
|
+
@key = args[:key] if args.key?(:key)
|
46549
|
+
@value = args[:value] if args.key?(:value)
|
46550
|
+
end
|
46551
|
+
end
|
46552
|
+
end
|
46553
|
+
end
|
46554
|
+
|
46214
46555
|
# [Output Only] Contains output only fields.
|
46215
46556
|
class StoragePoolResourceStatus
|
46216
46557
|
include Google::Apis::Core::Hashable
|
@@ -46360,6 +46701,26 @@ module Google
|
|
46360
46701
|
end
|
46361
46702
|
end
|
46362
46703
|
|
46704
|
+
#
|
46705
|
+
class StructuredEntries
|
46706
|
+
include Google::Apis::Core::Hashable
|
46707
|
+
|
46708
|
+
# Map of a partner metadata that belong to the same subdomain. It accepts any
|
46709
|
+
# value including google.protobuf.Struct.
|
46710
|
+
# Corresponds to the JSON property `entries`
|
46711
|
+
# @return [Hash<String,Object>]
|
46712
|
+
attr_accessor :entries
|
46713
|
+
|
46714
|
+
def initialize(**args)
|
46715
|
+
update!(**args)
|
46716
|
+
end
|
46717
|
+
|
46718
|
+
# Update properties of this object
|
46719
|
+
def update!(**args)
|
46720
|
+
@entries = args[:entries] if args.key?(:entries)
|
46721
|
+
end
|
46722
|
+
end
|
46723
|
+
|
46363
46724
|
# Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a
|
46364
46725
|
# logical partition of a Virtual Private Cloud network with one primary IP range
|
46365
46726
|
# and zero or more secondary IP ranges. For more information, read Virtual
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeAlpha
|
18
18
|
# Version of the google-apis-compute_alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.69.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230530"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|