Class Admin
An administrator of an Account or a location.
Implements
Inherited Members
Namespace: Google.Apis.MyBusinessAccountManagement.v1.Data
Assembly: Google.Apis.MyBusinessAccountManagement.v1.dll
Syntax
public class Admin : IDirectResponseSchema
Properties
Account
Immutable. The name of the Account resource that this Admin refers to. Used when calling
locations.admins.create to invite a LocationGroup as an admin. If both this field and admin are set on
CREATE requests, this field takes precedence and the email address in admin will be ignored. Format:
accounts/{account}.
Declaration
[JsonProperty("account")]
public virtual string Account { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AdminValue
Optional. The name of the admin. When making the initial invitation, this is the invitee's email address. On
GET calls, the user's email address is returned if the invitation is still pending. Otherwise, it contains
the user's first and last names. This field is only needed to be set during admin creation.
Declaration
[JsonProperty("admin")]
public virtual string AdminValue { 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. For account admins, this is in the form:
accounts/{account_id}/admins/{admin_id} For location admins, this is in the form:
locations/{location_id}/admins/{admin_id} This field will be ignored if set during admin creation.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PendingInvitation
Output only. Indicates whether this admin has a pending invitation for the specified resource.
Declaration
[JsonProperty("pendingInvitation")]
public virtual bool? PendingInvitation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Role
Required. Specifies the role that this admin uses with the specified Account or Location.
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
| Type | Description |
|---|---|
| string |