C# Class Google.PowerShell.CloudStorage.NewGcsObjectCmdlet

Inheritance: GcsObjectCmdlet
Afficher le fichier Open project: GoogleCloudPlatform/google-cloud-powershell

Private Properties

Свойство Type Description
ConvertLocalToGcsFolderPath string
UploadDirectory void
UploadStreamToGcsObject void

Méthodes protégées

Méthode Description
ProcessRecord ( ) : void

Private Methods

Méthode Description
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.

Method Details

ProcessRecord() protected méthode

protected ProcessRecord ( ) : void
Résultat void