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.



24082
24083
24084
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 24082

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

Instance Attribute Details

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

Readers of the document. Corresponds to the JSON property readers



24080
24081
24082
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 24080

def readers
  @readers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24087
24088
24089
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 24087

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