Class FoldersResource.UpdateAccessApprovalSettingsRequest
Updates the settings associated with a project, folder, or organization. Settings to update are determined by the value of field_mask.
Inheritance
Inherited Members
Namespace: Google.Apis.AccessApproval.v1
Assembly: Google.Apis.AccessApproval.v1.dll
Syntax
public class FoldersResource.UpdateAccessApprovalSettingsRequest : AccessApprovalBaseServiceRequest<AccessApprovalSettings>, IClientServiceRequest<AccessApprovalSettings>, IClientServiceRequest
Constructors
UpdateAccessApprovalSettingsRequest(IClientService, AccessApprovalSettings, string)
Constructs a new UpdateAccessApprovalSettings request.
Declaration
public UpdateAccessApprovalSettingsRequest(IClientService service, AccessApprovalSettings body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AccessApprovalSettings | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" * "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
The update mask applies to the settings. Only the top level fields of AccessApprovalSettings
(notification_emails & enrolled_services) are supported. For each field, if it is included, the
currently stored value will be entirely overwritten with the value of the field passed in this request.
For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If this field is
left unset, only the notification_emails field will be updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes UpdateAccessApprovalSettings parameter list.
Declaration
protected override void InitParameters()