...

Package generativeaidata

import "github.com/oracle/oci-go-sdk/generativeaidata"
Overview
Index

Overview ▾

Index ▾

func GetDatabaseObjectTypeEnumStringValues() []string
func GetEnrichmentJobTypeEnumStringValues() []string
func GetJobOutputLocationEnumStringValues() []string
func GetLifecycleStateEnumStringValues() []string
func GetListEnrichmentJobsLifecycleStateEnumStringValues() []string
func GetListEnrichmentJobsSortByEnumStringValues() []string
func GetListEnrichmentJobsSortOrderEnumStringValues() []string
func GetSortOrdersEnumStringValues() []string
type CancelEnrichmentJobClient
    func NewCancelEnrichmentJobClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CancelEnrichmentJobClient, err error)
    func NewCancelEnrichmentJobClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CancelEnrichmentJobClient, err error)
    func (client CancelEnrichmentJobClient) CancelEnrichmentJob(ctx context.Context, request CancelEnrichmentJobRequest) (response CancelEnrichmentJobResponse, err error)
    func (client *CancelEnrichmentJobClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client *CancelEnrichmentJobClient) SetRegion(region string)
type CancelEnrichmentJobRequest
    func (request CancelEnrichmentJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelEnrichmentJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelEnrichmentJobRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelEnrichmentJobRequest) String() string
    func (request CancelEnrichmentJobRequest) ValidateEnumValue() (bool, error)
type CancelEnrichmentJobResponse
    func (response CancelEnrichmentJobResponse) HTTPResponse() *http.Response
    func (response CancelEnrichmentJobResponse) String() string
type DatabaseObject
    func (m DatabaseObject) String() string
    func (m DatabaseObject) ValidateEnumValue() (bool, error)
type DatabaseObjectTypeEnum
    func GetDatabaseObjectTypeEnumValues() []DatabaseObjectTypeEnum
    func GetMappingDatabaseObjectTypeEnum(val string) (DatabaseObjectTypeEnum, bool)
type DeltaRefreshEnrichmentJobConfiguration
    func (m DeltaRefreshEnrichmentJobConfiguration) MarshalJSON() (buff []byte, e error)
    func (m DeltaRefreshEnrichmentJobConfiguration) String() string
    func (m DeltaRefreshEnrichmentJobConfiguration) ValidateEnumValue() (bool, error)
type EnrichmentJob
    func (m EnrichmentJob) String() string
    func (m *EnrichmentJob) UnmarshalJSON(data []byte) (e error)
    func (m EnrichmentJob) ValidateEnumValue() (bool, error)
type EnrichmentJobCollection
    func (m EnrichmentJobCollection) String() string
    func (m EnrichmentJobCollection) ValidateEnumValue() (bool, error)
type EnrichmentJobConfiguration
type EnrichmentJobSummary
    func (m EnrichmentJobSummary) String() string
    func (m EnrichmentJobSummary) ValidateEnumValue() (bool, error)
type EnrichmentJobTypeEnum
    func GetEnrichmentJobTypeEnumValues() []EnrichmentJobTypeEnum
    func GetMappingEnrichmentJobTypeEnum(val string) (EnrichmentJobTypeEnum, bool)
type FullBuildEnrichmentJobConfiguration
    func (m FullBuildEnrichmentJobConfiguration) MarshalJSON() (buff []byte, e error)
    func (m FullBuildEnrichmentJobConfiguration) String() string
    func (m FullBuildEnrichmentJobConfiguration) ValidateEnumValue() (bool, error)
type GenerateEnrichmentJobClient
    func NewGenerateEnrichmentJobClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client GenerateEnrichmentJobClient, err error)
    func NewGenerateEnrichmentJobClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client GenerateEnrichmentJobClient, err error)
    func (client *GenerateEnrichmentJobClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client GenerateEnrichmentJobClient) GenerateEnrichmentJob(ctx context.Context, request GenerateEnrichmentJobRequest) (response GenerateEnrichmentJobResponse, err error)
    func (client *GenerateEnrichmentJobClient) SetRegion(region string)
type GenerateEnrichmentJobDetails
    func (m GenerateEnrichmentJobDetails) String() string
    func (m *GenerateEnrichmentJobDetails) UnmarshalJSON(data []byte) (e error)
    func (m GenerateEnrichmentJobDetails) ValidateEnumValue() (bool, error)
type GenerateEnrichmentJobRequest
    func (request GenerateEnrichmentJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GenerateEnrichmentJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GenerateEnrichmentJobRequest) RetryPolicy() *common.RetryPolicy
    func (request GenerateEnrichmentJobRequest) String() string
    func (request GenerateEnrichmentJobRequest) ValidateEnumValue() (bool, error)
type GenerateEnrichmentJobResponse
    func (response GenerateEnrichmentJobResponse) HTTPResponse() *http.Response
    func (response GenerateEnrichmentJobResponse) String() string
type GenerateSqlFromNlDetails
    func (m GenerateSqlFromNlDetails) String() string
    func (m GenerateSqlFromNlDetails) ValidateEnumValue() (bool, error)
type GenerateSqlFromNlJob
    func (m GenerateSqlFromNlJob) String() string
    func (m *GenerateSqlFromNlJob) UnmarshalJSON(data []byte) (e error)
    func (m GenerateSqlFromNlJob) ValidateEnumValue() (bool, error)
type GenerateSqlFromNlJobClient
    func NewGenerateSqlFromNlJobClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client GenerateSqlFromNlJobClient, err error)
    func NewGenerateSqlFromNlJobClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client GenerateSqlFromNlJobClient, err error)
    func (client *GenerateSqlFromNlJobClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client GenerateSqlFromNlJobClient) GenerateSqlFromNl(ctx context.Context, request GenerateSqlFromNlRequest) (response GenerateSqlFromNlResponse, err error)
    func (client *GenerateSqlFromNlJobClient) SetRegion(region string)
