Class: Google::Apis::NetworkservicesV1::ListLbTrafficExtensionsResponse

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

Overview

Message for response to listing LbTrafficExtension resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListLbTrafficExtensionsResponse

Returns a new instance of ListLbTrafficExtensionsResponse.



2498
2499
2500
# File 'lib/google/apis/networkservices_v1/classes.rb', line 2498

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

Instance Attribute Details

#lb_traffic_extensionsArray<Google::Apis::NetworkservicesV1::LbTrafficExtension>

The list of LbTrafficExtension resources. Corresponds to the JSON property lbTrafficExtensions



2486
2487
2488
# File 'lib/google/apis/networkservices_v1/classes.rb', line 2486

def lb_traffic_extensions
  @lb_traffic_extensions
end

#next_page_tokenString

A token identifying a page of results that the server returns. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2491
2492
2493
# File 'lib/google/apis/networkservices_v1/classes.rb', line 2491

def next_page_token
  @next_page_token
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


2496
2497
2498
# File 'lib/google/apis/networkservices_v1/classes.rb', line 2496

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2503
2504
2505
2506
2507
# File 'lib/google/apis/networkservices_v1/classes.rb', line 2503

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