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.



13973
13974
13975
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13973

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

Instance Attribute Details

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


13966
13967
13968
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13966

def next_page_token
  @next_page_token
end

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

Corresponds to the JSON property versions



13971
13972
13973
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13971

def versions
  @versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13978
13979
13980
13981
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13978

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