Show / Hide Table of Contents

Class ProjectsResource.MoveRequest

Move a Project under a new resource parent. Returns an operation which can be used to track the process of the Project move workflow. Upon success, the Operation.response field will be populated with the moved Project. The caller must have resourcemanager.projects.update permission on the Project and have resourcemanager.projects.move permission on the Project's current and proposed new parent.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Operation>
CloudResourceManagerBaseServiceRequest<Operation>
ProjectsResource.MoveRequest
Implements
IClientServiceRequest<Operation>
IClientServiceRequest
Inherited Members
CloudResourceManagerBaseServiceRequest<Operation>.Xgafv
CloudResourceManagerBaseServiceRequest<Operation>.AccessToken
CloudResourceManagerBaseServiceRequest<Operation>.Alt
CloudResourceManagerBaseServiceRequest<Operation>.Callback
CloudResourceManagerBaseServiceRequest<Operation>.Fields
CloudResourceManagerBaseServiceRequest<Operation>.Key
CloudResourceManagerBaseServiceRequest<Operation>.OauthToken
CloudResourceManagerBaseServiceRequest<Operation>.PrettyPrint
CloudResourceManagerBaseServiceRequest<Operation>.QuotaUser
CloudResourceManagerBaseServiceRequest<Operation>.UploadType
CloudResourceManagerBaseServiceRequest<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(Nullable<Boolean>)
ClientServiceRequest<Operation>.GenerateRequestUri()
ClientServiceRequest<Operation>.GetDefaultETagAction(String)
ClientServiceRequest<Operation>.ETagAction
ClientServiceRequest<Operation>.ModifyRequest
ClientServiceRequest<Operation>.ValidateParameters
ClientServiceRequest<Operation>.RequestParameters
ClientServiceRequest<Operation>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
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.CloudResourceManager.v3
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class MoveRequest : CloudResourceManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest

Constructors

MoveRequest(IClientService, MoveProjectRequest, String)

Constructs a new Move request.

Declaration
public MoveRequest(IClientService service, MoveProjectRequest body, string name)
Parameters
Type Name Description
IClientService service
MoveProjectRequest body
System.String name

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.CloudResourceManager.v3.Data.Operation>.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.CloudResourceManager.v3.Data.Operation>.MethodName

Name

Required. The name of the project to move.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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.CloudResourceManager.v3.Data.Operation>.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.CloudResourceManager.v3.Data.Operation>.GetBody()

InitParameters()

Initializes Move parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudResourceManager.v3.CloudResourceManagerBaseServiceRequest<Google.Apis.CloudResourceManager.v3.Data.Operation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top