Skip to content

Commit

Permalink
Releasing version 65.49.1
Browse files Browse the repository at this point in the history
Releasing version 65.49.1
  • Loading branch information
oci-dex-release-bot authored Sep 12, 2023
2 parents 76880d3 + 67b7adb commit fed3620
Show file tree
Hide file tree
Showing 322 changed files with 7,035 additions and 498 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)

## 65.49.1 - 2023-09-12
### Added
- Support for SQL tuning sets in Database Management service
- Support for announcement chaining in Announcements service
- Support for automatic promotion of hosts in Stack Monitoring service
- Support for face detection in AI Vision service
- Support for change parameters on list character sets operation in Database Management service
- Support for displaying software sources attached to a managed instance group in OS Management service


## 65.49.0 - 2023-09-05
### Added
- Support for queue channels in the Queue Service
Expand Down
6 changes: 6 additions & 0 deletions aivision/analyze_image_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ type AnalyzeImageResult struct {

ImageText *ImageText `mandatory:"false" json:"imageText"`

// The detected faces.
DetectedFaces []Face `mandatory:"false" json:"detectedFaces"`

// The image classification model version.
ImageClassificationModelVersion *string `mandatory:"false" json:"imageClassificationModelVersion"`

Expand All @@ -38,6 +41,9 @@ type AnalyzeImageResult struct {
// The text detection model version.
TextDetectionModelVersion *string `mandatory:"false" json:"textDetectionModelVersion"`

// The face detection model version.
FaceDetectionModelVersion *string `mandatory:"false" json:"faceDetectionModelVersion"`

// The errors encountered during image analysis.
Errors []ProcessingError `mandatory:"false" json:"errors"`
}
Expand Down
2 changes: 1 addition & 1 deletion aivision/cancel_document_job_request_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CancelDocumentJob.go.html to see an example of how to use CancelDocumentJobRequest.
type CancelDocumentJobRequest struct {

// Document job id.
// The document job ID.
DocumentJobId *string `mandatory:"true" contributesTo:"path" name:"documentJobId"`

// For optimistic concurrency control. In the PUT or DELETE call
Expand Down
2 changes: 1 addition & 1 deletion aivision/cancel_image_job_request_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/CancelImageJob.go.html to see an example of how to use CancelImageJobRequest.
type CancelImageJobRequest struct {

// Image job id.
// The image job ID.
ImageJobId *string `mandatory:"true" contributesTo:"path" name:"imageJobId"`

// For optimistic concurrency control. In the PUT or DELETE call
Expand Down
2 changes: 1 addition & 1 deletion aivision/data_science_labeling_dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
type DataScienceLabelingDataset struct {

// OCID of the Data Labeling dataset.
DatasetId *string `mandatory:"false" json:"datasetId"`
DatasetId *string `mandatory:"true" json:"datasetId"`
}

func (m DataScienceLabelingDataset) String() string {
Expand Down
47 changes: 47 additions & 0 deletions aivision/face.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.

// Vision API
//
// Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
//

package aivision

import (
"fmt"
"github.com/oracle/oci-go-sdk/v65/common"
"strings"
)

// Face The detected face.
type Face struct {

// The confidence score, between 0 and 1.
Confidence *float32 `mandatory:"true" json:"confidence"`

BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"`

// The quality score of the face detected, between 0 and 1.
QualityScore *float32 `mandatory:"true" json:"qualityScore"`

// A point of interest within a face.
Landmarks []Landmark `mandatory:"false" json:"landmarks"`
}

func (m Face) String() string {
return common.PointerString(m)
}

// ValidateEnumValue returns an error when providing an unsupported enum value
// This function is being called during constructing API request process
// Not recommended for calling this function directly
func (m Face) ValidateEnumValue() (bool, error) {
errMessage := []string{}

if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
}
return false, nil
}
57 changes: 57 additions & 0 deletions aivision/face_detection_feature.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.

// Vision API
//
// Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
//

package aivision

import (
"encoding/json"
"fmt"
"github.com/oracle/oci-go-sdk/v65/common"
"strings"
)

// FaceDetectionFeature The face detection parameters.
type FaceDetectionFeature struct {

// The maximum number of results to return.
MaxResults *int `mandatory:"false" json:"maxResults"`

// Whether or not return face landmarks.
ShouldReturnLandmarks *bool `mandatory:"false" json:"shouldReturnLandmarks"`
}

func (m FaceDetectionFeature) String() string {
return common.PointerString(m)
}

// ValidateEnumValue returns an error when providing an unsupported enum value
// This function is being called during constructing API request process
// Not recommended for calling this function directly
func (m FaceDetectionFeature) ValidateEnumValue() (bool, error) {
errMessage := []string{}

if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
}
return false, nil
}

// MarshalJSON marshals to json representation
func (m FaceDetectionFeature) MarshalJSON() (buff []byte, e error) {
type MarshalTypeFaceDetectionFeature FaceDetectionFeature
s := struct {
DiscriminatorParam string `json:"featureType"`
MarshalTypeFaceDetectionFeature
}{
"FACE_DETECTION",
(MarshalTypeFaceDetectionFeature)(m),
}

return json.Marshal(&s)
}
2 changes: 1 addition & 1 deletion aivision/get_document_job_request_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetDocumentJob.go.html to see an example of how to use GetDocumentJobRequest.
type GetDocumentJobRequest struct {

// Document job id.
// The document job ID.
DocumentJobId *string `mandatory:"true" contributesTo:"path" name:"documentJobId"`

// The client request ID for tracing.
Expand Down
2 changes: 1 addition & 1 deletion aivision/get_image_job_request_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/aivision/GetImageJob.go.html to see an example of how to use GetImageJobRequest.
type GetImageJobRequest struct {

// Image job id.
// The image job ID.
ImageJobId *string `mandatory:"true" contributesTo:"path" name:"imageJobId"`

// The client request ID for tracing.
Expand Down
8 changes: 8 additions & 0 deletions aivision/image_feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ func (m *imagefeature) UnmarshalPolymorphicJSON(data []byte) (interface{}, error
mm := ImageTextDetectionFeature{}
err = json.Unmarshal(data, &mm)
return mm, err
case "FACE_DETECTION":
mm := FaceDetectionFeature{}
err = json.Unmarshal(data, &mm)
return mm, err
case "OBJECT_DETECTION":
mm := ImageObjectDetectionFeature{}
err = json.Unmarshal(data, &mm)
Expand Down Expand Up @@ -92,18 +96,21 @@ const (
ImageFeatureFeatureTypeImageClassification ImageFeatureFeatureTypeEnum = "IMAGE_CLASSIFICATION"
ImageFeatureFeatureTypeObjectDetection ImageFeatureFeatureTypeEnum = "OBJECT_DETECTION"
ImageFeatureFeatureTypeTextDetection ImageFeatureFeatureTypeEnum = "TEXT_DETECTION"
ImageFeatureFeatureTypeFaceDetection ImageFeatureFeatureTypeEnum = "FACE_DETECTION"
)

var mappingImageFeatureFeatureTypeEnum = map[string]ImageFeatureFeatureTypeEnum{
"IMAGE_CLASSIFICATION": ImageFeatureFeatureTypeImageClassification,
"OBJECT_DETECTION": ImageFeatureFeatureTypeObjectDetection,
"TEXT_DETECTION": ImageFeatureFeatureTypeTextDetection,
"FACE_DETECTION": ImageFeatureFeatureTypeFaceDetection,
}

var mappingImageFeatureFeatureTypeEnumLowerCase = map[string]ImageFeatureFeatureTypeEnum{
"image_classification": ImageFeatureFeatureTypeImageClassification,
"object_detection": ImageFeatureFeatureTypeObjectDetection,
"text_detection": ImageFeatureFeatureTypeTextDetection,
"face_detection": ImageFeatureFeatureTypeFaceDetection,
}

// GetImageFeatureFeatureTypeEnumValues Enumerates the set of values for ImageFeatureFeatureTypeEnum
Expand All @@ -121,6 +128,7 @@ func GetImageFeatureFeatureTypeEnumStringValues() []string {
"IMAGE_CLASSIFICATION",
"OBJECT_DETECTION",
"TEXT_DETECTION",
"FACE_DETECTION",
}
}

Expand Down
102 changes: 102 additions & 0 deletions aivision/landmark.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.

// Vision API
//
// Using Vision, you can upload images to detect and classify objects in them. If you have lots of images, you can process them in batch using asynchronous API endpoints. Vision's features are thematically split between Document AI for document-centric images, and Image Analysis for object and scene-based images. Pretrained models and custom models are supported.
//

package aivision

import (
"fmt"
"github.com/oracle/oci-go-sdk/v65/common"
"strings"
)

// Landmark The landmark on the face.
type Landmark struct {

// The face landmark type
Type LandmarkTypeEnum `mandatory:"true" json:"type"`

// The X-axis normalized coordinate.
X *float32 `mandatory:"true" json:"x"`

// The Y-axis normalized coordinate.
Y *float32 `mandatory:"true" json:"y"`
}

func (m Landmark) String() string {
return common.PointerString(m)
}

// ValidateEnumValue returns an error when providing an unsupported enum value
// This function is being called during constructing API request process
// Not recommended for calling this function directly
func (m Landmark) ValidateEnumValue() (bool, error) {
errMessage := []string{}
if _, ok := GetMappingLandmarkTypeEnum(string(m.Type)); !ok && m.Type != "" {
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetLandmarkTypeEnumStringValues(), ",")))
}

if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
}
return false, nil
}

// LandmarkTypeEnum Enum with underlying type: string
type LandmarkTypeEnum string

// Set of constants representing the allowable values for LandmarkTypeEnum
const (
LandmarkTypeLeftEye LandmarkTypeEnum = "LEFT_EYE"
LandmarkTypeRightEye LandmarkTypeEnum = "RIGHT_EYE"
LandmarkTypeNoseTip LandmarkTypeEnum = "NOSE_TIP"
LandmarkTypeLeftEdgeOfMouth LandmarkTypeEnum = "LEFT_EDGE_OF_MOUTH"
LandmarkTypeRightEdgeOfMouth LandmarkTypeEnum = "RIGHT_EDGE_OF_MOUTH"
)

var mappingLandmarkTypeEnum = map[string]LandmarkTypeEnum{
"LEFT_EYE": LandmarkTypeLeftEye,
"RIGHT_EYE": LandmarkTypeRightEye,
"NOSE_TIP": LandmarkTypeNoseTip,
"LEFT_EDGE_OF_MOUTH": LandmarkTypeLeftEdgeOfMouth,
"RIGHT_EDGE_OF_MOUTH": LandmarkTypeRightEdgeOfMouth,
}

var mappingLandmarkTypeEnumLowerCase = map[string]LandmarkTypeEnum{
"left_eye": LandmarkTypeLeftEye,
"right_eye": LandmarkTypeRightEye,
"nose_tip": LandmarkTypeNoseTip,
"left_edge_of_mouth": LandmarkTypeLeftEdgeOfMouth,
"right_edge_of_mouth": LandmarkTypeRightEdgeOfMouth,
}

// GetLandmarkTypeEnumValues Enumerates the set of values for LandmarkTypeEnum
func GetLandmarkTypeEnumValues() []LandmarkTypeEnum {
values := make([]LandmarkTypeEnum, 0)
for _, v := range mappingLandmarkTypeEnum {
values = append(values, v)
}
return values
}

// GetLandmarkTypeEnumStringValues Enumerates the set of values in String for LandmarkTypeEnum
func GetLandmarkTypeEnumStringValues() []string {
return []string{
"LEFT_EYE",
"RIGHT_EYE",
"NOSE_TIP",
"LEFT_EDGE_OF_MOUTH",
"RIGHT_EDGE_OF_MOUTH",
}
}

// GetMappingLandmarkTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMappingLandmarkTypeEnum(val string) (LandmarkTypeEnum, bool) {
enum, ok := mappingLandmarkTypeEnumLowerCase[strings.ToLower(val)]
return enum, ok
}
6 changes: 3 additions & 3 deletions aivision/object_storage_dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ import (
type ObjectStorageDataset struct {

// The namespace name of the Object Storage bucket that contains the input data file.
NamespaceName *string `mandatory:"false" json:"namespaceName"`
NamespaceName *string `mandatory:"true" json:"namespaceName"`

// The name of the Object Storage bucket that contains the input data file.
BucketName *string `mandatory:"false" json:"bucketName"`
BucketName *string `mandatory:"true" json:"bucketName"`

// The object name of the input data file.
ObjectName *string `mandatory:"false" json:"objectName"`
ObjectName *string `mandatory:"true" json:"objectName"`
}

func (m ObjectStorageDataset) String() string {
Expand Down
8 changes: 8 additions & 0 deletions announcementsservice/announcement.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ type Announcement struct {
// The name of the environment that this announcement pertains to.
EnvironmentName *string `mandatory:"false" json:"environmentName"`

// The sequence of connected announcements, or announcement chain, that this announcement belongs to. Related announcements share the same chain ID.
ChainId *string `mandatory:"false" json:"chainId"`

// A detailed explanation of the event, expressed by using Markdown language. Avoid entering
// confidential information.
Description *string `mandatory:"false" json:"description"`
Expand Down Expand Up @@ -185,6 +188,11 @@ func (m Announcement) GetPlatformType() BaseAnnouncementPlatformTypeEnum {
return m.PlatformType
}

//GetChainId returns ChainId
func (m Announcement) GetChainId() *string {
return m.ChainId
}

func (m Announcement) String() string {
return common.PointerString(m)
}
Expand Down
4 changes: 2 additions & 2 deletions announcementsservice/announcement_subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ type AnnouncementSubscription struct {
// A list of filter groups for the announcement subscription. A filter group is a combination of multiple filters applied to announcements for matching purposes.
FilterGroups map[string]FilterGroup `mandatory:"false" json:"filterGroups"`

// (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR.
// (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR.
PreferredLanguage *string `mandatory:"false" json:"preferredLanguage"`

// The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.
// The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
PreferredTimeZone *string `mandatory:"false" json:"preferredTimeZone"`

// Usage of system tag keys. These predefined keys are scoped to namespaces.
Expand Down
Loading

0 comments on commit fed3620

Please sign in to comment.