Class: Google::Apis::CloudsearchV1::AclInfo

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

Overview

Next tag: 4

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AclInfo

Returns a new instance of AclInfo.



44
45
46
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 44

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

Instance Attribute Details

#groups_countFixnum

Number of groups which have at least read access to the document. Corresponds to the JSON property groupsCount

Returns:

  • (Fixnum)


32
33
34
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 32

def groups_count
  @groups_count
end

#scopeString

The scope to which the content was shared. Corresponds to the JSON property scope

Returns:

  • (String)


37
38
39
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 37

def scope
  @scope
end

#users_countFixnum

Number of users which have at least read access to the document. Corresponds to the JSON property usersCount

Returns:

  • (Fixnum)


42
43
44
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 42

def users_count
  @users_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



49
50
51
52
53
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 49

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