Class: Google::Cloud::SecureSourceManager::V1::FileDiff

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

Overview

Metadata of a FileDiff. FileDiff represents a single file diff in a pull request.

Defined Under Namespace

Modules: Action

Instance Attribute Summary collapse

Instance Attribute Details

#action::Google::Cloud::SecureSourceManager::V1::FileDiff::Action (readonly)

Returns Output only. The action taken on the file (eg. added, modified, deleted).

Returns:



594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 594

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

  # Action taken on the file.
  module Action
    # Unspecified.
    ACTION_UNSPECIFIED = 0

    # The file was added.
    ADDED = 1

    # The file was modified.
    MODIFIED = 2

    # The file was deleted.
    DELETED = 3
  end
end

#name::String (readonly)

Returns Output only. The name of the file.

Returns:

  • (::String)

    Output only. The name of the file.



594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 594

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

  # Action taken on the file.
  module Action
    # Unspecified.
    ACTION_UNSPECIFIED = 0

    # The file was added.
    ADDED = 1

    # The file was modified.
    MODIFIED = 2

    # The file was deleted.
    DELETED = 3
  end
end

#patch::String (readonly)

Returns Output only. The git patch containing the file changes.

Returns:

  • (::String)

    Output only. The git patch containing the file changes.



594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 594

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

  # Action taken on the file.
  module Action
    # Unspecified.
    ACTION_UNSPECIFIED = 0

    # The file was added.
    ADDED = 1

    # The file was modified.
    MODIFIED = 2

    # The file was deleted.
    DELETED = 3
  end
end

#sha::String (readonly)

Returns Output only. The commit pointing to the file changes.

Returns:

  • (::String)

    Output only. The commit pointing to the file changes.



594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 594

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

  # Action taken on the file.
  module Action
    # Unspecified.
    ACTION_UNSPECIFIED = 0

    # The file was added.
    ADDED = 1

    # The file was modified.
    MODIFIED = 2

    # The file was deleted.
    DELETED = 3
  end
end