Class ProjectsResource
The "projects" collection of methods.
Inherited Members
Namespace: Google.Apis.AccessApproval.v1
Assembly: Google.Apis.AccessApproval.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
ApprovalRequests
Gets the ApprovalRequests resource.
Declaration
public virtual ProjectsResource.ApprovalRequestsResource ApprovalRequests { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.ApprovalRequestsResource |
Methods
DeleteAccessApprovalSettings(string)
Deletes the settings associated with a project, folder, or organization. This will have the effect of disabling Access Approval for the project, folder, or organization, but only if all ancestors also have Access Approval disabled. If Access Approval is enabled at a higher level of the hierarchy, then Access Approval will still be enabled at this level as the settings are inherited.
Declaration
public virtual ProjectsResource.DeleteAccessApprovalSettingsRequest DeleteAccessApprovalSettings(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the AccessApprovalSettings to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.DeleteAccessApprovalSettingsRequest |
GetAccessApprovalSettings(string)
Gets the settings associated with a project, folder, or organization.
Declaration
public virtual ProjectsResource.GetAccessApprovalSettingsRequest GetAccessApprovalSettings(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the AccessApprovalSettings to retrieve. Format: "{projects|folders|organizations}/{id}/accessApprovalSettings" |
Returns
Type | Description |
---|---|
ProjectsResource.GetAccessApprovalSettingsRequest |
GetServiceAccount(string)
Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.
Declaration
public virtual ProjectsResource.GetServiceAccountRequest GetServiceAccount(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the AccessApprovalServiceAccount to retrieve. |
Returns
Type | Description |
---|---|
ProjectsResource.GetServiceAccountRequest |
UpdateAccessApprovalSettings(AccessApprovalSettings, string)
Updates the settings associated with a project, folder, or organization. Settings to update are determined by the value of field_mask.
Declaration
public virtual ProjectsResource.UpdateAccessApprovalSettingsRequest UpdateAccessApprovalSettings(AccessApprovalSettings body, string name)
Parameters
Type | Name | Description |
---|---|---|
AccessApprovalSettings | body | The body of the request. |
string | name | The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" * "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings" |
Returns
Type | Description |
---|---|
ProjectsResource.UpdateAccessApprovalSettingsRequest |