Class ProjectsResource.InstancesResource.CreateRequest
Creates a new instance in the specified region. Returns a long running operation which contains an
instance on completion. While the long running operation is in progress, any call to GetInstance
returns an instance in state CREATING
.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<GoogleLongrunningOperation>
ProjectsResource.InstancesResource.CreateRequest
Implements
Google.Apis.Requests.IClientServiceRequest<GoogleLongrunningOperation>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.RemoteBuildExecution.v1alpha
Assembly: Google.Apis.RemoteBuildExecution.v1alpha.dll
Syntax
public class CreateRequest : RemoteBuildExecutionBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest, String)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest | body | |
System.String | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.MethodName
Parent
Resource name of the project containing the instance. Format: projects/[PROJECT_ID]
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.RemoteBuildExecution.v1alpha.RemoteBuildExecutionBaseServiceRequest<Google.Apis.RemoteBuildExecution.v1alpha.Data.GoogleLongrunningOperation>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest