Cloud Functions v1 API - Class GetFunctionRequest (2.5.0)

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

Reference documentation and code samples for the Cloud Functions v1 API class GetFunctionRequest.

Request for the GetFunction method.

Inheritance

object > GetFunctionRequest

Namespace

Google.Cloud.Functions.V1

Assembly

Google.Cloud.Functions.V1.dll

Constructors

GetFunctionRequest()

public GetFunctionRequest()

GetFunctionRequest(GetFunctionRequest)

public GetFunctionRequest(GetFunctionRequest other)
Parameter
Name Description
other GetFunctionRequest

Properties

CloudFunctionName

public CloudFunctionName CloudFunctionName { get; set; }

CloudFunctionName-typed view over the Name resource name property.

Property Value
Type Description
CloudFunctionName

Name

public string Name { get; set; }

Required. The name of the function which details should be obtained.

Property Value
Type Description
string

VersionId

public long VersionId { get; set; }

Optional. The optional version of the function whose details should be obtained. The version of a 1st Gen function is an integer that starts from 1 and gets incremented on redeployments. Each deployment creates a config version of the underlying function. GCF may keep historical configs for old versions. This field can be specified to fetch the historical configs. Leave it blank or set to 0 to get the latest version of the function.

Property Value
Type Description
long