Class: Google::Apis::ClouduseraccountsBeta::GroupsAddMemberRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/clouduseraccounts_beta/classes.rb,
generated/google/apis/clouduseraccounts_beta/representations.rb,
generated/google/apis/clouduseraccounts_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GroupsAddMemberRequest

Returns a new instance of GroupsAddMemberRequest



162
163
164
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 162

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

Instance Attribute Details

#usersArray<String>

Fully-qualified URLs of the User resources to add. Corresponds to the JSON property users

Returns:

  • (Array<String>)


160
161
162
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 160

def users
  @users
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



167
168
169
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 167

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