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.



24758
24759
24760
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 24758

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

Instance Attribute Details

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

Readers of the document. Corresponds to the JSON property readers



24756
24757
24758
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 24756

def readers
  @readers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24763
24764
24765
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 24763

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