Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EnvironmentHistory

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2EnvironmentHistory

Returns a new instance of GoogleCloudDialogflowV2EnvironmentHistory.



9535
9536
9537
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9535

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

Instance Attribute Details

#entriesArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EnvironmentHistoryEntry>

Corresponds to the JSON property entries



9523
9524
9525
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9523

def entries
  @entries
end

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


9528
9529
9530
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9528

def next_page_token
  @next_page_token
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


9533
9534
9535
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9533

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9540
9541
9542
9543
9544
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9540

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