Show / Hide Table of Contents

Class FoldersResource

The "folders" collection of methods.

Inheritance
object
FoldersResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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. folders/{FOLDER_NUMBER}/autokeyConfig.

Returns
Type Description
FoldersResource.GetAutokeyConfigRequest

GetKajPolicyConfig(string)

Gets the KeyAccessJustificationsPolicyConfig for a given organization/folder/projects.

Declaration
public virtual FoldersResource.GetKajPolicyConfigRequest GetKajPolicyConfig(string name)
Parameters
Type Name Description
string name

Required. The name of the KeyAccessJustificationsPolicyConfig to get.

Returns
Type Description
FoldersResource.GetKajPolicyConfigRequest

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. folders/{FOLDER_NUMBER}/autokeyConfig.

Returns
Type Description
FoldersResource.UpdateAutokeyConfigRequest

UpdateKajPolicyConfig(KeyAccessJustificationsPolicyConfig, string)

Updates the KeyAccessJustificationsPolicyConfig for a given organization/folder/projects.

Declaration
public virtual FoldersResource.UpdateKajPolicyConfigRequest UpdateKajPolicyConfig(KeyAccessJustificationsPolicyConfig body, string name)
Parameters
Type Name Description
KeyAccessJustificationsPolicyConfig body

The body of the request.

string name

Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*/kajPolicyConfig".

Returns
Type Description
FoldersResource.UpdateKajPolicyConfigRequest
In this article
Back to top Generated by DocFX