public sealed class RoleGrant : IMessage<RoleGrant>, IEquatable<RoleGrant>, IDeepCloneable<RoleGrant>, IBufferMessage, IMessage
Reference documentation and code samples for the Integration Connectors v1 API class RoleGrant.
This configuration defines all the Cloud IAM roles that needs to be granted to a particular GCP resource for the selected prinicpal 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
IMessageRoleGrant, IEquatableRoleGrant, IDeepCloneableRoleGrant, IBufferMessage, IMessageNamespace
Google.Cloud.Connectors.V1Assembly
Google.Cloud.Connectors.V1.dll
Constructors
RoleGrant()
public RoleGrant()
RoleGrant(RoleGrant)
public RoleGrant(RoleGrant other)
Parameter | |
---|---|
Name | Description |
other | RoleGrant |
Properties
HelperTextTemplate
public string HelperTextTemplate { get; set; }
Template that UI can use to provide helper text to customers.
Property Value | |
---|---|
Type | Description |
string |
Principal
public RoleGrant.Types.Principal Principal { get; set; }
Prinicipal/Identity for whom the role need to assigned.
Property Value | |
---|---|
Type | Description |
RoleGrantTypesPrincipal |
Resource
public RoleGrant.Types.Resource Resource { get; set; }
Resource on which the roles needs to be granted for the principal.
Property Value | |
---|---|
Type | Description |
RoleGrantTypesResource |
Roles
public RepeatedField<string> Roles { get; }
List of roles that need to be granted.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |