Class: Google::Apis::StoragebatchoperationsV1::ListBucketOperationsResponse

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 BucketOperations

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListBucketOperationsResponse

Returns a new instance of ListBucketOperationsResponse.



564
565
566
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 564

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

Instance Attribute Details

#bucket_operationsArray<Google::Apis::StoragebatchoperationsV1::BucketOperation>

A list of storage batch bucket operations. Corresponds to the JSON property bucketOperations



552
553
554
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 552

def bucket_operations
  @bucket_operations
end

#next_page_tokenString

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

Returns:

  • (String)


557
558
559
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 557

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


562
563
564
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 562

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



569
570
571
572
573
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 569

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