Class: Google::Apis::DatastreamV1alpha1::FetchStaticIpsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datastream_v1alpha1/classes.rb,
lib/google/apis/datastream_v1alpha1/representations.rb,
lib/google/apis/datastream_v1alpha1/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.



439
440
441
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 439

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)


432
433
434
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 432

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


437
438
439
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 437

def static_ips
  @static_ips
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



444
445
446
447
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 444

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