Class: Google::Apis::DatamigrationV1::FetchStaticIpsResponse

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

Overview

Response message for a 'FetchStaticIps' request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchStaticIpsResponse

Returns a new instance of FetchStaticIpsResponse.



1937
1938
1939
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1937

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

Instance Attribute Details

#next_page_tokenString

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1930
1931
1932
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1930

def next_page_token
  @next_page_token
end

#static_ipsArray<String>

List of static IPs. Corresponds to the JSON property staticIps

Returns:

  • (Array<String>)


1935
1936
1937
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1935

def static_ips
  @static_ips
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1942
1943
1944
1945
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1942

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