Class: Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRule

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkebackup/v1/restore.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#description::String

Returns The description is a user specified string description of the transformation rule.

Returns:

  • (::String)

    The description is a user specified string description of the transformation rule.



421
422
423
424
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 421

class TransformationRule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#field_actions::Array<::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction>

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



421
422
423
424
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 421

class TransformationRule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_filter::Google::Cloud::GkeBackup::V1::RestoreConfig::ResourceFilter

Returns 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)

    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.



421
422
423
424
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 421

class TransformationRule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end