type GenerateSqlFromNlRequest
    func (request GenerateSqlFromNlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GenerateSqlFromNlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GenerateSqlFromNlRequest) RetryPolicy() *common.RetryPolicy
    func (request GenerateSqlFromNlRequest) String() string
    func (request GenerateSqlFromNlRequest) ValidateEnumValue() (bool, error)
type GenerateSqlFromNlResponse
    func (response GenerateSqlFromNlResponse) HTTPResponse() *http.Response
    func (response GenerateSqlFromNlResponse) String() string
type GetEnrichmentJobClient
    func NewGetEnrichmentJobClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client GetEnrichmentJobClient, err error)
    func NewGetEnrichmentJobClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client GetEnrichmentJobClient, err error)
    func (client *GetEnrichmentJobClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client GetEnrichmentJobClient) GetEnrichmentJob(ctx context.Context, request GetEnrichmentJobRequest) (response GetEnrichmentJobResponse, err error)
    func (client *GetEnrichmentJobClient) SetRegion(region string)
type GetEnrichmentJobRequest
    func (request GetEnrichmentJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetEnrichmentJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetEnrichmentJobRequest) RetryPolicy() *common.RetryPolicy
    func (request GetEnrichmentJobRequest) String() string
    func (request GetEnrichmentJobRequest) ValidateEnumValue() (bool, error)
type GetEnrichmentJobResponse
    func (response GetEnrichmentJobResponse) HTTPResponse() *http.Response
    func (response GetEnrichmentJobResponse) String() string
type InlineJobOutput
    func (m InlineJobOutput) MarshalJSON() (buff []byte, e error)
    func (m InlineJobOutput) String() string
    func (m InlineJobOutput) ValidateEnumValue() (bool, error)
type JobOutput
type JobOutputLocationEnum
    func GetJobOutputLocationEnumValues() []JobOutputLocationEnum
    func GetMappingJobOutputLocationEnum(val string) (JobOutputLocationEnum, bool)
type LifecycleStateEnum
    func GetLifecycleStateEnumValues() []LifecycleStateEnum
    func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
type ListEnrichmentJobsClient
    func NewListEnrichmentJobsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ListEnrichmentJobsClient, err error)
    func NewListEnrichmentJobsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ListEnrichmentJobsClient, err error)
    func (client *ListEnrichmentJobsClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client ListEnrichmentJobsClient) ListEnrichmentJobs(ctx context.Context, request ListEnrichmentJobsRequest) (response ListEnrichmentJobsResponse, err error)
    func (client *ListEnrichmentJobsClient) SetRegion(region string)
type ListEnrichmentJobsLifecycleStateEnum
    func GetListEnrichmentJobsLifecycleStateEnumValues() []ListEnrichmentJobsLifecycleStateEnum
    func GetMappingListEnrichmentJobsLifecycleStateEnum(val string) (ListEnrichmentJobsLifecycleStateEnum, bool)
type ListEnrichmentJobsRequest
    func (request ListEnrichmentJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListEnrichmentJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListEnrichmentJobsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListEnrichmentJobsRequest) String() string
    func (request ListEnrichmentJobsRequest) ValidateEnumValue() (bool, error)
type ListEnrichmentJobsResponse
    func (response ListEnrichmentJobsResponse) HTTPResponse() *http.Response
    func (response ListEnrichmentJobsResponse) String() string
type ListEnrichmentJobsSortByEnum
    func GetListEnrichmentJobsSortByEnumValues() []ListEnrichmentJobsSortByEnum
    func GetMappingListEnrichmentJobsSortByEnum(val string) (ListEnrichmentJobsSortByEnum, bool)
type ListEnrichmentJobsSortOrderEnum
    func GetListEnrichmentJobsSortOrderEnumValues() []ListEnrichmentJobsSortOrderEnum
    func GetMappingListEnrichmentJobsSortOrderEnum(val string) (ListEnrichmentJobsSortOrderEnum, bool)
type PartialBuildEnrichmentJobConfiguration
    func (m PartialBuildEnrichmentJobConfiguration) MarshalJSON() (buff []byte, e error)
    func (m PartialBuildEnrichmentJobConfiguration) String() string
    func (m PartialBuildEnrichmentJobConfiguration) ValidateEnumValue() (bool, error)
type SortOrdersEnum
    func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)
    func GetSortOrdersEnumValues() []SortOrdersEnum

Package files

cancel_enrichment_job_request_response.go database_object.go delta_refresh_enrichment_job_configuration.go enrichment_job.go enrichment_job_collection.go enrichment_job_configuration.go enrichment_job_summary.go enrichment_job_type.go full_build_enrichment_job_configuration.go generate_enrichment_job_details.go generate_enrichment_job_request_response.go generate_sql_from_nl_details.go generate_sql_from_nl_job.go generate_sql_from_nl_request_response.go generativeaidata_cancelenrichmentjob_client.go generativeaidata_generateenrichmentjob_client.go generativeaidata_generatesqlfromnljob_client.go generativeaidata_getenrichmentjob_client.go generativeaidata_listenrichmentjobs_client.go get_enrichment_job_request_response.go inline_job_output.go job_output.go job_output_location.go lifecycle_state.go list_enrichment_jobs_request_response.go partial_build_enrichment_job_configuration.go sort_orders.go

func GetDatabaseObjectTypeEnumStringValues

func GetDatabaseObjectTypeEnumStringValues() []string

GetDatabaseObjectTypeEnumStringValues Enumerates the set of values in String for DatabaseObjectTypeEnum

func GetEnrichmentJobTypeEnumStringValues

func GetEnrichmentJobTypeEnumStringValues() []string

GetEnrichmentJobTypeEnumStringValues Enumerates the set of values in String for EnrichmentJobTypeEnum

