Connectors V1 API - Class Google::Cloud::Connectors::V1::RoleGrant (v0.1.1)

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
Returns
  • (::String) — Template that UI can use to provide helper text to customers.

#helper_text_template=

def helper_text_template=(value) -> ::String
Parameter
  • value (::String) — Template that UI can use to provide helper text to customers.
Returns
  • (::String) — Template that UI can use to provide helper text to customers.

#principal

def principal() -> ::Google::Cloud::Connectors::V1::RoleGrant::Principal
Returns

#principal=

def principal=(value) -> ::Google::Cloud::Connectors::V1::RoleGrant::Principal
Parameter
Returns

#resource

def resource() -> ::Google::Cloud::Connectors::V1::RoleGrant::Resource
Returns

#resource=

def resource=(value) -> ::Google::Cloud::Connectors::V1::RoleGrant::Resource
Parameter
Returns

#roles

def roles() -> ::Array<::String>
Returns
  • (::Array<::String>) — List of roles that need to be granted.

#roles=

def roles=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — List of roles that need to be granted.
Returns
  • (::Array<::String>) — List of roles that need to be granted.