google-apis-storagetransfer_v1 0.47.0 → 0.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 0c23777b72a6caf5826d16a5acead7803344573415ac71096236cf456d08e2cb
         | 
| 4 | 
            +
              data.tar.gz: 8c4d3420be9605d0e59e66ed4a07d8d3eca23c959bd7bebc3d7c81de6287b790
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e9d66999724c38c99e30e9d498e61bd371bb1ffa2d2f762dc9e414246e4cf80d5b25e92d228febdf17f1c1c01bde71ded73bfbe92ad0fd89346d13e1fbd7fede
         | 
| 7 | 
            +
              data.tar.gz: f31d2fd2745909a40967f312c2aced1469617544eb353ba72115ddf515ee04f8b934e4c5f689ef0639084c0daef424437e8bd0a59c9b29f938f1344ef13b15a0
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,13 @@ | |
| 1 1 | 
             
            # Release history for google-apis-storagetransfer_v1
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.49.0 (2024-03-17)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated from discovery document revision 20240311
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### v0.48.0 (2024-03-10)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Regenerated from discovery document revision 20240302
         | 
| 10 | 
            +
             | 
| 3 11 | 
             
            ### v0.47.0 (2024-03-03)
         | 
| 4 12 |  | 
| 5 13 | 
             
            * Regenerated from discovery document revision 20240224
         | 
| @@ -154,9 +154,10 @@ module Google | |
| 154 154 | 
             
                    # @return [String]
         | 
| 155 155 | 
             
                    attr_accessor :bucket_name
         | 
| 156 156 |  | 
| 157 | 
            -
                    # Optional.  | 
| 158 | 
            -
                    # when fetching.  | 
| 159 | 
            -
                    #  | 
| 157 | 
            +
                    # Optional. The CloudFront distribution domain name pointing to this bucket, to
         | 
| 158 | 
            +
                    # use when fetching. See [Transfer from S3 via CloudFront](https://cloud.google.
         | 
| 159 | 
            +
                    # com/storage-transfer/docs/s3-cloudfront) for more information. Format: `https:/
         | 
| 160 | 
            +
                    # /`id`.cloudfront.net` or any valid custom domain. Must begin with `https://`.
         | 
| 160 161 | 
             
                    # Corresponds to the JSON property `cloudfrontDomain`
         | 
| 161 162 | 
             
                    # @return [String]
         | 
| 162 163 | 
             
                    attr_accessor :cloudfront_domain
         | 
| @@ -168,8 +169,7 @@ module Google | |
| 168 169 | 
             
                    # the resource. See [Configure access to a source: Amazon S3] (https://cloud.
         | 
| 169 170 | 
             
                    # google.com/storage-transfer/docs/source-amazon-s3#secret_manager) for more
         | 
| 170 171 | 
             
                    # information. If `credentials_secret` is specified, do not specify role_arn or
         | 
| 171 | 
            -
                    # aws_access_key.  | 
| 172 | 
            -
                    # service-terms#1). Format: `projects/`project_number`/secrets/`secret_name``
         | 
| 172 | 
            +
                    # aws_access_key. Format: `projects/`project_number`/secrets/`secret_name``
         | 
| 173 173 | 
             
                    # Corresponds to the JSON property `credentialsSecret`
         | 
| 174 174 | 
             
                    # @return [String]
         | 
| 175 175 | 
             
                    attr_accessor :credentials_secret
         | 
| @@ -234,8 +234,7 @@ module Google | |
| 234 234 | 
             
                    # the resource. See [Configure access to a source: Microsoft Azure Blob Storage]
         | 
| 235 235 | 
             
                    # (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#
         | 
| 236 236 | 
             
                    # secret_manager) for more information. If `credentials_secret` is specified, do
         | 
| 237 | 
            -
                    # not specify azure_credentials.  | 
| 238 | 
            -
                    # google.com/terms/service-terms#1). Format: `projects/`project_number`/secrets/`
         | 
| 237 | 
            +
                    # not specify azure_credentials. Format: `projects/`project_number`/secrets/`
         | 
| 239 238 | 
             
                    # secret_name``
         | 
| 240 239 | 
             
                    # Corresponds to the JSON property `credentialsSecret`
         | 
| 241 240 | 
             
                    # @return [String]
         | 
| @@ -490,11 +489,12 @@ module Google | |
| 490 489 | 
             
                    # @return [String]
         | 
| 491 490 | 
             
                    attr_accessor :bucket_name
         | 
| 492 491 |  | 
| 493 | 
            -
                    #  | 
| 494 | 
            -
                    #  | 
| 495 | 
            -
                    #  | 
| 496 | 
            -
                    #  | 
| 497 | 
            -
                    # supported
         | 
| 492 | 
            +
                    # Preview. Enables the transfer of managed folders between Cloud Storage buckets.
         | 
| 493 | 
            +
                    # Set this option on the gcs_data_source. If set to true: - Managed folders in
         | 
| 494 | 
            +
                    # the source bucket are transferred to the destination bucket. - Managed folders
         | 
