oci-go-sdk: github.com/oracle/oci-go-sdk/datascience Index | Files

package datascience

import "github.com/oracle/oci-go-sdk/datascience"

Index

Package 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

type ActivateModelRequest Uses

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

func (ActivateModelRequest) HTTPRequest Uses

func (request ActivateModelRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ActivateModelRequest) RetryPolicy Uses

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

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

func (ActivateModelRequest) String Uses

func (request ActivateModelRequest) String() string

type ActivateModelResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (ActivateModelResponse) String Uses

func (response ActivateModelResponse) String() string

type ActivateNotebookSessionRequest Uses

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

func (ActivateNotebookSessionRequest) HTTPRequest Uses

func (request ActivateNotebookSessionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ActivateNotebookSessionRequest) RetryPolicy Uses

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

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

func (ActivateNotebookSessionRequest) String Uses

func (request ActivateNotebookSessionRequest) String() string

type ActivateNotebookSessionResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (ActivateNotebookSessionResponse) String Uses

func (response ActivateNotebookSessionResponse) String() string

type CancelWorkRequestRequest Uses

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

func (CancelWorkRequestRequest) HTTPRequest Uses

func (request CancelWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy Uses

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

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

func (CancelWorkRequestRequest) String Uses

func (request CancelWorkRequestRequest) String() string

type CancelWorkRequestResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String Uses

func (response CancelWorkRequestResponse) String() string

type ChangeModelCompartmentDetails Uses

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 Uses

func (m ChangeModelCompartmentDetails) String() string

type ChangeModelCompartmentRequest Uses

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

func (ChangeModelCompartmentRequest) HTTPRequest Uses

func (request ChangeModelCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeModelCompartmentRequest) RetryPolicy Uses

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

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

func (ChangeModelCompartmentRequest) String Uses

func (request ChangeModelCompartmentRequest) String() string

type ChangeModelCompartmentResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (ChangeModelCompartmentResponse) String Uses

func (response ChangeModelCompartmentResponse) String() string

type ChangeNotebookSessionCompartmentDetails Uses

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 Uses

func (m ChangeNotebookSessionCompartmentDetails) String() string

type ChangeNotebookSessionCompartmentRequest Uses

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

func (ChangeNotebookSessionCompartmentRequest) HTTPRequest Uses

func (request ChangeNotebookSessionCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeNotebookSessionCompartmentRequest) RetryPolicy Uses

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

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

func (ChangeNotebookSessionCompartmentRequest) String Uses

func (request ChangeNotebookSessionCompartmentRequest) String() string

type ChangeNotebookSessionCompartmentResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (ChangeNotebookSessionCompartmentResponse) String Uses

func (response ChangeNotebookSessionCompartmentResponse) String() string

type ChangeProjectCompartmentDetails Uses

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 Uses

func (m ChangeProjectCompartmentDetails) String() string

type ChangeProjectCompartmentRequest Uses

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

func (ChangeProjectCompartmentRequest) HTTPRequest Uses

func (request ChangeProjectCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeProjectCompartmentRequest) RetryPolicy Uses

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

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

func (ChangeProjectCompartmentRequest) String Uses

func (request ChangeProjectCompartmentRequest) String() string

type ChangeProjectCompartmentResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (ChangeProjectCompartmentResponse) String Uses

func (response ChangeProjectCompartmentResponse) String() string

type CreateModelArtifactRequest Uses

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

func (CreateModelArtifactRequest) HTTPRequest Uses

func (request CreateModelArtifactRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateModelArtifactRequest) RetryPolicy Uses

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

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

func (CreateModelArtifactRequest) String Uses

func (request CreateModelArtifactRequest) String() string

type CreateModelArtifactResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (CreateModelArtifactResponse) String Uses

func (response CreateModelArtifactResponse) String() string

type CreateModelDetails Uses

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 Uses

func (m CreateModelDetails) String() string

type CreateModelProvenanceDetails Uses

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 Uses

func (m CreateModelProvenanceDetails) String() string

type CreateModelProvenanceRequest Uses

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

func (CreateModelProvenanceRequest) HTTPRequest Uses

func (request CreateModelProvenanceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateModelProvenanceRequest) RetryPolicy Uses

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

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

func (CreateModelProvenanceRequest) String Uses

func (request CreateModelProvenanceRequest) String() string

type CreateModelProvenanceResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (CreateModelProvenanceResponse) String Uses

func (response CreateModelProvenanceResponse) String() string

type CreateModelRequest Uses

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

func (CreateModelRequest) HTTPRequest Uses

func (request CreateModelRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateModelRequest) RetryPolicy Uses

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

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

func (CreateModelRequest) String Uses

func (request CreateModelRequest) String() string

type CreateModelResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (CreateModelResponse) String Uses

func (response CreateModelResponse) String() string

type CreateNotebookSessionDetails Uses

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 Uses

func (m CreateNotebookSessionDetails) String() string

type CreateNotebookSessionRequest Uses

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

func (CreateNotebookSessionRequest) HTTPRequest Uses

func (request CreateNotebookSessionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateNotebookSessionRequest) RetryPolicy Uses

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

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

func (CreateNotebookSessionRequest) String Uses

func (request CreateNotebookSessionRequest) String() string

type CreateNotebookSessionResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (CreateNotebookSessionResponse) String Uses

func (response CreateNotebookSessionResponse) String() string

type CreateProjectDetails Uses

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 Uses

func (m CreateProjectDetails) String() string

type CreateProjectRequest Uses

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

func (CreateProjectRequest) HTTPRequest Uses

func (request CreateProjectRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateProjectRequest) RetryPolicy Uses

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

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

func (CreateProjectRequest) String Uses

func (request CreateProjectRequest) String() string

type CreateProjectResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (CreateProjectResponse) String Uses

func (response CreateProjectResponse) String() string

type DataScienceClient Uses

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

DataScienceClient a client for DataScience

func NewDataScienceClientWithConfigurationProvider Uses

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 Uses

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 Uses

func (client DataScienceClient) ActivateModel(ctx context.Context, request ActivateModelRequest) (response ActivateModelResponse, err error)

ActivateModel Activates the model.

func (DataScienceClient) ActivateNotebookSession Uses

func (client DataScienceClient) ActivateNotebookSession(ctx context.Context, request ActivateNotebookSessionRequest) (response ActivateNotebookSessionResponse, err error)

ActivateNotebookSession Activates the notebook session.

func (DataScienceClient) CancelWorkRequest Uses

func (client DataScienceClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)

CancelWorkRequest Cancels a work request that has not started.

func (DataScienceClient) ChangeModelCompartment Uses

func (client DataScienceClient) ChangeModelCompartment(ctx context.Context, request ChangeModelCompartmentRequest) (response ChangeModelCompartmentResponse, err error)

ChangeModelCompartment Moves a model resource into a different compartment.

func (DataScienceClient) ChangeNotebookSessionCompartment Uses

func (client DataScienceClient) ChangeNotebookSessionCompartment(ctx context.Context, request ChangeNotebookSessionCompartmentRequest) (response ChangeNotebookSessionCompartmentResponse, err error)

ChangeNotebookSessionCompartment Moves a notebook session resource into a different compartment.

func (DataScienceClient) ChangeProjectCompartment Uses

func (client DataScienceClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)

ChangeProjectCompartment Moves a project resource into a different compartment.

func (*DataScienceClient) ConfigurationProvider Uses

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

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

func (DataScienceClient) CreateModel Uses

func (client DataScienceClient) CreateModel(ctx context.Context, request CreateModelRequest) (response CreateModelResponse, err error)

CreateModel Creates a new model.

func (DataScienceClient) CreateModelArtifact Uses

func (client DataScienceClient) CreateModelArtifact(ctx context.Context, request CreateModelArtifactRequest) (response CreateModelArtifactResponse, err error)

CreateModelArtifact Creates model artifact for specified model.

func (DataScienceClient) CreateModelProvenance Uses

func (client DataScienceClient) CreateModelProvenance(ctx context.Context, request CreateModelProvenanceRequest) (response CreateModelProvenanceResponse, err error)

CreateModelProvenance Creates provenance information for the specified model.

func (DataScienceClient) CreateNotebookSession Uses

func (client DataScienceClient) CreateNotebookSession(ctx context.Context, request CreateNotebookSessionRequest) (response CreateNotebookSessionResponse, err error)

CreateNotebookSession Creates a new notebook session.

func (DataScienceClient) CreateProject Uses

func (client DataScienceClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)

CreateProject Creates a new project.

func (DataScienceClient) DeactivateModel Uses

func (client DataScienceClient) DeactivateModel(ctx context.Context, request DeactivateModelRequest) (response DeactivateModelResponse, err error)

DeactivateModel Deactivates the model.

func (DataScienceClient) DeactivateNotebookSession Uses

func (client DataScienceClient) DeactivateNotebookSession(ctx context.Context, request DeactivateNotebookSessionRequest) (response DeactivateNotebookSessionResponse, err error)

DeactivateNotebookSession Deactivates the notebook session.

func (DataScienceClient) DeleteModel Uses

func (client DataScienceClient) DeleteModel(ctx context.Context, request DeleteModelRequest) (response DeleteModelResponse, err error)

DeleteModel Deletes the specified model.

func (DataScienceClient) DeleteNotebookSession Uses

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.

func (DataScienceClient) DeleteProject Uses

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.

func (DataScienceClient) GetModel Uses

func (client DataScienceClient) GetModel(ctx context.Context, request GetModelRequest) (response GetModelResponse, err error)

GetModel Gets the specified model's information.

func (DataScienceClient) GetModelArtifactContent Uses

func (client DataScienceClient) GetModelArtifactContent(ctx context.Context, request GetModelArtifactContentRequest) (response GetModelArtifactContentResponse, err error)

GetModelArtifactContent Downloads model artifact content for specified model.

func (DataScienceClient) GetModelProvenance Uses

func (client DataScienceClient) GetModelProvenance(ctx context.Context, request GetModelProvenanceRequest) (response GetModelProvenanceResponse, err error)

GetModelProvenance Gets provenance information for specified model.

func (DataScienceClient) GetNotebookSession Uses

func (client DataScienceClient) GetNotebookSession(ctx context.Context, request GetNotebookSessionRequest) (response GetNotebookSessionResponse, err error)

GetNotebookSession Gets the specified notebook session's information.

func (DataScienceClient) GetProject Uses

func (client DataScienceClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)

GetProject Gets the specified project's information.

func (DataScienceClient) GetWorkRequest Uses

func (client DataScienceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the specified work request's information.

func (DataScienceClient) HeadModelArtifact Uses

func (client DataScienceClient) HeadModelArtifact(ctx context.Context, request HeadModelArtifactRequest) (response HeadModelArtifactResponse, err error)

HeadModelArtifact Gets model artifact metadata for specified model.

func (DataScienceClient) ListModels Uses

func (client DataScienceClient) ListModels(ctx context.Context, request ListModelsRequest) (response ListModelsResponse, err error)

ListModels Lists models in the specified compartment.

func (DataScienceClient) ListNotebookSessionShapes Uses

func (client DataScienceClient) ListNotebookSessionShapes(ctx context.Context, request ListNotebookSessionShapesRequest) (response ListNotebookSessionShapesResponse, err error)

ListNotebookSessionShapes Lists the valid notebook session shapes.

func (DataScienceClient) ListNotebookSessions Uses

func (client DataScienceClient) ListNotebookSessions(ctx context.Context, request ListNotebookSessionsRequest) (response ListNotebookSessionsResponse, err error)

ListNotebookSessions Lists notebook sessions in the specified compartment.

func (DataScienceClient) ListProjects Uses

func (client DataScienceClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)

ListProjects Lists projects in the specified compartment.

func (DataScienceClient) ListWorkRequestErrors Uses

func (client DataScienceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Lists work request errors for the specified work request.

func (DataScienceClient) ListWorkRequestLogs Uses

func (client DataScienceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Lists work request logs for the specified work request.

func (DataScienceClient) ListWorkRequests Uses

func (client DataScienceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists work requests in the specified compartment.

func (*DataScienceClient) SetRegion Uses

func (client *DataScienceClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DataScienceClient) UpdateModel Uses

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.

func (DataScienceClient) UpdateModelProvenance Uses

func (client DataScienceClient) UpdateModelProvenance(ctx context.Context, request UpdateModelProvenanceRequest) (response UpdateModelProvenanceResponse, err error)

UpdateModelProvenance Updates provenance information for the specified model.

func (DataScienceClient) UpdateNotebookSession Uses

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.

func (DataScienceClient) UpdateProject Uses

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.

type DeactivateModelRequest Uses

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

func (DeactivateModelRequest) HTTPRequest Uses

func (request DeactivateModelRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeactivateModelRequest) RetryPolicy Uses

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

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

func (DeactivateModelRequest) String Uses

func (request DeactivateModelRequest) String() string

type DeactivateModelResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (DeactivateModelResponse) String Uses

func (response DeactivateModelResponse) String() string

type DeactivateNotebookSessionRequest Uses

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

func (DeactivateNotebookSessionRequest) HTTPRequest Uses

func (request DeactivateNotebookSessionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeactivateNotebookSessionRequest) RetryPolicy Uses

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

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

func (DeactivateNotebookSessionRequest) String Uses

func (request DeactivateNotebookSessionRequest) String() string

type DeactivateNotebookSessionResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (DeactivateNotebookSessionResponse) String Uses

func (response DeactivateNotebookSessionResponse) String() string

type DeleteModelRequest Uses

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

func (DeleteModelRequest) HTTPRequest Uses

func (request DeleteModelRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteModelRequest) RetryPolicy Uses

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

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

func (DeleteModelRequest) String Uses

func (request DeleteModelRequest) String() string

type DeleteModelResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (DeleteModelResponse) String Uses

func (response DeleteModelResponse) String() string

type DeleteNotebookSessionRequest Uses

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

func (DeleteNotebookSessionRequest) HTTPRequest Uses

func (request DeleteNotebookSessionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteNotebookSessionRequest) RetryPolicy Uses

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

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

func (DeleteNotebookSessionRequest) String Uses

func (request DeleteNotebookSessionRequest) String() string

type DeleteNotebookSessionResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (DeleteNotebookSessionResponse) String Uses

func (response DeleteNotebookSessionResponse) String() string

type DeleteProjectRequest Uses

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

func (DeleteProjectRequest) HTTPRequest Uses

func (request DeleteProjectRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteProjectRequest) RetryPolicy Uses

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

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

func (DeleteProjectRequest) String Uses

func (request DeleteProjectRequest) String() string

type DeleteProjectResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (DeleteProjectResponse) String Uses

func (response DeleteProjectResponse) String() string

type GetModelArtifactContentRequest Uses

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

func (GetModelArtifactContentRequest) HTTPRequest Uses

func (request GetModelArtifactContentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetModelArtifactContentRequest) RetryPolicy Uses

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

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

func (GetModelArtifactContentRequest) String Uses

func (request GetModelArtifactContentRequest) String() string

type GetModelArtifactContentResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (GetModelArtifactContentResponse) String Uses

func (response GetModelArtifactContentResponse) String() string

type GetModelProvenanceRequest Uses

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

func (GetModelProvenanceRequest) HTTPRequest Uses

func (request GetModelProvenanceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetModelProvenanceRequest) RetryPolicy Uses

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

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

func (GetModelProvenanceRequest) String Uses

func (request GetModelProvenanceRequest) String() string

type GetModelProvenanceResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (GetModelProvenanceResponse) String Uses

func (response GetModelProvenanceResponse) String() string

type GetModelRequest Uses

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

func (GetModelRequest) HTTPRequest Uses

func (request GetModelRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetModelRequest) RetryPolicy Uses

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

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

func (GetModelRequest) String Uses

func (request GetModelRequest) String() string

type GetModelResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (GetModelResponse) String Uses

func (response GetModelResponse) String() string

type GetNotebookSessionRequest Uses

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

func (GetNotebookSessionRequest) HTTPRequest Uses

func (request GetNotebookSessionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetNotebookSessionRequest) RetryPolicy Uses

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

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

func (GetNotebookSessionRequest) String Uses

func (request GetNotebookSessionRequest) String() string

type GetNotebookSessionResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (GetNotebookSessionResponse) String Uses

func (response GetNotebookSessionResponse) String() string

type GetProjectRequest Uses

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

func (GetProjectRequest) HTTPRequest Uses

func (request GetProjectRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetProjectRequest) RetryPolicy Uses

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

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

func (GetProjectRequest) String Uses

func (request GetProjectRequest) String() string

type GetProjectResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (GetProjectResponse) String Uses

func (response GetProjectResponse) String() string

type GetWorkRequestRequest Uses

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

func (GetWorkRequestRequest) HTTPRequest Uses

func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy Uses

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

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

func (GetWorkRequestRequest) String Uses

func (request GetWorkRequestRequest) String() string

type GetWorkRequestResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String Uses

func (response GetWorkRequestResponse) String() string

type HeadModelArtifactRequest Uses

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

func (HeadModelArtifactRequest) HTTPRequest Uses

func (request HeadModelArtifactRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (HeadModelArtifactRequest) RetryPolicy Uses

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

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

func (HeadModelArtifactRequest) String Uses

func (request HeadModelArtifactRequest) String() string

type HeadModelArtifactResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (HeadModelArtifactResponse) String Uses

func (response HeadModelArtifactResponse) String() string

type ListModelsLifecycleStateEnum Uses

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 Uses

func GetListModelsLifecycleStateEnumValues() []ListModelsLifecycleStateEnum

GetListModelsLifecycleStateEnumValues Enumerates the set of values for ListModelsLifecycleStateEnum

type ListModelsRequest Uses

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

func (ListModelsRequest) HTTPRequest Uses

func (request ListModelsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListModelsRequest) RetryPolicy Uses

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

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

func (ListModelsRequest) String Uses

func (request ListModelsRequest) String() string

type ListModelsResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (ListModelsResponse) String Uses

func (response ListModelsResponse) String() string

type ListModelsSortByEnum Uses

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 Uses

func GetListModelsSortByEnumValues() []ListModelsSortByEnum

GetListModelsSortByEnumValues Enumerates the set of values for ListModelsSortByEnum

type ListModelsSortOrderEnum Uses

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 Uses

func GetListModelsSortOrderEnumValues() []ListModelsSortOrderEnum

GetListModelsSortOrderEnumValues Enumerates the set of values for ListModelsSortOrderEnum

type ListNotebookSessionShapesRequest Uses

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

func (ListNotebookSessionShapesRequest) HTTPRequest Uses

func (request ListNotebookSessionShapesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListNotebookSessionShapesRequest) RetryPolicy Uses

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

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

func (ListNotebookSessionShapesRequest) String Uses

func (request ListNotebookSessionShapesRequest) String() string

type ListNotebookSessionShapesResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (ListNotebookSessionShapesResponse) String Uses

func (response ListNotebookSessionShapesResponse) String() string

type ListNotebookSessionsLifecycleStateEnum Uses

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 Uses

func GetListNotebookSessionsLifecycleStateEnumValues() []ListNotebookSessionsLifecycleStateEnum

GetListNotebookSessionsLifecycleStateEnumValues Enumerates the set of values for ListNotebookSessionsLifecycleStateEnum

type ListNotebookSessionsRequest Uses

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

func (ListNotebookSessionsRequest) HTTPRequest Uses

func (request ListNotebookSessionsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListNotebookSessionsRequest) RetryPolicy Uses

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

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

func (ListNotebookSessionsRequest) String Uses

func (request ListNotebookSessionsRequest) String() string

type ListNotebookSessionsResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (ListNotebookSessionsResponse) String Uses

func (response ListNotebookSessionsResponse) String() string

type ListNotebookSessionsSortByEnum Uses

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 Uses

func GetListNotebookSessionsSortByEnumValues() []ListNotebookSessionsSortByEnum

GetListNotebookSessionsSortByEnumValues Enumerates the set of values for ListNotebookSessionsSortByEnum

type ListNotebookSessionsSortOrderEnum Uses

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 Uses

func GetListNotebookSessionsSortOrderEnumValues() []ListNotebookSessionsSortOrderEnum

GetListNotebookSessionsSortOrderEnumValues Enumerates the set of values for ListNotebookSessionsSortOrderEnum

type ListProjectsLifecycleStateEnum Uses

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 Uses

func GetListProjectsLifecycleStateEnumValues() []ListProjectsLifecycleStateEnum

GetListProjectsLifecycleStateEnumValues Enumerates the set of values for ListProjectsLifecycleStateEnum

type ListProjectsRequest Uses

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

func (ListProjectsRequest) HTTPRequest Uses

func (request ListProjectsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProjectsRequest) RetryPolicy Uses

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

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

func (ListProjectsRequest) String Uses

func (request ListProjectsRequest) String() string

type ListProjectsResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (ListProjectsResponse) String Uses

func (response ListProjectsResponse) String() string

type ListProjectsSortByEnum Uses

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 Uses

func GetListProjectsSortByEnumValues() []ListProjectsSortByEnum

GetListProjectsSortByEnumValues Enumerates the set of values for ListProjectsSortByEnum

type ListProjectsSortOrderEnum Uses

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 Uses

func GetListProjectsSortOrderEnumValues() []ListProjectsSortOrderEnum

GetListProjectsSortOrderEnumValues Enumerates the set of values for ListProjectsSortOrderEnum

type ListWorkRequestErrorsRequest Uses

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

func (ListWorkRequestErrorsRequest) HTTPRequest Uses

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy Uses

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

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

func (ListWorkRequestErrorsRequest) String Uses

func (request ListWorkRequestErrorsRequest) String() string

type ListWorkRequestErrorsResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String Uses

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest Uses

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

func (ListWorkRequestLogsRequest) HTTPRequest Uses

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy Uses

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

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

func (ListWorkRequestLogsRequest) String Uses

func (request ListWorkRequestLogsRequest) String() string

type ListWorkRequestLogsResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String Uses

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsOperationTypeEnum Uses

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 Uses

func GetListWorkRequestsOperationTypeEnumValues() []ListWorkRequestsOperationTypeEnum

GetListWorkRequestsOperationTypeEnumValues Enumerates the set of values for ListWorkRequestsOperationTypeEnum

type ListWorkRequestsRequest Uses

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

func (ListWorkRequestsRequest) HTTPRequest Uses

func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy Uses

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

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

func (ListWorkRequestsRequest) String Uses

func (request ListWorkRequestsRequest) String() string

type ListWorkRequestsResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String Uses

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum Uses

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 Uses

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

type ListWorkRequestsSortOrderEnum Uses

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 Uses

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

type ListWorkRequestsStatusEnum Uses

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 Uses

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

type Model Uses

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.

func (Model) String Uses

func (m Model) String() string

type ModelLifecycleStateEnum Uses

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 Uses

func GetModelLifecycleStateEnumValues() []ModelLifecycleStateEnum

GetModelLifecycleStateEnumValues Enumerates the set of values for ModelLifecycleStateEnum

type ModelProvenance Uses

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 Uses

func (m ModelProvenance) String() string

type ModelSummary Uses

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 Uses

func (m ModelSummary) String() string

type NotebookSession Uses

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 Uses

func (m NotebookSession) String() string

type NotebookSessionConfigurationDetails Uses

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 Uses

func (m NotebookSessionConfigurationDetails) String() string

type NotebookSessionLifecycleStateEnum Uses

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 Uses

func GetNotebookSessionLifecycleStateEnumValues() []NotebookSessionLifecycleStateEnum

GetNotebookSessionLifecycleStateEnumValues Enumerates the set of values for NotebookSessionLifecycleStateEnum

type NotebookSessionShapeSummary Uses

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 Uses

func (m NotebookSessionShapeSummary) String() string

type NotebookSessionSummary Uses

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 Uses

func (m NotebookSessionSummary) String() string

type Project Uses

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.

func (Project) String Uses

func (m Project) String() string

type ProjectLifecycleStateEnum Uses

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 Uses

func GetProjectLifecycleStateEnumValues() []ProjectLifecycleStateEnum

GetProjectLifecycleStateEnumValues Enumerates the set of values for ProjectLifecycleStateEnum

type ProjectSummary Uses

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 Uses

func (m ProjectSummary) String() string

type UpdateModelDetails Uses

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 Uses

func (m UpdateModelDetails) String() string

type UpdateModelProvenanceDetails Uses

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 Uses

func (m UpdateModelProvenanceDetails) String() string

type UpdateModelProvenanceRequest Uses

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

func (UpdateModelProvenanceRequest) HTTPRequest Uses

func (request UpdateModelProvenanceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateModelProvenanceRequest) RetryPolicy Uses

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

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

func (UpdateModelProvenanceRequest) String Uses

func (request UpdateModelProvenanceRequest) String() string

type UpdateModelProvenanceResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (UpdateModelProvenanceResponse) String Uses

func (response UpdateModelProvenanceResponse) String() string

type UpdateModelRequest Uses

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

func (UpdateModelRequest) HTTPRequest Uses

func (request UpdateModelRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateModelRequest) RetryPolicy Uses

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

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

func (UpdateModelRequest) String Uses

func (request UpdateModelRequest) String() string

type UpdateModelResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (UpdateModelResponse) String Uses

func (response UpdateModelResponse) String() string

type UpdateNotebookSessionDetails Uses

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 Uses

func (m UpdateNotebookSessionDetails) String() string

type UpdateNotebookSessionRequest Uses

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

func (UpdateNotebookSessionRequest) HTTPRequest Uses

func (request UpdateNotebookSessionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateNotebookSessionRequest) RetryPolicy Uses

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

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

func (UpdateNotebookSessionRequest) String Uses

func (request UpdateNotebookSessionRequest) String() string

type UpdateNotebookSessionResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (UpdateNotebookSessionResponse) String Uses

func (response UpdateNotebookSessionResponse) String() string

type UpdateProjectDetails Uses

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 Uses

func (m UpdateProjectDetails) String() string

type UpdateProjectRequest Uses

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

func (UpdateProjectRequest) HTTPRequest Uses

func (request UpdateProjectRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateProjectRequest) RetryPolicy Uses

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

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

func (UpdateProjectRequest) String Uses

func (request UpdateProjectRequest) String() string

type UpdateProjectResponse Uses

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 Uses

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

HTTPResponse implements the OCIResponse interface

func (UpdateProjectResponse) String Uses

func (response UpdateProjectResponse) String() string

type WorkRequest Uses

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 Uses

func (m WorkRequest) String() string

type WorkRequestError Uses

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 Uses

func (m WorkRequestError) String() string

type WorkRequestLogEntry Uses

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 Uses

func (m WorkRequestLogEntry) String() string

type WorkRequestOperationTypeEnum Uses

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 Uses

func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum

type WorkRequestResource Uses

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 Uses

func (m WorkRequestResource) String() string

type WorkRequestResourceActionTypeEnum Uses

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 Uses

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestStatusEnum Uses

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 Uses

func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum

GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum

type WorkRequestSummary Uses

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 Uses

func (m WorkRequestSummary) String() string

Package datascience imports 5 packages (graph). Updated 2020-04-07. Refresh now. Tools for package owners.