Skip to content

Commit 3effdf2

Browse files
committed
feat: update generated APIs
1 parent 44f4a1d commit 3effdf2

File tree

1 file changed

+27
-9
lines changed

1 file changed

+27
-9
lines changed

api/product_catalog/v2alpha1/product_catalog_sdk.go

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ const (
6262
ListPublicCatalogProductsRequestProductTypeGenerativeAPIs = ListPublicCatalogProductsRequestProductType("generative_apis")
6363
// Include the Load Balancer information in the response.
6464
ListPublicCatalogProductsRequestProductTypeLoadBalancer = ListPublicCatalogProductsRequestProductType("load_balancer")
65+
// Include the Secret Manager information in the response.
66+
ListPublicCatalogProductsRequestProductTypeSecretManager = ListPublicCatalogProductsRequestProductType("secret_manager")
67+
// Include the Key Manager information in the response.
68+
ListPublicCatalogProductsRequestProductTypeKeyManager = ListPublicCatalogProductsRequestProductType("key_manager")
6569
)
6670

6771
func (enum ListPublicCatalogProductsRequestProductType) String() string {
@@ -84,6 +88,8 @@ func (enum ListPublicCatalogProductsRequestProductType) Values() []ListPublicCat
8488
"managed_inference",
8589
"generative_apis",
8690
"load_balancer",
91+
"secret_manager",
92+
"key_manager",
8793
}
8894
}
8995

@@ -656,6 +662,9 @@ type PublicCatalogProductPropertiesInstance struct {
656662
RecommendedReplacementOfferIDs []string `json:"recommended_replacement_offer_ids"`
657663
}
658664

665+
// PublicCatalogProductPropertiesKeyManager: public catalog product properties key manager.
666+
type PublicCatalogProductPropertiesKeyManager struct{}
667+
659668
// PublicCatalogProductPropertiesLoadBalancer: public catalog product properties load balancer.
660669
type PublicCatalogProductPropertiesLoadBalancer struct{}
661670

@@ -668,6 +677,9 @@ type PublicCatalogProductPropertiesManagedInference struct {
668677
// PublicCatalogProductPropertiesObjectStorage: public catalog product properties object storage.
669678
type PublicCatalogProductPropertiesObjectStorage struct{}
670679

680+
// PublicCatalogProductPropertiesSecretManager: public catalog product properties secret manager.
681+
type PublicCatalogProductPropertiesSecretManager struct{}
682+
671683
// PublicCatalogProductEnvironmentalImpactEstimation: public catalog product environmental impact estimation.
672684
type PublicCatalogProductEnvironmentalImpactEstimation struct {
673685
KgCo2Equivalent *float32 `json:"kg_co2_equivalent"`
@@ -706,40 +718,46 @@ type PublicCatalogProductProperties struct {
706718
Hardware *PublicCatalogProductPropertiesHardware `json:"hardware"`
707719

708720
// Dedibox: the properties of Dedibox products.
709-
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer must be set.
721+
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer, SecretManager, KeyManager must be set.
710722
Dedibox *PublicCatalogProductPropertiesDedibox `json:"dedibox,omitempty"`
711723

712724
// ElasticMetal: the properties of Elastic Metal products.
713-
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer must be set.
725+
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer, SecretManager, KeyManager must be set.
714726
ElasticMetal *PublicCatalogProductPropertiesElasticMetal `json:"elastic_metal,omitempty"`
715727

716728
// AppleSilicon: the properties of Apple Silicon products.
717-
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer must be set.
729+
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer, SecretManager, KeyManager must be set.
718730
AppleSilicon *PublicCatalogProductPropertiesAppleSilicon `json:"apple_silicon,omitempty"`
719731

720732
// Instance: the properties of Instance products.
721-
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer must be set.
733+
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer, SecretManager, KeyManager must be set.
722734
Instance *PublicCatalogProductPropertiesInstance `json:"instance,omitempty"`
723735

724736
// BlockStorage: the properties of Block Storage products.
725-
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer must be set.
737+
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer, SecretManager, KeyManager must be set.
726738
BlockStorage *PublicCatalogProductPropertiesBlockStorage `json:"block_storage,omitempty"`
727739

728740
// ObjectStorage: the properties of Object Storage products.
729-
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer must be set.
741+
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer, SecretManager, KeyManager must be set.
730742
ObjectStorage *PublicCatalogProductPropertiesObjectStorage `json:"object_storage,omitempty"`
731743

732744
// ManagedInference: the properties of Managed Inference products.
733-
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer must be set.
745+
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer, SecretManager, KeyManager must be set.
734746
ManagedInference *PublicCatalogProductPropertiesManagedInference `json:"managed_inference,omitempty"`
735747

736748
// GenerativeAPIs: the properties of Generative APIs products.
737-
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer must be set.
749+
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer, SecretManager, KeyManager must be set.
738750
GenerativeAPIs *PublicCatalogProductPropertiesGenerativeAPIs `json:"generative_apis,omitempty"`
739751

740752
// LoadBalancer: the properties of Load Balancer products.
741-
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer must be set.
753+
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer, SecretManager, KeyManager must be set.
742754
LoadBalancer *PublicCatalogProductPropertiesLoadBalancer `json:"load_balancer,omitempty"`
755+
756+
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer, SecretManager, KeyManager must be set.
757+
SecretManager *PublicCatalogProductPropertiesSecretManager `json:"secret_manager,omitempty"`
758+
759+
// Precisely one of Dedibox, ElasticMetal, AppleSilicon, Instance, BlockStorage, ObjectStorage, ManagedInference, GenerativeAPIs, LoadBalancer, SecretManager, KeyManager must be set.
760+
KeyManager *PublicCatalogProductPropertiesKeyManager `json:"key_manager,omitempty"`
743761
}
744762

745763
// PublicCatalogProductUnitOfMeasure: public catalog product unit of measure.

0 commit comments

Comments
 (0)