AccountRelationshipsService

Service to support AccountRelationship API.

GetAccountRelationship

rpc GetAccountRelationship(GetAccountRelationshipRequest) returns (AccountRelationship)

Retrieve an account relationship.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.

ListAccountRelationships

rpc ListAccountRelationships(ListAccountRelationshipsRequest) returns (ListAccountRelationshipsResponse)

List account relationships for the specified account.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.

UpdateAccountRelationship

rpc UpdateAccountRelationship(UpdateAccountRelationshipRequest) returns (AccountRelationship)

Updates the account relationship. Executing this method requires admin access.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.