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.



179
180
181
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 179

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)


167
168
169
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 167

def groups_count
  @groups_count
end

#scopeString

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

Returns:

  • (String)


172
173
174
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 172

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)


177
178
179
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 177

def users_count
  @users_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



184
185
186
187
188
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 184

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