google_api_iam v0.2.0 GoogleApi.IAM.V1.Model.ServiceAccount View Source
A service account in the Identity and Access Management API. To create a service account, specify the `project_id` and the `account_id` for the account. The `account_id` is unique within the project, and is used to generate the service account email address and a stable `unique_id`. If the account already exists, the account's resource name is returned in the format of projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. The caller can use the name in other methods to access the account. All other methods can identify the service account using the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.
Attributes
- displayName (String.t): Optional. A user-specified name for the service account. Must be less than or equal to 100 UTF-8 bytes. Defaults to:
null
. - email (String.t): @OutputOnly The email address of the service account. Defaults to:
null
. - etag (binary()): Optional. Note: `etag` is an inoperable legacy field that is only returned for backwards compatibility. Defaults to:
null
. - name (String.t): The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Requests using `-` as a wildcard for the `PROJECT_ID` will infer the project from the `account` and the `ACCOUNT` value can be the `email` address or the `unique_id` of the service account. In responses the resource name will always be in the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Defaults to:
null
. - oauth2ClientId (String.t): @OutputOnly The OAuth2 client id for the service account. This is used in conjunction with the OAuth2 clientconfig API to make three legged OAuth2 (3LO) flows to access the data of Google users. Defaults to:
null
. - projectId (String.t): @OutputOnly The id of the project that owns the service account. Defaults to:
null
. - uniqueId (String.t): @OutputOnly The unique and stable id of the service account. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this section Functions
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.