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.



23878
23879
23880
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 23878

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

Instance Attribute Details

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

Readers of the document. Corresponds to the JSON property readers



23876
23877
23878
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 23876

def readers
  @readers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23883
23884
23885
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 23883

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