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.
44 45 46 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 44 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
32 33 34 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 32 def groups_count @groups_count end |
#scope ⇒ String
The scope to which the content was shared.
Corresponds to the JSON property scope
37 38 39 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 37 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
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 |