Class RoleGrant
This configuration defines all the Cloud IAM roles that needs to be granted to a particular Google Cloud resource for the selected principal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a 'grant' button to do the same on behalf of the user.
Implements
Inherited Members
Namespace: Google.Apis.Connectors.v1.Data
Assembly: Google.Apis.Connectors.v1.dll
Syntax
public class RoleGrant : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HelperTextTemplate
Optional. Template that UI can use to provide helper text to customers.
Declaration
[JsonProperty("helperTextTemplate")]
public virtual string HelperTextTemplate { get; set; }
Property Value
Type | Description |
---|---|
string |
Principal
Optional. Principal/Identity for whom the role need to assigned.
Declaration
[JsonProperty("principal")]
public virtual string Principal { get; set; }
Property Value
Type | Description |
---|---|
string |
Resource
Optional. Resource on which the roles needs to be granted for the principal.
Declaration
[JsonProperty("resource")]
public virtual Resource Resource { get; set; }
Property Value
Type | Description |
---|---|
Resource |
Roles
Optional. List of roles that need to be granted.
Declaration
[JsonProperty("roles")]
public virtual IList<string> Roles { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |