Skip to content

Commit adec0de

Browse files
Releasing version 65.103.0
Releasing version 65.103.0
2 parents f3b4f58 + bf3d621 commit adec0de

File tree

375 files changed

+12527
-6919
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

375 files changed

+12527
-6919
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file.
44

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

7+
## 65.103.0 - 2025-10-28
8+
### Added
9+
- Support for calling Oracle Cloud Infrastructure services in the eu-madrid-3 region
10+
- Support for Zero Trust Packet Routing (ZPR) security attributes for mount targets in the File Storage service
11+
- Support for Object Storage bi-directional sync in the File Storage with Lustre service
12+
- Support for renaming autonomous databases in the Database service
13+
- Support for vanity connection urls and vanity url details when updating autonomous databases in the Database service
14+
- Support for Apple as a social Identity Domains Provider (IDP) in the Identity Domains service
15+
- Support for APEX cloud integrations in the Database Tools service
16+
- Support for automatic disaster recovery based on database events in the Disaster Recovery service 
17+
- Support for providing non-translation words in the AI Language service  
18+
- Support for new mode for detecting PII entities in the AI Language service
19+
- Support for online conversion of IPv4 load balancer to dual stack IPv4 and IPv6 load balancer in the Load Balancer service
20+
- Support for compute hosts in subtree when listing compute hosts in the Compute service
21+
- Support for additional parameters when creating IPv4 Flex CIDR in the Networking service
22+
- Support for additional parameters when creating subnet with multiple CIDR blocks in the Networking service  
23+
24+
### Breaking Changes
25+
- The field `ComputeType` was removed in the models `CreateEndpointDetails`,`EndpointSummary`, and `Endpoint` in the AI Language service
26+
727
## 65.102.1 - 2025-10-21
828
### Added
929
- Support for LDAP schema version RFC2307bis when creating and updating mount targets in the File Storage service

ailanguage/create_endpoint_details.go

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ type CreateEndpointDetails struct {
2929
// A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
3030
DisplayName *string `mandatory:"false" json:"displayName"`
3131

32-
// Compute infra type for endpoint.
33-
ComputeType CreateEndpointDetailsComputeTypeEnum `mandatory:"false" json:"computeType,omitempty"`
34-
3532
// Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
3633
Alias *string `mandatory:"false" json:"alias"`
3734

@@ -60,53 +57,8 @@ func (m CreateEndpointDetails) String() string {
6057
func (m CreateEndpointDetails) ValidateEnumValue() (bool, error) {
6158
errMessage := []string{}
6259

63-
if _, ok := GetMappingCreateEndpointDetailsComputeTypeEnum(string(m.ComputeType)); !ok && m.ComputeType != "" {
64-
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ComputeType: %s. Supported values are: %s.", m.ComputeType, strings.Join(GetCreateEndpointDetailsComputeTypeEnumStringValues(), ",")))
65-
}
6660
if len(errMessage) > 0 {
6761
return true, fmt.Errorf("%s", strings.Join(errMessage, "\n"))
6862
}
6963
return false, nil
7064
}
71-
72-
// CreateEndpointDetailsComputeTypeEnum Enum with underlying type: string
73-
type CreateEndpointDetailsComputeTypeEnum string
74-
75-
// Set of constants representing the allowable values for CreateEndpointDetailsComputeTypeEnum
76-
const (
77-
CreateEndpointDetailsComputeTypeCpu CreateEndpointDetailsComputeTypeEnum = "CPU"
78-
CreateEndpointDetailsComputeTypeGpu CreateEndpointDetailsComputeTypeEnum = "GPU"
79-
)
80-
81-
var mappingCreateEndpointDetailsComputeTypeEnum = map[string]CreateEndpointDetailsComputeTypeEnum{
82-
"CPU": CreateEndpointDetailsComputeTypeCpu,
83-
"GPU": CreateEndpointDetailsComputeTypeGpu,
84-
}
85-
86-
var mappingCreateEndpointDetailsComputeTypeEnumLowerCase = map[string]CreateEndpointDetailsComputeTypeEnum{
87-
"cpu": CreateEndpointDetailsComputeTypeCpu,
88-
"gpu": CreateEndpointDetailsComputeTypeGpu,
89-
}
90-
91-
// GetCreateEndpointDetailsComputeTypeEnumValues Enumerates the set of values for CreateEndpointDetailsComputeTypeEnum
92-
func GetCreateEndpointDetailsComputeTypeEnumValues() []CreateEndpointDetailsComputeTypeEnum {
93-
values := make([]CreateEndpointDetailsComputeTypeEnum, 0)
94-
for _, v := range mappingCreateEndpointDetailsComputeTypeEnum {
95-
values = append(values, v)
96-
}
97-
return values
98-
}
99-
100-
// GetCreateEndpointDetailsComputeTypeEnumStringValues Enumerates the set of values in String for CreateEndpointDetailsComputeTypeEnum
101-
func GetCreateEndpointDetailsComputeTypeEnumStringValues() []string {
102-
return []string{
103-
"CPU",
104-
"GPU",
105-
}
106-
}
107-
108-
// GetMappingCreateEndpointDetailsComputeTypeEnum performs case Insensitive comparison on enum value and return the desired enum
109-
func GetMappingCreateEndpointDetailsComputeTypeEnum(val string) (CreateEndpointDetailsComputeTypeEnum, bool) {
110-
enum, ok := mappingCreateEndpointDetailsComputeTypeEnumLowerCase[strings.ToLower(val)]
111-
return enum, ok
112-
}

ailanguage/endpoint.go

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ type Endpoint struct {
4444
// Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
4545
Alias *string `mandatory:"false" json:"alias"`
4646

47-
// Compute infra type for endpoint.
48-
ComputeType EndpointComputeTypeEnum `mandatory:"false" json:"computeType,omitempty"`
49-
5047
// A short description of the endpoint.
5148
Description *string `mandatory:"false" json:"description"`
5249

@@ -85,57 +82,12 @@ func (m Endpoint) ValidateEnumValue() (bool, error) {
8582
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetEndpointLifecycleStateEnumStringValues(), ",")))
8683
}
8784

