메소드 | 설명 | |
---|---|---|
GetActiveUserConfig ( |
Gets the current active config. This value will be cached for the next call. If refreshConfig is true, however, we will refresh the cache. Everytime the cache is refreshed, a new access token will be generated for the current active config (even if there is no change in the current active config).
|
|
GetActiveUserToken ( |
Gets the token that belongs to the current active config. This value will be normally be cached as the current active user config is normally cached. If refresh is true or if the current token already expired, however, we will refresh the active user config to get a new token.
|
|
GetPropertyValue ( string key ) : Task |
Returns a property of the configuration based on the given key.
|
메소드 | 설명 | |
---|---|---|
ActiveUserConfig ( string activeConfigJson ) : Newtonsoft.Json.Linq |
Creates an active user config by parsing a JSON.
|
|
GetCurrentConfigurationFingerPrint ( ) : string |
Returns fingerprint of the current configuration. The result will only be changed if there is either a change in the sentinel file (which is touched by gcloud any time the configuration is changed) or if there is a change in any CLOUDSDK_* environment variables.
|
public static GetActiveUserConfig ( |
||
cancellationToken | ||
refreshConfig | bool | |
리턴 | Task |
public static GetActiveUserToken ( |
||
cancellationToken | ||
refresh | bool | |
리턴 | Task |
public static GetPropertyValue ( string key ) : Task |
||
key | string | |
리턴 | Task |