C# Класс Google.PowerShell.CloudStorage.NewGcsObjectCmdlet

Наследование: GcsObjectCmdlet
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ConvertLocalToGcsFolderPath string
UploadDirectory void
UploadStreamToGcsObject void

Защищенные методы

Метод Описание
ProcessRecord ( ) : void

Приватные методы

Метод Описание
ConvertLocalToGcsFolderPath ( string localFilePath ) : string

Replace \ with / in path to complies with GCS path

UploadDirectory ( string directory, string>.Dictionary metadataDict, string gcsObjectNamePrefix ) : void

Upload a directory to a GCS bucket, aiming to maintain that directory structure as well. For example, if we are uploading folder A with file C.txt and subfolder B with file D.txt, then the bucket should have A\C.txt and A\B\D.txt

UploadStreamToGcsObject ( Stream contentStream, string objContentType, string>.Dictionary metadataDict, string objectName ) : void

Upload a GCS object using a stream.

Описание методов

ProcessRecord() защищенный Метод

protected ProcessRecord ( ) : void
Результат void