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
System.Object
ProjectsResource.LocationsResource.FunctionsResource.CallRequest
Inherited Members
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.CloudFunctions.v1
Assembly: Google.Apis.CloudFunctions.v1.dll
Syntax
public class 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 | |
| System.String | name |
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.CloudFunctions.v1.Data.CallFunctionResponse>.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.CloudFunctions.v1.Data.CallFunctionResponse>.MethodName
Name
Required. The name of the function to be called.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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.CloudFunctions.v1.Data.CallFunctionResponse>.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.CloudFunctions.v1.Data.CallFunctionResponse>.GetBody()
InitParameters()
Initializes Call parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudFunctions.v1.CloudFunctionsBaseServiceRequest<Google.Apis.CloudFunctions.v1.Data.CallFunctionResponse>.InitParameters()