Class: Google::Apis::BigquerydatatransferV1::ListTransferResourcesResponse

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

Overview

Response for the ListTransferResources RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListTransferResourcesResponse

Returns a new instance of ListTransferResourcesResponse.



582
583
584
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 582

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

Instance Attribute Details

#next_page_tokenString

Output only. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


575
576
577
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 575

def next_page_token
  @next_page_token
end

#transfer_resourcesArray<Google::Apis::BigquerydatatransferV1::TransferResource>

Output only. The transfer resources. Corresponds to the JSON property transferResources



580
581
582
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 580

def transfer_resources
  @transfer_resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



587
588
589
590
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 587

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