Class: Google::Apis::CloudsearchV1::AclInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AclInfo
- 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
-
#groups_count ⇒ Fixnum
Number of groups which have at least read access to the document.
-
#scope ⇒ String
The scope to which the content was shared.
-
#users_count ⇒ Fixnum
Number of users which have at least read access to the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AclInfo
constructor
A new instance of AclInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_count ⇒ Fixnum
Number of groups which have at least read access to the document.
Corresponds to the JSON property groupsCount
167 168 169 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 167 def groups_count @groups_count end |
#scope ⇒ String
The scope to which the content was shared.
Corresponds to the JSON property scope
172 173 174 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 172 def scope @scope end |
#users_count ⇒ Fixnum
Number of users which have at least read access to the document.
Corresponds to the JSON property usersCount
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 |