Skip to content

Commit c74168d

Browse files
committed
feat: update generated APIs
1 parent a599ef1 commit c74168d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/rdb/v1/rdb_sdk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2228,7 +2228,7 @@ type ListDatabasesRequest struct {
22282228
OrderBy ListDatabasesRequestOrderBy `json:"-"`
22292229

22302230
// SkipSizeRetrieval: whether to skip the retrieval of each database size. If true, the size of each returned database will be set to 0.
2231-
SkipSizeRetrieval bool `json:"-"`
2231+
SkipSizeRetrieval *bool `json:"-"`
22322232

22332233
Page *int32 `json:"-"`
22342234

@@ -3560,7 +3560,7 @@ func (s *API) RenewInstanceCertificate(req *RenewInstanceCertificateRequest, opt
35603560
return nil
35613561
}
35623562

3563-
// GetInstanceMetrics: Retrieve the time series metrics of a given Database Instance. You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`.
3563+
// Deprecated: GetInstanceMetrics: Retrieve the time series metrics of a given Database Instance. You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`. This method is deprecated and will be removed in a future version.
35643564
func (s *API) GetInstanceMetrics(req *GetInstanceMetricsRequest, opts ...scw.RequestOption) (*InstanceMetrics, error) {
35653565
var err error
35663566

0 commit comments

Comments
 (0)