Class ProjectsResource.LocationsResource.FunctionsResource.CallRequest
Synchronously invokes a deployed Cloud Function. To be used for testing purposes as very limited traffic is allowed. For more information on the actual limits, refer to Rate Limits.
Inheritance
ProjectsResource.LocationsResource.FunctionsResource.CallRequest
Inherited Members
Namespace: Google.Apis.CloudFunctions.v1
Assembly: Google.Apis.CloudFunctions.v1.dll
Syntax
public class ProjectsResource.LocationsResource.FunctionsResource.CallRequest : CloudFunctionsBaseServiceRequest<CallFunctionResponse>, IClientServiceRequest<CallFunctionResponse>, IClientServiceRequest
Constructors
CallRequest(IClientService, CallFunctionRequest, string)
Constructs a new Call request.
Declaration
public CallRequest(IClientService service, CallFunctionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CallFunctionRequest | 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 the function to be called.
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 Call parameter list.
Declaration
protected override void InitParameters()