Class FoldersResource.UpdateAutokeyConfigRequest
Updates the AutokeyConfig for a folder. The caller must have both cloudkms.autokeyConfigs.update
permission on the parent folder and cloudkms.cryptoKeys.setIamPolicy
permission on the provided key
project. A KeyHandle creation in the folder's descendant projects will use this configuration to determine
where to create the resulting CryptoKey.
Inheritance
FoldersResource.UpdateAutokeyConfigRequest
Inherited Members
Namespace: Google.Apis.CloudKMS.v1
Assembly: Google.Apis.CloudKMS.v1.dll
Syntax
public class FoldersResource.UpdateAutokeyConfigRequest : CloudKMSBaseServiceRequest<AutokeyConfig>, IClientServiceRequest<AutokeyConfig>, IClientServiceRequest
Constructors
UpdateAutokeyConfigRequest(IClientService, AutokeyConfig, string)
Constructs a new UpdateAutokeyConfig request.
Declaration
public UpdateAutokeyConfigRequest(IClientService service, AutokeyConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AutokeyConfig | 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
Identifier. Name of the AutokeyConfig resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig
.
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
Required. Masks which fields of the AutokeyConfig to update, e.g. keyProject
.
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 UpdateAutokeyConfig parameter list.
Declaration
protected override void InitParameters()