Class: Google::Apis::StoragetransferV1::RunTransferJobRequest
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::RunTransferJobRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/storagetransfer_v1/classes.rb,
lib/google/apis/storagetransfer_v1/representations.rb,
lib/google/apis/storagetransfer_v1/representations.rb
Overview
Request passed to RunTransferJob.
Instance Attribute Summary collapse
-
#project_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RunTransferJobRequest
constructor
A new instance of RunTransferJobRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RunTransferJobRequest
Returns a new instance of RunTransferJobRequest.
1130 1131 1132 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1130 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project_id ⇒ String
Required. The ID of the Google Cloud project that owns the transfer job.
Corresponds to the JSON property projectId
1128 1129 1130 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1128 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1135 1136 1137 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1135 def update!(**args) @project_id = args[:project_id] if args.key?(:project_id) end |