Integration Connectors v1 API - Class RoleGrant (1.4.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
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
RoleGrant Types Principal

Resource

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

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

Property Value
Type Description
RoleGrant Types Resource

Roles

public RepeatedField<string> Roles { get; }

List of roles that need to be granted.

Property Value
Type Description
RepeatedField string

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.