Class: Google::Apis::NetworkconnectivityV1::ListServiceClassesResponse
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::ListServiceClassesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb
Overview
Response for ListServiceClasses.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
The next pagination token in the List response.
-
#service_classes ⇒ Array<Google::Apis::NetworkconnectivityV1::ServiceClass>
ServiceClasses to be returned.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListServiceClassesResponse
constructor
A new instance of ListServiceClassesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListServiceClassesResponse
Returns a new instance of ListServiceClassesResponse.
2711 2712 2713 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2711 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
The next pagination token in the List response. It should be used as
page_token for the following request. An empty value means no more result.
Corresponds to the JSON property nextPageToken
2699 2700 2701 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2699 def next_page_token @next_page_token end |
#service_classes ⇒ Array<Google::Apis::NetworkconnectivityV1::ServiceClass>
ServiceClasses to be returned.
Corresponds to the JSON property serviceClasses
2704 2705 2706 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2704 def service_classes @service_classes end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
2709 2710 2711 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2709 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2716 2717 2718 2719 2720 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2716 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @service_classes = args[:service_classes] if args.key?(:service_classes) @unreachable = args[:unreachable] if args.key?(:unreachable) end |