Class: Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction

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

Overview

TransformationRuleAction defines a TransformationRule action based on the JSON Patch RFC (https://www.rfc-editor.org/rfc/rfc6902)

Defined Under Namespace

Modules: Op

Instance Attribute Summary collapse

Instance Attribute Details

#from_path::String



330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 330

class TransformationRuleAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible values for operations of a transformation rule action.
  module Op
    # Unspecified operation
    OP_UNSPECIFIED = 0

    # The "remove" operation removes the value at the target location.
    REMOVE = 1

    # The "move" operation removes the value at a specified location and
    # adds it to the target location.
    MOVE = 2

    # The "copy" operation copies the value at a specified location to the
    # target location.
    COPY = 3

    # The "add" operation performs one of the following functions,
    # depending upon what the target location references:
    # 1. If the target location specifies an array index, a new value is
    # inserted into the array at the specified index.
    # 2. If the target location specifies an object member that does not
    # already exist, a new member is added to the object.
    # 3. If the target location specifies an object member that does exist,
    # that member's value is replaced.
    ADD = 4

    # The "test" operation tests that a value at the target location is
    # equal to a specified value.
    TEST = 5

    # The "replace" operation replaces the value at the target location
    # with a new value.  The operation object MUST contain a "value" member
    # whose content specifies the replacement value.
    REPLACE = 6
  end
end

#op::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction::Op



330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 330

class TransformationRuleAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible values for operations of a transformation rule action.
  module Op
    # Unspecified operation
    OP_UNSPECIFIED = 0

    # The "remove" operation removes the value at the target location.
    REMOVE = 1

    # The "move" operation removes the value at a specified location and
    # adds it to the target location.
    MOVE = 2

    # The "copy" operation copies the value at a specified location to the
    # target location.
    COPY = 3

    # The "add" operation performs one of the following functions,
    # depending upon what the target location references:
    # 1. If the target location specifies an array index, a new value is
    # inserted into the array at the specified index.
    # 2. If the target location specifies an object member that does not
    # already exist, a new member is added to the object.
    # 3. If the target location specifies an object member that does exist,
    # that member's value is replaced.
    ADD = 4

    # The "test" operation tests that a value at the target location is
    # equal to a specified value.
    TEST = 5

    # The "replace" operation replaces the value at the target location
    # with a new value.  The operation object MUST contain a "value" member
    # whose content specifies the replacement value.
    REPLACE = 6
  end
end

#path::String



330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 330

class TransformationRuleAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible values for operations of a transformation rule action.
  module Op
    # Unspecified operation
    OP_UNSPECIFIED = 0

    # The "remove" operation removes the value at the target location.
    REMOVE = 1

    # The "move" operation removes the value at a specified location and
    # adds it to the target location.
    MOVE = 2

    # The "copy" operation copies the value at a specified location to the
    # target location.
    COPY = 3

    # The "add" operation performs one of the following functions,
    # depending upon what the target location references:
    # 1. If the target location specifies an array index, a new value is
    # inserted into the array at the specified index.
    # 2. If the target location specifies an object member that does not
    # already exist, a new member is added to the object.
    # 3. If the target location specifies an object member that does exist,
    # that member's value is replaced.
    ADD = 4

    # The "test" operation tests that a value at the target location is
    # equal to a specified value.
    TEST = 5

    # The "replace" operation replaces the value at the target location
    # with a new value.  The operation object MUST contain a "value" member
    # whose content specifies the replacement value.
    REPLACE = 6
  end
end

#value::String



330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 330

class TransformationRuleAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible values for operations of a transformation rule action.
  module Op
    # Unspecified operation
    OP_UNSPECIFIED = 0

    # The "remove" operation removes the value at the target location.
    REMOVE = 1

    # The "move" operation removes the value at a specified location and
    # adds it to the target location.
    MOVE = 2

    # The "copy" operation copies the value at a specified location to the
    # target location.
    COPY = 3

    # The "add" operation performs one of the following functions,
    # depending upon what the target location references:
    # 1. If the target location specifies an array index, a new value is
    # inserted into the array at the specified index.
    # 2. If the target location specifies an object member that does not
    # already exist, a new member is added to the object.
    # 3. If the target location specifies an object member that does exist,
    # that member's value is replaced.
    ADD = 4

    # The "test" operation tests that a value at the target location is
    # equal to a specified value.
    TEST = 5

    # The "replace" operation replaces the value at the target location
    # with a new value.  The operation object MUST contain a "value" member
    # whose content specifies the replacement value.
    REPLACE = 6
  end
end