Class: Google::Cloud::Compute::V1::DiskType

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

Represents a Disk Type resource. Google Compute Engine has two Disk Type resources: * Regional * Zonal You can choose from a variety of disk types based on your needs. For more information, read Storage options. The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks. The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks.

Instance Attribute Summary collapse

Instance Attribute Details

#creation_timestamp::String

Returns [Output Only] Creation timestamp in RFC3339 text format.

Returns:

  • (::String)

    [Output Only] Creation timestamp in RFC3339 text format.



5754
5755
5756
5757
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5754

class DiskType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#default_disk_size_gb::Integer

Returns [Output Only] Server-defined default disk size in GB.

Returns:

  • (::Integer)

    [Output Only] Server-defined default disk size in GB.



5754
5755
5756
5757
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5754

class DiskType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#deprecated::Google::Cloud::Compute::V1::DeprecationStatus

Returns [Output Only] The deprecation status associated with this disk type.

Returns:



5754
5755
5756
5757
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5754

class DiskType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#description::String

Returns [Output Only] An optional description of this resource.

Returns:

  • (::String)

    [Output Only] An optional description of this resource.



5754
5755
5756
5757
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5754

class DiskType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#id::Integer

Returns [Output Only] The unique identifier for the resource. This identifier is defined by the server.

Returns:

  • (::Integer)

    [Output Only] The unique identifier for the resource. This identifier is defined by the server.



5754
5755
5756
5757
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5754

class DiskType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#kind::String

Returns [Output Only] Type of the resource. Always compute#diskType for disk types.

Returns:

  • (::String)

    [Output Only] Type of the resource. Always compute#diskType for disk types.



5754
5755
5756
5757
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5754

class DiskType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns [Output Only] Name of the resource.

Returns:

  • (::String)

    [Output Only] Name of the resource.



5754
5755
5756
5757
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5754

class DiskType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#region::String

Returns [Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Returns:

  • (::String)

    [Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.



5754
5755
5756
5757
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5754

class DiskType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

Returns [Output Only] Server-defined URL for the resource.

Returns:

  • (::String)

    [Output Only] Server-defined URL for the resource.



5754
5755
5756
5757
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5754

class DiskType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#valid_disk_size::String

Returns [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".

Returns:

  • (::String)

    [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".



5754
5755
5756
5757
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5754

class DiskType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#zone::String

Returns [Output Only] URL of the zone where the disk 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.

Returns:

  • (::String)

    [Output Only] URL of the zone where the disk 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.



5754
5755
5756
5757
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5754

class DiskType
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end