Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ServicesResource.BackupsResource.CreateRequest

Creates a new backup in a given project and location.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleLongrunningOperation>
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>
ProjectsResource.LocationsResource.ServicesResource.BackupsResource.CreateRequest
Implements
IClientServiceRequest<GoogleLongrunningOperation>
IClientServiceRequest
Inherited Members
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>.Xgafv
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>.AccessToken
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>.Alt
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>.Callback
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>.Fields
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>.Key
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>.OauthToken
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>.PrettyPrint
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>.QuotaUser
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>.UploadType
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>.UploadProtocol
ClientServiceRequest<GoogleLongrunningOperation>.Execute()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStream()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsync()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleLongrunningOperation>.CreateRequest(bool?)
ClientServiceRequest<GoogleLongrunningOperation>.GenerateRequestUri()
ClientServiceRequest<GoogleLongrunningOperation>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleLongrunningOperation>.ETagAction
ClientServiceRequest<GoogleLongrunningOperation>.ModifyRequest
ClientServiceRequest<GoogleLongrunningOperation>.ValidateParameters
ClientServiceRequest<GoogleLongrunningOperation>.ApiVersion
ClientServiceRequest<GoogleLongrunningOperation>.RequestParameters
ClientServiceRequest<GoogleLongrunningOperation>.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.DataprocMetastore.v2
Assembly: Google.Apis.DataprocMetastore.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ServicesResource.BackupsResource.CreateRequest : DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest

Constructors

CreateRequest(IClientService, GoogleCloudMetastoreV2Backup, string)

Constructs a new Create request.

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

Properties

BackupId

Required. The ID of the backup, which is used as the final component of the backup's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.

Declaration
[RequestParameter("backupId", RequestParameterType.Query)]
public virtual string BackupId { 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<GoogleLongrunningOperation>.HttpMethod

MethodName

Gets the method name.

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

Parent

Required. The relative resource name of the service in which to create a backup of the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.

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

RequestId

Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>.InitParameters()

Implements

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