...

Source file src/google.golang.org/genproto/googleapis/storagetransfer/v1/alias.go

Documentation: google.golang.org/genproto/googleapis/storagetransfer/v1

     1  // Copyright 2022 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by aliasgen. DO NOT EDIT.
    16  
    17  // Package storagetransfer aliases all exported identifiers in package
    18  // "cloud.google.com/go/storagetransfer/apiv1/storagetransferpb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package storagetransfer
    24  
    25  import (
    26  	src "cloud.google.com/go/storagetransfer/apiv1/storagetransferpb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
    31  const (
    32  	AgentPool_CREATED                                        = src.AgentPool_CREATED
    33  	AgentPool_CREATING                                       = src.AgentPool_CREATING
    34  	AgentPool_DELETING                                       = src.AgentPool_DELETING
    35  	AgentPool_STATE_UNSPECIFIED                              = src.AgentPool_STATE_UNSPECIFIED
    36  	LoggingConfig_COPY                                       = src.LoggingConfig_COPY
    37  	LoggingConfig_DELETE                                     = src.LoggingConfig_DELETE
    38  	LoggingConfig_FAILED                                     = src.LoggingConfig_FAILED
    39  	LoggingConfig_FIND                                       = src.LoggingConfig_FIND
    40  	LoggingConfig_LOGGABLE_ACTION_STATE_UNSPECIFIED          = src.LoggingConfig_LOGGABLE_ACTION_STATE_UNSPECIFIED
    41  	LoggingConfig_LOGGABLE_ACTION_UNSPECIFIED                = src.LoggingConfig_LOGGABLE_ACTION_UNSPECIFIED
    42  	LoggingConfig_SUCCEEDED                                  = src.LoggingConfig_SUCCEEDED
    43  	MetadataOptions_ACL_DESTINATION_BUCKET_DEFAULT           = src.MetadataOptions_ACL_DESTINATION_BUCKET_DEFAULT
    44  	MetadataOptions_ACL_PRESERVE                             = src.MetadataOptions_ACL_PRESERVE
    45  	MetadataOptions_ACL_UNSPECIFIED                          = src.MetadataOptions_ACL_UNSPECIFIED
    46  	MetadataOptions_GID_NUMBER                               = src.MetadataOptions_GID_NUMBER
    47  	MetadataOptions_GID_SKIP                                 = src.MetadataOptions_GID_SKIP
    48  	MetadataOptions_GID_UNSPECIFIED                          = src.MetadataOptions_GID_UNSPECIFIED
    49  	MetadataOptions_KMS_KEY_DESTINATION_BUCKET_DEFAULT       = src.MetadataOptions_KMS_KEY_DESTINATION_BUCKET_DEFAULT
    50  	MetadataOptions_KMS_KEY_PRESERVE                         = src.MetadataOptions_KMS_KEY_PRESERVE
    51  	MetadataOptions_KMS_KEY_UNSPECIFIED                      = src.MetadataOptions_KMS_KEY_UNSPECIFIED
    52  	MetadataOptions_MODE_PRESERVE                            = src.MetadataOptions_MODE_PRESERVE
    53  	MetadataOptions_MODE_SKIP                                = src.MetadataOptions_MODE_SKIP
    54  	MetadataOptions_MODE_UNSPECIFIED                         = src.MetadataOptions_MODE_UNSPECIFIED
    55  	MetadataOptions_STORAGE_CLASS_ARCHIVE                    = src.MetadataOptions_STORAGE_CLASS_ARCHIVE
    56  	MetadataOptions_STORAGE_CLASS_COLDLINE                   = src.MetadataOptions_STORAGE_CLASS_COLDLINE
    57  	MetadataOptions_STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = src.MetadataOptions_STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT
    58  	MetadataOptions_STORAGE_CLASS_NEARLINE                   = src.MetadataOptions_STORAGE_CLASS_NEARLINE
    59  	MetadataOptions_STORAGE_CLASS_PRESERVE                   = src.MetadataOptions_STORAGE_CLASS_PRESERVE
    60  	MetadataOptions_STORAGE_CLASS_STANDARD                   = src.MetadataOptions_STORAGE_CLASS_STANDARD
    61  	MetadataOptions_STORAGE_CLASS_UNSPECIFIED                = src.MetadataOptions_STORAGE_CLASS_UNSPECIFIED
    62  	MetadataOptions_SYMLINK_PRESERVE                         = src.MetadataOptions_SYMLINK_PRESERVE
    63  	MetadataOptions_SYMLINK_SKIP                             = src.MetadataOptions_SYMLINK_SKIP
    64  	MetadataOptions_SYMLINK_UNSPECIFIED                      = src.MetadataOptions_SYMLINK_UNSPECIFIED
    65  	MetadataOptions_TEMPORARY_HOLD_PRESERVE                  = src.MetadataOptions_TEMPORARY_HOLD_PRESERVE
    66  	MetadataOptions_TEMPORARY_HOLD_SKIP                      = src.MetadataOptions_TEMPORARY_HOLD_SKIP
    67  	MetadataOptions_TEMPORARY_HOLD_UNSPECIFIED               = src.MetadataOptions_TEMPORARY_HOLD_UNSPECIFIED
    68  	MetadataOptions_TIME_CREATED_PRESERVE_AS_CUSTOM_TIME     = src.MetadataOptions_TIME_CREATED_PRESERVE_AS_CUSTOM_TIME
    69  	MetadataOptions_TIME_CREATED_SKIP                        = src.MetadataOptions_TIME_CREATED_SKIP
    70  	MetadataOptions_TIME_CREATED_UNSPECIFIED                 = src.MetadataOptions_TIME_CREATED_UNSPECIFIED
    71  	MetadataOptions_UID_NUMBER                               = src.MetadataOptions_UID_NUMBER
    72  	MetadataOptions_UID_SKIP                                 = src.MetadataOptions_UID_SKIP
    73  	MetadataOptions_UID_UNSPECIFIED                          = src.MetadataOptions_UID_UNSPECIFIED
    74  	NotificationConfig_EVENT_TYPE_UNSPECIFIED                = src.NotificationConfig_EVENT_TYPE_UNSPECIFIED
    75  	NotificationConfig_JSON                                  = src.NotificationConfig_JSON
    76  	NotificationConfig_NONE                                  = src.NotificationConfig_NONE
    77  	NotificationConfig_PAYLOAD_FORMAT_UNSPECIFIED            = src.NotificationConfig_PAYLOAD_FORMAT_UNSPECIFIED
    78  	NotificationConfig_TRANSFER_OPERATION_ABORTED            = src.NotificationConfig_TRANSFER_OPERATION_ABORTED
    79  	NotificationConfig_TRANSFER_OPERATION_FAILED             = src.NotificationConfig_TRANSFER_OPERATION_FAILED
    80  	NotificationConfig_TRANSFER_OPERATION_SUCCESS            = src.NotificationConfig_TRANSFER_OPERATION_SUCCESS
    81  	S3CompatibleMetadata_AUTH_METHOD_AWS_SIGNATURE_V2        = src.S3CompatibleMetadata_AUTH_METHOD_AWS_SIGNATURE_V2
    82  	S3CompatibleMetadata_AUTH_METHOD_AWS_SIGNATURE_V4        = src.S3CompatibleMetadata_AUTH_METHOD_AWS_SIGNATURE_V4
    83  	S3CompatibleMetadata_AUTH_METHOD_UNSPECIFIED             = src.S3CompatibleMetadata_AUTH_METHOD_UNSPECIFIED
    84  	S3CompatibleMetadata_LIST_API_UNSPECIFIED                = src.S3CompatibleMetadata_LIST_API_UNSPECIFIED
    85  	S3CompatibleMetadata_LIST_OBJECTS                        = src.S3CompatibleMetadata_LIST_OBJECTS
    86  	S3CompatibleMetadata_LIST_OBJECTS_V2                     = src.S3CompatibleMetadata_LIST_OBJECTS_V2
    87  	S3CompatibleMetadata_NETWORK_PROTOCOL_HTTP               = src.S3CompatibleMetadata_NETWORK_PROTOCOL_HTTP
    88  	S3CompatibleMetadata_NETWORK_PROTOCOL_HTTPS              = src.S3CompatibleMetadata_NETWORK_PROTOCOL_HTTPS
    89  	S3CompatibleMetadata_NETWORK_PROTOCOL_UNSPECIFIED        = src.S3CompatibleMetadata_NETWORK_PROTOCOL_UNSPECIFIED
    90  	S3CompatibleMetadata_REQUEST_MODEL_PATH_STYLE            = src.S3CompatibleMetadata_REQUEST_MODEL_PATH_STYLE
    91  	S3CompatibleMetadata_REQUEST_MODEL_UNSPECIFIED           = src.S3CompatibleMetadata_REQUEST_MODEL_UNSPECIFIED
    92  	S3CompatibleMetadata_REQUEST_MODEL_VIRTUAL_HOSTED_STYLE  = src.S3CompatibleMetadata_REQUEST_MODEL_VIRTUAL_HOSTED_STYLE
    93  	TransferJob_DELETED                                      = src.TransferJob_DELETED
    94  	TransferJob_DISABLED                                     = src.TransferJob_DISABLED
    95  	TransferJob_ENABLED                                      = src.TransferJob_ENABLED
    96  	TransferJob_STATUS_UNSPECIFIED                           = src.TransferJob_STATUS_UNSPECIFIED
    97  	TransferOperation_ABORTED                                = src.TransferOperation_ABORTED
    98  	TransferOperation_FAILED                                 = src.TransferOperation_FAILED
    99  	TransferOperation_IN_PROGRESS                            = src.TransferOperation_IN_PROGRESS
   100  	TransferOperation_PAUSED                                 = src.TransferOperation_PAUSED
   101  	TransferOperation_QUEUED                                 = src.TransferOperation_QUEUED
   102  	TransferOperation_STATUS_UNSPECIFIED                     = src.TransferOperation_STATUS_UNSPECIFIED
   103  	TransferOperation_SUCCESS                                = src.TransferOperation_SUCCESS
   104  	TransferOptions_ALWAYS                                   = src.TransferOptions_ALWAYS
   105  	TransferOptions_DIFFERENT                                = src.TransferOptions_DIFFERENT
   106  	TransferOptions_NEVER                                    = src.TransferOptions_NEVER
   107  	TransferOptions_OVERWRITE_WHEN_UNSPECIFIED               = src.TransferOptions_OVERWRITE_WHEN_UNSPECIFIED
   108  )
   109  
   110  // Deprecated: Please use vars in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   111  var (
   112  	AgentPool_State_name                                = src.AgentPool_State_name
   113  	AgentPool_State_value                               = src.AgentPool_State_value
   114  	File_google_storagetransfer_v1_transfer_proto       = src.File_google_storagetransfer_v1_transfer_proto
   115  	File_google_storagetransfer_v1_transfer_types_proto = src.File_google_storagetransfer_v1_transfer_types_proto
   116  	LoggingConfig_LoggableActionState_name              = src.LoggingConfig_LoggableActionState_name
   117  	LoggingConfig_LoggableActionState_value             = src.LoggingConfig_LoggableActionState_value
   118  	LoggingConfig_LoggableAction_name                   = src.LoggingConfig_LoggableAction_name
   119  	LoggingConfig_LoggableAction_value                  = src.LoggingConfig_LoggableAction_value
   120  	MetadataOptions_Acl_name                            = src.MetadataOptions_Acl_name
   121  	MetadataOptions_Acl_value                           = src.MetadataOptions_Acl_value
   122  	MetadataOptions_GID_name                            = src.MetadataOptions_GID_name
   123  	MetadataOptions_GID_value                           = src.MetadataOptions_GID_value
   124  	MetadataOptions_KmsKey_name                         = src.MetadataOptions_KmsKey_name
   125  	MetadataOptions_KmsKey_value                        = src.MetadataOptions_KmsKey_value
   126  	MetadataOptions_Mode_name                           = src.MetadataOptions_Mode_name
   127  	MetadataOptions_Mode_value                          = src.MetadataOptions_Mode_value
   128  	MetadataOptions_StorageClass_name                   = src.MetadataOptions_StorageClass_name
   129  	MetadataOptions_StorageClass_value                  = src.MetadataOptions_StorageClass_value
   130  	MetadataOptions_Symlink_name                        = src.MetadataOptions_Symlink_name
   131  	MetadataOptions_Symlink_value                       = src.MetadataOptions_Symlink_value
   132  	MetadataOptions_TemporaryHold_name                  = src.MetadataOptions_TemporaryHold_name
   133  	MetadataOptions_TemporaryHold_value                 = src.MetadataOptions_TemporaryHold_value
   134  	MetadataOptions_TimeCreated_name                    = src.MetadataOptions_TimeCreated_name
   135  	MetadataOptions_TimeCreated_value                   = src.MetadataOptions_TimeCreated_value
   136  	MetadataOptions_UID_name                            = src.MetadataOptions_UID_name
   137  	MetadataOptions_UID_value                           = src.MetadataOptions_UID_value
   138  	NotificationConfig_EventType_name                   = src.NotificationConfig_EventType_name
   139  	NotificationConfig_EventType_value                  = src.NotificationConfig_EventType_value
   140  	NotificationConfig_PayloadFormat_name               = src.NotificationConfig_PayloadFormat_name
   141  	NotificationConfig_PayloadFormat_value              = src.NotificationConfig_PayloadFormat_value
   142  	S3CompatibleMetadata_AuthMethod_name                = src.S3CompatibleMetadata_AuthMethod_name
   143  	S3CompatibleMetadata_AuthMethod_value               = src.S3CompatibleMetadata_AuthMethod_value
   144  	S3CompatibleMetadata_ListApi_name                   = src.S3CompatibleMetadata_ListApi_name
   145  	S3CompatibleMetadata_ListApi_value                  = src.S3CompatibleMetadata_ListApi_value
   146  	S3CompatibleMetadata_NetworkProtocol_name           = src.S3CompatibleMetadata_NetworkProtocol_name
   147  	S3CompatibleMetadata_NetworkProtocol_value          = src.S3CompatibleMetadata_NetworkProtocol_value
   148  	S3CompatibleMetadata_RequestModel_name              = src.S3CompatibleMetadata_RequestModel_name
   149  	S3CompatibleMetadata_RequestModel_value             = src.S3CompatibleMetadata_RequestModel_value
   150  	TransferJob_Status_name                             = src.TransferJob_Status_name
   151  	TransferJob_Status_value                            = src.TransferJob_Status_value
   152  	TransferOperation_Status_name                       = src.TransferOperation_Status_name
   153  	TransferOperation_Status_value                      = src.TransferOperation_Status_value
   154  	TransferOptions_OverwriteWhen_name                  = src.TransferOptions_OverwriteWhen_name
   155  	TransferOptions_OverwriteWhen_value                 = src.TransferOptions_OverwriteWhen_value
   156  )
   157  
   158  // Represents an On-Premises Agent pool.
   159  //
   160  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   161  type AgentPool = src.AgentPool
   162  
   163  // Specifies a bandwidth limit for an agent pool.
   164  //
   165  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   166  type AgentPool_BandwidthLimit = src.AgentPool_BandwidthLimit
   167  
   168  // The state of an AgentPool.
   169  //
   170  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   171  type AgentPool_State = src.AgentPool_State
   172  
   173  // AWS access key (see [AWS Security
   174  // Credentials](https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)).
   175  // For information on our data retention policy for user credentials, see [User
   176  // credentials](/storage-transfer/docs/data-retention#user-credentials).
   177  //
   178  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   179  type AwsAccessKey = src.AwsAccessKey
   180  
   181  // An AwsS3CompatibleData resource.
   182  //
   183  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   184  type AwsS3CompatibleData = src.AwsS3CompatibleData
   185  type AwsS3CompatibleData_S3Metadata = src.AwsS3CompatibleData_S3Metadata
   186  
   187  // An AwsS3Data resource can be a data source, but not a data sink. In an
   188  // AwsS3Data resource, an object's name is the S3 object's key name.
   189  //
   190  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   191  type AwsS3Data = src.AwsS3Data
   192  
   193  // An AzureBlobStorageData resource can be a data source, but not a data sink.
   194  // An AzureBlobStorageData resource represents one Azure container. The storage
   195  // account determines the [Azure
   196  // endpoint](https://docs.microsoft.com/en-us/azure/storage/common/storage-create-storage-account#storage-account-endpoints).
   197  // In an AzureBlobStorageData resource, a blobs's name is the [Azure Blob
   198  // Storage blob's key
   199  // name](https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata#blob-names).
   200  //
   201  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   202  type AzureBlobStorageData = src.AzureBlobStorageData
   203  
   204  // Azure credentials For information on our data retention policy for user
   205  // credentials, see [User
   206  // credentials](/storage-transfer/docs/data-retention#user-credentials).
   207  //
   208  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   209  type AzureCredentials = src.AzureCredentials
   210  
   211  // Specifies the request passed to CreateAgentPool.
   212  //
   213  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   214  type CreateAgentPoolRequest = src.CreateAgentPoolRequest
   215  
   216  // Request passed to CreateTransferJob.
   217  //
   218  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   219  type CreateTransferJobRequest = src.CreateTransferJobRequest
   220  
   221  // Specifies the request passed to DeleteAgentPool.
   222  //
   223  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   224  type DeleteAgentPoolRequest = src.DeleteAgentPoolRequest
   225  
   226  // Request passed to DeleteTransferJob.
   227  //
   228  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   229  type DeleteTransferJobRequest = src.DeleteTransferJobRequest
   230  
   231  // An entry describing an error that has occurred.
   232  //
   233  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   234  type ErrorLogEntry = src.ErrorLogEntry
   235  
   236  // A summary of errors by error code, plus a count and sample error log
   237  // entries.
   238  //
   239  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   240  type ErrorSummary = src.ErrorSummary
   241  
   242  // In a GcsData resource, an object's name is the Cloud Storage object's name
   243  // and its "last modification time" refers to the object's `updated` property
   244  // of Cloud Storage objects, which changes when the content or the metadata of
   245  // the object is updated.
   246  //
   247  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   248  type GcsData = src.GcsData
   249  
   250  // Specifies the request passed to GetAgentPool.
   251  //
   252  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   253  type GetAgentPoolRequest = src.GetAgentPoolRequest
   254  
   255  // Request passed to GetGoogleServiceAccount.
   256  //
   257  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   258  type GetGoogleServiceAccountRequest = src.GetGoogleServiceAccountRequest
   259  
   260  // Request passed to GetTransferJob.
   261  //
   262  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   263  type GetTransferJobRequest = src.GetTransferJobRequest
   264  
   265  // Google service account
   266  //
   267  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   268  type GoogleServiceAccount = src.GoogleServiceAccount
   269  
   270  // An HttpData resource specifies a list of objects on the web to be
   271  // transferred over HTTP. The information of the objects to be transferred is
   272  // contained in a file referenced by a URL. The first line in the file must be
   273  // `"TsvHttpData-1.0"`, which specifies the format of the file. Subsequent
   274  // lines specify the information of the list of objects, one object per list
   275  // entry. Each entry has the following tab-delimited fields: * **HTTP URL** —
   276  // The location of the object. * **Length** — The size of the object in
   277  // bytes. * **MD5** — The base64-encoded MD5 hash of the object. For an
   278  // example of a valid TSV file, see [Transferring data from
   279  // URLs](https://cloud.google.com/storage-transfer/docs/create-url-list). When
   280  // transferring data based on a URL list, keep the following in mind: * When an
   281  // object located at `http(s)://hostname:port/<URL-path>` is transferred to a
   282  // data sink, the name of the object at the data sink is
   283  // `<hostname>/<URL-path>`. * If the specified size of an object does not match
   284  // the actual size of the object fetched, the object is not transferred. * If
   285  // the specified MD5 does not match the MD5 computed from the transferred
   286  // bytes, the object transfer fails. * Ensure that each URL you specify is
   287  // publicly accessible. For example, in Cloud Storage you can [share an object
   288  // publicly] (/storage/docs/cloud-console#_sharingdata) and get a link to it. *
   289  // Storage Transfer Service obeys `robots.txt` rules and requires the source
   290  // HTTP server to support `Range` requests and to return a `Content-Length`
   291  // header in each response. *
   292  // [ObjectConditions][google.storagetransfer.v1.ObjectConditions] have no
   293  // effect when filtering objects to transfer.
   294  //
   295  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   296  type HttpData = src.HttpData
   297  
   298  // The request passed to ListAgentPools.
   299  //
   300  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   301  type ListAgentPoolsRequest = src.ListAgentPoolsRequest
   302  
   303  // Response from ListAgentPools.
   304  //
   305  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   306  type ListAgentPoolsResponse = src.ListAgentPoolsResponse
   307  
   308  // `projectId`, `jobNames`, and `jobStatuses` are query parameters that can be
   309  // specified when listing transfer jobs.
   310  //
   311  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   312  type ListTransferJobsRequest = src.ListTransferJobsRequest
   313  
   314  // Response from ListTransferJobs.
   315  //
   316  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   317  type ListTransferJobsResponse = src.ListTransferJobsResponse
   318  
   319  // Specifies the logging behavior for transfer operations. For cloud-to-cloud
   320  // transfers, logs are sent to Cloud Logging. See [Read transfer
   321  // logs](https://cloud.google.com/storage-transfer/docs/read-transfer-logs) for
   322  // details. For transfers to or from a POSIX file system, logs are stored in
   323  // the Cloud Storage bucket that is the source or sink of the transfer. See
   324  // [Managing Transfer for on-premises jobs]
   325  // (https://cloud.google.com/storage-transfer/docs/managing-on-prem-jobs#viewing-logs)
   326  // for details.
   327  //
   328  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   329  type LoggingConfig = src.LoggingConfig
   330  
   331  // Loggable actions.
   332  //
   333  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   334  type LoggingConfig_LoggableAction = src.LoggingConfig_LoggableAction
   335  
   336  // Loggable action states.
   337  //
   338  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   339  type LoggingConfig_LoggableActionState = src.LoggingConfig_LoggableActionState
   340  
   341  // Specifies the metadata options for running a transfer.
   342  //
   343  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   344  type MetadataOptions = src.MetadataOptions
   345  
   346  // Options for handling Cloud Storage object ACLs.
   347  //
   348  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   349  type MetadataOptions_Acl = src.MetadataOptions_Acl
   350  
   351  // Options for handling file GID attribute.
   352  //
   353  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   354  type MetadataOptions_GID = src.MetadataOptions_GID
   355  
   356  // Options for handling the KmsKey setting for Google Cloud Storage objects.
   357  //
   358  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   359  type MetadataOptions_KmsKey = src.MetadataOptions_KmsKey
   360  
   361  // Options for handling file mode attribute.
   362  //
   363  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   364  type MetadataOptions_Mode = src.MetadataOptions_Mode
   365  
   366  // Options for handling Google Cloud Storage object storage class.
   367  //
   368  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   369  type MetadataOptions_StorageClass = src.MetadataOptions_StorageClass
   370  
   371  // Whether symlinks should be skipped or preserved during a transfer job.
   372  //
   373  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   374  type MetadataOptions_Symlink = src.MetadataOptions_Symlink
   375  
   376  // Options for handling temporary holds for Google Cloud Storage objects.
   377  //
   378  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   379  type MetadataOptions_TemporaryHold = src.MetadataOptions_TemporaryHold
   380  
   381  // Options for handling `timeCreated` metadata for Google Cloud Storage
   382  // objects.
   383  //
   384  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   385  type MetadataOptions_TimeCreated = src.MetadataOptions_TimeCreated
   386  
   387  // Options for handling file UID attribute.
   388  //
   389  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   390  type MetadataOptions_UID = src.MetadataOptions_UID
   391  
   392  // Specification to configure notifications published to Pub/Sub.
   393  // Notifications are published to the customer-provided topic using the
   394  // following `PubsubMessage.attributes`: * `"eventType"`: one of the
   395  // [EventType][google.storagetransfer.v1.NotificationConfig.EventType] values *
   396  // `"payloadFormat"`: one of the
   397  // [PayloadFormat][google.storagetransfer.v1.NotificationConfig.PayloadFormat]
   398  // values * `"projectId"`: the
   399  // [project_id][google.storagetransfer.v1.TransferOperation.project_id] of the
   400  // `TransferOperation` * `"transferJobName"`: the
   401  // [transfer_job_name][google.storagetransfer.v1.TransferOperation.transfer_job_name]
   402  // of the `TransferOperation` * `"transferOperationName"`: the
   403  // [name][google.storagetransfer.v1.TransferOperation.name] of the
   404  // `TransferOperation` The `PubsubMessage.data` contains a
   405  // [TransferOperation][google.storagetransfer.v1.TransferOperation] resource
   406  // formatted according to the specified `PayloadFormat`.
   407  //
   408  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   409  type NotificationConfig = src.NotificationConfig
   410  
   411  // Enum for specifying event types for which notifications are to be
   412  // published. Additional event types may be added in the future. Clients should
   413  // either safely ignore unrecognized event types or explicitly specify which
   414  // event types they are prepared to accept.
   415  //
   416  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   417  type NotificationConfig_EventType = src.NotificationConfig_EventType
   418  
   419  // Enum for specifying the format of a notification message's payload.
   420  //
   421  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   422  type NotificationConfig_PayloadFormat = src.NotificationConfig_PayloadFormat
   423  
   424  // Conditions that determine which objects are transferred. Applies only to
   425  // Cloud Data Sources such as S3, Azure, and Cloud Storage. The "last
   426  // modification time" refers to the time of the last change to the object's
   427  // content or metadata — specifically, this is the `updated` property of
   428  // Cloud Storage objects, the `LastModified` field of S3 objects, and the
   429  // `Last-Modified` header of Azure blobs. Transfers with a
   430  // [PosixFilesystem][google.storagetransfer.v1.PosixFilesystem] source or
   431  // destination don't support `ObjectConditions`.
   432  //
   433  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   434  type ObjectConditions = src.ObjectConditions
   435  
   436  // Request passed to PauseTransferOperation.
   437  //
   438  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   439  type PauseTransferOperationRequest = src.PauseTransferOperationRequest
   440  
   441  // A POSIX filesystem resource.
   442  //
   443  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   444  type PosixFilesystem = src.PosixFilesystem
   445  
   446  // Request passed to ResumeTransferOperation.
   447  //
   448  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   449  type ResumeTransferOperationRequest = src.ResumeTransferOperationRequest
   450  
   451  // Request passed to RunTransferJob.
   452  //
   453  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   454  type RunTransferJobRequest = src.RunTransferJobRequest
   455  
   456  // S3CompatibleMetadata contains the metadata fields that apply to the basic
   457  // types of S3-compatible data providers.
   458  //
   459  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   460  type S3CompatibleMetadata = src.S3CompatibleMetadata
   461  
   462  // The authentication and authorization method used by the storage service.
   463  //
   464  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   465  type S3CompatibleMetadata_AuthMethod = src.S3CompatibleMetadata_AuthMethod
   466  
   467  // The Listing API to use for discovering objects.
   468  //
   469  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   470  type S3CompatibleMetadata_ListApi = src.S3CompatibleMetadata_ListApi
   471  
   472  // The agent network protocol to access the storage service.
   473  //
   474  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   475  type S3CompatibleMetadata_NetworkProtocol = src.S3CompatibleMetadata_NetworkProtocol
   476  
   477  // The request model of the API.
   478  //
   479  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   480  type S3CompatibleMetadata_RequestModel = src.S3CompatibleMetadata_RequestModel
   481  
   482  // Transfers can be scheduled to recur or to run just once.
   483  //
   484  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   485  type Schedule = src.Schedule
   486  
   487  // StorageTransferServiceClient is the client API for StorageTransferService
   488  // service. For semantics around ctx use and closing/ending streaming RPCs,
   489  // please refer to
   490  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   491  //
   492  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   493  type StorageTransferServiceClient = src.StorageTransferServiceClient
   494  
   495  // StorageTransferServiceServer is the server API for StorageTransferService
   496  // service.
   497  //
   498  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   499  type StorageTransferServiceServer = src.StorageTransferServiceServer
   500  
   501  // A collection of counters that report the progress of a transfer operation.
   502  //
   503  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   504  type TransferCounters = src.TransferCounters
   505  
   506  // This resource represents the configuration of a transfer job that runs
   507  // periodically.
   508  //
   509  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   510  type TransferJob = src.TransferJob
   511  
   512  // The status of the transfer job.
   513  //
   514  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   515  type TransferJob_Status = src.TransferJob_Status
   516  
   517  // Specifies where the manifest is located.
   518  //
   519  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   520  type TransferManifest = src.TransferManifest
   521  
   522  // A description of the execution of a transfer.
   523  //
   524  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   525  type TransferOperation = src.TransferOperation
   526  
   527  // The status of a TransferOperation.
   528  //
   529  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   530  type TransferOperation_Status = src.TransferOperation_Status
   531  
   532  // TransferOptions define the actions to be performed on objects in a
   533  // transfer.
   534  //
   535  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   536  type TransferOptions = src.TransferOptions
   537  
   538  // Specifies when to overwrite an object in the sink when an object with
   539  // matching name is found in the source.
   540  //
   541  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   542  type TransferOptions_OverwriteWhen = src.TransferOptions_OverwriteWhen
   543  
   544  // Configuration for running a transfer.
   545  //
   546  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   547  type TransferSpec = src.TransferSpec
   548  type TransferSpec_AwsS3CompatibleDataSource = src.TransferSpec_AwsS3CompatibleDataSource
   549  type TransferSpec_AwsS3DataSource = src.TransferSpec_AwsS3DataSource
   550  type TransferSpec_AzureBlobStorageDataSource = src.TransferSpec_AzureBlobStorageDataSource
   551  type TransferSpec_GcsDataSink = src.TransferSpec_GcsDataSink
   552  type TransferSpec_GcsDataSource = src.TransferSpec_GcsDataSource
   553  type TransferSpec_GcsIntermediateDataLocation = src.TransferSpec_GcsIntermediateDataLocation
   554  type TransferSpec_HttpDataSource = src.TransferSpec_HttpDataSource
   555  type TransferSpec_PosixDataSink = src.TransferSpec_PosixDataSink
   556  type TransferSpec_PosixDataSource = src.TransferSpec_PosixDataSource
   557  
   558  // UnimplementedStorageTransferServiceServer can be embedded to have forward
   559  // compatible implementations.
   560  //
   561  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   562  type UnimplementedStorageTransferServiceServer = src.UnimplementedStorageTransferServiceServer
   563  
   564  // Specifies the request passed to UpdateAgentPool.
   565  //
   566  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   567  type UpdateAgentPoolRequest = src.UpdateAgentPoolRequest
   568  
   569  // Request passed to UpdateTransferJob.
   570  //
   571  // Deprecated: Please use types in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   572  type UpdateTransferJobRequest = src.UpdateTransferJobRequest
   573  
   574  // Deprecated: Please use funcs in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   575  func NewStorageTransferServiceClient(cc grpc.ClientConnInterface) StorageTransferServiceClient {
   576  	return src.NewStorageTransferServiceClient(cc)
   577  }
   578  
   579  // Deprecated: Please use funcs in: cloud.google.com/go/storagetransfer/apiv1/storagetransferpb
   580  func RegisterStorageTransferServiceServer(s *grpc.Server, srv StorageTransferServiceServer) {
   581  	src.RegisterStorageTransferServiceServer(s, srv)
   582  }
   583  

View as plain text