generated/google/apis/storagetransfer_v1/classes.rb in google-api-client-0.28.4 vs generated/google/apis/storagetransfer_v1/classes.rb in google-api-client-0.28.5

- old
+ new

@@ -351,11 +351,12 @@ @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @transfer_jobs = args[:transfer_jobs] if args.key?(:transfer_jobs) end end - # Conditions that determine which objects will be transferred. + # Conditions that determine which objects will be transferred. Applies only + # to S3 and GCS objects. class ObjectConditions include Google::Apis::Core::Hashable # `excludePrefixes` must follow the requirements described for # `includePrefixes`. @@ -392,23 +393,28 @@ # The max size of `includePrefixes` is 1000. # Corresponds to the JSON property `includePrefixes` # @return [Array<String>] attr_accessor :include_prefixes - # `maxTimeElapsedSinceLastModification` is the complement to - # `minTimeElapsedSinceLastModification`. + # If specified, only objects with a `lastModificationTime` on or after + # `NOW` - `maxTimeElapsedSinceLastModification` and objects that don't have + # a `lastModificationTime` are transferred. + # Note that `NOW` refers to the creation time of the transfer job, and + # `lastModificationTime` refers to the time of the last change to the + # object's content or metadata. Specifically, this would be the `updated` + # property of GCS objects and the `LastModified` field of S3 objects. # Corresponds to the JSON property `maxTimeElapsedSinceLastModification` # @return [String] attr_accessor :max_time_elapsed_since_last_modification - # If unspecified, `minTimeElapsedSinceLastModification` takes a zero value - # and `maxTimeElapsedSinceLastModification` takes the maximum possible - # value of Duration. Objects that satisfy the object conditions - # must either have a `lastModificationTime` greater or equal to - # `NOW` - `maxTimeElapsedSinceLastModification` and less than - # `NOW` - `minTimeElapsedSinceLastModification`, or not have a - # `lastModificationTime`. + # If specified, only objects with a `lastModificationTime` before + # `NOW` - `minTimeElapsedSinceLastModification` and objects that don't have a + # `lastModificationTime` are transferred. + # Note that `NOW` refers to the creation time of the transfer job, and + # `lastModificationTime` refers to the time of the last change to the + # object's content or metadata. Specifically, this would be the `updated` + # property of GCS objects and the `LastModified` field of S3 objects. # Corresponds to the JSON property `minTimeElapsedSinceLastModification` # @return [String] attr_accessor :min_time_elapsed_since_last_modification def initialize(**args) @@ -435,18 +441,18 @@ # Corresponds to the JSON property `done` # @return [Boolean] attr_accessor :done alias_method :done?, :done - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing # error message is needed, put the localized message in the error details or # localize it in the client. The optional error details may contain arbitrary @@ -589,18 +595,18 @@ @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) end end - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: # - Simple to use and understand for most users # - Flexible enough to meet unexpected needs # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of # google.rpc.Code, but it may accept additional error codes if needed. The # error message should be a developer-facing English message that helps # developers *understand* and *resolve* the error. If a localized user-facing # error message is needed, put the localized message in the error details or # localize it in the client. The optional error details may contain arbitrary @@ -1062,10 +1068,11 @@ # to transfer. # Corresponds to the JSON property `httpDataSource` # @return [Google::Apis::StoragetransferV1::HttpData] attr_accessor :http_data_source - # Conditions that determine which objects will be transferred. + # Conditions that determine which objects will be transferred. Applies only + # to S3 and GCS objects. # Corresponds to the JSON property `objectConditions` # @return [Google::Apis::StoragetransferV1::ObjectConditions] attr_accessor :object_conditions # TransferOptions uses three boolean parameters to define the actions