88-
if _, ok := GetMappingEndpointComputeTypeEnum(string(m.ComputeType)); !ok && m.ComputeType != "" {
89-
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ComputeType: %s. Supported values are: %s.", m.ComputeType, strings.Join(GetEndpointComputeTypeEnumStringValues(), ",")))
90-
}
9185
if len(errMessage) > 0 {
9286
return true, fmt.Errorf("%s", strings.Join(errMessage, "\n"))
9387
}
9488
return false, nil
9589
}
9690

97-
// EndpointComputeTypeEnum Enum with underlying type: string
98-
type EndpointComputeTypeEnum string
99-
100-
// Set of constants representing the allowable values for EndpointComputeTypeEnum
101-
const (
102-
EndpointComputeTypeCpu EndpointComputeTypeEnum = "CPU"
103-
EndpointComputeTypeGpu EndpointComputeTypeEnum = "GPU"
104-
)
105-
106-
var mappingEndpointComputeTypeEnum = map[string]EndpointComputeTypeEnum{
107-
"CPU": EndpointComputeTypeCpu,
108-
"GPU": EndpointComputeTypeGpu,
109-
}
110-
111-
var mappingEndpointComputeTypeEnumLowerCase = map[string]EndpointComputeTypeEnum{
112-
"cpu": EndpointComputeTypeCpu,
113-
"gpu": EndpointComputeTypeGpu,
114-
}
115-
116-
// GetEndpointComputeTypeEnumValues Enumerates the set of values for EndpointComputeTypeEnum
117-
func GetEndpointComputeTypeEnumValues() []EndpointComputeTypeEnum {
118-
values := make([]EndpointComputeTypeEnum, 0)
119-
for _, v := range mappingEndpointComputeTypeEnum {
120-
values = append(values, v)
121-
}
122-
return values
123-
}
124-
125-
// GetEndpointComputeTypeEnumStringValues Enumerates the set of values in String for EndpointComputeTypeEnum
126-
func GetEndpointComputeTypeEnumStringValues() []string {
127-
return []string{
128-
"CPU",
129-
"GPU",
130-
}
131-
}
132-
133-
// GetMappingEndpointComputeTypeEnum performs case Insensitive comparison on enum value and return the desired enum
134-
func GetMappingEndpointComputeTypeEnum(val string) (EndpointComputeTypeEnum, bool) {
135-
enum, ok := mappingEndpointComputeTypeEnumLowerCase[strings.ToLower(val)]
136-
return enum, ok
137-
}
138-
13991
// EndpointLifecycleStateEnum Enum with underlying type: string
14092
type EndpointLifecycleStateEnum string
14193

