Class: Google::Apis::StoragetransferV1::UpdateTransferJobRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::StoragetransferV1::UpdateTransferJobRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/storagetransfer_v1/classes.rb,
 generated/google/apis/storagetransfer_v1/representations.rb,
 generated/google/apis/storagetransfer_v1/representations.rb
Overview
Request passed to UpdateTransferJob.
Instance Attribute Summary collapse
- 
  
    
      #project_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the Google Cloud Platform Console project that owns the job. 
- 
  
    
      #transfer_job  ⇒ Google::Apis::StoragetransferV1::TransferJob 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This resource represents the configuration of a transfer job that runs periodically. 
- 
  
    
      #update_transfer_job_field_mask  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The field mask of the fields in transferJobthat are to be updated in this request.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UpdateTransferJobRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UpdateTransferJobRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateTransferJobRequest
Returns a new instance of UpdateTransferJobRequest
| 1109 1110 1111 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1109 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#project_id ⇒ String
The ID of the Google Cloud Platform Console project that owns the job.
Required.
Corresponds to the JSON property projectId
| 1091 1092 1093 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1091 def project_id @project_id end | 
#transfer_job ⇒ Google::Apis::StoragetransferV1::TransferJob
This resource represents the configuration of a transfer job that runs
periodically.
Corresponds to the JSON property transferJob
| 1097 1098 1099 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1097 def transfer_job @transfer_job end | 
#update_transfer_job_field_mask ⇒ String
The field mask of the fields in transferJob that are to be updated in
this request.  Fields in transferJob that can be updated are:
description, transferSpec, and status.  To update the transferSpec
of the job, a complete transfer specification has to be provided. An
incomplete specification which misses any required fields will be rejected
with the error INVALID_ARGUMENT.
Corresponds to the JSON property updateTransferJobFieldMask
| 1107 1108 1109 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1107 def update_transfer_job_field_mask @update_transfer_job_field_mask end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1114 1115 1116 1117 1118 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1114 def update!(**args) @project_id = args[:project_id] if args.key?(:project_id) @transfer_job = args[:transfer_job] if args.key?(:transfer_job) @update_transfer_job_field_mask = args[:update_transfer_job_field_mask] if args.key?(:update_transfer_job_field_mask) end |