Class OrganizationsResource
The "organizations" collection of methods.
Inherited Members
Namespace: Google.Apis.GoogleMarketingPlatformAdminAPI.v1alpha
Assembly: Google.Apis.GoogleMarketingPlatformAdminAPI.v1alpha.dll
Syntax
public class OrganizationsResource
Constructors
OrganizationsResource(IClientService)
Constructs a new resource.
Declaration
public OrganizationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
AnalyticsAccountLinks
Gets the AnalyticsAccountLinks resource.
Declaration
public virtual OrganizationsResource.AnalyticsAccountLinksResource AnalyticsAccountLinks { get; }
Property Value
| Type | Description |
|---|---|
| OrganizationsResource.AnalyticsAccountLinksResource |
Methods
FindSalesPartnerManagedClients(FindSalesPartnerManagedClientsRequest, string)
Returns a list of clients managed by the sales partner organization. User needs to be an OrgAdmin/BillingAdmin on the sales partner organization in order to view the end clients.
Declaration
public virtual OrganizationsResource.FindSalesPartnerManagedClientsRequest FindSalesPartnerManagedClients(FindSalesPartnerManagedClientsRequest body, string organization)
Parameters
| Type | Name | Description |
|---|---|---|
| FindSalesPartnerManagedClientsRequest | body | The body of the request. |
| string | organization | Required. The name of the sales partner organization. Format: organizations/{org_id} |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.FindSalesPartnerManagedClientsRequest |
Get(string)
Lookup for a single organization.
Declaration
public virtual OrganizationsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the Organization to retrieve. Format: organizations/{org_id} |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.GetRequest |
List()
Returns a list of organizations that the user has access to.
Declaration
public virtual OrganizationsResource.ListRequest List()
Returns
| Type | Description |
|---|---|
| OrganizationsResource.ListRequest |
ReportPropertyUsage(ReportPropertyUsageRequest, string)
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.
Declaration
public virtual OrganizationsResource.ReportPropertyUsageRequest ReportPropertyUsage(ReportPropertyUsageRequest body, string organization)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportPropertyUsageRequest | body | The body of the request. |
| string | organization | Required. Specifies the organization whose property usage will be listed. Format: organizations/{org_id} |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.ReportPropertyUsageRequest |