func GetJobOutputLocationEnumStringValues

func GetJobOutputLocationEnumStringValues() []string

GetJobOutputLocationEnumStringValues Enumerates the set of values in String for JobOutputLocationEnum

func GetLifecycleStateEnumStringValues

func GetLifecycleStateEnumStringValues() []string

GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum

func GetListEnrichmentJobsLifecycleStateEnumStringValues

func GetListEnrichmentJobsLifecycleStateEnumStringValues() []string

GetListEnrichmentJobsLifecycleStateEnumStringValues Enumerates the set of values in String for ListEnrichmentJobsLifecycleStateEnum

func GetListEnrichmentJobsSortByEnumStringValues

func GetListEnrichmentJobsSortByEnumStringValues() []string

GetListEnrichmentJobsSortByEnumStringValues Enumerates the set of values in String for ListEnrichmentJobsSortByEnum

func GetListEnrichmentJobsSortOrderEnumStringValues

func GetListEnrichmentJobsSortOrderEnumStringValues() []string

GetListEnrichmentJobsSortOrderEnumStringValues Enumerates the set of values in String for ListEnrichmentJobsSortOrderEnum

func GetSortOrdersEnumStringValues

func GetSortOrdersEnumStringValues() []string

GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum

type CancelEnrichmentJobClient

CancelEnrichmentJobClient a client for CancelEnrichmentJob

type CancelEnrichmentJobClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewCancelEnrichmentJobClientWithConfigurationProvider

func NewCancelEnrichmentJobClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CancelEnrichmentJobClient, err error)

NewCancelEnrichmentJobClientWithConfigurationProvider Creates a new default CancelEnrichmentJob client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewCancelEnrichmentJobClientWithOboToken

func NewCancelEnrichmentJobClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CancelEnrichmentJobClient, err error)

NewCancelEnrichmentJobClientWithOboToken Creates a new default CancelEnrichmentJob client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (CancelEnrichmentJobClient) CancelEnrichmentJob

func (client CancelEnrichmentJobClient) CancelEnrichmentJob(ctx context.Context, request CancelEnrichmentJobRequest) (response CancelEnrichmentJobResponse, err error)

CancelEnrichmentJob Cancels an EnrichmentJob resource by identifier.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaidata/CancelEnrichmentJob.go.html to see an example of how to use CancelEnrichmentJob API. A default retry strategy applies to this operation CancelEnrichmentJob()

func (*CancelEnrichmentJobClient) ConfigurationProvider

