Class OrganizationsResource
The "organizations" collection of methods.
Inherited Members
Namespace: Google.Apis.AccessApproval.v1
Assembly: Google.Apis.AccessApproval.v1.dll
Syntax
public class OrganizationsResource
Constructors
OrganizationsResource(IClientService)
Constructs a new resource.
Declaration
public OrganizationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
ApprovalRequests
Gets the ApprovalRequests resource.
Declaration
public virtual OrganizationsResource.ApprovalRequestsResource ApprovalRequests { get; }
Property Value
Type | Description |
---|---|
OrganizationsResource.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 OrganizationsResource.DeleteAccessApprovalSettingsRequest DeleteAccessApprovalSettings(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the AccessApprovalSettings to delete. |
Returns
Type | Description |
---|---|
OrganizationsResource.DeleteAccessApprovalSettingsRequest |
GetAccessApprovalSettings(string)
Gets the settings associated with a project, folder, or organization.
Declaration
public virtual OrganizationsResource.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 |
---|---|
OrganizationsResource.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 OrganizationsResource.GetServiceAccountRequest GetServiceAccount(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the AccessApprovalServiceAccount to retrieve. |
Returns
Type | Description |
---|---|
OrganizationsResource.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 OrganizationsResource.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 |
---|---|
OrganizationsResource.UpdateAccessApprovalSettingsRequest |