Class: Google::Apis::SqladminV1beta4::ListOperationsResponse

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

Overview

Database instance list operations response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListOperationsResponse

Returns a new instance of ListOperationsResponse.



2220
2221
2222
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2220

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

Instance Attribute Details

#itemsArray<Google::Apis::SqladminV1beta4::Operation>

List of operation resources. Corresponds to the JSON property items



2207
2208
2209
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2207

def items
  @items
end

#kindString

This is always sql#operationsList. Corresponds to the JSON property kind

Returns:

  • (String)


2212
2213
2214
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2212

def kind
  @kind
end

#next_page_tokenString

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2218
2219
2220
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2218

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2225
2226
2227
2228
2229
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2225

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