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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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