func (client *CancelEnrichmentJobClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (*CancelEnrichmentJobClient) SetRegion

func (client *CancelEnrichmentJobClient) SetRegion(region string)

SetRegion overrides the region of this client.

type CancelEnrichmentJobRequest

CancelEnrichmentJobRequest wrapper for the CancelEnrichmentJob operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaidata/CancelEnrichmentJob.go.html to see an example of how to use CancelEnrichmentJobRequest.

type CancelEnrichmentJobRequest struct {

    // The OCID of the semantic store
    SemanticStoreId *string `mandatory:"true" contributesTo:"path" name:"semanticStoreId"`

    // The OCID of the enrichment job
    EnrichmentJobId *string `mandatory:"true" contributesTo:"path" name:"enrichmentJobId"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CancelEnrichmentJobRequest) BinaryRequestBody

func (request CancelEnrichmentJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CancelEnrichmentJobRequest) HTTPRequest

func (request CancelEnrichmentJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelEnrichmentJobRequest) RetryPolicy

func (request CancelEnrichmentJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CancelEnrichmentJobRequest) String

func (request CancelEnrichmentJobRequest) String() string

func (CancelEnrichmentJobRequest) ValidateEnumValue

func (request CancelEnrichmentJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelEnrichmentJobResponse

CancelEnrichmentJobResponse wrapper for the CancelEnrichmentJob operation

type CancelEnrichmentJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (CancelEnrichmentJobResponse) HTTPResponse

func (response CancelEnrichmentJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CancelEnrichmentJobResponse) String

func (response CancelEnrichmentJobResponse) String() string

type DatabaseObject

DatabaseObject The type of database object

type DatabaseObject struct {

    // The type of the database object (e.g., table, view, procedure).
    Type DatabaseObjectTypeEnum `mandatory:"true" json:"type"`

    // The fully qualified name of the database object.
    Name *string `mandatory:"true" json:"name"`

    // An optional description of the DatabaseObject.
    Description *string `mandatory:"false" json:"description"`
}

func (DatabaseObject) String

func (m DatabaseObject) String() string

func (DatabaseObject) ValidateEnumValue

func (m DatabaseObject) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DatabaseObjectTypeEnum

DatabaseObjectTypeEnum Enum with underlying type: string

type DatabaseObjectTypeEnum string

Set of constants representing the allowable values for DatabaseObjectTypeEnum

const (
    DatabaseObjectTypeView       DatabaseObjectTypeEnum = "VIEW"
    DatabaseObjectTypeTable      DatabaseObjectTypeEnum = "TABLE"
    DatabaseObjectTypeAnnotation DatabaseObjectTypeEnum = "ANNOTATION"
    DatabaseObjectTypeComment    DatabaseObjectTypeEnum = "COMMENT"
)

func GetDatabaseObjectTypeEnumValues

func GetDatabaseObjectTypeEnumValues() []DatabaseObjectTypeEnum

GetDatabaseObjectTypeEnumValues Enumerates the set of values for DatabaseObjectTypeEnum

func GetMappingDatabaseObjectTypeEnum

func GetMappingDatabaseObjectTypeEnum(val string) (DatabaseObjectTypeEnum, bool)

GetMappingDatabaseObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DeltaRefreshEnrichmentJobConfiguration

DeltaRefreshEnrichmentJobConfiguration A DeltaRefreshEnrichmentJobConfiguration is an EnrichmentJobConfiguration [indicated by the first item under `allOf`, which is a reference to EnrichmentJobConfiguration] that describes the database schema that will be the scope of the enrichment job and the schedule on which the job will run. As distinguished by enrichmentJobType [with specific characteristics defined by the second item under `allOf`].

type DeltaRefreshEnrichmentJobConfiguration struct {

    // Name of the DB Schema to be enriched
    SchemaName *string `mandatory:"true" json:"schemaName"`

    // Schedule for occurrences of Delta Refresh jobs
    DeltaRefreshSchedule *interface{} `mandatory:"true" json:"deltaRefreshSchedule"`
}

func (DeltaRefreshEnrichmentJobConfiguration) MarshalJSON

func (m DeltaRefreshEnrichmentJobConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DeltaRefreshEnrichmentJobConfiguration) String

func (m DeltaRefreshEnrichmentJobConfiguration) String() string

func (DeltaRefreshEnrichmentJobConfiguration) ValidateEnumValue

func (m DeltaRefreshEnrichmentJobConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EnrichmentJob

EnrichmentJob Object representing to EnrichmentJob. ocidEntityType: generativeaiEnrichmentJob adLocality: regional

type EnrichmentJob struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // Owning SemanticStore OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for an EnrichmentJob.
    SemanticStoreId *string `mandatory:"true" json:"semanticStoreId"`

    // Enrichment job type. Currently supported Full Build (All supported objects in a given schema) and Partial Build (Selected tables and/or supported objects in a given schema).
    EnrichmentJobType EnrichmentJobTypeEnum `mandatory:"true" json:"enrichmentJobType"`

    EnrichmentJobConfiguration EnrichmentJobConfiguration `mandatory:"true" json:"enrichmentJobConfiguration"`

    // The date and time that the enrichment job was accepted in the format of an RFC3339 datetime string.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // A message describing the current state in more detail that can provide actionable information.
    LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`

    // The lifecycleState of GenerateSqlJob.
    LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // An optional description of the EnrichmentJob.
    Description *string `mandatory:"false" json:"description"`

    // A user-friendly display name. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The date and time that the enrichment job was started in the format of an RFC3339 datetime string.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time that the enrichment job was finished in the format of an RFC3339 datetime string.
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // The percentage of the enrichment job that has been completed.
    PercentComplete *float32 `mandatory:"false" json:"percentComplete"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (EnrichmentJob) String

func (m EnrichmentJob) String() string

func (*EnrichmentJob) UnmarshalJSON

func (m *EnrichmentJob) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (EnrichmentJob) ValidateEnumValue

func (m EnrichmentJob) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EnrichmentJobCollection

EnrichmentJobCollection Object representing list of EnrichmentJobSummaries.

type EnrichmentJobCollection struct {

    // List of EnrichmentJobSummary objects.
    Items []EnrichmentJobSummary `mandatory:"true" json:"items"`
}

func (EnrichmentJobCollection) String

func (m EnrichmentJobCollection) String() string

func (EnrichmentJobCollection) ValidateEnumValue

func (m EnrichmentJobCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EnrichmentJobConfiguration

EnrichmentJobConfiguration An EnrichmentJobConfiguration describes the database objects that will be targeted by an EnrichmentJob, as described by the job's type.

type EnrichmentJobConfiguration interface {
}

type EnrichmentJobSummary

EnrichmentJobSummary Object representing EnrichmentJobSummary resource.

type EnrichmentJobSummary struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // Owning SemanticStore OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a GenerateSqlJob.
    SemanticStoreId *string `mandatory:"true" json:"semanticStoreId"`

    // Enrichment job type. Currently supported Full Build (All supported objects in a given schema) and Partial Build (Selected tables and/or supported objects in a given schema).
    EnrichmentJobType EnrichmentJobTypeEnum `mandatory:"true" json:"enrichmentJobType"`

    // The date and time that the enrichment job was accepted in the format of an RFC3339 datetime string.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The lifecycleState of GenerateSqlJob.
    LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A user-friendly display name. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (EnrichmentJobSummary) String

func (m EnrichmentJobSummary) String() string

func (EnrichmentJobSummary) ValidateEnumValue

func (m EnrichmentJobSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EnrichmentJobTypeEnum

EnrichmentJobTypeEnum Enum with underlying type: string

type EnrichmentJobTypeEnum string

Set of constants representing the allowable values for EnrichmentJobTypeEnum

const (
    EnrichmentJobTypeFullBuild    EnrichmentJobTypeEnum = "FULL_BUILD"
    EnrichmentJobTypePartialBuild EnrichmentJobTypeEnum = "PARTIAL_BUILD"
    EnrichmentJobTypeDeltaRefresh EnrichmentJobTypeEnum = "DELTA_REFRESH"
)

func GetEnrichmentJobTypeEnumValues

func GetEnrichmentJobTypeEnumValues() []EnrichmentJobTypeEnum

GetEnrichmentJobTypeEnumValues Enumerates the set of values for EnrichmentJobTypeEnum

func GetMappingEnrichmentJobTypeEnum

func GetMappingEnrichmentJobTypeEnum(val string) (EnrichmentJobTypeEnum, bool)

GetMappingEnrichmentJobTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type FullBuildEnrichmentJobConfiguration

FullBuildEnrichmentJobConfiguration A FullBuildEnrichmentJobConfiguration is an EnrichmentJobConfiguration [indicated by the first item under `allOf`, which is a reference to EnrichmentJobConfiguration] that describes the database schema that will be the scope of the enrichment job. As distinguished by enrichmentJobType [with specific characteristics defined by the second item under `allOf`].

type FullBuildEnrichmentJobConfiguration struct {

    // Name of the DB Schema to be enriched
    SchemaName *string `mandatory:"true" json:"schemaName"`
}

func (FullBuildEnrichmentJobConfiguration) MarshalJSON

func (m FullBuildEnrichmentJobConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (FullBuildEnrichmentJobConfiguration) String

func (m FullBuildEnrichmentJobConfiguration) String() string

func (FullBuildEnrichmentJobConfiguration) ValidateEnumValue

func (m FullBuildEnrichmentJobConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GenerateEnrichmentJobClient

GenerateEnrichmentJobClient a client for GenerateEnrichmentJob

type GenerateEnrichmentJobClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewGenerateEnrichmentJobClientWithConfigurationProvider

func NewGenerateEnrichmentJobClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client GenerateEnrichmentJobClient, err error)

NewGenerateEnrichmentJobClientWithConfigurationProvider Creates a new default GenerateEnrichmentJob client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewGenerateEnrichmentJobClientWithOboToken

func NewGenerateEnrichmentJobClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client GenerateEnrichmentJobClient, err error)

NewGenerateEnrichmentJobClientWithOboToken Creates a new default GenerateEnrichmentJob client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (*GenerateEnrichmentJobClient) ConfigurationProvider

func (client *GenerateEnrichmentJobClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (GenerateEnrichmentJobClient) GenerateEnrichmentJob

func (client GenerateEnrichmentJobClient) GenerateEnrichmentJob(ctx context.Context, request GenerateEnrichmentJobRequest) (response GenerateEnrichmentJobResponse, err error)

GenerateEnrichmentJob Creates a new asynchronous EnrichmentJob.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaidata/GenerateEnrichmentJob.go.html to see an example of how to use GenerateEnrichmentJob API. A default retry strategy applies to this operation GenerateEnrichmentJob()

func (*GenerateEnrichmentJobClient) SetRegion

func (client *GenerateEnrichmentJobClient) SetRegion(region string)

SetRegion overrides the region of this client.

type GenerateEnrichmentJobDetails

GenerateEnrichmentJobDetails The details required to create an EnrichmentJob.

type GenerateEnrichmentJobDetails struct {

    // Enrichment job type. Currently supported Full Build (All supported objects in a given schema) and Partial Build (Selected tables and/or supported objects in a given schema).
    EnrichmentJobType EnrichmentJobTypeEnum `mandatory:"true" json:"enrichmentJobType"`

    EnrichmentJobConfiguration EnrichmentJobConfiguration `mandatory:"true" json:"enrichmentJobConfiguration"`

    // An optional description of the EnrichmentJob.
    Description *string `mandatory:"false" json:"description"`

    // A user-friendly display name. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (GenerateEnrichmentJobDetails) String

func (m GenerateEnrichmentJobDetails) String() string

func (*GenerateEnrichmentJobDetails) UnmarshalJSON

func (m *GenerateEnrichmentJobDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (GenerateEnrichmentJobDetails) ValidateEnumValue

func (m GenerateEnrichmentJobDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GenerateEnrichmentJobRequest

GenerateEnrichmentJobRequest wrapper for the GenerateEnrichmentJob operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaidata/GenerateEnrichmentJob.go.html to see an example of how to use GenerateEnrichmentJobRequest.

type GenerateEnrichmentJobRequest struct {

    // Details for the new EnrichmentJob.
    GenerateEnrichmentJobDetails `contributesTo:"body"`

    // The OCID of the semantic store
    SemanticStoreId *string `mandatory:"true" contributesTo:"path" name:"semanticStoreId"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GenerateEnrichmentJobRequest) BinaryRequestBody

func (request GenerateEnrichmentJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GenerateEnrichmentJobRequest) HTTPRequest

func (request GenerateEnrichmentJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GenerateEnrichmentJobRequest) RetryPolicy

func (request GenerateEnrichmentJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GenerateEnrichmentJobRequest) String

func (request GenerateEnrichmentJobRequest) String() string

func (GenerateEnrichmentJobRequest) ValidateEnumValue

func (request GenerateEnrichmentJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GenerateEnrichmentJobResponse

GenerateEnrichmentJobResponse wrapper for the GenerateEnrichmentJob operation

type GenerateEnrichmentJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The EnrichmentJob instance
    EnrichmentJob `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (GenerateEnrichmentJobResponse) HTTPResponse

func (response GenerateEnrichmentJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GenerateEnrichmentJobResponse) String

func (response GenerateEnrichmentJobResponse) String() string

type GenerateSqlFromNlDetails

GenerateSqlFromNlDetails The data to create a GenerateSqlFromNlJob.

type GenerateSqlFromNlDetails struct {

    // A user-provided query or instruction written in plain, conversational language.
    // This input is intended to capture the user's intent, question, or command without requiring technical syntax or structured formatting.
    // The query should clearly express what the user wants to know or accomplish, allowing the system to interpret and respond appropriately.
    InputNaturalLanguageQuery *string `mandatory:"true" json:"inputNaturalLanguageQuery"`

    // An optional description of the GenerateSqlFromNlJob.
    Description *string `mandatory:"false" json:"description"`

    // A user-friendly display name. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (GenerateSqlFromNlDetails) String

func (m GenerateSqlFromNlDetails) String() string

func (GenerateSqlFromNlDetails) ValidateEnumValue

func (m GenerateSqlFromNlDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GenerateSqlFromNlJob

GenerateSqlFromNlJob Object representing to GenerateSqlFromNlJob. ocidEntityType: generativeaiGenerateSqlFromNlJob adLocality: regional

type GenerateSqlFromNlJob struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // Owning SemanticStore OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a GenerateSqlFromNlJob.
    SemanticStoreId *string `mandatory:"true" json:"semanticStoreId"`

    // The date and time that the enrichment job was accepted in the format of an RFC3339 datetime string.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The lifecycleState of GenerateSqlFromNlJob.
    LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A message describing the current state in more detail that can provide actionable information.
    LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`

    // Owning compartmentId OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a GenerateSqlFromNlJob.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // An optional description of the GenerateSqlFromNlJob.
    Description *string `mandatory:"false" json:"description"`

    // A user-friendly display name. It does not have to be unique and can be modified. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The date and time that the enrichment job was started in the format of an RFC3339 datetime string.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time that the enrichment job was finished in the format of an RFC3339 datetime string.
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // A user-provided query or instruction written in plain, conversational language.
    // This input is intended to capture the user's intent, question, or command without requiring technical syntax or structured formatting.
    // The query should clearly express what the user wants to know or accomplish, allowing the system to interpret and respond appropriately.
    InputNaturalLanguageQuery *string `mandatory:"false" json:"inputNaturalLanguageQuery"`

    JobOutput JobOutput `mandatory:"false" json:"jobOutput"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (GenerateSqlFromNlJob) String

func (m GenerateSqlFromNlJob) String() string

func (*GenerateSqlFromNlJob) UnmarshalJSON

func (m *GenerateSqlFromNlJob) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (GenerateSqlFromNlJob) ValidateEnumValue

func (m GenerateSqlFromNlJob) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GenerateSqlFromNlJobClient

GenerateSqlFromNlJobClient a client for GenerateSqlFromNlJob

type GenerateSqlFromNlJobClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewGenerateSqlFromNlJobClientWithConfigurationProvider

func NewGenerateSqlFromNlJobClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client GenerateSqlFromNlJobClient, err error)

NewGenerateSqlFromNlJobClientWithConfigurationProvider Creates a new default GenerateSqlFromNlJob client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewGenerateSqlFromNlJobClientWithOboToken

func NewGenerateSqlFromNlJobClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client GenerateSqlFromNlJobClient, err error)

NewGenerateSqlFromNlJobClientWithOboToken Creates a new default GenerateSqlFromNlJob client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (*GenerateSqlFromNlJobClient) ConfigurationProvider

func (client *GenerateSqlFromNlJobClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (GenerateSqlFromNlJobClient) GenerateSqlFromNl

func (client GenerateSqlFromNlJobClient) GenerateSqlFromNl(ctx context.Context, request GenerateSqlFromNlRequest) (response GenerateSqlFromNlResponse, err error)

GenerateSqlFromNl Generates a SQL query from a natural language input for the specified SemanticStore.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaidata/GenerateSqlFromNl.go.html to see an example of how to use GenerateSqlFromNl API. A default retry strategy applies to this operation GenerateSqlFromNl()

func (*GenerateSqlFromNlJobClient) SetRegion

func (client *GenerateSqlFromNlJobClient) SetRegion(region string)

SetRegion overrides the region of this client.

type GenerateSqlFromNlRequest

GenerateSqlFromNlRequest wrapper for the GenerateSqlFromNl operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaidata/GenerateSqlFromNl.go.html to see an example of how to use GenerateSqlFromNlRequest.

type GenerateSqlFromNlRequest struct {

    // Details for generating SQL from natural language.
    GenerateSqlFromNlDetails `contributesTo:"body"`

    // The OCID of the semantic store
    SemanticStoreId *string `mandatory:"true" contributesTo:"path" name:"semanticStoreId"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The ID of the compartment.
    OpcCompartmentId *string `mandatory:"false" contributesTo:"header" name:"opc-compartment-id"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GenerateSqlFromNlRequest) BinaryRequestBody

func (request GenerateSqlFromNlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GenerateSqlFromNlRequest) HTTPRequest

func (request GenerateSqlFromNlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GenerateSqlFromNlRequest) RetryPolicy

func (request GenerateSqlFromNlRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GenerateSqlFromNlRequest) String

func (request GenerateSqlFromNlRequest) String() string

func (GenerateSqlFromNlRequest) ValidateEnumValue

func (request GenerateSqlFromNlRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GenerateSqlFromNlResponse

GenerateSqlFromNlResponse wrapper for the GenerateSqlFromNl operation

type GenerateSqlFromNlResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The GenerateSqlFromNlJob instance
    GenerateSqlFromNlJob `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (GenerateSqlFromNlResponse) HTTPResponse

func (response GenerateSqlFromNlResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GenerateSqlFromNlResponse) String

func (response GenerateSqlFromNlResponse) String() string

type GetEnrichmentJobClient

GetEnrichmentJobClient a client for GetEnrichmentJob

type GetEnrichmentJobClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewGetEnrichmentJobClientWithConfigurationProvider

func NewGetEnrichmentJobClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client GetEnrichmentJobClient, err error)

NewGetEnrichmentJobClientWithConfigurationProvider Creates a new default GetEnrichmentJob client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewGetEnrichmentJobClientWithOboToken

func NewGetEnrichmentJobClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client GetEnrichmentJobClient, err error)

