diff --git a/api_names_out.yaml b/api_names_out.yaml index a605efd95..2910cd74b 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -145006,6 +145006,8 @@ "/storagetransfer:v1/PauseTransferOperationRequest": pause_transfer_operation_request "/storagetransfer:v1/ResumeTransferOperationRequest": resume_transfer_operation_request "/storagetransfer:v1/Schedule": schedule +"/storagetransfer:v1/Schedule/endTimeOfDay": end_time_of_day +"/storagetransfer:v1/Schedule/repeatInterval": repeat_interval "/storagetransfer:v1/Schedule/scheduleEndDate": schedule_end_date "/storagetransfer:v1/Schedule/scheduleStartDate": schedule_start_date "/storagetransfer:v1/Schedule/startTimeOfDay": start_time_of_day diff --git a/generated/google/apis/storagetransfer_v1.rb b/generated/google/apis/storagetransfer_v1.rb index 68295dc10..a6e2f9705 100644 --- a/generated/google/apis/storagetransfer_v1.rb +++ b/generated/google/apis/storagetransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/storage-transfer/docs module StoragetransferV1 VERSION = 'V1' - REVISION = '20201027' + REVISION = '20201105' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/storagetransfer_v1/classes.rb b/generated/google/apis/storagetransfer_v1/classes.rb index 3c770b1bf..b44f55949 100644 --- a/generated/google/apis/storagetransfer_v1/classes.rb +++ b/generated/google/apis/storagetransfer_v1/classes.rb @@ -326,14 +326,14 @@ module Google # If the specified size of an object does not match the actual size of the # object fetched, the object will not be transferred. * If the specified MD5 # does not match the MD5 computed from the transferred bytes, the object - # transfer will fail. For more information, see [Generating MD5 hashes](https:// - # cloud.google.com/storage-transfer/docs/create-url-list#md5) * Ensure that each - # URL you specify is publicly accessible. For example, in Cloud Storage you can [ - # share an object publicly] (https://cloud.google.com/storage/docs/cloud-console# - # _sharingdata) and get a link to it. * Storage Transfer Service obeys `robots. - # txt` rules and requires the source HTTP server to support `Range` requests and - # to return a `Content-Length` header in each response. * ObjectConditions have - # no effect when filtering objects to transfer. + # transfer will fail. For more information, see [Generating MD5 hashes] (https:// + # cloud.google.com/storage-transfer/docs/create-url-list#md5-checksum) * Ensure + # that each URL you specify is publicly accessible. For example, in Cloud + # Storage you can [share an object publicly] (https://cloud.google.com/storage/ + # docs/cloud-console#_sharingdata) and get a link to it. * Storage Transfer + # Service obeys `robots.txt` rules and requires the source HTTP server to + # support `Range` requests and to return a `Content-Length` header in each + # response. * ObjectConditions have no effect when filtering objects to transfer. class HttpData include Google::Apis::Core::Hashable @@ -623,6 +623,19 @@ module Google class Schedule include Google::Apis::Core::Hashable + # Represents a time of day. The date and time zone are either not significant or + # are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `endTimeOfDay` + # @return [Google::Apis::StoragetransferV1::TimeOfDay] + attr_accessor :end_time_of_day + + # Interval between the start of each scheduled TransferOperation. If unspecified, + # the default value is 24 hours. This value may not be less than 1 hour. + # Corresponds to the JSON property `repeatInterval` + # @return [String] + attr_accessor :repeat_interval + # Represents a whole or partial calendar date, such as a birthday. The time of # day and time zone are either specified elsewhere or are insignificant. The # date is relative to the Gregorian Calendar. This can represent one of the @@ -660,6 +673,8 @@ module Google # Update properties of this object def update!(**args) + @end_time_of_day = args[:end_time_of_day] if args.key?(:end_time_of_day) + @repeat_interval = args[:repeat_interval] if args.key?(:repeat_interval) @schedule_end_date = args[:schedule_end_date] if args.key?(:schedule_end_date) @schedule_start_date = args[:schedule_start_date] if args.key?(:schedule_start_date) @start_time_of_day = args[:start_time_of_day] if args.key?(:start_time_of_day) @@ -1137,14 +1152,14 @@ module Google # If the specified size of an object does not match the actual size of the # object fetched, the object will not be transferred. * If the specified MD5 # does not match the MD5 computed from the transferred bytes, the object - # transfer will fail. For more information, see [Generating MD5 hashes](https:// - # cloud.google.com/storage-transfer/docs/create-url-list#md5) * Ensure that each - # URL you specify is publicly accessible. For example, in Cloud Storage you can [ - # share an object publicly] (https://cloud.google.com/storage/docs/cloud-console# - # _sharingdata) and get a link to it. * Storage Transfer Service obeys `robots. - # txt` rules and requires the source HTTP server to support `Range` requests and - # to return a `Content-Length` header in each response. * ObjectConditions have - # no effect when filtering objects to transfer. + # transfer will fail. For more information, see [Generating MD5 hashes] (https:// + # cloud.google.com/storage-transfer/docs/create-url-list#md5-checksum) * Ensure + # that each URL you specify is publicly accessible. For example, in Cloud + # Storage you can [share an object publicly] (https://cloud.google.com/storage/ + # docs/cloud-console#_sharingdata) and get a link to it. * Storage Transfer + # Service obeys `robots.txt` rules and requires the source HTTP server to + # support `Range` requests and to return a `Content-Length` header in each + # response. * ObjectConditions have no effect when filtering objects to transfer. # Corresponds to the JSON property `httpDataSource` # @return [Google::Apis::StoragetransferV1::HttpData] attr_accessor :http_data_source diff --git a/generated/google/apis/storagetransfer_v1/representations.rb b/generated/google/apis/storagetransfer_v1/representations.rb index cc5df97ad..682e9020d 100644 --- a/generated/google/apis/storagetransfer_v1/representations.rb +++ b/generated/google/apis/storagetransfer_v1/representations.rb @@ -350,6 +350,9 @@ module Google class Schedule # @private class Representation < Google::Apis::Core::JsonRepresentation + property :end_time_of_day, as: 'endTimeOfDay', class: Google::Apis::StoragetransferV1::TimeOfDay, decorator: Google::Apis::StoragetransferV1::TimeOfDay::Representation + + property :repeat_interval, as: 'repeatInterval' property :schedule_end_date, as: 'scheduleEndDate', class: Google::Apis::StoragetransferV1::Date, decorator: Google::Apis::StoragetransferV1::Date::Representation property :schedule_start_date, as: 'scheduleStartDate', class: Google::Apis::StoragetransferV1::Date, decorator: Google::Apis::StoragetransferV1::Date::Representation diff --git a/generated/google/apis/storagetransfer_v1/service.rb b/generated/google/apis/storagetransfer_v1/service.rb index de9db02ac..e950717a7 100644 --- a/generated/google/apis/storagetransfer_v1/service.rb +++ b/generated/google/apis/storagetransfer_v1/service.rb @@ -191,9 +191,9 @@ module Google end # Updates a transfer job. Updating a job's transfer spec does not affect - # transfer operations that are running already. Updating a job's schedule is not - # allowed. **Note:** The job's status field can be modified using this RPC (for - # example, to set a job's status to DELETED, DISABLED, or ENABLED). + # transfer operations that are running already. **Note:** The job's status field + # can be modified using this RPC (for example, to set a job's status to DELETED, + # DISABLED, or ENABLED). # @param [String] job_name # Required. The name of job to update. # @param [Google::Apis::StoragetransferV1::UpdateTransferJobRequest] update_transfer_job_request_object diff --git a/generated/google/apis/storagetransfer_v1/synth.metadata b/generated/google/apis/storagetransfer_v1/synth.metadata index dc0e2ca08..37fdb3b12 100644 --- a/generated/google/apis/storagetransfer_v1/synth.metadata +++ b/generated/google/apis/storagetransfer_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "af15d561f1922e936be21bb35cbccac8415f2e2e" + "sha": "bfdbb25208c9c8330c7c0c94ec4dec4e2a868931" } } ]