google-apis-compute_alpha 0.77.0 → 0.79.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 +8 -0
- data/lib/google/apis/compute_alpha/classes.rb +582 -76
- data/lib/google/apis/compute_alpha/gem_version.rb +2 -2
- data/lib/google/apis/compute_alpha/representations.rb +188 -5
- data/lib/google/apis/compute_alpha/service.rb +5452 -4535
- metadata +3 -3
@@ -3771,11 +3771,11 @@ module Google
|
|
3771
3771
|
# applicable to either: - A regional backend service with the service_protocol
|
3772
3772
|
# set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to
|
3773
3773
|
# INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme
|
3774
|
-
# set to INTERNAL_SELF_MANAGED
|
3775
|
-
# is not set to MAGLEV or RING_HASH,
|
3776
|
-
# effect. Only ROUND_ROBIN and RING_HASH
|
3777
|
-
# is referenced by a URL map that is
|
3778
|
-
# validateForProxyless field set to true.
|
3774
|
+
# set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If
|
3775
|
+
# sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH,
|
3776
|
+
# session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH
|
3777
|
+
# are supported when the backend service is referenced by a URL map that is
|
3778
|
+
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
3779
3779
|
# Corresponds to the JSON property `localityLbPolicy`
|
3780
3780
|
# @return [String]
|
3781
3781
|
attr_accessor :locality_lb_policy
|
@@ -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
|
@@ -11233,9 +11232,9 @@ module Google
|
|
11233
11232
|
attr_accessor :auto_created_reservations_duration
|
11234
11233
|
|
11235
11234
|
# Setting for enabling or disabling automatic deletion for auto-created
|
11236
|
-
# reservation. If
|
11237
|
-
#
|
11238
|
-
#
|
11235
|
+
# reservation. If set to true, auto-created reservations will be deleted at
|
11236
|
+
# Future Reservation's end time (default) or at user's defined timestamp if any
|
11237
|
+
# of the [auto_created_reservations_delete_time,
|
11239
11238
|
# auto_created_reservations_duration] values is specified. For keeping auto-
|
11240
11239
|
# created reservation indefinitely, this value should be set to false.
|
11241
11240
|
# Corresponds to the JSON property `autoDeleteAutoCreatedReservations`
|
@@ -12654,19 +12653,22 @@ module Google
|
|
12654
12653
|
end
|
12655
12654
|
end
|
12656
12655
|
|
12657
|
-
# Represents a
|
12658
|
-
# resources: * [
|
12659
|
-
#
|
12660
|
-
#
|
12661
|
-
#
|
12662
|
-
#
|
12663
|
-
#
|
12664
|
-
#
|
12665
|
-
#
|
12666
|
-
#
|
12667
|
-
#
|
12668
|
-
# based network load
|
12669
|
-
#
|
12656
|
+
# Represents a health check resource. Google Compute Engine has two health check
|
12657
|
+
# resources: * [Regional](/compute/docs/reference/rest/alpha/regionHealthChecks)
|
12658
|
+
# * [Global](/compute/docs/reference/rest/alpha/healthChecks) These health check
|
12659
|
+
# resources can be used for load balancing and for autohealing VMs in a managed
|
12660
|
+
# instance group (MIG). **Load balancing** The following load balancer can use
|
12661
|
+
# either regional or global health check: * Internal TCP/UDP load balancer The
|
12662
|
+
# following load balancers require regional health check: * Internal HTTP(S)
|
12663
|
+
# load balancer * Backend service-based network load balancer Traffic Director
|
12664
|
+
# and the following load balancers require global health check: * External HTTP(
|
12665
|
+
# S) load balancer * TCP proxy load balancer * SSL proxy load balancer The
|
12666
|
+
# following load balancer require [legacy HTTP health checks](/compute/docs/
|
12667
|
+
# reference/rest/v1/httpHealthChecks): * Target pool-based network load balancer
|
12668
|
+
# **Autohealing in MIGs** The health checks that you use for autohealing VMs in
|
12669
|
+
# a MIG can be either regional or global. For more information, see Set up an
|
12670
|
+
# application health check and autohealing. For more information, see Health
|
12671
|
+
# checks overview.
|
12670
12672
|
class HealthCheck
|
12671
12673
|
include Google::Apis::Core::Hashable
|
12672
12674
|
|
@@ -16950,14 +16952,6 @@ module Google
|
|
16950
16952
|
# @return [Fixnum]
|
16951
16953
|
attr_accessor :creating_atomically
|
16952
16954
|
|
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
16955
|
# [Output Only] The number of instances that the managed instance group will
|
16962
16956
|
# attempt to create. The group attempts to create each instance only once. If
|
16963
16957
|
# the group fails to create any of these instances, it decreases the group's
|
@@ -17045,7 +17039,6 @@ module Google
|
|
17045
17039
|
@abandoning = args[:abandoning] if args.key?(:abandoning)
|
17046
17040
|
@creating = args[:creating] if args.key?(:creating)
|
17047
17041
|
@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
17042
|
@creating_without_retries = args[:creating_without_retries] if args.key?(:creating_without_retries)
|
17050
17043
|
@deleting = args[:deleting] if args.key?(:deleting)
|
17051
17044
|
@none = args[:none] if args.key?(:none)
|
@@ -17277,8 +17270,8 @@ module Google
|
|
17277
17270
|
class InstanceGroupManagerInstanceFlexibilityPolicy
|
17278
17271
|
include Google::Apis::Core::Hashable
|
17279
17272
|
|
17280
|
-
#
|
17281
|
-
# VMs.
|
17273
|
+
# Named instance selections configuring properties that the group will use when
|
17274
|
+
# creating new VMs.
|
17282
17275
|
# Corresponds to the JSON property `instanceSelectionLists`
|
17283
17276
|
# @return [Hash<String,Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>]
|
17284
17277
|
attr_accessor :instance_selection_lists
|
@@ -19879,9 +19872,15 @@ module Google
|
|
19879
19872
|
end
|
19880
19873
|
end
|
19881
19874
|
|
19882
|
-
# Represents an Instance Template resource.
|
19883
|
-
#
|
19884
|
-
#
|
19875
|
+
# Represents an Instance Template resource. Google Compute Engine has two
|
19876
|
+
# Instance Template resources: * [Global](/compute/docs/reference/rest/alpha/
|
19877
|
+
# instanceTemplates) * [Regional](/compute/docs/reference/rest/alpha/
|
19878
|
+
# regionInstanceTemplates) You can reuse a global instance template in different
|
19879
|
+
# regions whereas you can use a regional instance template in a specified region
|
19880
|
+
# only. If you want to reduce cross-region dependency or achieve data residency,
|
19881
|
+
# use a regional instance template. To create VMs, managed instance groups, and
|
19882
|
+
# reservations, you can use either global or regional instance templates. For
|
19883
|
+
# more information, read Instance Templates.
|
19885
19884
|
class InstanceTemplate
|
19886
19885
|
include Google::Apis::Core::Hashable
|
19887
19886
|
|
@@ -21435,9 +21434,9 @@ module Google
|
|
21435
21434
|
|
21436
21435
|
# [Output only] List of features available for this Interconnect connection,
|
21437
21436
|
# which can take one of the following values: - MACSEC If present then the
|
21438
|
-
#
|
21439
|
-
# the
|
21440
|
-
#
|
21437
|
+
# Interconnect connection is provisioned on MACsec capable hardware ports. If
|
21438
|
+
# not present then the Interconnect connection is provisioned on non-MACsec
|
21439
|
+
# capable ports and MACsec isn't supported and enabling MACsec fails.
|
21441
21440
|
# Corresponds to the JSON property `availableFeatures`
|
21442
21441
|
# @return [Array<String>]
|
21443
21442
|
attr_accessor :available_features
|
@@ -21543,7 +21542,8 @@ module Google
|
|
21543
21542
|
attr_accessor :location
|
21544
21543
|
|
21545
21544
|
# Configuration information for enabling Media Access Control security (MACsec)
|
21546
|
-
# on this Interconnect connection between Google and your on-premises
|
21545
|
+
# on this Cloud Interconnect connection between Google and your on-premises
|
21546
|
+
# router.
|
21547
21547
|
# Corresponds to the JSON property `macsec`
|
21548
21548
|
# @return [Google::Apis::ComputeAlpha::InterconnectMacsec]
|
21549
21549
|
attr_accessor :macsec
|
@@ -21605,10 +21605,10 @@ module Google
|
|
21605
21605
|
|
21606
21606
|
# Optional. List of features requested for this Interconnect connection, which
|
21607
21607
|
# can take one of the following values: - MACSEC If specified then the
|
21608
|
-
#
|
21609
|
-
#
|
21610
|
-
#
|
21611
|
-
#
|
21608
|
+
# connection is created on MACsec capable hardware ports. If not specified, the
|
21609
|
+
# default value is false, which allocates non-MACsec capable ports first if
|
21610
|
+
# available. This parameter can be provided only with Interconnect INSERT. It
|
21611
|
+
# isn't valid for Interconnect PATCH.
|
21612
21612
|
# Corresponds to the JSON property `requestedFeatures`
|
21613
21613
|
# @return [Array<String>]
|
21614
21614
|
attr_accessor :requested_features
|
@@ -23206,7 +23206,8 @@ module Google
|
|
23206
23206
|
end
|
23207
23207
|
|
23208
23208
|
# Configuration information for enabling Media Access Control security (MACsec)
|
23209
|
-
# on this Interconnect connection between Google and your on-premises
|
23209
|
+
# on this Cloud Interconnect connection between Google and your on-premises
|
23210
|
+
# router.
|
23210
23211
|
class InterconnectMacsec
|
23211
23212
|
include Google::Apis::Core::Hashable
|
23212
23213
|
|
@@ -23221,8 +23222,8 @@ module Google
|
|
23221
23222
|
alias_method :fail_open?, :fail_open
|
23222
23223
|
|
23223
23224
|
# Required. A keychain placeholder describing a set of named key objects along
|
23224
|
-
# with their start times. A MACsec CKN/CAK
|
23225
|
-
#
|
23225
|
+
# with their start times. A MACsec CKN/CAK is generated for each key in the key
|
23226
|
+
# chain. Google router automatically picks the key with the most recent
|
23226
23227
|
# startTime when establishing or re-establishing a MACsec secure link.
|
23227
23228
|
# Corresponds to the JSON property `preSharedKeys`
|
23228
23229
|
# @return [Array<Google::Apis::ComputeAlpha::InterconnectMacsecPreSharedKey>]
|
@@ -27284,6 +27285,12 @@ module Google
|
|
27284
27285
|
# @return [Hash<String,String>]
|
27285
27286
|
attr_accessor :annotations
|
27286
27287
|
|
27288
|
+
# Only valid for network endpoint groups created with client_port_mapping
|
27289
|
+
# supported. Represents the port number to which original packet is sent.
|
27290
|
+
# Corresponds to the JSON property `clientPort`
|
27291
|
+
# @return [Fixnum]
|
27292
|
+
attr_accessor :client_port
|
27293
|
+
|
27287
27294
|
# Optional fully qualified domain name of network endpoint. This can only be
|
27288
27295
|
# specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
|
27289
27296
|
# Corresponds to the JSON property `fqdn`
|
@@ -27318,6 +27325,13 @@ module Google
|
|
27318
27325
|
# @return [Fixnum]
|
27319
27326
|
attr_accessor :port
|
27320
27327
|
|
27328
|
+
# The name of the zone where the instance hosting the network endpoint is
|
27329
|
+
# located (valid only for regional GCE_VM_IP_PORT NEGs). It should comply with
|
27330
|
+
# RFC1035. The zone must belong to the region of the Network Endpoint Group.
|
27331
|
+
# Corresponds to the JSON property `zone`
|
27332
|
+
# @return [String]
|
27333
|
+
attr_accessor :zone
|
27334
|
+
|
27321
27335
|
def initialize(**args)
|
27322
27336
|
update!(**args)
|
27323
27337
|
end
|
@@ -27325,11 +27339,13 @@ module Google
|
|
27325
27339
|
# Update properties of this object
|
27326
27340
|
def update!(**args)
|
27327
27341
|
@annotations = args[:annotations] if args.key?(:annotations)
|
27342
|
+
@client_port = args[:client_port] if args.key?(:client_port)
|
27328
27343
|
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
27329
27344
|
@instance = args[:instance] if args.key?(:instance)
|
27330
27345
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
27331
27346
|
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
27332
27347
|
@port = args[:port] if args.key?(:port)
|
27348
|
+
@zone = args[:zone] if args.key?(:zone)
|
27333
27349
|
end
|
27334
27350
|
end
|
27335
27351
|
|
@@ -27354,6 +27370,12 @@ module Google
|
|
27354
27370
|
# @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupAppEngine]
|
27355
27371
|
attr_accessor :app_engine
|
27356
27372
|
|
27373
|
+
# Only valid when networkEndpointType is "GCE_VM_IP_PORT" and the NEG is
|
27374
|
+
# regional.
|
27375
|
+
# Corresponds to the JSON property `clientPortMappingMode`
|
27376
|
+
# @return [String]
|
27377
|
+
attr_accessor :client_port_mapping_mode
|
27378
|
+
|
27357
27379
|
# Configuration for a Cloud Function network endpoint group (NEG). The function
|
27358
27380
|
# must be provided explicitly or in the URL mask. Note: Cloud Function must be
|
27359
27381
|
# in the same project and located in the same region as the Serverless NEG.
|
@@ -27492,6 +27514,7 @@ module Google
|
|
27492
27514
|
def update!(**args)
|
27493
27515
|
@annotations = args[:annotations] if args.key?(:annotations)
|
27494
27516
|
@app_engine = args[:app_engine] if args.key?(:app_engine)
|
27517
|
+
@client_port_mapping_mode = args[:client_port_mapping_mode] if args.key?(:client_port_mapping_mode)
|
27495
27518
|
@cloud_function = args[:cloud_function] if args.key?(:cloud_function)
|
27496
27519
|
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
|
27497
27520
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@@ -28825,6 +28848,13 @@ module Google
|
|
28825
28848
|
# @return [String]
|
28826
28849
|
attr_accessor :bgp_best_path_selection_mode
|
28827
28850
|
|
28851
|
+
# Allows to define a preferred approach for handling inter-region cost in the
|
28852
|
+
# selection process when using the STANDARD BGP best path selection algorithm.
|
28853
|
+
# Can be DEFAULT or ADD_COST_TO_MED.
|
28854
|
+
# Corresponds to the JSON property `bgpInterRegionCost`
|
28855
|
+
# @return [String]
|
28856
|
+
attr_accessor :bgp_inter_region_cost
|
28857
|
+
|
28828
28858
|
# The network-wide routing mode to use. If set to REGIONAL, this network's Cloud
|
28829
28859
|
# Routers will only advertise routes with subnets of this network in the same
|
28830
28860
|
# region as the router. If set to GLOBAL, this network's Cloud Routers will
|
@@ -28841,6 +28871,7 @@ module Google
|
|
28841
28871
|
def update!(**args)
|
28842
28872
|
@bgp_always_compare_med = args[:bgp_always_compare_med] if args.key?(:bgp_always_compare_med)
|
28843
28873
|
@bgp_best_path_selection_mode = args[:bgp_best_path_selection_mode] if args.key?(:bgp_best_path_selection_mode)
|
28874
|
+
@bgp_inter_region_cost = args[:bgp_inter_region_cost] if args.key?(:bgp_inter_region_cost)
|
28844
28875
|
@routing_mode = args[:routing_mode] if args.key?(:routing_mode)
|
28845
28876
|
end
|
28846
28877
|
end
|
@@ -39968,6 +39999,20 @@ module Google
|
|
39968
39999
|
attr_accessor :enable_ipv6
|
39969
40000
|
alias_method :enable_ipv6?, :enable_ipv6
|
39970
40001
|
|
40002
|
+
# List of export policies applied to this peer, in the order they must be
|
40003
|
+
# evaluated. The name must correspond to an existing policy that has
|
40004
|
+
# ROUTE_POLICY_TYPE_EXPORT type.
|
40005
|
+
# Corresponds to the JSON property `exportPolicies`
|
40006
|
+
# @return [Array<String>]
|
40007
|
+
attr_accessor :export_policies
|
40008
|
+
|
40009
|
+
# List of import policies applied to this peer, in the order they must be
|
40010
|
+
# evaluated. The name must correspond to an existing policy that has
|
40011
|
+
# ROUTE_POLICY_TYPE_IMPORT type.
|
40012
|
+
# Corresponds to the JSON property `importPolicies`
|
40013
|
+
# @return [Array<String>]
|
40014
|
+
attr_accessor :import_policies
|
40015
|
+
|
39971
40016
|
# Name of the interface the BGP peer is associated with.
|
39972
40017
|
# Corresponds to the JSON property `interfaceName`
|
39973
40018
|
# @return [String]
|
@@ -40062,6 +40107,8 @@ module Google
|
|
40062
40107
|
@enable = args[:enable] if args.key?(:enable)
|
40063
40108
|
@enable_ipv4 = args[:enable_ipv4] if args.key?(:enable_ipv4)
|
40064
40109
|
@enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
|
40110
|
+
@export_policies = args[:export_policies] if args.key?(:export_policies)
|
40111
|
+
@import_policies = args[:import_policies] if args.key?(:import_policies)
|
40065
40112
|
@interface_name = args[:interface_name] if args.key?(:interface_name)
|
40066
40113
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
40067
40114
|
@ipv4_nexthop_address = args[:ipv4_nexthop_address] if args.key?(:ipv4_nexthop_address)
|
@@ -40654,8 +40701,8 @@ module Google
|
|
40654
40701
|
# "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.
|
40655
40702
|
# 0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The
|
40656
40703
|
# following example is a valid match expression for private NAT: "nexthop.hub ==
|
40657
|
-
# '
|
40658
|
-
#
|
40704
|
+
# '//networkconnectivity.googleapis.com/projects/my-project/locations/global/
|
40705
|
+
# hubs/hub-1'"
|
40659
40706
|
# Corresponds to the JSON property `match`
|
40660
40707
|
# @return [String]
|
40661
40708
|
attr_accessor :match
|
@@ -41135,9 +41182,9 @@ module Google
|
|
41135
41182
|
attr_accessor :self_link
|
41136
41183
|
|
41137
41184
|
# [Output Only] Unreachable resources.
|
41138
|
-
# Corresponds to the JSON property `
|
41185
|
+
# Corresponds to the JSON property `unreachables`
|
41139
41186
|
# @return [Array<String>]
|
41140
|
-
attr_accessor :
|
41187
|
+
attr_accessor :unreachables
|
41141
41188
|
|
41142
41189
|
# [Output Only] Informational warning message.
|
41143
41190
|
# Corresponds to the JSON property `warning`
|
@@ -41156,7 +41203,7 @@ module Google
|
|
41156
41203
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
41157
41204
|
@result = args[:result] if args.key?(:result)
|
41158
41205
|
@self_link = args[:self_link] if args.key?(:self_link)
|
41159
|
-
@
|
41206
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
41160
41207
|
@warning = args[:warning] if args.key?(:warning)
|
41161
41208
|
end
|
41162
41209
|
|
@@ -41266,9 +41313,9 @@ module Google
|
|
41266
41313
|
attr_accessor :self_link
|
41267
41314
|
|
41268
41315
|
# [Output Only] Unreachable resources.
|
41269
|
-
# Corresponds to the JSON property `
|
41316
|
+
# Corresponds to the JSON property `unreachables`
|
41270
41317
|
# @return [Array<String>]
|
41271
|
-
attr_accessor :
|
41318
|
+
attr_accessor :unreachables
|
41272
41319
|
|
41273
41320
|
# [Output Only] Informational warning message.
|
41274
41321
|
# Corresponds to the JSON property `warning`
|
@@ -41287,7 +41334,7 @@ module Google
|
|
41287
41334
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
41288
41335
|
@result = args[:result] if args.key?(:result)
|
41289
41336
|
@self_link = args[:self_link] if args.key?(:self_link)
|
41290
|
-
@
|
41337
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
41291
41338
|
@warning = args[:warning] if args.key?(:warning)
|
41292
41339
|
end
|
41293
41340
|
|
@@ -44169,6 +44216,13 @@ module Google
|
|
44169
44216
|
# @return [String]
|
44170
44217
|
attr_accessor :producer_forwarding_rule
|
44171
44218
|
|
44219
|
+
# The number of VPCs to which this endpoint is allowed to be propagated per
|
44220
|
+
# accept list resource (project or network). For ACCEPT_AUTOMATIC service
|
44221
|
+
# attachment, this limit is default to per project.
|
44222
|
+
# Corresponds to the JSON property `propagatedConnectionLimit`
|
44223
|
+
# @return [Fixnum]
|
44224
|
+
attr_accessor :propagated_connection_limit
|
44225
|
+
|
44172
44226
|
# [Output Only] An 128-bit global unique ID of the PSC service attachment.
|
44173
44227
|
# Corresponds to the JSON property `pscServiceAttachmentId`
|
44174
44228
|
# @return [Google::Apis::ComputeAlpha::Uint128]
|
@@ -44182,7 +44236,7 @@ module Google
|
|
44182
44236
|
# affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For example, an
|
44183
44237
|
# ACCEPTED PSC endpoint will be moved to REJECTED if its project is added to the
|
44184
44238
|
# reject list. For newly created service attachment, this boolean defaults to
|
44185
|
-
#
|
44239
|
+
# false.
|
44186
44240
|
# Corresponds to the JSON property `reconcileConnections`
|
44187
44241
|
# @return [Boolean]
|
44188
44242
|
attr_accessor :reconcile_connections
|
@@ -44234,6 +44288,7 @@ module Google
|
|
44234
44288
|
@name = args[:name] if args.key?(:name)
|
44235
44289
|
@nat_subnets = args[:nat_subnets] if args.key?(:nat_subnets)
|
44236
44290
|
@producer_forwarding_rule = args[:producer_forwarding_rule] if args.key?(:producer_forwarding_rule)
|
44291
|
+
@propagated_connection_limit = args[:propagated_connection_limit] if args.key?(:propagated_connection_limit)
|
44237
44292
|
@psc_service_attachment_id = args[:psc_service_attachment_id] if args.key?(:psc_service_attachment_id)
|
44238
44293
|
@reconcile_connections = args[:reconcile_connections] if args.key?(:reconcile_connections)
|
44239
44294
|
@region = args[:region] if args.key?(:region)
|
@@ -45265,6 +45320,12 @@ module Google
|
|
45265
45320
|
# @return [String]
|
45266
45321
|
attr_accessor :name
|
45267
45322
|
|
45323
|
+
# [Output Only] URL of the region where the snapshot resides. Only applicable
|
45324
|
+
# for regional snapshots.
|
45325
|
+
# Corresponds to the JSON property `region`
|
45326
|
+
# @return [String]
|
45327
|
+
attr_accessor :region
|
45328
|
+
|
45268
45329
|
# [Output Only] Reserved for future use.
|
45269
45330
|
# Corresponds to the JSON property `satisfiesPzs`
|
45270
45331
|
# @return [Boolean]
|
@@ -45413,6 +45474,7 @@ module Google
|
|
45413
45474
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
45414
45475
|
@max_retention_days = args[:max_retention_days] if args.key?(:max_retention_days)
|
45415
45476
|
@name = args[:name] if args.key?(:name)
|
45477
|
+
@region = args[:region] if args.key?(:region)
|
45416
45478
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
45417
45479
|
@self_link = args[:self_link] if args.key?(:self_link)
|
45418
45480
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
@@ -47030,6 +47092,11 @@ module Google
|
|
47030
47092
|
class StoragePool
|
47031
47093
|
include Google::Apis::Core::Hashable
|
47032
47094
|
|
47095
|
+
# Provisioning type of the byte capacity of the pool.
|
47096
|
+
# Corresponds to the JSON property `capacityProvisioningType`
|
47097
|
+
# @return [String]
|
47098
|
+
attr_accessor :capacity_provisioning_type
|
47099
|
+
|
47033
47100
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
47034
47101
|
# Corresponds to the JSON property `creationTimestamp`
|
47035
47102
|
# @return [String]
|
@@ -47081,6 +47148,12 @@ module Google
|
|
47081
47148
|
# @return [String]
|
47082
47149
|
attr_accessor :name
|
47083
47150
|
|
47151
|
+
# Provisioning type of the performance-related parameters of the pool, such as
|
47152
|
+
# throughput and IOPS.
|
47153
|
+
# Corresponds to the JSON property `performanceProvisioningType`
|
47154
|
+
# @return [String]
|
47155
|
+
attr_accessor :performance_provisioning_type
|
47156
|
+
|
47084
47157
|
# Provsioned IOPS of the storage pool.
|
47085
47158
|
# Corresponds to the JSON property `provisionedIops`
|
47086
47159
|
# @return [Fixnum]
|
@@ -47129,11 +47202,6 @@ module Google
|
|
47129
47202
|
# @return [String]
|
47130
47203
|
attr_accessor :storage_pool_type
|
47131
47204
|
|
47132
|
-
# Type of the storage pool
|
47133
|
-
# Corresponds to the JSON property `type`
|
47134
|
-
# @return [String]
|
47135
|
-
attr_accessor :type
|
47136
|
-
|
47137
47205
|
# [Output Only] URL of the zone where the storage pool resides. You must specify
|
47138
47206
|
# this field as part of the HTTP request URL. It is not settable as a field in
|
47139
47207
|
# the request body.
|
@@ -47147,6 +47215,7 @@ module Google
|
|
47147
47215
|
|
47148
47216
|
# Update properties of this object
|
47149
47217
|
def update!(**args)
|
47218
|
+
@capacity_provisioning_type = args[:capacity_provisioning_type] if args.key?(:capacity_provisioning_type)
|
47150
47219
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
47151
47220
|
@description = args[:description] if args.key?(:description)
|
47152
47221
|
@id = args[:id] if args.key?(:id)
|
@@ -47154,6 +47223,7 @@ module Google
|
|
47154
47223
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
47155
47224
|
@labels = args[:labels] if args.key?(:labels)
|
47156
47225
|
@name = args[:name] if args.key?(:name)
|
47226
|
+
@performance_provisioning_type = args[:performance_provisioning_type] if args.key?(:performance_provisioning_type)
|
47157
47227
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
47158
47228
|
@provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
|
47159
47229
|
@resource_status = args[:resource_status] if args.key?(:resource_status)
|
@@ -47163,7 +47233,6 @@ module Google
|
|
47163
47233
|
@state = args[:state] if args.key?(:state)
|
47164
47234
|
@status = args[:status] if args.key?(:status)
|
47165
47235
|
@storage_pool_type = args[:storage_pool_type] if args.key?(:storage_pool_type)
|
47166
|
-
@type = args[:type] if args.key?(:type)
|
47167
47236
|
@zone = args[:zone] if args.key?(:zone)
|
47168
47237
|
end
|
47169
47238
|
end
|
@@ -47704,6 +47773,445 @@ module Google
|
|
47704
47773
|
end
|
47705
47774
|
end
|
47706
47775
|
|
47776
|
+
#
|
47777
|
+
class StoragePoolType
|
47778
|
+
include Google::Apis::Core::Hashable
|
47779
|
+
|
47780
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
47781
|
+
# Corresponds to the JSON property `creationTimestamp`
|
47782
|
+
# @return [String]
|
47783
|
+
attr_accessor :creation_timestamp
|
47784
|
+
|
47785
|
+
# Deprecation status for a public resource.
|
47786
|
+
# Corresponds to the JSON property `deprecated`
|
47787
|
+
# @return [Google::Apis::ComputeAlpha::DeprecationStatus]
|
47788
|
+
attr_accessor :deprecated
|
47789
|
+
|
47790
|
+
# [Output Only] An optional description of this resource.
|
47791
|
+
# Corresponds to the JSON property `description`
|
47792
|
+
# @return [String]
|
47793
|
+
attr_accessor :description
|
47794
|
+
|
47795
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
47796
|
+
# defined by the server.
|
47797
|
+
# Corresponds to the JSON property `id`
|
47798
|
+
# @return [Fixnum]
|
47799
|
+
attr_accessor :id
|
47800
|
+
|
47801
|
+
# [Output Only] Type of the resource. Always compute#storagePoolType for storage
|
47802
|
+
# pool types.
|
47803
|
+
# Corresponds to the JSON property `kind`
|
47804
|
+
# @return [String]
|
47805
|
+
attr_accessor :kind
|
47806
|
+
|
47807
|
+
# [Output Only] Maximum provisioned IOPS.
|
47808
|
+
# Corresponds to the JSON property `maxProvisionedIops`
|
47809
|
+
# @return [Fixnum]
|
47810
|
+
attr_accessor :max_provisioned_iops
|
47811
|
+
|
47812
|
+
# [Output Only] Maximum provisioned throughput.
|
47813
|
+
# Corresponds to the JSON property `maxProvisionedThroughput`
|
47814
|
+
# @return [Fixnum]
|
47815
|
+
attr_accessor :max_provisioned_throughput
|
47816
|
+
|
47817
|
+
# [Output Only] Maximum storage pool size in GB.
|
47818
|
+
# Corresponds to the JSON property `maxSizeGb`
|
47819
|
+
# @return [Fixnum]
|
47820
|
+
attr_accessor :max_size_gb
|
47821
|
+
|
47822
|
+
# [Output Only] Minimum provisioned IOPS.
|
47823
|
+
# Corresponds to the JSON property `minProvisionedIops`
|
47824
|
+
# @return [Fixnum]
|
47825
|
+
attr_accessor :min_provisioned_iops
|
47826
|
+
|
47827
|
+
# [Output Only] Minimum provisioned throughput.
|
47828
|
+
# Corresponds to the JSON property `minProvisionedThroughput`
|
47829
|
+
# @return [Fixnum]
|
47830
|
+
attr_accessor :min_provisioned_throughput
|
47831
|
+
|
47832
|
+
# [Output Only] Minimum storage pool size in GB.
|
47833
|
+
# Corresponds to the JSON property `minSizeGb`
|
47834
|
+
# @return [Fixnum]
|
47835
|
+
attr_accessor :min_size_gb
|
47836
|
+
|
47837
|
+
# [Output Only] Name of the resource.
|
47838
|
+
# Corresponds to the JSON property `name`
|
47839
|
+
# @return [String]
|
47840
|
+
attr_accessor :name
|
47841
|
+
|
47842
|
+
# [Output Only] Server-defined URL for the resource.
|
47843
|
+
# Corresponds to the JSON property `selfLink`
|
47844
|
+
# @return [String]
|
47845
|
+
attr_accessor :self_link
|
47846
|
+
|
47847
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
47848
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
47849
|
+
# @return [String]
|
47850
|
+
attr_accessor :self_link_with_id
|
47851
|
+
|
47852
|
+
# [Output Only] The list of disk types supported in this storage pool type.
|
47853
|
+
# Corresponds to the JSON property `supportedDiskTypes`
|
47854
|
+
# @return [Array<String>]
|
47855
|
+
attr_accessor :supported_disk_types
|
47856
|
+
|
47857
|
+
# [Output Only] URL of the zone where the storage pool type resides. You must
|
47858
|
+
# specify this field as part of the HTTP request URL. It is not settable as a
|
47859
|
+
# field in the request body.
|
47860
|
+
# Corresponds to the JSON property `zone`
|
47861
|
+
# @return [String]
|
47862
|
+
attr_accessor :zone
|
47863
|
+
|
47864
|
+
def initialize(**args)
|
47865
|
+
update!(**args)
|
47866
|
+
end
|
47867
|
+
|
47868
|
+
# Update properties of this object
|
47869
|
+
def update!(**args)
|
47870
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
47871
|
+
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
47872
|
+
@description = args[:description] if args.key?(:description)
|
47873
|
+
@id = args[:id] if args.key?(:id)
|
47874
|
+
@kind = args[:kind] if args.key?(:kind)
|
47875
|
+
@max_provisioned_iops = args[:max_provisioned_iops] if args.key?(:max_provisioned_iops)
|
47876
|
+
@max_provisioned_throughput = args[:max_provisioned_throughput] if args.key?(:max_provisioned_throughput)
|
47877
|
+
@max_size_gb = args[:max_size_gb] if args.key?(:max_size_gb)
|
47878
|
+
@min_provisioned_iops = args[:min_provisioned_iops] if args.key?(:min_provisioned_iops)
|
47879
|
+
@min_provisioned_throughput = args[:min_provisioned_throughput] if args.key?(:min_provisioned_throughput)
|
47880
|
+
@min_size_gb = args[:min_size_gb] if args.key?(:min_size_gb)
|
47881
|
+
@name = args[:name] if args.key?(:name)
|
47882
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
47883
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
47884
|
+
@supported_disk_types = args[:supported_disk_types] if args.key?(:supported_disk_types)
|
47885
|
+
@zone = args[:zone] if args.key?(:zone)
|
47886
|
+
end
|
47887
|
+
end
|
47888
|
+
|
47889
|
+
#
|
47890
|
+
class StoragePoolTypeAggregatedList
|
47891
|
+
include Google::Apis::Core::Hashable
|
47892
|
+
|
47893
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
47894
|
+
# Corresponds to the JSON property `id`
|
47895
|
+
# @return [String]
|
47896
|
+
attr_accessor :id
|
47897
|
+
|
47898
|
+
# A list of StoragePoolTypesScopedList resources.
|
47899
|
+
# Corresponds to the JSON property `items`
|
47900
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::StoragePoolTypesScopedList>]
|
47901
|
+
attr_accessor :items
|
47902
|
+
|
47903
|
+
# [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
|
47904
|
+
# Corresponds to the JSON property `kind`
|
47905
|
+
# @return [String]
|
47906
|
+
attr_accessor :kind
|
47907
|
+
|
47908
|
+
# [Output Only] This token allows you to get the next page of results for list
|
47909
|
+
# requests. If the number of results is larger than maxResults, use the
|
47910
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
47911
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
47912
|
+
# continue paging through the results.
|
47913
|
+
# Corresponds to the JSON property `nextPageToken`
|
47914
|
+
# @return [String]
|
47915
|
+
attr_accessor :next_page_token
|
47916
|
+
|
47917
|
+
# [Output Only] Server-defined URL for this resource.
|
47918
|
+
# Corresponds to the JSON property `selfLink`
|
47919
|
+
# @return [String]
|
47920
|
+
attr_accessor :self_link
|
47921
|
+
|
47922
|
+
# [Output Only] Informational warning message.
|
47923
|
+
# Corresponds to the JSON property `warning`
|
47924
|
+
# @return [Google::Apis::ComputeAlpha::StoragePoolTypeAggregatedList::Warning]
|
47925
|
+
attr_accessor :warning
|
47926
|
+
|
47927
|
+
def initialize(**args)
|
47928
|
+
update!(**args)
|
47929
|
+
end
|
47930
|
+
|
47931
|
+
# Update properties of this object
|
47932
|
+
def update!(**args)
|
47933
|
+
@id = args[:id] if args.key?(:id)
|
47934
|
+
@items = args[:items] if args.key?(:items)
|
47935
|
+
@kind = args[:kind] if args.key?(:kind)
|
47936
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
47937
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
47938
|
+
@warning = args[:warning] if args.key?(:warning)
|
47939
|
+
end
|
47940
|
+
|
47941
|
+
# [Output Only] Informational warning message.
|
47942
|
+
class Warning
|
47943
|
+
include Google::Apis::Core::Hashable
|
47944
|
+
|
47945
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
47946
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
47947
|
+
# Corresponds to the JSON property `code`
|
47948
|
+
# @return [String]
|
47949
|
+
attr_accessor :code
|
47950
|
+
|
47951
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
47952
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
47953
|
+
# Corresponds to the JSON property `data`
|
47954
|
+
# @return [Array<Google::Apis::ComputeAlpha::StoragePoolTypeAggregatedList::Warning::Datum>]
|
47955
|
+
attr_accessor :data
|
47956
|
+
|
47957
|
+
# [Output Only] A human-readable description of the warning code.
|
47958
|
+
# Corresponds to the JSON property `message`
|
47959
|
+
# @return [String]
|
47960
|
+
attr_accessor :message
|
47961
|
+
|
47962
|
+
def initialize(**args)
|
47963
|
+
update!(**args)
|
47964
|
+
end
|
47965
|
+
|
47966
|
+
# Update properties of this object
|
47967
|
+
def update!(**args)
|
47968
|
+
@code = args[:code] if args.key?(:code)
|
47969
|
+
@data = args[:data] if args.key?(:data)
|
47970
|
+
@message = args[:message] if args.key?(:message)
|
47971
|
+
end
|
47972
|
+
|
47973
|
+
#
|
47974
|
+
class Datum
|
47975
|
+
include Google::Apis::Core::Hashable
|
47976
|
+
|
47977
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
47978
|
+
# For example, for warnings where there are no results in a list request for a
|
47979
|
+
# particular zone, this key might be scope and the key value might be the zone
|
47980
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
47981
|
+
# suggested replacement, or a warning about invalid network settings (for
|
47982
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
47983
|
+
# for IP forwarding).
|
47984
|
+
# Corresponds to the JSON property `key`
|
47985
|
+
# @return [String]
|
47986
|
+
attr_accessor :key
|
47987
|
+
|
47988
|
+
# [Output Only] A warning data value corresponding to the key.
|
47989
|
+
# Corresponds to the JSON property `value`
|
47990
|
+
# @return [String]
|
47991
|
+
attr_accessor :value
|
47992
|
+
|
47993
|
+
def initialize(**args)
|
47994
|
+
update!(**args)
|
47995
|
+
end
|
47996
|
+
|
47997
|
+
# Update properties of this object
|
47998
|
+
def update!(**args)
|
47999
|
+
@key = args[:key] if args.key?(:key)
|
48000
|
+
@value = args[:value] if args.key?(:value)
|
48001
|
+
end
|
48002
|
+
end
|
48003
|
+
end
|
48004
|
+
end
|
48005
|
+
|
48006
|
+
# Contains a list of storage pool types.
|
48007
|
+
class StoragePoolTypeList
|
48008
|
+
include Google::Apis::Core::Hashable
|
48009
|
+
|
48010
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
48011
|
+
# Corresponds to the JSON property `id`
|
48012
|
+
# @return [String]
|
48013
|
+
attr_accessor :id
|
48014
|
+
|
48015
|
+
# A list of StoragePoolType resources.
|
48016
|
+
# Corresponds to the JSON property `items`
|
48017
|
+
# @return [Array<Google::Apis::ComputeAlpha::StoragePoolType>]
|
48018
|
+
attr_accessor :items
|
48019
|
+
|
48020
|
+
# [Output Only] Type of resource. Always compute#storagePoolTypeList for storage
|
48021
|
+
# pool types.
|
48022
|
+
# Corresponds to the JSON property `kind`
|
48023
|
+
# @return [String]
|
48024
|
+
attr_accessor :kind
|
48025
|
+
|
48026
|
+
# [Output Only] This token allows you to get the next page of results for list
|
48027
|
+
# requests. If the number of results is larger than maxResults, use the
|
48028
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
48029
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
48030
|
+
# continue paging through the results.
|
48031
|
+
# Corresponds to the JSON property `nextPageToken`
|
48032
|
+
# @return [String]
|
48033
|
+
attr_accessor :next_page_token
|
48034
|
+
|
48035
|
+
# [Output Only] Server-defined URL for this resource.
|
48036
|
+
# Corresponds to the JSON property `selfLink`
|
48037
|
+
# @return [String]
|
48038
|
+
attr_accessor :self_link
|
48039
|
+
|
48040
|
+
# [Output Only] Informational warning message.
|
48041
|
+
# Corresponds to the JSON property `warning`
|
48042
|
+
# @return [Google::Apis::ComputeAlpha::StoragePoolTypeList::Warning]
|
48043
|
+
attr_accessor :warning
|
48044
|
+
|
48045
|
+
def initialize(**args)
|
48046
|
+
update!(**args)
|
48047
|
+
end
|
48048
|
+
|
48049
|
+
# Update properties of this object
|
48050
|
+
def update!(**args)
|
48051
|
+
@id = args[:id] if args.key?(:id)
|
48052
|
+
@items = args[:items] if args.key?(:items)
|
48053
|
+
@kind = args[:kind] if args.key?(:kind)
|
48054
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
48055
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
48056
|
+
@warning = args[:warning] if args.key?(:warning)
|
48057
|
+
end
|
48058
|
+
|
48059
|
+
# [Output Only] Informational warning message.
|
48060
|
+
class Warning
|
48061
|
+
include Google::Apis::Core::Hashable
|
48062
|
+
|
48063
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
48064
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
48065
|
+
# Corresponds to the JSON property `code`
|
48066
|
+
# @return [String]
|
48067
|
+
attr_accessor :code
|
48068
|
+
|
48069
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
48070
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
48071
|
+
# Corresponds to the JSON property `data`
|
48072
|
+
# @return [Array<Google::Apis::ComputeAlpha::StoragePoolTypeList::Warning::Datum>]
|
48073
|
+
attr_accessor :data
|
48074
|
+
|
48075
|
+
# [Output Only] A human-readable description of the warning code.
|
48076
|
+
# Corresponds to the JSON property `message`
|
48077
|
+
# @return [String]
|
48078
|
+
attr_accessor :message
|
48079
|
+
|
48080
|
+
def initialize(**args)
|
48081
|
+
update!(**args)
|
48082
|
+
end
|
48083
|
+
|
48084
|
+
# Update properties of this object
|
48085
|
+
def update!(**args)
|
48086
|
+
@code = args[:code] if args.key?(:code)
|
48087
|
+
@data = args[:data] if args.key?(:data)
|
48088
|
+
@message = args[:message] if args.key?(:message)
|
48089
|
+
end
|
48090
|
+
|
48091
|
+
#
|
48092
|
+
class Datum
|
48093
|
+
include Google::Apis::Core::Hashable
|
48094
|
+
|
48095
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
48096
|
+
# For example, for warnings where there are no results in a list request for a
|
48097
|
+
# particular zone, this key might be scope and the key value might be the zone
|
48098
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
48099
|
+
# suggested replacement, or a warning about invalid network settings (for
|
48100
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
48101
|
+
# for IP forwarding).
|
48102
|
+
# Corresponds to the JSON property `key`
|
48103
|
+
# @return [String]
|
48104
|
+
attr_accessor :key
|
48105
|
+
|
48106
|
+
# [Output Only] A warning data value corresponding to the key.
|
48107
|
+
# Corresponds to the JSON property `value`
|
48108
|
+
# @return [String]
|
48109
|
+
attr_accessor :value
|
48110
|
+
|
48111
|
+
def initialize(**args)
|
48112
|
+
update!(**args)
|
48113
|
+
end
|
48114
|
+
|
48115
|
+
# Update properties of this object
|
48116
|
+
def update!(**args)
|
48117
|
+
@key = args[:key] if args.key?(:key)
|
48118
|
+
@value = args[:value] if args.key?(:value)
|
48119
|
+
end
|
48120
|
+
end
|
48121
|
+
end
|
48122
|
+
end
|
48123
|
+
|
48124
|
+
#
|
48125
|
+
class StoragePoolTypesScopedList
|
48126
|
+
include Google::Apis::Core::Hashable
|
48127
|
+
|
48128
|
+
# [Output Only] A list of storage pool types contained in this scope.
|
48129
|
+
# Corresponds to the JSON property `storagePoolTypes`
|
48130
|
+
# @return [Array<Google::Apis::ComputeAlpha::StoragePoolType>]
|
48131
|
+
attr_accessor :storage_pool_types
|
48132
|
+
|
48133
|
+
# [Output Only] Informational warning which replaces the list of storage pool
|
48134
|
+
# types when the list is empty.
|
48135
|
+
# Corresponds to the JSON property `warning`
|
48136
|
+
# @return [Google::Apis::ComputeAlpha::StoragePoolTypesScopedList::Warning]
|
48137
|
+
attr_accessor :warning
|
48138
|
+
|
48139
|
+
def initialize(**args)
|
48140
|
+
update!(**args)
|
48141
|
+
end
|
48142
|
+
|
48143
|
+
# Update properties of this object
|
48144
|
+
def update!(**args)
|
48145
|
+
@storage_pool_types = args[:storage_pool_types] if args.key?(:storage_pool_types)
|
48146
|
+
@warning = args[:warning] if args.key?(:warning)
|
48147
|
+
end
|
48148
|
+
|
48149
|
+
# [Output Only] Informational warning which replaces the list of storage pool
|
48150
|
+
# types when the list is empty.
|
48151
|
+
class Warning
|
48152
|
+
include Google::Apis::Core::Hashable
|
48153
|
+
|
48154
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
48155
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
48156
|
+
# Corresponds to the JSON property `code`
|
48157
|
+
# @return [String]
|
48158
|
+
attr_accessor :code
|
48159
|
+
|
48160
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
48161
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
48162
|
+
# Corresponds to the JSON property `data`
|
48163
|
+
# @return [Array<Google::Apis::ComputeAlpha::StoragePoolTypesScopedList::Warning::Datum>]
|
48164
|
+
attr_accessor :data
|
48165
|
+
|
48166
|
+
# [Output Only] A human-readable description of the warning code.
|
48167
|
+
# Corresponds to the JSON property `message`
|
48168
|
+
# @return [String]
|
48169
|
+
attr_accessor :message
|
48170
|
+
|
48171
|
+
def initialize(**args)
|
48172
|
+
update!(**args)
|
48173
|
+
end
|
48174
|
+
|
48175
|
+
# Update properties of this object
|
48176
|
+
def update!(**args)
|
48177
|
+
@code = args[:code] if args.key?(:code)
|
48178
|
+
@data = args[:data] if args.key?(:data)
|
48179
|
+
@message = args[:message] if args.key?(:message)
|
48180
|
+
end
|
48181
|
+
|
48182
|
+
#
|
48183
|
+
class Datum
|
48184
|
+
include Google::Apis::Core::Hashable
|
48185
|
+
|
48186
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
48187
|
+
# For example, for warnings where there are no results in a list request for a
|
48188
|
+
# particular zone, this key might be scope and the key value might be the zone
|
48189
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
48190
|
+
# suggested replacement, or a warning about invalid network settings (for
|
48191
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
48192
|
+
# for IP forwarding).
|
48193
|
+
# Corresponds to the JSON property `key`
|
48194
|
+
# @return [String]
|
48195
|
+
attr_accessor :key
|
48196
|
+
|
48197
|
+
# [Output Only] A warning data value corresponding to the key.
|
48198
|
+
# Corresponds to the JSON property `value`
|
48199
|
+
# @return [String]
|
48200
|
+
attr_accessor :value
|
48201
|
+
|
48202
|
+
def initialize(**args)
|
48203
|
+
update!(**args)
|
48204
|
+
end
|
48205
|
+
|
48206
|
+
# Update properties of this object
|
48207
|
+
def update!(**args)
|
48208
|
+
@key = args[:key] if args.key?(:key)
|
48209
|
+
@value = args[:value] if args.key?(:value)
|
48210
|
+
end
|
48211
|
+
end
|
48212
|
+
end
|
48213
|
+
end
|
48214
|
+
|
47707
48215
|
#
|
47708
48216
|
class StoragePoolsScopedList
|
47709
48217
|
include Google::Apis::Core::Hashable
|
@@ -52622,7 +53130,6 @@ module Google
|
|
52622
53130
|
attr_accessor :maintenance_status
|
52623
53131
|
|
52624
53132
|
# Represents a window of time using two timestamps: `earliest` and `latest`.
|
52625
|
-
# This timestamp values are in RFC3339 text format.
|
52626
53133
|
# Corresponds to the JSON property `startTimeWindow`
|
52627
53134
|
# @return [Google::Apis::ComputeAlpha::UpcomingMaintenanceTimeWindow]
|
52628
53135
|
attr_accessor :start_time_window
|
@@ -52669,7 +53176,6 @@ module Google
|
|
52669
53176
|
end
|
52670
53177
|
|
52671
53178
|
# Represents a window of time using two timestamps: `earliest` and `latest`.
|
52672
|
-
# This timestamp values are in RFC3339 text format.
|
52673
53179
|
class UpcomingMaintenanceTimeWindow
|
52674
53180
|
include Google::Apis::Core::Hashable
|
52675
53181
|
|