google-apis-compute_beta 0.93.0 → 0.95.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1830,6 +1830,15 @@ module Google
1830
1830
  # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
1831
1831
  attr_accessor :source_snapshot_encryption_key
1832
1832
 
1833
+ # The storage pool in which the new disk is created. You can provide this as a
1834
+ # partial or full URL to the resource. For example, the following are valid
1835
+ # values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /
1836
+ # storagePools/storagePool - projects/project/zones/zone/storagePools/
1837
+ # storagePool - zones/zone/storagePools/storagePool
1838
+ # Corresponds to the JSON property `storagePool`
1839
+ # @return [String]
1840
+ attr_accessor :storage_pool
1841
+
1833
1842
  def initialize(**args)
1834
1843
  update!(**args)
1835
1844
  end
@@ -1857,6 +1866,7 @@ module Google
1857
1866
  @source_instant_snapshot = args[:source_instant_snapshot] if args.key?(:source_instant_snapshot)
1858
1867
  @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
1859
1868
  @source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
1869
+ @storage_pool = args[:storage_pool] if args.key?(:storage_pool)
1860
1870
  end
1861
1871
  end
1862
1872
 
@@ -6259,10 +6269,10 @@ module Google
6259
6269
  attr_accessor :allow_methods
6260
6270
 
6261
6271
  # Specifies a regular expression that matches allowed origins. For more
6262
- # information about the regular expression syntax, see Syntax. An origin is
6263
- # allowed if it matches either an item in allowOrigins or an item in
6264
- # allowOriginRegexes. Regular expressions can only be used when the
6265
- # loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
6272
+ # information, see regular expression syntax . An origin is allowed if it
6273
+ # matches either an item in allowOrigins or an item in allowOriginRegexes.
6274
+ # Regular expressions can only be used when the loadBalancingScheme is set to
6275
+ # INTERNAL_SELF_MANAGED.
6266
6276
  # Corresponds to the JSON property `allowOriginRegexes`
6267
6277
  # @return [Array<String>]
6268
6278
  attr_accessor :allow_origin_regexes
@@ -6274,8 +6284,8 @@ module Google
6274
6284
  # @return [Array<String>]
6275
6285
  attr_accessor :allow_origins
6276
6286
 
6277
- # If true, the setting specifies the CORS policy is disabled. The default value
6278
- # of false, which indicates that the CORS policy is in effect.
6287
+ # If true, disables the CORS policy. The default value is false, which indicates
6288
+ # that the CORS policy is in effect.
6279
6289
  # Corresponds to the JSON property `disabled`
6280
6290
  # @return [Boolean]
6281
6291
  attr_accessor :disabled
@@ -6922,6 +6932,15 @@ module Google
6922
6932
  # @return [String]
6923
6933
  attr_accessor :status
6924
6934
 
6935
+ # The storage pool in which the new disk is created. You can provide this as a
6936
+ # partial or full URL to the resource. For example, the following are valid
6937
+ # values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /
6938
+ # storagePools/storagePool - projects/project/zones/zone/storagePools/
6939
+ # storagePool - zones/zone/storagePools/storagePool
6940
+ # Corresponds to the JSON property `storagePool`
6941
+ # @return [String]
6942
+ attr_accessor :storage_pool
6943
+
6925
6944
  # [Deprecated] Storage type of the persistent disk.
6926
6945
  # Corresponds to the JSON property `storageType`
6927
6946
  # @return [String]
@@ -7011,6 +7030,7 @@ module Google
7011
7030
  @source_snapshot_id = args[:source_snapshot_id] if args.key?(:source_snapshot_id)
7012
7031
  @source_storage_object = args[:source_storage_object] if args.key?(:source_storage_object)
7013
7032
  @status = args[:status] if args.key?(:status)
7033
+ @storage_pool = args[:storage_pool] if args.key?(:storage_pool)
7014
7034
  @storage_type = args[:storage_type] if args.key?(:storage_type)
7015
7035
  @type = args[:type] if args.key?(:type)
7016
7036
  @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
@@ -11713,7 +11733,7 @@ module Google
11713
11733
  # The ID of a supported feature. To add multiple values, use commas to separate
11714
11734
  # values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
11715
11735
  # WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE -
11716
- # SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE -
11736
+ # SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE -
11717
11737
  # TDX_CAPABLE - IDPF For more information, see Enabling guest operating system
11718
11738
  # features.
11719
11739
  # Corresponds to the JSON property `type`
@@ -15834,6 +15854,11 @@ module Google
15834
15854
  # @return [Array<Google::Apis::ComputeBeta::NamedPort>]
15835
15855
  attr_accessor :named_ports
15836
15856
 
15857
+ # Input only additional params for instance group manager creation.
15858
+ # Corresponds to the JSON property `params`
15859
+ # @return [Google::Apis::ComputeBeta::InstanceGroupManagerParams]
15860
+ attr_accessor :params
15861
+
15837
15862
  # [Output Only] The URL of the region where the managed instance group resides (
15838
15863
  # for regional resources).
15839
15864
  # Corresponds to the JSON property `region`
@@ -15945,6 +15970,7 @@ module Google
15945
15970
  @list_managed_instances_results = args[:list_managed_instances_results] if args.key?(:list_managed_instances_results)
15946
15971
  @name = args[:name] if args.key?(:name)
15947
15972
  @named_ports = args[:named_ports] if args.key?(:named_ports)
15973
+ @params = args[:params] if args.key?(:params)
15948
15974
  @region = args[:region] if args.key?(:region)
15949
15975
  @self_link = args[:self_link] if args.key?(:self_link)
15950
15976
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -16456,6 +16482,28 @@ module Google
16456
16482
  end
16457
16483
  end
16458
16484
 
16485
+ # Input only additional params for instance group manager creation.
16486
+ class InstanceGroupManagerParams
16487
+ include Google::Apis::Core::Hashable
16488
+
16489
+ # Resource manager tags to be bound to the instance group manager. Tag keys and
16490
+ # values have the same definition as resource manager tags. Keys must be in the
16491
+ # format `tagKeys/123`, and values are in the format `tagValues/456`. The field
16492
+ # is allowed for INSERT only.
16493
+ # Corresponds to the JSON property `resourceManagerTags`
16494
+ # @return [Hash<String,String>]
16495
+ attr_accessor :resource_manager_tags
16496
+
16497
+ def initialize(**args)
16498
+ update!(**args)
16499
+ end
16500
+
16501
+ # Update properties of this object
16502
+ def update!(**args)
16503
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
16504
+ end
16505
+ end
16506
+
16459
16507
  # InstanceGroupManagerResizeRequest represents a request to create a number of
16460
16508
  # VMs: either immediately or by queuing the request for the specified time. This
16461
16509
  # resize request is nested under InstanceGroupManager and the VMs created by
@@ -16463,7 +16511,8 @@ module Google
16463
16511
  class InstanceGroupManagerResizeRequest
16464
16512
  include Google::Apis::Core::Hashable
16465
16513
 
16466
- # The count of instances to create as part of this resize request.
16514
+ # This field is deprecated, please use resize_by instead. The count of instances
16515
+ # to create as part of this resize request.
16467
16516
  # Corresponds to the JSON property `count`
16468
16517
  # @return [Fixnum]
16469
16518
  attr_accessor :count
@@ -22524,10 +22573,10 @@ module Google
22524
22573
 
22525
22574
  # [Output Only] Port pair remote location constraints, which can take one of the
22526
22575
  # following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION,
22527
- # PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports,
22528
- # but the UI uses this field when ordering a pair of ports, to prevent users
22529
- # from accidentally ordering something that is incompatible with their cloud
22530
- # provider. Specifically, when ordering a redundant pair of Cross-Cloud
22576
+ # PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual
22577
+ # ports, but the UI uses this field when ordering a pair of ports, to prevent
22578
+ # users from accidentally ordering something that is incompatible with their
22579
+ # cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud
22531
22580
  # Interconnect ports, and one of them uses a remote location with
