Class: Google::Apis::StoragetransferV1::RunTransferJobRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RunTransferJobRequest

Returns a new instance of RunTransferJobRequest.



1008
1009
1010
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1008

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

Instance Attribute Details

#project_idString

Required. The ID of the Google Cloud project that owns the transfer job. Corresponds to the JSON property projectId

Returns:

  • (String)


1006
1007
1008
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1006

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1013
1014
1015
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1013

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