C# Class GoogleCloudSamples.AuthSample

Afficher le fichier Open project: GoogleCloudPlatform/dotnet-docs-samples Class Usage Examples

Méthodes publiques

Méthode Description
CreateAuthorizedClient ( ) : StorageService

Creates an authorized Cloud Storage client service using Application Default Credentials.

ListBucketContents ( StorageService storage, string bucket ) : System.Objects

List the contents of a Cloud Storage bucket.

Private Methods

Méthode Description
Main ( string args ) : void
MainFunction ( string args ) : void

Method Details

CreateAuthorizedClient() public méthode

Creates an authorized Cloud Storage client service using Application Default Credentials.
public CreateAuthorizedClient ( ) : StorageService
Résultat StorageService

ListBucketContents() public méthode

List the contents of a Cloud Storage bucket.
public ListBucketContents ( StorageService storage, string bucket ) : System.Objects
storage StorageService
bucket string the name of the Cloud Storage bucket.
Résultat System.Objects