Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentAclInfo

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

Overview

ACL Information of the Document.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDocumentAclInfo

Returns a new instance of GoogleCloudDiscoveryengineV1alphaDocumentAclInfo.



5948
5949
5950
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5948

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

Instance Attribute Details

#readersArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction>

Readers of the document. Corresponds to the JSON property readers



5946
5947
5948
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5946

def readers
  @readers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5953
5954
5955
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5953

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