Class: Google::Apis::ApimV1alpha::ListObservationJobsResponse

Inherits:
Object
  • Object
show all
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 ObservationJobs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListObservationJobsResponse

Returns a new instance of ListObservationJobsResponse.

[View source]

526
527
528
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 526

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)

514
515
516
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 514

def next_page_token
  @next_page_token
end

#observation_jobsArray<Google::Apis::ApimV1alpha::ObservationJob>

The ObservationJob from the specified project and location. Corresponds to the JSON property observationJobs


519
520
521
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 519

def observation_jobs
  @observation_jobs
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)

524
525
526
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 524

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

531
532
533
534
535
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 531

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