Documentation ¶
Index ¶
- type ActivateModelRequest
- type ActivateModelResponse
- type ActivateNotebookSessionRequest
- type ActivateNotebookSessionResponse
- type CancelWorkRequestRequest
- type CancelWorkRequestResponse
- type ChangeModelCompartmentDetails
- type ChangeModelCompartmentRequest
- type ChangeModelCompartmentResponse
- type ChangeNotebookSessionCompartmentDetails
- type ChangeNotebookSessionCompartmentRequest
- type ChangeNotebookSessionCompartmentResponse
- type ChangeProjectCompartmentDetails
- type ChangeProjectCompartmentRequest
- type ChangeProjectCompartmentResponse
- type CreateModelArtifactRequest
- type CreateModelArtifactResponse
- type CreateModelDetails
- type CreateModelProvenanceDetails
- type CreateModelProvenanceRequest
- type CreateModelProvenanceResponse
- type CreateModelRequest
- type CreateModelResponse
- type CreateNotebookSessionDetails
- type CreateNotebookSessionRequest
- type CreateNotebookSessionResponse
- type CreateProjectDetails
- type CreateProjectRequest
- type CreateProjectResponse
- type DataScienceClient
- func (client DataScienceClient) ActivateModel(ctx context.Context, request ActivateModelRequest) (response ActivateModelResponse, err error)
- func (client DataScienceClient) ActivateNotebookSession(ctx context.Context, request ActivateNotebookSessionRequest) (response ActivateNotebookSessionResponse, err error)
- func (client DataScienceClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
- func (client DataScienceClient) ChangeModelCompartment(ctx context.Context, request ChangeModelCompartmentRequest) (response ChangeModelCompartmentResponse, err error)
- func (client DataScienceClient) ChangeNotebookSessionCompartment(ctx context.Context, request ChangeNotebookSessionCompartmentRequest) (response ChangeNotebookSessionCompartmentResponse, err error)
- func (client DataScienceClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)
- func (client *DataScienceClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client DataScienceClient) CreateModel(ctx context.Context, request CreateModelRequest) (response CreateModelResponse, err error)
- func (client DataScienceClient) CreateModelArtifact(ctx context.Context, request CreateModelArtifactRequest) (response CreateModelArtifactResponse, err error)
- func (client DataScienceClient) CreateModelProvenance(ctx context.Context, request CreateModelProvenanceRequest) (response CreateModelProvenanceResponse, err error)
- func (client DataScienceClient) CreateNotebookSession(ctx context.Context, request CreateNotebookSessionRequest) (response CreateNotebookSessionResponse, err error)
- func (client DataScienceClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)
- func (client DataScienceClient) DeactivateModel(ctx context.Context, request DeactivateModelRequest) (response DeactivateModelResponse, err error)
- func (client DataScienceClient) DeactivateNotebookSession(ctx context.Context, request DeactivateNotebookSessionRequest) (response DeactivateNotebookSessionResponse, err error)
- func (client DataScienceClient) DeleteModel(ctx context.Context, request DeleteModelRequest) (response DeleteModelResponse, err error)
- func (client DataScienceClient) DeleteNotebookSession(ctx context.Context, request DeleteNotebookSessionRequest) (response DeleteNotebookSessionResponse, err error)
- func (client DataScienceClient) DeleteProject(ctx context.Context, request DeleteProjectRequest) (response DeleteProjectResponse, err error)
- func (client DataScienceClient) GetModel(ctx context.Context, request GetModelRequest) (response GetModelResponse, err error)
- func (client DataScienceClient) GetModelArtifactContent(ctx context.Context, request GetModelArtifactContentRequest) (response GetModelArtifactContentResponse, err error)
- func (client DataScienceClient) GetModelProvenance(ctx context.Context, request GetModelProvenanceRequest) (response GetModelProvenanceResponse, err error)
- func (client DataScienceClient) GetNotebookSession(ctx context.Context, request GetNotebookSessionRequest) (response GetNotebookSessionResponse, err error)
- func (client DataScienceClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)
- func (client DataScienceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client DataScienceClient) HeadModelArtifact(ctx context.Context, request HeadModelArtifactRequest) (response HeadModelArtifactResponse, err error)
- func (client DataScienceClient) ListModels(ctx context.Context, request ListModelsRequest) (response ListModelsResponse, err error)
- func (client DataScienceClient) ListNotebookSessionShapes(ctx context.Context, request ListNotebookSessionShapesRequest) (response ListNotebookSessionShapesResponse, err error)
- func (client DataScienceClient) ListNotebookSessions(ctx context.Context, request ListNotebookSessionsRequest) (response ListNotebookSessionsResponse, err error)
- func (client DataScienceClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)
- func (client DataScienceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client DataScienceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client DataScienceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client *DataScienceClient) SetRegion(region string)
- func (client DataScienceClient) UpdateModel(ctx context.Context, request UpdateModelRequest) (response UpdateModelResponse, err error)
- func (client DataScienceClient) UpdateModelProvenance(ctx context.Context, request UpdateModelProvenanceRequest) (response UpdateModelProvenanceResponse, err error)
- func (client DataScienceClient) UpdateNotebookSession(ctx context.Context, request UpdateNotebookSessionRequest) (response UpdateNotebookSessionResponse, err error)
- func (client DataScienceClient) UpdateProject(ctx context.Context, request UpdateProjectRequest) (response UpdateProjectResponse, err error)
- type DeactivateModelRequest
- type DeactivateModelResponse
- type DeactivateNotebookSessionRequest
- type DeactivateNotebookSessionResponse
- type DeleteModelRequest
- type DeleteModelResponse
- type DeleteNotebookSessionRequest
- type DeleteNotebookSessionResponse
- type DeleteProjectRequest
- type DeleteProjectResponse
- type GetModelArtifactContentRequest
- type GetModelArtifactContentResponse
- type GetModelProvenanceRequest
- type GetModelProvenanceResponse
- type GetModelRequest
- type GetModelResponse
- type GetNotebookSessionRequest
- type GetNotebookSessionResponse
- type GetProjectRequest
- type GetProjectResponse
- type GetWorkRequestRequest
- type GetWorkRequestResponse
- type HeadModelArtifactRequest
- type HeadModelArtifactResponse
- type ListModelsLifecycleStateEnum
- type ListModelsRequest
- type ListModelsResponse
- type ListModelsSortByEnum
- type ListModelsSortOrderEnum
- type ListNotebookSessionShapesRequest
- type ListNotebookSessionShapesResponse
- type ListNotebookSessionsLifecycleStateEnum
- type ListNotebookSessionsRequest
- type ListNotebookSessionsResponse
- type ListNotebookSessionsSortByEnum
- type ListNotebookSessionsSortOrderEnum
- type ListProjectsLifecycleStateEnum
- type ListProjectsRequest
- type ListProjectsResponse
- type ListProjectsSortByEnum
- type ListProjectsSortOrderEnum
- type ListWorkRequestErrorsRequest
- type ListWorkRequestErrorsResponse
- type ListWorkRequestLogsRequest
- type ListWorkRequestLogsResponse
- type ListWorkRequestsOperationTypeEnum
- type ListWorkRequestsRequest
- type ListWorkRequestsResponse
- type ListWorkRequestsSortByEnum
- type ListWorkRequestsSortOrderEnum
- type ListWorkRequestsStatusEnum
- type Model
- type ModelLifecycleStateEnum
- type ModelProvenance
- type ModelSummary
- type NotebookSession
- type NotebookSessionConfigurationDetails
- type NotebookSessionLifecycleStateEnum
- type NotebookSessionShapeSummary
- type NotebookSessionSummary
- type Project
- type ProjectLifecycleStateEnum
- type ProjectSummary
- type UpdateModelDetails
- type UpdateModelProvenanceDetails
- type UpdateModelProvenanceRequest
- type UpdateModelProvenanceResponse
- type UpdateModelRequest
- type UpdateModelResponse
- type UpdateNotebookSessionDetails
- type UpdateNotebookSessionRequest
- type UpdateNotebookSessionResponse
- type UpdateProjectDetails
- type UpdateProjectRequest
- type UpdateProjectResponse
- type WorkRequest
- type WorkRequestError
- type WorkRequestLogEntry
- type WorkRequestOperationTypeEnum
- type WorkRequestResource
- type WorkRequestResourceActionTypeEnum
- type WorkRequestStatusEnum
- type WorkRequestSummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateModelRequest ¶
type ActivateModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
ActivateModelRequest wrapper for the ActivateModel operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ActivateModel.go.html to see an example of how to use ActivateModelRequest.
func (ActivateModelRequest) HTTPRequest ¶
func (request ActivateModelRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ActivateModelRequest) RetryPolicy ¶
func (request ActivateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ActivateModelRequest) String ¶
func (request ActivateModelRequest) String() string
type ActivateModelResponse ¶
type ActivateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` }
ActivateModelResponse wrapper for the ActivateModel operation
func (ActivateModelResponse) HTTPResponse ¶
func (response ActivateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ActivateModelResponse) String ¶
func (response ActivateModelResponse) String() string
type ActivateNotebookSessionRequest ¶
type ActivateNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
ActivateNotebookSessionRequest wrapper for the ActivateNotebookSession operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ActivateNotebookSession.go.html to see an example of how to use ActivateNotebookSessionRequest.
func (ActivateNotebookSessionRequest) HTTPRequest ¶
func (request ActivateNotebookSessionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ActivateNotebookSessionRequest) RetryPolicy ¶
func (request ActivateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ActivateNotebookSessionRequest) String ¶
func (request ActivateNotebookSessionRequest) String() string
type ActivateNotebookSessionResponse ¶
type ActivateNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // 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"` }
ActivateNotebookSessionResponse wrapper for the ActivateNotebookSession operation
func (ActivateNotebookSessionResponse) HTTPResponse ¶
func (response ActivateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ActivateNotebookSessionResponse) String ¶
func (response ActivateNotebookSessionResponse) String() string
type CancelWorkRequestRequest ¶
type CancelWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
func (CancelWorkRequestRequest) HTTPRequest ¶
func (request CancelWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CancelWorkRequestRequest) RetryPolicy ¶
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CancelWorkRequestRequest) String ¶
func (request CancelWorkRequestRequest) String() string
type CancelWorkRequestResponse ¶
type CancelWorkRequestResponse 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"` }
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
func (CancelWorkRequestResponse) HTTPResponse ¶
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CancelWorkRequestResponse) String ¶
func (response CancelWorkRequestResponse) String() string
type ChangeModelCompartmentDetails ¶
type ChangeModelCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeModelCompartmentDetails Details for changing the compartment of a model.
func (ChangeModelCompartmentDetails) String ¶
func (m ChangeModelCompartmentDetails) String() string
type ChangeModelCompartmentRequest ¶
type ChangeModelCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Details for changing the compartment of a model. ChangeModelCompartmentDetails `contributesTo:"body"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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"` // 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 }
ChangeModelCompartmentRequest wrapper for the ChangeModelCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartmentRequest.
func (ChangeModelCompartmentRequest) HTTPRequest ¶
func (request ChangeModelCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeModelCompartmentRequest) RetryPolicy ¶
func (request ChangeModelCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeModelCompartmentRequest) String ¶
func (request ChangeModelCompartmentRequest) String() string
type ChangeModelCompartmentResponse ¶
type ChangeModelCompartmentResponse 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"` }
ChangeModelCompartmentResponse wrapper for the ChangeModelCompartment operation
func (ChangeModelCompartmentResponse) HTTPResponse ¶
func (response ChangeModelCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeModelCompartmentResponse) String ¶
func (response ChangeModelCompartmentResponse) String() string
type ChangeNotebookSessionCompartmentDetails ¶
type ChangeNotebookSessionCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeNotebookSessionCompartmentDetails Details for changing the compartment of a notebook session.
func (ChangeNotebookSessionCompartmentDetails) String ¶
func (m ChangeNotebookSessionCompartmentDetails) String() string
type ChangeNotebookSessionCompartmentRequest ¶
type ChangeNotebookSessionCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // Details for changing the compartment of a notebook session. ChangeNotebookSessionCompartmentDetails `contributesTo:"body"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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"` // 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 }
ChangeNotebookSessionCompartmentRequest wrapper for the ChangeNotebookSessionCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeNotebookSessionCompartment.go.html to see an example of how to use ChangeNotebookSessionCompartmentRequest.
func (ChangeNotebookSessionCompartmentRequest) HTTPRequest ¶
func (request ChangeNotebookSessionCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeNotebookSessionCompartmentRequest) RetryPolicy ¶
func (request ChangeNotebookSessionCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeNotebookSessionCompartmentRequest) String ¶
func (request ChangeNotebookSessionCompartmentRequest) String() string
type ChangeNotebookSessionCompartmentResponse ¶
type ChangeNotebookSessionCompartmentResponse 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"` }
ChangeNotebookSessionCompartmentResponse wrapper for the ChangeNotebookSessionCompartment operation
func (ChangeNotebookSessionCompartmentResponse) HTTPResponse ¶
func (response ChangeNotebookSessionCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeNotebookSessionCompartmentResponse) String ¶
func (response ChangeNotebookSessionCompartmentResponse) String() string
type ChangeProjectCompartmentDetails ¶
type ChangeProjectCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeProjectCompartmentDetails Details for changing the compartment of a project.
func (ChangeProjectCompartmentDetails) String ¶
func (m ChangeProjectCompartmentDetails) String() string
type ChangeProjectCompartmentRequest ¶
type ChangeProjectCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // Details for changing the compartment of a project. ChangeProjectCompartmentDetails `contributesTo:"body"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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"` // 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 }
ChangeProjectCompartmentRequest wrapper for the ChangeProjectCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartmentRequest.
func (ChangeProjectCompartmentRequest) HTTPRequest ¶
func (request ChangeProjectCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeProjectCompartmentRequest) RetryPolicy ¶
func (request ChangeProjectCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeProjectCompartmentRequest) String ¶
func (request ChangeProjectCompartmentRequest) String() string
type ChangeProjectCompartmentResponse ¶
type ChangeProjectCompartmentResponse 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"` }
ChangeProjectCompartmentResponse wrapper for the ChangeProjectCompartment operation
func (ChangeProjectCompartmentResponse) HTTPResponse ¶
func (response ChangeProjectCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeProjectCompartmentResponse) String ¶
func (response ChangeProjectCompartmentResponse) String() string
type CreateModelArtifactRequest ¶
type CreateModelArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // The content length of the body. ContentLength *int64 `mandatory:"true" contributesTo:"header" name:"content-length"` // The model artifact to upload. ModelArtifact io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 content disposition of the body. ContentDisposition *string `mandatory:"false" contributesTo:"header" name:"content-disposition"` // 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 }
CreateModelArtifactRequest wrapper for the CreateModelArtifact operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModelArtifact.go.html to see an example of how to use CreateModelArtifactRequest.
func (CreateModelArtifactRequest) HTTPRequest ¶
func (request CreateModelArtifactRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateModelArtifactRequest) RetryPolicy ¶
func (request CreateModelArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateModelArtifactRequest) String ¶
func (request CreateModelArtifactRequest) String() string
type CreateModelArtifactResponse ¶
type CreateModelArtifactResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` }
CreateModelArtifactResponse wrapper for the CreateModelArtifact operation
func (CreateModelArtifactResponse) HTTPResponse ¶
func (response CreateModelArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateModelArtifactResponse) String ¶
func (response CreateModelArtifactResponse) String() string
type CreateModelDetails ¶
type CreateModelDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment to create the model in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project to associate with the model. ProjectId *string `mandatory:"true" json:"projectId"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My Model` DisplayName *string `mandatory:"false" json:"displayName"` // A short blurb describing the model. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateModelDetails Parameters needed to create a new model. Models are mathematical representations of the relationships between data. Models are represented by their associated metadata and artifact.
func (CreateModelDetails) String ¶
func (m CreateModelDetails) String() string
type CreateModelProvenanceDetails ¶
type CreateModelProvenanceDetails struct { // For model reproducibility purposes. URL of the git repository associated with model training. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // For model reproducibility purposes. Branch of the git repository associated with model training. GitBranch *string `mandatory:"false" json:"gitBranch"` // For model reproducibility purposes. Commit ID of the git repository associated with model training. GitCommit *string `mandatory:"false" json:"gitCommit"` // For model reproducibility purposes. Path to model artifacts. ScriptDir *string `mandatory:"false" json:"scriptDir"` // For model reproducibility purposes. Path to the python script or notebook in which the model was trained." TrainingScript *string `mandatory:"false" json:"trainingScript"` }
CreateModelProvenanceDetails Model provenance gives data scientists information about the origin of their model. This information allows data scientists to reproduce the development environment in which the model was trained.
func (CreateModelProvenanceDetails) String ¶
func (m CreateModelProvenanceDetails) String() string
type CreateModelProvenanceRequest ¶
type CreateModelProvenanceRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Provenance information for specified model. CreateModelProvenanceDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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"` // 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 }
CreateModelProvenanceRequest wrapper for the CreateModelProvenance operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModelProvenance.go.html to see an example of how to use CreateModelProvenanceRequest.
func (CreateModelProvenanceRequest) HTTPRequest ¶
func (request CreateModelProvenanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateModelProvenanceRequest) RetryPolicy ¶
func (request CreateModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateModelProvenanceRequest) String ¶
func (request CreateModelProvenanceRequest) String() string
type CreateModelProvenanceResponse ¶
type CreateModelProvenanceResponse struct { // The underlying http response RawResponse *http.Response // The ModelProvenance instance ModelProvenance `presentIn:"body"` // 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"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` }
CreateModelProvenanceResponse wrapper for the CreateModelProvenance operation
func (CreateModelProvenanceResponse) HTTPResponse ¶
func (response CreateModelProvenanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateModelProvenanceResponse) String ¶
func (response CreateModelProvenanceResponse) String() string
type CreateModelRequest ¶
type CreateModelRequest struct { // Details for creating a new model. CreateModelDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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"` // 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 }
CreateModelRequest wrapper for the CreateModel operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModel.go.html to see an example of how to use CreateModelRequest.
func (CreateModelRequest) HTTPRequest ¶
func (request CreateModelRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateModelRequest) RetryPolicy ¶
func (request CreateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateModelRequest) String ¶
func (request CreateModelRequest) String() string
type CreateModelResponse ¶
type CreateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` }
CreateModelResponse wrapper for the CreateModel operation
func (CreateModelResponse) HTTPResponse ¶
func (response CreateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateModelResponse) String ¶
func (response CreateModelResponse) String() string
type CreateNotebookSessionDetails ¶
type CreateNotebookSessionDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project to associate with the notebook session. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment where you want to create the notebook session. CompartmentId *string `mandatory:"true" json:"compartmentId"` NotebookSessionConfigurationDetails *NotebookSessionConfigurationDetails `mandatory:"true" json:"notebookSessionConfigurationDetails"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My NotebookSession` DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateNotebookSessionDetails Parameters needed to create a new notebook session. Notebook sessions are interactive coding environments for data scientists.
func (CreateNotebookSessionDetails) String ¶
func (m CreateNotebookSessionDetails) String() string
type CreateNotebookSessionRequest ¶
type CreateNotebookSessionRequest struct { // Details for creating a new notebook session. CreateNotebookSessionDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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"` // 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 }
CreateNotebookSessionRequest wrapper for the CreateNotebookSession operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateNotebookSession.go.html to see an example of how to use CreateNotebookSessionRequest.
func (CreateNotebookSessionRequest) HTTPRequest ¶
func (request CreateNotebookSessionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateNotebookSessionRequest) RetryPolicy ¶
func (request CreateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateNotebookSessionRequest) String ¶
func (request CreateNotebookSessionRequest) String() string
type CreateNotebookSessionResponse ¶
type CreateNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The NotebookSession instance NotebookSession `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // The URI that identifies the entity described in the response body. Location *string `presentIn:"header" name:"location"` // 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"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
CreateNotebookSessionResponse wrapper for the CreateNotebookSession operation
func (CreateNotebookSessionResponse) HTTPResponse ¶
func (response CreateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateNotebookSessionResponse) String ¶
func (response CreateNotebookSessionResponse) String() string
type CreateProjectDetails ¶
type CreateProjectDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment to create the project in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // A short blurb describing the project. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateProjectDetails Parameters needed to create a new project. Projects enable users to organize their data science work.
func (CreateProjectDetails) String ¶
func (m CreateProjectDetails) String() string
type CreateProjectRequest ¶
type CreateProjectRequest struct { // Details for creating a new project. CreateProjectDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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"` // 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 }
CreateProjectRequest wrapper for the CreateProject operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateProject.go.html to see an example of how to use CreateProjectRequest.
func (CreateProjectRequest) HTTPRequest ¶
func (request CreateProjectRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateProjectRequest) RetryPolicy ¶
func (request CreateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateProjectRequest) String ¶
func (request CreateProjectRequest) String() string
type CreateProjectResponse ¶
type CreateProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` }
CreateProjectResponse wrapper for the CreateProject operation
func (CreateProjectResponse) HTTPResponse ¶
func (response CreateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateProjectResponse) String ¶
func (response CreateProjectResponse) String() string
type DataScienceClient ¶
type DataScienceClient struct { common.BaseClient // contains filtered or unexported fields }
DataScienceClient a client for DataScience
func NewDataScienceClientWithConfigurationProvider ¶
func NewDataScienceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DataScienceClient, err error)
NewDataScienceClientWithConfigurationProvider Creates a new default DataScience client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDataScienceClientWithOboToken ¶
func NewDataScienceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DataScienceClient, err error)
NewDataScienceClientWithOboToken Creates a new default DataScience 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 (DataScienceClient) ActivateModel ¶
func (client DataScienceClient) ActivateModel(ctx context.Context, request ActivateModelRequest) (response ActivateModelResponse, err error)
ActivateModel Activates the model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ActivateModel.go.html to see an example of how to use ActivateModel API.
func (DataScienceClient) ActivateNotebookSession ¶
func (client DataScienceClient) ActivateNotebookSession(ctx context.Context, request ActivateNotebookSessionRequest) (response ActivateNotebookSessionResponse, err error)
ActivateNotebookSession Activates the notebook session.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ActivateNotebookSession.go.html to see an example of how to use ActivateNotebookSession API.
func (DataScienceClient) CancelWorkRequest ¶
func (client DataScienceClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancels a work request that has not started.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API.
func (DataScienceClient) ChangeModelCompartment ¶
func (client DataScienceClient) ChangeModelCompartment(ctx context.Context, request ChangeModelCompartmentRequest) (response ChangeModelCompartmentResponse, err error)
ChangeModelCompartment Moves a model resource into a different compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeModelCompartment.go.html to see an example of how to use ChangeModelCompartment API.
func (DataScienceClient) ChangeNotebookSessionCompartment ¶
func (client DataScienceClient) ChangeNotebookSessionCompartment(ctx context.Context, request ChangeNotebookSessionCompartmentRequest) (response ChangeNotebookSessionCompartmentResponse, err error)
ChangeNotebookSessionCompartment Moves a notebook session resource into a different compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeNotebookSessionCompartment.go.html to see an example of how to use ChangeNotebookSessionCompartment API.
func (DataScienceClient) ChangeProjectCompartment ¶
func (client DataScienceClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)
ChangeProjectCompartment Moves a project resource into a different compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartment API.
func (*DataScienceClient) ConfigurationProvider ¶
func (client *DataScienceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (DataScienceClient) CreateModel ¶
func (client DataScienceClient) CreateModel(ctx context.Context, request CreateModelRequest) (response CreateModelResponse, err error)
CreateModel Creates a new model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModel.go.html to see an example of how to use CreateModel API.
func (DataScienceClient) CreateModelArtifact ¶
func (client DataScienceClient) CreateModelArtifact(ctx context.Context, request CreateModelArtifactRequest) (response CreateModelArtifactResponse, err error)
CreateModelArtifact Creates model artifact for specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModelArtifact.go.html to see an example of how to use CreateModelArtifact API.
func (DataScienceClient) CreateModelProvenance ¶
func (client DataScienceClient) CreateModelProvenance(ctx context.Context, request CreateModelProvenanceRequest) (response CreateModelProvenanceResponse, err error)
CreateModelProvenance Creates provenance information for the specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateModelProvenance.go.html to see an example of how to use CreateModelProvenance API.
func (DataScienceClient) CreateNotebookSession ¶
func (client DataScienceClient) CreateNotebookSession(ctx context.Context, request CreateNotebookSessionRequest) (response CreateNotebookSessionResponse, err error)
CreateNotebookSession Creates a new notebook session.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateNotebookSession.go.html to see an example of how to use CreateNotebookSession API.
func (DataScienceClient) CreateProject ¶
func (client DataScienceClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)
CreateProject Creates a new project.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/CreateProject.go.html to see an example of how to use CreateProject API.
func (DataScienceClient) DeactivateModel ¶
func (client DataScienceClient) DeactivateModel(ctx context.Context, request DeactivateModelRequest) (response DeactivateModelResponse, err error)
DeactivateModel Deactivates the model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeactivateModel.go.html to see an example of how to use DeactivateModel API.
func (DataScienceClient) DeactivateNotebookSession ¶
func (client DataScienceClient) DeactivateNotebookSession(ctx context.Context, request DeactivateNotebookSessionRequest) (response DeactivateNotebookSessionResponse, err error)
DeactivateNotebookSession Deactivates the notebook session.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeactivateNotebookSession.go.html to see an example of how to use DeactivateNotebookSession API.
func (DataScienceClient) DeleteModel ¶
func (client DataScienceClient) DeleteModel(ctx context.Context, request DeleteModelRequest) (response DeleteModelResponse, err error)
DeleteModel Deletes the specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteModel.go.html to see an example of how to use DeleteModel API.
func (DataScienceClient) DeleteNotebookSession ¶
func (client DataScienceClient) DeleteNotebookSession(ctx context.Context, request DeleteNotebookSessionRequest) (response DeleteNotebookSessionResponse, err error)
DeleteNotebookSession Deletes the specified notebook session. Any unsaved work in this notebook session will be lost.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteNotebookSession.go.html to see an example of how to use DeleteNotebookSession API.
func (DataScienceClient) DeleteProject ¶
func (client DataScienceClient) DeleteProject(ctx context.Context, request DeleteProjectRequest) (response DeleteProjectResponse, err error)
DeleteProject Deletes the specified project. This operation will fail unless all associated resources (such as notebook sessions or models) are in a DELETED state. You must delete all associated resources before deleting a project.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteProject.go.html to see an example of how to use DeleteProject API.
func (DataScienceClient) GetModel ¶
func (client DataScienceClient) GetModel(ctx context.Context, request GetModelRequest) (response GetModelResponse, err error)
GetModel Gets the specified model's information.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModel.go.html to see an example of how to use GetModel API.
func (DataScienceClient) GetModelArtifactContent ¶
func (client DataScienceClient) GetModelArtifactContent(ctx context.Context, request GetModelArtifactContentRequest) (response GetModelArtifactContentResponse, err error)
GetModelArtifactContent Downloads model artifact content for specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModelArtifactContent.go.html to see an example of how to use GetModelArtifactContent API.
func (DataScienceClient) GetModelProvenance ¶
func (client DataScienceClient) GetModelProvenance(ctx context.Context, request GetModelProvenanceRequest) (response GetModelProvenanceResponse, err error)
GetModelProvenance Gets provenance information for specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModelProvenance.go.html to see an example of how to use GetModelProvenance API.
func (DataScienceClient) GetNotebookSession ¶
func (client DataScienceClient) GetNotebookSession(ctx context.Context, request GetNotebookSessionRequest) (response GetNotebookSessionResponse, err error)
GetNotebookSession Gets the specified notebook session's information.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetNotebookSession.go.html to see an example of how to use GetNotebookSession API.
func (DataScienceClient) GetProject ¶
func (client DataScienceClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)
GetProject Gets the specified project's information.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetProject.go.html to see an example of how to use GetProject API.
func (DataScienceClient) GetWorkRequest ¶
func (client DataScienceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the specified work request's information.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (DataScienceClient) HeadModelArtifact ¶
func (client DataScienceClient) HeadModelArtifact(ctx context.Context, request HeadModelArtifactRequest) (response HeadModelArtifactResponse, err error)
HeadModelArtifact Gets model artifact metadata for specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/HeadModelArtifact.go.html to see an example of how to use HeadModelArtifact API.
func (DataScienceClient) ListModels ¶
func (client DataScienceClient) ListModels(ctx context.Context, request ListModelsRequest) (response ListModelsResponse, err error)
ListModels Lists models in the specified compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListModels.go.html to see an example of how to use ListModels API.
func (DataScienceClient) ListNotebookSessionShapes ¶
func (client DataScienceClient) ListNotebookSessionShapes(ctx context.Context, request ListNotebookSessionShapesRequest) (response ListNotebookSessionShapesResponse, err error)
ListNotebookSessionShapes Lists the valid notebook session shapes.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListNotebookSessionShapes.go.html to see an example of how to use ListNotebookSessionShapes API.
func (DataScienceClient) ListNotebookSessions ¶
func (client DataScienceClient) ListNotebookSessions(ctx context.Context, request ListNotebookSessionsRequest) (response ListNotebookSessionsResponse, err error)
ListNotebookSessions Lists notebook sessions in the specified compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListNotebookSessions.go.html to see an example of how to use ListNotebookSessions API.
func (DataScienceClient) ListProjects ¶
func (client DataScienceClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)
ListProjects Lists projects in the specified compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListProjects.go.html to see an example of how to use ListProjects API.
func (DataScienceClient) ListWorkRequestErrors ¶
func (client DataScienceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Lists work request errors for the specified work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (DataScienceClient) ListWorkRequestLogs ¶
func (client DataScienceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Lists work request logs for the specified work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (DataScienceClient) ListWorkRequests ¶
func (client DataScienceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists work requests in the specified compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (*DataScienceClient) SetRegion ¶
func (client *DataScienceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (DataScienceClient) UpdateModel ¶
func (client DataScienceClient) UpdateModel(ctx context.Context, request UpdateModelRequest) (response UpdateModelResponse, err error)
UpdateModel Updates the properties of a model. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateModel.go.html to see an example of how to use UpdateModel API.
func (DataScienceClient) UpdateModelProvenance ¶
func (client DataScienceClient) UpdateModelProvenance(ctx context.Context, request UpdateModelProvenanceRequest) (response UpdateModelProvenanceResponse, err error)
UpdateModelProvenance Updates provenance information for the specified model.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateModelProvenance.go.html to see an example of how to use UpdateModelProvenance API.
func (DataScienceClient) UpdateNotebookSession ¶
func (client DataScienceClient) UpdateNotebookSession(ctx context.Context, request UpdateNotebookSessionRequest) (response UpdateNotebookSessionResponse, err error)
UpdateNotebookSession Updates the properties of a notebook session. You can update the `displayName`, `freeformTags`, and `definedTags` properties. When the notebook session is in the INACTIVE lifecycle state, you can update `notebookSessionConfigurationDetails` and change `shape`, `subnetId`, and `blockStorageSizeInGBs`. Changes to the `notebookSessionConfigurationDetails` will take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateNotebookSession.go.html to see an example of how to use UpdateNotebookSession API.
func (DataScienceClient) UpdateProject ¶
func (client DataScienceClient) UpdateProject(ctx context.Context, request UpdateProjectRequest) (response UpdateProjectResponse, err error)
UpdateProject Updates the properties of a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateProject.go.html to see an example of how to use UpdateProject API.
type DeactivateModelRequest ¶
type DeactivateModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
DeactivateModelRequest wrapper for the DeactivateModel operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeactivateModel.go.html to see an example of how to use DeactivateModelRequest.
func (DeactivateModelRequest) HTTPRequest ¶
func (request DeactivateModelRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeactivateModelRequest) RetryPolicy ¶
func (request DeactivateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeactivateModelRequest) String ¶
func (request DeactivateModelRequest) String() string
type DeactivateModelResponse ¶
type DeactivateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` }
DeactivateModelResponse wrapper for the DeactivateModel operation
func (DeactivateModelResponse) HTTPResponse ¶
func (response DeactivateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeactivateModelResponse) String ¶
func (response DeactivateModelResponse) String() string
type DeactivateNotebookSessionRequest ¶
type DeactivateNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
DeactivateNotebookSessionRequest wrapper for the DeactivateNotebookSession operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeactivateNotebookSession.go.html to see an example of how to use DeactivateNotebookSessionRequest.
func (DeactivateNotebookSessionRequest) HTTPRequest ¶
func (request DeactivateNotebookSessionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeactivateNotebookSessionRequest) RetryPolicy ¶
func (request DeactivateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeactivateNotebookSessionRequest) String ¶
func (request DeactivateNotebookSessionRequest) String() string
type DeactivateNotebookSessionResponse ¶
type DeactivateNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // 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"` }
DeactivateNotebookSessionResponse wrapper for the DeactivateNotebookSession operation
func (DeactivateNotebookSessionResponse) HTTPResponse ¶
func (response DeactivateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeactivateNotebookSessionResponse) String ¶
func (response DeactivateNotebookSessionResponse) String() string
type DeleteModelRequest ¶
type DeleteModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
DeleteModelRequest wrapper for the DeleteModel operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteModel.go.html to see an example of how to use DeleteModelRequest.
func (DeleteModelRequest) HTTPRequest ¶
func (request DeleteModelRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteModelRequest) RetryPolicy ¶
func (request DeleteModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteModelRequest) String ¶
func (request DeleteModelRequest) String() string
type DeleteModelResponse ¶
type DeleteModelResponse 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"` }
DeleteModelResponse wrapper for the DeleteModel operation
func (DeleteModelResponse) HTTPResponse ¶
func (response DeleteModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteModelResponse) String ¶
func (response DeleteModelResponse) String() string
type DeleteNotebookSessionRequest ¶
type DeleteNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
DeleteNotebookSessionRequest wrapper for the DeleteNotebookSession operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteNotebookSession.go.html to see an example of how to use DeleteNotebookSessionRequest.
func (DeleteNotebookSessionRequest) HTTPRequest ¶
func (request DeleteNotebookSessionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteNotebookSessionRequest) RetryPolicy ¶
func (request DeleteNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteNotebookSessionRequest) String ¶
func (request DeleteNotebookSessionRequest) String() string
type DeleteNotebookSessionResponse ¶
type DeleteNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // 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"` }
DeleteNotebookSessionResponse wrapper for the DeleteNotebookSession operation
func (DeleteNotebookSessionResponse) HTTPResponse ¶
func (response DeleteNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteNotebookSessionResponse) String ¶
func (response DeleteNotebookSessionResponse) String() string
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
DeleteProjectRequest wrapper for the DeleteProject operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/DeleteProject.go.html to see an example of how to use DeleteProjectRequest.
func (DeleteProjectRequest) HTTPRequest ¶
func (request DeleteProjectRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteProjectRequest) RetryPolicy ¶
func (request DeleteProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteProjectRequest) String ¶
func (request DeleteProjectRequest) String() string
type DeleteProjectResponse ¶
type DeleteProjectResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // 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"` }
DeleteProjectResponse wrapper for the DeleteProject operation
func (DeleteProjectResponse) HTTPResponse ¶
func (response DeleteProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteProjectResponse) String ¶
func (response DeleteProjectResponse) String() string
type GetModelArtifactContentRequest ¶
type GetModelArtifactContentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Optional byte range to fetch, as described in RFC 7233 (https://tools.ietf.org/html/rfc7232#section-2.1), section 2.1. // Note that only a single range of bytes is supported. Range *string `mandatory:"false" contributesTo:"header" name:"range"` // 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 }
GetModelArtifactContentRequest wrapper for the GetModelArtifactContent operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModelArtifactContent.go.html to see an example of how to use GetModelArtifactContentRequest.
func (GetModelArtifactContentRequest) HTTPRequest ¶
func (request GetModelArtifactContentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetModelArtifactContentRequest) RetryPolicy ¶
func (request GetModelArtifactContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetModelArtifactContentRequest) String ¶
func (request GetModelArtifactContentRequest) String() string
type GetModelArtifactContentResponse ¶
type GetModelArtifactContentResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The content disposition of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 19.5.1. ContentDisposition *string `presentIn:"header" name:"content-disposition"` // The base-64 encoded MD5 hash of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.15. // Unavailable for objects uploaded using multipart upload. // If the `content-md5` header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. // If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message: // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" ContentMd5 *string `presentIn:"header" name:"content-md5"` // The artifact modification time, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` }
GetModelArtifactContentResponse wrapper for the GetModelArtifactContent operation
func (GetModelArtifactContentResponse) HTTPResponse ¶
func (response GetModelArtifactContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetModelArtifactContentResponse) String ¶
func (response GetModelArtifactContentResponse) String() string
type GetModelProvenanceRequest ¶
type GetModelProvenanceRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
GetModelProvenanceRequest wrapper for the GetModelProvenance operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModelProvenance.go.html to see an example of how to use GetModelProvenanceRequest.
func (GetModelProvenanceRequest) HTTPRequest ¶
func (request GetModelProvenanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetModelProvenanceRequest) RetryPolicy ¶
func (request GetModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetModelProvenanceRequest) String ¶
func (request GetModelProvenanceRequest) String() string
type GetModelProvenanceResponse ¶
type GetModelProvenanceResponse struct { // The underlying http response RawResponse *http.Response // The ModelProvenance instance ModelProvenance `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` }
GetModelProvenanceResponse wrapper for the GetModelProvenance operation
func (GetModelProvenanceResponse) HTTPResponse ¶
func (response GetModelProvenanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetModelProvenanceResponse) String ¶
func (response GetModelProvenanceResponse) String() string
type GetModelRequest ¶
type GetModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
GetModelRequest wrapper for the GetModel operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetModel.go.html to see an example of how to use GetModelRequest.
func (GetModelRequest) HTTPRequest ¶
func (request GetModelRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetModelRequest) RetryPolicy ¶
func (request GetModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetModelRequest) String ¶
func (request GetModelRequest) String() string
type GetModelResponse ¶
type GetModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` }
GetModelResponse wrapper for the GetModel operation
func (GetModelResponse) HTTPResponse ¶
func (response GetModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetModelResponse) String ¶
func (response GetModelResponse) String() string
type GetNotebookSessionRequest ¶
type GetNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
GetNotebookSessionRequest wrapper for the GetNotebookSession operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetNotebookSession.go.html to see an example of how to use GetNotebookSessionRequest.
func (GetNotebookSessionRequest) HTTPRequest ¶
func (request GetNotebookSessionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetNotebookSessionRequest) RetryPolicy ¶
func (request GetNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetNotebookSessionRequest) String ¶
func (request GetNotebookSessionRequest) String() string
type GetNotebookSessionResponse ¶
type GetNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The NotebookSession instance NotebookSession `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` }
GetNotebookSessionResponse wrapper for the GetNotebookSession operation
func (GetNotebookSessionResponse) HTTPResponse ¶
func (response GetNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetNotebookSessionResponse) String ¶
func (response GetNotebookSessionResponse) String() string
type GetProjectRequest ¶
type GetProjectRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
GetProjectRequest wrapper for the GetProject operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetProject.go.html to see an example of how to use GetProjectRequest.
func (GetProjectRequest) HTTPRequest ¶
func (request GetProjectRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetProjectRequest) RetryPolicy ¶
func (request GetProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetProjectRequest) String ¶
func (request GetProjectRequest) String() string
type GetProjectResponse ¶
type GetProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` }
GetProjectResponse wrapper for the GetProject operation
func (GetProjectResponse) HTTPResponse ¶
func (response GetProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetProjectResponse) String ¶
func (response GetProjectResponse) String() string
type GetWorkRequestRequest ¶
type GetWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
type GetWorkRequestResponse ¶
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` // Indicates the number of seconds to wait before making a follow-up request. RetryAfter *int `presentIn:"header" name:"retry-after"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type HeadModelArtifactRequest ¶
type HeadModelArtifactRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
HeadModelArtifactRequest wrapper for the HeadModelArtifact operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/HeadModelArtifact.go.html to see an example of how to use HeadModelArtifactRequest.
func (HeadModelArtifactRequest) HTTPRequest ¶
func (request HeadModelArtifactRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (HeadModelArtifactRequest) RetryPolicy ¶
func (request HeadModelArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (HeadModelArtifactRequest) String ¶
func (request HeadModelArtifactRequest) String() string
type HeadModelArtifactResponse ¶
type HeadModelArtifactResponse struct { // The underlying http response RawResponse *http.Response // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` // The content size of the body in bytes. ContentLength *int64 `presentIn:"header" name:"content-length"` // The content disposition of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 19.5.1. ContentDisposition *string `presentIn:"header" name:"content-disposition"` // The base-64 encoded MD5 hash of the body, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.15. // Unavailable for objects uploaded using multipart upload. // If the `content-md5` header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. // If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message: // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)" ContentMd5 *string `presentIn:"header" name:"content-md5"` // The artifact modification time, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. LastModified *common.SDKTime `presentIn:"header" name:"last-modified"` }
HeadModelArtifactResponse wrapper for the HeadModelArtifact operation
func (HeadModelArtifactResponse) HTTPResponse ¶
func (response HeadModelArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (HeadModelArtifactResponse) String ¶
func (response HeadModelArtifactResponse) String() string
type ListModelsLifecycleStateEnum ¶
type ListModelsLifecycleStateEnum string
ListModelsLifecycleStateEnum Enum with underlying type: string
const ( ListModelsLifecycleStateActive ListModelsLifecycleStateEnum = "ACTIVE" ListModelsLifecycleStateDeleted ListModelsLifecycleStateEnum = "DELETED" ListModelsLifecycleStateFailed ListModelsLifecycleStateEnum = "FAILED" ListModelsLifecycleStateInactive ListModelsLifecycleStateEnum = "INACTIVE" )
Set of constants representing the allowable values for ListModelsLifecycleStateEnum
func GetListModelsLifecycleStateEnumValues ¶
func GetListModelsLifecycleStateEnumValues() []ListModelsLifecycleStateEnum
GetListModelsLifecycleStateEnumValues Enumerates the set of values for ListModelsLifecycleStateEnum
type ListModelsRequest ¶
type ListModelsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListModelsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListModelsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. // By default, when you sort by `timeCreated`, results are shown // in descending order. All other fields default to ascending order. Sort order for `displayName` field is case sensitive. SortBy ListModelsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
ListModelsRequest wrapper for the ListModels operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListModels.go.html to see an example of how to use ListModelsRequest.
func (ListModelsRequest) HTTPRequest ¶
func (request ListModelsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListModelsRequest) RetryPolicy ¶
func (request ListModelsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListModelsRequest) String ¶
func (request ListModelsRequest) String() string
type ListModelsResponse ¶
type ListModelsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ModelSummary instances Items []ModelSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.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"` }
ListModelsResponse wrapper for the ListModels operation
func (ListModelsResponse) HTTPResponse ¶
func (response ListModelsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListModelsResponse) String ¶
func (response ListModelsResponse) String() string
type ListModelsSortByEnum ¶
type ListModelsSortByEnum string
ListModelsSortByEnum Enum with underlying type: string
const ( ListModelsSortByTimecreated ListModelsSortByEnum = "timeCreated" ListModelsSortByDisplayname ListModelsSortByEnum = "displayName" ListModelsSortByLifecyclestate ListModelsSortByEnum = "lifecycleState" )
Set of constants representing the allowable values for ListModelsSortByEnum
func GetListModelsSortByEnumValues ¶
func GetListModelsSortByEnumValues() []ListModelsSortByEnum
GetListModelsSortByEnumValues Enumerates the set of values for ListModelsSortByEnum
type ListModelsSortOrderEnum ¶
type ListModelsSortOrderEnum string
ListModelsSortOrderEnum Enum with underlying type: string
const ( ListModelsSortOrderAsc ListModelsSortOrderEnum = "ASC" ListModelsSortOrderDesc ListModelsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListModelsSortOrderEnum
func GetListModelsSortOrderEnumValues ¶
func GetListModelsSortOrderEnumValues() []ListModelsSortOrderEnum
GetListModelsSortOrderEnumValues Enumerates the set of values for ListModelsSortOrderEnum
type ListNotebookSessionShapesRequest ¶
type ListNotebookSessionShapesRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // 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 }
ListNotebookSessionShapesRequest wrapper for the ListNotebookSessionShapes operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListNotebookSessionShapes.go.html to see an example of how to use ListNotebookSessionShapesRequest.
func (ListNotebookSessionShapesRequest) HTTPRequest ¶
func (request ListNotebookSessionShapesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListNotebookSessionShapesRequest) RetryPolicy ¶
func (request ListNotebookSessionShapesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListNotebookSessionShapesRequest) String ¶
func (request ListNotebookSessionShapesRequest) String() string
type ListNotebookSessionShapesResponse ¶
type ListNotebookSessionShapesResponse struct { // The underlying http response RawResponse *http.Response // A list of []NotebookSessionShapeSummary instances Items []NotebookSessionShapeSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.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"` }
ListNotebookSessionShapesResponse wrapper for the ListNotebookSessionShapes operation
func (ListNotebookSessionShapesResponse) HTTPResponse ¶
func (response ListNotebookSessionShapesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListNotebookSessionShapesResponse) String ¶
func (response ListNotebookSessionShapesResponse) String() string
type ListNotebookSessionsLifecycleStateEnum ¶
type ListNotebookSessionsLifecycleStateEnum string
ListNotebookSessionsLifecycleStateEnum Enum with underlying type: string
const ( ListNotebookSessionsLifecycleStateCreating ListNotebookSessionsLifecycleStateEnum = "CREATING" ListNotebookSessionsLifecycleStateActive ListNotebookSessionsLifecycleStateEnum = "ACTIVE" ListNotebookSessionsLifecycleStateDeleting ListNotebookSessionsLifecycleStateEnum = "DELETING" ListNotebookSessionsLifecycleStateDeleted ListNotebookSessionsLifecycleStateEnum = "DELETED" ListNotebookSessionsLifecycleStateFailed ListNotebookSessionsLifecycleStateEnum = "FAILED" ListNotebookSessionsLifecycleStateInactive ListNotebookSessionsLifecycleStateEnum = "INACTIVE" ListNotebookSessionsLifecycleStateUpdating ListNotebookSessionsLifecycleStateEnum = "UPDATING" )
Set of constants representing the allowable values for ListNotebookSessionsLifecycleStateEnum
func GetListNotebookSessionsLifecycleStateEnumValues ¶
func GetListNotebookSessionsLifecycleStateEnumValues() []ListNotebookSessionsLifecycleStateEnum
GetListNotebookSessionsLifecycleStateEnumValues Enumerates the set of values for ListNotebookSessionsLifecycleStateEnum
type ListNotebookSessionsRequest ¶
type ListNotebookSessionsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListNotebookSessionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListNotebookSessionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. // By default, when you sort by `timeCreated`, results are shown // in descending order. When you sort by `displayName`, results are // shown in ascending order. Sort order for `displayName` field is case sensitive. SortBy ListNotebookSessionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
ListNotebookSessionsRequest wrapper for the ListNotebookSessions operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListNotebookSessions.go.html to see an example of how to use ListNotebookSessionsRequest.
func (ListNotebookSessionsRequest) HTTPRequest ¶
func (request ListNotebookSessionsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListNotebookSessionsRequest) RetryPolicy ¶
func (request ListNotebookSessionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListNotebookSessionsRequest) String ¶
func (request ListNotebookSessionsRequest) String() string
type ListNotebookSessionsResponse ¶
type ListNotebookSessionsResponse struct { // The underlying http response RawResponse *http.Response // A list of []NotebookSessionSummary instances Items []NotebookSessionSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.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"` }
ListNotebookSessionsResponse wrapper for the ListNotebookSessions operation
func (ListNotebookSessionsResponse) HTTPResponse ¶
func (response ListNotebookSessionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListNotebookSessionsResponse) String ¶
func (response ListNotebookSessionsResponse) String() string
type ListNotebookSessionsSortByEnum ¶
type ListNotebookSessionsSortByEnum string
ListNotebookSessionsSortByEnum Enum with underlying type: string
const ( ListNotebookSessionsSortByTimecreated ListNotebookSessionsSortByEnum = "timeCreated" ListNotebookSessionsSortByDisplayname ListNotebookSessionsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListNotebookSessionsSortByEnum
func GetListNotebookSessionsSortByEnumValues ¶
func GetListNotebookSessionsSortByEnumValues() []ListNotebookSessionsSortByEnum
GetListNotebookSessionsSortByEnumValues Enumerates the set of values for ListNotebookSessionsSortByEnum
type ListNotebookSessionsSortOrderEnum ¶
type ListNotebookSessionsSortOrderEnum string
ListNotebookSessionsSortOrderEnum Enum with underlying type: string
const ( ListNotebookSessionsSortOrderAsc ListNotebookSessionsSortOrderEnum = "ASC" ListNotebookSessionsSortOrderDesc ListNotebookSessionsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListNotebookSessionsSortOrderEnum
func GetListNotebookSessionsSortOrderEnumValues ¶
func GetListNotebookSessionsSortOrderEnumValues() []ListNotebookSessionsSortOrderEnum
GetListNotebookSessionsSortOrderEnumValues Enumerates the set of values for ListNotebookSessionsSortOrderEnum
type ListProjectsLifecycleStateEnum ¶
type ListProjectsLifecycleStateEnum string
ListProjectsLifecycleStateEnum Enum with underlying type: string
const ( ListProjectsLifecycleStateActive ListProjectsLifecycleStateEnum = "ACTIVE" ListProjectsLifecycleStateDeleting ListProjectsLifecycleStateEnum = "DELETING" ListProjectsLifecycleStateDeleted ListProjectsLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for ListProjectsLifecycleStateEnum
func GetListProjectsLifecycleStateEnumValues ¶
func GetListProjectsLifecycleStateEnumValues() []ListProjectsLifecycleStateEnum
GetListProjectsLifecycleStateEnumValues Enumerates the set of values for ListProjectsLifecycleStateEnum
type ListProjectsRequest ¶
type ListProjectsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by its user-friendly name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // <b>Filter</b> results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListProjectsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the resource. CreatedBy *string `mandatory:"false" contributesTo:"query" name:"createdBy"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListProjectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. // By default, when you sort by `timeCreated`, results are shown // in descending order. When you sort by `displayName`, results are // shown in ascending order. Sort order for `displayName` field is case sensitive. SortBy ListProjectsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
ListProjectsRequest wrapper for the ListProjects operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListProjects.go.html to see an example of how to use ListProjectsRequest.
func (ListProjectsRequest) HTTPRequest ¶
func (request ListProjectsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListProjectsRequest) RetryPolicy ¶
func (request ListProjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListProjectsRequest) String ¶
func (request ListProjectsRequest) String() string
type ListProjectsResponse ¶
type ListProjectsResponse struct { // The underlying http response RawResponse *http.Response // A list of []ProjectSummary instances Items []ProjectSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.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"` }
ListProjectsResponse wrapper for the ListProjects operation
func (ListProjectsResponse) HTTPResponse ¶
func (response ListProjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListProjectsResponse) String ¶
func (response ListProjectsResponse) String() string
type ListProjectsSortByEnum ¶
type ListProjectsSortByEnum string
ListProjectsSortByEnum Enum with underlying type: string
const ( ListProjectsSortByTimecreated ListProjectsSortByEnum = "timeCreated" ListProjectsSortByDisplayname ListProjectsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListProjectsSortByEnum
func GetListProjectsSortByEnumValues ¶
func GetListProjectsSortByEnumValues() []ListProjectsSortByEnum
GetListProjectsSortByEnumValues Enumerates the set of values for ListProjectsSortByEnum
type ListProjectsSortOrderEnum ¶
type ListProjectsSortOrderEnum string
ListProjectsSortOrderEnum Enum with underlying type: string
const ( ListProjectsSortOrderAsc ListProjectsSortOrderEnum = "ASC" ListProjectsSortOrderDesc ListProjectsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListProjectsSortOrderEnum
func GetListProjectsSortOrderEnumValues ¶
func GetListProjectsSortOrderEnumValues() []ListProjectsSortOrderEnum
GetListProjectsSortOrderEnumValues Enumerates the set of values for ListProjectsSortOrderEnum
type ListWorkRequestErrorsRequest ¶
type ListWorkRequestErrorsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // The []WorkRequestError instance Items []WorkRequestError `presentIn:"body"` // 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"` }
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestLogsRequest ¶
type ListWorkRequestLogsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // The []WorkRequestLogEntry instance Items []WorkRequestLogEntry `presentIn:"body"` // 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"` }
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestsOperationTypeEnum ¶
type ListWorkRequestsOperationTypeEnum string
ListWorkRequestsOperationTypeEnum Enum with underlying type: string
const ( ListWorkRequestsOperationTypeNotebookSessionCreate ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_CREATE" ListWorkRequestsOperationTypeNotebookSessionDelete ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_DELETE" ListWorkRequestsOperationTypeNotebookSessionActivate ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_ACTIVATE" ListWorkRequestsOperationTypeNotebookSessionDeactivate ListWorkRequestsOperationTypeEnum = "NOTEBOOK_SESSION_DEACTIVATE" ListWorkRequestsOperationTypeProjectDelete ListWorkRequestsOperationTypeEnum = "PROJECT_DELETE" ListWorkRequestsOperationTypeWorkrequestCancel ListWorkRequestsOperationTypeEnum = "WORKREQUEST_CANCEL" )
Set of constants representing the allowable values for ListWorkRequestsOperationTypeEnum
func GetListWorkRequestsOperationTypeEnumValues ¶
func GetListWorkRequestsOperationTypeEnumValues() []ListWorkRequestsOperationTypeEnum
GetListWorkRequestsOperationTypeEnumValues Enumerates the set of values for ListWorkRequestsOperationTypeEnum
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct { // <b>Filter</b> results by the OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // <b>Filter</b> results by the type of the operation associated with the work request. OperationType ListWorkRequestsOperationTypeEnum `mandatory:"false" contributesTo:"query" name:"operationType" omitEmpty:"true"` // <b>Filter</b> results by work request status. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending). SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestSummary instances Items []WorkRequestSummary `presentIn:"body"` // Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See List Pagination (https://docs.cloud.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"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum ¶
type ListWorkRequestsSortByEnum string
ListWorkRequestsSortByEnum Enum with underlying type: string
const ( ListWorkRequestsSortByOperationtype ListWorkRequestsSortByEnum = "operationType" ListWorkRequestsSortByStatus ListWorkRequestsSortByEnum = "status" ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortByEnumValues ¶
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
type ListWorkRequestsSortOrderEnum ¶
type ListWorkRequestsSortOrderEnum string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsSortOrderEnumValues ¶
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
type ListWorkRequestsStatusEnum ¶
type ListWorkRequestsStatusEnum string
ListWorkRequestsStatusEnum Enum with underlying type: string
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
func GetListWorkRequestsStatusEnumValues ¶
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
type Model ¶
type Model struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project associated with the model. ProjectId *string `mandatory:"true" json:"projectId"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The state of the model. LifecycleState ModelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time the resource was created, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the model. CreatedBy *string `mandatory:"true" json:"createdBy"` // A short blurb describing the model. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
Model Models are mathematical representations of the relationships between data. Models are represented by their associated metadata and artifacts.
type ModelLifecycleStateEnum ¶
type ModelLifecycleStateEnum string
ModelLifecycleStateEnum Enum with underlying type: string
const ( ModelLifecycleStateActive ModelLifecycleStateEnum = "ACTIVE" ModelLifecycleStateDeleted ModelLifecycleStateEnum = "DELETED" ModelLifecycleStateFailed ModelLifecycleStateEnum = "FAILED" ModelLifecycleStateInactive ModelLifecycleStateEnum = "INACTIVE" )
Set of constants representing the allowable values for ModelLifecycleStateEnum
func GetModelLifecycleStateEnumValues ¶
func GetModelLifecycleStateEnumValues() []ModelLifecycleStateEnum
GetModelLifecycleStateEnumValues Enumerates the set of values for ModelLifecycleStateEnum
type ModelProvenance ¶
type ModelProvenance struct { // For model reproducibility purposes. URL of the git repository associated with model training. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // For model reproducibility purposes. Branch of the git repository associated with model training. GitBranch *string `mandatory:"false" json:"gitBranch"` // For model reproducibility purposes. Commit ID of the git repository associated with model training. GitCommit *string `mandatory:"false" json:"gitCommit"` // For model reproducibility purposes. Path to model artifacts. ScriptDir *string `mandatory:"false" json:"scriptDir"` // For model reproducibility purposes. Path to the python script or notebook in which the model was trained." TrainingScript *string `mandatory:"false" json:"trainingScript"` }
ModelProvenance Model provenance gives data scientists information about the origin of their model. This information allows data scientists to reproduce the development environment in which the model was trained.
func (ModelProvenance) String ¶
func (m ModelProvenance) String() string
type ModelSummary ¶
type ModelSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project associated with the model. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. Id *string `mandatory:"true" json:"id"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the model. CreatedBy *string `mandatory:"true" json:"createdBy"` // The date and time the resource was created, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The state of the model. LifecycleState ModelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
ModelSummary Summary information for a model.
func (ModelSummary) String ¶
func (m ModelSummary) String() string
type NotebookSession ¶
type NotebookSession struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My NotebookSession` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project associated with the notebook session. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the notebook session. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The state of the notebook session. LifecycleState NotebookSessionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` NotebookSessionConfigurationDetails *NotebookSessionConfigurationDetails `mandatory:"false" json:"notebookSessionConfigurationDetails"` // The URL to interact with the notebook session. NotebookSessionUrl *string `mandatory:"false" json:"notebookSessionUrl"` // Details about the state of the notebook session. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
NotebookSession Notebook sessions are interactive coding environments for data scientists.
func (NotebookSession) String ¶
func (m NotebookSession) String() string
type NotebookSessionConfigurationDetails ¶
type NotebookSessionConfigurationDetails struct { // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved from the `ListNotebookSessionShapes` endpoint. Shape *string `mandatory:"true" json:"shape"` // A notebook session instance is provided with a VNIC for network access. This specifies the OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. SubnetId *string `mandatory:"true" json:"subnetId"` // A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. BlockStorageSizeInGBs *int `mandatory:"false" json:"blockStorageSizeInGBs"` }
NotebookSessionConfigurationDetails Details for the notebook session configuration.
func (NotebookSessionConfigurationDetails) String ¶
func (m NotebookSessionConfigurationDetails) String() string
type NotebookSessionLifecycleStateEnum ¶
type NotebookSessionLifecycleStateEnum string
NotebookSessionLifecycleStateEnum Enum with underlying type: string
const ( NotebookSessionLifecycleStateCreating NotebookSessionLifecycleStateEnum = "CREATING" NotebookSessionLifecycleStateActive NotebookSessionLifecycleStateEnum = "ACTIVE" NotebookSessionLifecycleStateDeleting NotebookSessionLifecycleStateEnum = "DELETING" NotebookSessionLifecycleStateDeleted NotebookSessionLifecycleStateEnum = "DELETED" NotebookSessionLifecycleStateFailed NotebookSessionLifecycleStateEnum = "FAILED" NotebookSessionLifecycleStateInactive NotebookSessionLifecycleStateEnum = "INACTIVE" NotebookSessionLifecycleStateUpdating NotebookSessionLifecycleStateEnum = "UPDATING" )
Set of constants representing the allowable values for NotebookSessionLifecycleStateEnum
func GetNotebookSessionLifecycleStateEnumValues ¶
func GetNotebookSessionLifecycleStateEnumValues() []NotebookSessionLifecycleStateEnum
GetNotebookSessionLifecycleStateEnumValues Enumerates the set of values for NotebookSessionLifecycleStateEnum
type NotebookSessionShapeSummary ¶
type NotebookSessionShapeSummary struct { // The name of the notebook session shape. Name *string `mandatory:"true" json:"name"` // The number of cores associated with this notebook session shape. CoreCount *int `mandatory:"true" json:"coreCount"` // The amount of memory in GBs associated with this notebook session shape. MemoryInGBs *int `mandatory:"true" json:"memoryInGBs"` }
NotebookSessionShapeSummary The compute shape used to launch a notebook session compute instance.
func (NotebookSessionShapeSummary) String ¶
func (m NotebookSessionShapeSummary) String() string
type NotebookSessionSummary ¶
type NotebookSessionSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My NotebookSession` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project associated with the notebook session. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created the notebook session. CreatedBy *string `mandatory:"true" json:"createdBy"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The state of the notebook session. LifecycleState NotebookSessionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` NotebookSessionConfigurationDetails *NotebookSessionConfigurationDetails `mandatory:"false" json:"notebookSessionConfigurationDetails"` // The URL to interact with the notebook session. NotebookSessionUrl *string `mandatory:"false" json:"notebookSessionUrl"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
NotebookSessionSummary Summary information for a notebook session.
func (NotebookSessionSummary) String ¶
func (m NotebookSessionSummary) String() string
type Project ¶
type Project struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created this project. CreatedBy *string `mandatory:"true" json:"createdBy"` // The state of the project. LifecycleState ProjectLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short blurb describing the project. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
Project Projects enable users to organize their data science work.
type ProjectLifecycleStateEnum ¶
type ProjectLifecycleStateEnum string
ProjectLifecycleStateEnum Enum with underlying type: string
const ( ProjectLifecycleStateActive ProjectLifecycleStateEnum = "ACTIVE" ProjectLifecycleStateDeleting ProjectLifecycleStateEnum = "DELETING" ProjectLifecycleStateDeleted ProjectLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for ProjectLifecycleStateEnum
func GetProjectLifecycleStateEnumValues ¶
func GetProjectLifecycleStateEnumValues() []ProjectLifecycleStateEnum
GetProjectLifecycleStateEnumValues Enumerates the set of values for ProjectLifecycleStateEnum
type ProjectSummary ¶
type ProjectSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project. Id *string `mandatory:"true" json:"id"` // The date and time the resource was created, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: 2019-08-25T21:10:29.41Z TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the user who created this project. CreatedBy *string `mandatory:"true" json:"createdBy"` // The state of the project. LifecycleState ProjectLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A short blurb describing the project. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
ProjectSummary Summary information for a project.
func (ProjectSummary) String ¶
func (m ProjectSummary) String() string
type UpdateModelDetails ¶
type UpdateModelDetails struct { // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My Model` DisplayName *string `mandatory:"false" json:"displayName"` // A short blurb describing the model. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateModelDetails Details for updating a model.
func (UpdateModelDetails) String ¶
func (m UpdateModelDetails) String() string
type UpdateModelProvenanceDetails ¶
type UpdateModelProvenanceDetails struct { // For model reproducibility purposes. URL of the git repository associated with model training. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` // For model reproducibility purposes. Branch of the git repository associated with model training. GitBranch *string `mandatory:"false" json:"gitBranch"` // For model reproducibility purposes. Commit ID of the git repository associated with model training. GitCommit *string `mandatory:"false" json:"gitCommit"` // For model reproducibility purposes. Path to model artifacts. ScriptDir *string `mandatory:"false" json:"scriptDir"` // For model reproducibility purposes. Path to the python script or notebook in which the model was trained." TrainingScript *string `mandatory:"false" json:"trainingScript"` }
UpdateModelProvenanceDetails Model provenance gives data scientists information about the origin of their model. This information allows data scientists to reproduce the development environment in which the model was trained.
func (UpdateModelProvenanceDetails) String ¶
func (m UpdateModelProvenanceDetails) String() string
type UpdateModelProvenanceRequest ¶
type UpdateModelProvenanceRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Provenance information for the specified model. UpdateModelProvenanceDetails `contributesTo:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
UpdateModelProvenanceRequest wrapper for the UpdateModelProvenance operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateModelProvenance.go.html to see an example of how to use UpdateModelProvenanceRequest.
func (UpdateModelProvenanceRequest) HTTPRequest ¶
func (request UpdateModelProvenanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateModelProvenanceRequest) RetryPolicy ¶
func (request UpdateModelProvenanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateModelProvenanceRequest) String ¶
func (request UpdateModelProvenanceRequest) String() string
type UpdateModelProvenanceResponse ¶
type UpdateModelProvenanceResponse struct { // The underlying http response RawResponse *http.Response // The ModelProvenance instance ModelProvenance `presentIn:"body"` // 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"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` }
UpdateModelProvenanceResponse wrapper for the UpdateModelProvenance operation
func (UpdateModelProvenanceResponse) HTTPResponse ¶
func (response UpdateModelProvenanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateModelProvenanceResponse) String ¶
func (response UpdateModelProvenanceResponse) String() string
type UpdateModelRequest ¶
type UpdateModelRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the model. ModelId *string `mandatory:"true" contributesTo:"path" name:"modelId"` // Details for updating a model. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties. UpdateModelDetails `contributesTo:"body"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
UpdateModelRequest wrapper for the UpdateModel operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateModel.go.html to see an example of how to use UpdateModelRequest.
func (UpdateModelRequest) HTTPRequest ¶
func (request UpdateModelRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateModelRequest) RetryPolicy ¶
func (request UpdateModelRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateModelRequest) String ¶
func (request UpdateModelRequest) String() string
type UpdateModelResponse ¶
type UpdateModelResponse struct { // The underlying http response RawResponse *http.Response // The Model instance Model `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` }
UpdateModelResponse wrapper for the UpdateModel operation
func (UpdateModelResponse) HTTPResponse ¶
func (response UpdateModelResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateModelResponse) String ¶
func (response UpdateModelResponse) String() string
type UpdateNotebookSessionDetails ¶
type UpdateNotebookSessionDetails struct { // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. // Example: `My NotebookSession` DisplayName *string `mandatory:"false" json:"displayName"` NotebookSessionConfigurationDetails *NotebookSessionConfigurationDetails `mandatory:"false" json:"notebookSessionConfigurationDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateNotebookSessionDetails Details for updating a notebook session. `notebookSessionConfigurationDetails` can only be updated while the notebook session is in the `INACTIVE` state. Changes to the `notebookSessionConfigurationDetails` will take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource.
func (UpdateNotebookSessionDetails) String ¶
func (m UpdateNotebookSessionDetails) String() string
type UpdateNotebookSessionRequest ¶
type UpdateNotebookSessionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the notebook session. NotebookSessionId *string `mandatory:"true" contributesTo:"path" name:"notebookSessionId"` // Details for updating a notebook session. `notebookSessionConfigurationDetails` can only be updated while the notebook session is in the `INACTIVE` state. // Changes to the `notebookSessionConfigurationDetails` will take effect the next time the `ActivateNotebookSession` action is invoked on the notebook session resource. UpdateNotebookSessionDetails `contributesTo:"body"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
UpdateNotebookSessionRequest wrapper for the UpdateNotebookSession operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateNotebookSession.go.html to see an example of how to use UpdateNotebookSessionRequest.
func (UpdateNotebookSessionRequest) HTTPRequest ¶
func (request UpdateNotebookSessionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateNotebookSessionRequest) RetryPolicy ¶
func (request UpdateNotebookSessionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateNotebookSessionRequest) String ¶
func (request UpdateNotebookSessionRequest) String() string
type UpdateNotebookSessionResponse ¶
type UpdateNotebookSessionResponse struct { // The underlying http response RawResponse *http.Response // The NotebookSession instance NotebookSession `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` }
UpdateNotebookSessionResponse wrapper for the UpdateNotebookSession operation
func (UpdateNotebookSessionResponse) HTTPResponse ¶
func (response UpdateNotebookSessionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateNotebookSessionResponse) String ¶
func (response UpdateNotebookSessionResponse) String() string
type UpdateProjectDetails ¶
type UpdateProjectDetails struct { // A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // A short blurb describing the project. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateProjectDetails Details for updating a project.
func (UpdateProjectDetails) String ¶
func (m UpdateProjectDetails) String() string
type UpdateProjectRequest ¶
type UpdateProjectRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the project. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // Details for updating a project. You can update the `displayName`, `description`, `freeformTags`, and `definedTags` properties. UpdateProjectDetails `contributesTo:"body"` // 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"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. 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 }
UpdateProjectRequest wrapper for the UpdateProject operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datascience/UpdateProject.go.html to see an example of how to use UpdateProjectRequest.
func (UpdateProjectRequest) HTTPRequest ¶
func (request UpdateProjectRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateProjectRequest) RetryPolicy ¶
func (request UpdateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateProjectRequest) String ¶
func (request UpdateProjectRequest) String() string
type UpdateProjectResponse ¶
type UpdateProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). 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"` }
UpdateProjectResponse wrapper for the UpdateProject operation
func (UpdateProjectResponse) HTTPResponse ¶
func (response UpdateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateProjectResponse) String ¶
func (response UpdateProjectResponse) String() string
type WorkRequest ¶
type WorkRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The type of work the work request is doing. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The time the work request was accepted, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The time the work request was started, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time the work request was finished, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequest An asynchronous work request.
func (WorkRequest) String ¶
func (m WorkRequest) String() string
type WorkRequestError ¶
type WorkRequestError struct { // A short error code that defines the error, meant for programmatic parsing. See API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` // The date and time the error occurred. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError Errors related to a specific work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
type WorkRequestLogEntry ¶
type WorkRequestLogEntry struct { // The description of an action that occurred. Message *string `mandatory:"true" json:"message"` // The date and time the log entry occurred. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestLogEntry Log entries related to a specific work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
type WorkRequestOperationTypeEnum ¶
type WorkRequestOperationTypeEnum string
WorkRequestOperationTypeEnum Enum with underlying type: string
const ( WorkRequestOperationTypeNotebookSessionCreate WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_CREATE" WorkRequestOperationTypeNotebookSessionDelete WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_DELETE" WorkRequestOperationTypeNotebookSessionActivate WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_ACTIVATE" WorkRequestOperationTypeNotebookSessionDeactivate WorkRequestOperationTypeEnum = "NOTEBOOK_SESSION_DEACTIVATE" WorkRequestOperationTypeProjectDelete WorkRequestOperationTypeEnum = "PROJECT_DELETE" WorkRequestOperationTypeWorkrequestCancel WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL" )
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
func GetWorkRequestOperationTypeEnumValues ¶
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
type WorkRequestResource ¶
type WorkRequestResource struct { // The way in which this resource was affected by the work tracked by the work request. ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"` // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path on which the user can issue a GET request to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
WorkRequestResource The properties that define a work request resource.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
type WorkRequestResourceActionTypeEnum ¶
type WorkRequestResourceActionTypeEnum string
WorkRequestResourceActionTypeEnum Enum with underlying type: string
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeRelated WorkRequestResourceActionTypeEnum = "RELATED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" )
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
func GetWorkRequestResourceActionTypeEnumValues ¶
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
type WorkRequestStatusEnum ¶
type WorkRequestStatusEnum string
WorkRequestStatusEnum Enum with underlying type: string
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" WorkRequestStatusCanceling WorkRequestStatusEnum = "CANCELING" WorkRequestStatusCanceled WorkRequestStatusEnum = "CANCELED" )
Set of constants representing the allowable values for WorkRequestStatusEnum
func GetWorkRequestStatusEnumValues ¶
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
type WorkRequestSummary ¶
type WorkRequestSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The type of work the work request is doing. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work request's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The date and time the work request was accepted, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the work request was started, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request was finished, in the timestamp format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequestSummary Summary information for a work request.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
Source Files ¶
- activate_model_request_response.go
- activate_notebook_session_request_response.go
- cancel_work_request_request_response.go
- change_model_compartment_details.go
- change_model_compartment_request_response.go
- change_notebook_session_compartment_details.go
- change_notebook_session_compartment_request_response.go
- change_project_compartment_details.go
- change_project_compartment_request_response.go
- create_model_artifact_request_response.go
- create_model_details.go
- create_model_provenance_details.go
- create_model_provenance_request_response.go
- create_model_request_response.go
- create_notebook_session_details.go
- create_notebook_session_request_response.go
- create_project_details.go
- create_project_request_response.go
- datascience_client.go
- deactivate_model_request_response.go
- deactivate_notebook_session_request_response.go
- delete_model_request_response.go
- delete_notebook_session_request_response.go
- delete_project_request_response.go
- get_model_artifact_content_request_response.go
- get_model_provenance_request_response.go
- get_model_request_response.go
- get_notebook_session_request_response.go
- get_project_request_response.go
- get_work_request_request_response.go
- head_model_artifact_request_response.go
- list_models_request_response.go
- list_notebook_session_shapes_request_response.go
- list_notebook_sessions_request_response.go
- list_projects_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- model.go
- model_lifecycle_state.go
- model_provenance.go
- model_summary.go
- notebook_session.go
- notebook_session_configuration_details.go
- notebook_session_lifecycle_state.go
- notebook_session_shape_summary.go
- notebook_session_summary.go
- project.go
- project_lifecycle_state.go
- project_summary.go
- update_model_details.go
- update_model_provenance_details.go
- update_model_provenance_request_response.go
- update_model_request_response.go
- update_notebook_session_details.go
- update_notebook_session_request_response.go
- update_project_details.go
- update_project_request_response.go
- work_request.go
- work_request_error.go
- work_request_log_entry.go
- work_request_operation_type.go
- work_request_resource.go
- work_request_status.go
- work_request_summary.go