| 495 | 
            +
                    # in the destination bucket are overwritten. Other OVERWRITE options are not
         | 
| 496 | 
            +
                    # supported. See [Transfer Cloud Storage managed folders](/storage-transfer/docs/
         | 
| 497 | 
            +
                    # managed-folders).
         | 
| 498 498 | 
             
                    # Corresponds to the JSON property `managedFolderTransferEnabled`
         | 
| 499 499 | 
             
                    # @return [Boolean]
         | 
| 500 500 | 
             
                    attr_accessor :managed_folder_transfer_enabled
         | 
| @@ -1051,6 +1051,55 @@ module Google | |
| 1051 1051 | 
             
                    end
         | 
| 1052 1052 | 
             
                  end
         | 
| 1053 1053 |  | 
| 1054 | 
            +
                  # Specifies the configuration for running a replication job.
         | 
| 1055 | 
            +
                  class ReplicationSpec
         | 
| 1056 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1057 | 
            +
                  
         | 
| 1058 | 
            +
                    # In a GcsData resource, an object's name is the Cloud Storage object's name and
         | 
| 1059 | 
            +
                    # its "last modification time" refers to the object's `updated` property of
         | 
| 1060 | 
            +
                    # Cloud Storage objects, which changes when the content or the metadata of the
         | 
| 1061 | 
            +
                    # object is updated.
         | 
| 1062 | 
            +
                    # Corresponds to the JSON property `gcsDataSink`
         | 
| 1063 | 
            +
                    # @return [Google::Apis::StoragetransferV1::GcsData]
         | 
| 1064 | 
            +
                    attr_accessor :gcs_data_sink
         | 
| 1065 | 
            +
                  
         | 
| 1066 | 
            +
                    # In a GcsData resource, an object's name is the Cloud Storage object's name and
         | 
| 1067 | 
            +
                    # its "last modification time" refers to the object's `updated` property of
         | 
| 1068 | 
            +
                    # Cloud Storage objects, which changes when the content or the metadata of the
         | 
| 1069 | 
            +
                    # object is updated.
         | 
| 1070 | 
            +
                    # Corresponds to the JSON property `gcsDataSource`
         | 
| 1071 | 
            +
                    # @return [Google::Apis::StoragetransferV1::GcsData]
         | 
| 1072 | 
            +
                    attr_accessor :gcs_data_source
         | 
| 1073 | 
            +
                  
         | 
| 1074 | 
            +
                    # Conditions that determine which objects are transferred. Applies only to Cloud
         | 
| 1075 | 
            +
                    # Data Sources such as S3, Azure, and Cloud Storage. The "last modification time"
         | 
| 1076 | 
            +
                    # refers to the time of the last change to the object's content or metadata —
         | 
| 1077 | 
            +
                    # specifically, this is the `updated` property of Cloud Storage objects, the `
         | 
| 1078 | 
            +
                    # LastModified` field of S3 objects, and the `Last-Modified` header of Azure
         | 
| 1079 | 
            +
                    # blobs. Transfers with a PosixFilesystem source or destination don't support `
         | 
| 1080 | 
            +
                    # ObjectConditions`.
         | 
| 1081 | 
            +
                    # Corresponds to the JSON property `objectConditions`
         | 
| 1082 | 
            +
                    # @return [Google::Apis::StoragetransferV1::ObjectConditions]
         | 
| 1083 | 
            +
                    attr_accessor :object_conditions
         | 
| 1084 | 
            +
                  
         | 
| 1085 | 
            +
                    # TransferOptions define the actions to be performed on objects in a transfer.
         | 
| 1086 | 
            +
                    # Corresponds to the JSON property `transferOptions`
         | 
| 1087 | 
            +
                    # @return [Google::Apis::StoragetransferV1::TransferOptions]
         | 
| 1088 | 
            +
                    attr_accessor :transfer_options
         | 
| 1089 | 
            +
                  
         | 
| 1090 | 
            +
                    def initialize(**args)
         | 
| 1091 | 
            +
                       update!(**args)
         | 
| 1092 | 
            +
                    end
         | 
| 1093 | 
            +
                  
         | 
| 1094 | 
            +
                    # Update properties of this object
         | 
| 1095 | 
            +
                    def update!(**args)
         | 
| 1096 | 
            +
                      @gcs_data_sink = args[:gcs_data_sink] if args.key?(:gcs_data_sink)
         | 
| 1097 | 
            +
                      @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
         | 
| 1098 | 
            +
                      @object_conditions = args[:object_conditions] if args.key?(:object_conditions)
         | 
| 1099 | 
            +
                      @transfer_options = args[:transfer_options] if args.key?(:transfer_options)
         | 
| 1100 | 
            +
                    end
         | 
| 1101 | 
            +
                  end
         | 
| 1102 | 
            +
                  
         | 
| 1054 1103 | 
             
                  # Request passed to ResumeTransferOperation.
         | 
| 1055 1104 | 
             
                  class ResumeTransferOperationRequest
         | 
