Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::CreateRestorePlanRequest.
Request message for CreateRestorePlan.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The location within which to create the RestorePlan.
Format:
projects/*/locations/*
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The location within which to create the RestorePlan.
Format:
projects/*/locations/*
Returns
-
(::String) — Required. The location within which to create the RestorePlan.
Format:
projects/*/locations/*
#restore_plan
def restore_plan() -> ::Google::Cloud::GkeBackup::V1::RestorePlan
Returns
- (::Google::Cloud::GkeBackup::V1::RestorePlan) — Required. The RestorePlan resource object to create.
#restore_plan=
def restore_plan=(value) -> ::Google::Cloud::GkeBackup::V1::RestorePlan
Parameter
- value (::Google::Cloud::GkeBackup::V1::RestorePlan) — Required. The RestorePlan resource object to create.
Returns
- (::Google::Cloud::GkeBackup::V1::RestorePlan) — Required. The RestorePlan resource object to create.
#restore_plan_id
def restore_plan_id() -> ::String
Returns
-
(::String) —
Required. The client-provided short name for the RestorePlan 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 RestorePlans in this location
#restore_plan_id=
def restore_plan_id=(value) -> ::String
Parameter
-
value (::String) —
Required. The client-provided short name for the RestorePlan 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 RestorePlans in this location
Returns
-
(::String) —
Required. The client-provided short name for the RestorePlan 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 RestorePlans in this location