Class: Google::Apis::StoragebatchoperationsV1::ListJobsResponse

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

Overview

Message for response to listing Jobs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListJobsResponse

Returns a new instance of ListJobsResponse.



708
709
710
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 708

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

Instance Attribute Details

#jobsArray<Google::Apis::StoragebatchoperationsV1::Job>

A list of storage batch jobs. Corresponds to the JSON property jobs



696
697
698
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 696

def jobs
  @jobs
end

#next_page_tokenString

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

Returns:

  • (String)


701
702
703
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 701

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>)


706
707
708
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 706

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



713
714
715
716
717
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 713

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