Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::RestoreConfig (v1.0.0)

Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::RestoreConfig.

Configuration of a restore.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#all_namespaces

def all_namespaces() -> ::Boolean
Returns
  • (::Boolean) — Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.

    Note: The following fields are mutually exclusive: all_namespaces, selected_namespaces, selected_applications, no_namespaces, excluded_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

#all_namespaces=

def all_namespaces=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.

    Note: The following fields are mutually exclusive: all_namespaces, selected_namespaces, selected_applications, no_namespaces, excluded_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Boolean) — Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.

    Note: The following fields are mutually exclusive: all_namespaces, selected_namespaces, selected_applications, no_namespaces, excluded_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

#cluster_resource_conflict_policy

def cluster_resource_conflict_policy() -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::ClusterResourceConflictPolicy
Returns

#cluster_resource_conflict_policy=

def cluster_resource_conflict_policy=(value) -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::ClusterResourceConflictPolicy
Parameter
Returns

#cluster_resource_restore_scope

def cluster_resource_restore_scope() -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::ClusterResourceRestoreScope
Returns

#cluster_resource_restore_scope=

def cluster_resource_restore_scope=(value) -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::ClusterResourceRestoreScope
Parameter
Returns

#excluded_namespaces

def excluded_namespaces() -> ::Google::Cloud::GkeBackup::V1::Namespaces
Returns
  • (::Google::Cloud::GkeBackup::V1::Namespaces) — A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.

    Note: The following fields are mutually exclusive: excluded_namespaces, all_namespaces, selected_namespaces, selected_applications, no_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

#excluded_namespaces=

def excluded_namespaces=(value) -> ::Google::Cloud::GkeBackup::V1::Namespaces
Parameter
  • value (::Google::Cloud::GkeBackup::V1::Namespaces) — A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.

    Note: The following fields are mutually exclusive: excluded_namespaces, all_namespaces, selected_namespaces, selected_applications, no_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::GkeBackup::V1::Namespaces) — A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.

    Note: The following fields are mutually exclusive: excluded_namespaces, all_namespaces, selected_namespaces, selected_applications, no_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

#namespaced_resource_restore_mode

def namespaced_resource_restore_mode() -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::NamespacedResourceRestoreMode
Returns

#namespaced_resource_restore_mode=

def namespaced_resource_restore_mode=(value) -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::NamespacedResourceRestoreMode
Parameter
Returns

#no_namespaces

def no_namespaces() -> ::Boolean
Returns
  • (::Boolean) — Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.

    Note: The following fields are mutually exclusive: no_namespaces, all_namespaces, selected_namespaces, selected_applications, excluded_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

#no_namespaces=

def no_namespaces=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.

    Note: The following fields are mutually exclusive: no_namespaces, all_namespaces, selected_namespaces, selected_applications, excluded_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Boolean) — Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.

    Note: The following fields are mutually exclusive: no_namespaces, all_namespaces, selected_namespaces, selected_applications, excluded_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

#restore_order

def restore_order() -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::RestoreOrder
Returns

#restore_order=

def restore_order=(value) -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::RestoreOrder
Parameter
Returns

#selected_applications

def selected_applications() -> ::Google::Cloud::GkeBackup::V1::NamespacedNames
Returns
  • (::Google::Cloud::GkeBackup::V1::NamespacedNames) — A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.

    Note: The following fields are mutually exclusive: selected_applications, all_namespaces, selected_namespaces, no_namespaces, excluded_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

#selected_applications=

def selected_applications=(value) -> ::Google::Cloud::GkeBackup::V1::NamespacedNames
Parameter
  • value (::Google::Cloud::GkeBackup::V1::NamespacedNames) — A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.

    Note: The following fields are mutually exclusive: selected_applications, all_namespaces, selected_namespaces, no_namespaces, excluded_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::GkeBackup::V1::NamespacedNames) — A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.

    Note: The following fields are mutually exclusive: selected_applications, all_namespaces, selected_namespaces, no_namespaces, excluded_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

#selected_namespaces

def selected_namespaces() -> ::Google::Cloud::GkeBackup::V1::Namespaces
Returns
  • (::Google::Cloud::GkeBackup::V1::Namespaces) — A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.

    Note: The following fields are mutually exclusive: selected_namespaces, all_namespaces, selected_applications, no_namespaces, excluded_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

#selected_namespaces=

def selected_namespaces=(value) -> ::Google::Cloud::GkeBackup::V1::Namespaces
Parameter
  • value (::Google::Cloud::GkeBackup::V1::Namespaces) — A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.

    Note: The following fields are mutually exclusive: selected_namespaces, all_namespaces, selected_applications, no_namespaces, excluded_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::GkeBackup::V1::Namespaces) — A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.

    Note: The following fields are mutually exclusive: selected_namespaces, all_namespaces, selected_applications, no_namespaces, excluded_namespaces. If a field in that set is populated, all other fields in the set will automatically be cleared.

#substitution_rules

def substitution_rules() -> ::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::SubstitutionRule>
Returns
  • (::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::SubstitutionRule>) — Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.

#substitution_rules=

def substitution_rules=(value) -> ::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::SubstitutionRule>
Parameter
  • value (::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::SubstitutionRule>) — Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
Returns
  • (::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::SubstitutionRule>) — Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.

#transformation_rules

def transformation_rules() -> ::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRule>
Returns
  • (::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRule>) — Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.

#transformation_rules=

def transformation_rules=(value) -> ::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRule>
Parameter
  • value (::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRule>) — Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
Returns
  • (::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRule>) — Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.

#volume_data_restore_policy

def volume_data_restore_policy() -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::VolumeDataRestorePolicy
Returns

#volume_data_restore_policy=

def volume_data_restore_policy=(value) -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::VolumeDataRestorePolicy
Parameter
Returns

#volume_data_restore_policy_bindings

def volume_data_restore_policy_bindings() -> ::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::VolumeDataRestorePolicyBinding>
Returns

#volume_data_restore_policy_bindings=

def volume_data_restore_policy_bindings=(value) -> ::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::VolumeDataRestorePolicyBinding>
Parameter
Returns