generated/google/apis/storagetransfer_v1/classes.rb in google-api-client-0.46.1 vs generated/google/apis/storagetransfer_v1/classes.rb in google-api-client-0.46.2
- old
+ new
@@ -880,10 +880,17 @@
# Output only. The time that the transfer job was last modified.
# Corresponds to the JSON property `lastModificationTime`
# @return [String]
attr_accessor :last_modification_time
+ # The name of the most recently started TransferOperation of this JobConfig.
+ # Present if and only if at least one TransferOperation has been created for
+ # this JobConfig.
+ # Corresponds to the JSON property `latestOperationName`
+ # @return [String]
+ attr_accessor :latest_operation_name
+
# A unique name (within the transfer project) assigned when the job is created.
# If this field is empty in a CreateTransferJobRequest, Storage Transfer Service
# will assign a unique name. Otherwise, the specified name is used as the unique
# name for this job. If the specified name is in use by a job, the creation
# request fails with an ALREADY_EXISTS error. This name must start with `"
@@ -939,9 +946,10 @@
def update!(**args)
@creation_time = args[:creation_time] if args.key?(:creation_time)
@deletion_time = args[:deletion_time] if args.key?(:deletion_time)
@description = args[:description] if args.key?(:description)
@last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time)
+ @latest_operation_name = args[:latest_operation_name] if args.key?(:latest_operation_name)
@name = args[:name] if args.key?(:name)
@notification_config = args[:notification_config] if args.key?(:notification_config)
@project_id = args[:project_id] if args.key?(:project_id)
@schedule = args[:schedule] if args.key?(:schedule)
@status = args[:status] if args.key?(:status)