Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfo

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

Overview

ACL Information of the Document.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaDocumentAclInfo

Returns a new instance of GoogleCloudDiscoveryengineV1betaDocumentAclInfo.



24894
24895
24896
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 24894

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

Instance Attribute Details

#readersArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction>

Readers of the document. Corresponds to the JSON property readers



24892
24893
24894
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 24892

def readers
  @readers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24899
24900
24901
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 24899

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