diff --git a/bigtableadmin/v2/bigtableadmin-api.json b/bigtableadmin/v2/bigtableadmin-api.json index 9688846bb1b..8afd56299ab 100644 --- a/bigtableadmin/v2/bigtableadmin-api.json +++ b/bigtableadmin/v2/bigtableadmin-api.json @@ -1067,7 +1067,7 @@ ] }, "getIamPolicy": { - "description": "Gets the access control policy for a Table or Backup resource. Returns an empty policy if the resource exists but does not have a policy set.", + "description": "Gets the access control policy for a Bigtable resource. Returns an empty policy if the resource exists but does not have a policy set.", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}:getIamPolicy", "httpMethod": "POST", "id": "bigtableadmin.projects.instances.clusters.backups.getIamPolicy", @@ -1187,7 +1187,7 @@ ] }, "setIamPolicy": { - "description": "Sets the access control policy on a Table or Backup resource. Replaces any existing policy.", + "description": "Sets the access control policy on a Bigtable resource. Replaces any existing policy.", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}:setIamPolicy", "httpMethod": "POST", "id": "bigtableadmin.projects.instances.clusters.backups.setIamPolicy", @@ -1219,7 +1219,7 @@ ] }, "testIamPermissions": { - "description": "Returns permissions that the caller has on the specified Table or Backup resource.", + "description": "Returns permissions that the caller has on the specified Bigtable resource.", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}:testIamPermissions", "httpMethod": "POST", "id": "bigtableadmin.projects.instances.clusters.backups.testIamPermissions", @@ -1524,7 +1524,7 @@ ] }, "getIamPolicy": { - "description": "Gets the access control policy for a Table or Backup resource. Returns an empty policy if the resource exists but does not have a policy set.", + "description": "Gets the access control policy for a Bigtable resource. Returns an empty policy if the resource exists but does not have a policy set.", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:getIamPolicy", "httpMethod": "POST", "id": "bigtableadmin.projects.instances.tables.getIamPolicy", @@ -1722,7 +1722,7 @@ ] }, "setIamPolicy": { - "description": "Sets the access control policy on a Table or Backup resource. Replaces any existing policy.", + "description": "Sets the access control policy on a Bigtable resource. Replaces any existing policy.", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:setIamPolicy", "httpMethod": "POST", "id": "bigtableadmin.projects.instances.tables.setIamPolicy", @@ -1754,7 +1754,7 @@ ] }, "testIamPermissions": { - "description": "Returns permissions that the caller has on the specified Table or Backup resource.", + "description": "Returns permissions that the caller has on the specified Bigtable resource.", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:testIamPermissions", "httpMethod": "POST", "id": "bigtableadmin.projects.instances.tables.testIamPermissions", @@ -1939,7 +1939,7 @@ ] }, "getIamPolicy": { - "description": "Gets the access control policy for a Table or Backup resource. Returns an empty policy if the resource exists but does not have a policy set.", + "description": "Gets the access control policy for a Bigtable resource. Returns an empty policy if the resource exists but does not have a policy set.", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}:getIamPolicy", "httpMethod": "POST", "id": "bigtableadmin.projects.instances.tables.authorizedViews.getIamPolicy", @@ -2071,7 +2071,7 @@ ] }, "setIamPolicy": { - "description": "Sets the access control policy on a Table or Backup resource. Replaces any existing policy.", + "description": "Sets the access control policy on a Bigtable resource. Replaces any existing policy.", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}:setIamPolicy", "httpMethod": "POST", "id": "bigtableadmin.projects.instances.tables.authorizedViews.setIamPolicy", @@ -2103,7 +2103,7 @@ ] }, "testIamPermissions": { - "description": "Returns permissions that the caller has on the specified Table or Backup resource.", + "description": "Returns permissions that the caller has on the specified Bigtable resource.", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}:testIamPermissions", "httpMethod": "POST", "id": "bigtableadmin.projects.instances.tables.authorizedViews.testIamPermissions", @@ -2194,7 +2194,7 @@ } } }, - "revision": "20240319", + "revision": "20240413", "rootUrl": "https://bigtableadmin.googleapis.com/", "schemas": { "AppProfile": { @@ -2298,7 +2298,7 @@ "type": "object" }, "AuthorizedView": { - "description": "Placeholder for admin API work while we work out the internals.", + "description": "An Authorized View of a Cloud Bigtable Table.", "id": "AuthorizedView", "properties": { "deletionProtection": { @@ -2918,7 +2918,7 @@ "type": "object" }, "DataBoostIsolationReadOnly": { - "description": "Data Boost is a serverless compute capability that lets you run high-throughput read jobs on your Bigtable data, without impacting the performance of the clusters that handle your application traffic. Currently, Data Boost exclusively supports read-only use-cases with single-cluster routing. Data Boost reads are only guaranteed to see the results of writes that were written at least 30 minutes ago. This means newly written values may not become visible for up to 30m, and also means that old values may remain visible for up to 30m after being deleted or overwritten. To mitigate the staleness of the data, users may either wait 30m, or use CheckConsistency.", + "description": "Data Boost is a serverless compute capability that lets you run high-throughput read jobs and queries on your Bigtable data, without impacting the performance of the clusters that handle your application traffic. Data Boost supports read-only use cases with single-cluster routing.", "id": "DataBoostIsolationReadOnly", "properties": { "computeBillingOwner": { @@ -4190,7 +4190,7 @@ "properties": { "authorizedView": { "$ref": "AuthorizedView", - "description": "Required. The AuthorizedView to update. The `name` in `authorized_view` is used to identify the AuthorizedView. AuthorizedView name must in this format projects//instances//tables//authorizedViews/" + "description": "Required. The AuthorizedView to update. The `name` in `authorized_view` is used to identify the AuthorizedView. AuthorizedView name must in this format: `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`." }, "ignoreWarnings": { "description": "Optional. If true, ignore the safety checks when updating the AuthorizedView.", diff --git a/bigtableadmin/v2/bigtableadmin-gen.go b/bigtableadmin/v2/bigtableadmin-gen.go index 9b12e836a3a..0339f374806 100644 --- a/bigtableadmin/v2/bigtableadmin-gen.go +++ b/bigtableadmin/v2/bigtableadmin-gen.go @@ -468,8 +468,7 @@ func (s *AuditLogConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// AuthorizedView: Placeholder for admin API work while we work out the -// internals. +// AuthorizedView: An Authorized View of a Cloud Bigtable Table. type AuthorizedView struct { // DeletionProtection: Set to true to make the AuthorizedView protected against // deletion. The parent Table and containing Instance cannot be deleted if an @@ -1455,15 +1454,10 @@ func (s *CreateTableRequest) MarshalJSON() ([]byte, error) { } // DataBoostIsolationReadOnly: Data Boost is a serverless compute capability -// that lets you run high-throughput read jobs on your Bigtable data, without -// impacting the performance of the clusters that handle your application -// traffic. Currently, Data Boost exclusively supports read-only use-cases with -// single-cluster routing. Data Boost reads are only guaranteed to see the -// results of writes that were written at least 30 minutes ago. This means -// newly written values may not become visible for up to 30m, and also means -// that old values may remain visible for up to 30m after being deleted or -// overwritten. To mitigate the staleness of the data, users may either wait -// 30m, or use CheckConsistency. +// that lets you run high-throughput read jobs and queries on your Bigtable +// data, without impacting the performance of the clusters that handle your +// application traffic. Data Boost supports read-only use cases with +// single-cluster routing. type DataBoostIsolationReadOnly struct { // ComputeBillingOwner: The Compute Billing Owner for this Data Boost App // Profile. @@ -3425,7 +3419,9 @@ func (s *UpdateAuthorizedViewMetadata) MarshalJSON() ([]byte, error) { type UpdateAuthorizedViewRequest struct { // AuthorizedView: Required. The AuthorizedView to update. The `name` in // `authorized_view` is used to identify the AuthorizedView. AuthorizedView - // name must in this format projects//instances//tables//authorizedViews/ + // name must in this format: + // `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{auth + // orized_view}`. AuthorizedView *AuthorizedView `json:"authorizedView,omitempty"` // IgnoreWarnings: Optional. If true, ignore the safety checks when updating // the AuthorizedView. @@ -6492,7 +6488,7 @@ type ProjectsInstancesClustersBackupsGetIamPolicyCall struct { header_ http.Header } -// GetIamPolicy: Gets the access control policy for a Table or Backup resource. +// GetIamPolicy: Gets the access control policy for a Bigtable resource. // Returns an empty policy if the resource exists but does not have a policy // set. // @@ -6906,7 +6902,7 @@ type ProjectsInstancesClustersBackupsSetIamPolicyCall struct { header_ http.Header } -// SetIamPolicy: Sets the access control policy on a Table or Backup resource. +// SetIamPolicy: Sets the access control policy on a Bigtable resource. // Replaces any existing policy. // // - resource: REQUIRED: The resource for which the policy is being specified. @@ -7011,7 +7007,7 @@ type ProjectsInstancesClustersBackupsTestIamPermissionsCall struct { } // TestIamPermissions: Returns permissions that the caller has on the specified -// Table or Backup resource. +// Bigtable resource. // // - resource: REQUIRED: The resource for which the policy detail is being // requested. See Resource names @@ -7948,7 +7944,7 @@ type ProjectsInstancesTablesGetIamPolicyCall struct { header_ http.Header } -// GetIamPolicy: Gets the access control policy for a Table or Backup resource. +// GetIamPolicy: Gets the access control policy for a Bigtable resource. // Returns an empty policy if the resource exists but does not have a policy // set. // @@ -8565,7 +8561,7 @@ type ProjectsInstancesTablesSetIamPolicyCall struct { header_ http.Header } -// SetIamPolicy: Sets the access control policy on a Table or Backup resource. +// SetIamPolicy: Sets the access control policy on a Bigtable resource. // Replaces any existing policy. // // - resource: REQUIRED: The resource for which the policy is being specified. @@ -8670,7 +8666,7 @@ type ProjectsInstancesTablesTestIamPermissionsCall struct { } // TestIamPermissions: Returns permissions that the caller has on the specified -// Table or Backup resource. +// Bigtable resource. // // - resource: REQUIRED: The resource for which the policy detail is being // requested. See Resource names @@ -9228,7 +9224,7 @@ type ProjectsInstancesTablesAuthorizedViewsGetIamPolicyCall struct { header_ http.Header } -// GetIamPolicy: Gets the access control policy for a Table or Backup resource. +// GetIamPolicy: Gets the access control policy for a Bigtable resource. // Returns an empty policy if the resource exists but does not have a policy // set. // @@ -9624,7 +9620,7 @@ type ProjectsInstancesTablesAuthorizedViewsSetIamPolicyCall struct { header_ http.Header } -// SetIamPolicy: Sets the access control policy on a Table or Backup resource. +// SetIamPolicy: Sets the access control policy on a Bigtable resource. // Replaces any existing policy. // // - resource: REQUIRED: The resource for which the policy is being specified. @@ -9729,7 +9725,7 @@ type ProjectsInstancesTablesAuthorizedViewsTestIamPermissionsCall struct { } // TestIamPermissions: Returns permissions that the caller has on the specified -// Table or Backup resource. +// Bigtable resource. // // - resource: REQUIRED: The resource for which the policy detail is being // requested. See Resource names diff --git a/container/v1/container-api.json b/container/v1/container-api.json index c18824eff57..c467066aeac 100644 --- a/container/v1/container-api.json +++ b/container/v1/container-api.json @@ -2540,7 +2540,7 @@ } } }, - "revision": "20240327", + "revision": "20240409", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2718,6 +2718,10 @@ "description": "Specifies options for controlling advanced machine features.", "id": "AdvancedMachineFeatures", "properties": { + "enableNestedVirtualization": { + "description": "Whether or not to enable nested virtualization (defaults to false).", + "type": "boolean" + }, "threadsPerCore": { "description": "The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.", "format": "int64", @@ -5108,7 +5112,7 @@ "description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster." }, "inTransitEncryptionConfig": { - "description": "Specify the details of in-transit encryption.", + "description": "Specify the details of in-transit encryption. Now named inter-node transparent encryption.", "enum": [ "IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED", "IN_TRANSIT_ENCRYPTION_DISABLED", @@ -6552,12 +6556,14 @@ "enum": [ "MODE_UNSPECIFIED", "DISABLED", - "BASIC" + "BASIC", + "ENTERPRISE" ], "enumDescriptions": [ "Default value not specified.", "Disables Security Posture features on the cluster.", - "Applies Security Posture features on the cluster." + "Applies Security Posture features on the cluster.", + "Applies the Security Posture off cluster Enterprise level features." ], "type": "string" }, diff --git a/container/v1/container-gen.go b/container/v1/container-gen.go index 76e62056c31..f1e7f3026a2 100644 --- a/container/v1/container-gen.go +++ b/container/v1/container-gen.go @@ -510,19 +510,22 @@ func (s *AdvancedDatapathObservabilityConfig) MarshalJSON() ([]byte, error) { // AdvancedMachineFeatures: Specifies options for controlling advanced machine // features. type AdvancedMachineFeatures struct { + // EnableNestedVirtualization: Whether or not to enable nested virtualization + // (defaults to false). + EnableNestedVirtualization bool `json:"enableNestedVirtualization,omitempty"` // ThreadsPerCore: The number of threads per physical core. To disable // simultaneous multithreading (SMT) set this to 1. If unset, the maximum // number of threads supported per core by the underlying processor is assumed. ThreadsPerCore int64 `json:"threadsPerCore,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "ThreadsPerCore") to - // unconditionally include in API requests. By default, fields with empty or + // ForceSendFields is a list of field names (e.g. "EnableNestedVirtualization") + // 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. "ThreadsPerCore") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "EnableNestedVirtualization") 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:"-"` } @@ -3615,7 +3618,8 @@ type NetworkConfig struct { // GatewayApiConfig: GatewayAPIConfig contains the desired config of Gateway // API on this cluster. GatewayApiConfig *GatewayAPIConfig `json:"gatewayApiConfig,omitempty"` - // InTransitEncryptionConfig: Specify the details of in-transit encryption. + // InTransitEncryptionConfig: Specify the details of in-transit encryption. Now + // named inter-node transparent encryption. // // Possible values: // "IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED" - Unspecified, will be inferred @@ -5456,6 +5460,8 @@ type SecurityPostureConfig struct { // "MODE_UNSPECIFIED" - Default value not specified. // "DISABLED" - Disables Security Posture features on the cluster. // "BASIC" - Applies Security Posture features on the cluster. + // "ENTERPRISE" - Applies the Security Posture off cluster Enterprise level + // features. Mode string `json:"mode,omitempty"` // VulnerabilityMode: Sets which mode to use for vulnerability scanning. // diff --git a/dataform/v1beta1/dataform-api.json b/dataform/v1beta1/dataform-api.json index 26b9d3f8896..1c939b2feee 100644 --- a/dataform/v1beta1/dataform-api.json +++ b/dataform/v1beta1/dataform-api.json @@ -790,6 +790,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "Optional. This field only supports ordering by `name` and `create_time`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", "format": "int32", @@ -2103,7 +2108,7 @@ } } }, - "revision": "20240323", + "revision": "20240420", "rootUrl": "https://dataform.googleapis.com/", "schemas": { "Assertion": { @@ -2147,6 +2152,11 @@ "description": "Represents a workflow action that will run against BigQuery.", "id": "BigQueryAction", "properties": { + "jobId": { + "description": "Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run.", + "readOnly": true, + "type": "string" + }, "sqlScript": { "description": "Output only. The generated BigQuery SQL script that will be executed.", "readOnly": true, @@ -2203,6 +2213,9 @@ "description": "Optional. The default BigQuery location to use. Defaults to \"US\". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.", "type": "string" }, + "defaultNotebookRuntimeOptions": { + "$ref": "NotebookRuntimeOptions" + }, "defaultSchema": { "description": "Optional. The default schema (BigQuery dataset ID).", "type": "string" @@ -2441,6 +2454,10 @@ "description": "The full path including filename in which this action is located, relative to the workspace root.", "type": "string" }, + "notebook": { + "$ref": "Notebook", + "description": "The notebook executed by this action." + }, "operations": { "$ref": "Operations", "description": "The database operations executed by this action." @@ -3059,6 +3076,61 @@ "properties": {}, "type": "object" }, + "Notebook": { + "id": "Notebook", + "properties": { + "contents": { + "description": "The contents of the notebook.", + "type": "string" + }, + "dependencyTargets": { + "description": "A list of actions that this action depends on.", + "items": { + "$ref": "Target" + }, + "type": "array" + }, + "disabled": { + "description": "Whether this action is disabled (i.e. should not be run).", + "type": "boolean" + }, + "tags": { + "description": "Arbitrary, user-defined tags on this action.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "NotebookAction": { + "description": "Represents a workflow action that will run against a Notebook runtime.", + "id": "NotebookAction", + "properties": { + "contents": { + "description": "Output only. The code contents of a Notebook to be run.", + "readOnly": true, + "type": "string" + }, + "jobId": { + "description": "Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in GCS buckets. Only set once the job has started to run.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "NotebookRuntimeOptions": { + "id": "NotebookRuntimeOptions", + "properties": { + "gcsOutputBucket": { + "description": "Optional. The GCS location to upload the result to. Format: `gs://bucket-name`.", + "type": "string" + } + }, + "type": "object" + }, "OperationMetadata": { "description": "Represents the metadata of the long-running operation.", "id": "OperationMetadata", @@ -3857,6 +3929,11 @@ "description": "Output only. This action's timing details. `start_time` will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.", "readOnly": true }, + "notebookAction": { + "$ref": "NotebookAction", + "description": "Output only. The workflow action's notebook action details.", + "readOnly": true + }, "state": { "description": "Output only. This action's current state.", "enum": [ diff --git a/dataform/v1beta1/dataform-gen.go b/dataform/v1beta1/dataform-gen.go index 1de16ca6f8e..4bedb7007c5 100644 --- a/dataform/v1beta1/dataform-gen.go +++ b/dataform/v1beta1/dataform-gen.go @@ -298,16 +298,19 @@ func (s *Assertion) MarshalJSON() ([]byte, error) { // BigQueryAction: Represents a workflow action that will run against BigQuery. type BigQueryAction struct { + // JobId: Output only. The ID of the BigQuery job that executed the SQL in + // sql_script. Only set once the job has started to run. + JobId string `json:"jobId,omitempty"` // SqlScript: Output only. The generated BigQuery SQL script that will be // executed. SqlScript string `json:"sqlScript,omitempty"` - // ForceSendFields is a list of field names (e.g. "SqlScript") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "JobId") 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. "SqlScript") to include in API + // NullFields is a list of field names (e.g. "JobId") 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. @@ -436,7 +439,8 @@ type CodeCompilationConfig struct { // DefaultLocation: Optional. The default BigQuery location to use. Defaults to // "US". See the BigQuery docs for a full list of locations: // https://cloud.google.com/bigquery/docs/locations. - DefaultLocation string `json:"defaultLocation,omitempty"` + DefaultLocation string `json:"defaultLocation,omitempty"` + DefaultNotebookRuntimeOptions *NotebookRuntimeOptions `json:"defaultNotebookRuntimeOptions,omitempty"` // DefaultSchema: Optional. The default schema (BigQuery dataset ID). DefaultSchema string `json:"defaultSchema,omitempty"` // SchemaSuffix: Optional. The suffix that should be appended to all schema @@ -720,6 +724,8 @@ type CompilationResultAction struct { // FilePath: The full path including filename in which this action is located, // relative to the workspace root. FilePath string `json:"filePath,omitempty"` + // Notebook: The notebook executed by this action. + Notebook *Notebook `json:"notebook,omitempty"` // Operations: The database operations executed by this action. Operations *Operations `json:"operations,omitempty"` // Relation: The database relation created/updated by this action. @@ -1600,6 +1606,82 @@ type MoveFileResponse struct { googleapi.ServerResponse `json:"-"` } +type Notebook struct { + // Contents: The contents of the notebook. + Contents string `json:"contents,omitempty"` + // DependencyTargets: A list of actions that this action depends on. + DependencyTargets []*Target `json:"dependencyTargets,omitempty"` + // Disabled: Whether this action is disabled (i.e. should not be run). + Disabled bool `json:"disabled,omitempty"` + // Tags: Arbitrary, user-defined tags on this action. + Tags []string `json:"tags,omitempty"` + // ForceSendFields is a list of field names (e.g. "Contents") 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. "Contents") 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 *Notebook) MarshalJSON() ([]byte, error) { + type NoMethod Notebook + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + +// NotebookAction: Represents a workflow action that will run against a +// Notebook runtime. +type NotebookAction struct { + // Contents: Output only. The code contents of a Notebook to be run. + Contents string `json:"contents,omitempty"` + // JobId: Output only. The ID of the Vertex job that executed the notebook in + // contents and also the ID used for the outputs created in GCS buckets. Only + // set once the job has started to run. + JobId string `json:"jobId,omitempty"` + // ForceSendFields is a list of field names (e.g. "Contents") 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. "Contents") 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 *NotebookAction) MarshalJSON() ([]byte, error) { + type NoMethod NotebookAction + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + +type NotebookRuntimeOptions struct { + // GcsOutputBucket: Optional. The GCS location to upload the result to. Format: + // `gs://bucket-name`. + GcsOutputBucket string `json:"gcsOutputBucket,omitempty"` + // ForceSendFields is a list of field names (e.g. "GcsOutputBucket") 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. "GcsOutputBucket") 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 *NotebookRuntimeOptions) MarshalJSON() ([]byte, error) { + type NoMethod NotebookRuntimeOptions + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // OperationMetadata: Represents the metadata of the long-running operation. type OperationMetadata struct { // ApiVersion: Output only. API version used to start the operation. @@ -2675,6 +2757,8 @@ type WorkflowInvocationAction struct { // state. `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, // FAILED] state. InvocationTiming *Interval `json:"invocationTiming,omitempty"` + // NotebookAction: Output only. The workflow action's notebook action details. + NotebookAction *NotebookAction `json:"notebookAction,omitempty"` // State: Output only. This action's current state. // // Possible values: @@ -5341,6 +5425,15 @@ func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) Filter(filter return c } +// OrderBy sets the optional parameter "orderBy": This field only supports +// ordering by `name` and `create_time`. If unspecified, the server will choose +// the ordering. If specified, the default order is ascending for the `name` +// field. +func (c *ProjectsLocationsRepositoriesCompilationResultsListCall) OrderBy(orderBy string) *ProjectsLocationsRepositoriesCompilationResultsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": Maximum number of // compilation results to return. The server may return fewer items than // requested. If unspecified, the server will pick an appropriate default. diff --git a/dlp/v2/dlp-api.json b/dlp/v2/dlp-api.json index 80cfb4f12a3..723205380d3 100644 --- a/dlp/v2/dlp-api.json +++ b/dlp/v2/dlp-api.json @@ -4451,7 +4451,7 @@ } } }, - "revision": "20240414", + "revision": "20240421", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -7091,7 +7091,7 @@ "properties": { "profileTable": { "$ref": "GooglePrivacyDlpV2BigQueryTable", - "description": "Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery." + "description": "Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in new rows in BigQuery. Data is inserted using [streaming insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert) and so data may be in the buffer for a period of time after the profile has finished. The Pub/Sub notification is sent before the streaming buffer is guaranteed to be written, so data may not be instantly visible to queries by the time your topic receives the Pub/Sub notification." } }, "type": "object" @@ -9649,6 +9649,11 @@ }, "type": "array" }, + "numRowsProcessed": { + "description": "Number of rows scanned post sampling and time filtering (Applicable for row based stores such as BigQuery).", + "format": "int64", + "type": "string" + }, "processedBytes": { "description": "Total size in bytes that were processed.", "format": "int64", diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index db846cc7288..0e81fc072d4 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -4291,8 +4291,13 @@ func (s *GooglePrivacyDlpV2ExclusionRule) MarshalJSON() ([]byte, error) { // persisted to the location of your choice whenever updated. type GooglePrivacyDlpV2Export struct { // ProfileTable: Store all table and column profiles in an existing table or a - // new table in an existing dataset. Each re-generation will result in a new - // row in BigQuery. + // new table in an existing dataset. Each re-generation will result in new rows + // in BigQuery. Data is inserted using streaming insert + // (https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert) + // and so data may be in the buffer for a period of time after the profile has + // finished. The Pub/Sub notification is sent before the streaming buffer is + // guaranteed to be written, so data may not be instantly visible to queries by + // the time your topic receives the Pub/Sub notification. ProfileTable *GooglePrivacyDlpV2BigQueryTable `json:"profileTable,omitempty"` // ForceSendFields is a list of field names (e.g. "ProfileTable") to // unconditionally include in API requests. By default, fields with empty or @@ -7860,6 +7865,9 @@ type GooglePrivacyDlpV2Result struct { // InfoTypeStats: Statistics of how many instances of each info type were found // during inspect job. InfoTypeStats []*GooglePrivacyDlpV2InfoTypeStats `json:"infoTypeStats,omitempty"` + // NumRowsProcessed: Number of rows scanned post sampling and time filtering + // (Applicable for row based stores such as BigQuery). + NumRowsProcessed int64 `json:"numRowsProcessed,omitempty,string"` // ProcessedBytes: Total size in bytes that were processed. ProcessedBytes int64 `json:"processedBytes,omitempty,string"` // TotalEstimatedBytes: Estimate of the number of bytes to process. diff --git a/dns/v1/dns-api.json b/dns/v1/dns-api.json index 7c8ebc90270..1d05377782e 100644 --- a/dns/v1/dns-api.json +++ b/dns/v1/dns-api.json @@ -1824,7 +1824,7 @@ } } }, - "revision": "20240222", + "revision": "20240419", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { @@ -3030,10 +3030,6 @@ "geo": { "$ref": "RRSetRoutingPolicyGeoPolicy" }, - "healthCheck": { - "description": "The selfLink attribute of the HealthCheck resource to use for this RRSetRoutingPolicy. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks", - "type": "string" - }, "kind": { "default": "dns#rRSetRoutingPolicy", "type": "string" @@ -3105,13 +3101,6 @@ "description": "HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Only one of internal_load_balancer and external_endpoints should be set.", "id": "RRSetRoutingPolicyHealthCheckTargets", "properties": { - "externalEndpoints": { - "description": "The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)", - "items": { - "type": "string" - }, - "type": "array" - }, "internalLoadBalancers": { "description": "Configuration for internal load balancers to be health checked.", "items": { diff --git a/dns/v1/dns-gen.go b/dns/v1/dns-gen.go index 7143cc1856c..48b0d213f9b 100644 --- a/dns/v1/dns-gen.go +++ b/dns/v1/dns-gen.go @@ -1923,11 +1923,7 @@ func (s *Quota) MarshalJSON() ([]byte, error) { // that is returned dynamically with the response varying based on configured // properties such as geolocation or by weighted random selection. type RRSetRoutingPolicy struct { - Geo *RRSetRoutingPolicyGeoPolicy `json:"geo,omitempty"` - // HealthCheck: The selfLink attribute of the HealthCheck resource to use for - // this RRSetRoutingPolicy. - // https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks - HealthCheck string `json:"healthCheck,omitempty"` + Geo *RRSetRoutingPolicyGeoPolicy `json:"geo,omitempty"` Kind string `json:"kind,omitempty"` PrimaryBackup *RRSetRoutingPolicyPrimaryBackupPolicy `json:"primaryBackup,omitempty"` Wrr *RRSetRoutingPolicyWrrPolicy `json:"wrr,omitempty"` @@ -2022,22 +2018,18 @@ func (s *RRSetRoutingPolicyGeoPolicyGeoPolicyItem) MarshalJSON() ([]byte, error) // endpoints will be included in the response. Only one of // internal_load_balancer and external_endpoints should be set. type RRSetRoutingPolicyHealthCheckTargets struct { - // ExternalEndpoints: The Internet IP addresses to be health checked. The - // format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 - // (section 5) and RFC 1034 (section 3.6.1) - ExternalEndpoints []string `json:"externalEndpoints,omitempty"` // InternalLoadBalancers: Configuration for internal load balancers to be // health checked. InternalLoadBalancers []*RRSetRoutingPolicyLoadBalancerTarget `json:"internalLoadBalancers,omitempty"` - // ForceSendFields is a list of field names (e.g. "ExternalEndpoints") to + // ForceSendFields is a list of field names (e.g. "InternalLoadBalancers") 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. "ExternalEndpoints") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "InternalLoadBalancers") 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:"-"` } diff --git a/dns/v1beta2/dns-api.json b/dns/v1beta2/dns-api.json index b0d2de58a6c..5a09f7629db 100644 --- a/dns/v1beta2/dns-api.json +++ b/dns/v1beta2/dns-api.json @@ -1821,7 +1821,7 @@ } } }, - "revision": "20240222", + "revision": "20240419", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { @@ -3031,10 +3031,6 @@ "$ref": "RRSetRoutingPolicyGeoPolicy", "deprecated": true }, - "healthCheck": { - "description": "The selfLink attribute of the HealthCheck resource to use for this RRSetRoutingPolicy. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks", - "type": "string" - }, "kind": { "default": "dns#rRSetRoutingPolicy", "type": "string" @@ -3110,13 +3106,6 @@ "description": "HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Only one of internal_load_balancer and external_endpoints should be set.", "id": "RRSetRoutingPolicyHealthCheckTargets", "properties": { - "externalEndpoints": { - "description": "The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)", - "items": { - "type": "string" - }, - "type": "array" - }, "internalLoadBalancers": { "description": "Configuration for internal load balancers to be health checked.", "items": { diff --git a/dns/v1beta2/dns-gen.go b/dns/v1beta2/dns-gen.go index 28b1b7cb70a..81dc2820f50 100644 --- a/dns/v1beta2/dns-gen.go +++ b/dns/v1beta2/dns-gen.go @@ -1923,12 +1923,8 @@ func (s *Quota) MarshalJSON() ([]byte, error) { // that is returned dynamically with the response varying based on configured // properties such as geolocation or by weighted random selection. type RRSetRoutingPolicy struct { - Geo *RRSetRoutingPolicyGeoPolicy `json:"geo,omitempty"` - GeoPolicy *RRSetRoutingPolicyGeoPolicy `json:"geoPolicy,omitempty"` - // HealthCheck: The selfLink attribute of the HealthCheck resource to use for - // this RRSetRoutingPolicy. - // https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks - HealthCheck string `json:"healthCheck,omitempty"` + Geo *RRSetRoutingPolicyGeoPolicy `json:"geo,omitempty"` + GeoPolicy *RRSetRoutingPolicyGeoPolicy `json:"geoPolicy,omitempty"` Kind string `json:"kind,omitempty"` PrimaryBackup *RRSetRoutingPolicyPrimaryBackupPolicy `json:"primaryBackup,omitempty"` Wrr *RRSetRoutingPolicyWrrPolicy `json:"wrr,omitempty"` @@ -2024,22 +2020,18 @@ func (s *RRSetRoutingPolicyGeoPolicyGeoPolicyItem) MarshalJSON() ([]byte, error) // endpoints will be included in the response. Only one of // internal_load_balancer and external_endpoints should be set. type RRSetRoutingPolicyHealthCheckTargets struct { - // ExternalEndpoints: The Internet IP addresses to be health checked. The - // format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 - // (section 5) and RFC 1034 (section 3.6.1) - ExternalEndpoints []string `json:"externalEndpoints,omitempty"` // InternalLoadBalancers: Configuration for internal load balancers to be // health checked. InternalLoadBalancers []*RRSetRoutingPolicyLoadBalancerTarget `json:"internalLoadBalancers,omitempty"` - // ForceSendFields is a list of field names (e.g. "ExternalEndpoints") to + // ForceSendFields is a list of field names (e.g. "InternalLoadBalancers") 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. "ExternalEndpoints") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "InternalLoadBalancers") 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:"-"` } diff --git a/firebaseml/v2beta/firebaseml-api.json b/firebaseml/v2beta/firebaseml-api.json index db7425eb69e..217e785ef85 100644 --- a/firebaseml/v2beta/firebaseml-api.json +++ b/firebaseml/v2beta/firebaseml-api.json @@ -206,7 +206,7 @@ } } }, - "revision": "20240422", + "revision": "20240425", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Blob": { @@ -771,6 +771,24 @@ }, "type": "object" }, + "RagResource": { + "description": "The definition of the Rag resource.", + "id": "RagResource", + "properties": { + "ragCorpus": { + "description": "Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`", + "type": "string" + }, + "ragFileIds": { + "description": "Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Retrieval": { "description": "Defines a retrieval tool that model can call to access external knowledge.", "id": "Retrieval", @@ -1132,12 +1150,19 @@ "id": "VertexRagStore", "properties": { "ragCorpora": { - "description": "Required. Vertex RAG Store corpus resource name: `projects/{project}/locations/{location}/ragCorpora/{ragCorpus}` Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location.", + "description": "Optional. Deprecated. Please use rag_resources instead.", "items": { "type": "string" }, "type": "array" }, + "ragResources": { + "description": "Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.", + "items": { + "$ref": "RagResource" + }, + "type": "array" + }, "similarityTopK": { "description": "Optional. Number of top k results to return from the selected corpora.", "format": "int32", diff --git a/firebaseml/v2beta/firebaseml-gen.go b/firebaseml/v2beta/firebaseml-gen.go index 902a1803d8f..1de9e5378c5 100644 --- a/firebaseml/v2beta/firebaseml-gen.go +++ b/firebaseml/v2beta/firebaseml-gen.go @@ -901,6 +901,32 @@ func (s *PromptFeedback) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// RagResource: The definition of the Rag resource. +type RagResource struct { + // RagCorpus: Optional. RagCorpora resource name. Format: + // `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + RagCorpus string `json:"ragCorpus,omitempty"` + // RagFileIds: Optional. rag_file_id. The files should be in the same + // rag_corpus set in rag_corpus field. + RagFileIds []string `json:"ragFileIds,omitempty"` + // ForceSendFields is a list of field names (e.g. "RagCorpus") 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. "RagCorpus") 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 *RagResource) MarshalJSON() ([]byte, error) { + type NoMethod RagResource + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // Retrieval: Defines a retrieval tool that model can call to access external // knowledge. type Retrieval struct { @@ -1288,11 +1314,13 @@ func (s *VertexAISearch) MarshalJSON() ([]byte, error) { // VertexRagStore: Retrieve from Vertex RAG Store for grounding. type VertexRagStore struct { - // RagCorpora: Required. Vertex RAG Store corpus resource name: - // `projects/{project}/locations/{location}/ragCorpora/{ragCorpus}` Currently - // only one corpus is allowed. In the future we may open up multiple corpora - // support. However, they should be from the same project and location. + // RagCorpora: Optional. Deprecated. Please use rag_resources instead. RagCorpora []string `json:"ragCorpora,omitempty"` + // RagResources: Optional. The representation of the rag source. It can be used + // to specify corpus only or ragfiles. Currently only support one corpus or + // multiple files from one corpus. In the future we may open up multiple + // corpora support. + RagResources []*RagResource `json:"ragResources,omitempty"` // SimilarityTopK: Optional. Number of top k results to return from the // selected corpora. SimilarityTopK int64 `json:"similarityTopK,omitempty"` diff --git a/firestore/v1/firestore-api.json b/firestore/v1/firestore-api.json index 53331888903..3143863a70b 100644 --- a/firestore/v1/firestore-api.json +++ b/firestore/v1/firestore-api.json @@ -356,7 +356,7 @@ "backupSchedules": { "methods": { "create": { - "description": "Creates a backup schedule on a database. At most two backup schedules can be configured on a database, one daily backup schedule with retention up to 7 days and one weekly backup schedule with retention up to 14 weeks.", + "description": "Creates a backup schedule on a database. At most two backup schedules can be configured on a database, one daily backup schedule and one weekly backup schedule.", "flatPath": "v1/projects/{projectsId}/databases/{databasesId}/backupSchedules", "httpMethod": "POST", "id": "firestore.projects.databases.backupSchedules.create", @@ -539,7 +539,7 @@ ], "parameters": { "filter": { - "description": "The filter to apply to list results. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with a filter that includes `indexConfig.usesAncestorConfig:false` .", + "description": "The filter to apply to list results. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with a filter that includes `indexConfig.usesAncestorConfig:false` or `ttlConfig:*`.", "location": "query", "type": "string" }, @@ -1672,7 +1672,7 @@ } } }, - "revision": "20240324", + "revision": "20240420", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -2032,7 +2032,7 @@ "type": "object" }, "DocumentChange": { - "description": "A Document has changed. May be the result of multiple writes, including deletes, that ultimately resulted in a new value for the Document. Multiple DocumentChange messages may be returned for the same logical change, if multiple targets are affected.", + "description": "A Document has changed. May be the result of multiple writes, including deletes, that ultimately resulted in a new value for the Document. Multiple DocumentChange messages may be returned for the same logical change, if multiple targets are affected. For PipelineQueryTargets, `document` will be in the new pipeline format, For a Listen stream with both QueryTargets and PipelineQueryTargets present, if a document matches both types of queries, then a separate DocumentChange messages will be sent out one for each set.", "id": "DocumentChange", "properties": { "document": { @@ -2358,7 +2358,7 @@ "id": "FindNearest", "properties": { "distanceMeasure": { - "description": "Required. The Distance Measure to use, required.", + "description": "Required. The distance measure to use, required.", "enum": [ "DISTANCE_MEASURE_UNSPECIFIED", "EUCLIDEAN", @@ -2457,7 +2457,7 @@ }, "dailyRecurrence": { "$ref": "GoogleFirestoreAdminV1DailyRecurrence", - "description": "For a schedule that runs daily at a specified time." + "description": "For a schedule that runs daily." }, "name": { "description": "Output only. The unique backup schedule identifier across all locations and databases for the given project. This will be auto-assigned. Format is `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`", @@ -2477,7 +2477,7 @@ }, "weeklyRecurrence": { "$ref": "GoogleFirestoreAdminV1WeeklyRecurrence", - "description": "For a schedule that runs weekly on a specific day and time." + "description": "For a schedule that runs weekly on a specific day." } }, "type": "object" @@ -2508,7 +2508,7 @@ "type": "object" }, "GoogleFirestoreAdminV1DailyRecurrence": { - "description": "Represents a recurring schedule that runs at a specific time every day. The time zone is UTC.", + "description": "Represents a recurring schedule that runs every day. The time zone is UTC.", "id": "GoogleFirestoreAdminV1DailyRecurrence", "properties": {}, "type": "object" @@ -3107,7 +3107,7 @@ }, "vectorConfig": { "$ref": "GoogleFirestoreAdminV1VectorConfig", - "description": "Indicates that this field supports nearest neighbors and distance operations on vector." + "description": "Indicates that this field supports nearest neighbor and distance operations on vector." } }, "type": "object" @@ -4068,7 +4068,7 @@ }, "findNearest": { "$ref": "FindNearest", - "description": "Optional. A potential Nearest Neighbors Search. Applies after all other filters and ordering. Finds the closest vector embeddings to the given query vector." + "description": "Optional. A potential nearest neighbors search. Applies after all other filters and ordering. Finds the closest vector embeddings to the given query vector." }, "from": { "description": "The collections to query.", @@ -4256,7 +4256,7 @@ "properties": { "arrayValue": { "$ref": "ArrayValue", - "description": "An array value. Cannot directly contain another array value, though can contain an map which contains another array." + "description": "An array value. Cannot directly contain another array value, though can contain a map which contains another array." }, "booleanValue": { "description": "A boolean value.", diff --git a/firestore/v1/firestore-gen.go b/firestore/v1/firestore-gen.go index 2f4b89972df..c0dcf88dd9b 100644 --- a/firestore/v1/firestore-gen.go +++ b/firestore/v1/firestore-gen.go @@ -865,7 +865,11 @@ func (s *Document) MarshalJSON() ([]byte, error) { // DocumentChange: A Document has changed. May be the result of multiple // writes, including deletes, that ultimately resulted in a new value for the // Document. Multiple DocumentChange messages may be returned for the same -// logical change, if multiple targets are affected. +// logical change, if multiple targets are affected. For PipelineQueryTargets, +// `document` will be in the new pipeline format, For a Listen stream with both +// QueryTargets and PipelineQueryTargets present, if a document matches both +// types of queries, then a separate DocumentChange messages will be sent out +// one for each set. type DocumentChange struct { // Document: The new state of the Document. If `mask` is set, contains only // fields that were updated or added. @@ -1353,7 +1357,7 @@ func (s *Filter) MarshalJSON() ([]byte, error) { // FindNearest: Nearest Neighbors search config. type FindNearest struct { - // DistanceMeasure: Required. The Distance Measure to use, required. + // DistanceMeasure: Required. The distance measure to use, required. // // Possible values: // "DISTANCE_MEASURE_UNSPECIFIED" - Should not be set. @@ -1457,7 +1461,7 @@ type GoogleFirestoreAdminV1BackupSchedule struct { // created and effective since. No backups will be created for this schedule // before this time. CreateTime string `json:"createTime,omitempty"` - // DailyRecurrence: For a schedule that runs daily at a specified time. + // DailyRecurrence: For a schedule that runs daily. DailyRecurrence *GoogleFirestoreAdminV1DailyRecurrence `json:"dailyRecurrence,omitempty"` // Name: Output only. The unique backup schedule identifier across all // locations and databases for the given project. This will be auto-assigned. @@ -1471,8 +1475,7 @@ type GoogleFirestoreAdminV1BackupSchedule struct { // most recently updated. When a backup schedule is first created, this is the // same as create_time. UpdateTime string `json:"updateTime,omitempty"` - // WeeklyRecurrence: For a schedule that runs weekly on a specific day and - // time. + // WeeklyRecurrence: For a schedule that runs weekly on a specific day. WeeklyRecurrence *GoogleFirestoreAdminV1WeeklyRecurrence `json:"weeklyRecurrence,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. @@ -1538,7 +1541,7 @@ type GoogleFirestoreAdminV1CreateDatabaseMetadata struct { } // GoogleFirestoreAdminV1DailyRecurrence: Represents a recurring schedule that -// runs at a specific time every day. The time zone is UTC. +// runs every day. The time zone is UTC. type GoogleFirestoreAdminV1DailyRecurrence struct { } @@ -2196,7 +2199,7 @@ type GoogleFirestoreAdminV1IndexField struct { // "ASCENDING" - The field is ordered by ascending field value. // "DESCENDING" - The field is ordered by descending field value. Order string `json:"order,omitempty"` - // VectorConfig: Indicates that this field supports nearest neighbors and + // VectorConfig: Indicates that this field supports nearest neighbor and // distance operations on vector. VectorConfig *GoogleFirestoreAdminV1VectorConfig `json:"vectorConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "ArrayConfig") to @@ -3580,7 +3583,7 @@ type StructuredQuery struct { // rather than the start position. Requires: * The number of values cannot be // greater than the number of fields specified in the `ORDER BY` clause. EndAt *Cursor `json:"endAt,omitempty"` - // FindNearest: Optional. A potential Nearest Neighbors Search. Applies after + // FindNearest: Optional. A potential nearest neighbors search. Applies after // all other filters and ordering. Finds the closest vector embeddings to the // given query vector. FindNearest *FindNearest `json:"findNearest,omitempty"` @@ -3853,7 +3856,7 @@ func (s *UnaryFilter) MarshalJSON() ([]byte, error) { // Value: A message that can hold any of the supported value types. type Value struct { // ArrayValue: An array value. Cannot directly contain another array value, - // though can contain an map which contains another array. + // though can contain a map which contains another array. ArrayValue *ArrayValue `json:"arrayValue,omitempty"` // BooleanValue: A boolean value. BooleanValue bool `json:"booleanValue,omitempty"` @@ -4949,9 +4952,8 @@ type ProjectsDatabasesBackupSchedulesCreateCall struct { } // Create: Creates a backup schedule on a database. At most two backup -// schedules can be configured on a database, one daily backup schedule with -// retention up to 7 days and one weekly backup schedule with retention up to -// 14 weeks. +// schedules can be configured on a database, one daily backup schedule and one +// weekly backup schedule. // // - parent: The parent database. Format // `projects/{project}/databases/{database}`. @@ -5609,7 +5611,7 @@ func (r *ProjectsDatabasesCollectionGroupsFieldsService) List(parent string) *Pr // results. Currently, FirestoreAdmin.ListFields only supports listing fields // that have been explicitly overridden. To issue this query, call // FirestoreAdmin.ListFields with a filter that includes -// `indexConfig.usesAncestorConfig:false` . +// `indexConfig.usesAncestorConfig:false` or `ttlConfig:*`. func (c *ProjectsDatabasesCollectionGroupsFieldsListCall) Filter(filter string) *ProjectsDatabasesCollectionGroupsFieldsListCall { c.urlParams_.Set("filter", filter) return c diff --git a/firestore/v1beta1/firestore-api.json b/firestore/v1beta1/firestore-api.json index 1850daeaa78..ddea9f3a0c2 100644 --- a/firestore/v1beta1/firestore-api.json +++ b/firestore/v1beta1/firestore-api.json @@ -950,7 +950,7 @@ } } }, - "revision": "20240324", + "revision": "20240420", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -1310,7 +1310,7 @@ "type": "object" }, "DocumentChange": { - "description": "A Document has changed. May be the result of multiple writes, including deletes, that ultimately resulted in a new value for the Document. Multiple DocumentChange messages may be returned for the same logical change, if multiple targets are affected.", + "description": "A Document has changed. May be the result of multiple writes, including deletes, that ultimately resulted in a new value for the Document. Multiple DocumentChange messages may be returned for the same logical change, if multiple targets are affected. For PipelineQueryTargets, `document` will be in the new pipeline format, For a Listen stream with both QueryTargets and PipelineQueryTargets present, if a document matches both types of queries, then a separate DocumentChange messages will be sent out one for each set.", "id": "DocumentChange", "properties": { "document": { @@ -1636,7 +1636,7 @@ "id": "FindNearest", "properties": { "distanceMeasure": { - "description": "Required. The Distance Measure to use, required.", + "description": "Required. The distance measure to use, required.", "enum": [ "DISTANCE_MEASURE_UNSPECIFIED", "EUCLIDEAN", @@ -2586,7 +2586,7 @@ }, "findNearest": { "$ref": "FindNearest", - "description": "Optional. A potential Nearest Neighbors Search. Applies after all other filters and ordering. Finds the closest vector embeddings to the given query vector." + "description": "Optional. A potential nearest neighbors search. Applies after all other filters and ordering. Finds the closest vector embeddings to the given query vector." }, "from": { "description": "The collections to query.", @@ -2774,7 +2774,7 @@ "properties": { "arrayValue": { "$ref": "ArrayValue", - "description": "An array value. Cannot directly contain another array value, though can contain an map which contains another array." + "description": "An array value. Cannot directly contain another array value, though can contain a map which contains another array." }, "booleanValue": { "description": "A boolean value.", diff --git a/firestore/v1beta1/firestore-gen.go b/firestore/v1beta1/firestore-gen.go index 45130cd20d5..d5971b887fc 100644 --- a/firestore/v1beta1/firestore-gen.go +++ b/firestore/v1beta1/firestore-gen.go @@ -793,7 +793,11 @@ func (s *Document) MarshalJSON() ([]byte, error) { // DocumentChange: A Document has changed. May be the result of multiple // writes, including deletes, that ultimately resulted in a new value for the // Document. Multiple DocumentChange messages may be returned for the same -// logical change, if multiple targets are affected. +// logical change, if multiple targets are affected. For PipelineQueryTargets, +// `document` will be in the new pipeline format, For a Listen stream with both +// QueryTargets and PipelineQueryTargets present, if a document matches both +// types of queries, then a separate DocumentChange messages will be sent out +// one for each set. type DocumentChange struct { // Document: The new state of the Document. If `mask` is set, contains only // fields that were updated or added. @@ -1281,7 +1285,7 @@ func (s *Filter) MarshalJSON() ([]byte, error) { // FindNearest: Nearest Neighbors search config. type FindNearest struct { - // DistanceMeasure: Required. The Distance Measure to use, required. + // DistanceMeasure: Required. The distance measure to use, required. // // Possible values: // "DISTANCE_MEASURE_UNSPECIFIED" - Should not be set. @@ -2569,7 +2573,7 @@ type StructuredQuery struct { // rather than the start position. Requires: * The number of values cannot be // greater than the number of fields specified in the `ORDER BY` clause. EndAt *Cursor `json:"endAt,omitempty"` - // FindNearest: Optional. A potential Nearest Neighbors Search. Applies after + // FindNearest: Optional. A potential nearest neighbors search. Applies after // all other filters and ordering. Finds the closest vector embeddings to the // given query vector. FindNearest *FindNearest `json:"findNearest,omitempty"` @@ -2842,7 +2846,7 @@ func (s *UnaryFilter) MarshalJSON() ([]byte, error) { // Value: A message that can hold any of the supported value types. type Value struct { // ArrayValue: An array value. Cannot directly contain another array value, - // though can contain an map which contains another array. + // though can contain a map which contains another array. ArrayValue *ArrayValue `json:"arrayValue,omitempty"` // BooleanValue: A boolean value. BooleanValue bool `json:"booleanValue,omitempty"` diff --git a/healthcare/v1/healthcare-api.json b/healthcare/v1/healthcare-api.json index 4c526246356..d141a12e07a 100644 --- a/healthcare/v1/healthcare-api.json +++ b/healthcare/v1/healthcare-api.json @@ -3135,7 +3135,7 @@ ], "parameters": { "name": { - "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -4554,7 +4554,7 @@ } } }, - "revision": "20240312", + "revision": "20240425", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "ActivateConsentRequest": { @@ -5532,7 +5532,7 @@ "type": "string" }, "filter": { - "description": "Restricts messages exported to those matching a filter, only applicable to PubsubDestination. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`\u003c`, `\u003c=`, `\u003e`, `\u003e=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in the `yyyy-mm-dd` format. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`\u003c`, `\u003c=`, `\u003e`, `\u003e=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, and is just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The following fields and functions are available for filtering: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = \"ADT\"`. * `send_date` or `sendDate`, the `yyyy-mm-dd` date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date \u003c \"2017-01-02\"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time \u003c \"2017-01-02T00:00:00-05:00\"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time \u003c \"2017-01-02T00:00:00-05:00\"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = \"ABC\"`. Note: The filter will be applied to every message in the HL7v2 store whose `send_time` lies in the range defined by the `start_time` and the `end_time`. Even if the filter only matches a small set of messages, the export operation can still take a long time to finish when a lot of messages are between the specified `start_time` and `end_time` range.", + "description": "Restricts messages exported to those matching a filter, only applicable to PubsubDestination and GcsDestination. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`\u003c`, `\u003c=`, `\u003e`, `\u003e=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in the `yyyy-mm-dd` format. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`\u003c`, `\u003c=`, `\u003e`, `\u003e=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, and is just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The following fields and functions are available for filtering: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = \"ADT\"`. * `send_date` or `sendDate`, the `yyyy-mm-dd` date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date \u003c \"2017-01-02\"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time \u003c \"2017-01-02T00:00:00-05:00\"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time \u003c \"2017-01-02T00:00:00-05:00\"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = \"ABC\"`. Note: The filter will be applied to every message in the HL7v2 store whose `send_time` lies in the range defined by the `start_time` and the `end_time`. Even if the filter only matches a small set of messages, the export operation can still take a long time to finish when a lot of messages are between the specified `start_time` and `end_time` range.", "type": "string" }, "gcsDestination": { @@ -5715,7 +5715,7 @@ "type": "object" }, "name": { - "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "type": "string" }, "notificationConfig": { diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go index 2ce736bd94c..60f789c8862 100644 --- a/healthcare/v1/healthcare-gen.go +++ b/healthcare/v1/healthcare-gen.go @@ -1929,13 +1929,13 @@ type ExportMessagesRequest struct { // (exclusive) are exported. EndTime string `json:"endTime,omitempty"` // Filter: Restricts messages exported to those matching a filter, only - // applicable to PubsubDestination. The following syntax is available: * A - // string field value can be written as text inside quotation marks, for - // example "query text". The only valid relational operation for text fields - // is equality (`=`), where text is searched within the field, rather than - // having the field be equal to the text. For example, "Comment = great" - // returns messages with `great` in the comment field. * A number field value - // can be written as an integer, a decimal, or an exponential. The valid + // applicable to PubsubDestination and GcsDestination. The following syntax is + // available: * A string field value can be written as text inside quotation + // marks, for example "query text". The only valid relational operation for + // text fields is equality (`=`), where text is searched within the field, + // rather than having the field be equal to the text. For example, "Comment = + // great" returns messages with `great` in the comment field. * A number field + // value can be written as an integer, a decimal, or an exponential. The valid // relational operators for number fields are the equality operator (`=`), // along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note // that there is no inequality (`!=`) operator. You can prepend the `NOT` @@ -2299,7 +2299,8 @@ type FhirStore struct { // given store. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. Identifier. Resource name of the FHIR store, of the form - // `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. + // `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/ + // {fhir_store_id}`. Name string `json:"name,omitempty"` // NotificationConfig: Deprecated. Use `notification_configs` instead. If // non-empty, publish all resource modifications of this FHIR store to this @@ -15924,7 +15925,8 @@ type ProjectsLocationsDatasetsFhirStoresPatchCall struct { // // - name: Output only. Identifier. Resource name of the FHIR store, of the // form -// `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. +// `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStore +// s/{fhir_store_id}`. func (r *ProjectsLocationsDatasetsFhirStoresService) Patch(name string, fhirstore *FhirStore) *ProjectsLocationsDatasetsFhirStoresPatchCall { c := &ProjectsLocationsDatasetsFhirStoresPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name diff --git a/healthcare/v1beta1/healthcare-api.json b/healthcare/v1beta1/healthcare-api.json index 3deed5579fc..5178950130d 100644 --- a/healthcare/v1beta1/healthcare-api.json +++ b/healthcare/v1beta1/healthcare-api.json @@ -3904,7 +3904,7 @@ ], "parameters": { "name": { - "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", "required": true, @@ -5614,7 +5614,7 @@ } } }, - "revision": "20240312", + "revision": "20240425", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { @@ -7188,7 +7188,7 @@ "type": "array" }, "consentResource": { - "description": "The resource name of this consent resource. Format: `projects/{projectId}/locations/{locationId}/datasets/{datasetId}/fhirStores/{fhirStoreId}/fhir/{resourceType}/{id}`.", + "description": "The resource name of this consent resource, in the format: `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`.", "type": "string" }, "enforcementTime": { @@ -7354,7 +7354,7 @@ "type": "string" }, "filter": { - "description": "Restricts messages exported to those matching a filter, only applicable to PubsubDestination. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`\u003c`, `\u003c=`, `\u003e`, `\u003e=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in the `yyyy-mm-dd` format. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`\u003c`, `\u003c=`, `\u003e`, `\u003e=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, and is just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The following fields and functions are available for filtering: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = \"ADT\"`. * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date \u003c \"2017-01-02\"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time \u003c \"2017-01-02T00:00:00-05:00\"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time \u003c \"2017-01-02T00:00:00-05:00\"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = \"ABC\"`. Note: The filter will be applied to every message in the HL7v2 store whose `send_time` lies in the range defined by the `start_time` and the `end_time`. Even if the filter only matches a small set of messages, the export operation can still take a long time to finish when a lot of messages are between the specified `start_time` and `end_time` range.", + "description": "Restricts messages exported to those matching a filter, only applicable to PubsubDestination and GcsDestination. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`\u003c`, `\u003c=`, `\u003e`, `\u003e=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in the `yyyy-mm-dd` format. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`\u003c`, `\u003c=`, `\u003e`, `\u003e=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, and is just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The following fields and functions are available for filtering: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = \"ADT\"`. * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date \u003c \"2017-01-02\"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time \u003c \"2017-01-02T00:00:00-05:00\"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time \u003c \"2017-01-02T00:00:00-05:00\"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = \"ABC\"`. Note: The filter will be applied to every message in the HL7v2 store whose `send_time` lies in the range defined by the `start_time` and the `end_time`. Even if the filter only matches a small set of messages, the export operation can still take a long time to finish when a lot of messages are between the specified `start_time` and `end_time` range.", "type": "string" }, "gcsDestination": { @@ -7584,7 +7584,7 @@ "type": "object" }, "name": { - "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", + "description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", "type": "string" }, "notificationConfig": { diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go index e9686f34120..38d86f830db 100644 --- a/healthcare/v1beta1/healthcare-gen.go +++ b/healthcare/v1beta1/healthcare-gen.go @@ -2868,9 +2868,9 @@ type ExplainDataAccessConsentInfo struct { // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStor // es/{fhir_store_id}/fhir/{resource_type}/{resource_id}` CascadeOrigins []string `json:"cascadeOrigins,omitempty"` - // ConsentResource: The resource name of this consent resource. Format: - // `projects/{projectId}/locations/{locationId}/datasets/{datasetId}/fhirStores/ - // {fhirStoreId}/fhir/{resourceType}/{id}`. + // ConsentResource: The resource name of this consent resource, in the format: + // `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/ + // {fhir_store_id}/fhir/Consent/{resource_id}`. ConsentResource string `json:"consentResource,omitempty"` // EnforcementTime: Last enforcement timestamp of this consent resource. EnforcementTime string `json:"enforcementTime,omitempty"` @@ -3070,13 +3070,13 @@ type ExportMessagesRequest struct { // (exclusive) are exported. EndTime string `json:"endTime,omitempty"` // Filter: Restricts messages exported to those matching a filter, only - // applicable to PubsubDestination. The following syntax is available: * A - // string field value can be written as text inside quotation marks, for - // example "query text". The only valid relational operation for text fields - // is equality (`=`), where text is searched within the field, rather than - // having the field be equal to the text. For example, "Comment = great" - // returns messages with `great` in the comment field. * A number field value - // can be written as an integer, a decimal, or an exponential. The valid + // applicable to PubsubDestination and GcsDestination. The following syntax is + // available: * A string field value can be written as text inside quotation + // marks, for example "query text". The only valid relational operation for + // text fields is equality (`=`), where text is searched within the field, + // rather than having the field be equal to the text. For example, "Comment = + // great" returns messages with `great` in the comment field. * A number field + // value can be written as an integer, a decimal, or an exponential. The valid // relational operators for number fields are the equality operator (`=`), // along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note // that there is no inequality (`!=`) operator. You can prepend the `NOT` @@ -3522,7 +3522,8 @@ type FhirStore struct { // given store. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. Identifier. Resource name of the FHIR store, of the form - // `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. + // `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/ + // {fhir_store_id}`. Name string `json:"name,omitempty"` // NotificationConfig: Deprecated. Use `notification_configs` instead. If // non-empty, publish all resource modifications of this FHIR store to this @@ -20783,7 +20784,8 @@ type ProjectsLocationsDatasetsFhirStoresPatchCall struct { // // - name: Output only. Identifier. Resource name of the FHIR store, of the // form -// `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. +// `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStore +// s/{fhir_store_id}`. func (r *ProjectsLocationsDatasetsFhirStoresService) Patch(name string, fhirstore *FhirStore) *ProjectsLocationsDatasetsFhirStoresPatchCall { c := &ProjectsLocationsDatasetsFhirStoresPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name diff --git a/networkmanagement/v1/networkmanagement-api.json b/networkmanagement/v1/networkmanagement-api.json index 82f424c268d..740d1e60cb0 100644 --- a/networkmanagement/v1/networkmanagement-api.json +++ b/networkmanagement/v1/networkmanagement-api.json @@ -351,7 +351,7 @@ ], "parameters": { "name": { - "description": "Required. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`", + "description": "Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`", "location": "path", "pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", "required": true, @@ -591,7 +591,7 @@ } } }, - "revision": "20240410", + "revision": "20240417", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -611,6 +611,7 @@ "DESTINATION_ENDPOINT_NOT_FOUND", "MISMATCHED_DESTINATION_NETWORK", "UNKNOWN_IP", + "GOOGLE_MANAGED_SERVICE_UNKNOWN_IP", "SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK", "PERMISSION_DENIED", "PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS", @@ -666,6 +667,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -679,6 +681,7 @@ "Aborted because the destination endpoint could not be found. Deprecated, not used in the new tests.", "Aborted because the destination network does not match the destination endpoint. Deprecated, not used in the new tests.", "Aborted because no endpoint with the packet's destination IP address is found.", + "Aborted because no endpoint with the packet's destination IP is found in the Google-managed project.", "Aborted because the source IP address doesn't belong to any of the subnets of the source VPC network.", "Aborted because user lacks permission to access all or part of the network configurations required to run the test.", "Aborted because user lacks permission to access Cloud NAT configs required to run the test.", @@ -967,7 +970,7 @@ "type": "object" }, "name": { - "description": "Required. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`", + "description": "Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`", "type": "string" }, "probingDetails": { diff --git a/networkmanagement/v1/networkmanagement-gen.go b/networkmanagement/v1/networkmanagement-gen.go index 71797827b7d..486e7c00c94 100644 --- a/networkmanagement/v1/networkmanagement-gen.go +++ b/networkmanagement/v1/networkmanagement-gen.go @@ -238,6 +238,8 @@ type AbortInfo struct { // tests. // "UNKNOWN_IP" - Aborted because no endpoint with the packet's destination // IP address is found. + // "GOOGLE_MANAGED_SERVICE_UNKNOWN_IP" - Aborted because no endpoint with the + // packet's destination IP is found in the Google-managed project. // "SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK" - Aborted because the source IP // address doesn't belong to any of the subnets of the source VPC network. // "PERMISSION_DENIED" - Aborted because user lacks permission to access all @@ -712,7 +714,7 @@ type ConnectivityTest struct { DisplayName string `json:"displayName,omitempty"` // Labels: Resource labels to represent user-provided metadata. Labels map[string]string `json:"labels,omitempty"` - // Name: Required. Unique name of the resource using the form: + // Name: Identifier. Unique name of the resource using the form: // `projects/{project_id}/locations/global/connectivityTests/{test_id}` Name string `json:"name,omitempty"` // ProbingDetails: Output only. The probing details of this test from the @@ -3695,7 +3697,7 @@ type ProjectsLocationsGlobalConnectivityTestsPatchCall struct { // returns a value of `AMBIGUOUS`. See the documentation in `ConnectivityTest` // for more details. // -// - name: Unique name of the resource using the form: +// - name: Identifier. Unique name of the resource using the form: // `projects/{project_id}/locations/global/connectivityTests/{test_id}`. func (r *ProjectsLocationsGlobalConnectivityTestsService) Patch(name string, connectivitytest *ConnectivityTest) *ProjectsLocationsGlobalConnectivityTestsPatchCall { c := &ProjectsLocationsGlobalConnectivityTestsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} diff --git a/networkmanagement/v1beta1/networkmanagement-api.json b/networkmanagement/v1beta1/networkmanagement-api.json index 8fea2e60916..a6805d55072 100644 --- a/networkmanagement/v1beta1/networkmanagement-api.json +++ b/networkmanagement/v1beta1/networkmanagement-api.json @@ -351,7 +351,7 @@ ], "parameters": { "name": { - "description": "Required. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test}`", + "description": "Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test}`", "location": "path", "pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", "required": true, @@ -758,7 +758,7 @@ } } }, - "revision": "20240410", + "revision": "20240417", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -778,6 +778,7 @@ "DESTINATION_ENDPOINT_NOT_FOUND", "MISMATCHED_DESTINATION_NETWORK", "UNKNOWN_IP", + "GOOGLE_MANAGED_SERVICE_UNKNOWN_IP", "SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK", "PERMISSION_DENIED", "PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS", @@ -833,6 +834,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -846,6 +848,7 @@ "Aborted because the destination endpoint could not be found. Deprecated, not used in the new tests.", "Aborted because the destination network does not match the destination endpoint. Deprecated, not used in the new tests.", "Aborted because no endpoint with the packet's destination IP address is found.", + "Aborted because no endpoint with the packet's destination IP is found in the Google-managed project.", "Aborted because the source IP address doesn't belong to any of the subnets of the source VPC network.", "Aborted because user lacks permission to access all or part of the network configurations required to run the test.", "Aborted because user lacks permission to access Cloud NAT configs required to run the test.", @@ -1134,7 +1137,7 @@ "type": "object" }, "name": { - "description": "Required. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test}`", + "description": "Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test}`", "type": "string" }, "probingDetails": { @@ -3064,6 +3067,13 @@ "description": "Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/locations/{region}/interconnectAttachments/{name}", "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user-provided metadata.", + "type": "object" + }, "metadata": { "description": "Optional. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.", "enum": [ diff --git a/networkmanagement/v1beta1/networkmanagement-gen.go b/networkmanagement/v1beta1/networkmanagement-gen.go index f4dfbda3a26..3166642deed 100644 --- a/networkmanagement/v1beta1/networkmanagement-gen.go +++ b/networkmanagement/v1beta1/networkmanagement-gen.go @@ -250,6 +250,8 @@ type AbortInfo struct { // tests. // "UNKNOWN_IP" - Aborted because no endpoint with the packet's destination // IP address is found. + // "GOOGLE_MANAGED_SERVICE_UNKNOWN_IP" - Aborted because no endpoint with the + // packet's destination IP is found in the Google-managed project. // "SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK" - Aborted because the source IP // address doesn't belong to any of the subnets of the source VPC network. // "PERMISSION_DENIED" - Aborted because user lacks permission to access all @@ -724,7 +726,7 @@ type ConnectivityTest struct { DisplayName string `json:"displayName,omitempty"` // Labels: Resource labels to represent user-provided metadata. Labels map[string]string `json:"labels,omitempty"` - // Name: Required. Unique name of the resource using the form: + // Name: Identifier. Unique name of the resource using the form: // `projects/{project_id}/locations/global/connectivityTests/{test}` Name string `json:"name,omitempty"` // ProbingDetails: Output only. The probing details of this test from the @@ -2791,6 +2793,8 @@ type VpcFlowLogsConfig struct { // Attachment. Format: // projects/{project_id}/locations/{region}/interconnectAttachments/{name} InterconnectAttachment string `json:"interconnectAttachment,omitempty"` + // Labels: Optional. Resource labels to represent user-provided metadata. + Labels map[string]string `json:"labels,omitempty"` // Metadata: Optional. Configures whether all, none or a subset of metadata // fields should be added to the reported VPC flow logs. Default value is // INCLUDE_ALL_METADATA. @@ -3845,7 +3849,7 @@ type ProjectsLocationsGlobalConnectivityTestsPatchCall struct { // returns a value of `AMBIGUOUS`. See the documentation in `ConnectivityTest` // for more details. // -// - name: Unique name of the resource using the form: +// - name: Identifier. Unique name of the resource using the form: // `projects/{project_id}/locations/global/connectivityTests/{test}`. func (r *ProjectsLocationsGlobalConnectivityTestsService) Patch(name string, connectivitytest *ConnectivityTest) *ProjectsLocationsGlobalConnectivityTestsPatchCall { c := &ProjectsLocationsGlobalConnectivityTestsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} diff --git a/servicecontrol/v1/servicecontrol-api.json b/servicecontrol/v1/servicecontrol-api.json index 90b33f0263c..c406ddfc2d8 100644 --- a/servicecontrol/v1/servicecontrol-api.json +++ b/servicecontrol/v1/servicecontrol-api.json @@ -197,7 +197,7 @@ } } }, - "revision": "20240412", + "revision": "20240419", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "AllocateInfo": { @@ -418,6 +418,10 @@ "description": "Structured claims presented with the credential. JWTs include `{key: value}` pairs for standard and private claims. The following is a subset of the standard required and optional claims that would typically be presented for a Google-based JWT: {'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': ['123456789012', 'pubsub.googleapis.com'], 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926} SAML assertions are similarly specified, but with an identity provider dependent structure.", "type": "object" }, + "credentialId": { + "description": "Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. \"serviceaccount:XXXXX, apikey:XXXXX\" where the format of the IDENTIFIER can vary for different AUTH_METHODs.", + "type": "string" + }, "presenter": { "description": "The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: \"123456789012.apps.googleusercontent.com\".", "type": "string" diff --git a/servicecontrol/v1/servicecontrol-gen.go b/servicecontrol/v1/servicecontrol-gen.go index 1cc154c0ccf..3b770b1d9db 100644 --- a/servicecontrol/v1/servicecontrol-gen.go +++ b/servicecontrol/v1/servicecontrol-gen.go @@ -432,6 +432,11 @@ type Auth struct { // 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926} SAML assertions // are similarly specified, but with an identity provider dependent structure. Claims googleapi.RawMessage `json:"claims,omitempty"` + // CredentialId: Identifies the client credential id used for authentication. + // credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. + // "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can + // vary for different AUTH_METHODs. + CredentialId string `json:"credentialId,omitempty"` // Presenter: The authorized presenter of the credential. Reflects the optional // Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For // example, a Google Cloud Platform client id looks as follows: diff --git a/servicecontrol/v2/servicecontrol-api.json b/servicecontrol/v2/servicecontrol-api.json index 5bbb4d02519..0941cef0465 100644 --- a/servicecontrol/v2/servicecontrol-api.json +++ b/servicecontrol/v2/servicecontrol-api.json @@ -169,7 +169,7 @@ } } }, - "revision": "20240412", + "revision": "20240419", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "Api": { @@ -359,6 +359,10 @@ "description": "Structured claims presented with the credential. JWTs include `{key: value}` pairs for standard and private claims. The following is a subset of the standard required and optional claims that would typically be presented for a Google-based JWT: {'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': ['123456789012', 'pubsub.googleapis.com'], 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926} SAML assertions are similarly specified, but with an identity provider dependent structure.", "type": "object" }, + "credentialId": { + "description": "Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. \"serviceaccount:XXXXX, apikey:XXXXX\" where the format of the IDENTIFIER can vary for different AUTH_METHODs.", + "type": "string" + }, "presenter": { "description": "The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: \"123456789012.apps.googleusercontent.com\".", "type": "string" diff --git a/servicecontrol/v2/servicecontrol-gen.go b/servicecontrol/v2/servicecontrol-gen.go index 2db2f69f291..bdc192c28f6 100644 --- a/servicecontrol/v2/servicecontrol-gen.go +++ b/servicecontrol/v2/servicecontrol-gen.go @@ -375,6 +375,11 @@ type Auth struct { // 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926} SAML assertions // are similarly specified, but with an identity provider dependent structure. Claims googleapi.RawMessage `json:"claims,omitempty"` + // CredentialId: Identifies the client credential id used for authentication. + // credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. + // "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can + // vary for different AUTH_METHODs. + CredentialId string `json:"credentialId,omitempty"` // Presenter: The authorized presenter of the credential. Reflects the optional // Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For // example, a Google Cloud Platform client id looks as follows: diff --git a/texttospeech/v1/texttospeech-api.json b/texttospeech/v1/texttospeech-api.json index 069c73308ec..c660a0a1fbe 100644 --- a/texttospeech/v1/texttospeech-api.json +++ b/texttospeech/v1/texttospeech-api.json @@ -318,7 +318,7 @@ } } }, - "revision": "20240109", + "revision": "20240419", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AudioConfig": { @@ -674,7 +674,7 @@ "type": "string" }, "name": { - "description": "The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and gender.", + "description": "The name of the voice. If both the name and the gender are not set, the service will choose a voice based on the other parameters such as language_code.", "type": "string" }, "ssmlGender": { diff --git a/texttospeech/v1/texttospeech-gen.go b/texttospeech/v1/texttospeech-gen.go index 0b555c5c1c1..afd24f49b70 100644 --- a/texttospeech/v1/texttospeech-gen.go +++ b/texttospeech/v1/texttospeech-gen.go @@ -758,8 +758,9 @@ type VoiceSelectionParams struct { // isn't a Canadian voice available), or even a different language, e.g. using // "nb" (Norwegian Bokmal) instead of "no" (Norwegian)". LanguageCode string `json:"languageCode,omitempty"` - // Name: The name of the voice. If not set, the service will choose a voice - // based on the other parameters such as language_code and gender. + // Name: The name of the voice. If both the name and the gender are not set, + // the service will choose a voice based on the other parameters such as + // language_code. Name string `json:"name,omitempty"` // SsmlGender: The preferred gender of the voice. If not set, the service will // choose a voice based on the other parameters such as language_code and name. diff --git a/texttospeech/v1beta1/texttospeech-api.json b/texttospeech/v1beta1/texttospeech-api.json index 16372d2c819..bc73be742d5 100644 --- a/texttospeech/v1beta1/texttospeech-api.json +++ b/texttospeech/v1beta1/texttospeech-api.json @@ -261,7 +261,7 @@ } } }, - "revision": "20240109", + "revision": "20240419", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AudioConfig": { @@ -649,7 +649,7 @@ "type": "string" }, "name": { - "description": "The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and gender.", + "description": "The name of the voice. If both the name and the gender are not set, the service will choose a voice based on the other parameters such as language_code.", "type": "string" }, "ssmlGender": { diff --git a/texttospeech/v1beta1/texttospeech-gen.go b/texttospeech/v1beta1/texttospeech-gen.go index a36e086bfa9..a450c687b62 100644 --- a/texttospeech/v1beta1/texttospeech-gen.go +++ b/texttospeech/v1beta1/texttospeech-gen.go @@ -788,8 +788,9 @@ type VoiceSelectionParams struct { // isn't a Canadian voice available), or even a different language, e.g. using // "nb" (Norwegian Bokmal) instead of "no" (Norwegian)". LanguageCode string `json:"languageCode,omitempty"` - // Name: The name of the voice. If not set, the service will choose a voice - // based on the other parameters such as language_code and gender. + // Name: The name of the voice. If both the name and the gender are not set, + // the service will choose a voice based on the other parameters such as + // language_code. Name string `json:"name,omitempty"` // SsmlGender: The preferred gender of the voice. If not set, the service will // choose a voice based on the other parameters such as language_code and name.