Class: Google::Apis::AdminDatatransferV1::DataTransfersListResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdminDatatransferV1::DataTransfersListResponse
- 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.
Instance Attribute Summary collapse
-
#data_transfers ⇒ Array<Google::Apis::AdminDatatransferV1::DataTransfer>
List of data transfer requests.
-
#etag ⇒ String
ETag of the resource.
-
#kind ⇒ String
Identifies the resource as a collection of data transfer requests.
-
#next_page_token ⇒ String
Continuation token which will be used to specify next page in list API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataTransfersListResponse
constructor
A new instance of DataTransfersListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DataTransfersListResponse
Returns a new instance of DataTransfersListResponse
253 254 255 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 253 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_transfers ⇒ Array<Google::Apis::AdminDatatransferV1::DataTransfer>
List of data transfer requests.
Corresponds to the JSON property dataTransfers
236 237 238 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 236 def data_transfers @data_transfers end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
241 242 243 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 241 def etag @etag end |
#kind ⇒ String
Identifies the resource as a collection of data transfer requests.
Corresponds to the JSON property kind
246 247 248 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 246 def kind @kind end |
#next_page_token ⇒ String
Continuation token which will be used to specify next page in list API.
Corresponds to the JSON property nextPageToken
251 252 253 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 251 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
258 259 260 261 262 263 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 258 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 |