Show / Hide Table of Contents

Class MediaResource.UploadRequest

Uploads media. Upload is supported on the URI /upload/v1/media/{+name}.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<GoogleBytestreamMedia>
RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>
MediaResource.UploadRequest
Implements
Google.Apis.Requests.IClientServiceRequest<GoogleBytestreamMedia>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>.Xgafv
RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>.AccessToken
RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>.Alt
RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>.Callback
RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>.Fields
RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>.Key
RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>.OauthToken
RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>.PrettyPrint
RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>.QuotaUser
RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>.UploadType
RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.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.v1
Assembly: Google.Apis.RemoteBuildExecution.v1.dll
Syntax
public class UploadRequest : RemoteBuildExecutionBaseServiceRequest<GoogleBytestreamMedia>, IClientServiceRequest<GoogleBytestreamMedia>, IClientServiceRequest

Constructors

UploadRequest(IClientService, GoogleBytestreamMedia, String)

Constructs a new Upload request.

Declaration
public UploadRequest(IClientService service, GoogleBytestreamMedia body, string resourceName)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
GoogleBytestreamMedia body
System.String resourceName

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.v1.Data.GoogleBytestreamMedia>.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.v1.Data.GoogleBytestreamMedia>.MethodName

ResourceName

Name of the media that is being downloaded. See ReadRequest.resource_name.

Declaration
[RequestParameter("resourceName", RequestParameterType.Path)]
public virtual string ResourceName { 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.v1.Data.GoogleBytestreamMedia>.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.v1.Data.GoogleBytestreamMedia>.GetBody()

InitParameters()

Initializes Upload parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.RemoteBuildExecution.v1.RemoteBuildExecutionBaseServiceRequest<Google.Apis.RemoteBuildExecution.v1.Data.GoogleBytestreamMedia>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top