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.



499
500
501
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 499

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)


497
498
499
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 497

def formatted_diff
  @formatted_diff
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



504
505
506
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 504

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