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

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
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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.