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.



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

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

Instance Attribute Details

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

Corresponds to the JSON property entries



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

def entries
  @entries
end

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


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

def next_page_token
  @next_page_token
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


9553
9554
9555
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9553

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9560
9561
9562
9563
9564
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9560

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