google-apis-compute_alpha 0.77.0 → 0.78.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 +4 -0
- data/lib/google/apis/compute_alpha/classes.rb +506 -38
- data/lib/google/apis/compute_alpha/gem_version.rb +2 -2
- data/lib/google/apis/compute_alpha/representations.rb +184 -5
- data/lib/google/apis/compute_alpha/service.rb +5309 -4488
- metadata +3 -3
@@ -3921,9 +3921,9 @@ module Google
|
|
3921
3921
|
attr_accessor :timeout_sec
|
3922
3922
|
|
3923
3923
|
#
|
3924
|
-
# Corresponds to the JSON property `
|
3924
|
+
# Corresponds to the JSON property `usedBy`
|
3925
3925
|
# @return [Array<Google::Apis::ComputeAlpha::BackendServiceUsedBy>]
|
3926
|
-
attr_accessor :
|
3926
|
+
attr_accessor :used_by
|
3927
3927
|
|
3928
3928
|
# The network scope of the backends that can be added to the backend service.
|
3929
3929
|
# This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A backend
|
@@ -3985,7 +3985,7 @@ module Google
|
|
3985
3985
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
3986
3986
|
@subsetting = args[:subsetting] if args.key?(:subsetting)
|
3987
3987
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
3988
|
-
@
|
3988
|
+
@used_by = args[:used_by] if args.key?(:used_by)
|
3989
3989
|
@vpc_network_scope = args[:vpc_network_scope] if args.key?(:vpc_network_scope)
|
3990
3990
|
end
|
3991
3991
|
end
|
@@ -4481,8 +4481,7 @@ module Google
|
|
4481
4481
|
include Google::Apis::Core::Hashable
|
4482
4482
|
|
4483
4483
|
# Whether the serving infrastructure will authenticate and authorize all
|
4484
|
-
# incoming requests.
|
4485
|
-
# must be non-empty.
|
4484
|
+
# incoming requests.
|
4486
4485
|
# Corresponds to the JSON property `enabled`
|
4487
4486
|
# @return [Boolean]
|
4488
4487
|
attr_accessor :enabled
|
@@ -6070,7 +6069,7 @@ module Google
|
|
6070
6069
|
# @return [String]
|
6071
6070
|
attr_accessor :region
|
6072
6071
|
|
6073
|
-
# List of
|
6072
|
+
# List of create-on-create reseravtions for this commitment.
|
6074
6073
|
# Corresponds to the JSON property `reservations`
|
6075
6074
|
# @return [Array<Google::Apis::ComputeAlpha::Reservation>]
|
6076
6075
|
attr_accessor :reservations
|
@@ -10631,13 +10630,13 @@ module Google
|
|
10631
10630
|
# @return [String]
|
10632
10631
|
attr_accessor :name
|
10633
10632
|
|
10634
|
-
# This field is not used for external load balancing. For Internal TCP/
|
10635
|
-
# Balancing, this field identifies the network that the load balanced
|
10636
|
-
# belong to for this Forwarding Rule. If the subnetwork is specified,
|
10637
|
-
# network of the subnetwork will be used. If neither subnetwork nor this
|
10638
|
-
# is specified, the default network will be used. For Private Service
|
10639
|
-
# forwarding rules that forward traffic to Google APIs, a network must
|
10640
|
-
# provided.
|
10633
|
+
# This field is not used for global external load balancing. For Internal TCP/
|
10634
|
+
# UDP Load Balancing, this field identifies the network that the load balanced
|
10635
|
+
# IP should belong to for this Forwarding Rule. If the subnetwork is specified,
|
10636
|
+
# the network of the subnetwork will be used. If neither subnetwork nor this
|
10637
|
+
# field is specified, the default network will be used. For Private Service
|
10638
|
+
# Connect forwarding rules that forward traffic to Google APIs, a network must
|
10639
|
+
# be provided.
|
10641
10640
|
# Corresponds to the JSON property `network`
|
10642
10641
|
# @return [String]
|
10643
10642
|
attr_accessor :network
|
@@ -16950,14 +16949,6 @@ module Google
|
|
16950
16949
|
# @return [Fixnum]
|
16951
16950
|
attr_accessor :creating_atomically
|
16952
16951
|
|
16953
|
-
# [Output Only] The number of instances that the managed instance group will
|
16954
|
-
# attempt to create in bulk. If the desired count of instances cannot be created,
|
16955
|
-
# entire batch will be deleted and the group will decrease its targetSize value
|
16956
|
-
# accordingly.
|
16957
|
-
# Corresponds to the JSON property `creatingInBulk`
|
16958
|
-
# @return [Fixnum]
|
16959
|
-
attr_accessor :creating_in_bulk
|
16960
|
-
|
16961
16952
|
# [Output Only] The number of instances that the managed instance group will
|
16962
16953
|
# attempt to create. The group attempts to create each instance only once. If
|
16963
16954
|
# the group fails to create any of these instances, it decreases the group's
|
@@ -17045,7 +17036,6 @@ module Google
|
|
17045
17036
|
@abandoning = args[:abandoning] if args.key?(:abandoning)
|
17046
17037
|
@creating = args[:creating] if args.key?(:creating)
|
17047
17038
|
@creating_atomically = args[:creating_atomically] if args.key?(:creating_atomically)
|
17048
|
-
@creating_in_bulk = args[:creating_in_bulk] if args.key?(:creating_in_bulk)
|
17049
17039
|
@creating_without_retries = args[:creating_without_retries] if args.key?(:creating_without_retries)
|
17050
17040
|
@deleting = args[:deleting] if args.key?(:deleting)
|
17051
17041
|
@none = args[:none] if args.key?(:none)
|
@@ -17277,8 +17267,8 @@ module Google
|
|
17277
17267
|
class InstanceGroupManagerInstanceFlexibilityPolicy
|
17278
17268
|
include Google::Apis::Core::Hashable
|
17279
17269
|
|
17280
|
-
#
|
17281
|
-
# VMs.
|
17270
|
+
# Named instance selections configuring properties that the group will use when
|
17271
|
+
# creating new VMs.
|
17282
17272
|
# Corresponds to the JSON property `instanceSelectionLists`
|
17283
17273
|
# @return [Hash<String,Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>]
|
17284
17274
|
attr_accessor :instance_selection_lists
|
@@ -27284,6 +27274,12 @@ module Google
|
|
27284
27274
|
# @return [Hash<String,String>]
|
27285
27275
|
attr_accessor :annotations
|
27286
27276
|
|
27277
|
+
# Only valid for network endpoint groups created with client_port_mapping
|
27278
|
+
# supported. Represents the port number to which original packet is sent.
|
27279
|
+
# Corresponds to the JSON property `clientPort`
|
27280
|
+
# @return [Fixnum]
|
27281
|
+
attr_accessor :client_port
|
27282
|
+
|
27287
27283
|
# Optional fully qualified domain name of network endpoint. This can only be
|
27288
27284
|
# specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
|
27289
27285
|
# Corresponds to the JSON property `fqdn`
|
@@ -27318,6 +27314,13 @@ module Google
|
|
27318
27314
|
# @return [Fixnum]
|
27319
27315
|
attr_accessor :port
|
27320
27316
|
|
27317
|
+
# The name of the zone where the instance hosting the network endpoint is
|
27318
|
+
# located (valid only for regional GCE_VM_IP_PORT NEGs). It should comply with
|
27319
|
+
# RFC1035. The zone must belong to the region of the Network Endpoint Group.
|
27320
|
+
# Corresponds to the JSON property `zone`
|
27321
|
+
# @return [String]
|
27322
|
+
attr_accessor :zone
|
27323
|
+
|
27321
27324
|
def initialize(**args)
|
27322
27325
|
update!(**args)
|
27323
27326
|
end
|
@@ -27325,11 +27328,13 @@ module Google
|
|
27325
27328
|
# Update properties of this object
|
27326
27329
|
def update!(**args)
|
27327
27330
|
@annotations = args[:annotations] if args.key?(:annotations)
|
27331
|
+
@client_port = args[:client_port] if args.key?(:client_port)
|
27328
27332
|
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
27329
27333
|
@instance = args[:instance] if args.key?(:instance)
|
27330
27334
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
27331
27335
|
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
27332
27336
|
@port = args[:port] if args.key?(:port)
|
27337
|
+
@zone = args[:zone] if args.key?(:zone)
|
27333
27338
|
end
|
27334
27339
|
end
|
27335
27340
|
|
@@ -27354,6 +27359,12 @@ module Google
|
|
27354
27359
|
# @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupAppEngine]
|
27355
27360
|
attr_accessor :app_engine
|
27356
27361
|
|
27362
|
+
# Only valid when networkEndpointType is "GCE_VM_IP_PORT" and the NEG is
|
27363
|
+
# regional.
|
27364
|
+
# Corresponds to the JSON property `clientPortMappingMode`
|
27365
|
+
# @return [String]
|
27366
|
+
attr_accessor :client_port_mapping_mode
|
27367
|
+
|
27357
27368
|
# Configuration for a Cloud Function network endpoint group (NEG). The function
|
27358
27369
|
# must be provided explicitly or in the URL mask. Note: Cloud Function must be
|
27359
27370
|
# in the same project and located in the same region as the Serverless NEG.
|
@@ -27492,6 +27503,7 @@ module Google
|
|
27492
27503
|
def update!(**args)
|
27493
27504
|
@annotations = args[:annotations] if args.key?(:annotations)
|
27494
27505
|
@app_engine = args[:app_engine] if args.key?(:app_engine)
|
27506
|
+
@client_port_mapping_mode = args[:client_port_mapping_mode] if args.key?(:client_port_mapping_mode)
|
27495
27507
|
@cloud_function = args[:cloud_function] if args.key?(:cloud_function)
|
27496
27508
|
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
|
27497
27509
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@@ -39968,6 +39980,20 @@ module Google
|
|
39968
39980
|
attr_accessor :enable_ipv6
|
39969
39981
|
alias_method :enable_ipv6?, :enable_ipv6
|
39970
39982
|
|
39983
|
+
# List of export policies applied to this peer, in the order they must be
|
39984
|
+
# evaluated. The name must correspond to an existing policy that has
|
39985
|
+
# ROUTE_POLICY_TYPE_EXPORT type.
|
39986
|
+
# Corresponds to the JSON property `exportPolicies`
|
39987
|
+
# @return [Array<String>]
|
39988
|
+
attr_accessor :export_policies
|
39989
|
+
|
39990
|
+
# List of import policies applied to this peer, in the order they must be
|
39991
|
+
# evaluated. The name must correspond to an existing policy that has
|
39992
|
+
# ROUTE_POLICY_TYPE_IMPORT type.
|
39993
|
+
# Corresponds to the JSON property `importPolicies`
|
39994
|
+
# @return [Array<String>]
|
39995
|
+
attr_accessor :import_policies
|
39996
|
+
|
39971
39997
|
# Name of the interface the BGP peer is associated with.
|
39972
39998
|
# Corresponds to the JSON property `interfaceName`
|
39973
39999
|
# @return [String]
|
@@ -40062,6 +40088,8 @@ module Google
|
|
40062
40088
|
@enable = args[:enable] if args.key?(:enable)
|
40063
40089
|
@enable_ipv4 = args[:enable_ipv4] if args.key?(:enable_ipv4)
|
40064
40090
|
@enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
|
40091
|
+
@export_policies = args[:export_policies] if args.key?(:export_policies)
|
40092
|
+
@import_policies = args[:import_policies] if args.key?(:import_policies)
|
40065
40093
|
@interface_name = args[:interface_name] if args.key?(:interface_name)
|
40066
40094
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
40067
40095
|
@ipv4_nexthop_address = args[:ipv4_nexthop_address] if args.key?(:ipv4_nexthop_address)
|
@@ -40654,8 +40682,8 @@ module Google
|
|
40654
40682
|
# "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.
|
40655
40683
|
# 0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The
|
40656
40684
|
# following example is a valid match expression for private NAT: "nexthop.hub ==
|
40657
|
-
# '
|
40658
|
-
#
|
40685
|
+
# '//networkconnectivity.googleapis.com/projects/my-project/locations/global/
|
40686
|
+
# hubs/hub-1'"
|
40659
40687
|
# Corresponds to the JSON property `match`
|
40660
40688
|
# @return [String]
|
40661
40689
|
attr_accessor :match
|
@@ -41135,9 +41163,9 @@ module Google
|
|
41135
41163
|
attr_accessor :self_link
|
41136
41164
|
|
41137
41165
|
# [Output Only] Unreachable resources.
|
41138
|
-
# Corresponds to the JSON property `
|
41166
|
+
# Corresponds to the JSON property `unreachables`
|
41139
41167
|
# @return [Array<String>]
|
41140
|
-
attr_accessor :
|
41168
|
+
attr_accessor :unreachables
|
41141
41169
|
|
41142
41170
|
# [Output Only] Informational warning message.
|
41143
41171
|
# Corresponds to the JSON property `warning`
|
@@ -41156,7 +41184,7 @@ module Google
|
|
41156
41184
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
41157
41185
|
@result = args[:result] if args.key?(:result)
|
41158
41186
|
@self_link = args[:self_link] if args.key?(:self_link)
|
41159
|
-
@
|
41187
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
41160
41188
|
@warning = args[:warning] if args.key?(:warning)
|
41161
41189
|
end
|
41162
41190
|
|
@@ -41266,9 +41294,9 @@ module Google
|
|
41266
41294
|
attr_accessor :self_link
|
41267
41295
|
|
41268
41296
|
# [Output Only] Unreachable resources.
|
41269
|
-
# Corresponds to the JSON property `
|
41297
|
+
# Corresponds to the JSON property `unreachables`
|
41270
41298
|
# @return [Array<String>]
|
41271
|
-
attr_accessor :
|
41299
|
+
attr_accessor :unreachables
|
41272
41300
|
|
41273
41301
|
# [Output Only] Informational warning message.
|
41274
41302
|
# Corresponds to the JSON property `warning`
|
@@ -41287,7 +41315,7 @@ module Google
|
|
41287
41315
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
41288
41316
|
@result = args[:result] if args.key?(:result)
|
41289
41317
|
@self_link = args[:self_link] if args.key?(:self_link)
|
41290
|
-
@
|
41318
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
41291
41319
|
@warning = args[:warning] if args.key?(:warning)
|
41292
41320
|
end
|
41293
41321
|
|
@@ -45265,6 +45293,12 @@ module Google
|
|
45265
45293
|
# @return [String]
|
45266
45294
|
attr_accessor :name
|
45267
45295
|
|
45296
|
+
# [Output Only] URL of the region where the snapshot resides. Only applicable
|
45297
|
+
# for regional snapshots.
|
45298
|
+
# Corresponds to the JSON property `region`
|
45299
|
+
# @return [String]
|
45300
|
+
attr_accessor :region
|
45301
|
+
|
45268
45302
|
# [Output Only] Reserved for future use.
|
45269
45303
|
# Corresponds to the JSON property `satisfiesPzs`
|
45270
45304
|
# @return [Boolean]
|
@@ -45413,6 +45447,7 @@ module Google
|
|
45413
45447
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
45414
45448
|
@max_retention_days = args[:max_retention_days] if args.key?(:max_retention_days)
|
45415
45449
|
@name = args[:name] if args.key?(:name)
|
45450
|
+
@region = args[:region] if args.key?(:region)
|
45416
45451
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
45417
45452
|
@self_link = args[:self_link] if args.key?(:self_link)
|
45418
45453
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
@@ -47129,11 +47164,6 @@ module Google
|
|
47129
47164
|
# @return [String]
|
47130
47165
|
attr_accessor :storage_pool_type
|
47131
47166
|
|
47132
|
-
# Type of the storage pool
|
47133
|
-
# Corresponds to the JSON property `type`
|
47134
|
-
# @return [String]
|
47135
|
-
attr_accessor :type
|
47136
|
-
|
47137
47167
|
# [Output Only] URL of the zone where the storage pool resides. You must specify
|
47138
47168
|
# this field as part of the HTTP request URL. It is not settable as a field in
|
47139
47169
|
# the request body.
|
@@ -47163,7 +47193,6 @@ module Google
|
|
47163
47193
|
@state = args[:state] if args.key?(:state)
|
47164
47194
|
@status = args[:status] if args.key?(:status)
|
47165
47195
|
@storage_pool_type = args[:storage_pool_type] if args.key?(:storage_pool_type)
|
47166
|
-
@type = args[:type] if args.key?(:type)
|
47167
47196
|
@zone = args[:zone] if args.key?(:zone)
|
47168
47197
|
end
|
47169
47198
|
end
|
@@ -47704,6 +47733,445 @@ module Google
|
|
47704
47733
|
end
|
47705
47734
|
end
|
47706
47735
|
|
47736
|
+
#
|
47737
|
+
class StoragePoolType
|
47738
|
+
include Google::Apis::Core::Hashable
|
47739
|
+
|
47740
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
47741
|
+
# Corresponds to the JSON property `creationTimestamp`
|
47742
|
+
# @return [String]
|
47743
|
+
attr_accessor :creation_timestamp
|
47744
|
+
|
47745
|
+
# Deprecation status for a public resource.
|
47746
|
+
# Corresponds to the JSON property `deprecated`
|
47747
|
+
# @return [Google::Apis::ComputeAlpha::DeprecationStatus]
|
47748
|
+
attr_accessor :deprecated
|
47749
|
+
|
47750
|
+
# [Output Only] An optional description of this resource.
|
47751
|
+
# Corresponds to the JSON property `description`
|
47752
|
+
# @return [String]
|
47753
|
+
attr_accessor :description
|
47754
|
+
|
47755
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
47756
|
+
# defined by the server.
|
47757
|
+
# Corresponds to the JSON property `id`
|
47758
|
+
# @return [Fixnum]
|
47759
|
+
attr_accessor :id
|
47760
|
+
|
47761
|
+
# [Output Only] Type of the resource. Always compute#storagePoolType for storage
|
47762
|
+
# pool types.
|
47763
|
+
# Corresponds to the JSON property `kind`
|
47764
|
+
# @return [String]
|
47765
|
+
attr_accessor :kind
|
47766
|
+
|
47767
|
+
# [Output Only] Maximum provisioned IOPS.
|
47768
|
+
# Corresponds to the JSON property `maxProvisionedIops`
|
47769
|
+
# @return [Fixnum]
|
47770
|
+
attr_accessor :max_provisioned_iops
|
47771
|
+
|
47772
|
+
# [Output Only] Maximum provisioned throughput.
|
47773
|
+
# Corresponds to the JSON property `maxProvisionedThroughput`
|
47774
|
+
# @return [Fixnum]
|
47775
|
+
attr_accessor :max_provisioned_throughput
|
47776
|
+
|
47777
|
+
# [Output Only] Maximum storage pool size in GB.
|
47778
|
+
# Corresponds to the JSON property `maxSizeGb`
|
47779
|
+
# @return [Fixnum]
|
47780
|
+
attr_accessor :max_size_gb
|
47781
|
+
|
47782
|
+
# [Output Only] Minimum provisioned IOPS.
|
47783
|
+
# Corresponds to the JSON property `minProvisionedIops`
|
47784
|
+
# @return [Fixnum]
|
47785
|
+
attr_accessor :min_provisioned_iops
|
47786
|
+
|
47787
|
+
# [Output Only] Minimum provisioned throughput.
|
47788
|
+
# Corresponds to the JSON property `minProvisionedThroughput`
|
47789
|
+
# @return [Fixnum]
|
47790
|
+
attr_accessor :min_provisioned_throughput
|
47791
|
+
|
47792
|
+
# [Output Only] Minimum storage pool size in GB.
|
47793
|
+
# Corresponds to the JSON property `minSizeGb`
|
47794
|
+
# @return [Fixnum]
|
47795
|
+
attr_accessor :min_size_gb
|
47796
|
+
|
47797
|
+
# [Output Only] Name of the resource.
|
47798
|
+
# Corresponds to the JSON property `name`
|
47799
|
+
# @return [String]
|
47800
|
+
attr_accessor :name
|
47801
|
+
|
47802
|
+
# [Output Only] Server-defined URL for the resource.
|
47803
|
+
# Corresponds to the JSON property `selfLink`
|
47804
|
+
# @return [String]
|
47805
|
+
attr_accessor :self_link
|
47806
|
+
|
47807
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
47808
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
47809
|
+
# @return [String]
|
47810
|
+
attr_accessor :self_link_with_id
|
47811
|
+
|
47812
|
+
# [Output Only] The list of disk types supported in this storage pool type.
|
47813
|
+
# Corresponds to the JSON property `supportedDiskTypes`
|
47814
|
+
# @return [Array<String>]
|
47815
|
+
attr_accessor :supported_disk_types
|
47816
|
+
|
47817
|
+
# [Output Only] URL of the zone where the storage pool type resides. You must
|
47818
|
+
# specify this field as part of the HTTP request URL. It is not settable as a
|
47819
|
+
# field in the request body.
|
47820
|
+
# Corresponds to the JSON property `zone`
|
47821
|
+
# @return [String]
|
47822
|
+
attr_accessor :zone
|
47823
|
+
|
47824
|
+
def initialize(**args)
|
47825
|
+
update!(**args)
|
47826
|
+
end
|
47827
|
+
|
47828
|
+
# Update properties of this object
|
47829
|
+
def update!(**args)
|
47830
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
47831
|
+
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
47832
|
+
@description = args[:description] if args.key?(:description)
|
47833
|
+
@id = args[:id] if args.key?(:id)
|
47834
|
+
@kind = args[:kind] if args.key?(:kind)
|
47835
|
+
@max_provisioned_iops = args[:max_provisioned_iops] if args.key?(:max_provisioned_iops)
|
47836
|
+
@max_provisioned_throughput = args[:max_provisioned_throughput] if args.key?(:max_provisioned_throughput)
|
47837
|
+
@max_size_gb = args[:max_size_gb] if args.key?(:max_size_gb)
|
47838
|
+
@min_provisioned_iops = args[:min_provisioned_iops] if args.key?(:min_provisioned_iops)
|
47839
|
+
@min_provisioned_throughput = args[:min_provisioned_throughput] if args.key?(:min_provisioned_throughput)
|
47840
|
+
@min_size_gb = args[:min_size_gb] if args.key?(:min_size_gb)
|
47841
|
+
@name = args[:name] if args.key?(:name)
|
47842
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
47843
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
47844
|
+
@supported_disk_types = args[:supported_disk_types] if args.key?(:supported_disk_types)
|
47845
|
+
@zone = args[:zone] if args.key?(:zone)
|
47846
|
+
end
|
47847
|
+
end
|
47848
|
+
|
47849
|
+
#
|
47850
|
+
class StoragePoolTypeAggregatedList
|
47851
|
+
include Google::Apis::Core::Hashable
|
47852
|
+
|
47853
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
47854
|
+
# Corresponds to the JSON property `id`
|
47855
|
+
# @return [String]
|
47856
|
+
attr_accessor :id
|
47857
|
+
|
47858
|
+
# A list of StoragePoolTypesScopedList resources.
|
47859
|
+
# Corresponds to the JSON property `items`
|
47860
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::StoragePoolTypesScopedList>]
|
47861
|
+
attr_accessor :items
|
47862
|
+
|
47863
|
+
# [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
|
47864
|
+
# Corresponds to the JSON property `kind`
|
47865
|
+
# @return [String]
|
47866
|
+
attr_accessor :kind
|
47867
|
+
|
47868
|
+
# [Output Only] This token allows you to get the next page of results for list
|
47869
|
+
# requests. If the number of results is larger than maxResults, use the
|
47870
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
47871
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
47872
|
+
# continue paging through the results.
|
47873
|
+
# Corresponds to the JSON property `nextPageToken`
|
47874
|
+
# @return [String]
|
47875
|
+
attr_accessor :next_page_token
|
47876
|
+
|
47877
|
+
# [Output Only] Server-defined URL for this resource.
|
47878
|
+
# Corresponds to the JSON property `selfLink`
|
47879
|
+
# @return [String]
|
47880
|
+
attr_accessor :self_link
|
47881
|
+
|
47882
|
+
# [Output Only] Informational warning message.
|
47883
|
+
# Corresponds to the JSON property `warning`
|
47884
|
+
# @return [Google::Apis::ComputeAlpha::StoragePoolTypeAggregatedList::Warning]
|
47885
|
+
attr_accessor :warning
|
47886
|
+
|
47887
|
+
def initialize(**args)
|
47888
|
+
update!(**args)
|
47889
|
+
end
|
47890
|
+
|
47891
|
+
# Update properties of this object
|
47892
|
+
def update!(**args)
|
47893
|
+
@id = args[:id] if args.key?(:id)
|
47894
|
+
@items = args[:items] if args.key?(:items)
|
47895
|
+
@kind = args[:kind] if args.key?(:kind)
|
47896
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
47897
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
47898
|
+
@warning = args[:warning] if args.key?(:warning)
|
47899
|
+
end
|
47900
|
+
|
47901
|
+
# [Output Only] Informational warning message.
|
47902
|
+
class Warning
|
47903
|
+
include Google::Apis::Core::Hashable
|
47904
|
+
|
47905
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
47906
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
47907
|
+
# Corresponds to the JSON property `code`
|
47908
|
+
# @return [String]
|
47909
|
+
attr_accessor :code
|
47910
|
+
|
47911
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
47912
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
47913
|
+
# Corresponds to the JSON property `data`
|
47914
|
+
# @return [Array<Google::Apis::ComputeAlpha::StoragePoolTypeAggregatedList::Warning::Datum>]
|
47915
|
+
attr_accessor :data
|
47916
|
+
|
47917
|
+
# [Output Only] A human-readable description of the warning code.
|
47918
|
+
# Corresponds to the JSON property `message`
|
47919
|
+
# @return [String]
|
47920
|
+
attr_accessor :message
|
47921
|
+
|
47922
|
+
def initialize(**args)
|
47923
|
+
update!(**args)
|
47924
|
+
end
|
47925
|
+
|
47926
|
+
# Update properties of this object
|
47927
|
+
def update!(**args)
|
47928
|
+
@code = args[:code] if args.key?(:code)
|
47929
|
+
@data = args[:data] if args.key?(:data)
|
47930
|
+
@message = args[:message] if args.key?(:message)
|
47931
|
+
end
|
47932
|
+
|
47933
|
+
#
|
47934
|
+
class Datum
|
47935
|
+
include Google::Apis::Core::Hashable
|
47936
|
+
|
47937
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
47938
|
+
# For example, for warnings where there are no results in a list request for a
|
47939
|
+
# particular zone, this key might be scope and the key value might be the zone
|
47940
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
47941
|
+
# suggested replacement, or a warning about invalid network settings (for
|
47942
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
47943
|
+
# for IP forwarding).
|
47944
|
+
# Corresponds to the JSON property `key`
|
47945
|
+
# @return [String]
|
47946
|
+
attr_accessor :key
|
47947
|
+
|
47948
|
+
# [Output Only] A warning data value corresponding to the key.
|
47949
|
+
# Corresponds to the JSON property `value`
|
47950
|
+
# @return [String]
|
47951
|
+
attr_accessor :value
|
47952
|
+
|
47953
|
+
def initialize(**args)
|
47954
|
+
update!(**args)
|
47955
|
+
end
|
47956
|
+
|
47957
|
+
# Update properties of this object
|
47958
|
+
def update!(**args)
|
47959
|
+
@key = args[:key] if args.key?(:key)
|
47960
|
+
@value = args[:value] if args.key?(:value)
|
47961
|
+
end
|
47962
|
+
end
|
47963
|
+
end
|
47964
|
+
end
|
47965
|
+
|
47966
|
+
# Contains a list of storage pool types.
|
47967
|
+
class StoragePoolTypeList
|
47968
|
+
include Google::Apis::Core::Hashable
|
47969
|
+
|
47970
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
47971
|
+
# Corresponds to the JSON property `id`
|
47972
|
+
# @return [String]
|
47973
|
+
attr_accessor :id
|
47974
|
+
|
47975
|
+
# A list of StoragePoolType resources.
|
47976
|
+
# Corresponds to the JSON property `items`
|
47977
|
+
# @return [Array<Google::Apis::ComputeAlpha::StoragePoolType>]
|
47978
|
+
attr_accessor :items
|
47979
|
+
|
47980
|
+
# [Output Only] Type of resource. Always compute#storagePoolTypeList for storage
|
47981
|
+
# pool types.
|
47982
|
+
# Corresponds to the JSON property `kind`
|
47983
|
+
# @return [String]
|
47984
|
+
attr_accessor :kind
|
47985
|
+
|
47986
|
+
# [Output Only] This token allows you to get the next page of results for list
|
47987
|
+
# requests. If the number of results is larger than maxResults, use the
|
47988
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
47989
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
47990
|
+
# continue paging through the results.
|
47991
|
+
# Corresponds to the JSON property `nextPageToken`
|
47992
|
+
# @return [String]
|
47993
|
+
attr_accessor :next_page_token
|
47994
|
+
|
47995
|
+
# [Output Only] Server-defined URL for this resource.
|
47996
|
+
# Corresponds to the JSON property `selfLink`
|
47997
|
+
# @return [String]
|
47998
|
+
attr_accessor :self_link
|
47999
|
+
|
48000
|
+
# [Output Only] Informational warning message.
|
48001
|
+
# Corresponds to the JSON property `warning`
|
48002
|
+
# @return [Google::Apis::ComputeAlpha::StoragePoolTypeList::Warning]
|
48003
|
+
attr_accessor :warning
|
48004
|
+
|
48005
|
+
def initialize(**args)
|
48006
|
+
update!(**args)
|
48007
|
+
end
|
48008
|
+
|
48009
|
+
# Update properties of this object
|
48010
|
+
def update!(**args)
|
48011
|
+
@id = args[:id] if args.key?(:id)
|
48012
|
+
@items = args[:items] if args.key?(:items)
|
48013
|
+
@kind = args[:kind] if args.key?(:kind)
|
48014
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
48015
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
48016
|
+
@warning = args[:warning] if args.key?(:warning)
|
48017
|
+
end
|
48018
|
+
|
48019
|
+
# [Output Only] Informational warning message.
|
48020
|
+
class Warning
|
48021
|
+
include Google::Apis::Core::Hashable
|
48022
|
+
|
48023
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
48024
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
48025
|
+
# Corresponds to the JSON property `code`
|
48026
|
+
# @return [String]
|
48027
|
+
attr_accessor :code
|
48028
|
+
|
48029
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
48030
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
48031
|
+
# Corresponds to the JSON property `data`
|
48032
|
+
# @return [Array<Google::Apis::ComputeAlpha::StoragePoolTypeList::Warning::Datum>]
|
48033
|
+
attr_accessor :data
|
48034
|
+
|
48035
|
+
# [Output Only] A human-readable description of the warning code.
|
48036
|
+
# Corresponds to the JSON property `message`
|
48037
|
+
# @return [String]
|
48038
|
+
attr_accessor :message
|
48039
|
+
|
48040
|
+
def initialize(**args)
|
48041
|
+
update!(**args)
|
48042
|
+
end
|
48043
|
+
|
48044
|
+
# Update properties of this object
|
48045
|
+
def update!(**args)
|
48046
|
+
@code = args[:code] if args.key?(:code)
|
48047
|
+
@data = args[:data] if args.key?(:data)
|
48048
|
+
@message = args[:message] if args.key?(:message)
|
48049
|
+
end
|
48050
|
+
|
48051
|
+
#
|
48052
|
+
class Datum
|
48053
|
+
include Google::Apis::Core::Hashable
|
48054
|
+
|
48055
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
48056
|
+
# For example, for warnings where there are no results in a list request for a
|
48057
|
+
# particular zone, this key might be scope and the key value might be the zone
|
48058
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
48059
|
+
# suggested replacement, or a warning about invalid network settings (for
|
48060
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
48061
|
+
# for IP forwarding).
|
48062
|
+
# Corresponds to the JSON property `key`
|
48063
|
+
# @return [String]
|
48064
|
+
attr_accessor :key
|
48065
|
+
|
48066
|
+
# [Output Only] A warning data value corresponding to the key.
|
48067
|
+
# Corresponds to the JSON property `value`
|
48068
|
+
# @return [String]
|
48069
|
+
attr_accessor :value
|
48070
|
+
|
48071
|
+
def initialize(**args)
|
48072
|
+
update!(**args)
|
48073
|
+
end
|
48074
|
+
|
48075
|
+
# Update properties of this object
|
48076
|
+
def update!(**args)
|
48077
|
+
@key = args[:key] if args.key?(:key)
|
48078
|
+
@value = args[:value] if args.key?(:value)
|
48079
|
+
end
|
48080
|
+
end
|
48081
|
+
end
|
48082
|
+
end
|
48083
|
+
|
48084
|
+
#
|
48085
|
+
class StoragePoolTypesScopedList
|
48086
|
+
include Google::Apis::Core::Hashable
|
48087
|
+
|
48088
|
+
# [Output Only] A list of storage pool types contained in this scope.
|
48089
|
+
# Corresponds to the JSON property `storagePoolTypes`
|
48090
|
+
# @return [Array<Google::Apis::ComputeAlpha::StoragePoolType>]
|
48091
|
+
attr_accessor :storage_pool_types
|
48092
|
+
|
48093
|
+
# [Output Only] Informational warning which replaces the list of storage pool
|
48094
|
+
# types when the list is empty.
|
48095
|
+
# Corresponds to the JSON property `warning`
|
48096
|
+
# @return [Google::Apis::ComputeAlpha::StoragePoolTypesScopedList::Warning]
|
48097
|
+
attr_accessor :warning
|
48098
|
+
|
48099
|
+
def initialize(**args)
|
48100
|
+
update!(**args)
|
48101
|
+
end
|
48102
|
+
|
48103
|
+
# Update properties of this object
|
48104
|
+
def update!(**args)
|
48105
|
+
@storage_pool_types = args[:storage_pool_types] if args.key?(:storage_pool_types)
|
48106
|
+
@warning = args[:warning] if args.key?(:warning)
|
48107
|
+
end
|
48108
|
+
|
48109
|
+
# [Output Only] Informational warning which replaces the list of storage pool
|
48110
|
+
# types when the list is empty.
|
48111
|
+
class Warning
|
48112
|
+
include Google::Apis::Core::Hashable
|
48113
|
+
|
48114
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
48115
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
48116
|
+
# Corresponds to the JSON property `code`
|
48117
|
+
# @return [String]
|
48118
|
+
attr_accessor :code
|
48119
|
+
|
48120
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
48121
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
48122
|
+
# Corresponds to the JSON property `data`
|
48123
|
+
# @return [Array<Google::Apis::ComputeAlpha::StoragePoolTypesScopedList::Warning::Datum>]
|
48124
|
+
attr_accessor :data
|
48125
|
+
|
48126
|
+
# [Output Only] A human-readable description of the warning code.
|
48127
|
+
# Corresponds to the JSON property `message`
|
48128
|
+
# @return [String]
|
48129
|
+
attr_accessor :message
|
48130
|
+
|
48131
|
+
def initialize(**args)
|
48132
|
+
update!(**args)
|
48133
|
+
end
|
48134
|
+
|
48135
|
+
# Update properties of this object
|
48136
|
+
def update!(**args)
|
48137
|
+
@code = args[:code] if args.key?(:code)
|
48138
|
+
@data = args[:data] if args.key?(:data)
|
48139
|
+
@message = args[:message] if args.key?(:message)
|
48140
|
+
end
|
48141
|
+
|
48142
|
+
#
|
48143
|
+
class Datum
|
48144
|
+
include Google::Apis::Core::Hashable
|
48145
|
+
|
48146
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
48147
|
+
# For example, for warnings where there are no results in a list request for a
|
48148
|
+
# particular zone, this key might be scope and the key value might be the zone
|
48149
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
48150
|
+
# suggested replacement, or a warning about invalid network settings (for
|
48151
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
48152
|
+
# for IP forwarding).
|
48153
|
+
# Corresponds to the JSON property `key`
|
48154
|
+
# @return [String]
|
48155
|
+
attr_accessor :key
|
48156
|
+
|
48157
|
+
# [Output Only] A warning data value corresponding to the key.
|
48158
|
+
# Corresponds to the JSON property `value`
|
48159
|
+
# @return [String]
|
48160
|
+
attr_accessor :value
|
48161
|
+
|
48162
|
+
def initialize(**args)
|
48163
|
+
update!(**args)
|
48164
|
+
end
|
48165
|
+
|
48166
|
+
# Update properties of this object
|
48167
|
+
def update!(**args)
|
48168
|
+
@key = args[:key] if args.key?(:key)
|
48169
|
+
@value = args[:value] if args.key?(:value)
|
48170
|
+
end
|
48171
|
+
end
|
48172
|
+
end
|
48173
|
+
end
|
48174
|
+
|
47707
48175
|
#
|
47708
48176
|
class StoragePoolsScopedList
|
47709
48177
|
include Google::Apis::Core::Hashable
|