Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::CreateVolumeRequest.
Message for creating a Volume
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
- (::String) — Required. Value for parent.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. Value for parent.
Returns
- (::String) — Required. Value for parent.
#volume
def volume() -> ::Google::Cloud::NetApp::V1::Volume
Returns
- (::Google::Cloud::NetApp::V1::Volume) — Required. The volume being created.
#volume=
def volume=(value) -> ::Google::Cloud::NetApp::V1::Volume
Parameter
- value (::Google::Cloud::NetApp::V1::Volume) — Required. The volume being created.
Returns
- (::Google::Cloud::NetApp::V1::Volume) — Required. The volume being created.
#volume_id
def volume_id() -> ::String
Returns
- (::String) — Required. Id of the requesting volume. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
#volume_id=
def volume_id=(value) -> ::String
Parameter
- value (::String) — Required. Id of the requesting volume. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
Returns
- (::String) — Required. Id of the requesting volume. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.