Class: Google::Apis::AdminDatatransferV1::DataTransfersListResponse

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

Overview

Template for a collection of DataTransfer resources. STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/stepladder-help# fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. ( See http://go/stepladder-help#fieldNumber)

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DataTransfersListResponse

Returns a new instance of DataTransfersListResponse.


265
266
267
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 265

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

Instance Attribute Details

#data_transfersArray<Google::Apis::AdminDatatransferV1::DataTransfer>

List of data transfer requests. Corresponds to the JSON property dataTransfers


248
249
250
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 248

def data_transfers
  @data_transfers
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)

253
254
255
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 253

def etag
  @etag
end

#kindString

Identifies the resource as a collection of data transfer requests. Corresponds to the JSON property kind

Returns:

  • (String)

258
259
260
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 258

def kind
  @kind
end

#next_page_tokenString

Continuation token which will be used to specify next page in list API. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

263
264
265
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 263

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


270
271
272
273
274
275
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 270

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