Class: Google::Apis::ComputeAlpha::StoragePoolType
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::StoragePoolType
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#creation_timestamp ⇒ String
[Output Only] Creation timestamp in RFC3339 text format.
-
#deprecated ⇒ Google::Apis::ComputeAlpha::DeprecationStatus
Deprecation status for a public resource.
-
#description ⇒ String
[Output Only] An optional description of this resource.
-
#id ⇒ Fixnum
[Output Only] The unique identifier for the resource.
-
#kind ⇒ String
[Output Only] Type of the resource.
-
#max_provisioned_iops ⇒ Fixnum
[Output Only] Maximum provisioned IOPS.
-
#max_provisioned_throughput ⇒ Fixnum
[Output Only] Maximum provisioned throughput.
-
#max_size_gb ⇒ Fixnum
[Output Only] Maximum storage pool size in GB.
-
#min_provisioned_iops ⇒ Fixnum
[Output Only] Minimum provisioned IOPS.
-
#min_provisioned_throughput ⇒ Fixnum
[Output Only] Minimum provisioned throughput.
-
#min_size_gb ⇒ Fixnum
[Output Only] Minimum storage pool size in GB.
-
#name ⇒ String
[Output Only] Name of the resource.
-
#self_link ⇒ String
[Output Only] Server-defined URL for the resource.
-
#self_link_with_id ⇒ String
[Output Only] Server-defined URL for this resource with the resource id.
-
#supported_disk_types ⇒ Array<String>
[Output Only] The list of disk types supported in this storage pool type.
-
#zone ⇒ String
[Output Only] URL of the zone where the storage pool type resides.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StoragePoolType
constructor
A new instance of StoragePoolType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StoragePoolType
Returns a new instance of StoragePoolType.
48146 48147 48148 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48146 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_timestamp ⇒ String
[Output Only] Creation timestamp in RFC3339 text format.
Corresponds to the JSON property creationTimestamp
48065 48066 48067 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48065 def @creation_timestamp end |
#deprecated ⇒ Google::Apis::ComputeAlpha::DeprecationStatus
Deprecation status for a public resource.
Corresponds to the JSON property deprecated
48070 48071 48072 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48070 def deprecated @deprecated end |
#description ⇒ String
[Output Only] An optional description of this resource.
Corresponds to the JSON property description
48075 48076 48077 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48075 def description @description end |
#id ⇒ Fixnum
[Output Only] The unique identifier for the resource. This identifier is
defined by the server.
Corresponds to the JSON property id
48081 48082 48083 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48081 def id @id end |
#kind ⇒ String
[Output Only] Type of the resource. Always compute#storagePoolType for storage
pool types.
Corresponds to the JSON property kind
48087 48088 48089 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48087 def kind @kind end |
#max_provisioned_iops ⇒ Fixnum
[Output Only] Maximum provisioned IOPS.
Corresponds to the JSON property maxProvisionedIops
48092 48093 48094 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48092 def max_provisioned_iops @max_provisioned_iops end |
#max_provisioned_throughput ⇒ Fixnum
[Output Only] Maximum provisioned throughput.
Corresponds to the JSON property maxProvisionedThroughput
48097 48098 48099 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48097 def max_provisioned_throughput @max_provisioned_throughput end |
#max_size_gb ⇒ Fixnum
[Output Only] Maximum storage pool size in GB.
Corresponds to the JSON property maxSizeGb
48102 48103 48104 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48102 def max_size_gb @max_size_gb end |
#min_provisioned_iops ⇒ Fixnum
[Output Only] Minimum provisioned IOPS.
Corresponds to the JSON property minProvisionedIops
48107 48108 48109 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48107 def min_provisioned_iops @min_provisioned_iops end |
#min_provisioned_throughput ⇒ Fixnum
[Output Only] Minimum provisioned throughput.
Corresponds to the JSON property minProvisionedThroughput
48112 48113 48114 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48112 def min_provisioned_throughput @min_provisioned_throughput end |
#min_size_gb ⇒ Fixnum
[Output Only] Minimum storage pool size in GB.
Corresponds to the JSON property minSizeGb
48117 48118 48119 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48117 def min_size_gb @min_size_gb end |
#name ⇒ String
[Output Only] Name of the resource.
Corresponds to the JSON property name
48122 48123 48124 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48122 def name @name end |
#self_link ⇒ String
[Output Only] Server-defined URL for the resource.
Corresponds to the JSON property selfLink
48127 48128 48129 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48127 def self_link @self_link end |
#self_link_with_id ⇒ String
[Output Only] Server-defined URL for this resource with the resource id.
Corresponds to the JSON property selfLinkWithId
48132 48133 48134 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48132 def self_link_with_id @self_link_with_id end |
#supported_disk_types ⇒ Array<String>
[Output Only] The list of disk types supported in this storage pool type.
Corresponds to the JSON property supportedDiskTypes
48137 48138 48139 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48137 def supported_disk_types @supported_disk_types end |
#zone ⇒ String
[Output Only] URL of the zone where the storage pool type resides. You must
specify this field as part of the HTTP request URL. It is not settable as a
field in the request body.
Corresponds to the JSON property zone
48144 48145 48146 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48144 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
48151 48152 48153 48154 48155 48156 48157 48158 48159 48160 48161 48162 48163 48164 48165 48166 48167 48168 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 48151 def update!(**args) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @deprecated = args[:deprecated] if args.key?(:deprecated) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @max_provisioned_iops = args[:max_provisioned_iops] if args.key?(:max_provisioned_iops) @max_provisioned_throughput = args[:max_provisioned_throughput] if args.key?(:max_provisioned_throughput) @max_size_gb = args[:max_size_gb] if args.key?(:max_size_gb) @min_provisioned_iops = args[:min_provisioned_iops] if args.key?(:min_provisioned_iops) @min_provisioned_throughput = args[:min_provisioned_throughput] if args.key?(:min_provisioned_throughput) @min_size_gb = args[:min_size_gb] if args.key?(:min_size_gb) @name = args[:name] if args.key?(:name) @self_link = args[:self_link] if args.key?(:self_link) @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @supported_disk_types = args[:supported_disk_types] if args.key?(:supported_disk_types) @zone = args[:zone] if args.key?(:zone) end |