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.



1294
1295
1296
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1294

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)


1292
1293
1294
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1292

def formatted_diff
  @formatted_diff
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1299
1300
1301
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1299

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