Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::ListDocumentsRequest.
Request message for DocumentService.ListDocuments method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#page_size
def page_size() -> ::Integer-
(::Integer) — Maximum number of Documents to
return. If unspecified, defaults to 100. The maximum allowed value is 1000.
Values above 1000 are set to 1000.
If this field is negative, an
INVALID_ARGUMENTerror is returned.
#page_size=
def page_size=(value) -> ::Integer-
value (::Integer) — Maximum number of Documents to
return. If unspecified, defaults to 100. The maximum allowed value is 1000.
Values above 1000 are set to 1000.
If this field is negative, an
INVALID_ARGUMENTerror is returned.
-
(::Integer) — Maximum number of Documents to
return. If unspecified, defaults to 100. The maximum allowed value is 1000.
Values above 1000 are set to 1000.
If this field is negative, an
INVALID_ARGUMENTerror is returned.
#page_token
def page_token() -> ::String-
(::String) — A page token
ListDocumentsResponse.next_page_token,
received from a previous
DocumentService.ListDocuments
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an
INVALID_ARGUMENTerror is returned.
#page_token=
def page_token=(value) -> ::String-
value (::String) — A page token
ListDocumentsResponse.next_page_token,
received from a previous
DocumentService.ListDocuments
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an
INVALID_ARGUMENTerror is returned.
-
(::String) — A page token
ListDocumentsResponse.next_page_token,
received from a previous
DocumentService.ListDocuments
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an
INVALID_ARGUMENTerror is returned.
#parent
def parent() -> ::String-
(::String) — Required. The parent branch resource name, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}. Usedefault_branchas the branch ID, to list documents under the default branch.If the caller does not have permission to list Documents under this branch, regardless of whether or not this branch exists, a
PERMISSION_DENIEDerror is returned.
#parent=
def parent=(value) -> ::String-
value (::String) — Required. The parent branch resource name, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}. Usedefault_branchas the branch ID, to list documents under the default branch.If the caller does not have permission to list Documents under this branch, regardless of whether or not this branch exists, a
PERMISSION_DENIEDerror is returned.
-
(::String) — Required. The parent branch resource name, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}. Usedefault_branchas the branch ID, to list documents under the default branch.If the caller does not have permission to list Documents under this branch, regardless of whether or not this branch exists, a
PERMISSION_DENIEDerror is returned.