Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::DeleteInstanceRequest.
DeleteInstanceRequest deletes an instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#force
def force() -> ::Boolean
Returns
- (::Boolean) — If set to true, all snapshots of the instance will also be deleted. (Otherwise, the request will only work if the instance has no snapshots.)
#force=
def force=(value) -> ::Boolean
Parameter
- value (::Boolean) — If set to true, all snapshots of the instance will also be deleted. (Otherwise, the request will only work if the instance has no snapshots.)
Returns
- (::Boolean) — If set to true, all snapshots of the instance will also be deleted. (Otherwise, the request will only work if the instance has no snapshots.)
#name
def name() -> ::String
Returns
-
(::String) — Required. The instance resource name, in the format
projects/{project_id}/locations/{location}/instances/{instance_id}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The instance resource name, in the format
projects/{project_id}/locations/{location}/instances/{instance_id}
Returns
-
(::String) — Required. The instance resource name, in the format
projects/{project_id}/locations/{location}/instances/{instance_id}