NewGetEnrichmentJobClientWithOboToken Creates a new default GetEnrichmentJob client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (*GetEnrichmentJobClient) ConfigurationProvider

func (client *GetEnrichmentJobClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (GetEnrichmentJobClient) GetEnrichmentJob

func (client GetEnrichmentJobClient) GetEnrichmentJob(ctx context.Context, request GetEnrichmentJobRequest) (response GetEnrichmentJobResponse, err error)

GetEnrichmentJob Gets an EnrichmentJob by identifier.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaidata/GetEnrichmentJob.go.html to see an example of how to use GetEnrichmentJob API. A default retry strategy applies to this operation GetEnrichmentJob()

func (*GetEnrichmentJobClient) SetRegion

func (client *GetEnrichmentJobClient) SetRegion(region string)

SetRegion overrides the region of this client.

type GetEnrichmentJobRequest

GetEnrichmentJobRequest wrapper for the GetEnrichmentJob operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaidata/GetEnrichmentJob.go.html to see an example of how to use GetEnrichmentJobRequest.

type GetEnrichmentJobRequest struct {

    // The OCID of the semantic store
    SemanticStoreId *string `mandatory:"true" contributesTo:"path" name:"semanticStoreId"`

    // The OCID of the enrichment job
    EnrichmentJobId *string `mandatory:"true" contributesTo:"path" name:"enrichmentJobId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetEnrichmentJobRequest) BinaryRequestBody

func (request GetEnrichmentJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetEnrichmentJobRequest) HTTPRequest

func (request GetEnrichmentJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetEnrichmentJobRequest) RetryPolicy

func (request GetEnrichmentJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetEnrichmentJobRequest) String

func (request GetEnrichmentJobRequest) String() string

func (GetEnrichmentJobRequest) ValidateEnumValue

func (request GetEnrichmentJobRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetEnrichmentJobResponse

GetEnrichmentJobResponse wrapper for the GetEnrichmentJob operation

type GetEnrichmentJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The EnrichmentJob instance
    EnrichmentJob `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetEnrichmentJobResponse) HTTPResponse

func (response GetEnrichmentJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetEnrichmentJobResponse) String

func (response GetEnrichmentJobResponse) String() string

type InlineJobOutput

InlineJobOutput An InlineJobOutput is a JobOutput [indicated by the first item under `allOf`, which is a reference to JobOutput] that delivers results of the GenerateSQLJob in the body of the job itself. As distinguished by jobOutputLocation [with specific characteristics defined by the second item under `allOf`].

type InlineJobOutput struct {

    // SQL statement generated from the natural language query.
    Content *string `mandatory:"true" json:"content"`
}

func (InlineJobOutput) MarshalJSON

func (m InlineJobOutput) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InlineJobOutput) String

