Class MediaResource.UploadRequest
Uploads a binary. Uploading a binary can result in a new release being created, an update to an existing release, or a no-op if a release with the same binary already exists.
Inheritance
MediaResource.UploadRequest
Inherited Members
Namespace: Google.Apis.FirebaseAppDistribution.v1
Assembly: Google.Apis.FirebaseAppDistribution.v1.dll
Syntax
public class MediaResource.UploadRequest : FirebaseAppDistributionBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
UploadRequest(IClientService, GoogleFirebaseAppdistroV1UploadReleaseRequest, string)
Constructs a new Upload request.
Declaration
public UploadRequest(IClientService service, GoogleFirebaseAppdistroV1UploadReleaseRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleFirebaseAppdistroV1UploadReleaseRequest | body | |
string | app |
Properties
App
The name of the app resource. Format: projects/{project_number}/apps/{app_id}
Declaration
[RequestParameter("app", RequestParameterType.Path)]
public virtual string App { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Upload parameter list.
Declaration
protected override void InitParameters()