diff --git a/apihub/v1/apihub-api.json b/apihub/v1/apihub-api.json index 988584c5e9a..2dece0a232b 100644 --- a/apihub/v1/apihub-api.json +++ b/apihub/v1/apihub-api.json @@ -172,7 +172,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -300,7 +300,7 @@ ] }, "delete": { - "description": "Deletes the API hub instance.", + "description": "Deletes the API hub instance. Deleting the API hub instance will also result in the removal of all associated runtime project attachments and the host project registration.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apiHubInstances/{apiHubInstancesId}", "httpMethod": "DELETE", "id": "apihub.projects.locations.apiHubInstances.delete", @@ -2741,6 +2741,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "manageSourceData": { + "description": "Manages data for a given plugin instance.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/instances/{instancesId}:manageSourceData", + "httpMethod": "POST", + "id": "apihub.projects.locations.plugins.instances.manageSourceData", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the plugin instance for which data needs to be managed. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/plugins/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:manageSourceData", + "request": { + "$ref": "GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest" + }, + "response": { + "$ref": "GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "patch": { "description": "Updates a plugin instance in the API hub. The following fields in the plugin_instance can be updated currently: * display_name * schedule_cron_expression The update_mask should be used to specify the fields being updated. To update the auth_config and additional_config of the plugin instance, use the ApplyPluginInstanceConfig method.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/plugins/{pluginsId}/instances/{instancesId}", @@ -2946,7 +2974,7 @@ } } }, - "revision": "20250829", + "revision": "20250912", "rootUrl": "https://apihub.googleapis.com/", "schemas": { "Empty": { @@ -5140,6 +5168,60 @@ }, "type": "object" }, + "GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest": { + "description": "The ManagePluginInstanceSourceData method's request.", + "id": "GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest", + "properties": { + "action": { + "description": "Required. Action to be performed.", + "enum": [ + "ACTION_UNSPECIFIED", + "UPLOAD", + "DELETE" + ], + "enumDescriptions": [ + "Default unspecified action.", + "Upload or upsert data.", + "Delete data." + ], + "type": "string" + }, + "data": { + "description": "Required. Data to be managed.", + "format": "byte", + "type": "string" + }, + "dataType": { + "description": "Required. Type of data to be managed.", + "enum": [ + "DATA_TYPE_UNSPECIFIED", + "PROXY_DEPLOYMENT_MANIFEST", + "ENVIRONMENT_MANIFEST", + "PROXY_BUNDLE", + "SHARED_FLOW_BUNDLE" + ], + "enumDescriptions": [ + "Default unspecified type.", + "Proxy deployment manifest.", + "Environment manifest.", + "Proxy bundle.", + "Shared flow bundle." + ], + "type": "string" + }, + "relativePath": { + "description": "Required. Relative path of data being managed for a given plugin instance.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse": { + "description": "The ManagePluginInstanceSourceData method's response.", + "id": "GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudApihubV1MatchResult": { "description": "MatchResult represents the result of matching a discovered API operation with a catalog API operation.", "id": "GoogleCloudApihubV1MatchResult", @@ -5378,7 +5460,7 @@ "id": "GoogleCloudApihubV1Plugin", "properties": { "actionsConfig": { - "description": "Required. The configuration of actions supported by the plugin.", + "description": "Optional. The configuration of actions supported by the plugin. **REQUIRED**: This field must be provided when creating or updating a Plugin. The server will reject requests if this field is missing.", "items": { "$ref": "GoogleCloudApihubV1PluginActionConfig" }, diff --git a/apihub/v1/apihub-gen.go b/apihub/v1/apihub-gen.go index 14b0b0d7cc8..96df0017397 100644 --- a/apihub/v1/apihub-gen.go +++ b/apihub/v1/apihub-gen.go @@ -2994,6 +2994,55 @@ func (s GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse) MarshalJSON() return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest: The +// ManagePluginInstanceSourceData method's request. +type GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest struct { + // Action: Required. Action to be performed. + // + // Possible values: + // "ACTION_UNSPECIFIED" - Default unspecified action. + // "UPLOAD" - Upload or upsert data. + // "DELETE" - Delete data. + Action string `json:"action,omitempty"` + // Data: Required. Data to be managed. + Data string `json:"data,omitempty"` + // DataType: Required. Type of data to be managed. + // + // Possible values: + // "DATA_TYPE_UNSPECIFIED" - Default unspecified type. + // "PROXY_DEPLOYMENT_MANIFEST" - Proxy deployment manifest. + // "ENVIRONMENT_MANIFEST" - Environment manifest. + // "PROXY_BUNDLE" - Proxy bundle. + // "SHARED_FLOW_BUNDLE" - Shared flow bundle. + DataType string `json:"dataType,omitempty"` + // RelativePath: Required. Relative path of data being managed for a given + // plugin instance. + RelativePath string `json:"relativePath,omitempty"` + // ForceSendFields is a list of field names (e.g. "Action") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Action") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse: The +// ManagePluginInstanceSourceData method's response. +type GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse struct { + // ServerResponse contains the HTTP response code and headers from the server. + googleapi.ServerResponse `json:"-"` +} + // GoogleCloudApihubV1MatchResult: MatchResult represents the result of // matching a discovered API operation with a catalog API operation. type GoogleCloudApihubV1MatchResult struct { @@ -3310,8 +3359,9 @@ func (s GoogleCloudApihubV1PathParam) MarshalJSON() ([]byte, error) { // GoogleCloudApihubV1Plugin: A plugin resource in the API Hub. type GoogleCloudApihubV1Plugin struct { - // ActionsConfig: Required. The configuration of actions supported by the - // plugin. + // ActionsConfig: Optional. The configuration of actions supported by the + // plugin. **REQUIRED**: This field must be provided when creating or updating + // a Plugin. The server will reject requests if this field is missing. ActionsConfig []*GoogleCloudApihubV1PluginActionConfig `json:"actionsConfig,omitempty"` // ConfigTemplate: Optional. The configuration template for the plugin. ConfigTemplate *GoogleCloudApihubV1ConfigTemplate `json:"configTemplate,omitempty"` @@ -4912,9 +4962,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do not -// use this field. It is unsupported and is ignored unless explicitly -// documented otherwise. This is primarily for internal usage. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c @@ -5420,7 +5470,9 @@ type ProjectsLocationsApiHubInstancesDeleteCall struct { header_ http.Header } -// Delete: Deletes the API hub instance. +// Delete: Deletes the API hub instance. Deleting the API hub instance will +// also result in the removal of all associated runtime project attachments and +// the host project registration. // // - name: The name of the Api Hub instance to delete. Format: // `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`. @@ -15113,6 +15165,113 @@ func (c *ProjectsLocationsPluginsInstancesListCall) Pages(ctx context.Context, f } } +type ProjectsLocationsPluginsInstancesManageSourceDataCall struct { + s *Service + name string + googlecloudapihubv1manageplugininstancesourcedatarequest *GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// ManageSourceData: Manages data for a given plugin instance. +// +// - name: The name of the plugin instance for which data needs to be managed. +// Format: +// `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instan +// ce}`. +func (r *ProjectsLocationsPluginsInstancesService) ManageSourceData(name string, googlecloudapihubv1manageplugininstancesourcedatarequest *GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest) *ProjectsLocationsPluginsInstancesManageSourceDataCall { + c := &ProjectsLocationsPluginsInstancesManageSourceDataCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googlecloudapihubv1manageplugininstancesourcedatarequest = googlecloudapihubv1manageplugininstancesourcedatarequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *ProjectsLocationsPluginsInstancesManageSourceDataCall) Fields(s ...googleapi.Field) *ProjectsLocationsPluginsInstancesManageSourceDataCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsPluginsInstancesManageSourceDataCall) Context(ctx context.Context) *ProjectsLocationsPluginsInstancesManageSourceDataCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *ProjectsLocationsPluginsInstancesManageSourceDataCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsPluginsInstancesManageSourceDataCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + body, err := googleapi.WithoutDataWrapper.JSONBuffer(c.googlecloudapihubv1manageplugininstancesourcedatarequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:manageSourceData") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "apihub.projects.locations.plugins.instances.manageSourceData", "request", internallog.HTTPRequest(req, body.Bytes())) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apihub.projects.locations.plugins.instances.manageSourceData" call. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse.ServerResponse.Hea +// der or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsPluginsInstancesManageSourceDataCall) Do(opts ...googleapi.CallOption) (*GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + b, err := gensupport.DecodeResponseBytes(target, res) + if err != nil { + return nil, err + } + c.s.logger.DebugContext(c.ctx_, "api response", "serviceName", apiName, "rpcName", "apihub.projects.locations.plugins.instances.manageSourceData", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type ProjectsLocationsPluginsInstancesPatchCall struct { s *Service name string diff --git a/gkeonprem/v1/gkeonprem-api.json b/gkeonprem/v1/gkeonprem-api.json index 216567bea29..25f54aa415d 100644 --- a/gkeonprem/v1/gkeonprem-api.json +++ b/gkeonprem/v1/gkeonprem-api.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -3105,7 +3105,7 @@ } } }, - "revision": "20250827", + "revision": "20250908", "rootUrl": "https://gkeonprem.googleapis.com/", "schemas": { "Authorization": { diff --git a/gkeonprem/v1/gkeonprem-gen.go b/gkeonprem/v1/gkeonprem-gen.go index 08ca6da917f..b64c218c981 100644 --- a/gkeonprem/v1/gkeonprem-gen.go +++ b/gkeonprem/v1/gkeonprem-gen.go @@ -5574,9 +5574,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do not -// use this field. It is unsupported and is ignored unless explicitly -// documented otherwise. This is primarily for internal usage. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c diff --git a/healthcare/v1/healthcare-api.json b/healthcare/v1/healthcare-api.json index d02a70c8fb8..a4f63388228 100644 --- a/healthcare/v1/healthcare-api.json +++ b/healthcare/v1/healthcare-api.json @@ -148,7 +148,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -5132,7 +5132,7 @@ } } }, - "revision": "20250821", + "revision": "20250904", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go index c3112ec98cc..953a8a65d2b 100644 --- a/healthcare/v1/healthcare-gen.go +++ b/healthcare/v1/healthcare-gen.go @@ -6651,9 +6651,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do not -// use this field. It is unsupported and is ignored unless explicitly -// documented otherwise. This is primarily for internal usage. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c diff --git a/healthcare/v1beta1/healthcare-api.json b/healthcare/v1beta1/healthcare-api.json index bb351479de6..412fa868484 100644 --- a/healthcare/v1beta1/healthcare-api.json +++ b/healthcare/v1beta1/healthcare-api.json @@ -148,7 +148,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -5679,7 +5679,7 @@ } } }, - "revision": "20250821", + "revision": "20250904", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go index a655f7e3d57..b48c5a52e6a 100644 --- a/healthcare/v1beta1/healthcare-gen.go +++ b/healthcare/v1beta1/healthcare-gen.go @@ -7412,9 +7412,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do not -// use this field. It is unsupported and is ignored unless explicitly -// documented otherwise. This is primarily for internal usage. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c diff --git a/migrationcenter/v1alpha1/migrationcenter-api.json b/migrationcenter/v1alpha1/migrationcenter-api.json index fb854b2ee0a..60b0ad7a080 100644 --- a/migrationcenter/v1alpha1/migrationcenter-api.json +++ b/migrationcenter/v1alpha1/migrationcenter-api.json @@ -2554,7 +2554,7 @@ } } }, - "revision": "20250904", + "revision": "20250910", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -2785,6 +2785,51 @@ "description": "Generic asset attributes.", "type": "object" }, + "awsCloudFrontDistributionDetails": { + "$ref": "AwsCloudFrontDistributionDetails", + "description": "Output only. Asset information specific for AWS CloudFront distributions.", + "readOnly": true + }, + "awsEcsClusterDetails": { + "$ref": "AwsEcsClusterDetails", + "description": "Output only. Asset information specific for AWS ECS clusters.", + "readOnly": true + }, + "awsEfsFileSystemDetails": { + "$ref": "AwsEfsFileSystemDetails", + "description": "Output only. Asset information specific for AWS EFS file systems.", + "readOnly": true + }, + "awsEksClusterDetails": { + "$ref": "AwsEksClusterDetails", + "description": "Output only. Asset information specific for AWS EKS clusters.", + "readOnly": true + }, + "awsElbLoadBalancerDetails": { + "$ref": "AwsElbLoadBalancerDetails", + "description": "Output only. Asset information specific for AWS Load Balancers.", + "readOnly": true + }, + "awsLambdaFunctionDetails": { + "$ref": "AwsLambdaFunctionDetails", + "description": "Output only. Asset information specific for AWS Lambda functions.", + "readOnly": true + }, + "awsRedshiftDetails": { + "$ref": "AwsRedshiftDetails", + "description": "Output only. Asset information specific for AWS Redshift", + "readOnly": true + }, + "awsS3BucketDetails": { + "$ref": "AwsS3BucketDetails", + "description": "Output only. Asset information specific for AWS S3 buckets.", + "readOnly": true + }, + "awsVpcDetails": { + "$ref": "AwsVpcDetails", + "description": "Output only. Asset information specific for AWS VPCs.", + "readOnly": true + }, "createTime": { "description": "Output only. The timestamp when the asset was created.", "format": "google-datetime", @@ -2815,6 +2860,11 @@ "readOnly": true, "type": "string" }, + "hostingProviderDetails": { + "$ref": "HostingProviderDetails", + "description": "Output only. Details about the hosting provider of the asset.", + "readOnly": true + }, "insightList": { "$ref": "InsightList", "description": "Output only. The list of insights associated with the asset.", @@ -2849,6 +2899,14 @@ "readOnly": true, "type": "array" }, + "structuredAttributes": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Generic structured asset attributes.", + "type": "object" + }, "title": { "description": "Output only. Server generated human readable name of the asset.", "readOnly": true, @@ -2879,6 +2937,42 @@ "description": "Generic asset attributes.", "type": "object" }, + "awsCloudFrontDistributionDetails": { + "$ref": "AwsCloudFrontDistributionDetails", + "description": "Asset information specific for AWS CloudFront distributions." + }, + "awsEcsClusterDetails": { + "$ref": "AwsEcsClusterDetails", + "description": "Asset information specific for AWS ECS clusters." + }, + "awsEfsFileSystemDetails": { + "$ref": "AwsEfsFileSystemDetails", + "description": "Asset information specific for AWS EFS file systems." + }, + "awsEksClusterDetails": { + "$ref": "AwsEksClusterDetails", + "description": "Asset information specific for AWS EKS clusters." + }, + "awsElbLoadBalancerDetails": { + "$ref": "AwsElbLoadBalancerDetails", + "description": "Asset information specific for AWS Load Balancers." + }, + "awsLambdaFunctionDetails": { + "$ref": "AwsLambdaFunctionDetails", + "description": "Asset information specific for AWS Lambda functions." + }, + "awsRedshiftDetails": { + "$ref": "AwsRedshiftDetails", + "description": "Asset information specific for AWS Redshift clusters." + }, + "awsS3BucketDetails": { + "$ref": "AwsS3BucketDetails", + "description": "Asset information specific for AWS S3 buckets." + }, + "awsVpcDetails": { + "$ref": "AwsVpcDetails", + "description": "Asset information specific for AWS VPCs." + }, "collectionType": { "description": "Optional. Frame collection type, if not specified the collection type will be based on the source type of the source the frame was reported on.", "enum": [ @@ -2907,6 +3001,10 @@ "$ref": "DatabaseDetails", "description": "Asset information specific for logical databases." }, + "hostingProviderDetails": { + "$ref": "HostingProviderDetails", + "description": "Optional. Details about the hosting provider of the asset." + }, "labels": { "additionalProperties": { "type": "string" @@ -2930,6 +3028,14 @@ "format": "google-datetime", "type": "string" }, + "structuredAttributes": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Generic structured asset attributes.", + "type": "object" + }, "traceToken": { "description": "Optional. Trace token is optionally provided to assist with debugging and traceability.", "type": "string" @@ -3136,6 +3242,12 @@ }, "type": "object" }, + "AwsCloudFrontDistributionDetails": { + "description": "Details of an AWS CloudFront distribution.", + "id": "AwsCloudFrontDistributionDetails", + "properties": {}, + "type": "object" + }, "AwsEc2PlatformDetails": { "description": "AWS EC2 specific details.", "id": "AwsEc2PlatformDetails", @@ -3165,12 +3277,150 @@ }, "type": "object" }, + "AwsEcsClusterDetails": { + "description": "Details of an AWS ECS cluster.", + "id": "AwsEcsClusterDetails", + "properties": {}, + "type": "object" + }, + "AwsEfsFileSystemDetails": { + "description": "Details of an AWS EFS file system.", + "id": "AwsEfsFileSystemDetails", + "properties": {}, + "type": "object" + }, + "AwsEksClusterDetails": { + "description": "Asset information specific for AWS EKS clusters.", + "id": "AwsEksClusterDetails", + "properties": {}, + "type": "object" + }, + "AwsElbLoadBalancerDetails": { + "description": "Asset information specific for AWS Load Balancers.", + "id": "AwsElbLoadBalancerDetails", + "properties": {}, + "type": "object" + }, + "AwsLambdaFunctionDetails": { + "description": "Asset information specific for AWS Lambda functions.", + "id": "AwsLambdaFunctionDetails", + "properties": {}, + "type": "object" + }, "AwsRds": { "description": "Specific details for an AWS RDS database deployment.", "id": "AwsRds", "properties": {}, "type": "object" }, + "AwsRedshiftDetails": { + "description": "Details of an AWS Redshift cluster.", + "id": "AwsRedshiftDetails", + "properties": {}, + "type": "object" + }, + "AwsS3BucketDetails": { + "description": "Asset information specific for AWS S3 buckets.", + "id": "AwsS3BucketDetails", + "properties": { + "objectsMetadata": { + "$ref": "AwsS3BucketDetailsObjectsMetadata", + "description": "Optional. The metadata of the objects in the bucket." + }, + "storageClasses": { + "description": "Optional. The storage classes in the bucket.", + "items": { + "$ref": "AwsS3BucketDetailsStorageClass" + }, + "type": "array" + }, + "versioning": { + "$ref": "AwsS3BucketDetailsVersioning", + "description": "Optional. Versioning configuration of the bucket." + } + }, + "type": "object" + }, + "AwsS3BucketDetailsObjectsMetadata": { + "description": "The metadata of the objects in the bucket.", + "id": "AwsS3BucketDetailsObjectsMetadata", + "properties": { + "totalObjects": { + "$ref": "AwsS3BucketDetailsObjectsMetadataTotalObjects", + "description": "Optional. The total number of objects in the bucket." + } + }, + "type": "object" + }, + "AwsS3BucketDetailsObjectsMetadataTotalObjects": { + "description": "Information about the total number of objects in the bucket.", + "id": "AwsS3BucketDetailsObjectsMetadataTotalObjects", + "properties": { + "value": { + "description": "Optional. The total number of objects in the bucket.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "AwsS3BucketDetailsStorageClass": { + "description": "Details about storage class.", + "id": "AwsS3BucketDetailsStorageClass", + "properties": { + "totalBytes": { + "description": "Optional. The total size of the storage class in bytes.", + "format": "int64", + "type": "string" + }, + "type": { + "description": "Required. Type of the storage class.", + "enum": [ + "STORAGE_CLASS_TYPE_UNSPECIFIED", + "STANDARD", + "INTELLIGENT_TIERING", + "STANDARD_IA", + "ONE_ZONE_IA", + "GLACIER", + "DEEP_ARCHIVE", + "GLACIER_IR", + "REDUCED_REDUNDANCY", + "EXPRESS_ONEZONE" + ], + "enumDescriptions": [ + "Unspecified storage class type.", + "General Purpose", + "Represents Intelligent-Tiering's auto-tiering", + "Standard-Infrequent Access", + "One Zone-Infrequent Access", + "S3 Glacier Flexible Retrieval", + "S3 Glacier Deep Archive", + "S3 Glacier Instant Retrieval", + "S3 Reduced Redundancy Storage (Legacy)", + "S3 Express One Zone" + ], + "type": "string" + } + }, + "type": "object" + }, + "AwsS3BucketDetailsVersioning": { + "description": "Versioning configuration of the bucket.", + "id": "AwsS3BucketDetailsVersioning", + "properties": { + "enabled": { + "description": "Optional. Whether versioning is enabled.", + "type": "boolean" + } + }, + "type": "object" + }, + "AwsVpcDetails": { + "description": "Asset information specific for AWS VPCs.", + "id": "AwsVpcDetails", + "properties": {}, + "type": "object" + }, "AzureVmPlatformDetails": { "description": "Azure VM specific details.", "id": "AzureVmPlatformDetails", @@ -5223,6 +5473,45 @@ }, "type": "object" }, + "HostingProviderDetails": { + "description": "Details about the hosting platform of the asset.", + "id": "HostingProviderDetails", + "properties": { + "aws": { + "$ref": "HostingProviderDetailsAws", + "description": "Optional. The AWS platform details." + }, + "createTime": { + "description": "Optional. The timestamp when resource was created in the hosting provider.", + "format": "google-datetime", + "type": "string" + }, + "displayName": { + "description": "Optional. Display name of the asset.", + "type": "string" + }, + "location": { + "$ref": "ResourceLocation", + "description": "Optional. Location of the asset." + }, + "originalId": { + "description": "Optional. Unique identifier for the asset in the hosting provider.", + "type": "string" + } + }, + "type": "object" + }, + "HostingProviderDetailsAws": { + "description": "Details for AWS platform.", + "id": "HostingProviderDetailsAws", + "properties": { + "owningAccountId": { + "description": "Optional. The AWS account ID owning the resource represented by this asset.", + "type": "string" + } + }, + "type": "object" + }, "HostsEntry": { "description": "Single /etc/hosts entry.", "id": "HostsEntry", @@ -7895,6 +8184,17 @@ }, "type": "object" }, + "ResourceLocation": { + "description": "Location of a resource.", + "id": "ResourceLocation", + "properties": { + "region": { + "description": "Optional. The name of the region.", + "type": "string" + } + }, + "type": "object" + }, "RunAssetsExportJobRequest": { "description": "A request to run an assets export job.", "id": "RunAssetsExportJobRequest", diff --git a/migrationcenter/v1alpha1/migrationcenter-gen.go b/migrationcenter/v1alpha1/migrationcenter-gen.go index 3c65b0ac66b..2ddf2374b28 100644 --- a/migrationcenter/v1alpha1/migrationcenter-gen.go +++ b/migrationcenter/v1alpha1/migrationcenter-gen.go @@ -696,6 +696,31 @@ type Asset struct { AssignedGroups []string `json:"assignedGroups,omitempty"` // Attributes: Generic asset attributes. Attributes map[string]string `json:"attributes,omitempty"` + // AwsCloudFrontDistributionDetails: Output only. Asset information specific + // for AWS CloudFront distributions. + AwsCloudFrontDistributionDetails *AwsCloudFrontDistributionDetails `json:"awsCloudFrontDistributionDetails,omitempty"` + // AwsEcsClusterDetails: Output only. Asset information specific for AWS ECS + // clusters. + AwsEcsClusterDetails *AwsEcsClusterDetails `json:"awsEcsClusterDetails,omitempty"` + // AwsEfsFileSystemDetails: Output only. Asset information specific for AWS EFS + // file systems. + AwsEfsFileSystemDetails *AwsEfsFileSystemDetails `json:"awsEfsFileSystemDetails,omitempty"` + // AwsEksClusterDetails: Output only. Asset information specific for AWS EKS + // clusters. + AwsEksClusterDetails *AwsEksClusterDetails `json:"awsEksClusterDetails,omitempty"` + // AwsElbLoadBalancerDetails: Output only. Asset information specific for AWS + // Load Balancers. + AwsElbLoadBalancerDetails *AwsElbLoadBalancerDetails `json:"awsElbLoadBalancerDetails,omitempty"` + // AwsLambdaFunctionDetails: Output only. Asset information specific for AWS + // Lambda functions. + AwsLambdaFunctionDetails *AwsLambdaFunctionDetails `json:"awsLambdaFunctionDetails,omitempty"` + // AwsRedshiftDetails: Output only. Asset information specific for AWS Redshift + AwsRedshiftDetails *AwsRedshiftDetails `json:"awsRedshiftDetails,omitempty"` + // AwsS3BucketDetails: Output only. Asset information specific for AWS S3 + // buckets. + AwsS3BucketDetails *AwsS3BucketDetails `json:"awsS3BucketDetails,omitempty"` + // AwsVpcDetails: Output only. Asset information specific for AWS VPCs. + AwsVpcDetails *AwsVpcDetails `json:"awsVpcDetails,omitempty"` // CreateTime: Output only. The timestamp when the asset was created. CreateTime string `json:"createTime,omitempty"` // DatabaseDeploymentDetails: Output only. Asset information specific for @@ -710,6 +735,9 @@ type Asset struct { HideReason string `json:"hideReason,omitempty"` // HideTime: Output only. The timestamp when the asset was marked as hidden. HideTime string `json:"hideTime,omitempty"` + // HostingProviderDetails: Output only. Details about the hosting provider of + // the asset. + HostingProviderDetails *HostingProviderDetails `json:"hostingProviderDetails,omitempty"` // InsightList: Output only. The list of insights associated with the asset. InsightList *InsightList `json:"insightList,omitempty"` // Labels: Labels as key value pairs. @@ -723,6 +751,8 @@ type Asset struct { PerformanceData *AssetPerformanceData `json:"performanceData,omitempty"` // Sources: Output only. The list of sources contributing to the asset. Sources []string `json:"sources,omitempty"` + // StructuredAttributes: Optional. Generic structured asset attributes. + StructuredAttributes googleapi.RawMessage `json:"structuredAttributes,omitempty"` // Title: Output only. Server generated human readable name of the asset. Title string `json:"title,omitempty"` // UpdateTime: Output only. The timestamp when the asset was last updated. @@ -755,6 +785,28 @@ func (s Asset) MarshalJSON() ([]byte, error) { type AssetFrame struct { // Attributes: Generic asset attributes. Attributes map[string]string `json:"attributes,omitempty"` + // AwsCloudFrontDistributionDetails: Asset information specific for AWS + // CloudFront distributions. + AwsCloudFrontDistributionDetails *AwsCloudFrontDistributionDetails `json:"awsCloudFrontDistributionDetails,omitempty"` + // AwsEcsClusterDetails: Asset information specific for AWS ECS clusters. + AwsEcsClusterDetails *AwsEcsClusterDetails `json:"awsEcsClusterDetails,omitempty"` + // AwsEfsFileSystemDetails: Asset information specific for AWS EFS file + // systems. + AwsEfsFileSystemDetails *AwsEfsFileSystemDetails `json:"awsEfsFileSystemDetails,omitempty"` + // AwsEksClusterDetails: Asset information specific for AWS EKS clusters. + AwsEksClusterDetails *AwsEksClusterDetails `json:"awsEksClusterDetails,omitempty"` + // AwsElbLoadBalancerDetails: Asset information specific for AWS Load + // Balancers. + AwsElbLoadBalancerDetails *AwsElbLoadBalancerDetails `json:"awsElbLoadBalancerDetails,omitempty"` + // AwsLambdaFunctionDetails: Asset information specific for AWS Lambda + // functions. + AwsLambdaFunctionDetails *AwsLambdaFunctionDetails `json:"awsLambdaFunctionDetails,omitempty"` + // AwsRedshiftDetails: Asset information specific for AWS Redshift clusters. + AwsRedshiftDetails *AwsRedshiftDetails `json:"awsRedshiftDetails,omitempty"` + // AwsS3BucketDetails: Asset information specific for AWS S3 buckets. + AwsS3BucketDetails *AwsS3BucketDetails `json:"awsS3BucketDetails,omitempty"` + // AwsVpcDetails: Asset information specific for AWS VPCs. + AwsVpcDetails *AwsVpcDetails `json:"awsVpcDetails,omitempty"` // CollectionType: Optional. Frame collection type, if not specified the // collection type will be based on the source type of the source the frame was // reported on. @@ -772,6 +824,9 @@ type AssetFrame struct { DatabaseDeploymentDetails *DatabaseDeploymentDetails `json:"databaseDeploymentDetails,omitempty"` // DatabaseDetails: Asset information specific for logical databases. DatabaseDetails *DatabaseDetails `json:"databaseDetails,omitempty"` + // HostingProviderDetails: Optional. Details about the hosting provider of the + // asset. + HostingProviderDetails *HostingProviderDetails `json:"hostingProviderDetails,omitempty"` // Labels: Labels as key value pairs. Labels map[string]string `json:"labels,omitempty"` // MachineDetails: Asset information specific for virtual and physical @@ -782,6 +837,8 @@ type AssetFrame struct { PerformanceSamples []*PerformanceSample `json:"performanceSamples,omitempty"` // ReportTime: The time the data was reported. ReportTime string `json:"reportTime,omitempty"` + // StructuredAttributes: Optional. Generic structured asset attributes. + StructuredAttributes googleapi.RawMessage `json:"structuredAttributes,omitempty"` // TraceToken: Optional. Trace token is optionally provided to assist with // debugging and traceability. TraceToken string `json:"traceToken,omitempty"` @@ -1042,6 +1099,10 @@ func (s AssetsExportJobPerformanceData) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// AwsCloudFrontDistributionDetails: Details of an AWS CloudFront distribution. +type AwsCloudFrontDistributionDetails struct { +} + // AwsEc2PlatformDetails: AWS EC2 specific details. type AwsEc2PlatformDetails struct { // Hyperthreading: Optional. Whether the machine is hyperthreaded. @@ -1075,10 +1136,170 @@ func (s AwsEc2PlatformDetails) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// AwsEcsClusterDetails: Details of an AWS ECS cluster. +type AwsEcsClusterDetails struct { +} + +// AwsEfsFileSystemDetails: Details of an AWS EFS file system. +type AwsEfsFileSystemDetails struct { +} + +// AwsEksClusterDetails: Asset information specific for AWS EKS clusters. +type AwsEksClusterDetails struct { +} + +// AwsElbLoadBalancerDetails: Asset information specific for AWS Load +// Balancers. +type AwsElbLoadBalancerDetails struct { +} + +// AwsLambdaFunctionDetails: Asset information specific for AWS Lambda +// functions. +type AwsLambdaFunctionDetails struct { +} + // AwsRds: Specific details for an AWS RDS database deployment. type AwsRds struct { } +// AwsRedshiftDetails: Details of an AWS Redshift cluster. +type AwsRedshiftDetails struct { +} + +// AwsS3BucketDetails: Asset information specific for AWS S3 buckets. +type AwsS3BucketDetails struct { + // ObjectsMetadata: Optional. The metadata of the objects in the bucket. + ObjectsMetadata *AwsS3BucketDetailsObjectsMetadata `json:"objectsMetadata,omitempty"` + // StorageClasses: Optional. The storage classes in the bucket. + StorageClasses []*AwsS3BucketDetailsStorageClass `json:"storageClasses,omitempty"` + // Versioning: Optional. Versioning configuration of the bucket. + Versioning *AwsS3BucketDetailsVersioning `json:"versioning,omitempty"` + // ForceSendFields is a list of field names (e.g. "ObjectsMetadata") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "ObjectsMetadata") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s AwsS3BucketDetails) MarshalJSON() ([]byte, error) { + type NoMethod AwsS3BucketDetails + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// AwsS3BucketDetailsObjectsMetadata: The metadata of the objects in the +// bucket. +type AwsS3BucketDetailsObjectsMetadata struct { + // TotalObjects: Optional. The total number of objects in the bucket. + TotalObjects *AwsS3BucketDetailsObjectsMetadataTotalObjects `json:"totalObjects,omitempty"` + // ForceSendFields is a list of field names (e.g. "TotalObjects") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "TotalObjects") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s AwsS3BucketDetailsObjectsMetadata) MarshalJSON() ([]byte, error) { + type NoMethod AwsS3BucketDetailsObjectsMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// AwsS3BucketDetailsObjectsMetadataTotalObjects: Information about the total +// number of objects in the bucket. +type AwsS3BucketDetailsObjectsMetadataTotalObjects struct { + // Value: Optional. The total number of objects in the bucket. + Value int64 `json:"value,omitempty"` + // ForceSendFields is a list of field names (e.g. "Value") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Value") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s AwsS3BucketDetailsObjectsMetadataTotalObjects) MarshalJSON() ([]byte, error) { + type NoMethod AwsS3BucketDetailsObjectsMetadataTotalObjects + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// AwsS3BucketDetailsStorageClass: Details about storage class. +type AwsS3BucketDetailsStorageClass struct { + // TotalBytes: Optional. The total size of the storage class in bytes. + TotalBytes int64 `json:"totalBytes,omitempty,string"` + // Type: Required. Type of the storage class. + // + // Possible values: + // "STORAGE_CLASS_TYPE_UNSPECIFIED" - Unspecified storage class type. + // "STANDARD" - General Purpose + // "INTELLIGENT_TIERING" - Represents Intelligent-Tiering's auto-tiering + // "STANDARD_IA" - Standard-Infrequent Access + // "ONE_ZONE_IA" - One Zone-Infrequent Access + // "GLACIER" - S3 Glacier Flexible Retrieval + // "DEEP_ARCHIVE" - S3 Glacier Deep Archive + // "GLACIER_IR" - S3 Glacier Instant Retrieval + // "REDUCED_REDUNDANCY" - S3 Reduced Redundancy Storage (Legacy) + // "EXPRESS_ONEZONE" - S3 Express One Zone + Type string `json:"type,omitempty"` + // ForceSendFields is a list of field names (e.g. "TotalBytes") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "TotalBytes") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s AwsS3BucketDetailsStorageClass) MarshalJSON() ([]byte, error) { + type NoMethod AwsS3BucketDetailsStorageClass + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// AwsS3BucketDetailsVersioning: Versioning configuration of the bucket. +type AwsS3BucketDetailsVersioning struct { + // Enabled: Optional. Whether versioning is enabled. + Enabled bool `json:"enabled,omitempty"` + // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Enabled") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s AwsS3BucketDetailsVersioning) MarshalJSON() ([]byte, error) { + type NoMethod AwsS3BucketDetailsVersioning + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// AwsVpcDetails: Asset information specific for AWS VPCs. +type AwsVpcDetails struct { +} + // AzureVmPlatformDetails: Azure VM specific details. type AzureVmPlatformDetails struct { // Hyperthreading: Whether the machine is hyperthreaded. @@ -3359,6 +3580,61 @@ func (s GuestRuntimeDetails) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// HostingProviderDetails: Details about the hosting platform of the asset. +type HostingProviderDetails struct { + // Aws: Optional. The AWS platform details. + Aws *HostingProviderDetailsAws `json:"aws,omitempty"` + // CreateTime: Optional. The timestamp when resource was created in the hosting + // provider. + CreateTime string `json:"createTime,omitempty"` + // DisplayName: Optional. Display name of the asset. + DisplayName string `json:"displayName,omitempty"` + // Location: Optional. Location of the asset. + Location *ResourceLocation `json:"location,omitempty"` + // OriginalId: Optional. Unique identifier for the asset in the hosting + // provider. + OriginalId string `json:"originalId,omitempty"` + // ForceSendFields is a list of field names (e.g. "Aws") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Aws") to include in API requests + // with the JSON null value. By default, fields with empty values are omitted + // from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s HostingProviderDetails) MarshalJSON() ([]byte, error) { + type NoMethod HostingProviderDetails + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// HostingProviderDetailsAws: Details for AWS platform. +type HostingProviderDetailsAws struct { + // OwningAccountId: Optional. The AWS account ID owning the resource + // represented by this asset. + OwningAccountId string `json:"owningAccountId,omitempty"` + // ForceSendFields is a list of field names (e.g. "OwningAccountId") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "OwningAccountId") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s HostingProviderDetailsAws) MarshalJSON() ([]byte, error) { + type NoMethod HostingProviderDetailsAws + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // HostsEntry: Single /etc/hosts entry. type HostsEntry struct { // HostNames: List of host names / aliases. @@ -6389,6 +6665,28 @@ func (s ReportSummaryVMWareNodeAllocation) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ResourceLocation: Location of a resource. +type ResourceLocation struct { + // Region: Optional. The name of the region. + Region string `json:"region,omitempty"` + // ForceSendFields is a list of field names (e.g. "Region") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Region") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s ResourceLocation) MarshalJSON() ([]byte, error) { + type NoMethod ResourceLocation + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // RunAssetsExportJobRequest: A request to run an assets export job. type RunAssetsExportJobRequest struct { // RequestId: Optional. An optional request ID to identify requests. Specify a diff --git a/redis/v1beta1/redis-api.json b/redis/v1beta1/redis-api.json index 165a23a85c5..08dd357666a 100644 --- a/redis/v1beta1/redis-api.json +++ b/redis/v1beta1/redis-api.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1073,7 +1073,7 @@ } } }, - "revision": "20250902", + "revision": "20250909", "rootUrl": "https://redis.googleapis.com/", "schemas": { "AOFConfig": { @@ -2019,7 +2019,7 @@ "type": "object" }, "DatabaseResourceFeed": { - "description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 11", + "description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 13", "id": "DatabaseResourceFeed", "properties": { "backupdrMetadata": { @@ -2030,6 +2030,10 @@ "$ref": "ConfigBasedSignalData", "description": "Config based signal data is used to ingest signals that are generated based on the configuration of the database resource." }, + "databaseResourceSignalData": { + "$ref": "DatabaseResourceSignalData", + "description": "Database resource signal data is used to ingest signals from database resource signal feeds." + }, "feedTimestamp": { "description": "Required. Timestamp when feed is generated.", "format": "google-datetime", @@ -2044,7 +2048,8 @@ "SECURITY_FINDING_DATA", "RECOMMENDATION_SIGNAL_DATA", "CONFIG_BASED_SIGNAL_DATA", - "BACKUPDR_METADATA" + "BACKUPDR_METADATA", + "DATABASE_RESOURCE_SIGNAL_DATA" ], "enumDescriptions": [ "", @@ -2053,7 +2058,8 @@ "Database resource security health signal data", "Database resource recommendation signal data", "Database config based signal data", - "Database resource metadata from BackupDR" + "Database resource metadata from BackupDR", + "Database resource signal data" ], "type": "string" }, @@ -2569,7 +2575,7 @@ "type": "object" }, "DatabaseResourceMetadata": { - "description": "Common model for database resource instance metadata. Next ID: 26", + "description": "Common model for database resource instance metadata. Next ID: 27", "id": "DatabaseResourceMetadata", "properties": { "availabilityConfiguration": { @@ -2774,6 +2780,10 @@ "userLabelSet": { "$ref": "UserLabels", "description": "User-provided labels associated with the resource" + }, + "zone": { + "description": "The resource zone. This is only applicable for zonal resources and will be empty for regional and multi-regional resources.", + "type": "string" } }, "type": "object" @@ -3150,6 +3160,67 @@ }, "type": "object" }, + "DatabaseResourceSignalData": { + "description": "Database resource signal data. This is used to send signals to Condor which are based on the DB/Instance/Fleet level configurations. These will be used to send signals for all inventory types. Next ID: 7", + "id": "DatabaseResourceSignalData", + "properties": { + "fullResourceName": { + "description": "Required. Full Resource name of the source resource.", + "type": "string" + }, + "lastRefreshTime": { + "description": "Required. Last time signal was refreshed", + "format": "google-datetime", + "type": "string" + }, + "resourceId": { + "$ref": "DatabaseResourceId", + "description": "Database resource id." + }, + "signalBoolValue": { + "description": "Signal data for boolean signals.", + "type": "boolean" + }, + "signalState": { + "description": "Required. Output only. Signal state of the signal", + "enum": [ + "SIGNAL_STATE_UNSPECIFIED", + "ACTIVE", + "INACTIVE", + "DISMISSED" + ], + "enumDescriptions": [ + "Unspecified signal state.", + "Signal is active and requires attention.", + "Signal is inactive and does not require attention.", + "Signal is dismissed by the user and should not be shown to the user again." + ], + "readOnly": true, + "type": "string" + }, + "signalType": { + "description": "Required. Signal type of the signal", + "enum": [ + "SIGNAL_TYPE_UNSPECIFIED", + "SIGNAL_TYPE_OUTDATED_MINOR_VERSION", + "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", + "SIGNAL_TYPE_NO_ROOT_PASSWORD", + "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", + "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS" + ], + "enumDescriptions": [ + "Unspecified signal type.", + "Outdated Minor Version", + "Represents database auditing is disabled.", + "Represents if a database has a password configured for the root account or not.", + "Represents if a resource is exposed to public access.", + "Represents if a resources requires all incoming connections to use SSL or not." + ], + "type": "string" + } + }, + "type": "object" + }, "DiscoveryEndpoint": { "description": "Endpoints on each network, for Redis clients to connect to the cluster.", "id": "DiscoveryEndpoint", diff --git a/redis/v1beta1/redis-gen.go b/redis/v1beta1/redis-gen.go index 11ea7ad268e..5ec1b3c1f33 100644 --- a/redis/v1beta1/redis-gen.go +++ b/redis/v1beta1/redis-gen.go @@ -1196,7 +1196,7 @@ func (s CustomMetadataData) MarshalJSON() ([]byte, error) { // DatabaseResourceFeed: DatabaseResourceFeed is the top level proto to be used // to ingest different database resource level events into Condor platform. -// Next ID: 11 +// Next ID: 13 type DatabaseResourceFeed struct { // BackupdrMetadata: BackupDR metadata is used to ingest metadata from // BackupDR. @@ -1204,6 +1204,9 @@ type DatabaseResourceFeed struct { // ConfigBasedSignalData: Config based signal data is used to ingest signals // that are generated based on the configuration of the database resource. ConfigBasedSignalData *ConfigBasedSignalData `json:"configBasedSignalData,omitempty"` + // DatabaseResourceSignalData: Database resource signal data is used to ingest + // signals from database resource signal feeds. + DatabaseResourceSignalData *DatabaseResourceSignalData `json:"databaseResourceSignalData,omitempty"` // FeedTimestamp: Required. Timestamp when feed is generated. FeedTimestamp string `json:"feedTimestamp,omitempty"` // FeedType: Required. Type feed to be ingested into condor @@ -1217,6 +1220,7 @@ type DatabaseResourceFeed struct { // data // "CONFIG_BASED_SIGNAL_DATA" - Database config based signal data // "BACKUPDR_METADATA" - Database resource metadata from BackupDR + // "DATABASE_RESOURCE_SIGNAL_DATA" - Database resource signal data FeedType string `json:"feedType,omitempty"` ObservabilityMetricData *ObservabilityMetricData `json:"observabilityMetricData,omitempty"` RecommendationSignalData *DatabaseResourceRecommendationSignalData `json:"recommendationSignalData,omitempty"` @@ -1644,7 +1648,7 @@ func (s DatabaseResourceId) MarshalJSON() ([]byte, error) { } // DatabaseResourceMetadata: Common model for database resource instance -// metadata. Next ID: 26 +// metadata. Next ID: 27 type DatabaseResourceMetadata struct { // AvailabilityConfiguration: Availability configuration for this instance AvailabilityConfiguration *AvailabilityConfiguration `json:"availabilityConfiguration,omitempty"` @@ -1762,6 +1766,9 @@ type DatabaseResourceMetadata struct { UpdationTime string `json:"updationTime,omitempty"` // UserLabelSet: User-provided labels associated with the resource UserLabelSet *UserLabels `json:"userLabelSet,omitempty"` + // Zone: The resource zone. This is only applicable for zonal resources and + // will be empty for regional and multi-regional resources. + Zone string `json:"zone,omitempty"` // ForceSendFields is a list of field names (e.g. "AvailabilityConfiguration") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -2072,6 +2079,60 @@ func (s DatabaseResourceRecommendationSignalData) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// DatabaseResourceSignalData: Database resource signal data. This is used to +// send signals to Condor which are based on the DB/Instance/Fleet level +// configurations. These will be used to send signals for all inventory types. +// Next ID: 7 +type DatabaseResourceSignalData struct { + // FullResourceName: Required. Full Resource name of the source resource. + FullResourceName string `json:"fullResourceName,omitempty"` + // LastRefreshTime: Required. Last time signal was refreshed + LastRefreshTime string `json:"lastRefreshTime,omitempty"` + // ResourceId: Database resource id. + ResourceId *DatabaseResourceId `json:"resourceId,omitempty"` + // SignalBoolValue: Signal data for boolean signals. + SignalBoolValue bool `json:"signalBoolValue,omitempty"` + // SignalState: Required. Output only. Signal state of the signal + // + // Possible values: + // "SIGNAL_STATE_UNSPECIFIED" - Unspecified signal state. + // "ACTIVE" - Signal is active and requires attention. + // "INACTIVE" - Signal is inactive and does not require attention. + // "DISMISSED" - Signal is dismissed by the user and should not be shown to + // the user again. + SignalState string `json:"signalState,omitempty"` + // SignalType: Required. Signal type of the signal + // + // Possible values: + // "SIGNAL_TYPE_UNSPECIFIED" - Unspecified signal type. + // "SIGNAL_TYPE_OUTDATED_MINOR_VERSION" - Outdated Minor Version + // "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED" - Represents database auditing is + // disabled. + // "SIGNAL_TYPE_NO_ROOT_PASSWORD" - Represents if a database has a password + // configured for the root account or not. + // "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS" - Represents if a resource is + // exposed to public access. + // "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS" - Represents if a resources requires + // all incoming connections to use SSL or not. + SignalType string `json:"signalType,omitempty"` + // ForceSendFields is a list of field names (e.g. "FullResourceName") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "FullResourceName") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s DatabaseResourceSignalData) MarshalJSON() ([]byte, error) { + type NoMethod DatabaseResourceSignalData + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // DiscoveryEndpoint: Endpoints on each network, for Redis clients to connect // to the cluster. type DiscoveryEndpoint struct { @@ -4433,9 +4494,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do not -// use this field. It is unsupported and is ignored unless explicitly -// documented otherwise. This is primarily for internal usage. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c