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.



650
651
652
# File 'lib/google/apis/datastream_v1/classes.rb', line 650

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)


643
644
645
# File 'lib/google/apis/datastream_v1/classes.rb', line 643

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


648
649
650
# File 'lib/google/apis/datastream_v1/classes.rb', line 648

def static_ips
  @static_ips
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



655
656
657
658
# File 'lib/google/apis/datastream_v1/classes.rb', line 655

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