Show / Hide Table of Contents

Class ProjectsResource

The "projects" collection of methods.

Inheritance
object
ProjectsResource
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 ProjectsResource

Constructors

ProjectsResource(IClientService)

Constructs a new resource.

Declaration
public ProjectsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Locations

Gets the Locations resource.

Declaration
public virtual ProjectsResource.LocationsResource Locations { get; }
Property Value
Type Description
ProjectsResource.LocationsResource

Methods

GetAutokeyConfig(string)

Returns the AutokeyConfig for a folder or project.

Declaration
public virtual ProjectsResource.GetAutokeyConfigRequest GetAutokeyConfig(string name)
Parameters
Type Name Description
string name

Required. Name of the AutokeyConfig resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig or projects/{PROJECT_NUMBER}/autokeyConfig.

Returns
Type Description
ProjectsResource.GetAutokeyConfigRequest

GetKajPolicyConfig(string)

Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.

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

Required. The name of the KeyAccessJustificationsPolicyConfig to get.

Returns
Type Description
ProjectsResource.GetKajPolicyConfigRequest

ShowEffectiveAutokeyConfig(string)

Returns the effective Cloud KMS Autokey configuration for a given project.

Declaration
public virtual ProjectsResource.ShowEffectiveAutokeyConfigRequest ShowEffectiveAutokeyConfig(string parent)
Parameters
Type Name Description
string parent

Required. Name of the resource project to the show effective Cloud KMS Autokey configuration for. This may be helpful for interrogating the effect of nested folder configurations on a given resource project.

Returns
Type Description
ProjectsResource.ShowEffectiveAutokeyConfigRequest

ShowEffectiveKeyAccessJustificationsEnrollmentConfig(string)

Returns the KeyAccessJustificationsEnrollmentConfig of the resource closest to the given project in hierarchy.

Declaration
public virtual ProjectsResource.ShowEffectiveKeyAccessJustificationsEnrollmentConfigRequest ShowEffectiveKeyAccessJustificationsEnrollmentConfig(string project)
Parameters
Type Name Description
string project

Required. The number or id of the project to get the effective KeyAccessJustificationsEnrollmentConfig for.

Returns
Type Description
ProjectsResource.ShowEffectiveKeyAccessJustificationsEnrollmentConfigRequest

ShowEffectiveKeyAccessJustificationsPolicyConfig(string)

Returns the KeyAccessJustificationsPolicyConfig of the resource closest to the given project in hierarchy.

Declaration
public virtual ProjectsResource.ShowEffectiveKeyAccessJustificationsPolicyConfigRequest ShowEffectiveKeyAccessJustificationsPolicyConfig(string project)
Parameters
Type Name Description
string project

Required. The number or id of the project to get the effective KeyAccessJustificationsPolicyConfig. In the format of "projects/{|}"

Returns
Type Description
ProjectsResource.ShowEffectiveKeyAccessJustificationsPolicyConfigRequest

UpdateAutokeyConfig(AutokeyConfig, string)

Updates the AutokeyConfig for a folder or a project. 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 ProjectsResource.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
ProjectsResource.UpdateAutokeyConfigRequest

UpdateKajPolicyConfig(KeyAccessJustificationsPolicyConfig, string)

Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.

Declaration
public virtual ProjectsResource.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
ProjectsResource.UpdateKajPolicyConfigRequest
In this article
Back to top Generated by DocFX