Optional. An optional alias you can assign to this account relationship.
This alias acts as a convenient identifier for your own reference and
management. It must be unique among all your account relationships with the
same provider.
For example, you might use account_id_alias to assign a friendly name
to this relationship for easier identification in your systems.
Optional. An optional alias you can assign to this account relationship.
This alias acts as a convenient identifier for your own reference and
management. It must be unique among all your account relationships with the
same provider.
For example, you might use account_id_alias to assign a friendly name
to this relationship for easier identification in your systems.
Identifier. The resource name of the account relationship.
Format: accounts/{account}/relationships/{relationship}. For example,
accounts/123456/relationships/567890.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Identifier. The resource name of the account relationship.
Format: accounts/{account}/relationships/{relationship}. For example,
accounts/123456/relationships/567890.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Immutable. The provider of the service. Either the reference to an account
such as providers/123 or a well-known service provider (one of
providers/GOOGLE_ADS or providers/GOOGLE_BUSINESS_PROFILE).
Immutable. The provider of the service. Either the reference to an account
such as providers/123 or a well-known service provider (one of
providers/GOOGLE_ADS or providers/GOOGLE_BUSINESS_PROFILE).
Immutable. The provider of the service. Either the reference to an account
such as providers/123 or a well-known service provider (one of
providers/GOOGLE_ADS or providers/GOOGLE_BUSINESS_PROFILE).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface AccountRelationshipOrBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-accounts/0.26.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-accounts/0.24.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-accounts/0.23.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-accounts/0.20.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-accounts/0.19.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-accounts/0.18.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-accounts/0.16.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-accounts/0.15.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-accounts/0.14.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-accounts/0.13.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-accounts/0.12.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-accounts/0.11.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-accounts/0.10.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-accounts/0.9.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-accounts/0.8.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-accounts/0.7.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-accounts/0.5.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-accounts/0.4.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-accounts/0.3.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-accounts/0.2.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-accounts/0.1.0/com.google.shopping.merchant.accounts.v1.AccountRelationshipOrBuilder) \n\n public interface AccountRelationshipOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getAccountIdAlias()\n\n public abstract String getAccountIdAlias()\n\nOptional. An optional alias you can assign to this account relationship.\nThis alias acts as a convenient identifier for your own reference and\nmanagement. It must be unique among all your account relationships with the\nsame provider.\n\nFor example, you might use `account_id_alias` to assign a friendly name\nto this relationship for easier identification in your systems.\n\n`string account_id_alias = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getAccountIdAliasBytes()\n\n public abstract ByteString getAccountIdAliasBytes()\n\nOptional. An optional alias you can assign to this account relationship.\nThis alias acts as a convenient identifier for your own reference and\nmanagement. It must be unique among all your account relationships with the\nsame provider.\n\nFor example, you might use `account_id_alias` to assign a friendly name\nto this relationship for easier identification in your systems.\n\n`string account_id_alias = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getName()\n\n public abstract String getName()\n\nIdentifier. The resource name of the account relationship.\nFormat: `accounts/{account}/relationships/{relationship}`. For example,\n`accounts/123456/relationships/567890`.\n\n`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`\n\n### getNameBytes()\n\n public abstract ByteString getNameBytes()\n\nIdentifier. The resource name of the account relationship.\nFormat: `accounts/{account}/relationships/{relationship}`. For example,\n`accounts/123456/relationships/567890`.\n\n`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`\n\n### getProvider()\n\n public abstract String getProvider()\n\nImmutable. The provider of the service. Either the reference to an account\nsuch as `providers/123` or a well-known service provider (one of\n`providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).\n\n`optional string provider = 2 [(.google.api.field_behavior) = IMMUTABLE];`\n\n### getProviderBytes()\n\n public abstract ByteString getProviderBytes()\n\nImmutable. The provider of the service. Either the reference to an account\nsuch as `providers/123` or a well-known service provider (one of\n`providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).\n\n`optional string provider = 2 [(.google.api.field_behavior) = IMMUTABLE];`\n\n### getProviderDisplayName()\n\n public abstract String getProviderDisplayName()\n\nOutput only. The human-readable display name of the provider account.\n\n`string provider_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getProviderDisplayNameBytes()\n\n public abstract ByteString getProviderDisplayNameBytes()\n\nOutput only. The human-readable display name of the provider account.\n\n`string provider_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### hasProvider()\n\n public abstract boolean hasProvider()\n\nImmutable. The provider of the service. Either the reference to an account\nsuch as `providers/123` or a well-known service provider (one of\n`providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).\n\n`optional string provider = 2 [(.google.api.field_behavior) = IMMUTABLE];`"]]