Cloud Functions v2 API - Class CreateFunctionRequest (1.5.0)

public sealed class CreateFunctionRequest : IMessage<CreateFunctionRequest>, IEquatable<CreateFunctionRequest>, IDeepCloneable<CreateFunctionRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Functions v2 API class CreateFunctionRequest.

Request for the CreateFunction method.

Inheritance

object > CreateFunctionRequest

Namespace

Google.Cloud.Functions.V2

Assembly

Google.Cloud.Functions.V2.dll

Constructors

CreateFunctionRequest()

public CreateFunctionRequest()

CreateFunctionRequest(CreateFunctionRequest)

public CreateFunctionRequest(CreateFunctionRequest other)
Parameter
Name Description
other CreateFunctionRequest

Properties

Function

public Function Function { get; set; }

Required. Function to be created.

Property Value
Type Description
Function

FunctionId

public string FunctionId { get; set; }

The ID to use for the function, which will become the final component of the function's resource name.

This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The project and location in which the function should be created, specified in the format projects/*/locations/*

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName