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.v2
Assembly: Google.Apis.CloudFunctions.v2.dll
Syntax
public class ProjectsResource.LocationsResource.FunctionsResource.GetRequest : CloudFunctionsBaseServiceRequest<Function>, IClientServiceRequest<Function>, 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
Revision
Optional. The optional 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.
Declaration
[RequestParameter("revision", RequestParameterType.Query)]
public virtual string Revision { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()