| 1056 1105 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -1506,6 +1555,11 @@ module Google | |
| 1506 1555 | 
             
                    # @return [String]
         | 
| 1507 1556 | 
             
                    attr_accessor :project_id
         | 
| 1508 1557 |  | 
| 1558 | 
            +
                    # Specifies the configuration for running a replication job.
         | 
| 1559 | 
            +
                    # Corresponds to the JSON property `replicationSpec`
         | 
| 1560 | 
            +
                    # @return [Google::Apis::StoragetransferV1::ReplicationSpec]
         | 
| 1561 | 
            +
                    attr_accessor :replication_spec
         | 
| 1562 | 
            +
                  
         | 
| 1509 1563 | 
             
                    # Transfers can be scheduled to recur or to run just once.
         | 
| 1510 1564 | 
             
                    # Corresponds to the JSON property `schedule`
         | 
| 1511 1565 | 
             
                    # @return [Google::Apis::StoragetransferV1::Schedule]
         | 
| @@ -1541,6 +1595,7 @@ module Google | |
| 1541 1595 | 
             
                      @name = args[:name] if args.key?(:name)
         | 
| 1542 1596 | 
             
                      @notification_config = args[:notification_config] if args.key?(:notification_config)
         | 
| 1543 1597 | 
             
                      @project_id = args[:project_id] if args.key?(:project_id)
         | 
| 1598 | 
            +
                      @replication_spec = args[:replication_spec] if args.key?(:replication_spec)
         | 
| 1544 1599 | 
             
                      @schedule = args[:schedule] if args.key?(:schedule)
         | 
| 1545 1600 | 
             
                      @status = args[:status] if args.key?(:status)
         | 
| 1546 1601 | 
             
                      @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module StoragetransferV1
         | 
| 18 18 | 
             
                  # Version of the google-apis-storagetransfer_v1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.49.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 22 | 
             
                  GENERATOR_VERSION = "0.14.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20240311"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -184,6 +184,12 @@ module Google | |
| 184 184 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 185 185 | 
             
                  end
         | 
| 186 186 |  | 
| 187 | 
            +
                  class ReplicationSpec
         | 
| 188 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 189 | 
            +
                  
         | 
| 190 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 191 | 
            +
                  end
         | 
| 192 | 
            +
                  
         | 
| 187 193 | 
             
                  class ResumeTransferOperationRequest
         | 
| 188 194 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 189 195 |  | 
| @@ -508,6 +514,20 @@ module Google | |
| 508 514 | 
             
                    end
         | 
| 509 515 | 
             
                  end
         | 
| 510 516 |  | 
| 517 | 
            +
                  class ReplicationSpec
         | 
| 518 | 
            +
                    # @private
         | 
| 519 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 520 | 
            +
                      property :gcs_data_sink, as: 'gcsDataSink', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
         | 
| 521 | 
            +
                  
         | 
| 522 | 
            +
                      property :gcs_data_source, as: 'gcsDataSource', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
         | 
| 523 | 
            +
                  
         | 
| 524 | 
            +
                      property :object_conditions, as: 'objectConditions', class: Google::Apis::StoragetransferV1::ObjectConditions, decorator: Google::Apis::StoragetransferV1::ObjectConditions::Representation
         | 
| 525 | 
            +
                  
         | 
| 526 | 
            +
                      property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation
         | 
| 527 | 
            +
                  
         | 
| 528 | 
            +
                    end
         | 
| 529 | 
            +
                  end
         | 
| 530 | 
            +
                  
         | 
| 511 531 | 
             
                  class ResumeTransferOperationRequest
         | 
| 512 532 | 
             
                    # @private
         | 
| 513 533 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -608,6 +628,8 @@ module Google | |
| 608 628 | 
             
                      property :notification_config, as: 'notificationConfig', class: Google::Apis::StoragetransferV1::NotificationConfig, decorator: Google::Apis::StoragetransferV1::NotificationConfig::Representation
         | 
| 609 629 |  | 
| 610 630 | 
             
                      property :project_id, as: 'projectId'
         | 
| 631 | 
            +
                      property :replication_spec, as: 'replicationSpec', class: Google::Apis::StoragetransferV1::ReplicationSpec, decorator: Google::Apis::StoragetransferV1::ReplicationSpec::Representation
         | 
| 632 | 
            +
                  
         | 
| 611 633 | 
             
                      property :schedule, as: 'schedule', class: Google::Apis::StoragetransferV1::Schedule, decorator: Google::Apis::StoragetransferV1::Schedule::Representation
         | 
| 612 634 |  | 
| 613 635 | 
             
                      property :status, as: 'status'
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-storagetransfer_v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.49.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2024-03- | 
| 11 | 
            +
            date: 2024-03-17 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: google-apis-core
         | 
| @@ -58,7 +58,7 @@ licenses: | |
| 58 58 | 
             
            metadata:
         | 
| 59 59 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 60 60 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagetransfer_v1/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.49.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagetransfer_v1
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         |