Class: Google::Apis::BigquerydatatransferV1::TransferResource
- Inherits:
-
Object
- Object
- Google::Apis::BigquerydatatransferV1::TransferResource
- 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
Resource (table/partition) that is being transferred.
Instance Attribute Summary collapse
-
#destination ⇒ String
Optional.
-
#hierarchy_detail ⇒ Google::Apis::BigquerydatatransferV1::HierarchyDetail
Details about the hierarchy.
-
#last_successful_run ⇒ Google::Apis::BigquerydatatransferV1::TransferRunBrief
Basic information about a transfer run.
-
#latest_run ⇒ Google::Apis::BigquerydatatransferV1::TransferRunBrief
Basic information about a transfer run.
-
#latest_status_detail ⇒ Google::Apis::BigquerydatatransferV1::TransferResourceStatusDetail
Status details of the resource being transferred.
-
#name ⇒ String
Identifier.
-
#type ⇒ String
Optional.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransferResource
constructor
A new instance of TransferResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TransferResource
Returns a new instance of TransferResource.
1233 1234 1235 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination ⇒ String
Optional. Resource destination.
Corresponds to the JSON property destination
1196 1197 1198 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1196 def destination @destination end |
#hierarchy_detail ⇒ Google::Apis::BigquerydatatransferV1::HierarchyDetail
Details about the hierarchy.
Corresponds to the JSON property hierarchyDetail
1201 1202 1203 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1201 def hierarchy_detail @hierarchy_detail end |
#last_successful_run ⇒ Google::Apis::BigquerydatatransferV1::TransferRunBrief
Basic information about a transfer run.
Corresponds to the JSON property lastSuccessfulRun
1206 1207 1208 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1206 def last_successful_run @last_successful_run end |
#latest_run ⇒ Google::Apis::BigquerydatatransferV1::TransferRunBrief
Basic information about a transfer run.
Corresponds to the JSON property latestRun
1211 1212 1213 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1211 def latest_run @latest_run end |
#latest_status_detail ⇒ Google::Apis::BigquerydatatransferV1::TransferResourceStatusDetail
Status details of the resource being transferred.
Corresponds to the JSON property latestStatusDetail
1216 1217 1218 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1216 def latest_status_detail @latest_status_detail end |
#name ⇒ String
Identifier. Resource name.
Corresponds to the JSON property name
1221 1222 1223 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1221 def name @name end |
#type ⇒ String
Optional. Resource type.
Corresponds to the JSON property type
1226 1227 1228 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1226 def type @type end |
#update_time ⇒ String
Output only. Time when the resource was last updated.
Corresponds to the JSON property updateTime
1231 1232 1233 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1231 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1238 def update!(**args) @destination = args[:destination] if args.key?(:destination) @hierarchy_detail = args[:hierarchy_detail] if args.key?(:hierarchy_detail) @last_successful_run = args[:last_successful_run] if args.key?(:last_successful_run) @latest_run = args[:latest_run] if args.key?(:latest_run) @latest_status_detail = args[:latest_status_detail] if args.key?(:latest_status_detail) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) end |