From 957bc850439a639c5534957333b09598944952c3 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 2 Jul 2024 14:54:39 -0700 Subject: [PATCH] feat: run the generator (#3511) * feat(assuredworkloads): update the API #### assuredworkloads:v1beta1 The following keys were added: - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.description - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.flatPath - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.httpMethod - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.id - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.parameterOrder - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.parameters.name.description - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.parameters.name.location - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.parameters.name.pattern - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.parameters.name.required - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.parameters.name.type - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.path - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.response.$ref - resources.organizations.resources.locations.resources.workloads.methods.enableComplianceUpdates.scopes - schemas.GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse.description - schemas.GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse.id - schemas.GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse.type - schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.complianceUpdatesEnabled.description - schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.complianceUpdatesEnabled.readOnly - schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.complianceUpdatesEnabled.type * feat(cloudbuild)!: update the API BREAKING CHANGE: This release has breaking changes. #### cloudbuild:v1 The following keys were deleted: - schemas.GCSLocation.description - schemas.GCSLocation.id - schemas.GCSLocation.properties.bucket.description - schemas.GCSLocation.properties.bucket.type - schemas.GCSLocation.properties.generation.description - schemas.GCSLocation.properties.generation.format - schemas.GCSLocation.properties.generation.type - schemas.GCSLocation.properties.object.description - schemas.GCSLocation.properties.object.type - schemas.GCSLocation.type - schemas.HttpConfig.properties.proxySslCaInfo.$ref - schemas.HttpConfig.properties.proxySslCaInfo.description The following keys were changed: - resources.projects.resources.githubEnterpriseConfigs.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.githubEnterpriseConfigs.methods.create.parameters.parent.description - schemas.HttpConfig.properties.proxySecretVersionName.description * feat(connectors): update the API #### connectors:v1 The following keys were added: - schemas.AuthorizationCodeLink.properties.omitQueryParams.description - schemas.AuthorizationCodeLink.properties.omitQueryParams.type * fix(container): update the API #### container:v1beta1 The following keys were changed: - schemas.AdditionalPodNetworkConfig.properties.maxPodsPerNode.description - schemas.AdditionalPodNetworkConfig.properties.secondaryPodRange.description - schemas.AdditionalPodNetworkConfig.properties.subnetwork.description * feat(dialogflow)!: update the API BREAKING CHANGE: This release has breaking changes. #### dialogflow:v2beta1 The following keys were deleted: - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.alternativeLanguageCodes.description - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.alternativeLanguageCodes.items.type - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.alternativeLanguageCodes.type - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.audioEncoding.description - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.audioEncoding.enum - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.audioEncoding.enumDescriptions - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.audioEncoding.type - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.enableWordInfo.description - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.enableWordInfo.type - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.languageCode.description - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.languageCode.type - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.sampleRateHertz.description - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.sampleRateHertz.format - schemas.GoogleCloudDialogflowV2beta1SpeechToTextConfig.properties.sampleRateHertz.type The following keys were changed: - schemas.GoogleCloudDialogflowCxV3TestConfig.properties.flow.description - schemas.GoogleCloudDialogflowCxV3TestConfig.properties.page.description - schemas.GoogleCloudDialogflowCxV3beta1TestConfig.properties.flow.description - schemas.GoogleCloudDialogflowCxV3beta1TestConfig.properties.page.description #### dialogflow:v3beta1 The following keys were changed: - schemas.GoogleCloudDialogflowCxV3TestConfig.properties.flow.description - schemas.GoogleCloudDialogflowCxV3TestConfig.properties.page.description - schemas.GoogleCloudDialogflowCxV3beta1TestConfig.properties.flow.description - schemas.GoogleCloudDialogflowCxV3beta1TestConfig.properties.page.description #### dialogflow:v2 The following keys were deleted: - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.alternativeLanguageCodes.description - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.alternativeLanguageCodes.items.type - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.alternativeLanguageCodes.type - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.audioEncoding.description - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.audioEncoding.enum - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.audioEncoding.enumDescriptions - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.audioEncoding.type - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.enableWordInfo.description - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.enableWordInfo.type - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.languageCode.description - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.languageCode.type - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.sampleRateHertz.description - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.sampleRateHertz.format - schemas.GoogleCloudDialogflowV2SpeechToTextConfig.properties.sampleRateHertz.type The following keys were changed: - schemas.GoogleCloudDialogflowCxV3TestConfig.properties.flow.description - schemas.GoogleCloudDialogflowCxV3TestConfig.properties.page.description - schemas.GoogleCloudDialogflowCxV3beta1TestConfig.properties.flow.description - schemas.GoogleCloudDialogflowCxV3beta1TestConfig.properties.page.description #### dialogflow:v3 The following keys were changed: - schemas.GoogleCloudDialogflowCxV3TestConfig.properties.flow.description - schemas.GoogleCloudDialogflowCxV3TestConfig.properties.page.description - schemas.GoogleCloudDialogflowCxV3beta1TestConfig.properties.flow.description - schemas.GoogleCloudDialogflowCxV3beta1TestConfig.properties.page.description * fix(kmsinventory): update the API #### kmsinventory:v1 The following keys were changed: - schemas.GoogleCloudKmsV1CryptoKey.properties.destroyScheduledDuration.description * feat(metastore): update the API #### metastore:v1 The following keys were added: - resources.projects.resources.locations.resources.services.methods.cancelMigration.description - resources.projects.resources.locations.resources.services.methods.cancelMigration.flatPath - resources.projects.resources.locations.resources.services.methods.cancelMigration.httpMethod - resources.projects.resources.locations.resources.services.methods.cancelMigration.id - resources.projects.resources.locations.resources.services.methods.cancelMigration.parameterOrder - resources.projects.resources.locations.resources.services.methods.cancelMigration.parameters.service.description - resources.projects.resources.locations.resources.services.methods.cancelMigration.parameters.service.location - resources.projects.resources.locations.resources.services.methods.cancelMigration.parameters.service.pattern - resources.projects.resources.locations.resources.services.methods.cancelMigration.parameters.service.required - resources.projects.resources.locations.resources.services.methods.cancelMigration.parameters.service.type - resources.projects.resources.locations.resources.services.methods.cancelMigration.path - resources.projects.resources.locations.resources.services.methods.cancelMigration.request.$ref - resources.projects.resources.locations.resources.services.methods.cancelMigration.response.$ref - resources.projects.resources.locations.resources.services.methods.cancelMigration.scopes - resources.projects.resources.locations.resources.services.methods.completeMigration.description - resources.projects.resources.locations.resources.services.methods.completeMigration.flatPath - resources.projects.resources.locations.resources.services.methods.completeMigration.httpMethod - resources.projects.resources.locations.resources.services.methods.completeMigration.id - resources.projects.resources.locations.resources.services.methods.completeMigration.parameterOrder - resources.projects.resources.locations.resources.services.methods.completeMigration.parameters.service.description - resources.projects.resources.locations.resources.services.methods.completeMigration.parameters.service.location - resources.projects.resources.locations.resources.services.methods.completeMigration.parameters.service.pattern - resources.projects.resources.locations.resources.services.methods.completeMigration.parameters.service.required - resources.projects.resources.locations.resources.services.methods.completeMigration.parameters.service.type - resources.projects.resources.locations.resources.services.methods.completeMigration.path - resources.projects.resources.locations.resources.services.methods.completeMigration.request.$ref - resources.projects.resources.locations.resources.services.methods.completeMigration.response.$ref - resources.projects.resources.locations.resources.services.methods.completeMigration.scopes - resources.projects.resources.locations.resources.services.methods.startMigration.description - resources.projects.resources.locations.resources.services.methods.startMigration.flatPath - resources.projects.resources.locations.resources.services.methods.startMigration.httpMethod - resources.projects.resources.locations.resources.services.methods.startMigration.id - resources.projects.resources.locations.resources.services.methods.startMigration.parameterOrder - resources.projects.resources.locations.resources.services.methods.startMigration.parameters.service.description - resources.projects.resources.locations.resources.services.methods.startMigration.parameters.service.location - resources.projects.resources.locations.resources.services.methods.startMigration.parameters.service.pattern - resources.projects.resources.locations.resources.services.methods.startMigration.parameters.service.required - resources.projects.resources.locations.resources.services.methods.startMigration.parameters.service.type - resources.projects.resources.locations.resources.services.methods.startMigration.path - resources.projects.resources.locations.resources.services.methods.startMigration.request.$ref - resources.projects.resources.locations.resources.services.methods.startMigration.response.$ref - resources.projects.resources.locations.resources.services.methods.startMigration.scopes - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.description - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.flatPath - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.httpMethod - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.id - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.parameterOrder - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.parameters.requestId.description - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.parameters.requestId.location - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.parameters.requestId.type - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.path - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.response.$ref - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.delete.scopes - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.description - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.flatPath - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.httpMethod - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.id - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.parameterOrder - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.parameters.name.description - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.parameters.name.location - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.parameters.name.required - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.parameters.name.type - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.path - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.response.$ref - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.get.scopes - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.description - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.flatPath - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.httpMethod - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.id - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameterOrder - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.path - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.response.$ref - resources.projects.resources.locations.resources.services.resources.migrationExecutions.methods.list.scopes - schemas.AutoscalingConfig.description - schemas.AutoscalingConfig.id - schemas.AutoscalingConfig.properties.autoscalingEnabled.description - schemas.AutoscalingConfig.properties.autoscalingEnabled.type - schemas.AutoscalingConfig.properties.autoscalingFactor.description - schemas.AutoscalingConfig.properties.autoscalingFactor.format - schemas.AutoscalingConfig.properties.autoscalingFactor.readOnly - schemas.AutoscalingConfig.properties.autoscalingFactor.type - schemas.AutoscalingConfig.properties.limitConfig.$ref - schemas.AutoscalingConfig.properties.limitConfig.description - schemas.AutoscalingConfig.type - schemas.CancelMigrationRequest.description - schemas.CancelMigrationRequest.id - schemas.CancelMigrationRequest.type - schemas.CdcConfig.description - schemas.CdcConfig.id - schemas.CdcConfig.properties.bucket.description - schemas.CdcConfig.properties.bucket.type - schemas.CdcConfig.properties.password.description - schemas.CdcConfig.properties.password.type - schemas.CdcConfig.properties.reverseProxySubnet.description - schemas.CdcConfig.properties.reverseProxySubnet.type - schemas.CdcConfig.properties.rootPath.description - schemas.CdcConfig.properties.rootPath.type - schemas.CdcConfig.properties.subnetIpRange.description - schemas.CdcConfig.properties.subnetIpRange.type - schemas.CdcConfig.properties.username.description - schemas.CdcConfig.properties.username.type - schemas.CdcConfig.properties.vpcNetwork.description - schemas.CdcConfig.properties.vpcNetwork.type - schemas.CdcConfig.type - schemas.CloudSQLConnectionConfig.description - schemas.CloudSQLConnectionConfig.id - schemas.CloudSQLConnectionConfig.properties.hiveDatabaseName.description - schemas.CloudSQLConnectionConfig.properties.hiveDatabaseName.type - schemas.CloudSQLConnectionConfig.properties.instanceConnectionName.description - schemas.CloudSQLConnectionConfig.properties.instanceConnectionName.type - schemas.CloudSQLConnectionConfig.properties.ipAddress.description - schemas.CloudSQLConnectionConfig.properties.ipAddress.type - schemas.CloudSQLConnectionConfig.properties.natSubnet.description - schemas.CloudSQLConnectionConfig.properties.natSubnet.type - schemas.CloudSQLConnectionConfig.properties.password.description - schemas.CloudSQLConnectionConfig.properties.password.type - schemas.CloudSQLConnectionConfig.properties.port.description - schemas.CloudSQLConnectionConfig.properties.port.format - schemas.CloudSQLConnectionConfig.properties.port.type - schemas.CloudSQLConnectionConfig.properties.proxySubnet.description - schemas.CloudSQLConnectionConfig.properties.proxySubnet.type - schemas.CloudSQLConnectionConfig.properties.username.description - schemas.CloudSQLConnectionConfig.properties.username.type - schemas.CloudSQLConnectionConfig.type - schemas.CloudSQLMigrationConfig.description - schemas.CloudSQLMigrationConfig.id - schemas.CloudSQLMigrationConfig.properties.cdcConfig.$ref - schemas.CloudSQLMigrationConfig.properties.cdcConfig.description - schemas.CloudSQLMigrationConfig.properties.cloudSqlConnectionConfig.$ref - schemas.CloudSQLMigrationConfig.properties.cloudSqlConnectionConfig.description - schemas.CloudSQLMigrationConfig.type - schemas.CompleteMigrationRequest.description - schemas.CompleteMigrationRequest.id - schemas.CompleteMigrationRequest.type - schemas.LimitConfig.description - schemas.LimitConfig.id - schemas.LimitConfig.properties.maxScalingFactor.description - schemas.LimitConfig.properties.maxScalingFactor.format - schemas.LimitConfig.properties.maxScalingFactor.type - schemas.LimitConfig.properties.minScalingFactor.description - schemas.LimitConfig.properties.minScalingFactor.format - schemas.LimitConfig.properties.minScalingFactor.type - schemas.LimitConfig.type - schemas.ListMigrationExecutionsResponse.description - schemas.ListMigrationExecutionsResponse.id - schemas.ListMigrationExecutionsResponse.properties.migrationExecutions.description - schemas.ListMigrationExecutionsResponse.properties.migrationExecutions.items.$ref - schemas.ListMigrationExecutionsResponse.properties.migrationExecutions.type - schemas.ListMigrationExecutionsResponse.properties.nextPageToken.description - schemas.ListMigrationExecutionsResponse.properties.nextPageToken.type - schemas.ListMigrationExecutionsResponse.properties.unreachable.description - schemas.ListMigrationExecutionsResponse.properties.unreachable.items.type - schemas.ListMigrationExecutionsResponse.properties.unreachable.type - schemas.ListMigrationExecutionsResponse.type - schemas.MigrationExecution.description - schemas.MigrationExecution.id - schemas.MigrationExecution.properties.cloudSqlMigrationConfig.$ref - schemas.MigrationExecution.properties.cloudSqlMigrationConfig.description - schemas.MigrationExecution.properties.createTime.description - schemas.MigrationExecution.properties.createTime.format - schemas.MigrationExecution.properties.createTime.readOnly - schemas.MigrationExecution.properties.createTime.type - schemas.MigrationExecution.properties.endTime.description - schemas.MigrationExecution.properties.endTime.format - schemas.MigrationExecution.properties.endTime.readOnly - schemas.MigrationExecution.properties.endTime.type - schemas.MigrationExecution.properties.name.description - schemas.MigrationExecution.properties.name.readOnly - schemas.MigrationExecution.properties.name.type - schemas.MigrationExecution.properties.phase.description - schemas.MigrationExecution.properties.phase.enum - schemas.MigrationExecution.properties.phase.enumDescriptions - schemas.MigrationExecution.properties.phase.readOnly - schemas.MigrationExecution.properties.phase.type - schemas.MigrationExecution.properties.state.description - schemas.MigrationExecution.properties.state.enum - schemas.MigrationExecution.properties.state.enumDescriptions - schemas.MigrationExecution.properties.state.readOnly - schemas.MigrationExecution.properties.state.type - schemas.MigrationExecution.properties.stateMessage.description - schemas.MigrationExecution.properties.stateMessage.readOnly - schemas.MigrationExecution.properties.stateMessage.type - schemas.MigrationExecution.type - schemas.ScalingConfig.properties.autoscalingConfig.$ref - schemas.ScalingConfig.properties.autoscalingConfig.description - schemas.StartMigrationRequest.description - schemas.StartMigrationRequest.id - schemas.StartMigrationRequest.properties.migrationExecution.$ref - schemas.StartMigrationRequest.properties.migrationExecution.description - schemas.StartMigrationRequest.properties.requestId.description - schemas.StartMigrationRequest.properties.requestId.type - schemas.StartMigrationRequest.type The following keys were changed: - schemas.Service.properties.state.enum - schemas.Service.properties.state.enumDescriptions * feat(sqladmin)!: update the API BREAKING CHANGE: This release has breaking changes. #### sqladmin:v1beta4 The following keys were deleted: - schemas.ExportContext.properties.sqlExportOptions.properties.postgresExportOptions.description - schemas.ExportContext.properties.sqlExportOptions.properties.postgresExportOptions.properties.clean.description - schemas.ExportContext.properties.sqlExportOptions.properties.postgresExportOptions.properties.clean.type - schemas.ExportContext.properties.sqlExportOptions.properties.postgresExportOptions.properties.ifExists.description - schemas.ExportContext.properties.sqlExportOptions.properties.postgresExportOptions.properties.ifExists.type - schemas.ExportContext.properties.sqlExportOptions.properties.postgresExportOptions.type - schemas.ImportContext.properties.sqlImportOptions.properties.postgresImportOptions.description - schemas.ImportContext.properties.sqlImportOptions.properties.postgresImportOptions.properties.clean.description - schemas.ImportContext.properties.sqlImportOptions.properties.postgresImportOptions.properties.clean.type - schemas.ImportContext.properties.sqlImportOptions.properties.postgresImportOptions.properties.ifExists.description - schemas.ImportContext.properties.sqlImportOptions.properties.postgresImportOptions.properties.ifExists.type - schemas.ImportContext.properties.sqlImportOptions.properties.postgresImportOptions.type #### sqladmin:v1 The following keys were deleted: - schemas.ExportContext.properties.sqlExportOptions.properties.postgresExportOptions.description - schemas.ExportContext.properties.sqlExportOptions.properties.postgresExportOptions.properties.clean.description - schemas.ExportContext.properties.sqlExportOptions.properties.postgresExportOptions.properties.clean.type - schemas.ExportContext.properties.sqlExportOptions.properties.postgresExportOptions.properties.ifExists.description - schemas.ExportContext.properties.sqlExportOptions.properties.postgresExportOptions.properties.ifExists.type - schemas.ExportContext.properties.sqlExportOptions.properties.postgresExportOptions.type - schemas.ImportContext.properties.sqlImportOptions.properties.postgresImportOptions.description - schemas.ImportContext.properties.sqlImportOptions.properties.postgresImportOptions.properties.clean.description - schemas.ImportContext.properties.sqlImportOptions.properties.postgresImportOptions.properties.clean.type - schemas.ImportContext.properties.sqlImportOptions.properties.postgresImportOptions.properties.ifExists.description - schemas.ImportContext.properties.sqlImportOptions.properties.postgresImportOptions.properties.ifExists.type - schemas.ImportContext.properties.sqlImportOptions.properties.postgresImportOptions.type * feat(tasks): update the API #### tasks:v1 The following keys were added: - resources.tasks.methods.list.parameters.showAssigned.description - resources.tasks.methods.list.parameters.showAssigned.location - resources.tasks.methods.list.parameters.showAssigned.type - resources.tasks.methods.move.parameters.destinationTasklist.description - resources.tasks.methods.move.parameters.destinationTasklist.location - resources.tasks.methods.move.parameters.destinationTasklist.type - schemas.AssignmentInfo.description - schemas.AssignmentInfo.id - schemas.AssignmentInfo.properties.driveResourceInfo.$ref - schemas.AssignmentInfo.properties.driveResourceInfo.description - schemas.AssignmentInfo.properties.driveResourceInfo.readOnly - schemas.AssignmentInfo.properties.linkToTask.description - schemas.AssignmentInfo.properties.linkToTask.readOnly - schemas.AssignmentInfo.properties.linkToTask.type - schemas.AssignmentInfo.properties.spaceInfo.$ref - schemas.AssignmentInfo.properties.spaceInfo.description - schemas.AssignmentInfo.properties.spaceInfo.readOnly - schemas.AssignmentInfo.properties.surfaceType.description - schemas.AssignmentInfo.properties.surfaceType.enum - schemas.AssignmentInfo.properties.surfaceType.enumDescriptions - schemas.AssignmentInfo.properties.surfaceType.readOnly - schemas.AssignmentInfo.properties.surfaceType.type - schemas.AssignmentInfo.type - schemas.DriveResourceInfo.description - schemas.DriveResourceInfo.id - schemas.DriveResourceInfo.properties.driveFileId.description - schemas.DriveResourceInfo.properties.driveFileId.readOnly - schemas.DriveResourceInfo.properties.driveFileId.type - schemas.DriveResourceInfo.properties.resourceKey.description - schemas.DriveResourceInfo.properties.resourceKey.readOnly - schemas.DriveResourceInfo.properties.resourceKey.type - schemas.DriveResourceInfo.type - schemas.SpaceInfo.description - schemas.SpaceInfo.id - schemas.SpaceInfo.properties.space.description - schemas.SpaceInfo.properties.space.readOnly - schemas.SpaceInfo.properties.space.type - schemas.SpaceInfo.type - schemas.Task.properties.assignmentInfo.$ref - schemas.Task.properties.assignmentInfo.description - schemas.Task.properties.assignmentInfo.readOnly The following keys were changed: - resources.tasklists.methods.delete.description - resources.tasks.methods.delete.description - resources.tasks.methods.insert.description - resources.tasks.methods.insert.parameters.parent.description - resources.tasks.methods.list.description - resources.tasks.methods.list.parameters.showCompleted.description - resources.tasks.methods.move.description - resources.tasks.methods.move.parameters.parent.description - schemas.Task.properties.deleted.description - schemas.Task.properties.notes.description - schemas.Task.properties.parent.description * feat: regenerate index files --------- Co-authored-by: Yoshi Automation Co-authored-by: Daniel Bankhead --- discovery/aiplatform-v1.json | 112 +-- discovery/aiplatform-v1beta1.json | 106 +-- discovery/assuredworkloads-v1beta1.json | 38 +- discovery/cloudbuild-v1.json | 32 +- discovery/connectors-v1.json | 6 +- discovery/container-v1beta1.json | 8 +- discovery/containeranalysis-v1.json | 4 +- discovery/containeranalysis-v1alpha1.json | 4 +- discovery/containeranalysis-v1beta1.json | 2 +- discovery/dialogflow-v2.json | 54 +- discovery/dialogflow-v2beta1.json | 54 +- discovery/dialogflow-v3.json | 10 +- discovery/dialogflow-v3beta1.json | 10 +- discovery/dlp-v2.json | 10 +- discovery/kmsinventory-v1.json | 4 +- discovery/metastore-v1.json | 456 +++++++++++- discovery/solar-v1.json | 26 +- discovery/sqladmin-v1.json | 30 +- discovery/sqladmin-v1beta4.json | 30 +- discovery/storage-v1.json | 14 +- discovery/tasks-v1.json | 107 ++- src/apis/assuredworkloads/v1beta1.ts | 114 +++ src/apis/cloudbuild/v1.ts | 27 +- src/apis/connectors/v1.ts | 4 + src/apis/container/v1beta1.ts | 6 +- src/apis/dialogflow/v2.ts | 28 +- src/apis/dialogflow/v2beta1.ts | 28 +- src/apis/dialogflow/v3.ts | 8 +- src/apis/dialogflow/v3beta1.ts | 8 +- src/apis/kmsinventory/v1.ts | 2 +- src/apis/metastore/v1.ts | 820 +++++++++++++++++++++- src/apis/sqladmin/v1.ts | 7 +- src/apis/sqladmin/v1beta4.ts | 7 +- src/apis/tasks/v1.ts | 77 +- 34 files changed, 1794 insertions(+), 459 deletions(-) diff --git a/discovery/aiplatform-v1.json b/discovery/aiplatform-v1.json index 4738835cfb..9af8ff67b9 100644 --- a/discovery/aiplatform-v1.json +++ b/discovery/aiplatform-v1.json @@ -21,23 +21,23 @@ "endpoints": [ { "location": "africa-south1", - "description": "Locational Endpoint", - "endpointUrl": "https://africa-south1-aiplatform.googleapis.com/" + "endpointUrl": "https://africa-south1-aiplatform.googleapis.com/", + "description": "Locational Endpoint" }, { - "description": "Locational Endpoint", + "location": "asia-east1", "endpointUrl": "https://asia-east1-aiplatform.googleapis.com/", - "location": "asia-east1" + "description": "Locational Endpoint" }, { + "endpointUrl": "https://asia-east2-aiplatform.googleapis.com/", "location": "asia-east2", - "description": "Locational Endpoint", - "endpointUrl": "https://asia-east2-aiplatform.googleapis.com/" + "description": "Locational Endpoint" }, { - "location": "asia-northeast1", "endpointUrl": "https://asia-northeast1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "location": "asia-northeast1" }, { "location": "asia-northeast2", @@ -45,9 +45,9 @@ "description": "Locational Endpoint" }, { - "endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/", "location": "asia-northeast3", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/" }, { "description": "Locational Endpoint", @@ -55,38 +55,38 @@ "endpointUrl": "https://asia-south1-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://asia-southeast1-aiplatform.googleapis.com/", "description": "Locational Endpoint", - "location": "asia-southeast1" + "location": "asia-southeast1", + "endpointUrl": "https://asia-southeast1-aiplatform.googleapis.com/" }, { + "location": "asia-southeast2", "description": "Locational Endpoint", - "endpointUrl": "https://asia-southeast2-aiplatform.googleapis.com/", - "location": "asia-southeast2" + "endpointUrl": "https://asia-southeast2-aiplatform.googleapis.com/" }, { "location": "australia-southeast1", - "endpointUrl": "https://australia-southeast1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "endpointUrl": "https://australia-southeast1-aiplatform.googleapis.com/" }, { + "description": "Locational Endpoint", "location": "australia-southeast2", - "endpointUrl": "https://australia-southeast2-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "endpointUrl": "https://australia-southeast2-aiplatform.googleapis.com/" }, { - "description": "Locational Endpoint", "endpointUrl": "https://europe-central2-aiplatform.googleapis.com/", + "description": "Locational Endpoint", "location": "europe-central2" }, { "location": "europe-north1", - "description": "Locational Endpoint", - "endpointUrl": "https://europe-north1-aiplatform.googleapis.com/" + "endpointUrl": "https://europe-north1-aiplatform.googleapis.com/", + "description": "Locational Endpoint" }, { - "location": "europe-southwest1", "endpointUrl": "https://europe-southwest1-aiplatform.googleapis.com/", + "location": "europe-southwest1", "description": "Locational Endpoint" }, { @@ -96,13 +96,13 @@ }, { "description": "Locational Endpoint", - "location": "europe-west2", - "endpointUrl": "https://europe-west2-aiplatform.googleapis.com/" + "endpointUrl": "https://europe-west2-aiplatform.googleapis.com/", + "location": "europe-west2" }, { "location": "europe-west3", - "description": "Locational Endpoint", - "endpointUrl": "https://europe-west3-aiplatform.googleapis.com/" + "endpointUrl": "https://europe-west3-aiplatform.googleapis.com/", + "description": "Locational Endpoint" }, { "description": "Locational Endpoint", @@ -110,49 +110,49 @@ "location": "europe-west4" }, { - "endpointUrl": "https://europe-west6-aiplatform.googleapis.com/", + "description": "Locational Endpoint", "location": "europe-west6", - "description": "Locational Endpoint" + "endpointUrl": "https://europe-west6-aiplatform.googleapis.com/" }, { "endpointUrl": "https://europe-west8-aiplatform.googleapis.com/", - "location": "europe-west8", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "location": "europe-west8" }, { "location": "europe-west9", - "description": "Locational Endpoint", - "endpointUrl": "https://europe-west9-aiplatform.googleapis.com/" + "endpointUrl": "https://europe-west9-aiplatform.googleapis.com/", + "description": "Locational Endpoint" }, { + "location": "europe-west12", "endpointUrl": "https://europe-west12-aiplatform.googleapis.com/", - "description": "Locational Endpoint", - "location": "europe-west12" + "description": "Locational Endpoint" }, { - "endpointUrl": "https://me-central1-aiplatform.googleapis.com/", "location": "me-central1", + "endpointUrl": "https://me-central1-aiplatform.googleapis.com/", "description": "Locational Endpoint" }, { - "description": "Locational Endpoint", + "location": "me-central2", "endpointUrl": "https://me-central2-aiplatform.googleapis.com/", - "location": "me-central2" + "description": "Locational Endpoint" }, { + "location": "me-west1", "endpointUrl": "https://me-west1-aiplatform.googleapis.com/", - "description": "Locational Endpoint", - "location": "me-west1" + "description": "Locational Endpoint" }, { "location": "northamerica-northeast1", - "endpointUrl": "https://northamerica-northeast1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "endpointUrl": "https://northamerica-northeast1-aiplatform.googleapis.com/" }, { - "description": "Locational Endpoint", + "endpointUrl": "https://northamerica-northeast2-aiplatform.googleapis.com/", "location": "northamerica-northeast2", - "endpointUrl": "https://northamerica-northeast2-aiplatform.googleapis.com/" + "description": "Locational Endpoint" }, { "location": "southamerica-east1", @@ -161,12 +161,12 @@ }, { "location": "southamerica-west1", - "endpointUrl": "https://southamerica-west1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "endpointUrl": "https://southamerica-west1-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://us-central1-aiplatform.googleapis.com/", "description": "Locational Endpoint", + "endpointUrl": "https://us-central1-aiplatform.googleapis.com/", "location": "us-central1" }, { @@ -175,8 +175,8 @@ "description": "Locational Endpoint" }, { - "endpointUrl": "https://us-east1-aiplatform.googleapis.com/", "location": "us-east1", + "endpointUrl": "https://us-east1-aiplatform.googleapis.com/", "description": "Locational Endpoint" }, { @@ -186,18 +186,18 @@ }, { "location": "us-south1", - "description": "Locational Endpoint", - "endpointUrl": "https://us-south1-aiplatform.googleapis.com/" + "endpointUrl": "https://us-south1-aiplatform.googleapis.com/", + "description": "Locational Endpoint" }, { "description": "Locational Endpoint", - "endpointUrl": "https://us-west1-aiplatform.googleapis.com/", - "location": "us-west1" + "location": "us-west1", + "endpointUrl": "https://us-west1-aiplatform.googleapis.com/" }, { - "description": "Locational Endpoint", "endpointUrl": "https://us-west2-aiplatform.googleapis.com/", - "location": "us-west2" + "location": "us-west2", + "description": "Locational Endpoint" }, { "location": "us-west3", @@ -205,14 +205,14 @@ "description": "Locational Endpoint" }, { - "location": "us-west4", "description": "Locational Endpoint", + "location": "us-west4", "endpointUrl": "https://us-west4-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://us-east5-aiplatform.googleapis.com/", "location": "us-east5", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "endpointUrl": "https://us-east5-aiplatform.googleapis.com/" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/aiplatform-v1beta1.json b/discovery/aiplatform-v1beta1.json index fa1fed9918..e89cb69035 100644 --- a/discovery/aiplatform-v1beta1.json +++ b/discovery/aiplatform-v1beta1.json @@ -20,14 +20,14 @@ "documentationLink": "https://cloud.google.com/vertex-ai/", "endpoints": [ { - "location": "africa-south1", "endpointUrl": "https://africa-south1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "location": "africa-south1" }, { - "description": "Locational Endpoint", "location": "asia-east1", - "endpointUrl": "https://asia-east1-aiplatform.googleapis.com/" + "endpointUrl": "https://asia-east1-aiplatform.googleapis.com/", + "description": "Locational Endpoint" }, { "endpointUrl": "https://asia-east2-aiplatform.googleapis.com/", @@ -35,28 +35,28 @@ "description": "Locational Endpoint" }, { - "description": "Locational Endpoint", "location": "asia-northeast1", - "endpointUrl": "https://asia-northeast1-aiplatform.googleapis.com/" + "endpointUrl": "https://asia-northeast1-aiplatform.googleapis.com/", + "description": "Locational Endpoint" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-northeast2-aiplatform.googleapis.com/", - "location": "asia-northeast2", - "description": "Locational Endpoint" + "location": "asia-northeast2" }, { - "endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/", "location": "asia-northeast3", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/" }, { "description": "Locational Endpoint", - "location": "asia-south1", - "endpointUrl": "https://asia-south1-aiplatform.googleapis.com/" + "endpointUrl": "https://asia-south1-aiplatform.googleapis.com/", + "location": "asia-south1" }, { - "endpointUrl": "https://asia-southeast1-aiplatform.googleapis.com/", "location": "asia-southeast1", + "endpointUrl": "https://asia-southeast1-aiplatform.googleapis.com/", "description": "Locational Endpoint" }, { @@ -70,24 +70,24 @@ "description": "Locational Endpoint" }, { - "location": "australia-southeast2", "description": "Locational Endpoint", + "location": "australia-southeast2", "endpointUrl": "https://australia-southeast2-aiplatform.googleapis.com/" }, { + "description": "Locational Endpoint", "location": "europe-central2", - "endpointUrl": "https://europe-central2-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "endpointUrl": "https://europe-central2-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://europe-north1-aiplatform.googleapis.com/", "description": "Locational Endpoint", - "location": "europe-north1" + "location": "europe-north1", + "endpointUrl": "https://europe-north1-aiplatform.googleapis.com/" }, { - "description": "Locational Endpoint", "endpointUrl": "https://europe-southwest1-aiplatform.googleapis.com/", - "location": "europe-southwest1" + "location": "europe-southwest1", + "description": "Locational Endpoint" }, { "description": "Locational Endpoint", @@ -95,8 +95,8 @@ "endpointUrl": "https://europe-west1-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://europe-west2-aiplatform.googleapis.com/", "description": "Locational Endpoint", + "endpointUrl": "https://europe-west2-aiplatform.googleapis.com/", "location": "europe-west2" }, { @@ -105,9 +105,9 @@ "description": "Locational Endpoint" }, { + "location": "europe-west4", "endpointUrl": "https://europe-west4-aiplatform.googleapis.com/", - "description": "Locational Endpoint", - "location": "europe-west4" + "description": "Locational Endpoint" }, { "description": "Locational Endpoint", @@ -115,14 +115,14 @@ "endpointUrl": "https://europe-west6-aiplatform.googleapis.com/" }, { - "description": "Locational Endpoint", + "endpointUrl": "https://europe-west8-aiplatform.googleapis.com/", "location": "europe-west8", - "endpointUrl": "https://europe-west8-aiplatform.googleapis.com/" + "description": "Locational Endpoint" }, { + "location": "europe-west9", "endpointUrl": "https://europe-west9-aiplatform.googleapis.com/", - "description": "Locational Endpoint", - "location": "europe-west9" + "description": "Locational Endpoint" }, { "endpointUrl": "https://europe-west12-aiplatform.googleapis.com/", @@ -130,9 +130,9 @@ "description": "Locational Endpoint" }, { + "description": "Locational Endpoint", "endpointUrl": "https://me-central1-aiplatform.googleapis.com/", - "location": "me-central1", - "description": "Locational Endpoint" + "location": "me-central1" }, { "endpointUrl": "https://me-central2-aiplatform.googleapis.com/", @@ -140,78 +140,78 @@ "location": "me-central2" }, { - "endpointUrl": "https://me-west1-aiplatform.googleapis.com/", + "location": "me-west1", "description": "Locational Endpoint", - "location": "me-west1" + "endpointUrl": "https://me-west1-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://northamerica-northeast1-aiplatform.googleapis.com/", + "location": "northamerica-northeast1", "description": "Locational Endpoint", - "location": "northamerica-northeast1" + "endpointUrl": "https://northamerica-northeast1-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://northamerica-northeast2-aiplatform.googleapis.com/", "location": "northamerica-northeast2", + "endpointUrl": "https://northamerica-northeast2-aiplatform.googleapis.com/", "description": "Locational Endpoint" }, { - "description": "Locational Endpoint", "endpointUrl": "https://southamerica-east1-aiplatform.googleapis.com/", + "description": "Locational Endpoint", "location": "southamerica-east1" }, { "location": "southamerica-west1", - "description": "Locational Endpoint", - "endpointUrl": "https://southamerica-west1-aiplatform.googleapis.com/" + "endpointUrl": "https://southamerica-west1-aiplatform.googleapis.com/", + "description": "Locational Endpoint" }, { - "description": "Locational Endpoint", + "location": "us-central1", "endpointUrl": "https://us-central1-aiplatform.googleapis.com/", - "location": "us-central1" + "description": "Locational Endpoint" }, { "location": "us-central2", - "endpointUrl": "https://us-central2-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "endpointUrl": "https://us-central2-aiplatform.googleapis.com/" }, { - "location": "us-east1", "description": "Locational Endpoint", + "location": "us-east1", "endpointUrl": "https://us-east1-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://us-east4-aiplatform.googleapis.com/", + "location": "us-east4", "description": "Locational Endpoint", - "location": "us-east4" + "endpointUrl": "https://us-east4-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://us-south1-aiplatform.googleapis.com/", "location": "us-south1", + "endpointUrl": "https://us-south1-aiplatform.googleapis.com/", "description": "Locational Endpoint" }, { - "location": "us-west1", "endpointUrl": "https://us-west1-aiplatform.googleapis.com/", + "location": "us-west1", "description": "Locational Endpoint" }, { - "location": "us-west2", + "endpointUrl": "https://us-west2-aiplatform.googleapis.com/", "description": "Locational Endpoint", - "endpointUrl": "https://us-west2-aiplatform.googleapis.com/" + "location": "us-west2" }, { - "description": "Locational Endpoint", + "location": "us-west3", "endpointUrl": "https://us-west3-aiplatform.googleapis.com/", - "location": "us-west3" + "description": "Locational Endpoint" }, { + "location": "us-west4", "description": "Locational Endpoint", - "endpointUrl": "https://us-west4-aiplatform.googleapis.com/", - "location": "us-west4" + "endpointUrl": "https://us-west4-aiplatform.googleapis.com/" }, { - "description": "Locational Endpoint", "location": "us-east5", + "description": "Locational Endpoint", "endpointUrl": "https://us-east5-aiplatform.googleapis.com/" } ], diff --git a/discovery/assuredworkloads-v1beta1.json b/discovery/assuredworkloads-v1beta1.json index db1c9697bd..975fbf4ff2 100644 --- a/discovery/assuredworkloads-v1beta1.json +++ b/discovery/assuredworkloads-v1beta1.json @@ -291,6 +291,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "enableComplianceUpdates": { + "description": "This endpoint enables Assured Workloads service to offer compliance updates for the folder based assured workload. It sets up an Assured Workloads Service Agent, having permissions to read compliance controls (for example: Org Policies) applied on the workload. The caller must have `resourcemanager.folders.getIamPolicy` and `resourcemanager.folders.setIamPolicy` permissions on the assured workload folder.", + "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:enableComplianceUpdates", + "httpMethod": "PUT", + "id": "assuredworkloads.organizations.locations.workloads.enableComplianceUpdates", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The `name` field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:enableComplianceUpdates", + "response": { + "$ref": "GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "enableResourceMonitoring": { "description": "Enable resource violation monitoring for a workload.", "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:enableResourceMonitoring", @@ -563,7 +588,7 @@ } } }, - "revision": "20240617", + "revision": "20240627", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": { @@ -731,6 +756,12 @@ }, "type": "object" }, + "GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse": { + "description": "Response for EnableComplianceUpdates endpoint.", + "id": "GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse": { "description": "Response for EnableResourceMonitoring endpoint.", "id": "GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse", @@ -1200,6 +1231,11 @@ "description": "Output only. Count of active Violations in the Workload.", "readOnly": true }, + "complianceUpdatesEnabled": { + "description": "Output only. Indicates whether the compliance updates feature is enabled for a workload. The compliance updates feature can be enabled via the EnableComplianceUpdates endpoint.", + "readOnly": true, + "type": "boolean" + }, "compliantButDisallowedServices": { "description": "Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.", "items": { diff --git a/discovery/cloudbuild-v1.json b/discovery/cloudbuild-v1.json index e1a62fc4c9..6f536ac4fa 100644 --- a/discovery/cloudbuild-v1.json +++ b/discovery/cloudbuild-v1.json @@ -453,7 +453,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", + "description": "Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -1384,7 +1384,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", + "description": "Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2346,7 +2346,7 @@ } } }, - "revision": "20240618", + "revision": "20240627", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -3810,26 +3810,6 @@ }, "type": "object" }, - "GCSLocation": { - "description": "Represents a storage location in Cloud Storage", - "id": "GCSLocation", - "properties": { - "bucket": { - "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", - "type": "string" - }, - "generation": { - "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", - "format": "int64", - "type": "string" - }, - "object": { - "description": "Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames", - "type": "string" - } - }, - "type": "object" - }, "GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "GitConfig", @@ -4315,12 +4295,8 @@ "id": "HttpConfig", "properties": { "proxySecretVersionName": { - "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", + "description": "SecretVersion resource of the HTTP proxy URL. The Service Account should have accessor permissions on this secret. The proxy URL should be in format protocol://@]proxyhost[:port].", "type": "string" - }, - "proxySslCaInfo": { - "$ref": "GCSLocation", - "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" diff --git a/discovery/connectors-v1.json b/discovery/connectors-v1.json index b638573343..26acbb8389 100644 --- a/discovery/connectors-v1.json +++ b/discovery/connectors-v1.json @@ -2427,7 +2427,7 @@ } } }, - "revision": "20240619", + "revision": "20240625", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -2598,6 +2598,10 @@ "description": "Whether to enable PKCE for the auth code flow.", "type": "boolean" }, + "omitQueryParams": { + "description": "Optional. Omit query params from the redirect URI.", + "type": "string" + }, "scopes": { "description": "The scopes for which the user will authorize Google Cloud Connectors on the connector data source.", "items": { diff --git a/discovery/container-v1beta1.json b/discovery/container-v1beta1.json index e9300f280a..5812847424 100644 --- a/discovery/container-v1beta1.json +++ b/discovery/container-v1beta1.json @@ -2565,7 +2565,7 @@ } } }, - "revision": "20240608", + "revision": "20240618", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2623,14 +2623,14 @@ "properties": { "maxPodsPerNode": { "$ref": "MaxPodsConstraint", - "description": "The maximum number of pods per node which use this pod network" + "description": "The maximum number of pods per node which use this pod network." }, "secondaryPodRange": { - "description": "The name of the secondary range on the subnet which provides IP address for this pod range", + "description": "The name of the secondary range on the subnet which provides IP address for this pod range.", "type": "string" }, "subnetwork": { - "description": "Name of the subnetwork where the additional pod network belongs", + "description": "Name of the subnetwork where the additional pod network belongs.", "type": "string" } }, diff --git a/discovery/containeranalysis-v1.json b/discovery/containeranalysis-v1.json index 8144ce1c9f..3fd786e2ff 100644 --- a/discovery/containeranalysis-v1.json +++ b/discovery/containeranalysis-v1.json @@ -17,9 +17,9 @@ "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://containeranalysis.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/containeranalysis-v1alpha1.json b/discovery/containeranalysis-v1alpha1.json index 9d687b266b..3de1414253 100644 --- a/discovery/containeranalysis-v1alpha1.json +++ b/discovery/containeranalysis-v1alpha1.json @@ -17,9 +17,9 @@ "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", "endpoints": [ { - "description": "Regional Endpoint", "location": "me-central2", - "endpointUrl": "https://containeranalysis.me-central2.rep.googleapis.com/" + "endpointUrl": "https://containeranalysis.me-central2.rep.googleapis.com/", + "description": "Regional Endpoint" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/containeranalysis-v1beta1.json b/discovery/containeranalysis-v1beta1.json index 2460798315..630b59af54 100644 --- a/discovery/containeranalysis-v1beta1.json +++ b/discovery/containeranalysis-v1beta1.json @@ -17,8 +17,8 @@ "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", "endpoints": [ { - "description": "Regional Endpoint", "location": "me-central2", + "description": "Regional Endpoint", "endpointUrl": "https://containeranalysis.me-central2.rep.googleapis.com/" } ], diff --git a/discovery/dialogflow-v2.json b/discovery/dialogflow-v2.json index 2af05b0c91..2f4cc9d6c0 100644 --- a/discovery/dialogflow-v2.json +++ b/discovery/dialogflow-v2.json @@ -8655,7 +8655,7 @@ } } }, - "revision": "20240617", + "revision": "20240614", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -10472,11 +10472,11 @@ "id": "GoogleCloudDialogflowCxV3TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -12854,11 +12854,11 @@ "id": "GoogleCloudDialogflowCxV3beta1TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -18581,54 +18581,10 @@ "description": "Configures speech transcription for ConversationProfile.", "id": "GoogleCloudDialogflowV2SpeechToTextConfig", "properties": { - "alternativeLanguageCodes": { - "description": "Defines the list of other language codes in addition to the one provided by the conversation profile that may be detected as the language code for the utterances over the conversation. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "audioEncoding": { - "description": "Audio encoding of the audio content to process.", - "enum": [ - "AUDIO_ENCODING_UNSPECIFIED", - "AUDIO_ENCODING_LINEAR_16", - "AUDIO_ENCODING_FLAC", - "AUDIO_ENCODING_MULAW", - "AUDIO_ENCODING_AMR", - "AUDIO_ENCODING_AMR_WB", - "AUDIO_ENCODING_OGG_OPUS", - "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - ], - "enumDescriptions": [ - "Not specified.", - "Uncompressed 16-bit signed little-endian samples (Linear PCM).", - "[`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio Codec) is the recommended encoding because it is lossless (therefore recognition is not compromised) and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", - "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", - "Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", - "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", - "Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be 16000.", - "Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Dialogflow API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000." - ], - "type": "string" - }, - "enableWordInfo": { - "description": "If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.", - "type": "boolean" - }, - "languageCode": { - "description": "The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", - "type": "string" - }, "model": { "description": "Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection.", "type": "string" }, - "sampleRateHertz": { - "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", - "format": "int32", - "type": "integer" - }, "speechModelVariant": { "description": "The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.", "enum": [ diff --git a/discovery/dialogflow-v2beta1.json b/discovery/dialogflow-v2beta1.json index 7f86ade11d..cef253fd7d 100644 --- a/discovery/dialogflow-v2beta1.json +++ b/discovery/dialogflow-v2beta1.json @@ -8023,7 +8023,7 @@ } } }, - "revision": "20240617", + "revision": "20240614", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -9840,11 +9840,11 @@ "id": "GoogleCloudDialogflowCxV3TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -12222,11 +12222,11 @@ "id": "GoogleCloudDialogflowCxV3beta1TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -20363,54 +20363,10 @@ "description": "Configures speech transcription for ConversationProfile.", "id": "GoogleCloudDialogflowV2beta1SpeechToTextConfig", "properties": { - "alternativeLanguageCodes": { - "description": "Defines the list of other language codes in addition to the one provided by the conversation profile that may be detected as the language code for the utterances over the conversation. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "audioEncoding": { - "description": "Audio encoding of the audio content to process.", - "enum": [ - "AUDIO_ENCODING_UNSPECIFIED", - "AUDIO_ENCODING_LINEAR_16", - "AUDIO_ENCODING_FLAC", - "AUDIO_ENCODING_MULAW", - "AUDIO_ENCODING_AMR", - "AUDIO_ENCODING_AMR_WB", - "AUDIO_ENCODING_OGG_OPUS", - "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - ], - "enumDescriptions": [ - "Not specified.", - "Uncompressed 16-bit signed little-endian samples (Linear PCM).", - "[`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio Codec) is the recommended encoding because it is lossless (therefore recognition is not compromised) and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", - "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", - "Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", - "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", - "Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be 16000.", - "Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Dialogflow API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000." - ], - "type": "string" - }, - "enableWordInfo": { - "description": "If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.", - "type": "boolean" - }, - "languageCode": { - "description": "The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", - "type": "string" - }, "model": { "description": "Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection.", "type": "string" }, - "sampleRateHertz": { - "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", - "format": "int32", - "type": "integer" - }, "speechModelVariant": { "description": "The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.", "enum": [ diff --git a/discovery/dialogflow-v3.json b/discovery/dialogflow-v3.json index a172551792..63873b0e28 100644 --- a/discovery/dialogflow-v3.json +++ b/discovery/dialogflow-v3.json @@ -4453,7 +4453,7 @@ } } }, - "revision": "20240617", + "revision": "20240614", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -9236,11 +9236,11 @@ "id": "GoogleCloudDialogflowCxV3TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -12009,11 +12009,11 @@ "id": "GoogleCloudDialogflowCxV3beta1TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { diff --git a/discovery/dialogflow-v3beta1.json b/discovery/dialogflow-v3beta1.json index d6ec23502b..e8e5e5c148 100644 --- a/discovery/dialogflow-v3beta1.json +++ b/discovery/dialogflow-v3beta1.json @@ -5185,7 +5185,7 @@ } } }, - "revision": "20240617", + "revision": "20240614", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -7002,11 +7002,11 @@ "id": "GoogleCloudDialogflowCxV3TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -13255,11 +13255,11 @@ "id": "GoogleCloudDialogflowCxV3beta1TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { diff --git a/discovery/dlp-v2.json b/discovery/dlp-v2.json index 91ea56f64e..780fc2f5b0 100644 --- a/discovery/dlp-v2.json +++ b/discovery/dlp-v2.json @@ -17,18 +17,18 @@ "documentationLink": "https://cloud.google.com/sensitive-data-protection/docs/", "endpoints": [ { - "endpointUrl": "https://dlp.africa-south1.rep.googleapis.com/", "location": "africa-south1", - "description": "Regional Endpoint" + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.africa-south1.rep.googleapis.com/" }, { "description": "Regional Endpoint", - "endpointUrl": "https://dlp.australia-southeast1.rep.googleapis.com/", - "location": "australia-southeast1" + "location": "australia-southeast1", + "endpointUrl": "https://dlp.australia-southeast1.rep.googleapis.com/" }, { - "location": "europe-west9", "endpointUrl": "https://dlp.europe-west9.rep.googleapis.com/", + "location": "europe-west9", "description": "Regional Endpoint" } ], diff --git a/discovery/kmsinventory-v1.json b/discovery/kmsinventory-v1.json index 68d873104b..043a9e4111 100644 --- a/discovery/kmsinventory-v1.json +++ b/discovery/kmsinventory-v1.json @@ -242,7 +242,7 @@ } } }, - "revision": "20240623", + "revision": "20240630", "rootUrl": "https://kmsinventory.googleapis.com/", "schemas": { "GoogleCloudKmsInventoryV1ListCryptoKeysResponse": { @@ -396,7 +396,7 @@ "type": "string" }, "destroyScheduledDuration": { - "description": "Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 24 hours.", + "description": "Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 30 days.", "format": "google-duration", "type": "string" }, diff --git a/discovery/metastore-v1.json b/discovery/metastore-v1.json index 711bba5c3c..c36e218787 100644 --- a/discovery/metastore-v1.json +++ b/discovery/metastore-v1.json @@ -627,6 +627,62 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "cancelMigration": { + "description": "Cancels the ongoing Managed Migration process.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:cancelMigration", + "httpMethod": "POST", + "id": "metastore.projects.locations.services.cancelMigration", + "parameterOrder": [ + "service" + ], + "parameters": { + "service": { + "description": "Required. The relative resource name of the metastore service to cancel the ongoing migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+service}:cancelMigration", + "request": { + "$ref": "CancelMigrationRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "completeMigration": { + "description": "Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:completeMigration", + "httpMethod": "POST", + "id": "metastore.projects.locations.services.completeMigration", + "parameterOrder": [ + "service" + ], + "parameters": { + "service": { + "description": "Required. The relative resource name of the metastore service to complete the migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+service}:completeMigration", + "request": { + "$ref": "CompleteMigrationRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "create": { "description": "Creates a metastore service in a project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services", @@ -976,6 +1032,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "startMigration": { + "description": "Starts the Managed Migration process.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:startMigration", + "httpMethod": "POST", + "id": "metastore.projects.locations.services.startMigration", + "parameterOrder": [ + "service" + ], + "parameters": { + "service": { + "description": "Required. The relative resource name of the metastore service to start migrating to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+service}:startMigration", + "request": { + "$ref": "StartMigrationRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "testIamPermissions": { "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:testIamPermissions", @@ -1487,6 +1571,111 @@ ] } } + }, + "migrationExecutions": { + "methods": { + "delete": { + "description": "Deletes a single migration execution.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions/{migrationExecutionsId}", + "httpMethod": "DELETE", + "id": "metastore.projects.locations.services.migrationExecutions.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The relative resource name of the migrationExecution to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/migrationExecutions/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single migration execution.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions/{migrationExecutionsId}", + "httpMethod": "GET", + "id": "metastore.projects.locations.services.migrationExecutions.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The relative resource name of the migration execution to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/migrationExecutions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "MigrationExecution" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists migration executions on a service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions", + "httpMethod": "GET", + "id": "metastore.projects.locations.services.migrationExecutions.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. The filter to apply to list results.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of migration executions to return. The response may contain less than the maximum number. If unspecified, no more than 500 migration executions are returned. The maximum value is 1000; values above 1000 are changed to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous DataprocMetastore.ListMigrationExecutions call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListMigrationExecutions must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The relative resource name of the service whose migration executions to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/migrationExecutions", + "response": { + "$ref": "ListMigrationExecutionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } } } } @@ -1495,7 +1684,7 @@ } } }, - "revision": "20240613", + "revision": "20240627", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -1590,6 +1779,27 @@ }, "type": "object" }, + "AutoscalingConfig": { + "description": "Represents the autoscaling configuration of a metastore service.", + "id": "AutoscalingConfig", + "properties": { + "autoscalingEnabled": { + "description": "Optional. Whether or not autoscaling is enabled for this service.", + "type": "boolean" + }, + "autoscalingFactor": { + "description": "Output only. The scaling factor of a service with autoscaling enabled.", + "format": "float", + "readOnly": true, + "type": "number" + }, + "limitConfig": { + "$ref": "LimitConfig", + "description": "Optional. The LimitConfig of the service." + } + }, + "type": "object" + }, "AuxiliaryVersionConfig": { "description": "Configuration information for the auxiliary service versions.", "id": "AuxiliaryVersionConfig", @@ -1721,12 +1931,114 @@ }, "type": "object" }, + "CancelMigrationRequest": { + "description": "Request message for DataprocMetastore.CancelMigration.", + "id": "CancelMigrationRequest", + "properties": {}, + "type": "object" + }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", "properties": {}, "type": "object" }, + "CdcConfig": { + "description": "Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore.", + "id": "CdcConfig", + "properties": { + "bucket": { + "description": "Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like \"gs://\". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used.", + "type": "string" + }, + "password": { + "description": "Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request.", + "type": "string" + }, + "reverseProxySubnet": { + "description": "Required. The URL of the subnetwork resource to create the VM instance hosting the reverse proxy in. More context in https://cloud.google.com/datastream/docs/private-connectivity#reverse-csql-proxy The subnetwork should reside in the network provided in the request that Datastream will peer to and should be in the same region as Datastream, in the following format. projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", + "type": "string" + }, + "rootPath": { + "description": "Optional. The root path inside the Cloud Storage bucket. The stream event data will be written to this path. The default value is /migration.", + "type": "string" + }, + "subnetIpRange": { + "description": "Required. A /29 CIDR IP range for peering with datastream.", + "type": "string" + }, + "username": { + "description": "Required. The username that the Datastream service should use for the MySQL connection.", + "type": "string" + }, + "vpcNetwork": { + "description": "Required. Fully qualified name of the Cloud SQL instance's VPC network or the shared VPC network that Datastream will peer to, in the following format: projects/{project_id}/locations/global/networks/{network_id}. More context in https://cloud.google.com/datastream/docs/network-connectivity-options#privateconnectivity", + "type": "string" + } + }, + "type": "object" + }, + "CloudSQLConnectionConfig": { + "description": "Configuration information to establish customer database connection before the cutover phase of migration", + "id": "CloudSQLConnectionConfig", + "properties": { + "hiveDatabaseName": { + "description": "Required. The hive database name.", + "type": "string" + }, + "instanceConnectionName": { + "description": "Required. Cloud SQL database connection name (project_id:region:instance_name)", + "type": "string" + }, + "ipAddress": { + "description": "Required. The private IP address of the Cloud SQL instance.", + "type": "string" + }, + "natSubnet": { + "description": "Required. The relative resource name of the subnetwork to be used for Private Service Connect. Note that this cannot be a regular subnet and is used only for NAT. (https://cloud.google.com/vpc/docs/about-vpc-hosted-services#psc-subnets) This subnet is used to publish the SOCKS5 proxy service. The subnet size must be at least /29 and it should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", + "type": "string" + }, + "password": { + "description": "Required. Input only. The password for the user that Dataproc Metastore service will be using to connect to the database. This field is not returned on request.", + "type": "string" + }, + "port": { + "description": "Required. The network port of the database.", + "format": "int32", + "type": "integer" + }, + "proxySubnet": { + "description": "Required. The relative resource name of the subnetwork to deploy the SOCKS5 proxy service in. The subnetwork should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", + "type": "string" + }, + "username": { + "description": "Required. The username that Dataproc Metastore service will use to connect to the database.", + "type": "string" + } + }, + "type": "object" + }, + "CloudSQLMigrationConfig": { + "description": "Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.", + "id": "CloudSQLMigrationConfig", + "properties": { + "cdcConfig": { + "$ref": "CdcConfig", + "description": "Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration." + }, + "cloudSqlConnectionConfig": { + "$ref": "CloudSQLConnectionConfig", + "description": "Required. Configuration information to establish customer database connection before the cutover phase of migration" + } + }, + "type": "object" + }, + "CompleteMigrationRequest": { + "description": "Request message for DataprocMetastore.CompleteMigration.", + "id": "CompleteMigrationRequest", + "properties": {}, + "type": "object" + }, "Consumer": { "description": "Contains information of the customer's network configurations.", "id": "Consumer", @@ -2080,6 +2392,23 @@ }, "type": "object" }, + "LimitConfig": { + "description": "Represents the autoscaling limit configuration of a metastore service.", + "id": "LimitConfig", + "properties": { + "maxScalingFactor": { + "description": "Optional. The highest scaling factor that the service should be autoscaled to.", + "format": "float", + "type": "number" + }, + "minScalingFactor": { + "description": "Optional. The lowest scaling factor that the service should be autoscaled to.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, "ListBackupsResponse": { "description": "Response message for DataprocMetastore.ListBackups.", "id": "ListBackupsResponse", @@ -2173,6 +2502,31 @@ }, "type": "object" }, + "ListMigrationExecutionsResponse": { + "description": "Response message for DataprocMetastore.ListMigrationExecutions.", + "id": "ListMigrationExecutionsResponse", + "properties": { + "migrationExecutions": { + "description": "The migration executions on the specified service.", + "items": { + "$ref": "MigrationExecution" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "ListOperationsResponse", @@ -2452,6 +2806,81 @@ }, "type": "object" }, + "MigrationExecution": { + "description": "The details of a migration execution resource.", + "id": "MigrationExecution", + "properties": { + "cloudSqlMigrationConfig": { + "$ref": "CloudSQLMigrationConfig", + "description": "Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore." + }, + "createTime": { + "description": "Output only. The time when the migration execution was started.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time when the migration execution finished.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}", + "readOnly": true, + "type": "string" + }, + "phase": { + "description": "Output only. The current phase of the migration execution.", + "enum": [ + "PHASE_UNSPECIFIED", + "REPLICATION", + "CUTOVER" + ], + "enumDescriptions": [ + "The phase of the migration execution is unknown.", + "Replication phase refers to the migration phase when Dataproc Metastore is running a pipeline to replicate changes in the customer database to its backend database. During this phase, Dataproc Metastore uses the customer database as the hive metastore backend database.", + "Cutover phase refers to the migration phase when Dataproc Metastore switches to using its own backend database. Migration enters this phase when customer is done migrating all their clusters/workloads to Dataproc Metastore and triggers CompleteMigration." + ], + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The current state of the migration execution.", + "enum": [ + "STATE_UNSPECIFIED", + "STARTING", + "RUNNING", + "CANCELLING", + "AWAITING_USER_ACTION", + "SUCCEEDED", + "FAILED", + "CANCELLED", + "DELETING" + ], + "enumDescriptions": [ + "The state of the migration execution is unknown.", + "The migration execution is starting.", + "The migration execution is running.", + "The migration execution is in the process of being cancelled.", + "The migration execution is awaiting user action.", + "The migration execution has completed successfully.", + "The migration execution has failed.", + "The migration execution is cancelled.", + "The migration execution is being deleted." + ], + "readOnly": true, + "type": "string" + }, + "stateMessage": { + "description": "Output only. Additional information about the current state of the migration execution.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "MoveTableToDatabaseRequest": { "description": "Request message for DataprocMetastore.MoveTableToDatabase.", "id": "MoveTableToDatabaseRequest", @@ -2741,6 +3170,10 @@ "description": "Represents the scaling configuration of a metastore service.", "id": "ScalingConfig", "properties": { + "autoscalingConfig": { + "$ref": "AutoscalingConfig", + "description": "Optional. The autoscaling configuration." + }, "instanceSize": { "description": "An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))", "enum": [ @@ -2929,7 +3362,8 @@ "SUSPENDED", "UPDATING", "DELETING", - "ERROR" + "ERROR", + "MIGRATING" ], "enumDescriptions": [ "The state of the metastore service is unknown.", @@ -2939,7 +3373,8 @@ "The metastore service is suspended and unable to serve queries.", "The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.", "The metastore service is undergoing deletion. It cannot be used.", - "The metastore service has encountered an error and cannot be used. The metastore service should be deleted." + "The metastore service has encountered an error and cannot be used. The metastore service should be deleted.", + "The metastore service is processing a managed migration." ], "readOnly": true, "type": "string" @@ -2997,6 +3432,21 @@ }, "type": "object" }, + "StartMigrationRequest": { + "description": "Request message for DataprocMetastore.StartMigration.", + "id": "StartMigrationRequest", + "properties": { + "migrationExecution": { + "$ref": "MigrationExecution", + "description": "Required. The configuration details for the migration." + }, + "requestId": { + "description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", + "type": "string" + } + }, + "type": "object" + }, "Status": { "description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", "id": "Status", diff --git a/discovery/solar-v1.json b/discovery/solar-v1.json index 49c9903819..7c07280182 100644 --- a/discovery/solar-v1.json +++ b/discovery/solar-v1.json @@ -136,9 +136,9 @@ ], "enumDescriptions": [ "No quality is known.", - "The underlying imagery and DSM data were processed at 0.1 m/pixel.", - "The underlying imagery and DSM data were processed at 0.25 m/pixel.", - "The underlying imagery and DSM data were processed at 0.5 m/pixel." + "Solar data is derived from aerial imagery captured at low-altitude and processed at 0.1 m/pixel.", + "Solar data is derived from enhanced aerial imagery captured at high-altitude and processed at 0.25 m/pixel.", + "Solar data is derived from enhanced satellite imagery processed at 0.25 m/pixel." ], "location": "query", "type": "string" @@ -202,9 +202,9 @@ ], "enumDescriptions": [ "No quality is known.", - "The underlying imagery and DSM data were processed at 0.1 m/pixel.", - "The underlying imagery and DSM data were processed at 0.25 m/pixel.", - "The underlying imagery and DSM data were processed at 0.5 m/pixel." + "Solar data is derived from aerial imagery captured at low-altitude and processed at 0.1 m/pixel.", + "Solar data is derived from enhanced aerial imagery captured at high-altitude and processed at 0.25 m/pixel.", + "Solar data is derived from enhanced satellite imagery processed at 0.25 m/pixel." ], "location": "query", "type": "string" @@ -267,7 +267,7 @@ } } }, - "revision": "20240430", + "revision": "20240630", "rootUrl": "https://solar.googleapis.com/", "schemas": { "BuildingInsights": { @@ -304,9 +304,9 @@ ], "enumDescriptions": [ "No quality is known.", - "The underlying imagery and DSM data were processed at 0.1 m/pixel.", - "The underlying imagery and DSM data were processed at 0.25 m/pixel.", - "The underlying imagery and DSM data were processed at 0.5 m/pixel." + "Solar data is derived from aerial imagery captured at low-altitude and processed at 0.1 m/pixel.", + "Solar data is derived from enhanced aerial imagery captured at high-altitude and processed at 0.25 m/pixel.", + "Solar data is derived from enhanced satellite imagery processed at 0.25 m/pixel." ], "type": "string" }, @@ -398,9 +398,9 @@ ], "enumDescriptions": [ "No quality is known.", - "The underlying imagery and DSM data were processed at 0.1 m/pixel.", - "The underlying imagery and DSM data were processed at 0.25 m/pixel.", - "The underlying imagery and DSM data were processed at 0.5 m/pixel." + "Solar data is derived from aerial imagery captured at low-altitude and processed at 0.1 m/pixel.", + "Solar data is derived from enhanced aerial imagery captured at high-altitude and processed at 0.25 m/pixel.", + "Solar data is derived from enhanced satellite imagery processed at 0.25 m/pixel." ], "type": "string" }, diff --git a/discovery/sqladmin-v1.json b/discovery/sqladmin-v1.json index 935f713a88..714597fb0a 100644 --- a/discovery/sqladmin-v1.json +++ b/discovery/sqladmin-v1.json @@ -2267,7 +2267,7 @@ } } }, - "revision": "20240622", + "revision": "20240618", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -3711,20 +3711,6 @@ "description": "Optional. Whether or not the export should be parallel.", "type": "boolean" }, - "postgresExportOptions": { - "description": "Options for exporting from a Cloud SQL for PostgreSQL instance.", - "properties": { - "clean": { - "description": "Optional. Use this option to include DROP SQL statements. These statements are used to delete database objects before running the import operation.", - "type": "boolean" - }, - "ifExists": { - "description": "Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.", - "type": "boolean" - } - }, - "type": "object" - }, "schemaOnly": { "description": "Export only schemas.", "type": "boolean" @@ -4207,20 +4193,6 @@ "description": "Optional. Whether or not the import should be parallel.", "type": "boolean" }, - "postgresImportOptions": { - "description": "Optional. Options for importing from a Cloud SQL for PostgreSQL instance.", - "properties": { - "clean": { - "description": "Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", - "type": "boolean" - }, - "ifExists": { - "description": "Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", - "type": "boolean" - } - }, - "type": "object" - }, "threads": { "description": "Optional. The number of threads to use for parallel import.", "format": "int32", diff --git a/discovery/sqladmin-v1beta4.json b/discovery/sqladmin-v1beta4.json index 2e619e43fa..40660b458c 100644 --- a/discovery/sqladmin-v1beta4.json +++ b/discovery/sqladmin-v1beta4.json @@ -2267,7 +2267,7 @@ } } }, - "revision": "20240622", + "revision": "20240618", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -3712,20 +3712,6 @@ "description": "Optional. Whether or not the export should be parallel.", "type": "boolean" }, - "postgresExportOptions": { - "description": "Options for exporting from a Cloud SQL for PostgreSQL instance.", - "properties": { - "clean": { - "description": "Optional. Use this option to include DROP SQL statements. These statements are used to delete database objects before running the import operation.", - "type": "boolean" - }, - "ifExists": { - "description": "Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.", - "type": "boolean" - } - }, - "type": "object" - }, "schemaOnly": { "description": "Export only schemas.", "type": "boolean" @@ -4208,20 +4194,6 @@ "description": "Optional. Whether or not the import should be parallel.", "type": "boolean" }, - "postgresImportOptions": { - "description": "Optional. Options for importing from a Cloud SQL for PostgreSQL instance.", - "properties": { - "clean": { - "description": "Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", - "type": "boolean" - }, - "ifExists": { - "description": "Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", - "type": "boolean" - } - }, - "type": "object" - }, "threads": { "description": "Optional. The number of threads to use for parallel import.", "format": "int32", diff --git a/discovery/storage-v1.json b/discovery/storage-v1.json index 1d9e7de0c7..9c69351ac3 100644 --- a/discovery/storage-v1.json +++ b/discovery/storage-v1.json @@ -27,13 +27,23 @@ "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/storage/docs/json_api/", "endpoints": [ + { + "endpointUrl": "https://storage.europe-west3.rep.googleapis.com/", + "location": "europe-west3", + "description": "Regional Endpoint" + }, + { + "endpointUrl": "https://storage.europe-west9.rep.googleapis.com/", + "location": "europe-west9", + "description": "Regional Endpoint" + }, { "endpointUrl": "https://storage.me-central2.rep.googleapis.com/", "location": "me-central2", "description": "Regional Endpoint" } ], - "etag": "\"39393431363637393939313737343036323439\"", + "etag": "\"39393931363036383932333134343736343437\"", "icons": { "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png", "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png" @@ -4075,7 +4085,7 @@ } } }, - "revision": "20240621", + "revision": "20240625", "rootUrl": "https://storage.googleapis.com/", "schemas": { "AnywhereCache": { diff --git a/discovery/tasks-v1.json b/discovery/tasks-v1.json index 38f4d451ef..97c7d8efd4 100644 --- a/discovery/tasks-v1.json +++ b/discovery/tasks-v1.json @@ -111,7 +111,7 @@ "tasklists": { "methods": { "delete": { - "description": "Deletes the authenticated user's specified task list.", + "description": "Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.", "flatPath": "tasks/v1/users/@me/lists/{tasklist}", "httpMethod": "DELETE", "id": "tasks.tasklists.delete", @@ -282,7 +282,7 @@ ] }, "delete": { - "description": "Deletes the specified task from the task list.", + "description": "Deletes the specified task from the task list. If the task is assigned, both the assigned task and the original task (in Docs, Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there.", "flatPath": "tasks/v1/lists/{tasklist}/tasks/{task}", "httpMethod": "DELETE", "id": "tasks.tasks.delete", @@ -342,7 +342,7 @@ ] }, "insert": { - "description": "Creates a new task on the specified task list. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.", + "description": "Creates a new task on the specified task list. Tasks assigned from Docs or Chat Spaces cannot be inserted from Tasks Public API; they can only be created by assigning them from Docs or Chat Spaces. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.", "flatPath": "tasks/v1/lists/{tasklist}/tasks", "httpMethod": "POST", "id": "tasks.tasks.insert", @@ -351,7 +351,7 @@ ], "parameters": { "parent": { - "description": "Parent task identifier. If the task is created at the top level, this parameter is omitted. Optional.", + "description": "Parent task identifier. If the task is created at the top level, this parameter is omitted. An assigned task cannot be a parent task, nor can it have a parent. Setting the parent to an assigned task results in failure of the request. Optional.", "location": "query", "type": "string" }, @@ -379,7 +379,7 @@ ] }, "list": { - "description": "Returns all tasks in the specified task list. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.", + "description": "Returns all tasks in the specified task list. Does not return assigned tasks be default (from Docs, Chat Spaces). A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.", "flatPath": "tasks/v1/lists/{tasklist}/tasks", "httpMethod": "GET", "id": "tasks.tasks.list", @@ -418,8 +418,13 @@ "location": "query", "type": "string" }, + "showAssigned": { + "description": "Optional. Flag indicating whether tasks assigned to the current user are returned in the result. Optional. The default is False.", + "location": "query", + "type": "boolean" + }, "showCompleted": { - "description": "Flag indicating whether completed tasks are returned in the result. Optional. The default is True. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps.", + "description": "Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. Optional. The default is True.", "location": "query", "type": "boolean" }, @@ -455,7 +460,7 @@ ] }, "move": { - "description": "Moves the specified task to another position in the task list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. A user can have up to 2,000 subtasks per task.", + "description": "Moves the specified task to another position in the destination task list. If the destination list is not specified, the task is moved within its current list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. A user can have up to 2,000 subtasks per task.", "flatPath": "tasks/v1/lists/{tasklist}/tasks/{task}/move", "httpMethod": "POST", "id": "tasks.tasks.move", @@ -464,8 +469,13 @@ "task" ], "parameters": { + "destinationTasklist": { + "description": "Optional. Destination task list identifier. If set, the task is moved from tasklist to the destinationTasklist list. Otherwise the task is moved within its current list. Recurrent tasks cannot currently be moved between lists. Optional.", + "location": "query", + "type": "string" + }, "parent": { - "description": "New parent task identifier. If the task is moved to the top level, this parameter is omitted. Optional.", + "description": "New parent task identifier. If the task is moved to the top level, this parameter is omitted. Assigned tasks can not be set as parent task (have subtasks) or be moved under a parent task (become subtasks). Optional.", "location": "query", "type": "string" }, @@ -566,18 +576,91 @@ } } }, - "revision": "20240528", + "revision": "20240630", "rootUrl": "https://tasks.googleapis.com/", "schemas": { + "AssignmentInfo": { + "description": "Information about the source of the task assignment (Document, Chat Space).", + "id": "AssignmentInfo", + "properties": { + "driveResourceInfo": { + "$ref": "DriveResourceInfo", + "description": "Output only. Information about the Drive file where this task originates from. Currently, the Drive file can only be a document. This field is read-only.", + "readOnly": true + }, + "linkToTask": { + "description": "Output only. An absolute link to the original task in the surface of assignment (Docs, Chat spaces, etc.).", + "readOnly": true, + "type": "string" + }, + "spaceInfo": { + "$ref": "SpaceInfo", + "description": "Output only. Information about the Chat Space where this task originates from. This field is read-only.", + "readOnly": true + }, + "surfaceType": { + "description": "Output only. The type of surface this assigned task originates from. Currently limited to DOCUMENT or SPACE.", + "enum": [ + "CONTEXT_TYPE_UNSPECIFIED", + "GMAIL", + "DOCUMENT", + "SPACE" + ], + "enumDescriptions": [ + "Unknown value for this task's context.", + "The task is created from Gmail.", + "The task is assigned from a document.", + "The task is assigned from a Chat Space." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "DriveResourceInfo": { + "description": "Information about the Drive resource where a task was assigned from (the document, sheet, etc.).", + "id": "DriveResourceInfo", + "properties": { + "driveFileId": { + "description": "Output only. Identifier of the file in the Drive API.", + "readOnly": true, + "type": "string" + }, + "resourceKey": { + "description": "Output only. Resource key required to access files shared via a shared link. Not required for all files. See also developers.google.com/drive/api/guides/resource-keys.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "SpaceInfo": { + "description": "Information about the Chat Space where a task was assigned from.", + "id": "SpaceInfo", + "properties": { + "space": { + "description": "Output only. The Chat space where this task originates from. The format is \"spaces/{space}\".", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Task": { "id": "Task", "properties": { + "assignmentInfo": { + "$ref": "AssignmentInfo", + "description": "Output only. Context information for assigned tasks. A task can be assigned to a user, currently possible from surfaces like Docs and Chat Spaces. This field is populated for tasks assigned to the current user and identifies where the task was assigned from. This field is read-only.", + "readOnly": true + }, "completed": { "description": "Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.", "type": "string" }, "deleted": { - "description": "Flag indicating whether the task has been deleted. The default is False.", + "description": "Flag indicating whether the task has been deleted. For assigned tasks this field is read-only. They can only be deleted by calling tasks.delete, in which case both the assigned task and the original task (in Docs or Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there. The default is False.", "type": "boolean" }, "due": { @@ -624,11 +707,11 @@ "type": "array" }, "notes": { - "description": "Notes describing the task. Optional. Maximum length allowed: 8192 characters.", + "description": "Notes describing the task. Tasks assigned from Google Docs cannot have notes. Optional. Maximum length allowed: 8192 characters.", "type": "string" }, "parent": { - "description": "Output only. Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the \"move\" method to move the task under a different parent or to the top level.", + "description": "Output only. Parent task identifier. This field is omitted if it is a top-level task. Use the \"move\" method to move the task under a different parent or to the top level. A parent task can never be an assigned task (from Chat Spaces, Docs). This field is read-only.", "readOnly": true, "type": "string" }, diff --git a/src/apis/assuredworkloads/v1beta1.ts b/src/apis/assuredworkloads/v1beta1.ts index ca0ee7690d..44eefd6130 100644 --- a/src/apis/assuredworkloads/v1beta1.ts +++ b/src/apis/assuredworkloads/v1beta1.ts @@ -200,6 +200,10 @@ export namespace assuredworkloads_v1beta1 { */ resourceSettings?: Schema$GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings[]; } + /** + * Response for EnableComplianceUpdates endpoint. + */ + export interface Schema$GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse {} /** * Response for EnableResourceMonitoring endpoint. */ @@ -468,6 +472,10 @@ export namespace assuredworkloads_v1beta1 { * Output only. Count of active Violations in the Workload. */ complianceStatus?: Schema$GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus; + /** + * Output only. Indicates whether the compliance updates feature is enabled for a workload. The compliance updates feature can be enabled via the EnableComplianceUpdates endpoint. + */ + complianceUpdatesEnabled?: boolean | null; /** * Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment. */ @@ -1302,6 +1310,105 @@ export namespace assuredworkloads_v1beta1 { } } + /** + * This endpoint enables Assured Workloads service to offer compliance updates for the folder based assured workload. It sets up an Assured Workloads Service Agent, having permissions to read compliance controls (for example: Org Policies) applied on the workload. The caller must have `resourcemanager.folders.getIamPolicy` and `resourcemanager.folders.setIamPolicy` permissions on the assured workload folder. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + enableComplianceUpdates( + params: Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates, + options: StreamMethodOptions + ): GaxiosPromise; + enableComplianceUpdates( + params?: Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates, + options?: MethodOptions + ): GaxiosPromise; + enableComplianceUpdates( + params: Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + enableComplianceUpdates( + params: Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + enableComplianceUpdates( + params: Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates, + callback: BodyResponseCallback + ): void; + enableComplianceUpdates( + callback: BodyResponseCallback + ): void; + enableComplianceUpdates( + paramsOrCallback?: + | Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://assuredworkloads.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+name}:enableComplianceUpdates').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'PUT', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + /** * Enable resource violation monitoring for a workload. * @@ -1837,6 +1944,13 @@ export namespace assuredworkloads_v1beta1 { */ name?: string; } + export interface Params$Resource$Organizations$Locations$Workloads$Enablecomplianceupdates + extends StandardParameters { + /** + * Required. The `name` field is used to identify the workload. Format: organizations/{org_id\}/locations/{location_id\}/workloads/{workload_id\} + */ + name?: string; + } export interface Params$Resource$Organizations$Locations$Workloads$Enableresourcemonitoring extends StandardParameters { /** diff --git a/src/apis/cloudbuild/v1.ts b/src/apis/cloudbuild/v1.ts index 6196158247..50082a93c6 100644 --- a/src/apis/cloudbuild/v1.ts +++ b/src/apis/cloudbuild/v1.ts @@ -1133,23 +1133,6 @@ export namespace cloudbuild_v1 { */ fileHash?: Schema$Hash[]; } - /** - * Represents a storage location in Cloud Storage - */ - export interface Schema$GCSLocation { - /** - * Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements - */ - bucket?: string | null; - /** - * Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - */ - generation?: string | null; - /** - * Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames - */ - object?: string | null; - } /** * GitConfig is a configuration for git operations. */ @@ -1531,13 +1514,9 @@ export namespace cloudbuild_v1 { */ export interface Schema$HttpConfig { /** - * SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. + * SecretVersion resource of the HTTP proxy URL. The Service Account should have accessor permissions on this secret. The proxy URL should be in format protocol://@]proxyhost[:port]. */ proxySecretVersionName?: string | null; - /** - * Optional. Cloud Storage object storing the certificate to use with the HTTP proxy. - */ - proxySslCaInfo?: Schema$GCSLocation; } /** * Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value. @@ -3943,7 +3922,7 @@ export namespace cloudbuild_v1 { */ gheConfigId?: string; /** - * Required. Name of the parent project. For example: projects/{$project_number\} or projects/{$project_id\} + * Name of the parent project. For example: projects/{$project_number\} or projects/{$project_id\} */ parent?: string; /** @@ -6087,7 +6066,7 @@ export namespace cloudbuild_v1 { */ gheConfigId?: string; /** - * Required. Name of the parent project. For example: projects/{$project_number\} or projects/{$project_id\} + * Name of the parent project. For example: projects/{$project_number\} or projects/{$project_id\} */ parent?: string; /** diff --git a/src/apis/connectors/v1.ts b/src/apis/connectors/v1.ts index 31a168c7a0..15d7b90c18 100644 --- a/src/apis/connectors/v1.ts +++ b/src/apis/connectors/v1.ts @@ -224,6 +224,10 @@ export namespace connectors_v1 { * Whether to enable PKCE for the auth code flow. */ enablePkce?: boolean | null; + /** + * Optional. Omit query params from the redirect URI. + */ + omitQueryParams?: string | null; /** * The scopes for which the user will authorize Google Cloud Connectors on the connector data source. */ diff --git a/src/apis/container/v1beta1.ts b/src/apis/container/v1beta1.ts index d30df76c56..36d273378a 100644 --- a/src/apis/container/v1beta1.ts +++ b/src/apis/container/v1beta1.ts @@ -171,15 +171,15 @@ export namespace container_v1beta1 { */ export interface Schema$AdditionalPodNetworkConfig { /** - * The maximum number of pods per node which use this pod network + * The maximum number of pods per node which use this pod network. */ maxPodsPerNode?: Schema$MaxPodsConstraint; /** - * The name of the secondary range on the subnet which provides IP address for this pod range + * The name of the secondary range on the subnet which provides IP address for this pod range. */ secondaryPodRange?: string | null; /** - * Name of the subnetwork where the additional pod network belongs + * Name of the subnetwork where the additional pod network belongs. */ subnetwork?: string | null; } diff --git a/src/apis/dialogflow/v2.ts b/src/apis/dialogflow/v2.ts index ad09cae2cb..689fec9fed 100644 --- a/src/apis/dialogflow/v2.ts +++ b/src/apis/dialogflow/v2.ts @@ -1602,11 +1602,11 @@ export namespace dialogflow_v2 { */ export interface Schema$GoogleCloudDialogflowCxV3beta1TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -3292,11 +3292,11 @@ export namespace dialogflow_v2 { */ export interface Schema$GoogleCloudDialogflowCxV3TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -8961,30 +8961,10 @@ export namespace dialogflow_v2 { * Configures speech transcription for ConversationProfile. */ export interface Schema$GoogleCloudDialogflowV2SpeechToTextConfig { - /** - * Defines the list of other language codes in addition to the one provided by the conversation profile that may be detected as the language code for the utterances over the conversation. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. - */ - alternativeLanguageCodes?: string[] | null; - /** - * Audio encoding of the audio content to process. - */ - audioEncoding?: string | null; - /** - * If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information. - */ - enableWordInfo?: boolean | null; - /** - * The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. - */ - languageCode?: string | null; /** * Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection. */ model?: string | null; - /** - * Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. - */ - sampleRateHertz?: number | null; /** * The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error. */ diff --git a/src/apis/dialogflow/v2beta1.ts b/src/apis/dialogflow/v2beta1.ts index eff800b5fc..2beff5da0d 100644 --- a/src/apis/dialogflow/v2beta1.ts +++ b/src/apis/dialogflow/v2beta1.ts @@ -1602,11 +1602,11 @@ export namespace dialogflow_v2beta1 { */ export interface Schema$GoogleCloudDialogflowCxV3beta1TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -3292,11 +3292,11 @@ export namespace dialogflow_v2beta1 { */ export interface Schema$GoogleCloudDialogflowCxV3TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -7464,30 +7464,10 @@ export namespace dialogflow_v2beta1 { * Configures speech transcription for ConversationProfile. */ export interface Schema$GoogleCloudDialogflowV2beta1SpeechToTextConfig { - /** - * Defines the list of other language codes in addition to the one provided by the conversation profile that may be detected as the language code for the utterances over the conversation. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. - */ - alternativeLanguageCodes?: string[] | null; - /** - * Audio encoding of the audio content to process. - */ - audioEncoding?: string | null; - /** - * If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information. - */ - enableWordInfo?: boolean | null; - /** - * The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. - */ - languageCode?: string | null; /** * Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection. */ model?: string | null; - /** - * Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. - */ - sampleRateHertz?: number | null; /** * The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error. */ diff --git a/src/apis/dialogflow/v3.ts b/src/apis/dialogflow/v3.ts index dd767524e8..16ea0dfd70 100644 --- a/src/apis/dialogflow/v3.ts +++ b/src/apis/dialogflow/v3.ts @@ -1813,11 +1813,11 @@ export namespace dialogflow_v3 { */ export interface Schema$GoogleCloudDialogflowCxV3beta1TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -5384,11 +5384,11 @@ export namespace dialogflow_v3 { */ export interface Schema$GoogleCloudDialogflowCxV3TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** diff --git a/src/apis/dialogflow/v3beta1.ts b/src/apis/dialogflow/v3beta1.ts index ecc397c2b1..95df81fe7a 100644 --- a/src/apis/dialogflow/v3beta1.ts +++ b/src/apis/dialogflow/v3beta1.ts @@ -4324,11 +4324,11 @@ export namespace dialogflow_v3beta1 { */ export interface Schema$GoogleCloudDialogflowCxV3beta1TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -6474,11 +6474,11 @@ export namespace dialogflow_v3beta1 { */ export interface Schema$GoogleCloudDialogflowCxV3TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** diff --git a/src/apis/kmsinventory/v1.ts b/src/apis/kmsinventory/v1.ts index 91c4741631..af9a75d350 100644 --- a/src/apis/kmsinventory/v1.ts +++ b/src/apis/kmsinventory/v1.ts @@ -239,7 +239,7 @@ export namespace kmsinventory_v1 { */ cryptoKeyBackend?: string | null; /** - * Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 24 hours. + * Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not specified at creation time, the default duration is 30 days. */ destroyScheduledDuration?: string | null; /** diff --git a/src/apis/metastore/v1.ts b/src/apis/metastore/v1.ts index 92a7a0cdcb..3c2da91445 100644 --- a/src/apis/metastore/v1.ts +++ b/src/apis/metastore/v1.ts @@ -184,6 +184,23 @@ export namespace metastore_v1 { */ logType?: string | null; } + /** + * Represents the autoscaling configuration of a metastore service. + */ + export interface Schema$AutoscalingConfig { + /** + * Optional. Whether or not autoscaling is enabled for this service. + */ + autoscalingEnabled?: boolean | null; + /** + * Output only. The scaling factor of a service with autoscaling enabled. + */ + autoscalingFactor?: number | null; + /** + * Optional. The LimitConfig of the service. + */ + limitConfig?: Schema$LimitConfig; + } /** * Configuration information for the auxiliary service versions. */ @@ -264,10 +281,101 @@ export namespace metastore_v1 { */ role?: string | null; } + /** + * Request message for DataprocMetastore.CancelMigration. + */ + export interface Schema$CancelMigrationRequest {} /** * The request message for Operations.CancelOperation. */ export interface Schema$CancelOperationRequest {} + /** + * Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. + */ + export interface Schema$CdcConfig { + /** + * Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like "gs://". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used. + */ + bucket?: string | null; + /** + * Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request. + */ + password?: string | null; + /** + * Required. The URL of the subnetwork resource to create the VM instance hosting the reverse proxy in. More context in https://cloud.google.com/datastream/docs/private-connectivity#reverse-csql-proxy The subnetwork should reside in the network provided in the request that Datastream will peer to and should be in the same region as Datastream, in the following format. projects/{project_id\}/regions/{region_id\}/subnetworks/{subnetwork_id\} + */ + reverseProxySubnet?: string | null; + /** + * Optional. The root path inside the Cloud Storage bucket. The stream event data will be written to this path. The default value is /migration. + */ + rootPath?: string | null; + /** + * Required. A /29 CIDR IP range for peering with datastream. + */ + subnetIpRange?: string | null; + /** + * Required. The username that the Datastream service should use for the MySQL connection. + */ + username?: string | null; + /** + * Required. Fully qualified name of the Cloud SQL instance's VPC network or the shared VPC network that Datastream will peer to, in the following format: projects/{project_id\}/locations/global/networks/{network_id\}. More context in https://cloud.google.com/datastream/docs/network-connectivity-options#privateconnectivity + */ + vpcNetwork?: string | null; + } + /** + * Configuration information to establish customer database connection before the cutover phase of migration + */ + export interface Schema$CloudSQLConnectionConfig { + /** + * Required. The hive database name. + */ + hiveDatabaseName?: string | null; + /** + * Required. Cloud SQL database connection name (project_id:region:instance_name) + */ + instanceConnectionName?: string | null; + /** + * Required. The private IP address of the Cloud SQL instance. + */ + ipAddress?: string | null; + /** + * Required. The relative resource name of the subnetwork to be used for Private Service Connect. Note that this cannot be a regular subnet and is used only for NAT. (https://cloud.google.com/vpc/docs/about-vpc-hosted-services#psc-subnets) This subnet is used to publish the SOCKS5 proxy service. The subnet size must be at least /29 and it should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id\}/regions/{region_id\}/subnetworks/{subnetwork_id\} + */ + natSubnet?: string | null; + /** + * Required. Input only. The password for the user that Dataproc Metastore service will be using to connect to the database. This field is not returned on request. + */ + password?: string | null; + /** + * Required. The network port of the database. + */ + port?: number | null; + /** + * Required. The relative resource name of the subnetwork to deploy the SOCKS5 proxy service in. The subnetwork should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id\}/regions/{region_id\}/subnetworks/{subnetwork_id\} + */ + proxySubnet?: string | null; + /** + * Required. The username that Dataproc Metastore service will use to connect to the database. + */ + username?: string | null; + } + /** + * Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. + */ + export interface Schema$CloudSQLMigrationConfig { + /** + * Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration. + */ + cdcConfig?: Schema$CdcConfig; + /** + * Required. Configuration information to establish customer database connection before the cutover phase of migration + */ + cloudSqlConnectionConfig?: Schema$CloudSQLConnectionConfig; + } + /** + * Request message for DataprocMetastore.CompleteMigration. + */ + export interface Schema$CompleteMigrationRequest {} /** * Contains information of the customer's network configurations. */ @@ -496,6 +604,19 @@ export namespace metastore_v1 { */ state?: string | null; } + /** + * Represents the autoscaling limit configuration of a metastore service. + */ + export interface Schema$LimitConfig { + /** + * Optional. The highest scaling factor that the service should be autoscaled to. + */ + maxScalingFactor?: number | null; + /** + * Optional. The lowest scaling factor that the service should be autoscaled to. + */ + minScalingFactor?: number | null; + } /** * Response message for DataprocMetastore.ListBackups. */ @@ -560,6 +681,23 @@ export namespace metastore_v1 { */ unreachable?: string[] | null; } + /** + * Response message for DataprocMetastore.ListMigrationExecutions. + */ + export interface Schema$ListMigrationExecutionsResponse { + /** + * The migration executions on the specified service. + */ + migrationExecutions?: Schema$MigrationExecution[]; + /** + * A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } /** * The response message for Operations.ListOperations. */ @@ -721,6 +859,39 @@ export namespace metastore_v1 { */ restores?: Schema$Restore[]; } + /** + * The details of a migration execution resource. + */ + export interface Schema$MigrationExecution { + /** + * Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. + */ + cloudSqlMigrationConfig?: Schema$CloudSQLMigrationConfig; + /** + * Output only. The time when the migration execution was started. + */ + createTime?: string | null; + /** + * Output only. The time when the migration execution finished. + */ + endTime?: string | null; + /** + * Output only. The relative resource name of the migration execution, in the following form: projects/{project_number\}/locations/{location_id\}/services/{service_id\}/migrationExecutions/{migration_execution_id\} + */ + name?: string | null; + /** + * Output only. The current phase of the migration execution. + */ + phase?: string | null; + /** + * Output only. The current state of the migration execution. + */ + state?: string | null; + /** + * Output only. Additional information about the current state of the migration execution. + */ + stateMessage?: string | null; + } /** * Request message for DataprocMetastore.MoveTableToDatabase. */ @@ -915,6 +1086,10 @@ export namespace metastore_v1 { * Represents the scaling configuration of a metastore service. */ export interface Schema$ScalingConfig { + /** + * Optional. The autoscaling configuration. + */ + autoscalingConfig?: Schema$AutoscalingConfig; /** * An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) */ @@ -1076,6 +1251,19 @@ export namespace metastore_v1 { */ updateMask?: string | null; } + /** + * Request message for DataprocMetastore.StartMigration. + */ + export interface Schema$StartMigrationRequest { + /** + * Required. The configuration details for the migration. + */ + migrationExecution?: Schema$MigrationExecution; + /** + * Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported. + */ + requestId?: string | null; + } /** * The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). */ @@ -2592,6 +2780,7 @@ export namespace metastore_v1 { backups: Resource$Projects$Locations$Services$Backups; databases: Resource$Projects$Locations$Services$Databases; metadataImports: Resource$Projects$Locations$Services$Metadataimports; + migrationExecutions: Resource$Projects$Locations$Services$Migrationexecutions; constructor(context: APIRequestContext) { this.context = context; this.backups = new Resource$Projects$Locations$Services$Backups( @@ -2602,6 +2791,10 @@ export namespace metastore_v1 { ); this.metadataImports = new Resource$Projects$Locations$Services$Metadataimports(this.context); + this.migrationExecutions = + new Resource$Projects$Locations$Services$Migrationexecutions( + this.context + ); } /** @@ -2784,6 +2977,184 @@ export namespace metastore_v1 { } } + /** + * Cancels the ongoing Managed Migration process. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + cancelMigration( + params: Params$Resource$Projects$Locations$Services$Cancelmigration, + options: StreamMethodOptions + ): GaxiosPromise; + cancelMigration( + params?: Params$Resource$Projects$Locations$Services$Cancelmigration, + options?: MethodOptions + ): GaxiosPromise; + cancelMigration( + params: Params$Resource$Projects$Locations$Services$Cancelmigration, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancelMigration( + params: Params$Resource$Projects$Locations$Services$Cancelmigration, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancelMigration( + params: Params$Resource$Projects$Locations$Services$Cancelmigration, + callback: BodyResponseCallback + ): void; + cancelMigration(callback: BodyResponseCallback): void; + cancelMigration( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Services$Cancelmigration + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Services$Cancelmigration; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Services$Cancelmigration; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://metastore.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+service}:cancelMigration').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['service'], + pathParams: ['service'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + completeMigration( + params: Params$Resource$Projects$Locations$Services$Completemigration, + options: StreamMethodOptions + ): GaxiosPromise; + completeMigration( + params?: Params$Resource$Projects$Locations$Services$Completemigration, + options?: MethodOptions + ): GaxiosPromise; + completeMigration( + params: Params$Resource$Projects$Locations$Services$Completemigration, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + completeMigration( + params: Params$Resource$Projects$Locations$Services$Completemigration, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + completeMigration( + params: Params$Resource$Projects$Locations$Services$Completemigration, + callback: BodyResponseCallback + ): void; + completeMigration(callback: BodyResponseCallback): void; + completeMigration( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Services$Completemigration + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Services$Completemigration; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Services$Completemigration; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://metastore.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+service}:completeMigration').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['service'], + pathParams: ['service'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Creates a metastore service in a project and location. * @@ -3752,7 +4123,96 @@ export namespace metastore_v1 { } /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. + * Starts the Managed Migration process. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + startMigration( + params: Params$Resource$Projects$Locations$Services$Startmigration, + options: StreamMethodOptions + ): GaxiosPromise; + startMigration( + params?: Params$Resource$Projects$Locations$Services$Startmigration, + options?: MethodOptions + ): GaxiosPromise; + startMigration( + params: Params$Resource$Projects$Locations$Services$Startmigration, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + startMigration( + params: Params$Resource$Projects$Locations$Services$Startmigration, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + startMigration( + params: Params$Resource$Projects$Locations$Services$Startmigration, + callback: BodyResponseCallback + ): void; + startMigration(callback: BodyResponseCallback): void; + startMigration( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Services$Startmigration + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Services$Startmigration; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Services$Startmigration; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://metastore.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+service}:startMigration').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['service'], + pathParams: ['service'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3872,6 +4332,30 @@ export namespace metastore_v1 { */ requestBody?: Schema$AlterTablePropertiesRequest; } + export interface Params$Resource$Projects$Locations$Services$Cancelmigration + extends StandardParameters { + /** + * Required. The relative resource name of the metastore service to cancel the ongoing migration to, in the following format:projects/{project_id\}/locations/{location_id\}/services/{service_id\}. + */ + service?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CancelMigrationRequest; + } + export interface Params$Resource$Projects$Locations$Services$Completemigration + extends StandardParameters { + /** + * Required. The relative resource name of the metastore service to complete the migration to, in the following format:projects/{project_id\}/locations/{location_id\}/services/{service_id\}. + */ + service?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CompleteMigrationRequest; + } export interface Params$Resource$Projects$Locations$Services$Create extends StandardParameters { /** @@ -4024,6 +4508,18 @@ export namespace metastore_v1 { */ requestBody?: Schema$SetIamPolicyRequest; } + export interface Params$Resource$Projects$Locations$Services$Startmigration + extends StandardParameters { + /** + * Required. The relative resource name of the metastore service to start migrating to, in the following format:projects/{project_id\}/locations/{location_id\}/services/{service_id\}. + */ + service?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$StartMigrationRequest; + } export interface Params$Resource$Projects$Locations$Services$Testiampermissions extends StandardParameters { /** @@ -5514,4 +6010,326 @@ export namespace metastore_v1 { */ requestBody?: Schema$MetadataImport; } + + export class Resource$Projects$Locations$Services$Migrationexecutions { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Deletes a single migration execution. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + delete( + params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, + options: StreamMethodOptions + ): GaxiosPromise; + delete( + params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, + options?: MethodOptions + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://metastore.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets details of a single migration execution. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + get( + params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Services$Migrationexecutions$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Services$Migrationexecutions$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Services$Migrationexecutions$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://metastore.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists migration executions on a service. + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Services$Migrationexecutions$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Services$Migrationexecutions$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Services$Migrationexecutions$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Services$Migrationexecutions$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://metastore.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/migrationExecutions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Services$Migrationexecutions$Delete + extends StandardParameters { + /** + * Required. The relative resource name of the migrationExecution to delete, in the following form:projects/{project_number\}/locations/{location_id\}/services/{service_id\}/migrationExecutions/{migration_execution_id\}. + */ + name?: string; + /** + * Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported. + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Services$Migrationexecutions$Get + extends StandardParameters { + /** + * Required. The relative resource name of the migration execution to retrieve, in the following form:projects/{project_number\}/locations/{location_id\}/services/{service_id\}/migrationExecutions/{migration_execution_id\}. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Services$Migrationexecutions$List + extends StandardParameters { + /** + * Optional. The filter to apply to list results. + */ + filter?: string; + /** + * Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order. + */ + orderBy?: string; + /** + * Optional. The maximum number of migration executions to return. The response may contain less than the maximum number. If unspecified, no more than 500 migration executions are returned. The maximum value is 1000; values above 1000 are changed to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous DataprocMetastore.ListMigrationExecutions call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListMigrationExecutions must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The relative resource name of the service whose migration executions to list, in the following form:projects/{project_number\}/locations/{location_id\}/services/{service_id\}/migrationExecutions. + */ + parent?: string; + } } diff --git a/src/apis/sqladmin/v1.ts b/src/apis/sqladmin/v1.ts index a703e2eb92..eb99174933 100644 --- a/src/apis/sqladmin/v1.ts +++ b/src/apis/sqladmin/v1.ts @@ -916,7 +916,6 @@ export namespace sqladmin_v1 { sqlExportOptions?: { mysqlExportOptions?: {masterData?: number}; parallel?: boolean; - postgresExportOptions?: {clean?: boolean; ifExists?: boolean}; schemaOnly?: boolean; tables?: string[]; threads?: number; @@ -1106,11 +1105,7 @@ export namespace sqladmin_v1 { /** * Optional. Options for importing data from SQL statements. */ - sqlImportOptions?: { - parallel?: boolean; - postgresImportOptions?: {clean?: boolean; ifExists?: boolean}; - threads?: number; - } | null; + sqlImportOptions?: {parallel?: boolean; threads?: number} | null; /** * Path to the import file in Cloud Storage, in the form `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`. The instance must have write permissions to the bucket and read access to the file. */ diff --git a/src/apis/sqladmin/v1beta4.ts b/src/apis/sqladmin/v1beta4.ts index 907bf7464a..4bec6e3de5 100644 --- a/src/apis/sqladmin/v1beta4.ts +++ b/src/apis/sqladmin/v1beta4.ts @@ -919,7 +919,6 @@ export namespace sqladmin_v1beta4 { sqlExportOptions?: { mysqlExportOptions?: {masterData?: number}; parallel?: boolean; - postgresExportOptions?: {clean?: boolean; ifExists?: boolean}; schemaOnly?: boolean; tables?: string[]; threads?: number; @@ -1109,11 +1108,7 @@ export namespace sqladmin_v1beta4 { /** * Optional. Options for importing data from SQL statements. */ - sqlImportOptions?: { - parallel?: boolean; - postgresImportOptions?: {clean?: boolean; ifExists?: boolean}; - threads?: number; - } | null; + sqlImportOptions?: {parallel?: boolean; threads?: number} | null; /** * Path to the import file in Cloud Storage, in the form `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`. The instance must have write permissions to the bucket and read access to the file. */ diff --git a/src/apis/tasks/v1.ts b/src/apis/tasks/v1.ts index 32ceee7c5e..9195fe233a 100644 --- a/src/apis/tasks/v1.ts +++ b/src/apis/tasks/v1.ts @@ -126,13 +126,60 @@ export namespace tasks_v1 { } } + /** + * Information about the source of the task assignment (Document, Chat Space). + */ + export interface Schema$AssignmentInfo { + /** + * Output only. Information about the Drive file where this task originates from. Currently, the Drive file can only be a document. This field is read-only. + */ + driveResourceInfo?: Schema$DriveResourceInfo; + /** + * Output only. An absolute link to the original task in the surface of assignment (Docs, Chat spaces, etc.). + */ + linkToTask?: string | null; + /** + * Output only. Information about the Chat Space where this task originates from. This field is read-only. + */ + spaceInfo?: Schema$SpaceInfo; + /** + * Output only. The type of surface this assigned task originates from. Currently limited to DOCUMENT or SPACE. + */ + surfaceType?: string | null; + } + /** + * Information about the Drive resource where a task was assigned from (the document, sheet, etc.). + */ + export interface Schema$DriveResourceInfo { + /** + * Output only. Identifier of the file in the Drive API. + */ + driveFileId?: string | null; + /** + * Output only. Resource key required to access files shared via a shared link. Not required for all files. See also developers.google.com/drive/api/guides/resource-keys. + */ + resourceKey?: string | null; + } + /** + * Information about the Chat Space where a task was assigned from. + */ + export interface Schema$SpaceInfo { + /** + * Output only. The Chat space where this task originates from. The format is "spaces/{space\}". + */ + space?: string | null; + } export interface Schema$Task { + /** + * Output only. Context information for assigned tasks. A task can be assigned to a user, currently possible from surfaces like Docs and Chat Spaces. This field is populated for tasks assigned to the current user and identifies where the task was assigned from. This field is read-only. + */ + assignmentInfo?: Schema$AssignmentInfo; /** * Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. */ completed?: string | null; /** - * Flag indicating whether the task has been deleted. The default is False. + * Flag indicating whether the task has been deleted. For assigned tasks this field is read-only. They can only be deleted by calling tasks.delete, in which case both the assigned task and the original task (in Docs or Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there. The default is False. */ deleted?: boolean | null; /** @@ -160,11 +207,11 @@ export namespace tasks_v1 { */ links?: Array<{description?: string; link?: string; type?: string}> | null; /** - * Notes describing the task. Optional. Maximum length allowed: 8192 characters. + * Notes describing the task. Tasks assigned from Google Docs cannot have notes. Optional. Maximum length allowed: 8192 characters. */ notes?: string | null; /** - * Output only. Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. + * Output only. Parent task identifier. This field is omitted if it is a top-level task. Use the "move" method to move the task under a different parent or to the top level. A parent task can never be an assigned task (from Chat Spaces, Docs). This field is read-only. */ parent?: string | null; /** @@ -262,7 +309,7 @@ export namespace tasks_v1 { } /** - * Deletes the authenticated user's specified task list. + * Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -925,7 +972,7 @@ export namespace tasks_v1 { } /** - * Deletes the specified task from the task list. + * Deletes the specified task from the task list. If the task is assigned, both the assigned task and the original task (in Docs, Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -1097,7 +1144,7 @@ export namespace tasks_v1 { } /** - * Creates a new task on the specified task list. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time. + * Creates a new task on the specified task list. Tasks assigned from Docs or Chat Spaces cannot be inserted from Tasks Public API; they can only be created by assigning them from Docs or Chat Spaces. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -1184,7 +1231,7 @@ export namespace tasks_v1 { } /** - * Returns all tasks in the specified task list. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time. + * Returns all tasks in the specified task list. Does not return assigned tasks be default (from Docs, Chat Spaces). A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -1271,7 +1318,7 @@ export namespace tasks_v1 { } /** - * Moves the specified task to another position in the task list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. A user can have up to 2,000 subtasks per task. + * Moves the specified task to another position in the destination task list. If the destination list is not specified, the task is moved within its current list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. A user can have up to 2,000 subtasks per task. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -1559,7 +1606,7 @@ export namespace tasks_v1 { } export interface Params$Resource$Tasks$Insert extends StandardParameters { /** - * Parent task identifier. If the task is created at the top level, this parameter is omitted. Optional. + * Parent task identifier. If the task is created at the top level, this parameter is omitted. An assigned task cannot be a parent task, nor can it have a parent. Setting the parent to an assigned task results in failure of the request. Optional. */ parent?: string; /** @@ -1602,7 +1649,11 @@ export namespace tasks_v1 { */ pageToken?: string; /** - * Flag indicating whether completed tasks are returned in the result. Optional. The default is True. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. + * Optional. Flag indicating whether tasks assigned to the current user are returned in the result. Optional. The default is False. + */ + showAssigned?: boolean; + /** + * Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. Optional. The default is True. */ showCompleted?: boolean; /** @@ -1624,7 +1675,11 @@ export namespace tasks_v1 { } export interface Params$Resource$Tasks$Move extends StandardParameters { /** - * New parent task identifier. If the task is moved to the top level, this parameter is omitted. Optional. + * Optional. Destination task list identifier. If set, the task is moved from tasklist to the destinationTasklist list. Otherwise the task is moved within its current list. Recurrent tasks cannot currently be moved between lists. Optional. + */ + destinationTasklist?: string; + /** + * New parent task identifier. If the task is moved to the top level, this parameter is omitted. Assigned tasks can not be set as parent task (have subtasks) or be moved under a parent task (become subtasks). Optional. */ parent?: string; /**