C# 클래스 Google.PowerShell.Common.GCloudWrapper

This class shell executes "gcloud {command} --format=json", to allow delegation to Cloud SDK implementation. Used for things like credential management.
파일 보기 프로젝트 열기: GoogleCloudPlatform/google-cloud-powershell 1 사용 예제들

공개 메소드들

메소드 설명
GetActiveConfig ( ) : Task

Gets the current active gcloud config by calling config-helper. Every call will also create a new access token in the string returned.

비공개 메소드들

메소드 설명
GetGCloudCommandOutput ( string command, string>.IDictionary environment = null ) : Task

Execute cmd.exe /c "gcloud {command} --format=json" and returns the standard output if the command returns exit code 0. This will not pop up any new windows. The environment parameter is used to set environment variable for the execution.

메소드 상세

GetActiveConfig() 공개 정적인 메소드

Gets the current active gcloud config by calling config-helper. Every call will also create a new access token in the string returned.
public static GetActiveConfig ( ) : Task
리턴 Task