Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListVersionsResponse

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

Returns a new instance of GoogleCloudDialogflowV2ListVersionsResponse.



14149
14150
14151
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14149

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

Instance Attribute Details

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


14142
14143
14144
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14142

def next_page_token
  @next_page_token
end

#versionsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Version>

Corresponds to the JSON property versions



14147
14148
14149
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14147

def versions
  @versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14154
14155
14156
14157
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14154

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