Cloud Functions v2beta API - Class CreateFunctionRequest (1.0.0-beta04)

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

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

Request for the CreateFunction method.

Inheritance

object > CreateFunctionRequest

Namespace

Google.Cloud.Functions.V2Beta

Assembly

Google.Cloud.Functions.V2Beta.dll

Constructors

CreateFunctionRequest()

public CreateFunctionRequest()

CreateFunctionRequest(CreateFunctionRequest)

public CreateFunctionRequest(CreateFunctionRequest other)
Parameter
NameDescription
otherCreateFunctionRequest

Properties

Function

public Function Function { get; set; }

Required. Function to be created.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName