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.
2224 2225 2226 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2224 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
2212 2213 2214 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2212 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
2217 2218 2219 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2217 def service_classes @service_classes end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
2222 2223 2224 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2222 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2229 2230 2231 2232 2233 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 2229 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 |