Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.CreateRequest

Create a new CryptoKey within a KeyRing. CryptoKey.purpose and CryptoKey.version_template.algorithm are required.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<CryptoKey>
CloudKMSBaseServiceRequest<CryptoKey>
ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.CreateRequest
Implements
IClientServiceRequest<CryptoKey>
IClientServiceRequest
Inherited Members
CloudKMSBaseServiceRequest<CryptoKey>.Xgafv
CloudKMSBaseServiceRequest<CryptoKey>.AccessToken
CloudKMSBaseServiceRequest<CryptoKey>.Alt
CloudKMSBaseServiceRequest<CryptoKey>.Callback
CloudKMSBaseServiceRequest<CryptoKey>.Fields
CloudKMSBaseServiceRequest<CryptoKey>.Key
CloudKMSBaseServiceRequest<CryptoKey>.OauthToken
CloudKMSBaseServiceRequest<CryptoKey>.PrettyPrint
CloudKMSBaseServiceRequest<CryptoKey>.QuotaUser
CloudKMSBaseServiceRequest<CryptoKey>.UploadType
CloudKMSBaseServiceRequest<CryptoKey>.UploadProtocol
ClientServiceRequest<CryptoKey>.Execute()
ClientServiceRequest<CryptoKey>.ExecuteAsStream()
ClientServiceRequest<CryptoKey>.ExecuteAsync()
ClientServiceRequest<CryptoKey>.ExecuteAsync(CancellationToken)
ClientServiceRequest<CryptoKey>.ExecuteAsStreamAsync()
ClientServiceRequest<CryptoKey>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<CryptoKey>.CreateRequest(bool?)
ClientServiceRequest<CryptoKey>.GenerateRequestUri()
ClientServiceRequest<CryptoKey>.GetDefaultETagAction(string)
ClientServiceRequest<CryptoKey>.ETagAction
ClientServiceRequest<CryptoKey>.ModifyRequest
ClientServiceRequest<CryptoKey>.ValidateParameters
ClientServiceRequest<CryptoKey>.ApiVersion
ClientServiceRequest<CryptoKey>.RequestParameters
ClientServiceRequest<CryptoKey>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudKMS.v1
Assembly: Google.Apis.CloudKMS.v1.dll
Syntax
public class ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.CreateRequest : CloudKMSBaseServiceRequest<CryptoKey>, IClientServiceRequest<CryptoKey>, IClientServiceRequest

Constructors

CreateRequest(IClientService, CryptoKey, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, CryptoKey body, string parent)
Parameters
Type Name Description
IClientService service
CryptoKey body
string parent

Properties

CryptoKeyId

Required. It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

Declaration
[RequestParameter("cryptoKeyId", RequestParameterType.Query)]
public virtual string CryptoKeyId { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<CryptoKey>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<CryptoKey>.MethodName

Parent

Required. The name of the KeyRing associated with the CryptoKeys.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<CryptoKey>.RestPath

SkipInitialVersionCreation

If set to true, the request will create a CryptoKey without any CryptoKeyVersions. You must manually call CreateCryptoKeyVersion or ImportCryptoKeyVersion before you can use this CryptoKey.

Declaration
[RequestParameter("skipInitialVersionCreation", RequestParameterType.Query)]
public virtual bool? SkipInitialVersionCreation { get; set; }
Property Value
Type Description
bool?

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<CryptoKey>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudKMSBaseServiceRequest<CryptoKey>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX