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

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

A transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup. A rule contains both filtering logic (which resources are subject to transform) and transformation logic.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#description

def description() -> ::String
Returns
  • (::String) — Optional. The description is a user specified string description of the transformation rule.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. The description is a user specified string description of the transformation rule.
Returns
  • (::String) — Optional. The description is a user specified string description of the transformation rule.

#field_actions

def field_actions() -> ::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction>
Returns
  • (::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction>) — Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.

#field_actions=

def field_actions=(value) -> ::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction>
Parameter
  • value (::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction>) — Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
Returns
  • (::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction>) — Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.

#resource_filter

def resource_filter() -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::ResourceFilter
Returns
  • (::Google::Cloud::GkeBackup::V1::RestoreConfig::ResourceFilter) — Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.

#resource_filter=

def resource_filter=(value) -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::ResourceFilter
Parameter
  • value (::Google::Cloud::GkeBackup::V1::RestoreConfig::ResourceFilter) — Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
Returns
  • (::Google::Cloud::GkeBackup::V1::RestoreConfig::ResourceFilter) — Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.