Class: Google::Apis::DataformV1::FetchFileDiffResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataform_v1/classes.rb,
lib/google/apis/dataform_v1/representations.rb,
lib/google/apis/dataform_v1/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.



1267
1268
1269
# File 'lib/google/apis/dataform_v1/classes.rb', line 1267

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)


1265
1266
1267
# File 'lib/google/apis/dataform_v1/classes.rb', line 1265

def formatted_diff
  @formatted_diff
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1272
1273
1274
# File 'lib/google/apis/dataform_v1/classes.rb', line 1272

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