Class ProjectsResource
The "projects" collection of methods.
Inherited Members
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
GetKajPolicyConfig(string)
Gets the KeyAccessJustificationsPolicyConfig for a given organization/folder/projects.
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 |
UpdateKajPolicyConfig(KeyAccessJustificationsPolicyConfig, string)
Updates the KeyAccessJustificationsPolicyConfig for a given organization/folder/projects.
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 |