Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::RestoreConfig (v0.7.0)

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

Configuration of a restore. Next id: 12

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.

#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.
Returns
  • (::Boolean) — Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.

#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

#excluded_namespaces=

def excluded_namespaces=(value) -> ::Google::Cloud::GkeBackup::V1::Namespaces
Parameter
Returns

#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.

#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.
Returns
  • (::Boolean) — Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.

#selected_applications

def selected_applications() -> ::Google::Cloud::GkeBackup::V1::NamespacedNames
Returns

#selected_applications=

def selected_applications=(value) -> ::Google::Cloud::GkeBackup::V1::NamespacedNames
Parameter
Returns

#selected_namespaces

def selected_namespaces() -> ::Google::Cloud::GkeBackup::V1::Namespaces
Returns

#selected_namespaces=

def selected_namespaces=(value) -> ::Google::Cloud::GkeBackup::V1::Namespaces
Parameter
Returns

#substitution_rules

def substitution_rules() -> ::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::SubstitutionRule>
Returns
  • (::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::SubstitutionRule>) — 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>) — 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>) — 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>) — 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>) — 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>) — 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