Class Account
An account is a container for your location. 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).
Implements
Inherited Members
Namespace: Google.Apis.MyBusinessAccountManagement.v1.Data
Assembly: Google.Apis.MyBusinessAccountManagement.v1.dll
Syntax
public class Account : IDirectResponseSchema
Properties
AccountName
Required. The name of the account. For an account of type PERSONAL
, this is the first and last name of the
user account.
Declaration
[JsonProperty("accountName")]
public virtual string AccountName { get; set; }
Property Value
Type | Description |
---|---|
string |
AccountNumber
Output only. Account reference number if provisioned.
Declaration
[JsonProperty("accountNumber")]
public virtual string AccountNumber { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Immutable. The resource name, in the format accounts/{account_id}
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OrganizationInfo
Output only. Additional info for an organization. This is populated only for an organization account.
Declaration
[JsonProperty("organizationInfo")]
public virtual OrganizationInfo OrganizationInfo { get; set; }
Property Value
Type | Description |
---|---|
OrganizationInfo |
PermissionLevel
Output only. Specifies the permission level the user has for this account.
Declaration
[JsonProperty("permissionLevel")]
public virtual string PermissionLevel { get; set; }
Property Value
Type | Description |
---|---|
string |
PrimaryOwner
Required. Input only. The resource name of the account which will be the primary owner of the account being
created. It should be of the form accounts/{account_id}
.
Declaration
[JsonProperty("primaryOwner")]
public virtual string PrimaryOwner { get; set; }
Property Value
Type | Description |
---|---|
string |
Role
Output only. Specifies the AccountRole of this account.
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Required. Contains the type of account. Accounts of type PERSONAL and ORGANIZATION cannot be created using this API.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
VerificationState
Output only. If verified, future locations that are created are automatically connected to Google Maps, and have Google+ pages created, without requiring moderation.
Declaration
[JsonProperty("verificationState")]
public virtual string VerificationState { get; set; }
Property Value
Type | Description |
---|---|
string |
VettedState
Output only. Indicates whether the account is vetted by Google. A vetted account is able to verify locations via the VETTED_PARTNER method.
Declaration
[JsonProperty("vettedState")]
public virtual string VettedState { get; set; }
Property Value
Type | Description |
---|---|
string |