Class: Google::Apis::ComputeBeta::StoragePoolType
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::StoragePoolType
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#creation_timestamp ⇒ String
[Output Only] Creation timestamp in RFC3339 text format.
-
#deprecated ⇒ Google::Apis::ComputeBeta::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_pool_provisioned_capacity_gb ⇒ Fixnum
[Output Only] Maximum storage pool size in GB.
-
#max_pool_provisioned_iops ⇒ Fixnum
[Output Only] Maximum provisioned IOPS.
-
#max_pool_provisioned_throughput ⇒ Fixnum
[Output Only] Maximum provisioned throughput.
-
#min_pool_provisioned_capacity_gb ⇒ Fixnum
[Output Only] Minimum storage pool size in GB.
-
#min_pool_provisioned_iops ⇒ Fixnum
[Output Only] Minimum provisioned IOPS.
-
#min_pool_provisioned_throughput ⇒ Fixnum
[Output Only] Minimum provisioned throughput.
-
#min_size_gb ⇒ Fixnum
[Deprecated] This field is deprecated.
-
#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.
46958 46959 46960 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46958 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
46871 46872 46873 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46871 def @creation_timestamp end |
#deprecated ⇒ Google::Apis::ComputeBeta::DeprecationStatus
Deprecation status for a public resource.
Corresponds to the JSON property deprecated
46876 46877 46878 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46876 def deprecated @deprecated end |
#description ⇒ String
[Output Only] An optional description of this resource.
Corresponds to the JSON property description
46881 46882 46883 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46881 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
46887 46888 46889 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46887 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
46893 46894 46895 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46893 def kind @kind end |
#max_pool_provisioned_capacity_gb ⇒ Fixnum
[Output Only] Maximum storage pool size in GB.
Corresponds to the JSON property maxPoolProvisionedCapacityGb
46898 46899 46900 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46898 def max_pool_provisioned_capacity_gb @max_pool_provisioned_capacity_gb end |
#max_pool_provisioned_iops ⇒ Fixnum
[Output Only] Maximum provisioned IOPS.
Corresponds to the JSON property maxPoolProvisionedIops
46903 46904 46905 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46903 def max_pool_provisioned_iops @max_pool_provisioned_iops end |
#max_pool_provisioned_throughput ⇒ Fixnum
[Output Only] Maximum provisioned throughput.
Corresponds to the JSON property maxPoolProvisionedThroughput
46908 46909 46910 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46908 def max_pool_provisioned_throughput @max_pool_provisioned_throughput end |
#min_pool_provisioned_capacity_gb ⇒ Fixnum
[Output Only] Minimum storage pool size in GB.
Corresponds to the JSON property minPoolProvisionedCapacityGb
46913 46914 46915 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46913 def min_pool_provisioned_capacity_gb @min_pool_provisioned_capacity_gb end |
#min_pool_provisioned_iops ⇒ Fixnum
[Output Only] Minimum provisioned IOPS.
Corresponds to the JSON property minPoolProvisionedIops
46918 46919 46920 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46918 def min_pool_provisioned_iops @min_pool_provisioned_iops end |
#min_pool_provisioned_throughput ⇒ Fixnum
[Output Only] Minimum provisioned throughput.
Corresponds to the JSON property minPoolProvisionedThroughput
46923 46924 46925 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46923 def min_pool_provisioned_throughput @min_pool_provisioned_throughput end |
#min_size_gb ⇒ Fixnum
[Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb
instead.
Corresponds to the JSON property minSizeGb
46929 46930 46931 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46929 def min_size_gb @min_size_gb end |
#name ⇒ String
[Output Only] Name of the resource.
Corresponds to the JSON property name
46934 46935 46936 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46934 def name @name end |
#self_link ⇒ String
[Output Only] Server-defined URL for the resource.
Corresponds to the JSON property selfLink
46939 46940 46941 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46939 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
46944 46945 46946 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46944 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
46949 46950 46951 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46949 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
46956 46957 46958 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46956 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46963 46964 46965 46966 46967 46968 46969 46970 46971 46972 46973 46974 46975 46976 46977 46978 46979 46980 46981 |
# File 'lib/google/apis/compute_beta/classes.rb', line 46963 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_pool_provisioned_capacity_gb = args[:max_pool_provisioned_capacity_gb] if args.key?(:max_pool_provisioned_capacity_gb) @max_pool_provisioned_iops = args[:max_pool_provisioned_iops] if args.key?(:max_pool_provisioned_iops) @max_pool_provisioned_throughput = args[:max_pool_provisioned_throughput] if args.key?(:max_pool_provisioned_throughput) @min_pool_provisioned_capacity_gb = args[:min_pool_provisioned_capacity_gb] if args.key?(:min_pool_provisioned_capacity_gb) @min_pool_provisioned_iops = args[:min_pool_provisioned_iops] if args.key?(:min_pool_provisioned_iops) @min_pool_provisioned_throughput = args[:min_pool_provisioned_throughput] if args.key?(:min_pool_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 |