Class ProjectsResource.LocationsResource.FunctionsResource.GenerateDownloadUrlRequest
Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within 30 minutes of generation. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls
Inheritance
ProjectsResource.LocationsResource.FunctionsResource.GenerateDownloadUrlRequest
Inherited Members
Namespace: Google.Apis.CloudFunctions.v2beta
Assembly: Google.Apis.CloudFunctions.v2beta.dll
Syntax
public class ProjectsResource.LocationsResource.FunctionsResource.GenerateDownloadUrlRequest : CloudFunctionsBaseServiceRequest<GenerateDownloadUrlResponse>, IClientServiceRequest<GenerateDownloadUrlResponse>, IClientServiceRequest
Constructors
GenerateDownloadUrlRequest(IClientService, GenerateDownloadUrlRequest, string)
Constructs a new GenerateDownloadUrl request.
Declaration
public GenerateDownloadUrlRequest(IClientService service, GenerateDownloadUrlRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GenerateDownloadUrlRequest | body | |
string | name |
Properties
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
Name
Required. The name of function for which source code Google Cloud Storage signed URL should be generated.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
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 GenerateDownloadUrl parameter list.
Declaration
protected override void InitParameters()