Class: Google::Apis::SpannerV1::ListDatabaseOperationsResponse

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

Overview

The response for ListDatabaseOperations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDatabaseOperationsResponse

Returns a new instance of ListDatabaseOperationsResponse.



1577
1578
1579
# File 'generated/google/apis/spanner_v1/classes.rb', line 1577

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

Instance Attribute Details

#next_page_tokenString

next_page_token can be sent in a subsequent ListDatabaseOperations call to fetch more of the matching metadata. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1568
1569
1570
# File 'generated/google/apis/spanner_v1/classes.rb', line 1568

def next_page_token
  @next_page_token
end

#operationsArray<Google::Apis::SpannerV1::Operation>

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata. Corresponds to the JSON property operations



1575
1576
1577
# File 'generated/google/apis/spanner_v1/classes.rb', line 1575

def operations
  @operations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1582
1583
1584
1585
# File 'generated/google/apis/spanner_v1/classes.rb', line 1582

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