func (m InlineJobOutput) String() string

func (InlineJobOutput) ValidateEnumValue

func (m InlineJobOutput) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type JobOutput

JobOutput A JobOutput delivers content generated by the GenerateSQLJob to a given location, which corresponds with type-specific characteristics.

type JobOutput interface {
}

type JobOutputLocationEnum

JobOutputLocationEnum Enum with underlying type: string

type JobOutputLocationEnum string

Set of constants representing the allowable values for JobOutputLocationEnum

const (
    JobOutputLocationInline JobOutputLocationEnum = "INLINE"
)

func GetJobOutputLocationEnumValues

func GetJobOutputLocationEnumValues() []JobOutputLocationEnum

GetJobOutputLocationEnumValues Enumerates the set of values for JobOutputLocationEnum

func GetMappingJobOutputLocationEnum

func GetMappingJobOutputLocationEnum(val string) (JobOutputLocationEnum, bool)

GetMappingJobOutputLocationEnum performs case Insensitive comparison on enum value and return the desired enum

type LifecycleStateEnum

LifecycleStateEnum Enum with underlying type: string

type LifecycleStateEnum string

Set of constants representing the allowable values for LifecycleStateEnum

const (
    LifecycleStateAccepted   LifecycleStateEnum = "ACCEPTED"
    LifecycleStateInProgress LifecycleStateEnum = "IN_PROGRESS"
    LifecycleStateFailed     LifecycleStateEnum = "FAILED"
    LifecycleStateSucceeded  LifecycleStateEnum = "SUCCEEDED"
    LifecycleStateCanceling  LifecycleStateEnum = "CANCELING"
    LifecycleStateCanceled   LifecycleStateEnum = "CANCELED"
)

