Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTaskMetadataAdmin

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb

Overview

Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoTaskMetadataAdmin

Returns a new instance of EnterpriseCrmEventbusProtoTaskMetadataAdmin.



3034
3035
3036
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3034

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#google_group_emailString

Corresponds to the JSON property googleGroupEmail

Returns:

  • (String)


3027
3028
3029
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3027

def google_group_email
  @google_group_email
end

#user_emailString

Corresponds to the JSON property userEmail

Returns:

  • (String)


3032
3033
3034
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3032

def user_email
  @user_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3039
3040
3041
3042
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3039

def update!(**args)
  @google_group_email = args[:google_group_email] if args.key?(:google_group_email)
  @user_email = args[:user_email] if args.key?(:user_email)
end