Class: Google::Apis::SpannerV1::ListBackupOperationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::ListBackupOperationsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/spanner_v1/classes.rb,
lib/google/apis/spanner_v1/representations.rb,
lib/google/apis/spanner_v1/representations.rb
Overview
The response for ListBackupOperations.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
next_page_tokencan be sent in a subsequent ListBackupOperations call to fetch more of the matching metadata. -
#operations ⇒ Array<Google::Apis::SpannerV1::Operation>
The list of matching backup long-running operations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListBackupOperationsResponse
constructor
A new instance of ListBackupOperationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListBackupOperationsResponse
Returns a new instance of ListBackupOperationsResponse.
1954 1955 1956 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 1954 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
next_page_token can be sent in a subsequent ListBackupOperations call to
fetch more of the matching metadata.
Corresponds to the JSON property nextPageToken
1941 1942 1943 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 1941 def next_page_token @next_page_token end |
#operations ⇒ Array<Google::Apis::SpannerV1::Operation>
The list of matching backup long-running operations. Each operation's name
will be prefixed by the backup's name. The operation's metadata field type
metadata.type_url describes the type of the metadata. Operations returned
include those that are pending or have completed/failed/canceled within the
last 7 days. Operations returned are ordered by operation.metadata.value.
progress.start_time in descending order starting from the most recently
started operation.
Corresponds to the JSON property operations
1952 1953 1954 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 1952 def operations @operations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1959 1960 1961 1962 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 1959 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @operations = args[:operations] if args.key?(:operations) end |