Struct google_mybusiness4::api::Account
source · pub struct Account {
pub account_name: Option<String>,
pub account_number: Option<String>,
pub name: Option<String>,
pub organization_info: Option<OrganizationInfo>,
pub permission_level: Option<String>,
pub role: Option<String>,
pub state: Option<AccountState>,
pub type_: Option<String>,
}
Expand description
An account is a container for your business’s locations. If you are the only user who manages locations for your business, you can use your personal Google Account. To share management of locations with multiple users, [create a business account] (https://support.google.com/business/answer/6085339?ref_topic=6085325).
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- admins create accounts (none)
- admins delete accounts (none)
- admins list accounts (none)
- admins patch accounts (none)
- invitations accept accounts (none)
- invitations decline accounts (none)
- invitations list accounts (none)
- locations admins create accounts (none)
- locations admins delete accounts (none)
- locations admins list accounts (none)
- locations admins patch accounts (none)
- locations followers get metadata accounts (none)
- locations local posts create accounts (none)
- locations local posts delete accounts (none)
- locations local posts get accounts (none)
- locations local posts list accounts (none)
- locations local posts patch accounts (none)
- locations local posts report insights accounts (none)
- locations media customers get accounts (none)
- locations media customers list accounts (none)
- locations media create accounts (none)
- locations media delete accounts (none)
- locations media get accounts (none)
- locations media list accounts (none)
- locations media patch accounts (none)
- locations media start upload accounts (none)
- locations questions answers delete accounts (none)
- locations questions answers list accounts (none)
- locations questions answers upsert accounts (none)
- locations questions create accounts (none)
- locations questions delete accounts (none)
- locations questions list accounts (none)
- locations questions patch accounts (none)
- locations reviews delete reply accounts (none)
- locations reviews get accounts (none)
- locations reviews list accounts (none)
- locations reviews update reply accounts (none)
- locations verifications complete accounts (none)
- locations verifications list accounts (none)
- locations associate accounts (none)
- locations batch get accounts (none)
- locations batch get reviews accounts (none)
- locations clear association accounts (none)
- locations create accounts (none)
- locations delete accounts (none)
- locations fetch verification options accounts (none)
- locations find matches accounts (none)
- locations get accounts (none)
- locations get google updated accounts (none)
- locations list accounts (none)
- locations patch accounts (none)
- locations report insights accounts (none)
- locations transfer accounts (none)
- locations verify accounts (none)
- create accounts (request|response)
- delete notifications accounts (none)
- generate account number accounts (response)
- get accounts (response)
- get notifications accounts (none)
- list accounts (none)
- list recommend google locations accounts (none)
- update accounts (request|response)
- update notifications accounts (none)
Fields§
§account_name: Option<String>
The name of the account.
account_number: Option<String>
Account reference number if provisioned.
name: Option<String>
The resource name, in the format accounts/{account_id}
.
organization_info: Option<OrganizationInfo>
Additional info for an organization. This is populated only for an organization account.
permission_level: Option<String>
Output only. Specifies the PermissionLevel the caller has for this account.
role: Option<String>
Output only. Specifies the AccountRole the caller has for this account.
state: Option<AccountState>
Output only. Indicates the AccountState of this account.
type_: Option<String>
Output only. Specifies the AccountType of this account.