Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.WorkflowsResource.CreateRequest

Creates a new workflow. If a workflow with the specified name already exists in the specified project and location, the long running operation will return ALREADY_EXISTS error.

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

Constructors

CreateRequest(IClientService, Workflow, string)

Constructs a new Create request.

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

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Parent

Required. Project and location in which the workflow should be created. Format: projects/{project}/locations/{location}

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<Operation>.RestPath

WorkflowId

Required. The ID of the workflow to be created. It has to fulfill the following requirements: * Must contain only letters, numbers, underscores and hyphens. * Must start with a letter. * Must be between 1-64 characters. * Must end with a number or a letter. * Must be unique within the customer project and location.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
WorkflowsBaseServiceRequest<Operation>.InitParameters()

Implements

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