Show / Hide Table of Contents

Class ProjectsResource.AgentPoolsResource.CreateRequest

Creates an agent pool resource.

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

Constructors

CreateRequest(IClientService, AgentPool, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, AgentPool body, string projectId)
Parameters
Type Name Description
IClientService service
AgentPool body
string projectId

Properties

AgentPoolId

Required. The ID of the agent pool to create. The agent_pool_id must meet the following requirements: * Length of 128 characters or less. * Not start with the string goog. * Start with a lowercase ASCII character, followed by: * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (-), periods (.), underscores (_), or tildes (~). * One or more numerals or lowercase ASCII characters. As expressed by the regular expression: ^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$.

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

MethodName

Gets the method name.

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

ProjectId

Required. The ID of the Google Cloud project that owns the agent pool.

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
StoragetransferBaseServiceRequest<AgentPool>.InitParameters()

Implements

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