Class: Google::Apis::DatastreamV1::FetchStaticIpsResponse

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

Overview

Response message for a 'FetchStaticIps' response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchStaticIpsResponse

Returns a new instance of FetchStaticIpsResponse.



612
613
614
# File 'lib/google/apis/datastream_v1/classes.rb', line 612

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)


605
606
607
# File 'lib/google/apis/datastream_v1/classes.rb', line 605

def next_page_token
  @next_page_token
end

#static_ipsArray<String>

list of static ips by account Corresponds to the JSON property staticIps

Returns:

  • (Array<String>)


610
611
612
# File 'lib/google/apis/datastream_v1/classes.rb', line 610

def static_ips
  @static_ips
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



617
618
619
620
# File 'lib/google/apis/datastream_v1/classes.rb', line 617

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