Class: Google::Apis::DataformV1beta1::FetchFileDiffResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb

Overview

FetchFileDiff response message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchFileDiffResponse

Returns a new instance of FetchFileDiffResponse.



940
941
942
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 940

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#formatted_diffString

The raw formatted Git diff for the file. Corresponds to the JSON property formattedDiff

Returns:

  • (String)


938
939
940
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 938

def formatted_diff
  @formatted_diff
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



945
946
947
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 945

def update!(**args)
  @formatted_diff = args[:formatted_diff] if args.key?(:formatted_diff)
end