GoogleCloudSamples.AuthSample.ListBucketContents C# (CSharp) Метод

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
        public Objects ListBucketContents(
            StorageService storage, string bucket)
        {
            var request = new
                Google.Apis.Storage.v1.ObjectsResource.ListRequest(storage,
                bucket);
            var requestResult = request.Execute();
            return requestResult;
        }
        // [END list_storage_bucket_contents]