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.



9549
9550
9551
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9549

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

Instance Attribute Details

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

Corresponds to the JSON property entries



9537
9538
9539
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9537

def entries
  @entries
end

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


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

def next_page_token
  @next_page_token
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


9547
9548
9549
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9547

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9554
9555
9556
9557
9558
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9554

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