SourceOptionsBuckets

public struct SourceOptionsBuckets : Codable, Equatable

Object defining a cloud object store bucket to crawl.

  • The name of the cloud object store bucket to crawl.

    Declaration

    Swift

    public var name: String
  • The number of documents to crawl from this cloud object store bucket. If not specified, all documents in the bucket are crawled.

    Declaration

    Swift

    public var limit: Int?
  • Initialize a SourceOptionsBuckets with member variables.

    Declaration

    Swift

    public init(
        name: String,
        limit: Int? = nil
    )

    Parameters

    name

    The name of the cloud object store bucket to crawl.

    limit

    The number of documents to crawl from this cloud object store bucket. If not specified, all documents in the bucket are crawled.

    Return Value

    An initialized SourceOptionsBuckets.