Class: Google::Cloud::SecurityCenter::V2::File::FileOperation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v2/file.rb

Overview

Operation(s) performed on a file.

Defined Under Namespace

Modules: OperationType

Instance Attribute Summary collapse

Instance Attribute Details

#type::Google::Cloud::SecurityCenter::V2::File::FileOperation::OperationType

Returns The type of the operation.



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'proto_docs/google/cloud/securitycenter/v2/file.rb', line 76

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

  # The type of the operation
  module OperationType
    # The operation is unspecified.
    OPERATION_TYPE_UNSPECIFIED = 0

    # Represents an open operation.
    OPEN = 1

    # Represents a read operation.
    READ = 2

    # Represents a rename operation.
    RENAME = 3

    # Represents a write operation.
    WRITE = 4

    # Represents an execute operation.
    EXECUTE = 5
  end
end