Class FoldersResource
The "folders" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudKMS.v1
Assembly: Google.Apis.CloudKMS.v1.dll
Syntax
public class FoldersResource
Constructors
FoldersResource(IClientService)
Constructs a new resource.
Declaration
public FoldersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
GetAutokeyConfig(string)
Returns the AutokeyConfig for a folder.
Declaration
public virtual FoldersResource.GetAutokeyConfigRequest GetAutokeyConfig(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the AutokeyConfig resource, e.g. |
Returns
Type | Description |
---|---|
FoldersResource.GetAutokeyConfigRequest |
UpdateAutokeyConfig(AutokeyConfig, string)
Updates the AutokeyConfig for a folder. The caller must have both cloudkms.autokeyConfigs.update
permission on the parent folder and cloudkms.cryptoKeys.setIamPolicy
permission on the provided key
project. A KeyHandle creation in the folder's descendant projects will use this configuration to determine
where to create the resulting CryptoKey.
Declaration
public virtual FoldersResource.UpdateAutokeyConfigRequest UpdateAutokeyConfig(AutokeyConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
AutokeyConfig | body | The body of the request. |
string | name | Identifier. Name of the AutokeyConfig resource, e.g. |
Returns
Type | Description |
---|---|
FoldersResource.UpdateAutokeyConfigRequest |