Class: Google::Apis::ApimV1alpha::ListObservationSourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ApimV1alpha::ListObservationSourcesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apim_v1alpha/classes.rb,
lib/google/apis/apim_v1alpha/representations.rb,
lib/google/apis/apim_v1alpha/representations.rb more...
Overview
Message for response to listing ObservationSources
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#observation_sources ⇒ Array<Google::Apis::ApimV1alpha::ObservationSource>
The ObservationSource from the specified project and location.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListObservationSourcesResponse
constructor
A new instance of ListObservationSourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListObservationSourcesResponse
Returns a new instance of ListObservationSourcesResponse.
558 559 560 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 558 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which 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
546 547 548 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 546 def next_page_token @next_page_token end |
#observation_sources ⇒ Array<Google::Apis::ApimV1alpha::ObservationSource>
The ObservationSource from the specified project and location.
Corresponds to the JSON property observationSources
551 552 553 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 551 def observation_sources @observation_sources end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
556 557 558 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 556 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
563 564 565 566 567 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 563 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @observation_sources = args[:observation_sources] if args.key?(:observation_sources) @unreachable = args[:unreachable] if args.key?(:unreachable) end |