Class: Google::Apis::FtpV1::ListServersResponse

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

Overview

Message for response to listing Servers

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListServersResponse

Returns a new instance of ListServersResponse.



253
254
255
# File 'lib/google/apis/ftp_v1/classes.rb', line 253

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

Instance Attribute Details

#next_page_tokenString

A token identifying a page of results the server should return. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


241
242
243
# File 'lib/google/apis/ftp_v1/classes.rb', line 241

def next_page_token
  @next_page_token
end

#serversArray<Google::Apis::FtpV1::Server>

The list of Server Corresponds to the JSON property servers

Returns:



246
247
248
# File 'lib/google/apis/ftp_v1/classes.rb', line 246

def servers
  @servers
end

#unreachableArray<String>

Unordered list. Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


251
252
253
# File 'lib/google/apis/ftp_v1/classes.rb', line 251

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



258
259
260
261
262
# File 'lib/google/apis/ftp_v1/classes.rb', line 258

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