Class OrganizationsResource.ReportPropertyUsageRequest
Get the usage and billing data for properties within the organization for the specified month. Per direct client org, user needs to be OrgAdmin/BillingAdmin on the organization in order to view the billing and usage data. Per sales partner client org, user needs to be OrgAdmin/BillingAdmin on the sales partner org in order to view the billing and usage data, or OrgAdmin/BillingAdmin on the sales partner client org in order to view the usage data only.
Inheritance
OrganizationsResource.ReportPropertyUsageRequest
Inherited Members
Namespace: Google.Apis.GoogleMarketingPlatformAdminAPI.v1alpha
Assembly: Google.Apis.GoogleMarketingPlatformAdminAPI.v1alpha.dll
Syntax
public class OrganizationsResource.ReportPropertyUsageRequest : GoogleMarketingPlatformAdminAPIBaseServiceRequest<ReportPropertyUsageResponse>, IClientServiceRequest<ReportPropertyUsageResponse>, IClientServiceRequest
Constructors
ReportPropertyUsageRequest(IClientService, ReportPropertyUsageRequest, string)
Constructs a new ReportPropertyUsage request.
Declaration
public ReportPropertyUsageRequest(IClientService service, ReportPropertyUsageRequest body, string organization)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ReportPropertyUsageRequest | body | |
| string | organization |
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
Organization
Required. Specifies the organization whose property usage will be listed. Format: organizations/{org_id}
Declaration
[RequestParameter("organization", RequestParameterType.Path)]
public virtual string Organization { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes ReportPropertyUsage parameter list.
Declaration
protected override void InitParameters()