Class OrganizationsResource.AnalyticsAccountLinksResource
The "analyticsAccountLinks" collection of methods.
Inherited Members
Namespace: Google.Apis.GoogleMarketingPlatformAdminAPI.v1alpha
Assembly: Google.Apis.GoogleMarketingPlatformAdminAPI.v1alpha.dll
Syntax
public class OrganizationsResource.AnalyticsAccountLinksResource
Constructors
AnalyticsAccountLinksResource(IClientService)
Constructs a new resource.
Declaration
public AnalyticsAccountLinksResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(AnalyticsAccountLink, string)
Creates the link between the Analytics account and the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account to create the link. If the account is already linked to an organization, user needs to unlink the account from the current organization, then try link again.
Declaration
public virtual OrganizationsResource.AnalyticsAccountLinksResource.CreateRequest Create(AnalyticsAccountLink body, string parent)
Parameters
Type | Name | Description |
---|---|---|
AnalyticsAccountLink | body | The body of the request. |
string | parent | Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id} |
Returns
Type | Description |
---|---|
OrganizationsResource.AnalyticsAccountLinksResource.CreateRequest |
Delete(string)
Deletes the AnalyticsAccountLink, which detaches the Analytics account from the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account in order to delete the link.
Declaration
public virtual OrganizationsResource.AnalyticsAccountLinksResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Analytics account link to delete. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} |
Returns
Type | Description |
---|---|
OrganizationsResource.AnalyticsAccountLinksResource.DeleteRequest |
List(string)
Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.
Declaration
public virtual OrganizationsResource.AnalyticsAccountLinksResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent organization, which owns this collection of Analytics account links. Format: organizations/{org_id} |
Returns
Type | Description |
---|---|
OrganizationsResource.AnalyticsAccountLinksResource.ListRequest |
SetPropertyServiceLevel(SetPropertyServiceLevelRequest, string)
Updates the service level for an Analytics property.
Declaration
public virtual OrganizationsResource.AnalyticsAccountLinksResource.SetPropertyServiceLevelRequest SetPropertyServiceLevel(SetPropertyServiceLevelRequest body, string analyticsAccountLink)
Parameters
Type | Name | Description |
---|---|---|
SetPropertyServiceLevelRequest | body | The body of the request. |
string | analyticsAccountLink | Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} |
Returns
Type | Description |
---|---|
OrganizationsResource.AnalyticsAccountLinksResource.SetPropertyServiceLevelRequest |