Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::RestoreInstanceRequest.
RestoreInstanceRequest restores an existing instance's file share from a backup.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#file_share
def file_share() -> ::String
Returns
- (::String) — Required. Name of the file share in the Filestore instance that the backup is being restored to.
#file_share=
def file_share=(value) -> ::String
Parameter
- value (::String) — Required. Name of the file share in the Filestore instance that the backup is being restored to.
Returns
- (::String) — Required. Name of the file share in the Filestore instance that the backup is being restored to.
#name
def name() -> ::String
Returns
-
(::String) — Required. The resource name of the instance, in the format
projects/{project_number}/locations/{location_id}/instances/{instance_id}
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the instance, in the format
projects/{project_number}/locations/{location_id}/instances/{instance_id}
.
Returns
-
(::String) — Required. The resource name of the instance, in the format
projects/{project_number}/locations/{location_id}/instances/{instance_id}
.
#source_backup
def source_backup() -> ::String
Returns
-
(::String) — The resource name of the backup, in the format
projects/{project_number}/locations/{location_id}/backups/{backup_id}
.
#source_backup=
def source_backup=(value) -> ::String
Parameter
-
value (::String) — The resource name of the backup, in the format
projects/{project_number}/locations/{location_id}/backups/{backup_id}
.
Returns
-
(::String) — The resource name of the backup, in the format
projects/{project_number}/locations/{location_id}/backups/{backup_id}
.