Show / Hide Table of Contents

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
ClientServiceRequest
ClientServiceRequest<CallFunctionResponse>
CloudFunctionsBaseServiceRequest<CallFunctionResponse>
ProjectsResource.LocationsResource.FunctionsResource.CallRequest
Implements
IClientServiceRequest<CallFunctionResponse>
IClientServiceRequest
Inherited Members
CloudFunctionsBaseServiceRequest<CallFunctionResponse>.Xgafv
CloudFunctionsBaseServiceRequest<CallFunctionResponse>.AccessToken
CloudFunctionsBaseServiceRequest<CallFunctionResponse>.Alt
CloudFunctionsBaseServiceRequest<CallFunctionResponse>.Callback
CloudFunctionsBaseServiceRequest<CallFunctionResponse>.Fields
CloudFunctionsBaseServiceRequest<CallFunctionResponse>.Key
CloudFunctionsBaseServiceRequest<CallFunctionResponse>.OauthToken
CloudFunctionsBaseServiceRequest<CallFunctionResponse>.PrettyPrint
CloudFunctionsBaseServiceRequest<CallFunctionResponse>.QuotaUser
CloudFunctionsBaseServiceRequest<CallFunctionResponse>.UploadType
CloudFunctionsBaseServiceRequest<CallFunctionResponse>.UploadProtocol
ClientServiceRequest<CallFunctionResponse>.Execute()
ClientServiceRequest<CallFunctionResponse>.ExecuteAsStream()
ClientServiceRequest<CallFunctionResponse>.ExecuteAsync()
ClientServiceRequest<CallFunctionResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<CallFunctionResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<CallFunctionResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<CallFunctionResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<CallFunctionResponse>.GenerateRequestUri()
ClientServiceRequest<CallFunctionResponse>.GetDefaultETagAction(String)
ClientServiceRequest<CallFunctionResponse>.ETagAction
ClientServiceRequest<CallFunctionResponse>.ModifyRequest
ClientServiceRequest<CallFunctionResponse>.ValidateParameters
ClientServiceRequest<CallFunctionResponse>.RequestParameters
ClientServiceRequest<CallFunctionResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
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.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()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top