Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.43.0"
".": "0.44.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 657
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-ba1eb162beed31f03386720005830bdaad3be08b9e08a07b2f10a2dd124648b8.yml
openapi_spec_hash: 416a4779f456d266b805fef5a54cfbc7
config_hash: d2defa3f4caff86ec6f4b8890f74b295
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-8c3bd3792724737d30da0f0200f0c589f9942ea3a028fcc9bcd56f3490ffc29a.yml
openapi_spec_hash: 7b184f4e52554b89cadf11b43f395583
config_hash: aa5a9dd05b6324fcb454d0694e5901a3
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 0.44.0 (2026-04-27)

Full Changelog: [v0.43.0...v0.44.0](https://github.com/G-Core/gcore-go/compare/v0.43.0...v0.44.0)

### Features

* **api:** aggregated API specs update ([6ccf2d9](https://github.com/G-Core/gcore-go/commit/6ccf2d9b6b09929f4263ef9cb852da3263fd63f7))
* **api:** aggregated API specs update ([57e9f6c](https://github.com/G-Core/gcore-go/commit/57e9f6cca6fca71a4a6943c99b2fd7117225850f))
* **go:** add default http client with timeout ([f1faaf7](https://github.com/G-Core/gcore-go/commit/f1faaf7fdc53e194d8d9e9891fc7c7f03ded5b3a))
* **storage:** support TF for ssh keys ([10bd55a](https://github.com/G-Core/gcore-go/commit/10bd55ae6569d32d0645350b0265d040b4f8bb71))


### Chores

* **internal:** more robust bootstrap script ([75728a0](https://github.com/G-Core/gcore-go/commit/75728a052de21ca8e28d85a3145f56f793100490))

## 0.43.0 (2026-04-22)

Full Changelog: [v0.42.0...v0.43.0](https://github.com/G-Core/gcore-go/compare/v0.42.0...v0.43.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/G-Core/gcore-go@v0.43.0'
go get -u 'github.com/G-Core/gcore-go@v0.44.0'
```

<!-- x-release-please-end -->
Expand Down
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type Client struct {
// GCORE_CLOUD_PROJECT_ID, GCORE_CLOUD_REGION_ID, GCORE_BASE_URL). This should be
// used to initialize new clients.
func DefaultClientOptions() []option.RequestOption {
defaults := []option.RequestOption{option.WithEnvironmentProduction()}
defaults := []option.RequestOption{option.WithHTTPClient(defaultHTTPClient()), option.WithEnvironmentProduction()}
if o, ok := os.LookupEnv("GCORE_BASE_URL"); ok {
defaults = append(defaults, option.WithBaseURL(o))
}
Expand Down
4 changes: 2 additions & 2 deletions cloud/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1097,11 +1097,11 @@ Methods:

Response Types:

- <a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud">cloud</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud#PgConfValidation">PgConfValidation</a>
- <a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud">cloud</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud#DatabasePostgresCustomConfigurationValidateResponse">DatabasePostgresCustomConfigurationValidateResponse</a>

Methods:

- <code title="post /cloud/v1/dbaas/postgres/validate_pg_conf/{project_id}/{region_id}">client.Cloud.Databases.Postgres.CustomConfigurations.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud#DatabasePostgresCustomConfigurationService.Validate">Validate</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud">cloud</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud#DatabasePostgresCustomConfigurationValidateParams">DatabasePostgresCustomConfigurationValidateParams</a>) (\*<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud">cloud</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud#PgConfValidation">PgConfValidation</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /cloud/v1/dbaas/postgres/validate_pg_conf/{project_id}/{region_id}">client.Cloud.Databases.Postgres.CustomConfigurations.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud#DatabasePostgresCustomConfigurationService.Validate">Validate</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud">cloud</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud#DatabasePostgresCustomConfigurationValidateParams">DatabasePostgresCustomConfigurationValidateParams</a>) (\*<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud">cloud</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/cloud#DatabasePostgresCustomConfigurationValidateResponse">DatabasePostgresCustomConfigurationValidateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## VolumeSnapshots

Expand Down
22 changes: 17 additions & 5 deletions cloud/databasepostgrescluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,10 @@ const (
)

type DatabasePostgresClusterNewParams struct {
// Project ID
ProjectID param.Opt[int64] `path:"project_id,omitzero" api:"required" json:"-"`
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// Region ID
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// High Availability settings
HighAvailability DatabasePostgresClusterNewParamsHighAvailability `json:"high_availability,omitzero" api:"required"`
// PostgreSQL cluster name
Expand Down Expand Up @@ -757,8 +759,10 @@ func (r *DatabasePostgresClusterNewParamsUser) UnmarshalJSON(data []byte) error
}

type DatabasePostgresClusterUpdateParams struct {
// Project ID
ProjectID param.Opt[int64] `path:"project_id,omitzero" api:"required" json:"-"`
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// Region ID
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// New instance RAM and CPU
Flavor DatabasePostgresClusterUpdateParamsFlavor `json:"flavor,omitzero"`
// New High Availability settings
Expand Down Expand Up @@ -942,10 +946,14 @@ func (r *DatabasePostgresClusterUpdateParamsUser) UnmarshalJSON(data []byte) err
}

type DatabasePostgresClusterListParams struct {
// Project ID
ProjectID param.Opt[int64] `path:"project_id,omitzero" api:"required" json:"-"`
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// Region ID
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// Maximum number of clusters to return
Limit param.Opt[int64] `query:"limit,omitzero" json:"-"`
// Filter clusters by name
Name param.Opt[string] `query:"name,omitzero" json:"-"`
// Number of clusters to skip
Offset param.Opt[int64] `query:"offset,omitzero" json:"-"`
paramObj
Expand All @@ -961,13 +969,17 @@ func (r DatabasePostgresClusterListParams) URLQuery() (v url.Values, err error)
}

type DatabasePostgresClusterDeleteParams struct {
// Project ID
ProjectID param.Opt[int64] `path:"project_id,omitzero" api:"required" json:"-"`
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// Region ID
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
paramObj
}

type DatabasePostgresClusterGetParams struct {
// Project ID
ProjectID param.Opt[int64] `path:"project_id,omitzero" api:"required" json:"-"`
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// Region ID
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
paramObj
}
1 change: 1 addition & 0 deletions cloud/databasepostgrescluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ func TestDatabasePostgresClusterListWithOptionalParams(t *testing.T) {
ProjectID: gcore.Int(0),
RegionID: gcore.Int(0),
Limit: gcore.Int(0),
Name: gcore.String("name"),
Offset: gcore.Int(0),
})
if err != nil {
Expand Down
18 changes: 12 additions & 6 deletions cloud/databasepostgresclusterusercredential.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,21 @@ func (r *PostgresUserCredentials) UnmarshalJSON(data []byte) error {
}

type DatabasePostgresClusterUserCredentialGetParams struct {
ProjectID param.Opt[int64] `path:"project_id,omitzero" api:"required" json:"-"`
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
ClusterName string `path:"cluster_name" api:"required" json:"-"`
// Project ID
ProjectID param.Opt[int64] `path:"project_id,omitzero" api:"required" json:"-"`
// Region ID
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// Cluster name
ClusterName string `path:"cluster_name" api:"required" json:"-"`
paramObj
}

type DatabasePostgresClusterUserCredentialRegenerateParams struct {
ProjectID param.Opt[int64] `path:"project_id,omitzero" api:"required" json:"-"`
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
ClusterName string `path:"cluster_name" api:"required" json:"-"`
// Project ID
ProjectID param.Opt[int64] `path:"project_id,omitzero" api:"required" json:"-"`
// Region ID
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// Cluster name
ClusterName string `path:"cluster_name" api:"required" json:"-"`
paramObj
}
4 changes: 3 additions & 1 deletion cloud/databasepostgresconfiguration.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ func (r *PostgresConfigurationStorageClass) UnmarshalJSON(data []byte) error {
}

type DatabasePostgresConfigurationGetParams struct {
// Project ID
ProjectID param.Opt[int64] `path:"project_id,omitzero" api:"required" json:"-"`
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// Region ID
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
paramObj
}
12 changes: 7 additions & 5 deletions cloud/databasepostgrescustomconfiguration.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func NewDatabasePostgresCustomConfigurationService(opts ...option.RequestOption)
}

// Validate a custom PostgreSQL configuration file.
func (r *DatabasePostgresCustomConfigurationService) Validate(ctx context.Context, params DatabasePostgresCustomConfigurationValidateParams, opts ...option.RequestOption) (res *PgConfValidation, err error) {
func (r *DatabasePostgresCustomConfigurationService) Validate(ctx context.Context, params DatabasePostgresCustomConfigurationValidateParams, opts ...option.RequestOption) (res *DatabasePostgresCustomConfigurationValidateResponse, err error) {
opts = slices.Concat(r.Options, opts)
precfg, err := requestconfig.PreRequestOptions(opts...)
if err != nil {
Expand All @@ -58,7 +58,7 @@ func (r *DatabasePostgresCustomConfigurationService) Validate(ctx context.Contex
return res, err
}

type PgConfValidation struct {
type DatabasePostgresCustomConfigurationValidateResponse struct {
// Errors list
Errors []string `json:"errors" api:"required"`
// Validity of pg.conf file
Expand All @@ -73,14 +73,16 @@ type PgConfValidation struct {
}

// Returns the unmodified JSON received from the API
func (r PgConfValidation) RawJSON() string { return r.JSON.raw }
func (r *PgConfValidation) UnmarshalJSON(data []byte) error {
func (r DatabasePostgresCustomConfigurationValidateResponse) RawJSON() string { return r.JSON.raw }
func (r *DatabasePostgresCustomConfigurationValidateResponse) UnmarshalJSON(data []byte) error {
return apijson.UnmarshalRoot(data, r)
}

type DatabasePostgresCustomConfigurationValidateParams struct {
// Project ID
ProjectID param.Opt[int64] `path:"project_id,omitzero" api:"required" json:"-"`
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// Region ID
RegionID param.Opt[int64] `path:"region_id,omitzero" api:"required" json:"-"`
// PostgreSQL configuration
PgConf string `json:"pg_conf" api:"required"`
// PostgreSQL version
Expand Down
2 changes: 2 additions & 0 deletions cloud/loadbalancerpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,8 @@ type LoadBalancerPoolListParams struct {
ListenerID param.Opt[string] `query:"listener_id,omitzero" format:"uuid4" json:"-"`
// Load Balancer ID
LoadBalancerID param.Opt[string] `query:"load_balancer_id,omitzero" format:"uuid4" json:"-"`
// Filter by name
Name param.Opt[string] `query:"name,omitzero" json:"-"`
// Optional. Offset value is used to exclude the first set of records from the
// result
Offset param.Opt[int64] `query:"offset,omitzero" json:"-"`
Expand Down
1 change: 1 addition & 0 deletions cloud/loadbalancerpool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func TestLoadBalancerPoolListWithOptionalParams(t *testing.T) {
Limit: gcore.Int(1000),
ListenerID: gcore.String("00000000-0000-4000-8000-000000000000"),
LoadBalancerID: gcore.String("00000000-0000-4000-8000-000000000000"),
Name: gcore.String("lb-pool-name"),
Offset: gcore.Int(0),
})
if err != nil {
Expand Down
24 changes: 24 additions & 0 deletions default_http_client.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

package gcore

import (
"net/http"
"time"
)

// defaultResponseHeaderTimeout bounds the time between a fully written request
// and the server's response headers. It does not apply to the response body,
// so long-running streams are unaffected. Without this, a server that accepts
// the connection but never responds would hang the request indefinitely.
const defaultResponseHeaderTimeout = 10 * time.Minute

// defaultHTTPClient returns an [*http.Client] used when the caller does not
// supply one via [option.WithHTTPClient]. It clones [http.DefaultTransport]
// and adds a [http.Transport.ResponseHeaderTimeout] so stuck connections
// fail fast instead of compounding across retries.
func defaultHTTPClient() *http.Client {
transport := http.DefaultTransport.(*http.Transport).Clone()
transport.ResponseHeaderTimeout = defaultResponseHeaderTimeout
return &http.Client{Transport: transport}
}
12 changes: 6 additions & 6 deletions iam/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,19 +332,19 @@ func (r *UserGetResponse) UnmarshalJSON(data []byte) error {

type UserUpdateParams struct {
// User's name.
Name param.Opt[string] `json:"name,omitzero" api:"required"`
Name param.Opt[string] `json:"name,omitzero"`
// User's phone.
Phone param.Opt[string] `json:"phone,omitzero" api:"required"`
// System field. List of auth types available for the account.
AuthTypes []AuthType `json:"auth_types,omitzero" api:"required"`
Phone param.Opt[string] `json:"phone,omitzero"`
// User's email address.
Email string `json:"email" api:"required" format:"email"`
Email param.Opt[string] `json:"email,omitzero" format:"email"`
// System field. List of auth types available for the account.
AuthTypes []AuthType `json:"auth_types,omitzero"`
// User's language.
//
// Defines language of the control panel and email messages.
//
// Any of "de", "en", "ru", "zh", "az".
Lang UserLanguage `json:"lang,omitzero" api:"required"`
Lang UserLanguage `json:"lang,omitzero"`
paramObj
}

Expand Down
4 changes: 2 additions & 2 deletions iam/user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"github.com/G-Core/gcore-go/option"
)

func TestUserUpdate(t *testing.T) {
func TestUserUpdateWithOptionalParams(t *testing.T) {
t.Skip("skipped: PutUser schema requires read-only fields on PATCH, see IMP-1903")
baseURL := "http://localhost:4010"
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
Expand All @@ -32,7 +32,7 @@
0,
iam.UserUpdateParams{
AuthTypes: []iam.AuthType{iam.AuthTypePassword},
Email: "dev@stainless.com",
Email: gcore.String("dev@stainless.com"),

Check failure on line 35 in iam/user_test.go

View workflow job for this annotation

GitHub Actions / detect-breaking-changes

cannot use "dev@stainless.com" (untyped string constant) as param.Opt[string] value in struct literal
Lang: iam.UserLanguageDe,
Name: gcore.String("name"),
Phone: gcore.String("phone"),
Expand Down
2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "0.43.0" // x-release-please-version
const PackageVersion = "0.44.0" // x-release-please-version
2 changes: 1 addition & 1 deletion scripts/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

cd "$(dirname "$0")/.."

if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "${SKIP_BREW:-}" != "1" ] && [ -t 0 ]; then
brew bundle check >/dev/null 2>&1 || {
echo -n "==> Install Homebrew dependencies? (y/N): "
read -r response
Expand Down
3 changes: 1 addition & 2 deletions storage/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ Methods:
Response Types:

- <a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage">storage</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#Bucket">Bucket</a>
- <a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage">storage</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#BucketCreated">BucketCreated</a>

Methods:

- <code title="post /storage/v4/object_storages/{storage_id}/buckets">client.Storage.ObjectStorages.Buckets.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#ObjectStorageBucketService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, storageID <a href="https://pkg.go.dev/builtin#int64">int64</a>, body <a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage">storage</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#ObjectStorageBucketNewParams">ObjectStorageBucketNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage">storage</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#BucketCreated">BucketCreated</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /storage/v4/object_storages/{storage_id}/buckets">client.Storage.ObjectStorages.Buckets.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#ObjectStorageBucketService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, storageID <a href="https://pkg.go.dev/builtin#int64">int64</a>, body <a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage">storage</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#ObjectStorageBucketNewParams">ObjectStorageBucketNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage">storage</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#Bucket">Bucket</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /storage/v4/object_storages/{storage_id}/buckets/{bucket_name}">client.Storage.ObjectStorages.Buckets.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#ObjectStorageBucketService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bucketName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage">storage</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#ObjectStorageBucketUpdateParams">ObjectStorageBucketUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage">storage</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#Bucket">Bucket</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /storage/v4/object_storages/{storage_id}/buckets">client.Storage.ObjectStorages.Buckets.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#ObjectStorageBucketService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, storageID <a href="https://pkg.go.dev/builtin#int64">int64</a>, query <a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage">storage</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#ObjectStorageBucketListParams">ObjectStorageBucketListParams</a>) (\*<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/packages/pagination#OffsetPage">OffsetPage</a>[<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage">storage</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#Bucket">Bucket</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /storage/v4/object_storages/{storage_id}/buckets/{bucket_name}">client.Storage.ObjectStorages.Buckets.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#ObjectStorageBucketService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bucketName <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage">storage</a>.<a href="https://pkg.go.dev/github.com/G-Core/gcore-go/storage#ObjectStorageBucketDeleteParams">ObjectStorageBucketDeleteParams</a>) <a href="https://pkg.go.dev/builtin#error">error</a></code>
Expand Down
Loading
Loading