Class: Google::Apis::AndroidenterpriseV1::ListCollectionViewersResponse

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

Overview

The user resources for the collection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListCollectionViewersResponse

Returns a new instance of ListCollectionViewersResponse.


452
453
454
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 452

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " androidenterprise#collectionViewersListResponse". Corresponds to the JSON property kind

Returns:

  • (String)

445
446
447
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 445

def kind
  @kind
end

#userArray<Google::Apis::AndroidenterpriseV1::User>

A user of an enterprise. Corresponds to the JSON property user


450
451
452
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 450

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


457
458
459
460
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 457

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