C# 클래스 GoogleCloudSamples.AuthSample

파일 보기 프로젝트 열기: GoogleCloudPlatform/dotnet-docs-samples 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
Main ( string args ) : void
MainFunction ( string args ) : void

메소드 상세

CreateAuthorizedClient() 공개 메소드

Creates an authorized Cloud Storage client service using Application Default Credentials.
public CreateAuthorizedClient ( ) : StorageService
리턴 StorageService

ListBucketContents() 공개 메소드

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.
리턴 System.Objects