ailanguage/endpoint_summary.go

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ type EndpointSummary struct {
4444
// Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
4545
Alias *string `mandatory:"false" json:"alias"`
4646

47-
// Compute infra type for endpoint.
48-
ComputeType EndpointSummaryComputeTypeEnum `mandatory:"false" json:"computeType,omitempty"`
49-
5047
// A short description of the endpoint.
5148
Description *string `mandatory:"false" json:"description"`
5249

@@ -82,53 +79,8 @@ func (m EndpointSummary) ValidateEnumValue() (bool, error) {
8279
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetEndpointLifecycleStateEnumStringValues(), ",")))
8380
}
8481

85-
if _, ok := GetMappingEndpointSummaryComputeTypeEnum(string(m.ComputeType)); !ok && m.ComputeType != "" {
86-
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ComputeType: %s. Supported values are: %s.", m.ComputeType, strings.Join(GetEndpointSummaryComputeTypeEnumStringValues(), ",")))
87-
}
8882
if len(errMessage) > 0 {
8983
return true, fmt.Errorf("%s", strings.Join(errMessage, "\n"))
9084
}
9185
return false, nil
9286
}
93-
94-
// EndpointSummaryComputeTypeEnum Enum with underlying type: string
95-
type EndpointSummaryComputeTypeEnum string
96-
97-
// Set of constants representing the allowable values for EndpointSummaryComputeTypeEnum
98-
const (
99-
EndpointSummaryComputeTypeCpu EndpointSummaryComputeTypeEnum = "CPU"
100-
EndpointSummaryComputeTypeGpu EndpointSummaryComputeTypeEnum = "GPU"
101-
)
102-
103-
var mappingEndpointSummaryComputeTypeEnum = map[string]EndpointSummaryComputeTypeEnum{
104-
"CPU": EndpointSummaryComputeTypeCpu,
105-
"GPU": EndpointSummaryComputeTypeGpu,
106-
}
107-
108-
var mappingEndpointSummaryComputeTypeEnumLowerCase = map[string]EndpointSummaryComputeTypeEnum{
109-
"cpu": EndpointSummaryComputeTypeCpu,
110-
"gpu": EndpointSummaryComputeTypeGpu,
111-
}
112-
113-
// GetEndpointSummaryComputeTypeEnumValues Enumerates the set of values for EndpointSummaryComputeTypeEnum
114-
func GetEndpointSummaryComputeTypeEnumValues() []EndpointSummaryComputeTypeEnum {
115-
values := make([]EndpointSummaryComputeTypeEnum, 0)
116-
for _, v := range mappingEndpointSummaryComputeTypeEnum {
117-
values = append(values, v)
118-
}
119-
return values
120-
}
121-
122-
// GetEndpointSummaryComputeTypeEnumStringValues Enumerates the set of values in String for EndpointSummaryComputeTypeEnum
123-
func GetEndpointSummaryComputeTypeEnumStringValues() []string {
124-
return []string{
125-
"CPU",
126-
"GPU",
127-
}
128-
}
129-
130-
// GetMappingEndpointSummaryComputeTypeEnum performs case Insensitive comparison on enum value and return the desired enum
131-
func GetMappingEndpointSummaryComputeTypeEnum(val string) (EndpointSummaryComputeTypeEnum, bool) {
132-
enum, ok := mappingEndpointSummaryComputeTypeEnumLowerCase[strings.ToLower(val)]
133-
return enum, ok
134-
}

ailanguage/pii_entity.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ type PiiEntity struct {
7777

7878
// Unique id of the entity.
7979
Id *string `mandatory:"false" json:"id"`
80+
81+
// Redacted entity text
82+
RelexifyText *string `mandatory:"false" json:"relexifyText"`
8083
}
8184

