Reference documentation and code samples for the Connectors V1 API class Google::Cloud::Connectors::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#helper_text_template
def helper_text_template() -> ::String
- (::String) — Template that UI can use to provide helper text to customers.
#helper_text_template=
def helper_text_template=(value) -> ::String
- value (::String) — Template that UI can use to provide helper text to customers.
- (::String) — Template that UI can use to provide helper text to customers.
#principal
def principal() -> ::Google::Cloud::Connectors::V1::RoleGrant::Principal
- (::Google::Cloud::Connectors::V1::RoleGrant::Principal) — Prinicipal/Identity for whom the role need to assigned.
#principal=
def principal=(value) -> ::Google::Cloud::Connectors::V1::RoleGrant::Principal
- value (::Google::Cloud::Connectors::V1::RoleGrant::Principal) — Prinicipal/Identity for whom the role need to assigned.
- (::Google::Cloud::Connectors::V1::RoleGrant::Principal) — Prinicipal/Identity for whom the role need to assigned.
#resource
def resource() -> ::Google::Cloud::Connectors::V1::RoleGrant::Resource
- (::Google::Cloud::Connectors::V1::RoleGrant::Resource) — Resource on which the roles needs to be granted for the principal.
#resource=
def resource=(value) -> ::Google::Cloud::Connectors::V1::RoleGrant::Resource
- value (::Google::Cloud::Connectors::V1::RoleGrant::Resource) — Resource on which the roles needs to be granted for the principal.
- (::Google::Cloud::Connectors::V1::RoleGrant::Resource) — Resource on which the roles needs to be granted for the principal.
#roles
def roles() -> ::Array<::String>
- (::Array<::String>) — List of roles that need to be granted.
#roles=
def roles=(value) -> ::Array<::String>
- value (::Array<::String>) — List of roles that need to be granted.
- (::Array<::String>) — List of roles that need to be granted.