Class ProjectsResource.LocationsResource.FunctionsResource.GetRequest
Returns a function with the given name from the requested project.
Inheritance
ProjectsResource.LocationsResource.FunctionsResource.GetRequest
Inherited Members
Namespace: Google.Apis.CloudFunctions.v1
Assembly: Google.Apis.CloudFunctions.v1.dll
Syntax
public class ProjectsResource.LocationsResource.FunctionsResource.GetRequest : CloudFunctionsBaseServiceRequest<CloudFunction>, IClientServiceRequest<CloudFunction>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the function which details should be obtained.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
VersionId
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.
Declaration
[RequestParameter("versionId", RequestParameterType.Query)]
public virtual long? VersionId { get; set; }
Property Value
Type | Description |
---|---|
long? |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()