func GetLifecycleStateEnumValues

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

func GetMappingLifecycleStateEnum

func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)

GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListEnrichmentJobsClient

ListEnrichmentJobsClient a client for ListEnrichmentJobs

type ListEnrichmentJobsClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewListEnrichmentJobsClientWithConfigurationProvider

func NewListEnrichmentJobsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ListEnrichmentJobsClient, err error)

NewListEnrichmentJobsClientWithConfigurationProvider Creates a new default ListEnrichmentJobs client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewListEnrichmentJobsClientWithOboToken

func NewListEnrichmentJobsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ListEnrichmentJobsClient, err error)

NewListEnrichmentJobsClientWithOboToken Creates a new default ListEnrichmentJobs client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (*ListEnrichmentJobsClient) ConfigurationProvider

func (client *ListEnrichmentJobsClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ListEnrichmentJobsClient) ListEnrichmentJobs

func (client ListEnrichmentJobsClient) ListEnrichmentJobs(ctx context.Context, request ListEnrichmentJobsRequest) (response ListEnrichmentJobsResponse, err error)

ListEnrichmentJobs Lists EnrichmentJobs in a semantic store.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaidata/ListEnrichmentJobs.go.html to see an example of how to use ListEnrichmentJobs API. A default retry strategy applies to this operation ListEnrichmentJobs()

func (*ListEnrichmentJobsClient) SetRegion

func (client *ListEnrichmentJobsClient) SetRegion(region string)

SetRegion overrides the region of this client.

type ListEnrichmentJobsLifecycleStateEnum

ListEnrichmentJobsLifecycleStateEnum Enum with underlying type: string

type ListEnrichmentJobsLifecycleStateEnum string

Set of constants representing the allowable values for ListEnrichmentJobsLifecycleStateEnum

const (
    ListEnrichmentJobsLifecycleStateAccepted   ListEnrichmentJobsLifecycleStateEnum = "ACCEPTED"
    ListEnrichmentJobsLifecycleStateInProgress ListEnrichmentJobsLifecycleStateEnum = "IN_PROGRESS"
    ListEnrichmentJobsLifecycleStateFailed     ListEnrichmentJobsLifecycleStateEnum = "FAILED"
    ListEnrichmentJobsLifecycleStateSucceeded  ListEnrichmentJobsLifecycleStateEnum = "SUCCEEDED"
    ListEnrichmentJobsLifecycleStateCanceling  ListEnrichmentJobsLifecycleStateEnum = "CANCELING"
    ListEnrichmentJobsLifecycleStateCanceled   ListEnrichmentJobsLifecycleStateEnum = "CANCELED"
)

