Class ProjectsResource.GetBillingInfoRequest
Gets the billing information for a project. The current authenticated user must have the
resourcemanager.projects.get
permission for the project, which can be granted by assigning the Project
Viewer role.
Inheritance
ProjectsResource.GetBillingInfoRequest
Inherited Members
Namespace: Google.Apis.Cloudbilling.v1
Assembly: Google.Apis.Cloudbilling.v1.dll
Syntax
public class ProjectsResource.GetBillingInfoRequest : CloudbillingBaseServiceRequest<ProjectBillingInfo>, IClientServiceRequest<ProjectBillingInfo>, IClientServiceRequest
Constructors
GetBillingInfoRequest(IClientService, string)
Constructs a new GetBillingInfo request.
Declaration
public GetBillingInfoRequest(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 resource name of the project for which billing information is retrieved. For example,
projects/tokyo-rain-123
.
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
Methods
InitParameters()
Initializes GetBillingInfo parameter list.
Declaration
protected override void InitParameters()