Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::CreateRestoreRequest.
Request message for CreateRestore.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The RestorePlan within which to create the Restore.
Format:
projects/*/locations/*/restorePlans/*
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The RestorePlan within which to create the Restore.
Format:
projects/*/locations/*/restorePlans/*
Returns
-
(::String) — Required. The RestorePlan within which to create the Restore.
Format:
projects/*/locations/*/restorePlans/*
#restore
def restore() -> ::Google::Cloud::GkeBackup::V1::Restore
Returns
- (::Google::Cloud::GkeBackup::V1::Restore) — Required. The restore resource to create.
#restore=
def restore=(value) -> ::Google::Cloud::GkeBackup::V1::Restore
Parameter
- value (::Google::Cloud::GkeBackup::V1::Restore) — Required. The restore resource to create.
Returns
- (::Google::Cloud::GkeBackup::V1::Restore) — Required. The restore resource to create.
#restore_id
def restore_id() -> ::String
Returns
-
(::String) —
Required. The client-provided short name for the Restore resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of Restores in this RestorePlan.
#restore_id=
def restore_id=(value) -> ::String
Parameter
-
value (::String) —
Required. The client-provided short name for the Restore resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of Restores in this RestorePlan.
Returns
-
(::String) —
Required. The client-provided short name for the Restore resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of Restores in this RestorePlan.