func GetListEnrichmentJobsLifecycleStateEnumValues

func GetListEnrichmentJobsLifecycleStateEnumValues() []ListEnrichmentJobsLifecycleStateEnum

GetListEnrichmentJobsLifecycleStateEnumValues Enumerates the set of values for ListEnrichmentJobsLifecycleStateEnum

func GetMappingListEnrichmentJobsLifecycleStateEnum

func GetMappingListEnrichmentJobsLifecycleStateEnum(val string) (ListEnrichmentJobsLifecycleStateEnum, bool)

GetMappingListEnrichmentJobsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListEnrichmentJobsRequest

ListEnrichmentJobsRequest wrapper for the ListEnrichmentJobs operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaidata/ListEnrichmentJobs.go.html to see an example of how to use ListEnrichmentJobsRequest.

type ListEnrichmentJobsRequest struct {

    // The OCID of the semantic store
    SemanticStoreId *string `mandatory:"true" contributesTo:"path" name:"semanticStoreId"`

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // A filter to return only resources their lifecycleState matches the given lifecycleState.
    LifecycleState ListEnrichmentJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
    SortBy ListEnrichmentJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListEnrichmentJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListEnrichmentJobsRequest) BinaryRequestBody

func (request ListEnrichmentJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListEnrichmentJobsRequest) HTTPRequest

func (request ListEnrichmentJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListEnrichmentJobsRequest) RetryPolicy

func (request ListEnrichmentJobsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListEnrichmentJobsRequest) String

func (request ListEnrichmentJobsRequest) String() string

func (ListEnrichmentJobsRequest) ValidateEnumValue

func (request ListEnrichmentJobsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListEnrichmentJobsResponse

ListEnrichmentJobsResponse wrapper for the ListEnrichmentJobs operation

type ListEnrichmentJobsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of EnrichmentJobCollection instances
    EnrichmentJobCollection `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // For list pagination. When this header appears in the response, previous pages of results remain. For
    // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListEnrichmentJobsResponse) HTTPResponse

func (response ListEnrichmentJobsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListEnrichmentJobsResponse) String

func (response ListEnrichmentJobsResponse) String() string

type ListEnrichmentJobsSortByEnum

ListEnrichmentJobsSortByEnum Enum with underlying type: string

type ListEnrichmentJobsSortByEnum string

Set of constants representing the allowable values for ListEnrichmentJobsSortByEnum

const (
    ListEnrichmentJobsSortByTimecreated ListEnrichmentJobsSortByEnum = "timeCreated"
    ListEnrichmentJobsSortByDisplayname ListEnrichmentJobsSortByEnum = "displayName"
)

func GetListEnrichmentJobsSortByEnumValues

func GetListEnrichmentJobsSortByEnumValues() []ListEnrichmentJobsSortByEnum

GetListEnrichmentJobsSortByEnumValues Enumerates the set of values for ListEnrichmentJobsSortByEnum

func GetMappingListEnrichmentJobsSortByEnum

func GetMappingListEnrichmentJobsSortByEnum(val string) (ListEnrichmentJobsSortByEnum, bool)

GetMappingListEnrichmentJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListEnrichmentJobsSortOrderEnum

ListEnrichmentJobsSortOrderEnum Enum with underlying type: string

type ListEnrichmentJobsSortOrderEnum string

Set of constants representing the allowable values for ListEnrichmentJobsSortOrderEnum

const (
    ListEnrichmentJobsSortOrderAsc  ListEnrichmentJobsSortOrderEnum = "ASC"
    ListEnrichmentJobsSortOrderDesc ListEnrichmentJobsSortOrderEnum = "DESC"
)

func GetListEnrichmentJobsSortOrderEnumValues

func GetListEnrichmentJobsSortOrderEnumValues() []ListEnrichmentJobsSortOrderEnum

GetListEnrichmentJobsSortOrderEnumValues Enumerates the set of values for ListEnrichmentJobsSortOrderEnum

func GetMappingListEnrichmentJobsSortOrderEnum

func GetMappingListEnrichmentJobsSortOrderEnum(val string) (ListEnrichmentJobsSortOrderEnum, bool)

GetMappingListEnrichmentJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type PartialBuildEnrichmentJobConfiguration

PartialBuildEnrichmentJobConfiguration A PartialBuildEnrichmentJobConfiguration is an EnrichmentJobConfiguration [indicated by the first item under `allOf`, which is a reference to EnrichmentJobConfiguration] that describes the database schema that will be the scope of the enrichment job. As distinguished by enrichmentJobType [with specific characteristics defined by the second item under `allOf`].

type PartialBuildEnrichmentJobConfiguration struct {

    // Name of the DB Schema to be enriched
    SchemaName *string `mandatory:"true" json:"schemaName"`

    // Collection of the DatabaseObjects to be enriched for the given schema.
    DatabaseObjects []DatabaseObject `mandatory:"true" json:"databaseObjects"`
}

func (PartialBuildEnrichmentJobConfiguration) MarshalJSON

func (m PartialBuildEnrichmentJobConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PartialBuildEnrichmentJobConfiguration) String

func (m PartialBuildEnrichmentJobConfiguration) String() string

func (PartialBuildEnrichmentJobConfiguration) ValidateEnumValue

func (m PartialBuildEnrichmentJobConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SortOrdersEnum

SortOrdersEnum Enum with underlying type: string

type SortOrdersEnum string

Set of constants representing the allowable values for SortOrdersEnum

const (
    SortOrdersAsc  SortOrdersEnum = "ASC"
    SortOrdersDesc SortOrdersEnum = "DESC"
)

func GetMappingSortOrdersEnum

func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)

GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum