Class FoldersResource.GetRequest
Retrieves a Folder identified by the supplied resource name. Valid Folder resource names have the format
folders/{folder_id}
(for example, folders/1234
). The caller must have resourcemanager.folders.get
permission on the identified folder.
Inheritance
FoldersResource.GetRequest
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v2beta1
Assembly: Google.Apis.CloudResourceManager.v2beta1.dll
Syntax
public class FoldersResource.GetRequest : CloudResourceManagerBaseServiceRequest<Folder>, IClientServiceRequest<Folder>, 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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v2beta1.Data.Folder>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v2beta1.Data.Folder>.MethodName
Name
Required. The resource name of the Folder to retrieve. Must be of the form folders/{folder_id}
.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v2beta1.Data.Folder>.RestPath
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()