22532
22581
  # portPairMatchingRemoteLocation set to matching, the UI requires that both
22533
22582
  # ports use the same remote location.
@@ -34233,7 +34282,7 @@ module Google
34233
34282
  attr_accessor :rules
34234
34283
 
34235
34284
  # [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
34236
- # NETWORK, NETWORK_REGIONAL.
34285
+ # NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
34237
34286
  # Corresponds to the JSON property `type`
34238
34287
  # @return [String]
34239
34288
  attr_accessor :type
@@ -43330,6 +43379,1244 @@ module Google
43330
43379
  end
43331
43380
  end
43332
43381
 
43382
+ # Represents a zonal storage pool resource.
43383
+ class StoragePool
43384
+ include Google::Apis::Core::Hashable
43385
+
43386
+ # Provisioning type of the byte capacity of the pool.
43387
+ # Corresponds to the JSON property `capacityProvisioningType`
43388
+ # @return [String]
43389
+ attr_accessor :capacity_provisioning_type
43390
+
43391
+ # [Output Only] Creation timestamp in RFC3339 text format.
43392
+ # Corresponds to the JSON property `creationTimestamp`
43393
+ # @return [String]
43394
+ attr_accessor :creation_timestamp
43395
+
43396
+ # An optional description of this resource. Provide this property when you
43397
+ # create the resource.
43398
+ # Corresponds to the JSON property `description`
43399
+ # @return [String]
43400
+ attr_accessor :description
43401
+
43402
+ # [Output Only] The unique identifier for the resource. This identifier is
43403
+ # defined by the server.
43404
+ # Corresponds to the JSON property `id`
43405
+ # @return [Fixnum]
43406
+ attr_accessor :id
43407
+
43408
+ # [Output Only] Type of the resource. Always compute#storagePool for storage
43409
+ # pools.
43410
+ # Corresponds to the JSON property `kind`
43411
+ # @return [String]
43412
+ attr_accessor :kind
43413
+
43414
+ # A fingerprint for the labels being applied to this storage pool, which is
43415
+ # essentially a hash of the labels set used for optimistic locking. The
43416
+ # fingerprint is initially generated by Compute Engine and changes after every
43417
+ # request to modify or update labels. You must always provide an up-to-date
43418
+ # fingerprint hash in order to update or change labels, otherwise the request
43419
+ # will fail with error 412 conditionNotMet. To see the latest fingerprint, make
43420
+ # a get() request to retrieve a storage pool.
43421
+ # Corresponds to the JSON property `labelFingerprint`
43422
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
43423
+ # @return [String]
43424
+ attr_accessor :label_fingerprint
43425
+
43426
+ # Labels to apply to this storage pool. These can be later modified by the
43427
+ # setLabels method.
43428
+ # Corresponds to the JSON property `labels`
43429
+ # @return [Hash<String,String>]
43430
+ attr_accessor :labels
43431
+
43432
+ # Name of the resource. Provided by the client when the resource is created. The
43433
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
43434
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
43435
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
43436
+ # and all following characters must be a dash, lowercase letter, or digit,
43437
+ # except the last character, which cannot be a dash.
43438
+ # Corresponds to the JSON property `name`
43439
+ # @return [String]
43440
+ attr_accessor :name
43441
+
43442
+ # Provisioning type of the performance-related parameters of the pool, such as
43443
+ # throughput and IOPS.
43444
+ # Corresponds to the JSON property `performanceProvisioningType`
43445
+ # @return [String]
43446
+ attr_accessor :performance_provisioning_type
43447
+
43448
+ # Size, in GiB, of the storage pool.
43449
+ # Corresponds to the JSON property `poolProvisionedCapacityGb`
43450
+ # @return [Fixnum]
43451
+ attr_accessor :pool_provisioned_capacity_gb
43452
+
43453
+ # Provisioned IOPS of the storage pool. Only relevant if the storage pool type
43454
+ # is hyperdisk-balanced.
43455
+ # Corresponds to the JSON property `poolProvisionedIops`
43456
+ # @return [Fixnum]
43457
+ attr_accessor :pool_provisioned_iops
43458
+
43459
+ # Provisioned throughput of the storage pool. Only relevant if the storage pool
43460
+ # type is hyperdisk-balanced or hyperdisk-throughput.
43461
+ # Corresponds to the JSON property `poolProvisionedThroughput`
43462
+ # @return [Fixnum]
43463
+ attr_accessor :pool_provisioned_throughput
43464
+
43465
+ # [Output Only] Contains output only fields.
43466
+ # Corresponds to the JSON property `resourceStatus`
43467
+ # @return [Google::Apis::ComputeBeta::StoragePoolResourceStatus]
43468
+ attr_accessor :resource_status
43469
+
43470
+ # [Output Only] Server-defined fully-qualified URL for this resource.
43471
+ # Corresponds to the JSON property `selfLink`
43472
+ # @return [String]
43473
+ attr_accessor :self_link
43474
+
43475
+ # [Output Only] Server-defined URL for this resource's resource id.
43476
+ # Corresponds to the JSON property `selfLinkWithId`
43477
+ # @return [String]
43478
+ attr_accessor :self_link_with_id
43479
+
43480
+ # [Output Only] The status of storage pool creation. - CREATING: Storage pool is
43481
+ # provisioning. storagePool. - FAILED: Storage pool creation failed. - READY:
43482
+ # Storage pool is ready for use. - DELETING: Storage pool is deleting.
43483
+ # Corresponds to the JSON property `state`
43484
+ # @return [String]
43485
+ attr_accessor :state
43486
+
43487
+ # [Output Only] Contains output only fields.
43488
+ # Corresponds to the JSON property `status`
43489
+ # @return [Google::Apis::ComputeBeta::StoragePoolResourceStatus]
43490
+ attr_accessor :status
43491
+
43492
+ # Type of the storage pool.
43493
+ # Corresponds to the JSON property `storagePoolType`
43494
+ # @return [String]
43495
+ attr_accessor :storage_pool_type
43496
+
43497
+ # [Output Only] URL of the zone where the storage pool resides. You must specify
43498
+ # this field as part of the HTTP request URL. It is not settable as a field in
43499
+ # the request body.
43500
+ # Corresponds to the JSON property `zone`
43501
+ # @return [String]
43502
+ attr_accessor :zone
43503
+
43504
+ def initialize(**args)
43505
+ update!(**args)
43506
+ end
43507
+
43508
+ # Update properties of this object
43509
+ def update!(**args)
43510
+ @capacity_provisioning_type = args[:capacity_provisioning_type] if args.key?(:capacity_provisioning_type)
43511
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
43512
+ @description = args[:description] if args.key?(:description)
43513
+ @id = args[:id] if args.key?(:id)
43514
+ @kind = args[:kind] if args.key?(:kind)
43515
+ @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
43516
+ @labels = args[:labels] if args.key?(:labels)
43517
+ @name = args[:name] if args.key?(:name)
43518
+ @performance_provisioning_type = args[:performance_provisioning_type] if args.key?(:performance_provisioning_type)
43519
+ @pool_provisioned_capacity_gb = args[:pool_provisioned_capacity_gb] if args.key?(:pool_provisioned_capacity_gb)
43520
+ @pool_provisioned_iops = args[:pool_provisioned_iops] if args.key?(:pool_provisioned_iops)
43521
+ @pool_provisioned_throughput = args[:pool_provisioned_throughput] if args.key?(:pool_provisioned_throughput)
43522
+ @resource_status = args[:resource_status] if args.key?(:resource_status)
43523
+ @self_link = args[:self_link] if args.key?(:self_link)
43524
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
43525
+ @state = args[:state] if args.key?(:state)
43526
+ @status = args[:status] if args.key?(:status)
43527
+ @storage_pool_type = args[:storage_pool_type] if args.key?(:storage_pool_type)
43528
+ @zone = args[:zone] if args.key?(:zone)
43529
+ end
43530
+ end
43531
+
43532
+ #
43533
+ class StoragePoolAggregatedList
43534
+ include Google::Apis::Core::Hashable
43535
+
43536
+ #
43537
+ # Corresponds to the JSON property `etag`
43538
+ # @return [String]
43539
+ attr_accessor :etag
43540
+
43541
+ # [Output Only] Unique identifier for the resource; defined by the server.
43542
+ # Corresponds to the JSON property `id`
43543
+ # @return [String]
43544
+ attr_accessor :id
43545
+
43546
+ # A list of StoragePoolsScopedList resources.
43547
+ # Corresponds to the JSON property `items`
43548
+ # @return [Hash<String,Google::Apis::ComputeBeta::StoragePoolsScopedList>]
43549
+ attr_accessor :items
43550
+
43551
+ # [Output Only] Type of resource. Always compute#storagePoolAggregatedList for
43552
+ # aggregated lists of storage pools.
43553
+ # Corresponds to the JSON property `kind`
43554
+ # @return [String]
43555
+ attr_accessor :kind
43556
+
43557
+ # [Output Only] This token allows you to get the next page of results for list
43558
+ # requests. If the number of results is larger than maxResults, use the
43559
+ # nextPageToken as a value for the query parameter pageToken in the next list
43560
+ # request. Subsequent list requests will have their own nextPageToken to
43561
+ # continue paging through the results.
43562
+ # Corresponds to the JSON property `nextPageToken`
43563
+ # @return [String]
43564
+ attr_accessor :next_page_token
43565
+
43566
+ # [Output Only] Server-defined URL for this resource.
43567
+ # Corresponds to the JSON property `selfLink`
43568
+ # @return [String]
43569
+ attr_accessor :self_link
43570
+
43571
+ # [Output Only] Unreachable resources.
43572
+ # Corresponds to the JSON property `unreachables`
43573
+ # @return [Array<String>]
43574
+ attr_accessor :unreachables
43575
+
43576
+ # [Output Only] Informational warning message.
43577
+ # Corresponds to the JSON property `warning`
43578
+ # @return [Google::Apis::ComputeBeta::StoragePoolAggregatedList::Warning]
43579
+ attr_accessor :warning
43580
+
43581
+ def initialize(**args)
43582
+ update!(**args)
43583
+ end
43584
+
43585
+ # Update properties of this object
43586
+ def update!(**args)
43587
+ @etag = args[:etag] if args.key?(:etag)
43588
+ @id = args[:id] if args.key?(:id)
43589
+ @items = args[:items] if args.key?(:items)
43590
+ @kind = args[:kind] if args.key?(:kind)
43591
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
43592
+ @self_link = args[:self_link] if args.key?(:self_link)
43593
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
43594
+ @warning = args[:warning] if args.key?(:warning)
43595
+ end
43596
+
43597
+ # [Output Only] Informational warning message.
43598
+ class Warning
43599
+ include Google::Apis::Core::Hashable
43600
+
43601
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
43602
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
43603
+ # Corresponds to the JSON property `code`
43604
+ # @return [String]
43605
+ attr_accessor :code
43606
+
43607
+ # [Output Only] Metadata about this warning in key: value format. For example: "
43608
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
43609
+ # Corresponds to the JSON property `data`
43610
+ # @return [Array<Google::Apis::ComputeBeta::StoragePoolAggregatedList::Warning::Datum>]
43611
+ attr_accessor :data
43612
+
43613
+ # [Output Only] A human-readable description of the warning code.
43614
+ # Corresponds to the JSON property `message`
43615
+ # @return [String]
43616
+ attr_accessor :message
43617
+
43618
+ def initialize(**args)
43619
+ update!(**args)
43620
+ end
43621
+
43622
+ # Update properties of this object
43623
+ def update!(**args)
43624
+ @code = args[:code] if args.key?(:code)
43625
+ @data = args[:data] if args.key?(:data)
43626
+ @message = args[:message] if args.key?(:message)
43627
+ end
43628
+
43629
+ #
43630
+ class Datum
43631
+ include Google::Apis::Core::Hashable
43632
+
43633
+ # [Output Only] A key that provides more detail on the warning being returned.
43634
+ # For example, for warnings where there are no results in a list request for a
43635
+ # particular zone, this key might be scope and the key value might be the zone
43636
+ # name. Other examples might be a key indicating a deprecated resource and a
43637
+ # suggested replacement, or a warning about invalid network settings (for
43638
+ # example, if an instance attempts to perform IP forwarding but is not enabled
43639
+ # for IP forwarding).
43640
+ # Corresponds to the JSON property `key`
43641
+ # @return [String]
43642
+ attr_accessor :key
43643
+
43644
+ # [Output Only] A warning data value corresponding to the key.
43645
+ # Corresponds to the JSON property `value`
43646
+ # @return [String]
43647
+ attr_accessor :value
43648
+
43649
+ def initialize(**args)
43650
+ update!(**args)
43651
+ end
43652
+
43653
+ # Update properties of this object
43654
+ def update!(**args)
43655
+ @key = args[:key] if args.key?(:key)
43656
+ @value = args[:value] if args.key?(:value)
43657
+ end
43658
+ end
43659
+ end
43660
+ end
43661
+
43662
+ #
43663
+ class StoragePoolDisk
43664
+ include Google::Apis::Core::Hashable
43665
+
43666
+ # [Output Only] Instances this disk is attached to.
43667
+ # Corresponds to the JSON property `attachedInstances`
43668
+ # @return [Array<String>]
43669
+ attr_accessor :attached_instances
43670
+
43671
+ # [Output Only] Creation timestamp in RFC3339 text format.
43672
+ # Corresponds to the JSON property `creationTimestamp`
43673
+ # @return [String]
43674
+ attr_accessor :creation_timestamp
43675
+
43676
+ # [Output Only] The URL of the disk.
43677
+ # Corresponds to the JSON property `disk`
43678
+ # @return [String]
43679
+ attr_accessor :disk
43680
+
43681
+ # [Output Only] The name of the disk.
43682
+ # Corresponds to the JSON property `name`
43683
+ # @return [String]
43684
+ attr_accessor :name
43685
+
43686
+ # [Output Only] The number of IOPS provisioned for the disk.
43687
+ # Corresponds to the JSON property `provisionedIops`
43688
+ # @return [Fixnum]
43689
+ attr_accessor :provisioned_iops
43690
+
43691
+ # [Output Only] The throughput provisioned for the disk.
43692
+ # Corresponds to the JSON property `provisionedThroughput`
43693
+ # @return [Fixnum]
43694
+ attr_accessor :provisioned_throughput
43695
+
43696
+ # [Output Only] Resource policies applied to disk for automatic snapshot
43697
+ # creations.
43698
+ # Corresponds to the JSON property `resourcePolicies`
43699
+ # @return [Array<String>]
43700
+ attr_accessor :resource_policies
43701
+
43702
+ # [Output Only] The disk size, in GB.
43703
+ # Corresponds to the JSON property `sizeGb`
43704
+ # @return [Fixnum]
43705
+ attr_accessor :size_gb
43706
+
43707
+ # [Output Only] The disk status.
43708
+ # Corresponds to the JSON property `status`
43709
+ # @return [String]
43710
+ attr_accessor :status
43711
+
43712
+ # [Output Only] The disk type.
43713
+ # Corresponds to the JSON property `type`
43714
+ # @return [String]
43715
+ attr_accessor :type
43716
+
43717
+ # [Output Only] Amount of disk space used.
43718
+ # Corresponds to the JSON property `usedBytes`
43719
+ # @return [Fixnum]
43720
+ attr_accessor :used_bytes
43721
+
43722
+ def initialize(**args)
43723
+ update!(**args)
43724
+ end
43725
+
43726
+ # Update properties of this object
43727
+ def update!(**args)
43728
+ @attached_instances = args[:attached_instances] if args.key?(:attached_instances)
43729
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
43730
+ @disk = args[:disk] if args.key?(:disk)
43731
+ @name = args[:name] if args.key?(:name)
43732
+ @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
43733
+ @provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
43734
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
43735
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
43736
+ @status = args[:status] if args.key?(:status)
43737
+ @type = args[:type] if args.key?(:type)
43738
+ @used_bytes = args[:used_bytes] if args.key?(:used_bytes)
43739
+ end
43740
+ end
43741
+
43742
+ # A list of StoragePool resources.
43743
+ class StoragePoolList
43744
+ include Google::Apis::Core::Hashable
43745
+
43746
+ #
43747
+ # Corresponds to the JSON property `etag`
43748
+ # @return [String]
43749
+ attr_accessor :etag
43750
+
43751
+ # [Output Only] Unique identifier for the resource; defined by the server.
43752
+ # Corresponds to the JSON property `id`
43753
+ # @return [String]
43754
+ attr_accessor :id
43755
+
43756
+ # A list of StoragePool resources.
43757
+ # Corresponds to the JSON property `items`
43758
+ # @return [Array<Google::Apis::ComputeBeta::StoragePool>]
43759
+ attr_accessor :items
43760
+
43761
+ # [Output Only] Type of resource. Always compute#storagePoolList for lists of
43762
+ # storagePools.
43763
+ # Corresponds to the JSON property `kind`
43764
+ # @return [String]
43765
+ attr_accessor :kind
43766
+
43767
+ # [Output Only] This token allows you to get the next page of results for list
43768
+ # requests. If the number of results is larger than maxResults, use the
43769
+ # nextPageToken as a value for the query parameter pageToken in the next list
43770
+ # request. Subsequent list requests will have their own nextPageToken to
43771
+ # continue paging through the results.
43772
+ # Corresponds to the JSON property `nextPageToken`
43773
+ # @return [String]
43774
+ attr_accessor :next_page_token
43775
+
43776
+ # [Output Only] Server-defined URL for this resource.
43777
+ # Corresponds to the JSON property `selfLink`
43778
+ # @return [String]
43779
+ attr_accessor :self_link
43780
+
43781
+ # [Output Only] Unreachable resources. end_interface:
43782
+ # MixerListResponseWithEtagBuilder
43783
+ # Corresponds to the JSON property `unreachables`
43784
+ # @return [Array<String>]
43785
+ attr_accessor :unreachables
43786
+
43787
+ # [Output Only] Informational warning message.
43788
+ # Corresponds to the JSON property `warning`
43789
+ # @return [Google::Apis::ComputeBeta::StoragePoolList::Warning]
43790
+ attr_accessor :warning
43791
+
43792
+ def initialize(**args)
43793
+ update!(**args)
43794
+ end
43795
+
43796
+ # Update properties of this object
43797
+ def update!(**args)
43798
+ @etag = args[:etag] if args.key?(:etag)
43799
+ @id = args[:id] if args.key?(:id)
43800
+ @items = args[:items] if args.key?(:items)
43801
+ @kind = args[:kind] if args.key?(:kind)
43802
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
43803
+ @self_link = args[:self_link] if args.key?(:self_link)
43804
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
43805
+ @warning = args[:warning] if args.key?(:warning)
43806
+ end
43807
+
43808
+ # [Output Only] Informational warning message.
43809
+ class Warning
43810
+ include Google::Apis::Core::Hashable
43811
+
43812
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
43813
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
43814
+ # Corresponds to the JSON property `code`
43815
+ # @return [String]
43816
+ attr_accessor :code
43817
+
43818
+ # [Output Only] Metadata about this warning in key: value format. For example: "
43819
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
43820
+ # Corresponds to the JSON property `data`
43821
+ # @return [Array<Google::Apis::ComputeBeta::StoragePoolList::Warning::Datum>]
43822
+ attr_accessor :data
43823
+
43824
+ # [Output Only] A human-readable description of the warning code.
43825
+ # Corresponds to the JSON property `message`
43826
+ # @return [String]
43827
+ attr_accessor :message
43828
+
43829
+ def initialize(**args)
43830
+ update!(**args)
43831
+ end
43832
+
43833
+ # Update properties of this object
43834
+ def update!(**args)
43835
+ @code = args[:code] if args.key?(:code)
43836
+ @data = args[:data] if args.key?(:data)
43837
+ @message = args[:message] if args.key?(:message)
43838
+ end
43839
+
43840
+ #
43841
+ class Datum
43842
+ include Google::Apis::Core::Hashable
43843
+
43844
+ # [Output Only] A key that provides more detail on the warning being returned.
43845
+ # For example, for warnings where there are no results in a list request for a
43846
+ # particular zone, this key might be scope and the key value might be the zone
43847
+ # name. Other examples might be a key indicating a deprecated resource and a
43848
+ # suggested replacement, or a warning about invalid network settings (for
43849
+ # example, if an instance attempts to perform IP forwarding but is not enabled
43850
+ # for IP forwarding).
43851
+ # Corresponds to the JSON property `key`
43852
+ # @return [String]
43853
+ attr_accessor :key
43854
+
43855
+ # [Output Only] A warning data value corresponding to the key.
43856
+ # Corresponds to the JSON property `value`
43857
+ # @return [String]
43858
+ attr_accessor :value
43859
+
43860
+ def initialize(**args)
43861
+ update!(**args)
43862
+ end
43863
+
43864
+ # Update properties of this object
43865
+ def update!(**args)
43866
+ @key = args[:key] if args.key?(:key)
43867
+ @value = args[:value] if args.key?(:value)
43868
+ end
43869
+ end
43870
+ end
43871
+ end
43872
+
43873
+ #
43874
+ class StoragePoolListDisks
43875
+ include Google::Apis::Core::Hashable
43876
+
43877
+ #
43878
+ # Corresponds to the JSON property `etag`
43879
+ # @return [String]
43880
+ attr_accessor :etag
43881
+
43882
+ # [Output Only] Unique identifier for the resource; defined by the server.
43883
+ # Corresponds to the JSON property `id`
43884
+ # @return [String]
43885
+ attr_accessor :id
43886
+
43887
+ # A list of StoragePoolDisk resources.
43888
+ # Corresponds to the JSON property `items`
43889
+ # @return [Array<Google::Apis::ComputeBeta::StoragePoolDisk>]
43890
+ attr_accessor :items
43891
+
43892
+ # [Output Only] Type of resource. Always compute#storagePoolListDisks for lists
43893
+ # of disks in a storagePool.
43894
+ # Corresponds to the JSON property `kind`
43895
+ # @return [String]
43896
+ attr_accessor :kind
43897
+
43898
+ # [Output Only] This token allows you to get the next page of results for list
43899
+ # requests. If the number of results is larger than maxResults, use the
43900
+ # nextPageToken as a value for the query parameter pageToken in the next list
43901
+ # request. Subsequent list requests will have their own nextPageToken to
43902
+ # continue paging through the results.
43903
+ # Corresponds to the JSON property `nextPageToken`
43904
+ # @return [String]
43905
+ attr_accessor :next_page_token
43906
+
43907
+ # [Output Only] Server-defined URL for this resource.
43908
+ # Corresponds to the JSON property `selfLink`
43909
+ # @return [String]
43910
+ attr_accessor :self_link
43911
+
43912
+ # [Output Only] Unreachable resources. end_interface:
43913
+ # MixerListResponseWithEtagBuilder
43914
+ # Corresponds to the JSON property `unreachables`
43915
+ # @return [Array<String>]
43916
+ attr_accessor :unreachables
43917
+
43918
+ # [Output Only] Informational warning message.
43919
+ # Corresponds to the JSON property `warning`
43920
+ # @return [Google::Apis::ComputeBeta::StoragePoolListDisks::Warning]
43921
+ attr_accessor :warning
43922
+
43923
+ def initialize(**args)
43924
+ update!(**args)
43925
+ end
43926
+
43927
+ # Update properties of this object
43928
+ def update!(**args)
43929
+ @etag = args[:etag] if args.key?(:etag)
43930
+ @id = args[:id] if args.key?(:id)
43931
+ @items = args[:items] if args.key?(:items)
43932
+ @kind = args[:kind] if args.key?(:kind)
43933
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
43934
+ @self_link = args[:self_link] if args.key?(:self_link)
43935
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
43936
+ @warning = args[:warning] if args.key?(:warning)
43937
+ end
43938
+
43939
+ # [Output Only] Informational warning message.
43940
+ class Warning
43941
+ include Google::Apis::Core::Hashable
43942
+
43943
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
43944
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
43945
+ # Corresponds to the JSON property `code`
43946
+ # @return [String]
43947
+ attr_accessor :code
43948
+
43949
+ # [Output Only] Metadata about this warning in key: value format. For example: "
43950
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
43951
+ # Corresponds to the JSON property `data`
43952
+ # @return [Array<Google::Apis::ComputeBeta::StoragePoolListDisks::Warning::Datum>]
43953
+ attr_accessor :data
43954
+
43955
+ # [Output Only] A human-readable description of the warning code.
43956
+ # Corresponds to the JSON property `message`
43957
+ # @return [String]
43958
+ attr_accessor :message
43959
+
43960
+ def initialize(**args)
43961
+ update!(**args)
43962
+ end
43963
+
43964
+ # Update properties of this object
43965
+ def update!(**args)
43966
+ @code = args[:code] if args.key?(:code)
43967
+ @data = args[:data] if args.key?(:data)
43968
+ @message = args[:message] if args.key?(:message)
43969
+ end
43970
+
43971
+ #
43972
+ class Datum
43973
+ include Google::Apis::Core::Hashable
43974
+
43975
+ # [Output Only] A key that provides more detail on the warning being returned.
43976
+ # For example, for warnings where there are no results in a list request for a
43977
+ # particular zone, this key might be scope and the key value might be the zone
43978
+ # name. Other examples might be a key indicating a deprecated resource and a
43979
+ # suggested replacement, or a warning about invalid network settings (for
43980
+ # example, if an instance attempts to perform IP forwarding but is not enabled
43981
+ # for IP forwarding).
43982
+ # Corresponds to the JSON property `key`
43983
+ # @return [String]
43984
+ attr_accessor :key
43985
+
43986
+ # [Output Only] A warning data value corresponding to the key.
43987
+ # Corresponds to the JSON property `value`
43988
+ # @return [String]
43989
+ attr_accessor :value
43990
+
43991
+ def initialize(**args)
43992
+ update!(**args)
43993
+ end
43994
+
43995
+ # Update properties of this object
43996
+ def update!(**args)
43997
+ @key = args[:key] if args.key?(:key)
43998
+ @value = args[:value] if args.key?(:value)
43999
+ end
44000
+ end
44001
+ end
44002
+ end
44003
+
44004
+ # [Output Only] Contains output only fields.
44005
+ class StoragePoolResourceStatus
44006
+ include Google::Apis::Core::Hashable
44007
+
44008
+ # [Output Only] Number of disks used.
44009
+ # Corresponds to the JSON property `diskCount`
44010
+ # @return [Fixnum]
44011
+ attr_accessor :disk_count
44012
+
44013
+ # [Output Only] Timestamp of the last successful resize in RFC3339 text format.
44014
+ # Corresponds to the JSON property `lastResizeTimestamp`
44015
+ # @return [String]
44016
+ attr_accessor :last_resize_timestamp
44017
+
44018
+ # [Output Only] Maximum allowed aggregate disk size in gigabytes.
44019
+ # Corresponds to the JSON property `maxTotalProvisionedDiskCapacityGb`
44020
+ # @return [Fixnum]
44021
+ attr_accessor :max_total_provisioned_disk_capacity_gb
44022
+
44023
+ # [Output Only] Space used by data stored in disks within the storage pool (in
44024
+ # bytes). This will reflect the total number of bytes written to the disks in
44025
+ # the pool, in contrast to the capacity of those disks.
44026
+ # Corresponds to the JSON property `poolUsedCapacityBytes`
44027
+ # @return [Fixnum]
44028
+ attr_accessor :pool_used_capacity_bytes
44029
+
44030
+ # Sum of all the disks' provisioned IOPS, minus some amount that is allowed per
44031
+ # disk that is not counted towards pool's IOPS capacity.
44032
+ # Corresponds to the JSON property `poolUsedIops`
44033
+ # @return [Fixnum]
44034
+ attr_accessor :pool_used_iops
44035
+
44036
+ # [Output Only] Sum of all the disks' provisioned throughput in MB/s.
44037
+ # Corresponds to the JSON property `poolUsedThroughput`
44038
+ # @return [Fixnum]
44039
+ attr_accessor :pool_used_throughput
44040
+
44041
+ # [Output Only] Amount of data written into the pool, before it is compacted.
44042
+ # Corresponds to the JSON property `poolUserWrittenBytes`
44043
+ # @return [Fixnum]
44044
+ attr_accessor :pool_user_written_bytes
44045
+
44046
+ # [Output Only] Sum of all the capacity provisioned in disks in this storage
44047
+ # pool. A disk's provisioned capacity is the same as its total capacity.
44048
+ # Corresponds to the JSON property `totalProvisionedDiskCapacityGb`
44049
+ # @return [Fixnum]
44050
+ attr_accessor :total_provisioned_disk_capacity_gb
44051
+
44052
+ # [Output Only] Sum of all the disks' provisioned IOPS.
44053
+ # Corresponds to the JSON property `totalProvisionedDiskIops`
44054
+ # @return [Fixnum]
44055
+ attr_accessor :total_provisioned_disk_iops
44056
+
44057
+ # [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some
44058
+ # amount that is allowed per disk that is not counted towards pool's throughput
44059
+ # capacity.
44060
+ # Corresponds to the JSON property `totalProvisionedDiskThroughput`
44061
+ # @return [Fixnum]
44062
+ attr_accessor :total_provisioned_disk_throughput
44063
+
44064
+ def initialize(**args)
44065
+ update!(**args)
44066
+ end
44067
+
44068
+ # Update properties of this object
44069
+ def update!(**args)
44070
+ @disk_count = args[:disk_count] if args.key?(:disk_count)
44071
+ @last_resize_timestamp = args[:last_resize_timestamp] if args.key?(:last_resize_timestamp)
44072
+ @max_total_provisioned_disk_capacity_gb = args[:max_total_provisioned_disk_capacity_gb] if args.key?(:max_total_provisioned_disk_capacity_gb)
44073
+ @pool_used_capacity_bytes = args[:pool_used_capacity_bytes] if args.key?(:pool_used_capacity_bytes)
44074
+ @pool_used_iops = args[:pool_used_iops] if args.key?(:pool_used_iops)
44075
+ @pool_used_throughput = args[:pool_used_throughput] if args.key?(:pool_used_throughput)
44076
+ @pool_user_written_bytes = args[:pool_user_written_bytes] if args.key?(:pool_user_written_bytes)
44077
+ @total_provisioned_disk_capacity_gb = args[:total_provisioned_disk_capacity_gb] if args.key?(:total_provisioned_disk_capacity_gb)
44078
+ @total_provisioned_disk_iops = args[:total_provisioned_disk_iops] if args.key?(:total_provisioned_disk_iops)
44079
+ @total_provisioned_disk_throughput = args[:total_provisioned_disk_throughput] if args.key?(:total_provisioned_disk_throughput)
44080
+ end
44081
+ end
44082
+
44083
+ #
44084
+ class StoragePoolType
44085
+ include Google::Apis::Core::Hashable
44086
+
44087
+ # [Output Only] Creation timestamp in RFC3339 text format.
44088
+ # Corresponds to the JSON property `creationTimestamp`
44089
+ # @return [String]
44090
+ attr_accessor :creation_timestamp
44091
+
44092
+ # Deprecation status for a public resource.
44093
+ # Corresponds to the JSON property `deprecated`
44094
+ # @return [Google::Apis::ComputeBeta::DeprecationStatus]
44095
+ attr_accessor :deprecated
44096
+
44097
+ # [Output Only] An optional description of this resource.
44098
+ # Corresponds to the JSON property `description`
44099
+ # @return [String]
44100
+ attr_accessor :description
44101
+
44102
+ # [Output Only] The unique identifier for the resource. This identifier is
44103
+ # defined by the server.
44104
+ # Corresponds to the JSON property `id`
44105
+ # @return [Fixnum]
44106
+ attr_accessor :id
44107
+
44108
+ # [Output Only] Type of the resource. Always compute#storagePoolType for storage
44109
+ # pool types.
44110
+ # Corresponds to the JSON property `kind`
44111
+ # @return [String]
44112
+ attr_accessor :kind
44113
+
44114
+ # [Output Only] Maximum storage pool size in GB.
44115
+ # Corresponds to the JSON property `maxPoolProvisionedCapacityGb`
44116
+ # @return [Fixnum]
44117
+ attr_accessor :max_pool_provisioned_capacity_gb
44118
+
44119
+ # [Output Only] Maximum provisioned IOPS.
44120
+ # Corresponds to the JSON property `maxPoolProvisionedIops`
44121
+ # @return [Fixnum]
44122
+ attr_accessor :max_pool_provisioned_iops
44123
+
44124
+ # [Output Only] Maximum provisioned throughput.
44125
+ # Corresponds to the JSON property `maxPoolProvisionedThroughput`
44126
+ # @return [Fixnum]
44127
+ attr_accessor :max_pool_provisioned_throughput
44128
+
44129
+ # [Output Only] Minimum storage pool size in GB.
44130
+ # Corresponds to the JSON property `minPoolProvisionedCapacityGb`
44131
+ # @return [Fixnum]
44132
+ attr_accessor :min_pool_provisioned_capacity_gb
44133
+
44134
+ # [Output Only] Minimum provisioned IOPS.
44135
+ # Corresponds to the JSON property `minPoolProvisionedIops`
44136
+ # @return [Fixnum]
44137
+ attr_accessor :min_pool_provisioned_iops
44138
+
44139
+ # [Output Only] Minimum provisioned throughput.
44140
+ # Corresponds to the JSON property `minPoolProvisionedThroughput`
44141
+ # @return [Fixnum]
44142
+ attr_accessor :min_pool_provisioned_throughput
44143
+
44144
+ # [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb
44145
+ # instead.
44146
+ # Corresponds to the JSON property `minSizeGb`
44147
+ # @return [Fixnum]
44148
+ attr_accessor :min_size_gb
44149
+
44150
+ # [Output Only] Name of the resource.
44151
+ # Corresponds to the JSON property `name`
44152
+ # @return [String]
44153
+ attr_accessor :name
44154
+
44155
+ # [Output Only] Server-defined URL for the resource.
44156
+ # Corresponds to the JSON property `selfLink`
44157
+ # @return [String]
44158
+ attr_accessor :self_link
44159
+
44160
+ # [Output Only] Server-defined URL for this resource with the resource id.
44161
+ # Corresponds to the JSON property `selfLinkWithId`
44162
+ # @return [String]
44163
+ attr_accessor :self_link_with_id
44164
+
44165
+ # [Output Only] The list of disk types supported in this storage pool type.
44166
+ # Corresponds to the JSON property `supportedDiskTypes`
44167
+ # @return [Array<String>]
44168
+ attr_accessor :supported_disk_types
44169
+
44170
+ # [Output Only] URL of the zone where the storage pool type resides. You must
44171
+ # specify this field as part of the HTTP request URL. It is not settable as a
44172
+ # field in the request body.
44173
+ # Corresponds to the JSON property `zone`
44174
+ # @return [String]
44175
+ attr_accessor :zone
44176
+
44177
+ def initialize(**args)
44178
+ update!(**args)
44179
+ end
44180
+
44181
+ # Update properties of this object
44182
+ def update!(**args)
44183
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
44184
+ @deprecated = args[:deprecated] if args.key?(:deprecated)
44185
+ @description = args[:description] if args.key?(:description)
44186
+ @id = args[:id] if args.key?(:id)
44187
+ @kind = args[:kind] if args.key?(:kind)
44188
+ @max_pool_provisioned_capacity_gb = args[:max_pool_provisioned_capacity_gb] if args.key?(:max_pool_provisioned_capacity_gb)
44189
+ @max_pool_provisioned_iops = args[:max_pool_provisioned_iops] if args.key?(:max_pool_provisioned_iops)
44190
+ @max_pool_provisioned_throughput = args[:max_pool_provisioned_throughput] if args.key?(:max_pool_provisioned_throughput)
44191
+ @min_pool_provisioned_capacity_gb = args[:min_pool_provisioned_capacity_gb] if args.key?(:min_pool_provisioned_capacity_gb)
44192
+ @min_pool_provisioned_iops = args[:min_pool_provisioned_iops] if args.key?(:min_pool_provisioned_iops)
44193
+ @min_pool_provisioned_throughput = args[:min_pool_provisioned_throughput] if args.key?(:min_pool_provisioned_throughput)
44194
+ @min_size_gb = args[:min_size_gb] if args.key?(:min_size_gb)
44195
+ @name = args[:name] if args.key?(:name)
44196
+ @self_link = args[:self_link] if args.key?(:self_link)
44197
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
44198
+ @supported_disk_types = args[:supported_disk_types] if args.key?(:supported_disk_types)
44199
+ @zone = args[:zone] if args.key?(:zone)
44200
+ end
44201
+ end
44202
+
44203
+ #
44204
+ class StoragePoolTypeAggregatedList
44205
+ include Google::Apis::Core::Hashable
44206
+
44207
+ # [Output Only] Unique identifier for the resource; defined by the server.
44208
+ # Corresponds to the JSON property `id`
44209
+ # @return [String]
44210
+ attr_accessor :id
44211
+
44212
+ # A list of StoragePoolTypesScopedList resources.
44213
+ # Corresponds to the JSON property `items`
44214
+ # @return [Hash<String,Google::Apis::ComputeBeta::StoragePoolTypesScopedList>]
44215
+ attr_accessor :items
44216
+
44217
+ # [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
44218
+ # Corresponds to the JSON property `kind`
44219
+ # @return [String]
44220
+ attr_accessor :kind
44221
+
44222
+ # [Output Only] This token allows you to get the next page of results for list
44223
+ # requests. If the number of results is larger than maxResults, use the
44224
+ # nextPageToken as a value for the query parameter pageToken in the next list
44225
+ # request. Subsequent list requests will have their own nextPageToken to
44226
+ # continue paging through the results.
44227
+ # Corresponds to the JSON property `nextPageToken`
44228
+ # @return [String]
44229
+ attr_accessor :next_page_token
44230
+
44231
+ # [Output Only] Server-defined URL for this resource.
44232
+ # Corresponds to the JSON property `selfLink`
44233
+ # @return [String]
44234
+ attr_accessor :self_link
44235
+
44236
+ # [Output Only] Informational warning message.
44237
+ # Corresponds to the JSON property `warning`
44238
+ # @return [Google::Apis::ComputeBeta::StoragePoolTypeAggregatedList::Warning]
44239
+ attr_accessor :warning
44240
+
44241
+ def initialize(**args)
44242
+ update!(**args)
44243
+ end
44244
+
44245
+ # Update properties of this object
44246
+ def update!(**args)
44247
+ @id = args[:id] if args.key?(:id)
44248
+ @items = args[:items] if args.key?(:items)
44249
+ @kind = args[:kind] if args.key?(:kind)
44250
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
44251
+ @self_link = args[:self_link] if args.key?(:self_link)
44252
+ @warning = args[:warning] if args.key?(:warning)
44253
+ end
44254
+
44255
+ # [Output Only] Informational warning message.
44256
+ class Warning
44257
+ include Google::Apis::Core::Hashable
44258
+
44259
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
44260
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
44261
+ # Corresponds to the JSON property `code`
44262
+ # @return [String]
44263
+ attr_accessor :code
44264
+
44265
+ # [Output Only] Metadata about this warning in key: value format. For example: "
44266
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
44267
+ # Corresponds to the JSON property `data`
44268
+ # @return [Array<Google::Apis::ComputeBeta::StoragePoolTypeAggregatedList::Warning::Datum>]
44269
+ attr_accessor :data
44270
+
44271
+ # [Output Only] A human-readable description of the warning code.
44272
+ # Corresponds to the JSON property `message`
44273
+ # @return [String]
44274
+ attr_accessor :message
44275
+
44276
+ def initialize(**args)
44277
+ update!(**args)
44278
+ end
44279
+
44280
+ # Update properties of this object
44281
+ def update!(**args)
44282
+ @code = args[:code] if args.key?(:code)
44283
+ @data = args[:data] if args.key?(:data)
44284
+ @message = args[:message] if args.key?(:message)
44285
+ end
44286
+
44287
+ #
44288
+ class Datum
44289
+ include Google::Apis::Core::Hashable
44290
+
44291
+ # [Output Only] A key that provides more detail on the warning being returned.
44292
+ # For example, for warnings where there are no results in a list request for a
44293
+ # particular zone, this key might be scope and the key value might be the zone
44294
+ # name. Other examples might be a key indicating a deprecated resource and a
44295
+ # suggested replacement, or a warning about invalid network settings (for
44296
+ # example, if an instance attempts to perform IP forwarding but is not enabled
44297
+ # for IP forwarding).
44298
+ # Corresponds to the JSON property `key`
44299
+ # @return [String]
44300
+ attr_accessor :key
44301
+
44302
+ # [Output Only] A warning data value corresponding to the key.
44303
+ # Corresponds to the JSON property `value`
44304
+ # @return [String]
44305
+ attr_accessor :value
44306
+
44307
+ def initialize(**args)
44308
+ update!(**args)
44309
+ end
44310
+
44311
+ # Update properties of this object
44312
+ def update!(**args)
44313
+ @key = args[:key] if args.key?(:key)
44314
+ @value = args[:value] if args.key?(:value)
44315
+ end
44316
+ end
44317
+ end
44318
+ end
44319
+
44320
+ # Contains a list of storage pool types.
44321
+ class StoragePoolTypeList
44322
+ include Google::Apis::Core::Hashable
44323
+
44324
+ # [Output Only] Unique identifier for the resource; defined by the server.
44325
+ # Corresponds to the JSON property `id`
44326
+ # @return [String]
44327
+ attr_accessor :id
44328
+
44329
+ # A list of StoragePoolType resources.
44330
+ # Corresponds to the JSON property `items`
44331
+ # @return [Array<Google::Apis::ComputeBeta::StoragePoolType>]
44332
+ attr_accessor :items
44333
+
44334
+ # [Output Only] Type of resource. Always compute#storagePoolTypeList for storage
44335
+ # pool types.
44336
+ # Corresponds to the JSON property `kind`
44337
+ # @return [String]
44338
+ attr_accessor :kind
44339
+
44340
+ # [Output Only] This token allows you to get the next page of results for list
44341
+ # requests. If the number of results is larger than maxResults, use the
44342
+ # nextPageToken as a value for the query parameter pageToken in the next list
44343
+ # request. Subsequent list requests will have their own nextPageToken to
44344
+ # continue paging through the results.
44345
+ # Corresponds to the JSON property `nextPageToken`
44346
+ # @return [String]
44347
+ attr_accessor :next_page_token
44348
+
44349
+ # [Output Only] Server-defined URL for this resource.
44350
+ # Corresponds to the JSON property `selfLink`
44351
+ # @return [String]
44352
+ attr_accessor :self_link
44353
+
44354
+ # [Output Only] Informational warning message.
44355
+ # Corresponds to the JSON property `warning`
44356
+ # @return [Google::Apis::ComputeBeta::StoragePoolTypeList::Warning]
44357
+ attr_accessor :warning
44358
+
44359
+ def initialize(**args)
44360
+ update!(**args)
44361
+ end
44362
+
44363
+ # Update properties of this object
44364
+ def update!(**args)
44365
+ @id = args[:id] if args.key?(:id)
44366
+ @items = args[:items] if args.key?(:items)
44367
+ @kind = args[:kind] if args.key?(:kind)
44368
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
44369
+ @self_link = args[:self_link] if args.key?(:self_link)
44370
+ @warning = args[:warning] if args.key?(:warning)
44371
+ end
44372
+
44373
+ # [Output Only] Informational warning message.
44374
+ class Warning
44375
+ include Google::Apis::Core::Hashable
44376
+
44377
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
44378
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
44379
+ # Corresponds to the JSON property `code`
44380
+ # @return [String]
44381
+ attr_accessor :code
44382
+
44383
+ # [Output Only] Metadata about this warning in key: value format. For example: "
44384
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
44385
+ # Corresponds to the JSON property `data`
44386
+ # @return [Array<Google::Apis::ComputeBeta::StoragePoolTypeList::Warning::Datum>]
44387
+ attr_accessor :data
44388
+
44389
+ # [Output Only] A human-readable description of the warning code.
44390
+ # Corresponds to the JSON property `message`
44391
+ # @return [String]
44392
+ attr_accessor :message
44393
+
44394
+ def initialize(**args)
44395
+ update!(**args)
44396
+ end
44397
+
44398
+ # Update properties of this object
44399
+ def update!(**args)
44400
+ @code = args[:code] if args.key?(:code)
44401
+ @data = args[:data] if args.key?(:data)
44402
+ @message = args[:message] if args.key?(:message)
44403
+ end
44404
+
44405
+ #
44406
+ class Datum
44407
+ include Google::Apis::Core::Hashable
44408
+
44409
+ # [Output Only] A key that provides more detail on the warning being returned.
44410
+ # For example, for warnings where there are no results in a list request for a
44411
+ # particular zone, this key might be scope and the key value might be the zone
44412
+ # name. Other examples might be a key indicating a deprecated resource and a
44413
+ # suggested replacement, or a warning about invalid network settings (for
44414
+ # example, if an instance attempts to perform IP forwarding but is not enabled
44415
+ # for IP forwarding).
44416
+ # Corresponds to the JSON property `key`
44417
+ # @return [String]
44418
+ attr_accessor :key
44419
+
44420
+ # [Output Only] A warning data value corresponding to the key.
44421
+ # Corresponds to the JSON property `value`
44422
+ # @return [String]
44423
+ attr_accessor :value
44424
+
44425
+ def initialize(**args)
44426
+ update!(**args)
44427
+ end
44428
+
44429
+ # Update properties of this object
44430
+ def update!(**args)
44431
+ @key = args[:key] if args.key?(:key)
44432
+ @value = args[:value] if args.key?(:value)
44433
+ end
44434
+ end
44435
+ end
44436
+ end
44437
+
44438
+ #
44439
+ class StoragePoolTypesScopedList
44440
+ include Google::Apis::Core::Hashable
44441
+
44442
+ # [Output Only] A list of storage pool types contained in this scope.
44443
+ # Corresponds to the JSON property `storagePoolTypes`
44444
+ # @return [Array<Google::Apis::ComputeBeta::StoragePoolType>]
44445
+ attr_accessor :storage_pool_types
44446
+
44447
+ # [Output Only] Informational warning which replaces the list of storage pool
44448
+ # types when the list is empty.
44449
+ # Corresponds to the JSON property `warning`
44450
+ # @return [Google::Apis::ComputeBeta::StoragePoolTypesScopedList::Warning]
44451
+ attr_accessor :warning
44452
+
44453
+ def initialize(**args)
44454
+ update!(**args)
44455
+ end
44456
+
44457
+ # Update properties of this object
44458
+ def update!(**args)
44459
+ @storage_pool_types = args[:storage_pool_types] if args.key?(:storage_pool_types)
44460
+ @warning = args[:warning] if args.key?(:warning)
44461
+ end
44462
+
44463
+ # [Output Only] Informational warning which replaces the list of storage pool
44464
+ # types when the list is empty.
44465
+ class Warning
44466
+ include Google::Apis::Core::Hashable
44467
+
44468
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
44469
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
44470
+ # Corresponds to the JSON property `code`
44471
+ # @return [String]
44472
+ attr_accessor :code
44473
+
44474
+ # [Output Only] Metadata about this warning in key: value format. For example: "
44475
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
44476
+ # Corresponds to the JSON property `data`
44477
+ # @return [Array<Google::Apis::ComputeBeta::StoragePoolTypesScopedList::Warning::Datum>]
44478
+ attr_accessor :data
44479
+
44480
+ # [Output Only] A human-readable description of the warning code.
44481
+ # Corresponds to the JSON property `message`
44482
+ # @return [String]
44483
+ attr_accessor :message
44484
+
44485
+ def initialize(**args)
44486
+ update!(**args)
44487
+ end
44488
+
44489
+ # Update properties of this object
44490
+ def update!(**args)
44491
+ @code = args[:code] if args.key?(:code)
44492
+ @data = args[:data] if args.key?(:data)
44493
+ @message = args[:message] if args.key?(:message)
44494
+ end
44495
+
44496
+ #
44497
+ class Datum
44498
+ include Google::Apis::Core::Hashable
44499
+
44500
+ # [Output Only] A key that provides more detail on the warning being returned.
44501
+ # For example, for warnings where there are no results in a list request for a
44502
+ # particular zone, this key might be scope and the key value might be the zone
44503
+ # name. Other examples might be a key indicating a deprecated resource and a
44504
+ # suggested replacement, or a warning about invalid network settings (for
44505
+ # example, if an instance attempts to perform IP forwarding but is not enabled
44506
+ # for IP forwarding).
44507
+ # Corresponds to the JSON property `key`
44508
+ # @return [String]
44509
+ attr_accessor :key
44510
+
44511
+ # [Output Only] A warning data value corresponding to the key.
44512
+ # Corresponds to the JSON property `value`
44513
+ # @return [String]
44514
+ attr_accessor :value
44515
+
44516
+ def initialize(**args)
44517
+ update!(**args)
44518
+ end
44519
+
44520
+ # Update properties of this object
44521
+ def update!(**args)
44522
+ @key = args[:key] if args.key?(:key)
44523
+ @value = args[:value] if args.key?(:value)
44524
+ end
44525
+ end
44526
+ end
44527
+ end
44528
+
44529
+ #
44530
+ class StoragePoolsScopedList
44531
+ include Google::Apis::Core::Hashable
44532
+
44533
+ # [Output Only] A list of storage pool contained in this scope.
44534
+ # Corresponds to the JSON property `storagePools`
44535
+ # @return [Array<Google::Apis::ComputeBeta::StoragePool>]
44536
+ attr_accessor :storage_pools
44537
+
44538
+ # [Output Only] Informational warning which replaces the list of storage pool
44539
+ # when the list is empty.
44540
+ # Corresponds to the JSON property `warning`
44541
+ # @return [Google::Apis::ComputeBeta::StoragePoolsScopedList::Warning]
44542
+ attr_accessor :warning
44543
+
44544
+ def initialize(**args)
44545
+ update!(**args)
44546
+ end
44547
+
44548
+ # Update properties of this object
44549
+ def update!(**args)
44550
+ @storage_pools = args[:storage_pools] if args.key?(:storage_pools)
44551
+ @warning = args[:warning] if args.key?(:warning)
44552
+ end
44553
+
44554
+ # [Output Only] Informational warning which replaces the list of storage pool
44555
+ # when the list is empty.
44556
+ class Warning
44557
+ include Google::Apis::Core::Hashable
44558
+
44559
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
44560
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
44561
+ # Corresponds to the JSON property `code`
44562
+ # @return [String]
44563
+ attr_accessor :code
44564
+
44565
+ # [Output Only] Metadata about this warning in key: value format. For example: "
44566
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
44567
+ # Corresponds to the JSON property `data`
44568
+ # @return [Array<Google::Apis::ComputeBeta::StoragePoolsScopedList::Warning::Datum>]
44569
+ attr_accessor :data
44570
+
44571
+ # [Output Only] A human-readable description of the warning code.
44572
+ # Corresponds to the JSON property `message`
44573
+ # @return [String]
44574
+ attr_accessor :message
44575
+
44576
+ def initialize(**args)
44577
+ update!(**args)
44578
+ end
44579
+
44580
+ # Update properties of this object
44581
+ def update!(**args)
44582
+ @code = args[:code] if args.key?(:code)
44583
+ @data = args[:data] if args.key?(:data)
44584
+ @message = args[:message] if args.key?(:message)
44585
+ end
44586
+
44587
+ #
44588
+ class Datum
44589
+ include Google::Apis::Core::Hashable
44590
+
44591
+ # [Output Only] A key that provides more detail on the warning being returned.
44592
+ # For example, for warnings where there are no results in a list request for a
44593
+ # particular zone, this key might be scope and the key value might be the zone
44594
+ # name. Other examples might be a key indicating a deprecated resource and a
44595
+ # suggested replacement, or a warning about invalid network settings (for
44596
+ # example, if an instance attempts to perform IP forwarding but is not enabled
44597
+ # for IP forwarding).
44598
+ # Corresponds to the JSON property `key`
44599
+ # @return [String]
44600
+ attr_accessor :key
44601
+
44602
+ # [Output Only] A warning data value corresponding to the key.
44603
+ # Corresponds to the JSON property `value`
44604
+ # @return [String]
44605
+ attr_accessor :value
44606
+
44607
+ def initialize(**args)
44608
+ update!(**args)
44609
+ end
44610
+
44611
+ # Update properties of this object
44612
+ def update!(**args)
44613
+ @key = args[:key] if args.key?(:key)
44614
+ @value = args[:value] if args.key?(:value)
44615
+ end
44616
+ end
44617
+ end
44618
+ end
44619
+
43333
44620
  # Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a
43334
44621
  # logical partition of a Virtual Private Cloud network with one primary IP range
43335
44622
  # and zero or more secondary IP ranges. For more information, read Virtual