Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ListGeneratorsResponse

Returns a new instance of GoogleCloudDialogflowV2beta1ListGeneratorsResponse.



17742
17743
17744
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17742

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

Instance Attribute Details

#generatorsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator>

Corresponds to the JSON property generators



17735
17736
17737
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17735

def generators
  @generators
end

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


17740
17741
17742
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17740

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17747
17748
17749
17750
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17747

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