public sealed class GetFunctionRequest : IMessage<GetFunctionRequest>, IEquatable<GetFunctionRequest>, IDeepCloneable<GetFunctionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Functions v2 API class GetFunctionRequest.
Request for the GetFunction
method.
Implements
IMessageGetFunctionRequest, IEquatableGetFunctionRequest, IDeepCloneableGetFunctionRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Functions.V2Assembly
Google.Cloud.Functions.V2.dll
Constructors
GetFunctionRequest()
public GetFunctionRequest()
GetFunctionRequest(GetFunctionRequest)
public GetFunctionRequest(GetFunctionRequest other)
Parameter | |
---|---|
Name | Description |
other |
GetFunctionRequest |
Properties
FunctionName
public FunctionName FunctionName { get; set; }
FunctionName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
FunctionName |
Name
public string Name { get; set; }
Required. The name of the function which details should be obtained.
Property Value | |
---|---|
Type | Description |
string |
Revision
public string Revision { get; set; }
Optional. The version of the 1st gen 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. GCF may keep historical configs for old versions of 1st gen function. This field can be specified to fetch the historical configs. This field is valid only for GCF 1st gen function.
Property Value | |
---|---|
Type | Description |
string |