Integration Connectors v1 API - Class RoleGrant (1.0.0)

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.

Inheritance

object > RoleGrant

Namespace

Google.Cloud.Connectors.V1

Assembly

Google.Cloud.Connectors.V1.dll

Constructors

RoleGrant()

public RoleGrant()

RoleGrant(RoleGrant)

public RoleGrant(RoleGrant other)
Parameter
NameDescription
otherRoleGrant

Properties

HelperTextTemplate

public string HelperTextTemplate { get; set; }

Template that UI can use to provide helper text to customers.

Property Value
TypeDescription
string

Principal

public RoleGrant.Types.Principal Principal { get; set; }

Prinicipal/Identity for whom the role need to assigned.

Property Value
TypeDescription
RoleGrantTypesPrincipal

Resource

public RoleGrant.Types.Resource Resource { get; set; }

Resource on which the roles needs to be granted for the principal.

Property Value
TypeDescription
RoleGrantTypesResource

Roles

public RepeatedField<string> Roles { get; }

List of roles that need to be granted.

Property Value
TypeDescription
RepeatedFieldstring