8285
func (m PiiEntity) String() string {

ailanguage/pii_entity_masking.go

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ func (m *piientitymasking) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
6262

6363
var err error
6464
switch m.Mode {
65+
case "RELEXIFY":
66+
mm := PiiEntityRelexify{}
67+
err = json.Unmarshal(data, &mm)
68+
return mm, err
6569
case "REPLACE":
6670
mm := PiiEntityReplace{}
6771
err = json.Unmarshal(data, &mm)
@@ -111,21 +115,24 @@ type PiiEntityMaskingModeEnum string
111115

112116
// Set of constants representing the allowable values for PiiEntityMaskingModeEnum
113117
const (
114-
PiiEntityMaskingModeReplace PiiEntityMaskingModeEnum = "REPLACE"
115-
PiiEntityMaskingModeMask PiiEntityMaskingModeEnum = "MASK"
116-
PiiEntityMaskingModeRemove PiiEntityMaskingModeEnum = "REMOVE"
118+
PiiEntityMaskingModeReplace PiiEntityMaskingModeEnum = "REPLACE"
119+
PiiEntityMaskingModeMask PiiEntityMaskingModeEnum = "MASK"
120+
PiiEntityMaskingModeRemove PiiEntityMaskingModeEnum = "REMOVE"
121+
PiiEntityMaskingModeRelexify PiiEntityMaskingModeEnum = "RELEXIFY"
117122
)
118123

119124
var mappingPiiEntityMaskingModeEnum = map[string]PiiEntityMaskingModeEnum{
120-
"REPLACE": PiiEntityMaskingModeReplace,
121-
"MASK": PiiEntityMaskingModeMask,
122-
"REMOVE": PiiEntityMaskingModeRemove,
125+
"REPLACE": PiiEntityMaskingModeReplace,
126+
"MASK": PiiEntityMaskingModeMask,
127+
"REMOVE": PiiEntityMaskingModeRemove,
128+
"RELEXIFY": PiiEntityMaskingModeRelexify,
123129
}
124130

125131
var mappingPiiEntityMaskingModeEnumLowerCase = map[string]PiiEntityMaskingModeEnum{
126-
"replace": PiiEntityMaskingModeReplace,
127-
"mask": PiiEntityMaskingModeMask,
128-
"remove": PiiEntityMaskingModeRemove,
132+
"replace": PiiEntityMaskingModeReplace,
133+
"mask": PiiEntityMaskingModeMask,
134+
"remove": PiiEntityMaskingModeRemove,
135+
"relexify": PiiEntityMaskingModeRelexify,
129136
}
130137

131138
// GetPiiEntityMaskingModeEnumValues Enumerates the set of values for PiiEntityMaskingModeEnum
@@ -143,6 +150,7 @@ func GetPiiEntityMaskingModeEnumStringValues() []string {
143150
"REPLACE",
144151
"MASK",
145152
"REMOVE",
153+
"RELEXIFY",
146154
}
147155
}
148156

ailanguage/pii_entity_relexify.go

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2+
// 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.
3+
// Code generated. DO NOT EDIT.
4+
5+
// Language API
6+
//
7+
// OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
8+
// pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
9+
// This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
10+
//
11+
12+
package ailanguage
13+
14+
import (
15+
"encoding/json"
16+
"fmt"
17+
"github.com/oracle/oci-go-sdk/v65/common"
18+
"strings"
19+
)
20+
21+
// PiiEntityRelexify Replace with entity value with the same context
22+
type PiiEntityRelexify struct {
23+
24+
// List of offsets/entities to be removed from anonymization.
25+
Exclude []string `mandatory:"false" json:"exclude"`
26+
27+
// To include excluded entities from masking in detected entities or not.
28+
ShouldDetect *bool `mandatory:"false" json:"shouldDetect"`
29+
}
30+
31+
// GetExclude returns Exclude
32+
func (m PiiEntityRelexify) GetExclude() []string {
33+
return m.Exclude
34+
}
35+
36+
// GetShouldDetect returns ShouldDetect
37+
func (m PiiEntityRelexify) GetShouldDetect() *bool {
38+
return m.ShouldDetect
39+
}
40+
41+
func (m PiiEntityRelexify) String() string {
42+
return common.PointerString(m)
43+
}
44+
45+
// ValidateEnumValue returns an error when providing an unsupported enum value
46+
// This function is being called during constructing API request process
47+
// Not recommended for calling this function directly
48+
func (m PiiEntityRelexify) ValidateEnumValue() (bool, error) {
49+
errMessage := []string{}
50+
51+
if len(errMessage) > 0 {
52+
return true, fmt.Errorf("%s", strings.Join(errMessage, "\n"))
53+
}
54+
return false, nil
55+
}
56+
57+
// MarshalJSON marshals to json representation
58+
func (m PiiEntityRelexify) MarshalJSON() (buff []byte, e error) {
59+
type MarshalTypePiiEntityRelexify PiiEntityRelexify
60+
s := struct {
61+
DiscriminatorParam string `json:"mode"`
62+
MarshalTypePiiEntityRelexify
63+
}{
64+
"RELEXIFY",
65+
(MarshalTypePiiEntityRelexify)(m),
66+
}
67+
68+
return json.Marshal(&s)
69+
}

0 commit comments

Comments
 (0)