GoogleApi.MyBusinessAccountManagement.V1.Model.Admin (google_api_my_business_account_management v0.4.1)
View SourceAn administrator of an Account or a location.
Attributes
-
account
(type:String.t
, default:nil
) - 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 andadmin
are set onCREATE
requests, this field takes precedence and the email address inadmin
will be ignored. Format:accounts/{account}
. -
admin
(type:String.t
, default:nil
) - Optional. The name of the admin. When making the initial invitation, this is the invitee's email address. OnGET
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. -
name
(type:String.t
, default:nil
) - 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. -
pendingInvitation
(type:boolean()
, default:nil
) - Output only. Indicates whether this admin has a pending invitation for the specified resource. -
role
(type:String.t
, default:nil
) - Required. Specifies the role that this admin uses with the specified Account or Location.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.