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.AccessApproval.v1
Assembly: Google.Apis.AccessApproval.v1.dll
Syntax
public class FoldersResource

Constructors

FoldersResource(IClientService)

Constructs a new resource.

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

Properties

ApprovalRequests

Gets the ApprovalRequests resource.

Declaration
public virtual FoldersResource.ApprovalRequestsResource ApprovalRequests { get; }
Property Value
Type Description
FoldersResource.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 FoldersResource.DeleteAccessApprovalSettingsRequest DeleteAccessApprovalSettings(string name)
Parameters
Type Name Description
string name

Name of the AccessApprovalSettings to delete.

Returns
Type Description
FoldersResource.DeleteAccessApprovalSettingsRequest

GetAccessApprovalSettings(string)

Gets the settings associated with a project, folder, or organization.

Declaration
public virtual FoldersResource.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
FoldersResource.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 FoldersResource.GetServiceAccountRequest GetServiceAccount(string name)
Parameters
Type Name Description
string name

Name of the AccessApprovalServiceAccount to retrieve.

Returns
Type Description
FoldersResource.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 FoldersResource.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
FoldersResource.UpdateAccessApprovalSettingsRequest
In this article
Back to top Generated by DocFX