Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListContextsResponse

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) ⇒ GoogleCloudDialogflowV2ListContextsResponse

Returns a new instance of GoogleCloudDialogflowV2ListContextsResponse.



13523
13524
13525
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13523

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

Instance Attribute Details

#contextsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context>

Corresponds to the JSON property contexts



13516
13517
13518
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13516

def contexts
  @contexts
end

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


13521
13522
13523
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13521

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13528
13529
13530
13531
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13528

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