From b9fa8d3d86f9b954fca7fcc26aadd5af14e91bd7 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:35 +0000 Subject: [PATCH 01/69] feat(aiplatform)!: update the API BREAKING CHANGE: This release has breaking changes. #### aiplatform:v1beta1 The following keys were deleted: - resources.projects.resources.locations.resources.reasoningEngines.methods.cancelAsyncQuery.parameters.operationName.description - resources.projects.resources.locations.resources.reasoningEngines.methods.cancelAsyncQuery.parameters.operationName.location - resources.projects.resources.locations.resources.reasoningEngines.methods.cancelAsyncQuery.parameters.operationName.type - resources.reasoningEngines.methods.cancelAsyncQuery.parameters.operationName.description - resources.reasoningEngines.methods.cancelAsyncQuery.parameters.operationName.location - resources.reasoningEngines.methods.cancelAsyncQuery.parameters.operationName.type The following keys were added: - resources.interactions.methods.cancel.description - resources.interactions.methods.cancel.flatPath - resources.interactions.methods.cancel.httpMethod - resources.interactions.methods.cancel.id - resources.interactions.methods.cancel.parameterOrder - resources.interactions.methods.cancel.parameters.name.description - resources.interactions.methods.cancel.parameters.name.location - resources.interactions.methods.cancel.parameters.name.pattern - resources.interactions.methods.cancel.parameters.name.required - resources.interactions.methods.cancel.parameters.name.type - resources.interactions.methods.cancel.path - resources.interactions.methods.cancel.response.$ref - resources.interactions.methods.cancel.scopes - resources.interactions.methods.delete.description - resources.interactions.methods.delete.flatPath - resources.interactions.methods.delete.httpMethod - resources.interactions.methods.delete.id - resources.interactions.methods.delete.parameterOrder - resources.interactions.methods.delete.parameters.name.description - resources.interactions.methods.delete.parameters.name.location - resources.interactions.methods.delete.parameters.name.pattern - resources.interactions.methods.delete.parameters.name.required - resources.interactions.methods.delete.parameters.name.type - resources.interactions.methods.delete.path - resources.interactions.methods.delete.response.$ref - resources.interactions.methods.delete.scopes - resources.interactions.methods.getPoll.description - resources.interactions.methods.getPoll.flatPath - resources.interactions.methods.getPoll.httpMethod - resources.interactions.methods.getPoll.id - resources.interactions.methods.getPoll.parameterOrder - resources.interactions.methods.getPoll.parameters.include_input.deprecated - resources.interactions.methods.getPoll.parameters.include_input.description - resources.interactions.methods.getPoll.parameters.include_input.location - resources.interactions.methods.getPoll.parameters.include_input.type - resources.interactions.methods.getPoll.parameters.last_event_id.description - resources.interactions.methods.getPoll.parameters.last_event_id.location - resources.interactions.methods.getPoll.parameters.last_event_id.type - resources.interactions.methods.getPoll.parameters.name.description - resources.interactions.methods.getPoll.parameters.name.location - resources.interactions.methods.getPoll.parameters.name.pattern - resources.interactions.methods.getPoll.parameters.name.required - resources.interactions.methods.getPoll.parameters.name.type - resources.interactions.methods.getPoll.parameters.stream.description - resources.interactions.methods.getPoll.parameters.stream.location - resources.interactions.methods.getPoll.parameters.stream.type - resources.interactions.methods.getPoll.path - resources.interactions.methods.getPoll.response.$ref - resources.interactions.methods.getPoll.scopes - resources.interactions.methods.getStream.description - resources.interactions.methods.getStream.flatPath - resources.interactions.methods.getStream.httpMethod - resources.interactions.methods.getStream.id - resources.interactions.methods.getStream.parameterOrder - resources.interactions.methods.getStream.parameters.include_input.deprecated - resources.interactions.methods.getStream.parameters.include_input.description - resources.interactions.methods.getStream.parameters.include_input.location - resources.interactions.methods.getStream.parameters.include_input.type - resources.interactions.methods.getStream.parameters.last_event_id.description - resources.interactions.methods.getStream.parameters.last_event_id.location - resources.interactions.methods.getStream.parameters.last_event_id.type - resources.interactions.methods.getStream.parameters.name.description - resources.interactions.methods.getStream.parameters.name.location - resources.interactions.methods.getStream.parameters.name.pattern - resources.interactions.methods.getStream.parameters.name.required - resources.interactions.methods.getStream.parameters.name.type - resources.interactions.methods.getStream.parameters.stream.description - resources.interactions.methods.getStream.parameters.stream.location - resources.interactions.methods.getStream.parameters.stream.type - resources.interactions.methods.getStream.path - resources.interactions.methods.getStream.response.$ref - resources.interactions.methods.getStream.scopes - resources.projects.resources.locations.resources.agents.methods.create.description - resources.projects.resources.locations.resources.agents.methods.create.flatPath - resources.projects.resources.locations.resources.agents.methods.create.httpMethod - resources.projects.resources.locations.resources.agents.methods.create.id - resources.projects.resources.locations.resources.agents.methods.create.parameterOrder - resources.projects.resources.locations.resources.agents.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.agents.methods.create.parameters.parent.location - resources.projects.resources.locations.resources.agents.methods.create.parameters.parent.pattern - resources.projects.resources.locations.resources.agents.methods.create.parameters.parent.required - resources.projects.resources.locations.resources.agents.methods.create.parameters.parent.type - resources.projects.resources.locations.resources.agents.methods.create.path - resources.projects.resources.locations.resources.agents.methods.create.request.$ref - resources.projects.resources.locations.resources.agents.methods.create.response.$ref - resources.projects.resources.locations.resources.agents.methods.create.scopes - resources.projects.resources.locations.resources.agents.methods.delete.description - resources.projects.resources.locations.resources.agents.methods.delete.flatPath - resources.projects.resources.locations.resources.agents.methods.delete.httpMethod - resources.projects.resources.locations.resources.agents.methods.delete.id - resources.projects.resources.locations.resources.agents.methods.delete.parameterOrder - resources.projects.resources.locations.resources.agents.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.agents.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.agents.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.agents.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.agents.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.agents.methods.delete.path - resources.projects.resources.locations.resources.agents.methods.delete.response.$ref - resources.projects.resources.locations.resources.agents.methods.delete.scopes - resources.projects.resources.locations.resources.agents.methods.get.description - resources.projects.resources.locations.resources.agents.methods.get.flatPath - resources.projects.resources.locations.resources.agents.methods.get.httpMethod - resources.projects.resources.locations.resources.agents.methods.get.id - resources.projects.resources.locations.resources.agents.methods.get.parameterOrder - resources.projects.resources.locations.resources.agents.methods.get.parameters.name.description - resources.projects.resources.locations.resources.agents.methods.get.parameters.name.location - resources.projects.resources.locations.resources.agents.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.agents.methods.get.parameters.name.required - resources.projects.resources.locations.resources.agents.methods.get.parameters.name.type - resources.projects.resources.locations.resources.agents.methods.get.path - resources.projects.resources.locations.resources.agents.methods.get.response.$ref - resources.projects.resources.locations.resources.agents.methods.get.scopes - resources.projects.resources.locations.resources.agents.methods.list.description - resources.projects.resources.locations.resources.agents.methods.list.flatPath - resources.projects.resources.locations.resources.agents.methods.list.httpMethod - resources.projects.resources.locations.resources.agents.methods.list.id - resources.projects.resources.locations.resources.agents.methods.list.parameterOrder - resources.projects.resources.locations.resources.agents.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.agents.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.agents.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.agents.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.agents.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.agents.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.agents.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.agents.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.agents.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.agents.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.agents.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.agents.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.agents.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.agents.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.agents.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.agents.methods.list.path - resources.projects.resources.locations.resources.agents.methods.list.response.$ref - resources.projects.resources.locations.resources.agents.methods.list.scopes - resources.projects.resources.locations.resources.agents.methods.patch.description - resources.projects.resources.locations.resources.agents.methods.patch.flatPath - resources.projects.resources.locations.resources.agents.methods.patch.httpMethod - resources.projects.resources.locations.resources.agents.methods.patch.id - resources.projects.resources.locations.resources.agents.methods.patch.parameterOrder - resources.projects.resources.locations.resources.agents.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.agents.methods.patch.parameters.name.location - resources.projects.resources.locations.resources.agents.methods.patch.parameters.name.pattern - resources.projects.resources.locations.resources.agents.methods.patch.parameters.name.required - resources.projects.resources.locations.resources.agents.methods.patch.parameters.name.type - resources.projects.resources.locations.resources.agents.methods.patch.parameters.updateMask.description - resources.projects.resources.locations.resources.agents.methods.patch.parameters.updateMask.format - resources.projects.resources.locations.resources.agents.methods.patch.parameters.updateMask.location - resources.projects.resources.locations.resources.agents.methods.patch.parameters.updateMask.type - resources.projects.resources.locations.resources.agents.methods.patch.path - resources.projects.resources.locations.resources.agents.methods.patch.request.$ref - resources.projects.resources.locations.resources.agents.methods.patch.response.$ref - resources.projects.resources.locations.resources.agents.methods.patch.scopes - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.description - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.flatPath - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.httpMethod - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.id - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.parameterOrder - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.path - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.response.$ref - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.delete.scopes - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.description - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.flatPath - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.httpMethod - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.id - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.parameterOrder - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.parameters.name.description - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.parameters.name.location - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.parameters.name.required - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.parameters.name.type - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.path - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.response.$ref - resources.projects.resources.locations.resources.endpoints.resources.responses.methods.get.scopes - resources.projects.resources.locations.resources.interactions.methods.create.description - resources.projects.resources.locations.resources.interactions.methods.create.flatPath - resources.projects.resources.locations.resources.interactions.methods.create.httpMethod - resources.projects.resources.locations.resources.interactions.methods.create.id - resources.projects.resources.locations.resources.interactions.methods.create.parameterOrder - resources.projects.resources.locations.resources.interactions.methods.create.parameters.locationsId.location - resources.projects.resources.locations.resources.interactions.methods.create.parameters.locationsId.required - resources.projects.resources.locations.resources.interactions.methods.create.parameters.locationsId.type - resources.projects.resources.locations.resources.interactions.methods.create.parameters.projectsId.location - resources.projects.resources.locations.resources.interactions.methods.create.parameters.projectsId.required - resources.projects.resources.locations.resources.interactions.methods.create.parameters.projectsId.type - resources.projects.resources.locations.resources.interactions.methods.create.path - resources.projects.resources.locations.resources.interactions.methods.create.request.$ref - resources.projects.resources.locations.resources.interactions.methods.create.response.$ref - resources.projects.resources.locations.resources.interactions.methods.create.scopes - resources.projects.resources.locations.resources.interactions.methods.createStream.description - resources.projects.resources.locations.resources.interactions.methods.createStream.flatPath - resources.projects.resources.locations.resources.interactions.methods.createStream.httpMethod - resources.projects.resources.locations.resources.interactions.methods.createStream.id - resources.projects.resources.locations.resources.interactions.methods.createStream.parameterOrder - resources.projects.resources.locations.resources.interactions.methods.createStream.parameters.locationsId.location - resources.projects.resources.locations.resources.interactions.methods.createStream.parameters.locationsId.required - resources.projects.resources.locations.resources.interactions.methods.createStream.parameters.locationsId.type - resources.projects.resources.locations.resources.interactions.methods.createStream.parameters.projectsId.location - resources.projects.resources.locations.resources.interactions.methods.createStream.parameters.projectsId.required - resources.projects.resources.locations.resources.interactions.methods.createStream.parameters.projectsId.type - resources.projects.resources.locations.resources.interactions.methods.createStream.path - resources.projects.resources.locations.resources.interactions.methods.createStream.request.$ref - resources.projects.resources.locations.resources.interactions.methods.createStream.response.$ref - resources.projects.resources.locations.resources.interactions.methods.createStream.scopes - resources.projects.resources.locations.resources.reasoningEngines.methods.cancelAsyncQuery.request.$ref - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.flatPath - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.httpMethod - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.id - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.parameterOrder - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.parameters.name.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.parameters.name.location - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.parameters.name.pattern - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.parameters.name.required - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.parameters.name.type - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.path - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.response.$ref - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.cancel.scopes - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.flatPath - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.httpMethod - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.id - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.parameterOrder - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.path - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.response.$ref - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.delete.scopes - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.flatPath - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.httpMethod - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.id - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.parameterOrder - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.parameters.name.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.parameters.name.location - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.parameters.name.required - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.parameters.name.type - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.path - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.response.$ref - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.get.scopes - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.flatPath - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.httpMethod - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.id - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameterOrder - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.name.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.name.location - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.name.pattern - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.name.required - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.name.type - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.parameters.returnPartialSuccess.type - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.path - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.response.$ref - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.list.scopes - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.flatPath - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.httpMethod - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.id - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.parameterOrder - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.parameters.name.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.parameters.name.location - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.parameters.name.pattern - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.parameters.name.required - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.parameters.name.type - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.parameters.timeout.description - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.parameters.timeout.format - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.parameters.timeout.location - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.parameters.timeout.type - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.path - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.response.$ref - resources.projects.resources.locations.resources.servingProfiles.resources.operations.methods.wait.scopes - resources.projects.resources.locations.resources.skills.methods.create.description - resources.projects.resources.locations.resources.skills.methods.create.flatPath - resources.projects.resources.locations.resources.skills.methods.create.httpMethod - resources.projects.resources.locations.resources.skills.methods.create.id - resources.projects.resources.locations.resources.skills.methods.create.parameterOrder - resources.projects.resources.locations.resources.skills.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.skills.methods.create.parameters.parent.location - resources.projects.resources.locations.resources.skills.methods.create.parameters.parent.pattern - resources.projects.resources.locations.resources.skills.methods.create.parameters.parent.required - resources.projects.resources.locations.resources.skills.methods.create.parameters.parent.type - resources.projects.resources.locations.resources.skills.methods.create.parameters.skillId.description - resources.projects.resources.locations.resources.skills.methods.create.parameters.skillId.location - resources.projects.resources.locations.resources.skills.methods.create.parameters.skillId.type - resources.projects.resources.locations.resources.skills.methods.create.path - resources.projects.resources.locations.resources.skills.methods.create.request.$ref - resources.projects.resources.locations.resources.skills.methods.create.response.$ref - resources.projects.resources.locations.resources.skills.methods.create.scopes - resources.projects.resources.locations.resources.skills.methods.delete.description - resources.projects.resources.locations.resources.skills.methods.delete.flatPath - resources.projects.resources.locations.resources.skills.methods.delete.httpMethod - resources.projects.resources.locations.resources.skills.methods.delete.id - resources.projects.resources.locations.resources.skills.methods.delete.parameterOrder - resources.projects.resources.locations.resources.skills.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.skills.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.skills.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.skills.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.skills.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.skills.methods.delete.path - resources.projects.resources.locations.resources.skills.methods.delete.response.$ref - resources.projects.resources.locations.resources.skills.methods.delete.scopes - resources.projects.resources.locations.resources.skills.methods.get.description - resources.projects.resources.locations.resources.skills.methods.get.flatPath - resources.projects.resources.locations.resources.skills.methods.get.httpMethod - resources.projects.resources.locations.resources.skills.methods.get.id - resources.projects.resources.locations.resources.skills.methods.get.parameterOrder - resources.projects.resources.locations.resources.skills.methods.get.parameters.name.description - resources.projects.resources.locations.resources.skills.methods.get.parameters.name.location - resources.projects.resources.locations.resources.skills.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.skills.methods.get.parameters.name.required - resources.projects.resources.locations.resources.skills.methods.get.parameters.name.type - resources.projects.resources.locations.resources.skills.methods.get.path - resources.projects.resources.locations.resources.skills.methods.get.response.$ref - resources.projects.resources.locations.resources.skills.methods.get.scopes - resources.projects.resources.locations.resources.skills.methods.list.description - resources.projects.resources.locations.resources.skills.methods.list.flatPath - resources.projects.resources.locations.resources.skills.methods.list.httpMethod - resources.projects.resources.locations.resources.skills.methods.list.id - resources.projects.resources.locations.resources.skills.methods.list.parameterOrder - resources.projects.resources.locations.resources.skills.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.skills.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.skills.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.skills.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.skills.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.skills.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.skills.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.skills.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.skills.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.skills.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.skills.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.skills.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.skills.methods.list.path - resources.projects.resources.locations.resources.skills.methods.list.response.$ref - resources.projects.resources.locations.resources.skills.methods.list.scopes - resources.projects.resources.locations.resources.skills.methods.patch.description - resources.projects.resources.locations.resources.skills.methods.patch.flatPath - resources.projects.resources.locations.resources.skills.methods.patch.httpMethod - resources.projects.resources.locations.resources.skills.methods.patch.id - resources.projects.resources.locations.resources.skills.methods.patch.parameterOrder - resources.projects.resources.locations.resources.skills.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.skills.methods.patch.parameters.name.location - resources.projects.resources.locations.resources.skills.methods.patch.parameters.name.pattern - resources.projects.resources.locations.resources.skills.methods.patch.parameters.name.required - resources.projects.resources.locations.resources.skills.methods.patch.parameters.name.type - resources.projects.resources.locations.resources.skills.methods.patch.parameters.updateMask.description - resources.projects.resources.locations.resources.skills.methods.patch.parameters.updateMask.format - resources.projects.resources.locations.resources.skills.methods.patch.parameters.updateMask.location - resources.projects.resources.locations.resources.skills.methods.patch.parameters.updateMask.type - resources.projects.resources.locations.resources.skills.methods.patch.path - resources.projects.resources.locations.resources.skills.methods.patch.request.$ref - resources.projects.resources.locations.resources.skills.methods.patch.response.$ref - resources.projects.resources.locations.resources.skills.methods.patch.scopes - resources.projects.resources.locations.resources.skills.methods.retrieve.description - resources.projects.resources.locations.resources.skills.methods.retrieve.flatPath - resources.projects.resources.locations.resources.skills.methods.retrieve.httpMethod - resources.projects.resources.locations.resources.skills.methods.retrieve.id - resources.projects.resources.locations.resources.skills.methods.retrieve.parameterOrder - resources.projects.resources.locations.resources.skills.methods.retrieve.parameters.parent.description - resources.projects.resources.locations.resources.skills.methods.retrieve.parameters.parent.location - resources.projects.resources.locations.resources.skills.methods.retrieve.parameters.parent.pattern - resources.projects.resources.locations.resources.skills.methods.retrieve.parameters.parent.required - resources.projects.resources.locations.resources.skills.methods.retrieve.parameters.parent.type - resources.projects.resources.locations.resources.skills.methods.retrieve.parameters.query.description - resources.projects.resources.locations.resources.skills.methods.retrieve.parameters.query.location - resources.projects.resources.locations.resources.skills.methods.retrieve.parameters.query.type - resources.projects.resources.locations.resources.skills.methods.retrieve.parameters.topK.description - resources.projects.resources.locations.resources.skills.methods.retrieve.parameters.topK.format - resources.projects.resources.locations.resources.skills.methods.retrieve.parameters.topK.location - resources.projects.resources.locations.resources.skills.methods.retrieve.parameters.topK.type - resources.projects.resources.locations.resources.skills.methods.retrieve.path - resources.projects.resources.locations.resources.skills.methods.retrieve.response.$ref - resources.projects.resources.locations.resources.skills.methods.retrieve.scopes - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.description - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.flatPath - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.httpMethod - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.id - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.parameterOrder - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.parameters.name.description - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.parameters.name.location - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.parameters.name.required - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.parameters.name.type - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.path - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.response.$ref - resources.projects.resources.locations.resources.skills.resources.revisions.methods.get.scopes - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.description - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.flatPath - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.httpMethod - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.id - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameterOrder - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.path - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.response.$ref - resources.projects.resources.locations.resources.skills.resources.revisions.methods.list.scopes - resources.reasoningEngines.methods.cancelAsyncQuery.request.$ref - resources.servingProfiles.resources.operations.methods.cancel.description - resources.servingProfiles.resources.operations.methods.cancel.flatPath - resources.servingProfiles.resources.operations.methods.cancel.httpMethod - resources.servingProfiles.resources.operations.methods.cancel.id - resources.servingProfiles.resources.operations.methods.cancel.parameterOrder - resources.servingProfiles.resources.operations.methods.cancel.parameters.name.description - resources.servingProfiles.resources.operations.methods.cancel.parameters.name.location - resources.servingProfiles.resources.operations.methods.cancel.parameters.name.pattern - resources.servingProfiles.resources.operations.methods.cancel.parameters.name.required - resources.servingProfiles.resources.operations.methods.cancel.parameters.name.type - resources.servingProfiles.resources.operations.methods.cancel.path - resources.servingProfiles.resources.operations.methods.cancel.response.$ref - resources.servingProfiles.resources.operations.methods.cancel.scopes - resources.servingProfiles.resources.operations.methods.delete.description - resources.servingProfiles.resources.operations.methods.delete.flatPath - resources.servingProfiles.resources.operations.methods.delete.httpMethod - resources.servingProfiles.resources.operations.methods.delete.id - resources.servingProfiles.resources.operations.methods.delete.parameterOrder - resources.servingProfiles.resources.operations.methods.delete.parameters.name.description - resources.servingProfiles.resources.operations.methods.delete.parameters.name.location - resources.servingProfiles.resources.operations.methods.delete.parameters.name.pattern - resources.servingProfiles.resources.operations.methods.delete.parameters.name.required - resources.servingProfiles.resources.operations.methods.delete.parameters.name.type - resources.servingProfiles.resources.operations.methods.delete.path - resources.servingProfiles.resources.operations.methods.delete.response.$ref - resources.servingProfiles.resources.operations.methods.delete.scopes - resources.servingProfiles.resources.operations.methods.get.description - resources.servingProfiles.resources.operations.methods.get.flatPath - resources.servingProfiles.resources.operations.methods.get.httpMethod - resources.servingProfiles.resources.operations.methods.get.id - resources.servingProfiles.resources.operations.methods.get.parameterOrder - resources.servingProfiles.resources.operations.methods.get.parameters.name.description - resources.servingProfiles.resources.operations.methods.get.parameters.name.location - resources.servingProfiles.resources.operations.methods.get.parameters.name.pattern - resources.servingProfiles.resources.operations.methods.get.parameters.name.required - resources.servingProfiles.resources.operations.methods.get.parameters.name.type - resources.servingProfiles.resources.operations.methods.get.path - resources.servingProfiles.resources.operations.methods.get.response.$ref - resources.servingProfiles.resources.operations.methods.get.scopes - resources.servingProfiles.resources.operations.methods.list.description - resources.servingProfiles.resources.operations.methods.list.flatPath - resources.servingProfiles.resources.operations.methods.list.httpMethod - resources.servingProfiles.resources.operations.methods.list.id - resources.servingProfiles.resources.operations.methods.list.parameterOrder - resources.servingProfiles.resources.operations.methods.list.parameters.filter.description - resources.servingProfiles.resources.operations.methods.list.parameters.filter.location - resources.servingProfiles.resources.operations.methods.list.parameters.filter.type - resources.servingProfiles.resources.operations.methods.list.parameters.name.description - resources.servingProfiles.resources.operations.methods.list.parameters.name.location - resources.servingProfiles.resources.operations.methods.list.parameters.name.pattern - resources.servingProfiles.resources.operations.methods.list.parameters.name.required - resources.servingProfiles.resources.operations.methods.list.parameters.name.type - resources.servingProfiles.resources.operations.methods.list.parameters.pageSize.description - resources.servingProfiles.resources.operations.methods.list.parameters.pageSize.format - resources.servingProfiles.resources.operations.methods.list.parameters.pageSize.location - resources.servingProfiles.resources.operations.methods.list.parameters.pageSize.type - resources.servingProfiles.resources.operations.methods.list.parameters.pageToken.description - resources.servingProfiles.resources.operations.methods.list.parameters.pageToken.location - resources.servingProfiles.resources.operations.methods.list.parameters.pageToken.type - resources.servingProfiles.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.servingProfiles.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.servingProfiles.resources.operations.methods.list.parameters.returnPartialSuccess.type - resources.servingProfiles.resources.operations.methods.list.path - resources.servingProfiles.resources.operations.methods.list.response.$ref - resources.servingProfiles.resources.operations.methods.list.scopes - resources.servingProfiles.resources.operations.methods.wait.description - resources.servingProfiles.resources.operations.methods.wait.flatPath - resources.servingProfiles.resources.operations.methods.wait.httpMethod - resources.servingProfiles.resources.operations.methods.wait.id - resources.servingProfiles.resources.operations.methods.wait.parameterOrder - resources.servingProfiles.resources.operations.methods.wait.parameters.name.description - resources.servingProfiles.resources.operations.methods.wait.parameters.name.location - resources.servingProfiles.resources.operations.methods.wait.parameters.name.pattern - resources.servingProfiles.resources.operations.methods.wait.parameters.name.required - resources.servingProfiles.resources.operations.methods.wait.parameters.name.type - resources.servingProfiles.resources.operations.methods.wait.parameters.timeout.description - resources.servingProfiles.resources.operations.methods.wait.parameters.timeout.format - resources.servingProfiles.resources.operations.methods.wait.parameters.timeout.location - resources.servingProfiles.resources.operations.methods.wait.parameters.timeout.type - resources.servingProfiles.resources.operations.methods.wait.path - resources.servingProfiles.resources.operations.methods.wait.response.$ref - resources.servingProfiles.resources.operations.methods.wait.scopes - schemas.CloudAiLargeModelsVisionGenerateVideoExperiments.properties.codec.description - schemas.CloudAiLargeModelsVisionGenerateVideoExperiments.properties.codec.enum - schemas.CloudAiLargeModelsVisionGenerateVideoExperiments.properties.codec.enumDescriptions - schemas.CloudAiLargeModelsVisionGenerateVideoExperiments.properties.codec.type - schemas.GenaiField.description - schemas.GenaiField.id - schemas.GenaiField.properties.name.type - schemas.GenaiField.properties.value.$ref - schemas.GenaiField.type - schemas.GenaiListValue.description - schemas.GenaiListValue.id - schemas.GenaiListValue.properties.values.description - schemas.GenaiListValue.properties.values.items.$ref - schemas.GenaiListValue.properties.values.type - schemas.GenaiListValue.type - schemas.GenaiStruct.description - schemas.GenaiStruct.id - schemas.GenaiStruct.properties.fields.description - schemas.GenaiStruct.properties.fields.items.$ref - schemas.GenaiStruct.properties.fields.type - schemas.GenaiStruct.type - schemas.GenaiValue.description - schemas.GenaiValue.id - schemas.GenaiValue.properties.boolValue.description - schemas.GenaiValue.properties.boolValue.type - schemas.GenaiValue.properties.listValue.$ref - schemas.GenaiValue.properties.listValue.description - schemas.GenaiValue.properties.nullValue.description - schemas.GenaiValue.properties.nullValue.enum - schemas.GenaiValue.properties.nullValue.enumDescriptions - schemas.GenaiValue.properties.nullValue.type - schemas.GenaiValue.properties.numberValue.description - schemas.GenaiValue.properties.numberValue.format - schemas.GenaiValue.properties.numberValue.type - schemas.GenaiValue.properties.stringValue.description - schemas.GenaiValue.properties.stringValue.type - schemas.GenaiValue.properties.structValue.$ref - schemas.GenaiValue.properties.structValue.description - schemas.GenaiValue.type - schemas.GenaiVertexV1beta1AgentInteraction.description - schemas.GenaiVertexV1beta1AgentInteraction.id - schemas.GenaiVertexV1beta1AgentInteraction.properties.agent.description - schemas.GenaiVertexV1beta1AgentInteraction.properties.agent.type - schemas.GenaiVertexV1beta1AgentInteraction.properties.deep_research_config.$ref - schemas.GenaiVertexV1beta1AgentInteraction.properties.dynamic_config.$ref - schemas.GenaiVertexV1beta1AgentInteraction.type - schemas.GenaiVertexV1beta1AllowedTools.description - schemas.GenaiVertexV1beta1AllowedTools.id - schemas.GenaiVertexV1beta1AllowedTools.properties.mode.description - schemas.GenaiVertexV1beta1AllowedTools.properties.mode.enum - schemas.GenaiVertexV1beta1AllowedTools.properties.mode.enumDescriptions - schemas.GenaiVertexV1beta1AllowedTools.properties.mode.type - schemas.GenaiVertexV1beta1AllowedTools.properties.tools.description - schemas.GenaiVertexV1beta1AllowedTools.properties.tools.items.type - schemas.GenaiVertexV1beta1AllowedTools.properties.tools.type - schemas.GenaiVertexV1beta1AllowedTools.type - schemas.GenaiVertexV1beta1ArgumentsDelta.id - schemas.GenaiVertexV1beta1ArgumentsDelta.properties.partial_arguments.type - schemas.GenaiVertexV1beta1ArgumentsDelta.type - schemas.GenaiVertexV1beta1AudioContent.description - schemas.GenaiVertexV1beta1AudioContent.id - schemas.GenaiVertexV1beta1AudioContent.properties.channels.description - schemas.GenaiVertexV1beta1AudioContent.properties.channels.format - schemas.GenaiVertexV1beta1AudioContent.properties.channels.type - schemas.GenaiVertexV1beta1AudioContent.properties.data.description - schemas.GenaiVertexV1beta1AudioContent.properties.data.format - schemas.GenaiVertexV1beta1AudioContent.properties.data.type - schemas.GenaiVertexV1beta1AudioContent.properties.mime_type.description - schemas.GenaiVertexV1beta1AudioContent.properties.mime_type.enum - schemas.GenaiVertexV1beta1AudioContent.properties.mime_type.enumDescriptions - schemas.GenaiVertexV1beta1AudioContent.properties.mime_type.type - schemas.GenaiVertexV1beta1AudioContent.properties.sample_rate.description - schemas.GenaiVertexV1beta1AudioContent.properties.sample_rate.format - schemas.GenaiVertexV1beta1AudioContent.properties.sample_rate.type - schemas.GenaiVertexV1beta1AudioContent.properties.uri.description - schemas.GenaiVertexV1beta1AudioContent.properties.uri.type - schemas.GenaiVertexV1beta1AudioContent.type - schemas.GenaiVertexV1beta1AudioDelta.id - schemas.GenaiVertexV1beta1AudioDelta.properties.channels.description - schemas.GenaiVertexV1beta1AudioDelta.properties.channels.format - schemas.GenaiVertexV1beta1AudioDelta.properties.channels.type - schemas.GenaiVertexV1beta1AudioDelta.properties.data.format - schemas.GenaiVertexV1beta1AudioDelta.properties.data.type - schemas.GenaiVertexV1beta1AudioDelta.properties.mime_type.enum - schemas.GenaiVertexV1beta1AudioDelta.properties.mime_type.enumDescriptions - schemas.GenaiVertexV1beta1AudioDelta.properties.mime_type.type - schemas.GenaiVertexV1beta1AudioDelta.properties.rate.deprecated - schemas.GenaiVertexV1beta1AudioDelta.properties.rate.description - schemas.GenaiVertexV1beta1AudioDelta.properties.rate.format - schemas.GenaiVertexV1beta1AudioDelta.properties.rate.type - schemas.GenaiVertexV1beta1AudioDelta.properties.sample_rate.description - schemas.GenaiVertexV1beta1AudioDelta.properties.sample_rate.format - schemas.GenaiVertexV1beta1AudioDelta.properties.sample_rate.type - schemas.GenaiVertexV1beta1AudioDelta.properties.uri.type - schemas.GenaiVertexV1beta1AudioDelta.type - schemas.GenaiVertexV1beta1AudioResponseFormat.description - schemas.GenaiVertexV1beta1AudioResponseFormat.id - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.bit_rate.description - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.bit_rate.format - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.bit_rate.type - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.delivery.description - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.delivery.enum - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.delivery.enumDescriptions - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.delivery.type - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.mime_type.description - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.mime_type.enum - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.mime_type.enumDescriptions - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.mime_type.type - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.sample_rate.description - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.sample_rate.format - schemas.GenaiVertexV1beta1AudioResponseFormat.properties.sample_rate.type - schemas.GenaiVertexV1beta1AudioResponseFormat.type - schemas.GenaiVertexV1beta1CodeExecution.description - schemas.GenaiVertexV1beta1CodeExecution.id - schemas.GenaiVertexV1beta1CodeExecution.type - schemas.GenaiVertexV1beta1CodeExecutionCallContent.description - schemas.GenaiVertexV1beta1CodeExecutionCallContent.id - schemas.GenaiVertexV1beta1CodeExecutionCallContent.properties.arguments.$ref - schemas.GenaiVertexV1beta1CodeExecutionCallContent.properties.arguments.description - schemas.GenaiVertexV1beta1CodeExecutionCallContent.type - schemas.GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments.description - schemas.GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments.id - schemas.GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments.properties.code.description - schemas.GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments.properties.code.type - schemas.GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments.properties.language.description - schemas.GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments.properties.language.enum - schemas.GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments.properties.language.enumDescriptions - schemas.GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments.properties.language.type - schemas.GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments.type - schemas.GenaiVertexV1beta1CodeExecutionCallDelta.id - schemas.GenaiVertexV1beta1CodeExecutionCallDelta.properties.arguments.$ref - schemas.GenaiVertexV1beta1CodeExecutionCallDelta.type - schemas.GenaiVertexV1beta1CodeExecutionCallStep.description - schemas.GenaiVertexV1beta1CodeExecutionCallStep.id - schemas.GenaiVertexV1beta1CodeExecutionCallStep.properties.arguments.$ref - schemas.GenaiVertexV1beta1CodeExecutionCallStep.properties.arguments.description - schemas.GenaiVertexV1beta1CodeExecutionCallStep.type - schemas.GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments.description - schemas.GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments.id - schemas.GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments.properties.code.description - schemas.GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments.properties.code.type - schemas.GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments.properties.language.description - schemas.GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments.properties.language.enum - schemas.GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments.properties.language.enumDescriptions - schemas.GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments.properties.language.type - schemas.GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments.type - schemas.GenaiVertexV1beta1CodeExecutionResultContent.description - schemas.GenaiVertexV1beta1CodeExecutionResultContent.id - schemas.GenaiVertexV1beta1CodeExecutionResultContent.properties.is_error.description - schemas.GenaiVertexV1beta1CodeExecutionResultContent.properties.is_error.type - schemas.GenaiVertexV1beta1CodeExecutionResultContent.properties.result.description - schemas.GenaiVertexV1beta1CodeExecutionResultContent.properties.result.type - schemas.GenaiVertexV1beta1CodeExecutionResultContent.type - schemas.GenaiVertexV1beta1CodeExecutionResultDelta.id - schemas.GenaiVertexV1beta1CodeExecutionResultDelta.properties.is_error.type - schemas.GenaiVertexV1beta1CodeExecutionResultDelta.properties.result.type - schemas.GenaiVertexV1beta1CodeExecutionResultDelta.type - schemas.GenaiVertexV1beta1CodeExecutionResultStep.description - schemas.GenaiVertexV1beta1CodeExecutionResultStep.id - schemas.GenaiVertexV1beta1CodeExecutionResultStep.properties.is_error.description - schemas.GenaiVertexV1beta1CodeExecutionResultStep.properties.is_error.type - schemas.GenaiVertexV1beta1CodeExecutionResultStep.properties.result.description - schemas.GenaiVertexV1beta1CodeExecutionResultStep.properties.result.type - schemas.GenaiVertexV1beta1CodeExecutionResultStep.type - schemas.GenaiVertexV1beta1ComputerUse.description - schemas.GenaiVertexV1beta1ComputerUse.id - schemas.GenaiVertexV1beta1ComputerUse.properties.environment.description - schemas.GenaiVertexV1beta1ComputerUse.properties.environment.enum - schemas.GenaiVertexV1beta1ComputerUse.properties.environment.enumDescriptions - schemas.GenaiVertexV1beta1ComputerUse.properties.environment.type - schemas.GenaiVertexV1beta1ComputerUse.properties.excluded_predefined_functions.description - schemas.GenaiVertexV1beta1ComputerUse.properties.excluded_predefined_functions.items.type - schemas.GenaiVertexV1beta1ComputerUse.properties.excluded_predefined_functions.type - schemas.GenaiVertexV1beta1ComputerUse.type - schemas.GenaiVertexV1beta1Content.description - schemas.GenaiVertexV1beta1Content.id - schemas.GenaiVertexV1beta1Content.properties.audio.$ref - schemas.GenaiVertexV1beta1Content.properties.document.$ref - schemas.GenaiVertexV1beta1Content.properties.image.$ref - schemas.GenaiVertexV1beta1Content.properties.text.$ref - schemas.GenaiVertexV1beta1Content.properties.thought.$ref - schemas.GenaiVertexV1beta1Content.properties.thought.deprecated - schemas.GenaiVertexV1beta1Content.properties.toolCall.$ref - schemas.GenaiVertexV1beta1Content.properties.toolCall.deprecated - schemas.GenaiVertexV1beta1Content.properties.toolResult.$ref - schemas.GenaiVertexV1beta1Content.properties.toolResult.deprecated - schemas.GenaiVertexV1beta1Content.properties.video.$ref - schemas.GenaiVertexV1beta1Content.type - schemas.GenaiVertexV1beta1ContentDelta.id - schemas.GenaiVertexV1beta1ContentDelta.properties.delta.$ref - schemas.GenaiVertexV1beta1ContentDelta.properties.index.format - schemas.GenaiVertexV1beta1ContentDelta.properties.index.type - schemas.GenaiVertexV1beta1ContentDelta.type - schemas.GenaiVertexV1beta1ContentDeltaData.description - schemas.GenaiVertexV1beta1ContentDeltaData.id - schemas.GenaiVertexV1beta1ContentDeltaData.properties.audio.$ref - schemas.GenaiVertexV1beta1ContentDeltaData.properties.document.$ref - schemas.GenaiVertexV1beta1ContentDeltaData.properties.image.$ref - schemas.GenaiVertexV1beta1ContentDeltaData.properties.text.$ref - schemas.GenaiVertexV1beta1ContentDeltaData.properties.textAnnotation.$ref - schemas.GenaiVertexV1beta1ContentDeltaData.properties.thoughtSignature.$ref - schemas.GenaiVertexV1beta1ContentDeltaData.properties.thoughtSummary.$ref - schemas.GenaiVertexV1beta1ContentDeltaData.properties.toolCall.$ref - schemas.GenaiVertexV1beta1ContentDeltaData.properties.toolResult.$ref - schemas.GenaiVertexV1beta1ContentDeltaData.properties.video.$ref - schemas.GenaiVertexV1beta1ContentDeltaData.type - schemas.GenaiVertexV1beta1ContentList.description - schemas.GenaiVertexV1beta1ContentList.id - schemas.GenaiVertexV1beta1ContentList.properties.contents.description - schemas.GenaiVertexV1beta1ContentList.properties.contents.items.$ref - schemas.GenaiVertexV1beta1ContentList.properties.contents.type - schemas.GenaiVertexV1beta1ContentList.type - schemas.GenaiVertexV1beta1ContentStart.id - schemas.GenaiVertexV1beta1ContentStart.properties.content.$ref - schemas.GenaiVertexV1beta1ContentStart.properties.index.format - schemas.GenaiVertexV1beta1ContentStart.properties.index.type - schemas.GenaiVertexV1beta1ContentStart.type - schemas.GenaiVertexV1beta1ContentStop.id - schemas.GenaiVertexV1beta1ContentStop.properties.index.format - schemas.GenaiVertexV1beta1ContentStop.properties.index.type - schemas.GenaiVertexV1beta1ContentStop.type - schemas.GenaiVertexV1beta1CreateInteractionRequest.description - schemas.GenaiVertexV1beta1CreateInteractionRequest.id - schemas.GenaiVertexV1beta1CreateInteractionRequest.properties.background.description - schemas.GenaiVertexV1beta1CreateInteractionRequest.properties.background.type - schemas.GenaiVertexV1beta1CreateInteractionRequest.properties.interaction.$ref - schemas.GenaiVertexV1beta1CreateInteractionRequest.properties.interaction.description - schemas.GenaiVertexV1beta1CreateInteractionRequest.properties.store.description - schemas.GenaiVertexV1beta1CreateInteractionRequest.properties.store.type - schemas.GenaiVertexV1beta1CreateInteractionRequest.properties.stream.description - schemas.GenaiVertexV1beta1CreateInteractionRequest.properties.stream.type - schemas.GenaiVertexV1beta1CreateInteractionRequest.type - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.description - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.id - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.properties.collaborative_planning.description - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.properties.collaborative_planning.type - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.properties.thinking_summaries.description - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.properties.thinking_summaries.enum - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.properties.thinking_summaries.enumDescriptions - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.properties.thinking_summaries.type - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.properties.visualization.description - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.properties.visualization.enum - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.properties.visualization.enumDescriptions - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.properties.visualization.type - schemas.GenaiVertexV1beta1DeepResearchAgentConfig.type - schemas.GenaiVertexV1beta1DocumentContent.description - schemas.GenaiVertexV1beta1DocumentContent.id - schemas.GenaiVertexV1beta1DocumentContent.properties.data.description - schemas.GenaiVertexV1beta1DocumentContent.properties.data.format - schemas.GenaiVertexV1beta1DocumentContent.properties.data.type - schemas.GenaiVertexV1beta1DocumentContent.properties.mime_type.description - schemas.GenaiVertexV1beta1DocumentContent.properties.mime_type.enum - schemas.GenaiVertexV1beta1DocumentContent.properties.mime_type.enumDescriptions - schemas.GenaiVertexV1beta1DocumentContent.properties.mime_type.type - schemas.GenaiVertexV1beta1DocumentContent.properties.uri.description - schemas.GenaiVertexV1beta1DocumentContent.properties.uri.type - schemas.GenaiVertexV1beta1DocumentContent.type - schemas.GenaiVertexV1beta1DocumentDelta.id - schemas.GenaiVertexV1beta1DocumentDelta.properties.data.format - schemas.GenaiVertexV1beta1DocumentDelta.properties.data.type - schemas.GenaiVertexV1beta1DocumentDelta.properties.mime_type.enum - schemas.GenaiVertexV1beta1DocumentDelta.properties.mime_type.enumDescriptions - schemas.GenaiVertexV1beta1DocumentDelta.properties.mime_type.type - schemas.GenaiVertexV1beta1DocumentDelta.properties.uri.type - schemas.GenaiVertexV1beta1DocumentDelta.type - schemas.GenaiVertexV1beta1DynamicAgentConfig.description - schemas.GenaiVertexV1beta1DynamicAgentConfig.id - schemas.GenaiVertexV1beta1DynamicAgentConfig.properties.config.$ref - schemas.GenaiVertexV1beta1DynamicAgentConfig.properties.config.description - schemas.GenaiVertexV1beta1DynamicAgentConfig.type - schemas.GenaiVertexV1beta1Error.description - schemas.GenaiVertexV1beta1Error.id - schemas.GenaiVertexV1beta1Error.properties.code.description - schemas.GenaiVertexV1beta1Error.properties.code.type - schemas.GenaiVertexV1beta1Error.properties.message.description - schemas.GenaiVertexV1beta1Error.properties.message.type - schemas.GenaiVertexV1beta1Error.type - schemas.GenaiVertexV1beta1ErrorEvent.id - schemas.GenaiVertexV1beta1ErrorEvent.properties.error.$ref - schemas.GenaiVertexV1beta1ErrorEvent.type - schemas.GenaiVertexV1beta1FileCitation.description - schemas.GenaiVertexV1beta1FileCitation.id - schemas.GenaiVertexV1beta1FileCitation.properties.custom_metadata.$ref - schemas.GenaiVertexV1beta1FileCitation.properties.custom_metadata.description - schemas.GenaiVertexV1beta1FileCitation.properties.document_uri.description - schemas.GenaiVertexV1beta1FileCitation.properties.document_uri.type - schemas.GenaiVertexV1beta1FileCitation.properties.file_name.description - schemas.GenaiVertexV1beta1FileCitation.properties.file_name.type - schemas.GenaiVertexV1beta1FileCitation.properties.media_id.description - schemas.GenaiVertexV1beta1FileCitation.properties.media_id.type - schemas.GenaiVertexV1beta1FileCitation.properties.page_number.description - schemas.GenaiVertexV1beta1FileCitation.properties.page_number.format - schemas.GenaiVertexV1beta1FileCitation.properties.page_number.type - schemas.GenaiVertexV1beta1FileCitation.properties.source.description - schemas.GenaiVertexV1beta1FileCitation.properties.source.type - schemas.GenaiVertexV1beta1FileCitation.type - schemas.GenaiVertexV1beta1FileSearch.description - schemas.GenaiVertexV1beta1FileSearch.id - schemas.GenaiVertexV1beta1FileSearch.properties.file_search_store_names.description - schemas.GenaiVertexV1beta1FileSearch.properties.file_search_store_names.items.type - schemas.GenaiVertexV1beta1FileSearch.properties.file_search_store_names.type - schemas.GenaiVertexV1beta1FileSearch.properties.metadata_filter.description - schemas.GenaiVertexV1beta1FileSearch.properties.metadata_filter.type - schemas.GenaiVertexV1beta1FileSearch.properties.top_k.description - schemas.GenaiVertexV1beta1FileSearch.properties.top_k.format - schemas.GenaiVertexV1beta1FileSearch.properties.top_k.type - schemas.GenaiVertexV1beta1FileSearch.type - schemas.GenaiVertexV1beta1FileSearchCallContent.description - schemas.GenaiVertexV1beta1FileSearchCallContent.id - schemas.GenaiVertexV1beta1FileSearchCallContent.type - schemas.GenaiVertexV1beta1FileSearchCallDelta.id - schemas.GenaiVertexV1beta1FileSearchCallDelta.type - schemas.GenaiVertexV1beta1FileSearchCallStep.description - schemas.GenaiVertexV1beta1FileSearchCallStep.id - schemas.GenaiVertexV1beta1FileSearchCallStep.type - schemas.GenaiVertexV1beta1FileSearchResultContent.description - schemas.GenaiVertexV1beta1FileSearchResultContent.id - schemas.GenaiVertexV1beta1FileSearchResultContent.properties.result.description - schemas.GenaiVertexV1beta1FileSearchResultContent.properties.result.items.$ref - schemas.GenaiVertexV1beta1FileSearchResultContent.properties.result.type - schemas.GenaiVertexV1beta1FileSearchResultContent.type - schemas.GenaiVertexV1beta1FileSearchResultContentFileSearchResult.description - schemas.GenaiVertexV1beta1FileSearchResultContentFileSearchResult.id - schemas.GenaiVertexV1beta1FileSearchResultContentFileSearchResult.type - schemas.GenaiVertexV1beta1FileSearchResultDelta.id - schemas.GenaiVertexV1beta1FileSearchResultDelta.properties.result.items.$ref - schemas.GenaiVertexV1beta1FileSearchResultDelta.properties.result.type - schemas.GenaiVertexV1beta1FileSearchResultDelta.type - schemas.GenaiVertexV1beta1FileSearchResultStep.description - schemas.GenaiVertexV1beta1FileSearchResultStep.id - schemas.GenaiVertexV1beta1FileSearchResultStep.type - schemas.GenaiVertexV1beta1Function.description - schemas.GenaiVertexV1beta1Function.id - schemas.GenaiVertexV1beta1Function.properties.description.description - schemas.GenaiVertexV1beta1Function.properties.description.type - schemas.GenaiVertexV1beta1Function.properties.name.description - schemas.GenaiVertexV1beta1Function.properties.name.type - schemas.GenaiVertexV1beta1Function.properties.parameters.$ref - schemas.GenaiVertexV1beta1Function.properties.parameters.description - schemas.GenaiVertexV1beta1Function.type - schemas.GenaiVertexV1beta1FunctionCallContent.description - schemas.GenaiVertexV1beta1FunctionCallContent.id - schemas.GenaiVertexV1beta1FunctionCallContent.properties.arguments.$ref - schemas.GenaiVertexV1beta1FunctionCallContent.properties.arguments.description - schemas.GenaiVertexV1beta1FunctionCallContent.properties.name.description - schemas.GenaiVertexV1beta1FunctionCallContent.properties.name.type - schemas.GenaiVertexV1beta1FunctionCallContent.type - schemas.GenaiVertexV1beta1FunctionCallDelta.id - schemas.GenaiVertexV1beta1FunctionCallDelta.properties.arguments.$ref - schemas.GenaiVertexV1beta1FunctionCallDelta.properties.name.type - schemas.GenaiVertexV1beta1FunctionCallDelta.type - schemas.GenaiVertexV1beta1FunctionCallStep.description - schemas.GenaiVertexV1beta1FunctionCallStep.id - schemas.GenaiVertexV1beta1FunctionCallStep.properties.arguments.$ref - schemas.GenaiVertexV1beta1FunctionCallStep.properties.arguments.description - schemas.GenaiVertexV1beta1FunctionCallStep.properties.name.description - schemas.GenaiVertexV1beta1FunctionCallStep.properties.name.type - schemas.GenaiVertexV1beta1FunctionCallStep.type - schemas.GenaiVertexV1beta1FunctionResultContent.description - schemas.GenaiVertexV1beta1FunctionResultContent.id - schemas.GenaiVertexV1beta1FunctionResultContent.properties.contentList.$ref - schemas.GenaiVertexV1beta1FunctionResultContent.properties.is_error.description - schemas.GenaiVertexV1beta1FunctionResultContent.properties.is_error.type - schemas.GenaiVertexV1beta1FunctionResultContent.properties.name.description - schemas.GenaiVertexV1beta1FunctionResultContent.properties.name.type - schemas.GenaiVertexV1beta1FunctionResultContent.properties.stringResult.type - schemas.GenaiVertexV1beta1FunctionResultContent.properties.structResult.$ref - schemas.GenaiVertexV1beta1FunctionResultContent.type - schemas.GenaiVertexV1beta1FunctionResultDelta.id - schemas.GenaiVertexV1beta1FunctionResultDelta.properties.contentList.$ref - schemas.GenaiVertexV1beta1FunctionResultDelta.properties.is_error.type - schemas.GenaiVertexV1beta1FunctionResultDelta.properties.name.type - schemas.GenaiVertexV1beta1FunctionResultDelta.properties.stringResult.type - schemas.GenaiVertexV1beta1FunctionResultDelta.properties.structResult.$ref - schemas.GenaiVertexV1beta1FunctionResultDelta.type - schemas.GenaiVertexV1beta1FunctionResultStep.description - schemas.GenaiVertexV1beta1FunctionResultStep.id - schemas.GenaiVertexV1beta1FunctionResultStep.properties.contentList.$ref - schemas.GenaiVertexV1beta1FunctionResultStep.properties.is_error.description - schemas.GenaiVertexV1beta1FunctionResultStep.properties.is_error.type - schemas.GenaiVertexV1beta1FunctionResultStep.properties.name.description - schemas.GenaiVertexV1beta1FunctionResultStep.properties.name.type - schemas.GenaiVertexV1beta1FunctionResultStep.properties.stringResult.type - schemas.GenaiVertexV1beta1FunctionResultStep.properties.structResult.$ref - schemas.GenaiVertexV1beta1FunctionResultStep.type - schemas.GenaiVertexV1beta1FunctionResultSubcontent.id - schemas.GenaiVertexV1beta1FunctionResultSubcontent.properties.image.$ref - schemas.GenaiVertexV1beta1FunctionResultSubcontent.properties.text.$ref - schemas.GenaiVertexV1beta1FunctionResultSubcontent.type - schemas.GenaiVertexV1beta1FunctionResultSubcontentList.id - schemas.GenaiVertexV1beta1FunctionResultSubcontentList.properties.contents.items.$ref - schemas.GenaiVertexV1beta1FunctionResultSubcontentList.properties.contents.type - schemas.GenaiVertexV1beta1FunctionResultSubcontentList.type - schemas.GenaiVertexV1beta1GenerationConfig.description - schemas.GenaiVertexV1beta1GenerationConfig.id - schemas.GenaiVertexV1beta1GenerationConfig.properties.image_config.$ref - schemas.GenaiVertexV1beta1GenerationConfig.properties.image_config.description - schemas.GenaiVertexV1beta1GenerationConfig.properties.max_output_tokens.description - schemas.GenaiVertexV1beta1GenerationConfig.properties.max_output_tokens.format - schemas.GenaiVertexV1beta1GenerationConfig.properties.max_output_tokens.type - schemas.GenaiVertexV1beta1GenerationConfig.properties.seed.description - schemas.GenaiVertexV1beta1GenerationConfig.properties.seed.format - schemas.GenaiVertexV1beta1GenerationConfig.properties.seed.type - schemas.GenaiVertexV1beta1GenerationConfig.properties.speech_config.description - schemas.GenaiVertexV1beta1GenerationConfig.properties.speech_config.items.$ref - schemas.GenaiVertexV1beta1GenerationConfig.properties.speech_config.type - schemas.GenaiVertexV1beta1GenerationConfig.properties.stop_sequences.description - schemas.GenaiVertexV1beta1GenerationConfig.properties.stop_sequences.items.type - schemas.GenaiVertexV1beta1GenerationConfig.properties.stop_sequences.type - schemas.GenaiVertexV1beta1GenerationConfig.properties.temperature.description - schemas.GenaiVertexV1beta1GenerationConfig.properties.temperature.format - schemas.GenaiVertexV1beta1GenerationConfig.properties.temperature.type - schemas.GenaiVertexV1beta1GenerationConfig.properties.thinking_level.description - schemas.GenaiVertexV1beta1GenerationConfig.properties.thinking_level.enum - schemas.GenaiVertexV1beta1GenerationConfig.properties.thinking_level.enumDescriptions - schemas.GenaiVertexV1beta1GenerationConfig.properties.thinking_level.type - schemas.GenaiVertexV1beta1GenerationConfig.properties.thinking_summaries.description - schemas.GenaiVertexV1beta1GenerationConfig.properties.thinking_summaries.enum - schemas.GenaiVertexV1beta1GenerationConfig.properties.thinking_summaries.enumDescriptions - schemas.GenaiVertexV1beta1GenerationConfig.properties.thinking_summaries.type - schemas.GenaiVertexV1beta1GenerationConfig.properties.toolChoiceConfig.$ref - schemas.GenaiVertexV1beta1GenerationConfig.properties.toolChoiceConfig.description - schemas.GenaiVertexV1beta1GenerationConfig.properties.toolChoiceMode.description - schemas.GenaiVertexV1beta1GenerationConfig.properties.toolChoiceMode.enum - schemas.GenaiVertexV1beta1GenerationConfig.properties.toolChoiceMode.enumDescriptions - schemas.GenaiVertexV1beta1GenerationConfig.properties.toolChoiceMode.type - schemas.GenaiVertexV1beta1GenerationConfig.properties.top_p.description - schemas.GenaiVertexV1beta1GenerationConfig.properties.top_p.format - schemas.GenaiVertexV1beta1GenerationConfig.properties.top_p.type - schemas.GenaiVertexV1beta1GenerationConfig.type - schemas.GenaiVertexV1beta1GoogleMaps.description - schemas.GenaiVertexV1beta1GoogleMaps.id - schemas.GenaiVertexV1beta1GoogleMaps.properties.enable_widget.description - schemas.GenaiVertexV1beta1GoogleMaps.properties.enable_widget.type - schemas.GenaiVertexV1beta1GoogleMaps.properties.latitude.description - schemas.GenaiVertexV1beta1GoogleMaps.properties.latitude.format - schemas.GenaiVertexV1beta1GoogleMaps.properties.latitude.type - schemas.GenaiVertexV1beta1GoogleMaps.properties.longitude.description - schemas.GenaiVertexV1beta1GoogleMaps.properties.longitude.format - schemas.GenaiVertexV1beta1GoogleMaps.properties.longitude.type - schemas.GenaiVertexV1beta1GoogleMaps.type - schemas.GenaiVertexV1beta1GoogleMapsCallContent.description - schemas.GenaiVertexV1beta1GoogleMapsCallContent.id - schemas.GenaiVertexV1beta1GoogleMapsCallContent.properties.arguments.$ref - schemas.GenaiVertexV1beta1GoogleMapsCallContent.properties.arguments.description - schemas.GenaiVertexV1beta1GoogleMapsCallContent.type - schemas.GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments.description - schemas.GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments.id - schemas.GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments.properties.queries.description - schemas.GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments.properties.queries.items.type - schemas.GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments.properties.queries.type - schemas.GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments.type - schemas.GenaiVertexV1beta1GoogleMapsCallDelta.id - schemas.GenaiVertexV1beta1GoogleMapsCallDelta.properties.arguments.$ref - schemas.GenaiVertexV1beta1GoogleMapsCallDelta.properties.arguments.description - schemas.GenaiVertexV1beta1GoogleMapsCallDelta.type - schemas.GenaiVertexV1beta1GoogleMapsCallStep.description - schemas.GenaiVertexV1beta1GoogleMapsCallStep.id - schemas.GenaiVertexV1beta1GoogleMapsCallStep.properties.arguments.$ref - schemas.GenaiVertexV1beta1GoogleMapsCallStep.properties.arguments.description - schemas.GenaiVertexV1beta1GoogleMapsCallStep.type - schemas.GenaiVertexV1beta1GoogleMapsCallStepGoogleMapsCallStepArguments.description - schemas.GenaiVertexV1beta1GoogleMapsCallStepGoogleMapsCallStepArguments.id - schemas.GenaiVertexV1beta1GoogleMapsCallStepGoogleMapsCallStepArguments.properties.queries.description - schemas.GenaiVertexV1beta1GoogleMapsCallStepGoogleMapsCallStepArguments.properties.queries.items.type - schemas.GenaiVertexV1beta1GoogleMapsCallStepGoogleMapsCallStepArguments.properties.queries.type - schemas.GenaiVertexV1beta1GoogleMapsCallStepGoogleMapsCallStepArguments.type - schemas.GenaiVertexV1beta1GoogleMapsResultContent.description - schemas.GenaiVertexV1beta1GoogleMapsResultContent.id - schemas.GenaiVertexV1beta1GoogleMapsResultContent.properties.result.description - schemas.GenaiVertexV1beta1GoogleMapsResultContent.properties.result.items.$ref - schemas.GenaiVertexV1beta1GoogleMapsResultContent.properties.result.type - schemas.GenaiVertexV1beta1GoogleMapsResultContent.type - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult.description - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult.id - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult.properties.places.description - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult.properties.places.items.$ref - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult.properties.places.type - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult.properties.widget_context_token.description - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult.properties.widget_context_token.type - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult.type - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces.id - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces.properties.name.description - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces.properties.name.type - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces.properties.place_id.description - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces.properties.place_id.type - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces.properties.review_snippets.description - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces.properties.review_snippets.items.$ref - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces.properties.review_snippets.type - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces.properties.url.description - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces.properties.url.type - schemas.GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces.type - schemas.GenaiVertexV1beta1GoogleMapsResultDelta.id - schemas.GenaiVertexV1beta1GoogleMapsResultDelta.properties.result.description - schemas.GenaiVertexV1beta1GoogleMapsResultDelta.properties.result.items.$ref - schemas.GenaiVertexV1beta1GoogleMapsResultDelta.properties.result.type - schemas.GenaiVertexV1beta1GoogleMapsResultDelta.type - schemas.GenaiVertexV1beta1GoogleMapsResultStep.description - schemas.GenaiVertexV1beta1GoogleMapsResultStep.id - schemas.GenaiVertexV1beta1GoogleMapsResultStep.properties.result.items.$ref - schemas.GenaiVertexV1beta1GoogleMapsResultStep.properties.result.type - schemas.GenaiVertexV1beta1GoogleMapsResultStep.type - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem.description - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem.id - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem.properties.places.items.$ref - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem.properties.places.type - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem.properties.widget_context_token.type - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem.type - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces.id - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces.properties.name.type - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces.properties.place_id.type - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces.properties.review_snippets.items.$ref - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces.properties.review_snippets.type - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces.properties.url.type - schemas.GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces.type - schemas.GenaiVertexV1beta1GoogleSearch.description - schemas.GenaiVertexV1beta1GoogleSearch.id - schemas.GenaiVertexV1beta1GoogleSearch.properties.search_types.description - schemas.GenaiVertexV1beta1GoogleSearch.properties.search_types.items.enum - schemas.GenaiVertexV1beta1GoogleSearch.properties.search_types.items.enumDescriptions - schemas.GenaiVertexV1beta1GoogleSearch.properties.search_types.items.type - schemas.GenaiVertexV1beta1GoogleSearch.properties.search_types.type - schemas.GenaiVertexV1beta1GoogleSearch.type - schemas.GenaiVertexV1beta1GoogleSearchCallContent.description - schemas.GenaiVertexV1beta1GoogleSearchCallContent.id - schemas.GenaiVertexV1beta1GoogleSearchCallContent.properties.arguments.$ref - schemas.GenaiVertexV1beta1GoogleSearchCallContent.properties.arguments.description - schemas.GenaiVertexV1beta1GoogleSearchCallContent.properties.search_type.description - schemas.GenaiVertexV1beta1GoogleSearchCallContent.properties.search_type.enum - schemas.GenaiVertexV1beta1GoogleSearchCallContent.properties.search_type.enumDescriptions - schemas.GenaiVertexV1beta1GoogleSearchCallContent.properties.search_type.type - schemas.GenaiVertexV1beta1GoogleSearchCallContent.type - schemas.GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments.description - schemas.GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments.id - schemas.GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments.properties.queries.description - schemas.GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments.properties.queries.items.type - schemas.GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments.properties.queries.type - schemas.GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments.type - schemas.GenaiVertexV1beta1GoogleSearchCallDelta.id - schemas.GenaiVertexV1beta1GoogleSearchCallDelta.properties.arguments.$ref - schemas.GenaiVertexV1beta1GoogleSearchCallDelta.type - schemas.GenaiVertexV1beta1GoogleSearchCallStep.description - schemas.GenaiVertexV1beta1GoogleSearchCallStep.id - schemas.GenaiVertexV1beta1GoogleSearchCallStep.properties.arguments.$ref - schemas.GenaiVertexV1beta1GoogleSearchCallStep.properties.arguments.description - schemas.GenaiVertexV1beta1GoogleSearchCallStep.properties.search_type.description - schemas.GenaiVertexV1beta1GoogleSearchCallStep.properties.search_type.enum - schemas.GenaiVertexV1beta1GoogleSearchCallStep.properties.search_type.enumDescriptions - schemas.GenaiVertexV1beta1GoogleSearchCallStep.properties.search_type.type - schemas.GenaiVertexV1beta1GoogleSearchCallStep.type - schemas.GenaiVertexV1beta1GoogleSearchCallStepGoogleSearchCallStepArguments.description - schemas.GenaiVertexV1beta1GoogleSearchCallStepGoogleSearchCallStepArguments.id - schemas.GenaiVertexV1beta1GoogleSearchCallStepGoogleSearchCallStepArguments.properties.queries.description - schemas.GenaiVertexV1beta1GoogleSearchCallStepGoogleSearchCallStepArguments.properties.queries.items.type - schemas.GenaiVertexV1beta1GoogleSearchCallStepGoogleSearchCallStepArguments.properties.queries.type - schemas.GenaiVertexV1beta1GoogleSearchCallStepGoogleSearchCallStepArguments.type - schemas.GenaiVertexV1beta1GoogleSearchResultContent.description - schemas.GenaiVertexV1beta1GoogleSearchResultContent.id - schemas.GenaiVertexV1beta1GoogleSearchResultContent.properties.is_error.description - schemas.GenaiVertexV1beta1GoogleSearchResultContent.properties.is_error.type - schemas.GenaiVertexV1beta1GoogleSearchResultContent.properties.result.description - schemas.GenaiVertexV1beta1GoogleSearchResultContent.properties.result.items.$ref - schemas.GenaiVertexV1beta1GoogleSearchResultContent.properties.result.type - schemas.GenaiVertexV1beta1GoogleSearchResultContent.type - schemas.GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult.description - schemas.GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult.id - schemas.GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult.properties.search_suggestions.description - schemas.GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult.properties.search_suggestions.type - schemas.GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult.type - schemas.GenaiVertexV1beta1GoogleSearchResultDelta.id - schemas.GenaiVertexV1beta1GoogleSearchResultDelta.properties.is_error.type - schemas.GenaiVertexV1beta1GoogleSearchResultDelta.properties.result.items.$ref - schemas.GenaiVertexV1beta1GoogleSearchResultDelta.properties.result.type - schemas.GenaiVertexV1beta1GoogleSearchResultDelta.type - schemas.GenaiVertexV1beta1GoogleSearchResultStep.description - schemas.GenaiVertexV1beta1GoogleSearchResultStep.id - schemas.GenaiVertexV1beta1GoogleSearchResultStep.properties.is_error.description - schemas.GenaiVertexV1beta1GoogleSearchResultStep.properties.is_error.type - schemas.GenaiVertexV1beta1GoogleSearchResultStep.properties.result.description - schemas.GenaiVertexV1beta1GoogleSearchResultStep.properties.result.items.$ref - schemas.GenaiVertexV1beta1GoogleSearchResultStep.properties.result.type - schemas.GenaiVertexV1beta1GoogleSearchResultStep.type - schemas.GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem.description - schemas.GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem.id - schemas.GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem.properties.search_suggestions.description - schemas.GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem.properties.search_suggestions.type - schemas.GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem.type - schemas.GenaiVertexV1beta1ImageConfig.description - schemas.GenaiVertexV1beta1ImageConfig.id - schemas.GenaiVertexV1beta1ImageConfig.properties.aspect_ratio.description - schemas.GenaiVertexV1beta1ImageConfig.properties.aspect_ratio.type - schemas.GenaiVertexV1beta1ImageConfig.properties.image_size.description - schemas.GenaiVertexV1beta1ImageConfig.properties.image_size.type - schemas.GenaiVertexV1beta1ImageConfig.type - schemas.GenaiVertexV1beta1ImageContent.description - schemas.GenaiVertexV1beta1ImageContent.id - schemas.GenaiVertexV1beta1ImageContent.properties.data.description - schemas.GenaiVertexV1beta1ImageContent.properties.data.format - schemas.GenaiVertexV1beta1ImageContent.properties.data.type - schemas.GenaiVertexV1beta1ImageContent.properties.mime_type.description - schemas.GenaiVertexV1beta1ImageContent.properties.mime_type.enum - schemas.GenaiVertexV1beta1ImageContent.properties.mime_type.enumDescriptions - schemas.GenaiVertexV1beta1ImageContent.properties.mime_type.type - schemas.GenaiVertexV1beta1ImageContent.properties.resolution.description - schemas.GenaiVertexV1beta1ImageContent.properties.resolution.enum - schemas.GenaiVertexV1beta1ImageContent.properties.resolution.enumDescriptions - schemas.GenaiVertexV1beta1ImageContent.properties.resolution.type - schemas.GenaiVertexV1beta1ImageContent.properties.uri.description - schemas.GenaiVertexV1beta1ImageContent.properties.uri.type - schemas.GenaiVertexV1beta1ImageContent.type - schemas.GenaiVertexV1beta1ImageDelta.id - schemas.GenaiVertexV1beta1ImageDelta.properties.data.format - schemas.GenaiVertexV1beta1ImageDelta.properties.data.type - schemas.GenaiVertexV1beta1ImageDelta.properties.mime_type.enum - schemas.GenaiVertexV1beta1ImageDelta.properties.mime_type.enumDescriptions - schemas.GenaiVertexV1beta1ImageDelta.properties.mime_type.type - schemas.GenaiVertexV1beta1ImageDelta.properties.resolution.description - schemas.GenaiVertexV1beta1ImageDelta.properties.resolution.enum - schemas.GenaiVertexV1beta1ImageDelta.properties.resolution.enumDescriptions - schemas.GenaiVertexV1beta1ImageDelta.properties.resolution.type - schemas.GenaiVertexV1beta1ImageDelta.properties.uri.type - schemas.GenaiVertexV1beta1ImageDelta.type - schemas.GenaiVertexV1beta1ImageResponseFormat.description - schemas.GenaiVertexV1beta1ImageResponseFormat.id - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.aspect_ratio.description - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.aspect_ratio.enum - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.aspect_ratio.enumDescriptions - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.aspect_ratio.type - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.delivery.description - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.delivery.enum - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.delivery.enumDescriptions - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.delivery.type - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.image_size.description - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.image_size.enum - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.image_size.enumDescriptions - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.image_size.type - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.mime_type.description - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.mime_type.enum - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.mime_type.enumDescriptions - schemas.GenaiVertexV1beta1ImageResponseFormat.properties.mime_type.type - schemas.GenaiVertexV1beta1ImageResponseFormat.type - schemas.GenaiVertexV1beta1Interaction.description - schemas.GenaiVertexV1beta1Interaction.id - schemas.GenaiVertexV1beta1Interaction.properties.agentInteraction.$ref - schemas.GenaiVertexV1beta1Interaction.properties.agentInteraction.description - schemas.GenaiVertexV1beta1Interaction.properties.content.$ref - schemas.GenaiVertexV1beta1Interaction.properties.content.description - schemas.GenaiVertexV1beta1Interaction.properties.contentList.$ref - schemas.GenaiVertexV1beta1Interaction.properties.contentList.deprecated - schemas.GenaiVertexV1beta1Interaction.properties.contentList.description - schemas.GenaiVertexV1beta1Interaction.properties.created.description - schemas.GenaiVertexV1beta1Interaction.properties.created.readOnly - schemas.GenaiVertexV1beta1Interaction.properties.created.type - schemas.GenaiVertexV1beta1Interaction.properties.id.description - schemas.GenaiVertexV1beta1Interaction.properties.id.readOnly - schemas.GenaiVertexV1beta1Interaction.properties.id.type - schemas.GenaiVertexV1beta1Interaction.properties.modelInteraction.$ref - schemas.GenaiVertexV1beta1Interaction.properties.modelInteraction.description - schemas.GenaiVertexV1beta1Interaction.properties.outputs.deprecated - schemas.GenaiVertexV1beta1Interaction.properties.outputs.description - schemas.GenaiVertexV1beta1Interaction.properties.outputs.items.$ref - schemas.GenaiVertexV1beta1Interaction.properties.outputs.readOnly - schemas.GenaiVertexV1beta1Interaction.properties.outputs.type - schemas.GenaiVertexV1beta1Interaction.properties.previous_interaction_id.description - schemas.GenaiVertexV1beta1Interaction.properties.previous_interaction_id.type - schemas.GenaiVertexV1beta1Interaction.properties.responseFormatList.$ref - schemas.GenaiVertexV1beta1Interaction.properties.responseFormatSingleton.$ref - schemas.GenaiVertexV1beta1Interaction.properties.response_format.$ref - schemas.GenaiVertexV1beta1Interaction.properties.response_format.deprecated - schemas.GenaiVertexV1beta1Interaction.properties.response_format.description - schemas.GenaiVertexV1beta1Interaction.properties.response_mime_type.description - schemas.GenaiVertexV1beta1Interaction.properties.response_mime_type.type - schemas.GenaiVertexV1beta1Interaction.properties.response_modalities.description - schemas.GenaiVertexV1beta1Interaction.properties.response_modalities.items.enum - schemas.GenaiVertexV1beta1Interaction.properties.response_modalities.items.enumDescriptions - schemas.GenaiVertexV1beta1Interaction.properties.response_modalities.items.type - schemas.GenaiVertexV1beta1Interaction.properties.response_modalities.type - schemas.GenaiVertexV1beta1Interaction.properties.role.deprecated - schemas.GenaiVertexV1beta1Interaction.properties.role.description - schemas.GenaiVertexV1beta1Interaction.properties.role.readOnly - schemas.GenaiVertexV1beta1Interaction.properties.role.type - schemas.GenaiVertexV1beta1Interaction.properties.status.description - schemas.GenaiVertexV1beta1Interaction.properties.status.enum - schemas.GenaiVertexV1beta1Interaction.properties.status.enumDescriptions - schemas.GenaiVertexV1beta1Interaction.properties.status.readOnly - schemas.GenaiVertexV1beta1Interaction.properties.status.type - schemas.GenaiVertexV1beta1Interaction.properties.stepList.$ref - schemas.GenaiVertexV1beta1Interaction.properties.stepList.description - schemas.GenaiVertexV1beta1Interaction.properties.steps.description - schemas.GenaiVertexV1beta1Interaction.properties.steps.items.$ref - schemas.GenaiVertexV1beta1Interaction.properties.steps.readOnly - schemas.GenaiVertexV1beta1Interaction.properties.steps.type - schemas.GenaiVertexV1beta1Interaction.properties.stringContent.description - schemas.GenaiVertexV1beta1Interaction.properties.stringContent.type - schemas.GenaiVertexV1beta1Interaction.properties.system_instruction.description - schemas.GenaiVertexV1beta1Interaction.properties.system_instruction.type - schemas.GenaiVertexV1beta1Interaction.properties.tools.description - schemas.GenaiVertexV1beta1Interaction.properties.tools.items.$ref - schemas.GenaiVertexV1beta1Interaction.properties.tools.type - schemas.GenaiVertexV1beta1Interaction.properties.turnList.$ref - schemas.GenaiVertexV1beta1Interaction.properties.turnList.deprecated - schemas.GenaiVertexV1beta1Interaction.properties.turnList.description - schemas.GenaiVertexV1beta1Interaction.properties.updated.description - schemas.GenaiVertexV1beta1Interaction.properties.updated.readOnly - schemas.GenaiVertexV1beta1Interaction.properties.updated.type - schemas.GenaiVertexV1beta1Interaction.properties.usage.$ref - schemas.GenaiVertexV1beta1Interaction.properties.usage.description - schemas.GenaiVertexV1beta1Interaction.properties.usage.readOnly - schemas.GenaiVertexV1beta1Interaction.type - schemas.GenaiVertexV1beta1InteractionCompleteEvent.deprecated - schemas.GenaiVertexV1beta1InteractionCompleteEvent.id - schemas.GenaiVertexV1beta1InteractionCompleteEvent.properties.interaction.$ref - schemas.GenaiVertexV1beta1InteractionCompleteEvent.properties.interaction.description - schemas.GenaiVertexV1beta1InteractionCompleteEvent.type - schemas.GenaiVertexV1beta1InteractionCompletedSseEvent.id - schemas.GenaiVertexV1beta1InteractionCompletedSseEvent.properties.interaction.$ref - schemas.GenaiVertexV1beta1InteractionCompletedSseEvent.properties.interaction.description - schemas.GenaiVertexV1beta1InteractionCompletedSseEvent.type - schemas.GenaiVertexV1beta1InteractionCreatedSseEvent.id - schemas.GenaiVertexV1beta1InteractionCreatedSseEvent.properties.interaction.$ref - schemas.GenaiVertexV1beta1InteractionCreatedSseEvent.type - schemas.GenaiVertexV1beta1InteractionStartEvent.deprecated - schemas.GenaiVertexV1beta1InteractionStartEvent.id - schemas.GenaiVertexV1beta1InteractionStartEvent.properties.interaction.$ref - schemas.GenaiVertexV1beta1InteractionStartEvent.type - schemas.GenaiVertexV1beta1InteractionStatusUpdate.id - schemas.GenaiVertexV1beta1InteractionStatusUpdate.properties.interaction_id.type - schemas.GenaiVertexV1beta1InteractionStatusUpdate.properties.status.enum - schemas.GenaiVertexV1beta1InteractionStatusUpdate.properties.status.enumDescriptions - schemas.GenaiVertexV1beta1InteractionStatusUpdate.properties.status.type - schemas.GenaiVertexV1beta1InteractionStatusUpdate.type - schemas.GenaiVertexV1beta1InteractionStreamingEvent.id - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.contentDelta.$ref - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.contentDelta.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.contentStart.$ref - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.contentStart.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.contentStop.$ref - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.contentStop.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.errorEvent.$ref - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.errorEvent.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.event_id.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.event_id.type - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.interactionCompleteEvent.$ref - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.interactionCompleteEvent.deprecated - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.interactionCompleteEvent.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.interactionCompletedEvent.$ref - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.interactionCompletedEvent.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.interactionCreatedEvent.$ref - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.interactionCreatedEvent.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.interactionStartEvent.$ref - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.interactionStartEvent.deprecated - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.interactionStartEvent.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.interactionStatusUpdate.$ref - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.interactionStatusUpdate.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.stepDelta.$ref - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.stepDelta.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.stepStart.$ref - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.stepStart.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.stepStop.$ref - schemas.GenaiVertexV1beta1InteractionStreamingEvent.properties.stepStop.description - schemas.GenaiVertexV1beta1InteractionStreamingEvent.type - schemas.GenaiVertexV1beta1InteractionUsage.description - schemas.GenaiVertexV1beta1InteractionUsage.id - schemas.GenaiVertexV1beta1InteractionUsage.properties.cached_tokens_by_modality.description - schemas.GenaiVertexV1beta1InteractionUsage.properties.cached_tokens_by_modality.items.$ref - schemas.GenaiVertexV1beta1InteractionUsage.properties.cached_tokens_by_modality.type - schemas.GenaiVertexV1beta1InteractionUsage.properties.grounding_tool_count.description - schemas.GenaiVertexV1beta1InteractionUsage.properties.grounding_tool_count.items.$ref - schemas.GenaiVertexV1beta1InteractionUsage.properties.grounding_tool_count.type - schemas.GenaiVertexV1beta1InteractionUsage.properties.input_tokens_by_modality.description - schemas.GenaiVertexV1beta1InteractionUsage.properties.input_tokens_by_modality.items.$ref - schemas.GenaiVertexV1beta1InteractionUsage.properties.input_tokens_by_modality.type - schemas.GenaiVertexV1beta1InteractionUsage.properties.output_tokens_by_modality.description - schemas.GenaiVertexV1beta1InteractionUsage.properties.output_tokens_by_modality.items.$ref - schemas.GenaiVertexV1beta1InteractionUsage.properties.output_tokens_by_modality.type - schemas.GenaiVertexV1beta1InteractionUsage.properties.tool_use_tokens_by_modality.description - schemas.GenaiVertexV1beta1InteractionUsage.properties.tool_use_tokens_by_modality.items.$ref - schemas.GenaiVertexV1beta1InteractionUsage.properties.tool_use_tokens_by_modality.type - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_cached_tokens.description - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_cached_tokens.format - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_cached_tokens.type - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_input_tokens.description - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_input_tokens.format - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_input_tokens.type - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_output_tokens.description - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_output_tokens.format - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_output_tokens.type - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_thought_tokens.description - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_thought_tokens.format - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_thought_tokens.type - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_tokens.description - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_tokens.format - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_tokens.type - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_tool_use_tokens.description - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_tool_use_tokens.format - schemas.GenaiVertexV1beta1InteractionUsage.properties.total_tool_use_tokens.type - schemas.GenaiVertexV1beta1InteractionUsage.type - schemas.GenaiVertexV1beta1InteractionUsageGroundingToolCount.description - schemas.GenaiVertexV1beta1InteractionUsageGroundingToolCount.id - schemas.GenaiVertexV1beta1InteractionUsageGroundingToolCount.properties.count.description - schemas.GenaiVertexV1beta1InteractionUsageGroundingToolCount.properties.count.format - schemas.GenaiVertexV1beta1InteractionUsageGroundingToolCount.properties.count.type - schemas.GenaiVertexV1beta1InteractionUsageGroundingToolCount.properties.type.description - schemas.GenaiVertexV1beta1InteractionUsageGroundingToolCount.properties.type.enum - schemas.GenaiVertexV1beta1InteractionUsageGroundingToolCount.properties.type.enumDescriptions - schemas.GenaiVertexV1beta1InteractionUsageGroundingToolCount.properties.type.type - schemas.GenaiVertexV1beta1InteractionUsageGroundingToolCount.type - schemas.GenaiVertexV1beta1InteractionUsageModalityTokens.description - schemas.GenaiVertexV1beta1InteractionUsageModalityTokens.id - schemas.GenaiVertexV1beta1InteractionUsageModalityTokens.properties.modality.description - schemas.GenaiVertexV1beta1InteractionUsageModalityTokens.properties.modality.enum - schemas.GenaiVertexV1beta1InteractionUsageModalityTokens.properties.modality.enumDescriptions - schemas.GenaiVertexV1beta1InteractionUsageModalityTokens.properties.modality.type - schemas.GenaiVertexV1beta1InteractionUsageModalityTokens.properties.tokens.description - schemas.GenaiVertexV1beta1InteractionUsageModalityTokens.properties.tokens.format - schemas.GenaiVertexV1beta1InteractionUsageModalityTokens.properties.tokens.type - schemas.GenaiVertexV1beta1InteractionUsageModalityTokens.type - schemas.GenaiVertexV1beta1McpServer.description - schemas.GenaiVertexV1beta1McpServer.id - schemas.GenaiVertexV1beta1McpServer.properties.allowed_tools.description - schemas.GenaiVertexV1beta1McpServer.properties.allowed_tools.items.$ref - schemas.GenaiVertexV1beta1McpServer.properties.allowed_tools.type - schemas.GenaiVertexV1beta1McpServer.properties.headers.additionalProperties.type - schemas.GenaiVertexV1beta1McpServer.properties.headers.description - schemas.GenaiVertexV1beta1McpServer.properties.headers.type - schemas.GenaiVertexV1beta1McpServer.properties.name.description - schemas.GenaiVertexV1beta1McpServer.properties.name.type - schemas.GenaiVertexV1beta1McpServer.properties.url.description - schemas.GenaiVertexV1beta1McpServer.properties.url.type - schemas.GenaiVertexV1beta1McpServer.type - schemas.GenaiVertexV1beta1McpServerToolCallContent.description - schemas.GenaiVertexV1beta1McpServerToolCallContent.id - schemas.GenaiVertexV1beta1McpServerToolCallContent.properties.arguments.$ref - schemas.GenaiVertexV1beta1McpServerToolCallContent.properties.arguments.description - schemas.GenaiVertexV1beta1McpServerToolCallContent.properties.name.description - schemas.GenaiVertexV1beta1McpServerToolCallContent.properties.name.type - schemas.GenaiVertexV1beta1McpServerToolCallContent.properties.server_name.description - schemas.GenaiVertexV1beta1McpServerToolCallContent.properties.server_name.type - schemas.GenaiVertexV1beta1McpServerToolCallContent.type - schemas.GenaiVertexV1beta1McpServerToolCallDelta.id - schemas.GenaiVertexV1beta1McpServerToolCallDelta.properties.arguments.$ref - schemas.GenaiVertexV1beta1McpServerToolCallDelta.properties.name.type - schemas.GenaiVertexV1beta1McpServerToolCallDelta.properties.server_name.type - schemas.GenaiVertexV1beta1McpServerToolCallDelta.type - schemas.GenaiVertexV1beta1McpServerToolCallStep.description - schemas.GenaiVertexV1beta1McpServerToolCallStep.id - schemas.GenaiVertexV1beta1McpServerToolCallStep.properties.arguments.$ref - schemas.GenaiVertexV1beta1McpServerToolCallStep.properties.arguments.description - schemas.GenaiVertexV1beta1McpServerToolCallStep.properties.name.description - schemas.GenaiVertexV1beta1McpServerToolCallStep.properties.name.type - schemas.GenaiVertexV1beta1McpServerToolCallStep.properties.server_name.description - schemas.GenaiVertexV1beta1McpServerToolCallStep.properties.server_name.type - schemas.GenaiVertexV1beta1McpServerToolCallStep.type - schemas.GenaiVertexV1beta1McpServerToolResultContent.description - schemas.GenaiVertexV1beta1McpServerToolResultContent.id - schemas.GenaiVertexV1beta1McpServerToolResultContent.properties.contentList.$ref - schemas.GenaiVertexV1beta1McpServerToolResultContent.properties.name.description - schemas.GenaiVertexV1beta1McpServerToolResultContent.properties.name.type - schemas.GenaiVertexV1beta1McpServerToolResultContent.properties.server_name.description - schemas.GenaiVertexV1beta1McpServerToolResultContent.properties.server_name.type - schemas.GenaiVertexV1beta1McpServerToolResultContent.properties.stringResult.type - schemas.GenaiVertexV1beta1McpServerToolResultContent.properties.structResult.$ref - schemas.GenaiVertexV1beta1McpServerToolResultContent.type - schemas.GenaiVertexV1beta1McpServerToolResultDelta.id - schemas.GenaiVertexV1beta1McpServerToolResultDelta.properties.contentList.$ref - schemas.GenaiVertexV1beta1McpServerToolResultDelta.properties.name.type - schemas.GenaiVertexV1beta1McpServerToolResultDelta.properties.server_name.type - schemas.GenaiVertexV1beta1McpServerToolResultDelta.properties.stringResult.type - schemas.GenaiVertexV1beta1McpServerToolResultDelta.properties.structResult.$ref - schemas.GenaiVertexV1beta1McpServerToolResultDelta.type - schemas.GenaiVertexV1beta1McpServerToolResultStep.description - schemas.GenaiVertexV1beta1McpServerToolResultStep.id - schemas.GenaiVertexV1beta1McpServerToolResultStep.properties.contentList.$ref - schemas.GenaiVertexV1beta1McpServerToolResultStep.properties.name.description - schemas.GenaiVertexV1beta1McpServerToolResultStep.properties.name.type - schemas.GenaiVertexV1beta1McpServerToolResultStep.properties.server_name.description - schemas.GenaiVertexV1beta1McpServerToolResultStep.properties.server_name.type - schemas.GenaiVertexV1beta1McpServerToolResultStep.properties.stringResult.type - schemas.GenaiVertexV1beta1McpServerToolResultStep.properties.structResult.$ref - schemas.GenaiVertexV1beta1McpServerToolResultStep.type - schemas.GenaiVertexV1beta1ModelInteraction.description - schemas.GenaiVertexV1beta1ModelInteraction.id - schemas.GenaiVertexV1beta1ModelInteraction.properties.generation_config.$ref - schemas.GenaiVertexV1beta1ModelInteraction.properties.generation_config.description - schemas.GenaiVertexV1beta1ModelInteraction.properties.model.description - schemas.GenaiVertexV1beta1ModelInteraction.properties.model.type - schemas.GenaiVertexV1beta1ModelInteraction.type - schemas.GenaiVertexV1beta1ModelOutputStep.description - schemas.GenaiVertexV1beta1ModelOutputStep.id - schemas.GenaiVertexV1beta1ModelOutputStep.properties.content.items.$ref - schemas.GenaiVertexV1beta1ModelOutputStep.properties.content.type - schemas.GenaiVertexV1beta1ModelOutputStep.type - schemas.GenaiVertexV1beta1PlaceCitation.description - schemas.GenaiVertexV1beta1PlaceCitation.id - schemas.GenaiVertexV1beta1PlaceCitation.properties.name.description - schemas.GenaiVertexV1beta1PlaceCitation.properties.name.type - schemas.GenaiVertexV1beta1PlaceCitation.properties.place_id.description - schemas.GenaiVertexV1beta1PlaceCitation.properties.place_id.type - schemas.GenaiVertexV1beta1PlaceCitation.properties.review_snippets.description - schemas.GenaiVertexV1beta1PlaceCitation.properties.review_snippets.items.$ref - schemas.GenaiVertexV1beta1PlaceCitation.properties.review_snippets.type - schemas.GenaiVertexV1beta1PlaceCitation.properties.url.description - schemas.GenaiVertexV1beta1PlaceCitation.properties.url.type - schemas.GenaiVertexV1beta1PlaceCitation.type - schemas.GenaiVertexV1beta1ResponseFormat.id - schemas.GenaiVertexV1beta1ResponseFormat.properties.audio.$ref - schemas.GenaiVertexV1beta1ResponseFormat.properties.image.$ref - schemas.GenaiVertexV1beta1ResponseFormat.properties.structValue.$ref - schemas.GenaiVertexV1beta1ResponseFormat.properties.structValue.description - schemas.GenaiVertexV1beta1ResponseFormat.properties.text.$ref - schemas.GenaiVertexV1beta1ResponseFormat.properties.video.$ref - schemas.GenaiVertexV1beta1ResponseFormat.type - schemas.GenaiVertexV1beta1ResponseFormatList.id - schemas.GenaiVertexV1beta1ResponseFormatList.properties.response_formats.items.$ref - schemas.GenaiVertexV1beta1ResponseFormatList.properties.response_formats.type - schemas.GenaiVertexV1beta1ResponseFormatList.type - schemas.GenaiVertexV1beta1Retrieval.description - schemas.GenaiVertexV1beta1Retrieval.id - schemas.GenaiVertexV1beta1Retrieval.properties.retrieval_types.description - schemas.GenaiVertexV1beta1Retrieval.properties.retrieval_types.items.enum - schemas.GenaiVertexV1beta1Retrieval.properties.retrieval_types.items.enumDescriptions - schemas.GenaiVertexV1beta1Retrieval.properties.retrieval_types.items.type - schemas.GenaiVertexV1beta1Retrieval.properties.retrieval_types.type - schemas.GenaiVertexV1beta1Retrieval.properties.vertex_ai_search_config.$ref - schemas.GenaiVertexV1beta1Retrieval.properties.vertex_ai_search_config.description - schemas.GenaiVertexV1beta1Retrieval.type - schemas.GenaiVertexV1beta1ReviewSnippet.description - schemas.GenaiVertexV1beta1ReviewSnippet.id - schemas.GenaiVertexV1beta1ReviewSnippet.properties.review_id.description - schemas.GenaiVertexV1beta1ReviewSnippet.properties.review_id.type - schemas.GenaiVertexV1beta1ReviewSnippet.properties.title.description - schemas.GenaiVertexV1beta1ReviewSnippet.properties.title.type - schemas.GenaiVertexV1beta1ReviewSnippet.properties.url.description - schemas.GenaiVertexV1beta1ReviewSnippet.properties.url.type - schemas.GenaiVertexV1beta1ReviewSnippet.type - schemas.GenaiVertexV1beta1SpeechConfig.description - schemas.GenaiVertexV1beta1SpeechConfig.id - schemas.GenaiVertexV1beta1SpeechConfig.properties.language.description - schemas.GenaiVertexV1beta1SpeechConfig.properties.language.type - schemas.GenaiVertexV1beta1SpeechConfig.properties.speaker.description - schemas.GenaiVertexV1beta1SpeechConfig.properties.speaker.type - schemas.GenaiVertexV1beta1SpeechConfig.properties.voice.description - schemas.GenaiVertexV1beta1SpeechConfig.properties.voice.type - schemas.GenaiVertexV1beta1SpeechConfig.type - schemas.GenaiVertexV1beta1Step.description - schemas.GenaiVertexV1beta1Step.id - schemas.GenaiVertexV1beta1Step.properties.modelOutput.$ref - schemas.GenaiVertexV1beta1Step.properties.thought.$ref - schemas.GenaiVertexV1beta1Step.properties.toolCall.$ref - schemas.GenaiVertexV1beta1Step.properties.toolResult.$ref - schemas.GenaiVertexV1beta1Step.properties.userInput.$ref - schemas.GenaiVertexV1beta1Step.type - schemas.GenaiVertexV1beta1StepDelta.id - schemas.GenaiVertexV1beta1StepDelta.properties.delta.$ref - schemas.GenaiVertexV1beta1StepDelta.properties.index.format - schemas.GenaiVertexV1beta1StepDelta.properties.index.type - schemas.GenaiVertexV1beta1StepDelta.type - schemas.GenaiVertexV1beta1StepDeltaData.id - schemas.GenaiVertexV1beta1StepDeltaData.properties.argumentsDelta.$ref - schemas.GenaiVertexV1beta1StepDeltaData.properties.audio.$ref - schemas.GenaiVertexV1beta1StepDeltaData.properties.document.$ref - schemas.GenaiVertexV1beta1StepDeltaData.properties.image.$ref - schemas.GenaiVertexV1beta1StepDeltaData.properties.text.$ref - schemas.GenaiVertexV1beta1StepDeltaData.properties.textAnnotationDelta.$ref - schemas.GenaiVertexV1beta1StepDeltaData.properties.thoughtSignature.$ref - schemas.GenaiVertexV1beta1StepDeltaData.properties.thoughtSummary.$ref - schemas.GenaiVertexV1beta1StepDeltaData.properties.video.$ref - schemas.GenaiVertexV1beta1StepDeltaData.type - schemas.GenaiVertexV1beta1StepList.description - schemas.GenaiVertexV1beta1StepList.id - schemas.GenaiVertexV1beta1StepList.properties.steps.description - schemas.GenaiVertexV1beta1StepList.properties.steps.items.$ref - schemas.GenaiVertexV1beta1StepList.properties.steps.type - schemas.GenaiVertexV1beta1StepList.type - schemas.GenaiVertexV1beta1StepStart.id - schemas.GenaiVertexV1beta1StepStart.properties.index.format - schemas.GenaiVertexV1beta1StepStart.properties.index.type - schemas.GenaiVertexV1beta1StepStart.properties.step.$ref - schemas.GenaiVertexV1beta1StepStart.type - schemas.GenaiVertexV1beta1StepStop.id - schemas.GenaiVertexV1beta1StepStop.properties.index.format - schemas.GenaiVertexV1beta1StepStop.properties.index.type - schemas.GenaiVertexV1beta1StepStop.type - schemas.GenaiVertexV1beta1TextAnnotationDelta.id - schemas.GenaiVertexV1beta1TextAnnotationDelta.properties.annotations.description - schemas.GenaiVertexV1beta1TextAnnotationDelta.properties.annotations.items.$ref - schemas.GenaiVertexV1beta1TextAnnotationDelta.properties.annotations.type - schemas.GenaiVertexV1beta1TextAnnotationDelta.type - schemas.GenaiVertexV1beta1TextContent.description - schemas.GenaiVertexV1beta1TextContent.id - schemas.GenaiVertexV1beta1TextContent.properties.annotations.description - schemas.GenaiVertexV1beta1TextContent.properties.annotations.items.$ref - schemas.GenaiVertexV1beta1TextContent.properties.annotations.type - schemas.GenaiVertexV1beta1TextContent.properties.text.description - schemas.GenaiVertexV1beta1TextContent.properties.text.type - schemas.GenaiVertexV1beta1TextContent.type - schemas.GenaiVertexV1beta1TextContentAnnotation.description - schemas.GenaiVertexV1beta1TextContentAnnotation.id - schemas.GenaiVertexV1beta1TextContentAnnotation.properties.end_index.description - schemas.GenaiVertexV1beta1TextContentAnnotation.properties.end_index.format - schemas.GenaiVertexV1beta1TextContentAnnotation.properties.end_index.type - schemas.GenaiVertexV1beta1TextContentAnnotation.properties.file_citation.$ref - schemas.GenaiVertexV1beta1TextContentAnnotation.properties.file_citation.description - schemas.GenaiVertexV1beta1TextContentAnnotation.properties.place_citation.$ref - schemas.GenaiVertexV1beta1TextContentAnnotation.properties.place_citation.description - schemas.GenaiVertexV1beta1TextContentAnnotation.properties.start_index.description - schemas.GenaiVertexV1beta1TextContentAnnotation.properties.start_index.format - schemas.GenaiVertexV1beta1TextContentAnnotation.properties.start_index.type - schemas.GenaiVertexV1beta1TextContentAnnotation.properties.url_citation.$ref - schemas.GenaiVertexV1beta1TextContentAnnotation.properties.url_citation.description - schemas.GenaiVertexV1beta1TextContentAnnotation.type - schemas.GenaiVertexV1beta1TextDelta.id - schemas.GenaiVertexV1beta1TextDelta.properties.text.type - schemas.GenaiVertexV1beta1TextDelta.type - schemas.GenaiVertexV1beta1TextResponseFormat.description - schemas.GenaiVertexV1beta1TextResponseFormat.id - schemas.GenaiVertexV1beta1TextResponseFormat.properties.mime_type.description - schemas.GenaiVertexV1beta1TextResponseFormat.properties.mime_type.enum - schemas.GenaiVertexV1beta1TextResponseFormat.properties.mime_type.enumDescriptions - schemas.GenaiVertexV1beta1TextResponseFormat.properties.mime_type.type - schemas.GenaiVertexV1beta1TextResponseFormat.properties.schema.$ref - schemas.GenaiVertexV1beta1TextResponseFormat.properties.schema.description - schemas.GenaiVertexV1beta1TextResponseFormat.type - schemas.GenaiVertexV1beta1ThoughtContent.description - schemas.GenaiVertexV1beta1ThoughtContent.id - schemas.GenaiVertexV1beta1ThoughtContent.properties.signature.description - schemas.GenaiVertexV1beta1ThoughtContent.properties.signature.format - schemas.GenaiVertexV1beta1ThoughtContent.properties.signature.type - schemas.GenaiVertexV1beta1ThoughtContent.properties.summary.description - schemas.GenaiVertexV1beta1ThoughtContent.properties.summary.items.$ref - schemas.GenaiVertexV1beta1ThoughtContent.properties.summary.type - schemas.GenaiVertexV1beta1ThoughtContent.type - schemas.GenaiVertexV1beta1ThoughtSignatureDelta.id - schemas.GenaiVertexV1beta1ThoughtSignatureDelta.properties.signature.description - schemas.GenaiVertexV1beta1ThoughtSignatureDelta.properties.signature.format - schemas.GenaiVertexV1beta1ThoughtSignatureDelta.properties.signature.type - schemas.GenaiVertexV1beta1ThoughtSignatureDelta.type - schemas.GenaiVertexV1beta1ThoughtStep.description - schemas.GenaiVertexV1beta1ThoughtStep.id - schemas.GenaiVertexV1beta1ThoughtStep.properties.signature.description - schemas.GenaiVertexV1beta1ThoughtStep.properties.signature.format - schemas.GenaiVertexV1beta1ThoughtStep.properties.signature.type - schemas.GenaiVertexV1beta1ThoughtStep.properties.summary.description - schemas.GenaiVertexV1beta1ThoughtStep.properties.summary.items.$ref - schemas.GenaiVertexV1beta1ThoughtStep.properties.summary.type - schemas.GenaiVertexV1beta1ThoughtStep.type - schemas.GenaiVertexV1beta1ThoughtSummaryContent.id - schemas.GenaiVertexV1beta1ThoughtSummaryContent.properties.image.$ref - schemas.GenaiVertexV1beta1ThoughtSummaryContent.properties.text.$ref - schemas.GenaiVertexV1beta1ThoughtSummaryContent.type - schemas.GenaiVertexV1beta1ThoughtSummaryDelta.id - schemas.GenaiVertexV1beta1ThoughtSummaryDelta.properties.content.$ref - schemas.GenaiVertexV1beta1ThoughtSummaryDelta.properties.content.description - schemas.GenaiVertexV1beta1ThoughtSummaryDelta.type - schemas.GenaiVertexV1beta1Tool.description - schemas.GenaiVertexV1beta1Tool.id - schemas.GenaiVertexV1beta1Tool.properties.codeExecution.$ref - schemas.GenaiVertexV1beta1Tool.properties.codeExecution.description - schemas.GenaiVertexV1beta1Tool.properties.computerUse.$ref - schemas.GenaiVertexV1beta1Tool.properties.computerUse.description - schemas.GenaiVertexV1beta1Tool.properties.fileSearch.$ref - schemas.GenaiVertexV1beta1Tool.properties.fileSearch.description - schemas.GenaiVertexV1beta1Tool.properties.function.$ref - schemas.GenaiVertexV1beta1Tool.properties.function.description - schemas.GenaiVertexV1beta1Tool.properties.googleMaps.$ref - schemas.GenaiVertexV1beta1Tool.properties.googleMaps.description - schemas.GenaiVertexV1beta1Tool.properties.googleSearch.$ref - schemas.GenaiVertexV1beta1Tool.properties.googleSearch.description - schemas.GenaiVertexV1beta1Tool.properties.mcpServer.$ref - schemas.GenaiVertexV1beta1Tool.properties.mcpServer.description - schemas.GenaiVertexV1beta1Tool.properties.retrieval.$ref - schemas.GenaiVertexV1beta1Tool.properties.retrieval.description - schemas.GenaiVertexV1beta1Tool.properties.urlContext.$ref - schemas.GenaiVertexV1beta1Tool.properties.urlContext.description - schemas.GenaiVertexV1beta1Tool.type - schemas.GenaiVertexV1beta1ToolCallContent.description - schemas.GenaiVertexV1beta1ToolCallContent.id - schemas.GenaiVertexV1beta1ToolCallContent.properties.codeExecutionCall.$ref - schemas.GenaiVertexV1beta1ToolCallContent.properties.fileSearchCall.$ref - schemas.GenaiVertexV1beta1ToolCallContent.properties.functionCall.$ref - schemas.GenaiVertexV1beta1ToolCallContent.properties.googleMapsCall.$ref - schemas.GenaiVertexV1beta1ToolCallContent.properties.googleSearchCall.$ref - schemas.GenaiVertexV1beta1ToolCallContent.properties.id.description - schemas.GenaiVertexV1beta1ToolCallContent.properties.id.type - schemas.GenaiVertexV1beta1ToolCallContent.properties.mcpServerToolCall.$ref - schemas.GenaiVertexV1beta1ToolCallContent.properties.signature.description - schemas.GenaiVertexV1beta1ToolCallContent.properties.signature.format - schemas.GenaiVertexV1beta1ToolCallContent.properties.signature.type - schemas.GenaiVertexV1beta1ToolCallContent.properties.urlContextCall.$ref - schemas.GenaiVertexV1beta1ToolCallContent.type - schemas.GenaiVertexV1beta1ToolCallDelta.id - schemas.GenaiVertexV1beta1ToolCallDelta.properties.codeExecutionCall.$ref - schemas.GenaiVertexV1beta1ToolCallDelta.properties.fileSearchCall.$ref - schemas.GenaiVertexV1beta1ToolCallDelta.properties.functionCall.$ref - schemas.GenaiVertexV1beta1ToolCallDelta.properties.googleMapsCall.$ref - schemas.GenaiVertexV1beta1ToolCallDelta.properties.googleSearchCall.$ref - schemas.GenaiVertexV1beta1ToolCallDelta.properties.id.description - schemas.GenaiVertexV1beta1ToolCallDelta.properties.id.type - schemas.GenaiVertexV1beta1ToolCallDelta.properties.mcpServerToolCall.$ref - schemas.GenaiVertexV1beta1ToolCallDelta.properties.signature.description - schemas.GenaiVertexV1beta1ToolCallDelta.properties.signature.format - schemas.GenaiVertexV1beta1ToolCallDelta.properties.signature.type - schemas.GenaiVertexV1beta1ToolCallDelta.properties.urlContextCall.$ref - schemas.GenaiVertexV1beta1ToolCallDelta.type - schemas.GenaiVertexV1beta1ToolCallStep.description - schemas.GenaiVertexV1beta1ToolCallStep.id - schemas.GenaiVertexV1beta1ToolCallStep.properties.codeExecutionCall.$ref - schemas.GenaiVertexV1beta1ToolCallStep.properties.fileSearchCall.$ref - schemas.GenaiVertexV1beta1ToolCallStep.properties.functionCall.$ref - schemas.GenaiVertexV1beta1ToolCallStep.properties.googleMapsCall.$ref - schemas.GenaiVertexV1beta1ToolCallStep.properties.googleSearchCall.$ref - schemas.GenaiVertexV1beta1ToolCallStep.properties.id.description - schemas.GenaiVertexV1beta1ToolCallStep.properties.id.type - schemas.GenaiVertexV1beta1ToolCallStep.properties.mcpServerToolCall.$ref - schemas.GenaiVertexV1beta1ToolCallStep.properties.signature.description - schemas.GenaiVertexV1beta1ToolCallStep.properties.signature.format - schemas.GenaiVertexV1beta1ToolCallStep.properties.signature.type - schemas.GenaiVertexV1beta1ToolCallStep.properties.urlContextCall.$ref - schemas.GenaiVertexV1beta1ToolCallStep.type - schemas.GenaiVertexV1beta1ToolChoiceConfig.description - schemas.GenaiVertexV1beta1ToolChoiceConfig.id - schemas.GenaiVertexV1beta1ToolChoiceConfig.properties.allowed_tools.$ref - schemas.GenaiVertexV1beta1ToolChoiceConfig.properties.allowed_tools.description - schemas.GenaiVertexV1beta1ToolChoiceConfig.type - schemas.GenaiVertexV1beta1ToolResultContent.description - schemas.GenaiVertexV1beta1ToolResultContent.id - schemas.GenaiVertexV1beta1ToolResultContent.properties.call_id.description - schemas.GenaiVertexV1beta1ToolResultContent.properties.call_id.type - schemas.GenaiVertexV1beta1ToolResultContent.properties.codeExecutionResult.$ref - schemas.GenaiVertexV1beta1ToolResultContent.properties.fileSearchResult.$ref - schemas.GenaiVertexV1beta1ToolResultContent.properties.functionResult.$ref - schemas.GenaiVertexV1beta1ToolResultContent.properties.googleMapsResult.$ref - schemas.GenaiVertexV1beta1ToolResultContent.properties.googleSearchResult.$ref - schemas.GenaiVertexV1beta1ToolResultContent.properties.mcpServerToolResult.$ref - schemas.GenaiVertexV1beta1ToolResultContent.properties.signature.description - schemas.GenaiVertexV1beta1ToolResultContent.properties.signature.format - schemas.GenaiVertexV1beta1ToolResultContent.properties.signature.type - schemas.GenaiVertexV1beta1ToolResultContent.properties.urlContextResult.$ref - schemas.GenaiVertexV1beta1ToolResultContent.type - schemas.GenaiVertexV1beta1ToolResultDelta.id - schemas.GenaiVertexV1beta1ToolResultDelta.properties.call_id.description - schemas.GenaiVertexV1beta1ToolResultDelta.properties.call_id.type - schemas.GenaiVertexV1beta1ToolResultDelta.properties.codeExecutionResult.$ref - schemas.GenaiVertexV1beta1ToolResultDelta.properties.fileSearchResult.$ref - schemas.GenaiVertexV1beta1ToolResultDelta.properties.functionResult.$ref - schemas.GenaiVertexV1beta1ToolResultDelta.properties.googleMapsResult.$ref - schemas.GenaiVertexV1beta1ToolResultDelta.properties.googleSearchResult.$ref - schemas.GenaiVertexV1beta1ToolResultDelta.properties.mcpServerToolResult.$ref - schemas.GenaiVertexV1beta1ToolResultDelta.properties.signature.description - schemas.GenaiVertexV1beta1ToolResultDelta.properties.signature.format - schemas.GenaiVertexV1beta1ToolResultDelta.properties.signature.type - schemas.GenaiVertexV1beta1ToolResultDelta.properties.urlContextResult.$ref - schemas.GenaiVertexV1beta1ToolResultDelta.type - schemas.GenaiVertexV1beta1ToolResultStep.description - schemas.GenaiVertexV1beta1ToolResultStep.id - schemas.GenaiVertexV1beta1ToolResultStep.properties.call_id.description - schemas.GenaiVertexV1beta1ToolResultStep.properties.call_id.type - schemas.GenaiVertexV1beta1ToolResultStep.properties.codeExecutionResult.$ref - schemas.GenaiVertexV1beta1ToolResultStep.properties.fileSearchResult.$ref - schemas.GenaiVertexV1beta1ToolResultStep.properties.functionResult.$ref - schemas.GenaiVertexV1beta1ToolResultStep.properties.googleMapsResult.$ref - schemas.GenaiVertexV1beta1ToolResultStep.properties.googleSearchResult.$ref - schemas.GenaiVertexV1beta1ToolResultStep.properties.mcpServerToolResult.$ref - schemas.GenaiVertexV1beta1ToolResultStep.properties.signature.description - schemas.GenaiVertexV1beta1ToolResultStep.properties.signature.format - schemas.GenaiVertexV1beta1ToolResultStep.properties.signature.type - schemas.GenaiVertexV1beta1ToolResultStep.properties.urlContextResult.$ref - schemas.GenaiVertexV1beta1ToolResultStep.type - schemas.GenaiVertexV1beta1Turn.deprecated - schemas.GenaiVertexV1beta1Turn.id - schemas.GenaiVertexV1beta1Turn.properties.contentList.$ref - schemas.GenaiVertexV1beta1Turn.properties.contentList.description - schemas.GenaiVertexV1beta1Turn.properties.contentString.description - schemas.GenaiVertexV1beta1Turn.properties.contentString.type - schemas.GenaiVertexV1beta1Turn.properties.role.description - schemas.GenaiVertexV1beta1Turn.properties.role.type - schemas.GenaiVertexV1beta1Turn.type - schemas.GenaiVertexV1beta1TurnList.deprecated - schemas.GenaiVertexV1beta1TurnList.description - schemas.GenaiVertexV1beta1TurnList.id - schemas.GenaiVertexV1beta1TurnList.properties.turns.items.$ref - schemas.GenaiVertexV1beta1TurnList.properties.turns.type - schemas.GenaiVertexV1beta1TurnList.type - schemas.GenaiVertexV1beta1UrlCitation.description - schemas.GenaiVertexV1beta1UrlCitation.id - schemas.GenaiVertexV1beta1UrlCitation.properties.title.description - schemas.GenaiVertexV1beta1UrlCitation.properties.title.type - schemas.GenaiVertexV1beta1UrlCitation.properties.url.description - schemas.GenaiVertexV1beta1UrlCitation.properties.url.type - schemas.GenaiVertexV1beta1UrlCitation.type - schemas.GenaiVertexV1beta1UrlContext.description - schemas.GenaiVertexV1beta1UrlContext.id - schemas.GenaiVertexV1beta1UrlContext.type - schemas.GenaiVertexV1beta1UrlContextCallContent.description - schemas.GenaiVertexV1beta1UrlContextCallContent.id - schemas.GenaiVertexV1beta1UrlContextCallContent.properties.arguments.$ref - schemas.GenaiVertexV1beta1UrlContextCallContent.properties.arguments.description - schemas.GenaiVertexV1beta1UrlContextCallContent.type - schemas.GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments.description - schemas.GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments.id - schemas.GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments.properties.urls.description - schemas.GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments.properties.urls.items.type - schemas.GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments.properties.urls.type - schemas.GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments.type - schemas.GenaiVertexV1beta1UrlContextCallDelta.id - schemas.GenaiVertexV1beta1UrlContextCallDelta.properties.arguments.$ref - schemas.GenaiVertexV1beta1UrlContextCallDelta.type - schemas.GenaiVertexV1beta1UrlContextCallStep.description - schemas.GenaiVertexV1beta1UrlContextCallStep.id - schemas.GenaiVertexV1beta1UrlContextCallStep.properties.arguments.$ref - schemas.GenaiVertexV1beta1UrlContextCallStep.properties.arguments.description - schemas.GenaiVertexV1beta1UrlContextCallStep.type - schemas.GenaiVertexV1beta1UrlContextCallStepUrlContextCallStepArguments.description - schemas.GenaiVertexV1beta1UrlContextCallStepUrlContextCallStepArguments.id - schemas.GenaiVertexV1beta1UrlContextCallStepUrlContextCallStepArguments.properties.urls.description - schemas.GenaiVertexV1beta1UrlContextCallStepUrlContextCallStepArguments.properties.urls.items.type - schemas.GenaiVertexV1beta1UrlContextCallStepUrlContextCallStepArguments.properties.urls.type - schemas.GenaiVertexV1beta1UrlContextCallStepUrlContextCallStepArguments.type - schemas.GenaiVertexV1beta1UrlContextResultContent.description - schemas.GenaiVertexV1beta1UrlContextResultContent.id - schemas.GenaiVertexV1beta1UrlContextResultContent.properties.is_error.description - schemas.GenaiVertexV1beta1UrlContextResultContent.properties.is_error.type - schemas.GenaiVertexV1beta1UrlContextResultContent.properties.result.description - schemas.GenaiVertexV1beta1UrlContextResultContent.properties.result.items.$ref - schemas.GenaiVertexV1beta1UrlContextResultContent.properties.result.type - schemas.GenaiVertexV1beta1UrlContextResultContent.type - schemas.GenaiVertexV1beta1UrlContextResultContentUrlContextResult.description - schemas.GenaiVertexV1beta1UrlContextResultContentUrlContextResult.id - schemas.GenaiVertexV1beta1UrlContextResultContentUrlContextResult.properties.status.description - schemas.GenaiVertexV1beta1UrlContextResultContentUrlContextResult.properties.status.enum - schemas.GenaiVertexV1beta1UrlContextResultContentUrlContextResult.properties.status.enumDescriptions - schemas.GenaiVertexV1beta1UrlContextResultContentUrlContextResult.properties.status.type - schemas.GenaiVertexV1beta1UrlContextResultContentUrlContextResult.properties.url.description - schemas.GenaiVertexV1beta1UrlContextResultContentUrlContextResult.properties.url.type - schemas.GenaiVertexV1beta1UrlContextResultContentUrlContextResult.type - schemas.GenaiVertexV1beta1UrlContextResultDelta.id - schemas.GenaiVertexV1beta1UrlContextResultDelta.properties.is_error.type - schemas.GenaiVertexV1beta1UrlContextResultDelta.properties.result.items.$ref - schemas.GenaiVertexV1beta1UrlContextResultDelta.properties.result.type - schemas.GenaiVertexV1beta1UrlContextResultDelta.type - schemas.GenaiVertexV1beta1UrlContextResultStep.description - schemas.GenaiVertexV1beta1UrlContextResultStep.id - schemas.GenaiVertexV1beta1UrlContextResultStep.properties.is_error.description - schemas.GenaiVertexV1beta1UrlContextResultStep.properties.is_error.type - schemas.GenaiVertexV1beta1UrlContextResultStep.properties.result.description - schemas.GenaiVertexV1beta1UrlContextResultStep.properties.result.items.$ref - schemas.GenaiVertexV1beta1UrlContextResultStep.properties.result.type - schemas.GenaiVertexV1beta1UrlContextResultStep.type - schemas.GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem.description - schemas.GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem.id - schemas.GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem.properties.status.description - schemas.GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem.properties.status.enum - schemas.GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem.properties.status.enumDescriptions - schemas.GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem.properties.status.type - schemas.GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem.properties.url.description - schemas.GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem.properties.url.type - schemas.GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem.type - schemas.GenaiVertexV1beta1UserInputStep.description - schemas.GenaiVertexV1beta1UserInputStep.id - schemas.GenaiVertexV1beta1UserInputStep.properties.content.items.$ref - schemas.GenaiVertexV1beta1UserInputStep.properties.content.type - schemas.GenaiVertexV1beta1UserInputStep.type - schemas.GenaiVertexV1beta1VertexAISearchConfig.description - schemas.GenaiVertexV1beta1VertexAISearchConfig.id - schemas.GenaiVertexV1beta1VertexAISearchConfig.properties.datastores.description - schemas.GenaiVertexV1beta1VertexAISearchConfig.properties.datastores.items.type - schemas.GenaiVertexV1beta1VertexAISearchConfig.properties.datastores.type - schemas.GenaiVertexV1beta1VertexAISearchConfig.properties.engine.description - schemas.GenaiVertexV1beta1VertexAISearchConfig.properties.engine.type - schemas.GenaiVertexV1beta1VertexAISearchConfig.type - schemas.GenaiVertexV1beta1VideoContent.description - schemas.GenaiVertexV1beta1VideoContent.id - schemas.GenaiVertexV1beta1VideoContent.properties.data.description - schemas.GenaiVertexV1beta1VideoContent.properties.data.format - schemas.GenaiVertexV1beta1VideoContent.properties.data.type - schemas.GenaiVertexV1beta1VideoContent.properties.mime_type.description - schemas.GenaiVertexV1beta1VideoContent.properties.mime_type.enum - schemas.GenaiVertexV1beta1VideoContent.properties.mime_type.enumDescriptions - schemas.GenaiVertexV1beta1VideoContent.properties.mime_type.type - schemas.GenaiVertexV1beta1VideoContent.properties.resolution.description - schemas.GenaiVertexV1beta1VideoContent.properties.resolution.enum - schemas.GenaiVertexV1beta1VideoContent.properties.resolution.enumDescriptions - schemas.GenaiVertexV1beta1VideoContent.properties.resolution.type - schemas.GenaiVertexV1beta1VideoContent.properties.uri.description - schemas.GenaiVertexV1beta1VideoContent.properties.uri.type - schemas.GenaiVertexV1beta1VideoContent.type - schemas.GenaiVertexV1beta1VideoDelta.id - schemas.GenaiVertexV1beta1VideoDelta.properties.data.format - schemas.GenaiVertexV1beta1VideoDelta.properties.data.type - schemas.GenaiVertexV1beta1VideoDelta.properties.mime_type.enum - schemas.GenaiVertexV1beta1VideoDelta.properties.mime_type.enumDescriptions - schemas.GenaiVertexV1beta1VideoDelta.properties.mime_type.type - schemas.GenaiVertexV1beta1VideoDelta.properties.resolution.description - schemas.GenaiVertexV1beta1VideoDelta.properties.resolution.enum - schemas.GenaiVertexV1beta1VideoDelta.properties.resolution.enumDescriptions - schemas.GenaiVertexV1beta1VideoDelta.properties.resolution.type - schemas.GenaiVertexV1beta1VideoDelta.properties.uri.type - schemas.GenaiVertexV1beta1VideoDelta.type - schemas.GenaiVertexV1beta1VideoResponseFormat.description - schemas.GenaiVertexV1beta1VideoResponseFormat.id - schemas.GenaiVertexV1beta1VideoResponseFormat.type - schemas.GoogleCloudAiplatformV1beta1Agent.description - schemas.GoogleCloudAiplatformV1beta1Agent.id - schemas.GoogleCloudAiplatformV1beta1Agent.properties.base_agent.description - schemas.GoogleCloudAiplatformV1beta1Agent.properties.base_agent.type - schemas.GoogleCloudAiplatformV1beta1Agent.properties.base_environment.description - schemas.GoogleCloudAiplatformV1beta1Agent.properties.base_environment.type - schemas.GoogleCloudAiplatformV1beta1Agent.properties.created.description - schemas.GoogleCloudAiplatformV1beta1Agent.properties.created.format - schemas.GoogleCloudAiplatformV1beta1Agent.properties.created.readOnly - schemas.GoogleCloudAiplatformV1beta1Agent.properties.created.type - schemas.GoogleCloudAiplatformV1beta1Agent.properties.description.description - schemas.GoogleCloudAiplatformV1beta1Agent.properties.description.type - schemas.GoogleCloudAiplatformV1beta1Agent.properties.id.description - schemas.GoogleCloudAiplatformV1beta1Agent.properties.id.type - schemas.GoogleCloudAiplatformV1beta1Agent.properties.metadata.additionalProperties.type - schemas.GoogleCloudAiplatformV1beta1Agent.properties.metadata.description - schemas.GoogleCloudAiplatformV1beta1Agent.properties.metadata.type - schemas.GoogleCloudAiplatformV1beta1Agent.properties.name.description - schemas.GoogleCloudAiplatformV1beta1Agent.properties.name.type - schemas.GoogleCloudAiplatformV1beta1Agent.properties.object.description - schemas.GoogleCloudAiplatformV1beta1Agent.properties.object.readOnly - schemas.GoogleCloudAiplatformV1beta1Agent.properties.object.type - schemas.GoogleCloudAiplatformV1beta1Agent.properties.system_instruction.description - schemas.GoogleCloudAiplatformV1beta1Agent.properties.system_instruction.type - schemas.GoogleCloudAiplatformV1beta1Agent.properties.tools.description - schemas.GoogleCloudAiplatformV1beta1Agent.properties.tools.items.$ref - schemas.GoogleCloudAiplatformV1beta1Agent.properties.tools.type - schemas.GoogleCloudAiplatformV1beta1Agent.properties.updated.description - schemas.GoogleCloudAiplatformV1beta1Agent.properties.updated.format - schemas.GoogleCloudAiplatformV1beta1Agent.properties.updated.readOnly - schemas.GoogleCloudAiplatformV1beta1Agent.properties.updated.type - schemas.GoogleCloudAiplatformV1beta1Agent.type - schemas.GoogleCloudAiplatformV1beta1AgentTool.description - schemas.GoogleCloudAiplatformV1beta1AgentTool.id - schemas.GoogleCloudAiplatformV1beta1AgentTool.properties.headers.additionalProperties.type - schemas.GoogleCloudAiplatformV1beta1AgentTool.properties.headers.description - schemas.GoogleCloudAiplatformV1beta1AgentTool.properties.headers.type - schemas.GoogleCloudAiplatformV1beta1AgentTool.properties.name.description - schemas.GoogleCloudAiplatformV1beta1AgentTool.properties.name.type - schemas.GoogleCloudAiplatformV1beta1AgentTool.properties.type.description - schemas.GoogleCloudAiplatformV1beta1AgentTool.properties.type.type - schemas.GoogleCloudAiplatformV1beta1AgentTool.properties.url.description - schemas.GoogleCloudAiplatformV1beta1AgentTool.properties.url.type - schemas.GoogleCloudAiplatformV1beta1AgentTool.type - schemas.GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineRequest.description - schemas.GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineRequest.id - schemas.GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineRequest.properties.operationName.description - schemas.GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineRequest.properties.operationName.type - schemas.GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineRequest.type - schemas.GoogleCloudAiplatformV1beta1CreateServingProfileOperationMetadata.description - schemas.GoogleCloudAiplatformV1beta1CreateServingProfileOperationMetadata.id - schemas.GoogleCloudAiplatformV1beta1CreateServingProfileOperationMetadata.properties.genericMetadata.$ref - schemas.GoogleCloudAiplatformV1beta1CreateServingProfileOperationMetadata.properties.genericMetadata.description - schemas.GoogleCloudAiplatformV1beta1CreateServingProfileOperationMetadata.properties.genericMetadata.readOnly - schemas.GoogleCloudAiplatformV1beta1CreateServingProfileOperationMetadata.type - schemas.GoogleCloudAiplatformV1beta1FunctionDeclaration.properties.behavior.description - schemas.GoogleCloudAiplatformV1beta1FunctionDeclaration.properties.behavior.enum - schemas.GoogleCloudAiplatformV1beta1FunctionDeclaration.properties.behavior.enumDescriptions - schemas.GoogleCloudAiplatformV1beta1FunctionDeclaration.properties.behavior.type - schemas.GoogleCloudAiplatformV1beta1ListAgentsResponse.description - schemas.GoogleCloudAiplatformV1beta1ListAgentsResponse.id - schemas.GoogleCloudAiplatformV1beta1ListAgentsResponse.properties.agents.description - schemas.GoogleCloudAiplatformV1beta1ListAgentsResponse.properties.agents.items.$ref - schemas.GoogleCloudAiplatformV1beta1ListAgentsResponse.properties.agents.type - schemas.GoogleCloudAiplatformV1beta1ListAgentsResponse.properties.nextPageToken.description - schemas.GoogleCloudAiplatformV1beta1ListAgentsResponse.properties.nextPageToken.type - schemas.GoogleCloudAiplatformV1beta1ListAgentsResponse.type - schemas.GoogleCloudAiplatformV1beta1ListSkillRevisionsResponse.description - schemas.GoogleCloudAiplatformV1beta1ListSkillRevisionsResponse.id - schemas.GoogleCloudAiplatformV1beta1ListSkillRevisionsResponse.properties.nextPageToken.description - schemas.GoogleCloudAiplatformV1beta1ListSkillRevisionsResponse.properties.nextPageToken.type - schemas.GoogleCloudAiplatformV1beta1ListSkillRevisionsResponse.properties.skillRevisions.description - schemas.GoogleCloudAiplatformV1beta1ListSkillRevisionsResponse.properties.skillRevisions.items.$ref - schemas.GoogleCloudAiplatformV1beta1ListSkillRevisionsResponse.properties.skillRevisions.type - schemas.GoogleCloudAiplatformV1beta1ListSkillRevisionsResponse.type - schemas.GoogleCloudAiplatformV1beta1ListSkillsResponse.description - schemas.GoogleCloudAiplatformV1beta1ListSkillsResponse.id - schemas.GoogleCloudAiplatformV1beta1ListSkillsResponse.properties.nextPageToken.description - schemas.GoogleCloudAiplatformV1beta1ListSkillsResponse.properties.nextPageToken.type - schemas.GoogleCloudAiplatformV1beta1ListSkillsResponse.properties.skills.description - schemas.GoogleCloudAiplatformV1beta1ListSkillsResponse.properties.skills.items.$ref - schemas.GoogleCloudAiplatformV1beta1ListSkillsResponse.properties.skills.type - schemas.GoogleCloudAiplatformV1beta1ListSkillsResponse.type - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponse.description - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponse.id - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponse.properties.retrievedSkills.description - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponse.properties.retrievedSkills.items.$ref - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponse.properties.retrievedSkills.type - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponse.type - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill.description - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill.id - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill.properties.description.description - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill.properties.description.type - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill.properties.skillName.description - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill.properties.skillName.type - schemas.GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill.type - schemas.GoogleCloudAiplatformV1beta1Skill.description - schemas.GoogleCloudAiplatformV1beta1Skill.id - schemas.GoogleCloudAiplatformV1beta1Skill.properties.compatibility.description - schemas.GoogleCloudAiplatformV1beta1Skill.properties.compatibility.type - schemas.GoogleCloudAiplatformV1beta1Skill.properties.createTime.description - schemas.GoogleCloudAiplatformV1beta1Skill.properties.createTime.format - schemas.GoogleCloudAiplatformV1beta1Skill.properties.createTime.readOnly - schemas.GoogleCloudAiplatformV1beta1Skill.properties.createTime.type - schemas.GoogleCloudAiplatformV1beta1Skill.properties.description.description - schemas.GoogleCloudAiplatformV1beta1Skill.properties.description.type - schemas.GoogleCloudAiplatformV1beta1Skill.properties.displayName.description - schemas.GoogleCloudAiplatformV1beta1Skill.properties.displayName.type - schemas.GoogleCloudAiplatformV1beta1Skill.properties.labels.additionalProperties.type - schemas.GoogleCloudAiplatformV1beta1Skill.properties.labels.description - schemas.GoogleCloudAiplatformV1beta1Skill.properties.labels.type - schemas.GoogleCloudAiplatformV1beta1Skill.properties.license.description - schemas.GoogleCloudAiplatformV1beta1Skill.properties.license.type - schemas.GoogleCloudAiplatformV1beta1Skill.properties.name.description - schemas.GoogleCloudAiplatformV1beta1Skill.properties.name.type - schemas.GoogleCloudAiplatformV1beta1Skill.properties.sha256.description - schemas.GoogleCloudAiplatformV1beta1Skill.properties.sha256.readOnly - schemas.GoogleCloudAiplatformV1beta1Skill.properties.sha256.type - schemas.GoogleCloudAiplatformV1beta1Skill.properties.skillSource.description - schemas.GoogleCloudAiplatformV1beta1Skill.properties.skillSource.enum - schemas.GoogleCloudAiplatformV1beta1Skill.properties.skillSource.enumDescriptions - schemas.GoogleCloudAiplatformV1beta1Skill.properties.skillSource.readOnly - schemas.GoogleCloudAiplatformV1beta1Skill.properties.skillSource.type - schemas.GoogleCloudAiplatformV1beta1Skill.properties.state.description - schemas.GoogleCloudAiplatformV1beta1Skill.properties.state.enum - schemas.GoogleCloudAiplatformV1beta1Skill.properties.state.enumDescriptions - schemas.GoogleCloudAiplatformV1beta1Skill.properties.state.readOnly - schemas.GoogleCloudAiplatformV1beta1Skill.properties.state.type - schemas.GoogleCloudAiplatformV1beta1Skill.properties.updateTime.description - schemas.GoogleCloudAiplatformV1beta1Skill.properties.updateTime.format - schemas.GoogleCloudAiplatformV1beta1Skill.properties.updateTime.readOnly - schemas.GoogleCloudAiplatformV1beta1Skill.properties.updateTime.type - schemas.GoogleCloudAiplatformV1beta1Skill.properties.zippedFilesystem.description - schemas.GoogleCloudAiplatformV1beta1Skill.properties.zippedFilesystem.format - schemas.GoogleCloudAiplatformV1beta1Skill.properties.zippedFilesystem.type - schemas.GoogleCloudAiplatformV1beta1Skill.type - schemas.GoogleCloudAiplatformV1beta1SkillRevision.description - schemas.GoogleCloudAiplatformV1beta1SkillRevision.id - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.createTime.description - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.createTime.format - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.createTime.readOnly - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.createTime.type - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.name.description - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.name.type - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.skill.$ref - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.skill.description - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.skill.readOnly - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.state.description - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.state.enum - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.state.enumDescriptions - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.state.readOnly - schemas.GoogleCloudAiplatformV1beta1SkillRevision.properties.state.type - schemas.GoogleCloudAiplatformV1beta1SkillRevision.type The following keys were changed: - schemas.GoogleCloudAiplatformV1beta1AsyncQueryReasoningEngineRequest.properties.inputGcsUri.description - schemas.GoogleCloudAiplatformV1beta1AsyncQueryReasoningEngineRequest.properties.outputGcsUri.description - schemas.GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig.properties.metrics.description - schemas.GoogleCloudAiplatformV1beta1SandboxEnvironment.properties.sandboxEnvironmentTemplate.description #### aiplatform:v1 The following keys were deleted: - resources.projects.resources.locations.resources.reasoningEngines.methods.cancelAsyncQuery.parameters.operationName.description - resources.projects.resources.locations.resources.reasoningEngines.methods.cancelAsyncQuery.parameters.operationName.location - resources.projects.resources.locations.resources.reasoningEngines.methods.cancelAsyncQuery.parameters.operationName.type - resources.reasoningEngines.methods.cancelAsyncQuery.parameters.operationName.description - resources.reasoningEngines.methods.cancelAsyncQuery.parameters.operationName.location - resources.reasoningEngines.methods.cancelAsyncQuery.parameters.operationName.type The following keys were added: - resources.projects.resources.locations.resources.reasoningEngines.methods.cancelAsyncQuery.request.$ref - resources.reasoningEngines.methods.cancelAsyncQuery.request.$ref - schemas.CloudAiLargeModelsVisionGenerateVideoExperiments.properties.codec.description - schemas.CloudAiLargeModelsVisionGenerateVideoExperiments.properties.codec.enum - schemas.CloudAiLargeModelsVisionGenerateVideoExperiments.properties.codec.enumDescriptions - schemas.CloudAiLargeModelsVisionGenerateVideoExperiments.properties.codec.type - schemas.GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest.description - schemas.GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest.id - schemas.GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest.properties.operationName.description - schemas.GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest.properties.operationName.type - schemas.GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest.type - schemas.GoogleCloudAiplatformV1FunctionDeclaration.properties.behavior.description - schemas.GoogleCloudAiplatformV1FunctionDeclaration.properties.behavior.enum - schemas.GoogleCloudAiplatformV1FunctionDeclaration.properties.behavior.enumDescriptions - schemas.GoogleCloudAiplatformV1FunctionDeclaration.properties.behavior.type The following keys were changed: - schemas.GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest.properties.inputGcsUri.description - schemas.GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest.properties.outputGcsUri.description - schemas.GoogleCloudAiplatformV1EvaluationRunEvaluationConfig.properties.metrics.description - schemas.GoogleCloudAiplatformV1SandboxEnvironment.properties.sandboxEnvironmentTemplate.description --- discovery/aiplatform-v1.json | 65 +- discovery/aiplatform-v1beta1.json | 5178 +++++++++++++++++++++++++++-- src/apis/aiplatform/v1.ts | 55 +- 3 files changed, 5030 insertions(+), 268 deletions(-) diff --git a/discovery/aiplatform-v1.json b/discovery/aiplatform-v1.json index 375054616f..a641b00c5b 100644 --- a/discovery/aiplatform-v1.json +++ b/discovery/aiplatform-v1.json @@ -22228,14 +22228,12 @@ "pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", "required": true, "type": "string" - }, - "operationName": { - "description": "Required. The name of the longrunning operation returned from AsyncQueryReasoningEngine. Format: `projects/{project}/locations/{location}/operations/{operation}`", - "location": "query", - "type": "string" } }, "path": "v1/{+name}:cancelAsyncQuery", + "request": { + "$ref": "GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest" + }, "response": { "$ref": "GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse" }, @@ -29051,14 +29049,12 @@ "pattern": "^reasoningEngines/[^/]+$", "required": true, "type": "string" - }, - "operationName": { - "description": "Required. The name of the longrunning operation returned from AsyncQueryReasoningEngine. Format: `projects/{project}/locations/{location}/operations/{operation}`", - "location": "query", - "type": "string" } }, "path": "v1/{+name}:cancelAsyncQuery", + "request": { + "$ref": "GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest" + }, "response": { "$ref": "GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse" }, @@ -32361,13 +32357,27 @@ } } }, - "revision": "20260506", + "revision": "20260509", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoExperiments": { "description": "Experimental parameters for video generation.", "id": "CloudAiLargeModelsVisionGenerateVideoExperiments", "properties": { + "codec": { + "description": "Optional. Video codec to use for output.", + "enum": [ + "VIDEO_CODEC_UNSPECIFIED", + "VIDEO_CODEC_H264", + "VIDEO_CODEC_PRORES" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, "conditioningFrames": { "description": "Conditioning frames for veo experimental models ONLY, not to be confused with keyframes (ID:31) in GenerateVideoRequest.", "items": { @@ -33384,11 +33394,11 @@ "id": "GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest", "properties": { "inputGcsUri": { - "description": "Optional. Input Cloud Storage URI for the Async query.", + "description": "Optional. Input Cloud Storage URI for the Async query. If you are not bringing your own container (BYOC), the content of the file should be a JSON object with an `input` field matching the `input` field of `QueryReasoningEngineRequest` (e.g. `{ \"input\": { \"user_id\": \"hello\", \"message\":\"$QUERY\"} }`). For BYOC, the content of the file depends on the the agent application.", "type": "string" }, "outputGcsUri": { - "description": "Optional. Output Cloud Storage URI for the Async query.", + "description": "Optional. Output Cloud Storage URI for the Async query. This contains the final response of the query.", "type": "string" } }, @@ -34693,6 +34703,17 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest": { + "description": "Request message for ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngine.", + "id": "GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest", + "properties": { + "operationName": { + "description": "Required. The name of the longrunning operation returned from AsyncQueryReasoningEngine. Format: `projects/{project}/locations/{location}/operations/{operation}`", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse": { "description": "Response message for ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngine.", "id": "GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse", @@ -39290,7 +39311,7 @@ "type": "array" }, "metrics": { - "description": "Required. The metrics to be calculated in the evaluation run.", + "description": "Optional. The metrics to be calculated in the evaluation run. Required when analysis_configs is not set.", "items": { "$ref": "GoogleCloudAiplatformV1EvaluationRunMetric" }, @@ -42734,6 +42755,20 @@ "description": "Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.", "id": "GoogleCloudAiplatformV1FunctionDeclaration", "properties": { + "behavior": { + "description": "Optional. Specifies the function Behavior. If not specified, the system keeps the current function call behavior. This field is currently only supported by the BidiGenerateContent method.", + "enum": [ + "UNSPECIFIED", + "BLOCKING", + "NON_BLOCKING" + ], + "enumDescriptions": [ + "This value is unspecified.", + "If set, the system will wait to receive the function response before continuing the conversation.", + "If set, the system will not wait to receive the function response. Instead, it will attempt to handle function responses as they become available while maintaining the conversation between the user and the model." + ], + "type": "string" + }, "description": { "description": "Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.", "type": "string" @@ -55672,7 +55707,7 @@ "type": "string" }, "sandboxEnvironmentTemplate": { - "description": "Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from. Only one of `sandbox_environment_template` and `spec` should be set.", + "description": "Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from.", "type": "string" }, "spec": { diff --git a/discovery/aiplatform-v1beta1.json b/discovery/aiplatform-v1beta1.json index 909588b12f..5ab500959a 100644 --- a/discovery/aiplatform-v1beta1.json +++ b/discovery/aiplatform-v1beta1.json @@ -5720,6 +5720,142 @@ } } }, + "interactions": { + "methods": { + "cancel": { + "description": "Cancels an interaction.", + "flatPath": "v1beta1/interactions/{interactionsId}:cancel", + "httpMethod": "POST", + "id": "aiplatform.interactions.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the interaction to cancel. Format: `interactions/{interaction}`.", + "location": "path", + "pattern": "^interactions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:cancel", + "response": { + "$ref": "GenaiVertexV1beta1Interaction" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes an interaction.", + "flatPath": "v1beta1/interactions/{interactionsId}", + "httpMethod": "DELETE", + "id": "aiplatform.interactions.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the interaction to delete. Format: interactions/{interaction}", + "location": "path", + "pattern": "^interactions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleApiHttpBody" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getPoll": { + "description": "Fully typed proto, unary version of GetInteraction that returns Interaction proto.", + "flatPath": "v1beta1/interactions/{interactionsId}:poll", + "httpMethod": "GET", + "id": "aiplatform.interactions.getPoll", + "parameterOrder": [ + "name" + ], + "parameters": { + "include_input": { + "deprecated": true, + "description": "Optional. If true, includes the input in the response.", + "location": "query", + "type": "boolean" + }, + "last_event_id": { + "description": "Optional. If set, resumes the interaction stream from the chunk after the event marked by the event id. Can only be used if `stream` is true.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the interaction to retrieve. Format: interactions/{interaction}", + "location": "path", + "pattern": "^interactions/[^/]+$", + "required": true, + "type": "string" + }, + "stream": { + "description": "Optional. If true, streams the interaction events as Server-Sent Events.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta1/{+name}:poll", + "response": { + "$ref": "GenaiVertexV1beta1Interaction" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getStream": { + "description": "Fully typed proto, streaming version of GetInteraction that returns Interaction proto.", + "flatPath": "v1beta1/interactions/{interactionsId}:stream", + "httpMethod": "GET", + "id": "aiplatform.interactions.getStream", + "parameterOrder": [ + "name" + ], + "parameters": { + "include_input": { + "deprecated": true, + "description": "Optional. If true, includes the input in the response.", + "location": "query", + "type": "boolean" + }, + "last_event_id": { + "description": "Optional. If set, resumes the interaction stream from the chunk after the event marked by the event id. Can only be used if `stream` is true.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the interaction to retrieve. Format: interactions/{interaction}", + "location": "path", + "pattern": "^interactions/[^/]+$", + "required": true, + "type": "string" + }, + "stream": { + "description": "Optional. If true, streams the interaction events as Server-Sent Events.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta1/{+name}:stream", + "response": { + "$ref": "GenaiVertexV1beta1InteractionStreamingEvent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "media": { "methods": { "upload": { @@ -8949,6 +9085,161 @@ }, "resources": { "agents": { + "methods": { + "create": { + "description": "Creates a new Agent in a given location.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/agents", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.agents.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The resource name of the location to create the agent in. Format: `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/agents", + "request": { + "$ref": "GoogleCloudAiplatformV1beta1Agent" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes the specific Agent.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + "httpMethod": "DELETE", + "id": "aiplatform.projects.locations.agents.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the agent. Format: `projects/{project}/locations/{location}/agents/{agent}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of the specific Agent.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + "httpMethod": "GET", + "id": "aiplatform.projects.locations.agents.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the agent. Format: `projects/{project}/locations/{location}/agents/{agent}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleCloudAiplatformV1beta1Agent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Agents in a given location.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/agents", + "httpMethod": "GET", + "id": "aiplatform.projects.locations.agents.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "orderBy": { + "description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `create_time` * `update_time` Example: `create_time desc`.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of agents to return. The service may return fewer than this value. If unspecified, at most 100 agents will be returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The next_page_token value returned from a previous list AgentService.ListAgents call.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the location to list agents from. Format: `projects/{project}/locations/{location}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/agents", + "response": { + "$ref": "GoogleCloudAiplatformV1beta1ListAgentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the specific Agent.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + "httpMethod": "PATCH", + "id": "aiplatform.projects.locations.agents.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The resource name of the Agent. Format: `projects/{project}/locations/{location}/agents/{agent}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "request": { + "$ref": "GoogleCloudAiplatformV1beta1Agent" + }, + "response": { + "$ref": "GoogleCloudAiplatformV1beta1Agent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { "operations": { "methods": { @@ -13584,6 +13875,62 @@ ] } } + }, + "responses": { + "methods": { + "delete": { + "description": "Deletes the response from the endpoint.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/responses/{responsesId}", + "httpMethod": "DELETE", + "id": "aiplatform.projects.locations.endpoints.responses.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Response resource to be deleted. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/responses/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleApiHttpBody" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ] + }, + "get": { + "description": "Gets the response from the endpoint.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/responses/{responsesId}", + "httpMethod": "GET", + "id": "aiplatform.projects.locations.endpoints.responses.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Response resource. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/responses/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleApiHttpBody" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ] + } + } } } }, @@ -20637,6 +20984,74 @@ } } }, + "interactions": { + "methods": { + "create": { + "description": "Creates an interaction.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/interactions:create", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.interactions.create", + "parameterOrder": [ + "projectsId", + "locationsId" + ], + "parameters": { + "locationsId": { + "location": "path", + "required": true, + "type": "string" + }, + "projectsId": { + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/projects/{projectsId}/locations/{locationsId}/interactions:create", + "request": { + "$ref": "GenaiVertexV1beta1CreateInteractionRequest" + }, + "response": { + "$ref": "GenaiVertexV1beta1Interaction" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "createStream": { + "description": "Creates an interaction and streams the response.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/interactions:createStream", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.interactions.createStream", + "parameterOrder": [ + "projectsId", + "locationsId" + ], + "parameters": { + "locationsId": { + "location": "path", + "required": true, + "type": "string" + }, + "projectsId": { + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/projects/{projectsId}/locations/{locationsId}/interactions:createStream", + "request": { + "$ref": "GenaiVertexV1beta1CreateInteractionRequest" + }, + "response": { + "$ref": "GenaiVertexV1beta1InteractionStreamingEvent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "metadataStores": { "methods": { "create": { @@ -28849,14 +29264,12 @@ "pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", "required": true, "type": "string" - }, - "operationName": { - "description": "Required. The name of the longrunning operation returned from AsyncQueryReasoningEngine. Format: `projects/{project}/locations/{location}/operations/{operation}`", - "location": "query", - "type": "string" } }, "path": "v1beta1/{+name}:cancelAsyncQuery", + "request": { + "$ref": "GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineRequest" + }, "response": { "$ref": "GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineResponse" }, @@ -34417,15 +34830,15 @@ } } }, - "skills": { + "servingProfiles": { "resources": { "operations": { "methods": { "cancel": { "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}/operations/{operationsId}:cancel", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/servingProfiles/{servingProfilesId}/operations/{operationsId}:cancel", "httpMethod": "POST", - "id": "aiplatform.projects.locations.skills.operations.cancel", + "id": "aiplatform.projects.locations.servingProfiles.operations.cancel", "parameterOrder": [ "name" ], @@ -34433,7 +34846,7 @@ "name": { "description": "The name of the operation resource to be cancelled.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+/operations/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/servingProfiles/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -34448,9 +34861,9 @@ }, "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}/operations/{operationsId}", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/servingProfiles/{servingProfilesId}/operations/{operationsId}", "httpMethod": "DELETE", - "id": "aiplatform.projects.locations.skills.operations.delete", + "id": "aiplatform.projects.locations.servingProfiles.operations.delete", "parameterOrder": [ "name" ], @@ -34458,7 +34871,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+/operations/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/servingProfiles/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -34473,9 +34886,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}/operations/{operationsId}", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/servingProfiles/{servingProfilesId}/operations/{operationsId}", "httpMethod": "GET", - "id": "aiplatform.projects.locations.skills.operations.get", + "id": "aiplatform.projects.locations.servingProfiles.operations.get", "parameterOrder": [ "name" ], @@ -34483,7 +34896,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+/operations/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/servingProfiles/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -34498,9 +34911,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}/operations", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/servingProfiles/{servingProfilesId}/operations", "httpMethod": "GET", - "id": "aiplatform.projects.locations.skills.operations.list", + "id": "aiplatform.projects.locations.servingProfiles.operations.list", "parameterOrder": [ "name" ], @@ -34513,7 +34926,7 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/servingProfiles/[^/]+$", "required": true, "type": "string" }, @@ -34544,9 +34957,9 @@ }, "wait": { "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}/operations/{operationsId}:wait", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/servingProfiles/{servingProfilesId}/operations/{operationsId}:wait", "httpMethod": "POST", - "id": "aiplatform.projects.locations.skills.operations.wait", + "id": "aiplatform.projects.locations.servingProfiles.operations.wait", "parameterOrder": [ "name" ], @@ -34554,7 +34967,7 @@ "name": { "description": "The name of the operation resource to wait on.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+/operations/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/servingProfiles/[^/]+/operations/[^/]+$", "required": true, "type": "string" }, @@ -34577,15 +34990,231 @@ } } }, - "solvers": { + "skills": { + "methods": { + "create": { + "description": "Create a Skill.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.skills.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The location to create the Skill in. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "skillId": { + "description": "Optional. The ID to use for the Skill, which will become the final component of the Skill's resource name. If not provided, a system-generated ID will be used. This value must be 1-63 characters. Valid characters are lowercase letters, numbers, and hyphens. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number. Specifically, the ID must match the regular expression: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` See [AIP-122](https://aip.dev/122#resource-id-segments) for more details.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+parent}/skills", + "request": { + "$ref": "GoogleCloudAiplatformV1beta1Skill" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete a Skill.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}", + "httpMethod": "DELETE", + "id": "aiplatform.projects.locations.skills.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the Skill to delete. Format: `projects/{project}/locations/{location}/skills/{skill}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get a Skill.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}", + "httpMethod": "GET", + "id": "aiplatform.projects.locations.skills.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the Skill to retrieve. Format: `projects/{project}/locations/{location}/skills/{skill}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleCloudAiplatformV1beta1Skill" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List Skills.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills", + "httpMethod": "GET", + "id": "aiplatform.projects.locations.skills.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The standard list page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The location to list the Skills in. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/skills", + "response": { + "$ref": "GoogleCloudAiplatformV1beta1ListSkillsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update a Skill.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}", + "httpMethod": "PATCH", + "id": "aiplatform.projects.locations.skills.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The resource name of the Skill. Format: `projects/{project}/locations/{location}/skills/{skill}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. Mask specifying which fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "request": { + "$ref": "GoogleCloudAiplatformV1beta1Skill" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "retrieve": { + "description": "Retrieves skills.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills:retrieve", + "httpMethod": "GET", + "id": "aiplatform.projects.locations.skills.retrieve", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The location to retrieve the Skills in. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "query": { + "description": "Optional. The query to find matching skills.", + "location": "query", + "type": "string" + }, + "topK": { + "description": "Optional. The maximum number of skills to return. The service may return fewer than this value. If unspecified, at most 10 skills will be returned. The maximum value is 100.", + "format": "int32", + "location": "query", + "type": "integer" + } + }, + "path": "v1beta1/{+parent}/skills:retrieve", + "response": { + "$ref": "GoogleCloudAiplatformV1beta1RetrieveSkillsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { "operations": { "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.skills.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:cancel", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/solvers/{solversId}/operations/{operationsId}", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}/operations/{operationsId}", "httpMethod": "DELETE", - "id": "aiplatform.projects.locations.solvers.operations.delete", + "id": "aiplatform.projects.locations.skills.operations.delete", "parameterOrder": [ "name" ], @@ -34593,7 +35222,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/solvers/[^/]+/operations/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -34608,9 +35237,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/solvers/{solversId}/operations/{operationsId}", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}/operations/{operationsId}", "httpMethod": "GET", - "id": "aiplatform.projects.locations.solvers.operations.get", + "id": "aiplatform.projects.locations.skills.operations.get", "parameterOrder": [ "name" ], @@ -34618,7 +35247,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/solvers/[^/]+/operations/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -34633,9 +35262,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/solvers/{solversId}/operations", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}/operations", "httpMethod": "GET", - "id": "aiplatform.projects.locations.solvers.operations.list", + "id": "aiplatform.projects.locations.skills.operations.list", "parameterOrder": [ "name" ], @@ -34648,7 +35277,212 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/solvers/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta1/{+name}/operations", + "response": { + "$ref": "GoogleLongrunningListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "wait": { + "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}/operations/{operationsId}:wait", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.skills.operations.wait", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to wait on.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + }, + "timeout": { + "description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", + "format": "google-duration", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}:wait", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "revisions": { + "methods": { + "get": { + "description": "Get a Skill Revision.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}/revisions/{revisionsId}", + "httpMethod": "GET", + "id": "aiplatform.projects.locations.skills.revisions.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the Skill Revision to retrieve. Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+/revisions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleCloudAiplatformV1beta1SkillRevision" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List Skill Revisions for a Skill.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/skills/{skillsId}/revisions", + "httpMethod": "GET", + "id": "aiplatform.projects.locations.skills.revisions.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields (equality match only): * `labels`", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The standard list page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the Skill to list revisions for. Format: `projects/{project}/locations/{location}/skills/{skill}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/skills/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/revisions", + "response": { + "$ref": "GoogleCloudAiplatformV1beta1ListSkillRevisionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "solvers": { + "resources": { + "operations": { + "methods": { + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/solvers/{solversId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "aiplatform.projects.locations.solvers.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/solvers/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/solvers/{solversId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "aiplatform.projects.locations.solvers.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/solvers/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/solvers/{solversId}/operations", + "httpMethod": "GET", + "id": "aiplatform.projects.locations.solvers.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/solvers/[^/]+$", "required": true, "type": "string" }, @@ -38873,14 +39707,12 @@ "pattern": "^reasoningEngines/[^/]+$", "required": true, "type": "string" - }, - "operationName": { - "description": "Required. The name of the longrunning operation returned from AsyncQueryReasoningEngine. Format: `projects/{project}/locations/{location}/operations/{operation}`", - "location": "query", - "type": "string" } }, "path": "v1beta1/{+name}:cancelAsyncQuery", + "request": { + "$ref": "GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineRequest" + }, "response": { "$ref": "GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineResponse" }, @@ -43823,15 +44655,15 @@ } } }, - "skills": { + "servingProfiles": { "resources": { "operations": { "methods": { "cancel": { "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", - "flatPath": "v1beta1/skills/{skillsId}/operations/{operationsId}:cancel", + "flatPath": "v1beta1/servingProfiles/{servingProfilesId}/operations/{operationsId}:cancel", "httpMethod": "POST", - "id": "aiplatform.skills.operations.cancel", + "id": "aiplatform.servingProfiles.operations.cancel", "parameterOrder": [ "name" ], @@ -43839,7 +44671,7 @@ "name": { "description": "The name of the operation resource to be cancelled.", "location": "path", - "pattern": "^skills/[^/]+/operations/[^/]+$", + "pattern": "^servingProfiles/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -43854,9 +44686,9 @@ }, "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1beta1/skills/{skillsId}/operations/{operationsId}", + "flatPath": "v1beta1/servingProfiles/{servingProfilesId}/operations/{operationsId}", "httpMethod": "DELETE", - "id": "aiplatform.skills.operations.delete", + "id": "aiplatform.servingProfiles.operations.delete", "parameterOrder": [ "name" ], @@ -43864,7 +44696,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", - "pattern": "^skills/[^/]+/operations/[^/]+$", + "pattern": "^servingProfiles/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -43879,9 +44711,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/skills/{skillsId}/operations/{operationsId}", + "flatPath": "v1beta1/servingProfiles/{servingProfilesId}/operations/{operationsId}", "httpMethod": "GET", - "id": "aiplatform.skills.operations.get", + "id": "aiplatform.servingProfiles.operations.get", "parameterOrder": [ "name" ], @@ -43889,7 +44721,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^skills/[^/]+/operations/[^/]+$", + "pattern": "^servingProfiles/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -43904,9 +44736,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", - "flatPath": "v1beta1/skills/{skillsId}/operations", + "flatPath": "v1beta1/servingProfiles/{servingProfilesId}/operations", "httpMethod": "GET", - "id": "aiplatform.skills.operations.list", + "id": "aiplatform.servingProfiles.operations.list", "parameterOrder": [ "name" ], @@ -43919,7 +44751,7 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", - "pattern": "^skills/[^/]+$", + "pattern": "^servingProfiles/[^/]+$", "required": true, "type": "string" }, @@ -43950,9 +44782,9 @@ }, "wait": { "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", - "flatPath": "v1beta1/skills/{skillsId}/operations/{operationsId}:wait", + "flatPath": "v1beta1/servingProfiles/{servingProfilesId}/operations/{operationsId}:wait", "httpMethod": "POST", - "id": "aiplatform.skills.operations.wait", + "id": "aiplatform.servingProfiles.operations.wait", "parameterOrder": [ "name" ], @@ -43960,7 +44792,7 @@ "name": { "description": "The name of the operation resource to wait on.", "location": "path", - "pattern": "^skills/[^/]+/operations/[^/]+$", + "pattern": "^servingProfiles/[^/]+/operations/[^/]+$", "required": true, "type": "string" }, @@ -43983,15 +44815,40 @@ } } }, - "solvers": { + "skills": { "resources": { "operations": { "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", + "flatPath": "v1beta1/skills/{skillsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "aiplatform.skills.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^skills/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:cancel", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1beta1/solvers/{solversId}/operations/{operationsId}", + "flatPath": "v1beta1/skills/{skillsId}/operations/{operationsId}", "httpMethod": "DELETE", - "id": "aiplatform.solvers.operations.delete", + "id": "aiplatform.skills.operations.delete", "parameterOrder": [ "name" ], @@ -43999,7 +44856,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", - "pattern": "^solvers/[^/]+/operations/[^/]+$", + "pattern": "^skills/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -44014,9 +44871,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1beta1/solvers/{solversId}/operations/{operationsId}", + "flatPath": "v1beta1/skills/{skillsId}/operations/{operationsId}", "httpMethod": "GET", - "id": "aiplatform.solvers.operations.get", + "id": "aiplatform.skills.operations.get", "parameterOrder": [ "name" ], @@ -44024,7 +44881,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^solvers/[^/]+/operations/[^/]+$", + "pattern": "^skills/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -44039,9 +44896,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", - "flatPath": "v1beta1/solvers/{solversId}/operations", + "flatPath": "v1beta1/skills/{skillsId}/operations", "httpMethod": "GET", - "id": "aiplatform.solvers.operations.list", + "id": "aiplatform.skills.operations.list", "parameterOrder": [ "name" ], @@ -44054,7 +44911,142 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", - "pattern": "^solvers/[^/]+$", + "pattern": "^skills/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1beta1/{+name}/operations", + "response": { + "$ref": "GoogleLongrunningListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "wait": { + "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", + "flatPath": "v1beta1/skills/{skillsId}/operations/{operationsId}:wait", + "httpMethod": "POST", + "id": "aiplatform.skills.operations.wait", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to wait on.", + "location": "path", + "pattern": "^skills/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + }, + "timeout": { + "description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", + "format": "google-duration", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}:wait", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "solvers": { + "resources": { + "operations": { + "methods": { + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1beta1/solvers/{solversId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "aiplatform.solvers.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^solvers/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1beta1/solvers/{solversId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "aiplatform.solvers.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^solvers/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + "flatPath": "v1beta1/solvers/{solversId}/operations", + "httpMethod": "GET", + "id": "aiplatform.solvers.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^solvers/[^/]+$", "required": true, "type": "string" }, @@ -45523,13 +46515,27 @@ } } }, - "revision": "20260506", + "revision": "20260515", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoExperiments": { "description": "Experimental parameters for video generation.", "id": "CloudAiLargeModelsVisionGenerateVideoExperiments", "properties": { + "codec": { + "description": "Optional. Video codec to use for output.", + "enum": [ + "VIDEO_CODEC_UNSPECIFIED", + "VIDEO_CODEC_H264", + "VIDEO_CODEC_PRORES" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, "conditioningFrames": { "description": "Conditioning frames for veo experimental models ONLY, not to be confused with keyframes (ID:31) in GenerateVideoRequest.", "items": { @@ -45818,264 +46824,3615 @@ }, "type": "object" }, - "CloudAiLargeModelsVisionPromptInputs": { - "description": "\"Direct\" prompting for Experimental Video Generation. These will be sent directly to the LDM without being rewritten.", - "id": "CloudAiLargeModelsVisionPromptInputs", + "CloudAiLargeModelsVisionPromptInputs": { + "description": "\"Direct\" prompting for Experimental Video Generation. These will be sent directly to the LDM without being rewritten.", + "id": "CloudAiLargeModelsVisionPromptInputs", + "properties": { + "audioPrompt": { + "description": "Description of audio content in the video, without speech.", + "type": "string" + }, + "negativeAudioPrompt": { + "description": "Negative description of audio content in the video.", + "type": "string" + }, + "negativePrompt": { + "description": "Single negative prompt for what not to generate.", + "type": "string" + }, + "promptChunks": { + "description": "2s, 256 tokens per chunk, 4 total chunks. Required.", + "items": { + "type": "string" + }, + "type": "array" + }, + "transcript": { + "description": "Spoken transcript of the video for characters.", + "type": "string" + } + }, + "type": "object" + }, + "CloudAiLargeModelsVisionRaiInfo": { + "description": "Next ID: 6", + "id": "CloudAiLargeModelsVisionRaiInfo", + "properties": { + "blockedEntities": { + "description": "List of blocked entities from the blocklist if it is detected.", + "items": { + "type": "string" + }, + "type": "array" + }, + "detectedLabels": { + "description": "The list of detected labels for different rai categories.", + "items": { + "$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabels" + }, + "type": "array" + }, + "modelName": { + "description": "The model name used to indexing into the RaiFilterConfig map. Would either be one of imagegeneration@002-006, imagen-3.0-... api endpoint names, or internal names used for mapping to different filter configs (genselfie, ai_watermark) than its api endpoint.", + "type": "string" + }, + "raiCategories": { + "description": "List of rai categories' information to return", + "items": { + "type": "string" + }, + "type": "array" + }, + "scores": { + "description": "List of rai scores mapping to the rai categories. Rounded to 1 decimal place.", + "items": { + "format": "float", + "type": "number" + }, + "type": "array" + } + }, + "type": "object" + }, + "CloudAiLargeModelsVisionRaiInfoDetectedLabels": { + "description": "Filters returning list of deteceted labels, scores, and bounding boxes.", + "id": "CloudAiLargeModelsVisionRaiInfoDetectedLabels", + "properties": { + "entities": { + "description": "The list of detected entities for the rai signal.", + "items": { + "$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity" + }, + "type": "array" + }, + "raiCategory": { + "description": "The RAI category for the deteceted labels.", + "type": "string" + } + }, + "type": "object" + }, + "CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox": { + "description": "An integer bounding box of original pixels of the image for the detected labels.", + "id": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox", + "properties": { + "x1": { + "description": "The X coordinate of the top-left corner, in pixels.", + "format": "int32", + "type": "integer" + }, + "x2": { + "description": "The X coordinate of the bottom-right corner, in pixels.", + "format": "int32", + "type": "integer" + }, + "y1": { + "description": "The Y coordinate of the top-left corner, in pixels.", + "format": "int32", + "type": "integer" + }, + "y2": { + "description": "The Y coordinate of the bottom-right corner, in pixels.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity": { + "description": "The properties for a detected entity from the rai signal.", + "id": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity", + "properties": { + "boundingBox": { + "$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox", + "description": "Bounding box of the label" + }, + "description": { + "description": "Description of the label", + "type": "string" + }, + "iouScore": { + "description": "The intersection ratio between the detection bounding box and the mask.", + "format": "float", + "type": "number" + }, + "mid": { + "description": "MID of the label", + "type": "string" + }, + "score": { + "description": "Confidence score of the label", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "CloudAiLargeModelsVisionSemanticFilterResponse": { + "id": "CloudAiLargeModelsVisionSemanticFilterResponse", + "properties": { + "namedBoundingBoxes": { + "description": "Class labels of the bounding boxes that failed the semantic filtering. Bounding box coordinates.", + "items": { + "$ref": "CloudAiLargeModelsVisionNamedBoundingBox" + }, + "type": "array" + }, + "passedSemanticFilter": { + "description": "This response is added when semantic filter config is turned on in EditConfig. It reports if this image is passed semantic filter response. If passed_semantic_filter is false, the bounding box information will be populated for user to check what caused the semantic filter to fail.", + "type": "boolean" + } + }, + "type": "object" + }, + "CloudAiLargeModelsVisionVideo": { + "description": "Video", + "id": "CloudAiLargeModelsVisionVideo", + "properties": { + "encodedVideo": { + "description": "Base 64 encoded video bytes.", + "type": "string" + }, + "encoding": { + "description": "Video encoding, for example \"video/mp4\".", + "type": "string" + }, + "text": { + "description": "Text/Expanded text input for Help Me Write.", + "type": "string" + }, + "uri": { + "description": "Path to another storage (typically Google Cloud Storage).", + "type": "string" + }, + "video": { + "description": "Raw bytes.", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, + "CloudAiPlatformCommonCreatePipelineJobApiErrorDetail": { + "description": "Create API error message for Vertex Pipeline.", + "id": "CloudAiPlatformCommonCreatePipelineJobApiErrorDetail", + "properties": { + "errorCause": { + "description": "The error root cause returned by CreatePipelineJob API.", + "enum": [ + "ERROR_CAUSE_UNSPECIFIED", + "INVALID_PIPELINE_SPEC_FORMAT", + "INVALID_PIPELINE_SPEC", + "INVALID_DEPLOYMENT_CONFIG", + "INVALID_DEPLOYMENT_SPEC", + "INVALID_INSTANCE_SCHEMA", + "INVALID_CUSTOM_JOB", + "INVALID_CONTAINER_SPEC", + "INVALID_NOTIFICATION_EMAIL_SETUP", + "INVALID_SERVICE_ACCOUNT_SETUP", + "INVALID_KMS_SETUP", + "INVALID_NETWORK_SETUP", + "INVALID_PIPELINE_TASK_SPEC", + "INVALID_PIPELINE_TASK_ARTIFACT", + "INVALID_IMPORTER_SPEC", + "INVALID_RESOLVER_SPEC", + "INVALID_RUNTIME_PARAMETERS", + "CLOUD_API_NOT_ENABLED", + "INVALID_GCS_INPUT_URI", + "INVALID_GCS_OUTPUT_URI", + "INVALID_COMPONENT_SPEC", + "INVALID_DAG_OUTPUTS_SPEC", + "INVALID_DAG_SPEC", + "INSUFFICIENT_QUOTA", + "INTERNAL" + ], + "enumDescriptions": [ + "Should never be used.", + "IR Pipeline Spec can not been parsed to yaml or json format.", + "A pipeline spec is invalid.", + "A deployment config is invalid.", + "A deployment spec is invalid.", + "An instance schema is invalid.", + "A custom job is invalid.", + "A container spec is invalid.", + "Notification email setup is invalid.", + "Service account setup is invalid.", + "KMS setup is invalid.", + "Network setup is invalid.", + "Task spec is invalid.", + "Task artifact is invalid.", + "Importer spec is invalid.", + "Resolver spec is invalid.", + "Runtime Parameters are invalid.", + "Cloud API not enabled.", + "Invalid Cloud Storage input uri", + "Invalid Cloud Storage output uri", + "Component spec of pipeline is invalid.", + "DagOutputsSpec is invalid.", + "DagSpec is invalid.", + "Project does not have enough quota.", + "An internal error with unknown cause." + ], + "type": "string" + }, + "publicMessage": { + "description": "Public messages contains actionable items for the error cause.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiField": { + "description": "Represents a single field in a struct.", + "id": "GenaiField", + "properties": { + "name": { + "type": "string" + }, + "value": { + "$ref": "GenaiValue" + } + }, + "type": "object" + }, + "GenaiListValue": { + "description": "`ListValue` is a wrapper around a repeated field of values.", + "id": "GenaiListValue", + "properties": { + "values": { + "description": "Repeated field of dynamically typed values.", + "items": { + "$ref": "GenaiValue" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiStruct": { + "description": "`Struct` represents a structured data value, consisting of fields which map to dynamically typed values.", + "id": "GenaiStruct", + "properties": { + "fields": { + "description": "Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.", + "items": { + "$ref": "GenaiField" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiValue": { + "description": "`Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.", + "id": "GenaiValue", + "properties": { + "boolValue": { + "description": "Represents a boolean value.", + "type": "boolean" + }, + "listValue": { + "$ref": "GenaiListValue", + "description": "Represents a repeated `Value`." + }, + "nullValue": { + "description": "Represents a null value.", + "enum": [ + "NULL_VALUE" + ], + "enumDescriptions": [ + "Null value." + ], + "type": "string" + }, + "numberValue": { + "description": "Represents a double value.", + "format": "double", + "type": "number" + }, + "stringValue": { + "description": "Represents a string value.", + "type": "string" + }, + "structValue": { + "$ref": "GenaiStruct", + "description": "Represents a structured value." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1AgentInteraction": { + "description": "Interaction for generating the completion using agents.", + "id": "GenaiVertexV1beta1AgentInteraction", + "properties": { + "agent": { + "description": "The name of the `Agent` used for generating the completion.", + "type": "string" + }, + "deep_research_config": { + "$ref": "GenaiVertexV1beta1DeepResearchAgentConfig" + }, + "dynamic_config": { + "$ref": "GenaiVertexV1beta1DynamicAgentConfig" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1AllowedTools": { + "description": "The configuration for allowed tools.", + "id": "GenaiVertexV1beta1AllowedTools", + "properties": { + "mode": { + "description": "The mode of the tool choice.", + "enum": [ + "TOOL_CHOICE_TYPE_UNSPECIFIED", + "AUTO", + "ANY", + "NONE", + "VALIDATED" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Auto tool choice.", + "Any tool choice.", + "No tool choice.", + "Validated tool choice." + ], + "type": "string" + }, + "tools": { + "description": "The names of the allowed tools.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ArgumentsDelta": { + "id": "GenaiVertexV1beta1ArgumentsDelta", + "properties": { + "partial_arguments": { + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1AudioContent": { + "description": "An audio content block.", + "id": "GenaiVertexV1beta1AudioContent", + "properties": { + "channels": { + "description": "The number of audio channels.", + "format": "int32", + "type": "integer" + }, + "data": { + "description": "The audio content.", + "format": "byte", + "type": "string" + }, + "mime_type": { + "description": "The mime type of the audio.", + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_WAV", + "TYPE_MP3", + "TYPE_AIFF", + "TYPE_AAC", + "TYPE_OGG", + "TYPE_FLAC", + "TYPE_MPEG", + "TYPE_M4A", + "TYPE_L16", + "TYPE_OPUS", + "TYPE_ALAW", + "TYPE_MULAW" + ], + "enumDescriptions": [ + "", + "WAV audio format", + "MP3 audio format", + "AIFF audio format", + "AAC audio format", + "OGG audio format", + "FLAC audio format", + "MPEG audio format", + "M4A audio format", + "L16 audio format", + "OPUS audio format", + "ALAW audio format", + "MULAW audio format" + ], + "type": "string" + }, + "sample_rate": { + "description": "The sample rate of the audio.", + "format": "int32", + "type": "integer" + }, + "uri": { + "description": "The URI of the audio.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1AudioDelta": { + "id": "GenaiVertexV1beta1AudioDelta", + "properties": { + "channels": { + "description": "The number of audio channels.", + "format": "int32", + "type": "integer" + }, + "data": { + "format": "byte", + "type": "string" + }, + "mime_type": { + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_WAV", + "TYPE_MP3", + "TYPE_AIFF", + "TYPE_AAC", + "TYPE_OGG", + "TYPE_FLAC", + "TYPE_MPEG", + "TYPE_M4A", + "TYPE_L16", + "TYPE_OPUS", + "TYPE_ALAW", + "TYPE_MULAW" + ], + "enumDescriptions": [ + "", + "WAV audio format", + "MP3 audio format", + "AIFF audio format", + "AAC audio format", + "OGG audio format", + "FLAC audio format", + "MPEG audio format", + "M4A audio format", + "L16 audio format", + "OPUS audio format", + "ALAW audio format", + "MULAW audio format" + ], + "type": "string" + }, + "rate": { + "deprecated": true, + "description": "Deprecated. Use sample_rate instead. The value is ignored.", + "format": "int32", + "type": "integer" + }, + "sample_rate": { + "description": "The sample rate of the audio.", + "format": "int32", + "type": "integer" + }, + "uri": { + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1AudioResponseFormat": { + "description": "Configuration for audio output format.", + "id": "GenaiVertexV1beta1AudioResponseFormat", + "properties": { + "bit_rate": { + "description": "Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).", + "format": "int32", + "type": "integer" + }, + "delivery": { + "description": "The delivery mode for the audio output.", + "enum": [ + "DELIVERY_UNSPECIFIED", + "INLINE", + "URL" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Audio data is returned inline in the response.", + "Audio data is returned as a URL." + ], + "type": "string" + }, + "mime_type": { + "description": "The MIME type of the audio output.", + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_MP3", + "TYPE_OGG_OPUS", + "TYPE_L16", + "TYPE_WAV", + "TYPE_ALAW", + "TYPE_MULAW" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "MP3 audio format.", + "OGG Opus audio format.", + "Raw PCM (L16) audio format.", + "WAV audio format.", + "A-law audio format.", + "Mu-law audio format." + ], + "type": "string" + }, + "sample_rate": { + "description": "Sample rate in Hz.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1CodeExecution": { + "description": "A tool that can be used by the model to execute code.", + "id": "GenaiVertexV1beta1CodeExecution", + "properties": {}, + "type": "object" + }, + "GenaiVertexV1beta1CodeExecutionCallContent": { + "description": "Code execution content.", + "id": "GenaiVertexV1beta1CodeExecutionCallContent", + "properties": { + "arguments": { + "$ref": "GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments", + "description": "Required. The arguments to pass to the code execution." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments": { + "description": "The arguments to pass to the code execution.", + "id": "GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments", + "properties": { + "code": { + "description": "The code to be executed.", + "type": "string" + }, + "language": { + "description": "Programming language of the `code`.", + "enum": [ + "LANGUAGE_UNSPECIFIED", + "PYTHON" + ], + "enumDescriptions": [ + "Unspecified language. This value should not be used.", + "Python >= 3.10, with numpy and simpy available." + ], + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1CodeExecutionCallDelta": { + "id": "GenaiVertexV1beta1CodeExecutionCallDelta", + "properties": { + "arguments": { + "$ref": "GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1CodeExecutionCallStep": { + "description": "Code execution call step.", + "id": "GenaiVertexV1beta1CodeExecutionCallStep", + "properties": { + "arguments": { + "$ref": "GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments", + "description": "Required. The arguments to pass to the code execution." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments": { + "description": "The arguments to pass to the code execution.", + "id": "GenaiVertexV1beta1CodeExecutionCallStepCodeExecutionCallStepArguments", + "properties": { + "code": { + "description": "The code to be executed.", + "type": "string" + }, + "language": { + "description": "Programming language of the `code`.", + "enum": [ + "LANGUAGE_UNSPECIFIED", + "PYTHON" + ], + "enumDescriptions": [ + "Unspecified language. This value should not be used.", + "Python >= 3.10, with numpy and simpy available." + ], + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1CodeExecutionResultContent": { + "description": "Code execution result content.", + "id": "GenaiVertexV1beta1CodeExecutionResultContent", + "properties": { + "is_error": { + "description": "Whether the code execution resulted in an error.", + "type": "boolean" + }, + "result": { + "description": "Required. The output of the code execution.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1CodeExecutionResultDelta": { + "id": "GenaiVertexV1beta1CodeExecutionResultDelta", + "properties": { + "is_error": { + "type": "boolean" + }, + "result": { + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1CodeExecutionResultStep": { + "description": "Code execution result step.", + "id": "GenaiVertexV1beta1CodeExecutionResultStep", + "properties": { + "is_error": { + "description": "Whether the code execution resulted in an error.", + "type": "boolean" + }, + "result": { + "description": "Required. The output of the code execution.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ComputerUse": { + "description": "A tool that can be used by the model to interact with the computer.", + "id": "GenaiVertexV1beta1ComputerUse", + "properties": { + "environment": { + "description": "The environment being operated.", + "enum": [ + "ENVIRONMENT_UNSPECIFIED", + "BROWSER" + ], + "enumDescriptions": [ + "Defaults to browser.", + "Operates in a web browser." + ], + "type": "string" + }, + "excluded_predefined_functions": { + "description": "The list of predefined functions that are excluded from the model call.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1Content": { + "description": "The content of the response.", + "id": "GenaiVertexV1beta1Content", + "properties": { + "audio": { + "$ref": "GenaiVertexV1beta1AudioContent" + }, + "document": { + "$ref": "GenaiVertexV1beta1DocumentContent" + }, + "image": { + "$ref": "GenaiVertexV1beta1ImageContent" + }, + "text": { + "$ref": "GenaiVertexV1beta1TextContent" + }, + "thought": { + "$ref": "GenaiVertexV1beta1ThoughtContent", + "deprecated": true + }, + "toolCall": { + "$ref": "GenaiVertexV1beta1ToolCallContent", + "deprecated": true + }, + "toolResult": { + "$ref": "GenaiVertexV1beta1ToolResultContent", + "deprecated": true + }, + "video": { + "$ref": "GenaiVertexV1beta1VideoContent" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ContentDelta": { + "id": "GenaiVertexV1beta1ContentDelta", + "properties": { + "delta": { + "$ref": "GenaiVertexV1beta1ContentDeltaData" + }, + "index": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ContentDeltaData": { + "description": "The delta content data for a content block.", + "id": "GenaiVertexV1beta1ContentDeltaData", + "properties": { + "audio": { + "$ref": "GenaiVertexV1beta1AudioDelta" + }, + "document": { + "$ref": "GenaiVertexV1beta1DocumentDelta" + }, + "image": { + "$ref": "GenaiVertexV1beta1ImageDelta" + }, + "text": { + "$ref": "GenaiVertexV1beta1TextDelta" + }, + "textAnnotation": { + "$ref": "GenaiVertexV1beta1TextAnnotationDelta" + }, + "thoughtSignature": { + "$ref": "GenaiVertexV1beta1ThoughtSignatureDelta" + }, + "thoughtSummary": { + "$ref": "GenaiVertexV1beta1ThoughtSummaryDelta" + }, + "toolCall": { + "$ref": "GenaiVertexV1beta1ToolCallDelta" + }, + "toolResult": { + "$ref": "GenaiVertexV1beta1ToolResultDelta" + }, + "video": { + "$ref": "GenaiVertexV1beta1VideoDelta" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ContentList": { + "description": "A list of Content.", + "id": "GenaiVertexV1beta1ContentList", + "properties": { + "contents": { + "description": "The contents of the list.", + "items": { + "$ref": "GenaiVertexV1beta1Content" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ContentStart": { + "id": "GenaiVertexV1beta1ContentStart", + "properties": { + "content": { + "$ref": "GenaiVertexV1beta1Content" + }, + "index": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ContentStop": { + "id": "GenaiVertexV1beta1ContentStop", + "properties": { + "index": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1CreateInteractionRequest": { + "description": "Configuration parameters for creating an interaction.", + "id": "GenaiVertexV1beta1CreateInteractionRequest", + "properties": { + "background": { + "description": "Input only. Whether to run the model interaction in the background.", + "type": "boolean" + }, + "interaction": { + "$ref": "GenaiVertexV1beta1Interaction", + "description": "The interaction to create." + }, + "store": { + "description": "Input only. Whether to store the response and request for later retrieval.", + "type": "boolean" + }, + "stream": { + "description": "Input only. Whether the interaction will be streamed.", + "type": "boolean" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1DeepResearchAgentConfig": { + "description": "Configuration for the Deep Research agent.", + "id": "GenaiVertexV1beta1DeepResearchAgentConfig", + "properties": { + "collaborative_planning": { + "description": "Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.", + "type": "boolean" + }, + "thinking_summaries": { + "description": "Whether to include thought summaries in the response.", + "enum": [ + "THINKING_SUMMARIES_UNSPECIFIED", + "THINKING_SUMMARIES_AUTO", + "THINKING_SUMMARIES_NONE" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Auto thinking summaries.", + "No thinking summaries." + ], + "type": "string" + }, + "visualization": { + "description": "Whether to include visualizations in the response.", + "enum": [ + "UNSPECIFIED", + "OFF", + "AUTO" + ], + "enumDescriptions": [ + "The default visualization mode. Will default to AUTO.", + "Do not include visualizations.", + "Automatically include visualizations." + ], + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1DocumentContent": { + "description": "A document content block.", + "id": "GenaiVertexV1beta1DocumentContent", + "properties": { + "data": { + "description": "The document content.", + "format": "byte", + "type": "string" + }, + "mime_type": { + "description": "The mime type of the document.", + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_PDF" + ], + "enumDescriptions": [ + "", + "PDF document format" + ], + "type": "string" + }, + "uri": { + "description": "The URI of the document.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1DocumentDelta": { + "id": "GenaiVertexV1beta1DocumentDelta", + "properties": { + "data": { + "format": "byte", + "type": "string" + }, + "mime_type": { + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_PDF" + ], + "enumDescriptions": [ + "", + "PDF document format" + ], + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1DynamicAgentConfig": { + "description": "Configuration for dynamic agents.", + "id": "GenaiVertexV1beta1DynamicAgentConfig", + "properties": { + "config": { + "$ref": "GenaiStruct", + "description": "For agents that are not supported statically in the API definition." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1Error": { + "description": "Error message from an interaction.", + "id": "GenaiVertexV1beta1Error", + "properties": { + "code": { + "description": "A URI that identifies the error type.", + "type": "string" + }, + "message": { + "description": "A human-readable error message.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ErrorEvent": { + "id": "GenaiVertexV1beta1ErrorEvent", + "properties": { + "error": { + "$ref": "GenaiVertexV1beta1Error" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FileCitation": { + "description": "A file citation annotation.", + "id": "GenaiVertexV1beta1FileCitation", + "properties": { + "custom_metadata": { + "$ref": "GenaiStruct", + "description": "User provided metadata about the retrieved context." + }, + "document_uri": { + "description": "The URI of the file.", + "type": "string" + }, + "file_name": { + "description": "The name of the file.", + "type": "string" + }, + "media_id": { + "description": "Media ID in-case of image citations, if applicable.", + "type": "string" + }, + "page_number": { + "description": "Page number of the cited document, if applicable.", + "format": "int32", + "type": "integer" + }, + "source": { + "description": "Source attributed for a portion of the text.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FileSearch": { + "description": "A tool that can be used by the model to search files.", + "id": "GenaiVertexV1beta1FileSearch", + "properties": { + "file_search_store_names": { + "description": "The file search store names to search.", + "items": { + "type": "string" + }, + "type": "array" + }, + "metadata_filter": { + "description": "Metadata filter to apply to the semantic retrieval documents and chunks.", + "type": "string" + }, + "top_k": { + "description": "The number of semantic retrieval chunks to retrieve.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FileSearchCallContent": { + "description": "File Search content.", + "id": "GenaiVertexV1beta1FileSearchCallContent", + "properties": {}, + "type": "object" + }, + "GenaiVertexV1beta1FileSearchCallDelta": { + "id": "GenaiVertexV1beta1FileSearchCallDelta", + "properties": {}, + "type": "object" + }, + "GenaiVertexV1beta1FileSearchCallStep": { + "description": "File Search call step.", + "id": "GenaiVertexV1beta1FileSearchCallStep", + "properties": {}, + "type": "object" + }, + "GenaiVertexV1beta1FileSearchResultContent": { + "description": "File Search result content.", + "id": "GenaiVertexV1beta1FileSearchResultContent", + "properties": { + "result": { + "description": "Optional. The results of the File Search.", + "items": { + "$ref": "GenaiVertexV1beta1FileSearchResultContentFileSearchResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FileSearchResultContentFileSearchResult": { + "description": "The result of the File Search.", + "id": "GenaiVertexV1beta1FileSearchResultContentFileSearchResult", + "properties": {}, + "type": "object" + }, + "GenaiVertexV1beta1FileSearchResultDelta": { + "id": "GenaiVertexV1beta1FileSearchResultDelta", + "properties": { + "result": { + "items": { + "$ref": "GenaiVertexV1beta1FileSearchResultContentFileSearchResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FileSearchResultStep": { + "description": "File Search result step.", + "id": "GenaiVertexV1beta1FileSearchResultStep", + "properties": {}, + "type": "object" + }, + "GenaiVertexV1beta1Function": { + "description": "A tool that can be used by the model.", + "id": "GenaiVertexV1beta1Function", + "properties": { + "description": { + "description": "A description of the function.", + "type": "string" + }, + "name": { + "description": "The name of the function.", + "type": "string" + }, + "parameters": { + "$ref": "GenaiValue", + "description": "The JSON Schema for the function's parameters." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FunctionCallContent": { + "description": "A function tool call content block.", + "id": "GenaiVertexV1beta1FunctionCallContent", + "properties": { + "arguments": { + "$ref": "GenaiStruct", + "description": "Required. The arguments to pass to the function." + }, + "name": { + "description": "Required. The name of the tool to call.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FunctionCallDelta": { + "id": "GenaiVertexV1beta1FunctionCallDelta", + "properties": { + "arguments": { + "$ref": "GenaiStruct" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FunctionCallStep": { + "description": "A function tool call step.", + "id": "GenaiVertexV1beta1FunctionCallStep", + "properties": { + "arguments": { + "$ref": "GenaiStruct", + "description": "Required. The arguments to pass to the function." + }, + "name": { + "description": "Required. The name of the tool to call.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FunctionResultContent": { + "description": "A function tool result content block.", + "id": "GenaiVertexV1beta1FunctionResultContent", + "properties": { + "contentList": { + "$ref": "GenaiVertexV1beta1FunctionResultSubcontentList" + }, + "is_error": { + "description": "Whether the tool call resulted in an error.", + "type": "boolean" + }, + "name": { + "description": "The name of the tool that was called.", + "type": "string" + }, + "stringResult": { + "type": "string" + }, + "structResult": { + "$ref": "GenaiStruct" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FunctionResultDelta": { + "id": "GenaiVertexV1beta1FunctionResultDelta", + "properties": { + "contentList": { + "$ref": "GenaiVertexV1beta1FunctionResultSubcontentList" + }, + "is_error": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "stringResult": { + "type": "string" + }, + "structResult": { + "$ref": "GenaiStruct" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FunctionResultStep": { + "description": "Result of a function tool call.", + "id": "GenaiVertexV1beta1FunctionResultStep", + "properties": { + "contentList": { + "$ref": "GenaiVertexV1beta1FunctionResultSubcontentList" + }, + "is_error": { + "description": "Whether the tool call resulted in an error.", + "type": "boolean" + }, + "name": { + "description": "The name of the tool that was called.", + "type": "string" + }, + "stringResult": { + "type": "string" + }, + "structResult": { + "$ref": "GenaiStruct" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FunctionResultSubcontent": { + "id": "GenaiVertexV1beta1FunctionResultSubcontent", + "properties": { + "image": { + "$ref": "GenaiVertexV1beta1ImageContent" + }, + "text": { + "$ref": "GenaiVertexV1beta1TextContent" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1FunctionResultSubcontentList": { + "id": "GenaiVertexV1beta1FunctionResultSubcontentList", + "properties": { + "contents": { + "items": { + "$ref": "GenaiVertexV1beta1FunctionResultSubcontent" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GenerationConfig": { + "description": "Configuration parameters for model interactions.", + "id": "GenaiVertexV1beta1GenerationConfig", + "properties": { + "image_config": { + "$ref": "GenaiVertexV1beta1ImageConfig", + "description": "Configuration for image interaction." + }, + "max_output_tokens": { + "description": "The maximum number of tokens to include in the response.", + "format": "int32", + "type": "integer" + }, + "seed": { + "description": "Seed used in decoding for reproducibility.", + "format": "int32", + "type": "integer" + }, + "speech_config": { + "description": "Configuration for speech interaction.", + "items": { + "$ref": "GenaiVertexV1beta1SpeechConfig" + }, + "type": "array" + }, + "stop_sequences": { + "description": "A list of character sequences that will stop output interaction.", + "items": { + "type": "string" + }, + "type": "array" + }, + "temperature": { + "description": "Controls the randomness of the output.", + "format": "float", + "type": "number" + }, + "thinking_level": { + "description": "The level of thought tokens that the model should generate.", + "enum": [ + "THINKING_LEVEL_UNSPECIFIED", + "THINKING_LEVEL_MINIMAL", + "THINKING_LEVEL_LOW", + "THINKING_LEVEL_MEDIUM", + "THINKING_LEVEL_HIGH" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Little to no thinking.", + "Low thinking level.", + "Medium thinking level.", + "High thinking level." + ], + "type": "string" + }, + "thinking_summaries": { + "description": "Whether to include thought summaries in the response.", + "enum": [ + "THINKING_SUMMARIES_UNSPECIFIED", + "THINKING_SUMMARIES_AUTO", + "THINKING_SUMMARIES_NONE" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Auto thinking summaries.", + "No thinking summaries." + ], + "type": "string" + }, + "toolChoiceConfig": { + "$ref": "GenaiVertexV1beta1ToolChoiceConfig", + "description": "The config for the tool choice." + }, + "toolChoiceMode": { + "description": "The mode of the tool choice.", + "enum": [ + "TOOL_CHOICE_TYPE_UNSPECIFIED", + "AUTO", + "ANY", + "NONE", + "VALIDATED" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Auto tool choice.", + "Any tool choice.", + "No tool choice.", + "Validated tool choice." + ], + "type": "string" + }, + "top_p": { + "description": "The maximum cumulative probability of tokens to consider when sampling.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMaps": { + "description": "A tool that can be used by the model to call Google Maps.", + "id": "GenaiVertexV1beta1GoogleMaps", + "properties": { + "enable_widget": { + "description": "Whether to return a widget context token in the tool call result of the response.", + "type": "boolean" + }, + "latitude": { + "description": "The latitude of the user's location.", + "format": "double", + "type": "number" + }, + "longitude": { + "description": "The longitude of the user's location.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMapsCallContent": { + "description": "Google Maps content.", + "id": "GenaiVertexV1beta1GoogleMapsCallContent", + "properties": { + "arguments": { + "$ref": "GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments", + "description": "The arguments to pass to the Google Maps tool." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments": { + "description": "The arguments to pass to the Google Maps tool.", + "id": "GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments", + "properties": { + "queries": { + "description": "The queries to be executed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMapsCallDelta": { + "id": "GenaiVertexV1beta1GoogleMapsCallDelta", + "properties": { + "arguments": { + "$ref": "GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments", + "description": "The arguments to pass to the Google Maps tool." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMapsCallStep": { + "description": "Google Maps call step.", + "id": "GenaiVertexV1beta1GoogleMapsCallStep", + "properties": { + "arguments": { + "$ref": "GenaiVertexV1beta1GoogleMapsCallStepGoogleMapsCallStepArguments", + "description": "The arguments to pass to the Google Maps tool." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMapsCallStepGoogleMapsCallStepArguments": { + "description": "The arguments to pass to the Google Maps tool.", + "id": "GenaiVertexV1beta1GoogleMapsCallStepGoogleMapsCallStepArguments", + "properties": { + "queries": { + "description": "The queries to be executed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMapsResultContent": { + "description": "Google Maps result content.", + "id": "GenaiVertexV1beta1GoogleMapsResultContent", + "properties": { + "result": { + "description": "Required. The results of the Google Maps.", + "items": { + "$ref": "GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult": { + "description": "The result of the Google Maps.", + "id": "GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult", + "properties": { + "places": { + "description": "The places that were found.", + "items": { + "$ref": "GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces" + }, + "type": "array" + }, + "widget_context_token": { + "description": "Resource name of the Google Maps widget context token.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces": { + "id": "GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResultPlaces", + "properties": { + "name": { + "description": "Title of the place.", + "type": "string" + }, + "place_id": { + "description": "The ID of the place, in `places/{place_id}` format.", + "type": "string" + }, + "review_snippets": { + "description": "Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.", + "items": { + "$ref": "GenaiVertexV1beta1ReviewSnippet" + }, + "type": "array" + }, + "url": { + "description": "URI reference of the place.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMapsResultDelta": { + "id": "GenaiVertexV1beta1GoogleMapsResultDelta", + "properties": { + "result": { + "description": "The results of the Google Maps.", + "items": { + "$ref": "GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMapsResultStep": { + "description": "Google Maps result step.", + "id": "GenaiVertexV1beta1GoogleMapsResultStep", + "properties": { + "result": { + "items": { + "$ref": "GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem": { + "description": "The result of the Google Maps.", + "id": "GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem", + "properties": { + "places": { + "items": { + "$ref": "GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces" + }, + "type": "array" + }, + "widget_context_token": { + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces": { + "id": "GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces", + "properties": { + "name": { + "type": "string" + }, + "place_id": { + "type": "string" + }, + "review_snippets": { + "items": { + "$ref": "GenaiVertexV1beta1ReviewSnippet" + }, + "type": "array" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleSearch": { + "description": "A tool that can be used by the model to search Google.", + "id": "GenaiVertexV1beta1GoogleSearch", + "properties": { + "search_types": { + "description": "The types of search grounding to enable.", + "items": { + "enum": [ + "SEARCH_TYPE_UNSPECIFIED", + "SEARCH_TYPE_WEB_SEARCH", + "SEARCH_TYPE_IMAGE_SEARCH", + "SEARCH_TYPE_ENTERPRISE_WEB_SEARCH" + ], + "enumDescriptions": [ + "Unspecified search type. This value should not be used.", + "Setting this field enables web search. Only text results are returned.", + "Setting this field enables image search. Image bytes are returned.", + "Setting this field enables enterprise web search." + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleSearchCallContent": { + "description": "Google Search content.", + "id": "GenaiVertexV1beta1GoogleSearchCallContent", + "properties": { + "arguments": { + "$ref": "GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments", + "description": "Required. The arguments to pass to Google Search." + }, + "search_type": { + "description": "The type of search grounding enabled.", + "enum": [ + "SEARCH_TYPE_UNSPECIFIED", + "SEARCH_TYPE_WEB_SEARCH", + "SEARCH_TYPE_IMAGE_SEARCH", + "SEARCH_TYPE_ENTERPRISE_WEB_SEARCH" + ], + "enumDescriptions": [ + "Unspecified search type. This value should not be used.", + "Setting this field enables web search. Only text results are returned.", + "Setting this field enables image search. Image bytes are returned.", + "Setting this field enables enterprise web search." + ], + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments": { + "description": "The arguments to pass to Google Search.", + "id": "GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments", + "properties": { + "queries": { + "description": "Web search queries for the following-up web search.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleSearchCallDelta": { + "id": "GenaiVertexV1beta1GoogleSearchCallDelta", + "properties": { + "arguments": { + "$ref": "GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleSearchCallStep": { + "description": "Google Search call step.", + "id": "GenaiVertexV1beta1GoogleSearchCallStep", + "properties": { + "arguments": { + "$ref": "GenaiVertexV1beta1GoogleSearchCallStepGoogleSearchCallStepArguments", + "description": "Required. The arguments to pass to Google Search." + }, + "search_type": { + "description": "The type of search grounding enabled.", + "enum": [ + "SEARCH_TYPE_UNSPECIFIED", + "SEARCH_TYPE_WEB_SEARCH", + "SEARCH_TYPE_IMAGE_SEARCH", + "SEARCH_TYPE_ENTERPRISE_WEB_SEARCH" + ], + "enumDescriptions": [ + "Unspecified search type. This value should not be used.", + "Setting this field enables web search. Only text results are returned.", + "Setting this field enables image search. Image bytes are returned.", + "Setting this field enables enterprise web search." + ], + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleSearchCallStepGoogleSearchCallStepArguments": { + "description": "The arguments to pass to Google Search.", + "id": "GenaiVertexV1beta1GoogleSearchCallStepGoogleSearchCallStepArguments", + "properties": { + "queries": { + "description": "Web search queries for the following-up web search.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleSearchResultContent": { + "description": "Google Search result content.", + "id": "GenaiVertexV1beta1GoogleSearchResultContent", + "properties": { + "is_error": { + "description": "Whether the Google Search resulted in an error.", + "type": "boolean" + }, + "result": { + "description": "Required. The results of the Google Search.", + "items": { + "$ref": "GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult": { + "description": "The result of the Google Search.", + "id": "GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult", + "properties": { + "search_suggestions": { + "description": "Web content snippet that can be embedded in a web page or an app webview.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleSearchResultDelta": { + "id": "GenaiVertexV1beta1GoogleSearchResultDelta", + "properties": { + "is_error": { + "type": "boolean" + }, + "result": { + "items": { + "$ref": "GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleSearchResultStep": { + "description": "Google Search result step.", + "id": "GenaiVertexV1beta1GoogleSearchResultStep", + "properties": { + "is_error": { + "description": "Whether the Google Search resulted in an error.", + "type": "boolean" + }, + "result": { + "description": "Required. The results of the Google Search.", + "items": { + "$ref": "GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem": { + "description": "The result of the Google Search.", + "id": "GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem", + "properties": { + "search_suggestions": { + "description": "Web content snippet that can be embedded in a web page or an app webview.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ImageConfig": { + "description": "The configuration for image interaction.", + "id": "GenaiVertexV1beta1ImageConfig", + "properties": { + "aspect_ratio": { + "description": "The aspect ratio of the image to generate. Supported aspect ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9. If not specified, the model will choose a default aspect ratio based on any reference images provided.", + "type": "string" + }, + "image_size": { + "description": "Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ImageContent": { + "description": "An image content block.", + "id": "GenaiVertexV1beta1ImageContent", + "properties": { + "data": { + "description": "The image content.", + "format": "byte", + "type": "string" + }, + "mime_type": { + "description": "The mime type of the image.", + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_PNG", + "TYPE_JPEG", + "TYPE_WEBP", + "TYPE_HEIC", + "TYPE_HEIF", + "TYPE_GIF", + "TYPE_BMP", + "TYPE_TIFF" + ], + "enumDescriptions": [ + "", + "PNG image format", + "JPEG image format", + "WebP image format", + "HEIC image format", + "HEIF image format", + "GIF image format", + "BMP image format", + "TIFF image format" + ], + "type": "string" + }, + "resolution": { + "description": "The resolution of the media.", + "enum": [ + "MEDIA_RESOLUTION_UNSPECIFIED", + "LOW", + "MEDIUM", + "HIGH", + "ULTRA_HIGH" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Low resolution.", + "Medium resolution.", + "High resolution.", + "Ultra high resolution." + ], + "type": "string" + }, + "uri": { + "description": "The URI of the image.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ImageDelta": { + "id": "GenaiVertexV1beta1ImageDelta", + "properties": { + "data": { + "format": "byte", + "type": "string" + }, + "mime_type": { + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_PNG", + "TYPE_JPEG", + "TYPE_WEBP", + "TYPE_HEIC", + "TYPE_HEIF", + "TYPE_GIF", + "TYPE_BMP", + "TYPE_TIFF" + ], + "enumDescriptions": [ + "", + "PNG image format", + "JPEG image format", + "WebP image format", + "HEIC image format", + "HEIF image format", + "GIF image format", + "BMP image format", + "TIFF image format" + ], + "type": "string" + }, + "resolution": { + "description": "The resolution of the media.", + "enum": [ + "MEDIA_RESOLUTION_UNSPECIFIED", + "LOW", + "MEDIUM", + "HIGH", + "ULTRA_HIGH" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Low resolution.", + "Medium resolution.", + "High resolution.", + "Ultra high resolution." + ], + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ImageResponseFormat": { + "description": "Configuration for image output format.", + "id": "GenaiVertexV1beta1ImageResponseFormat", + "properties": { + "aspect_ratio": { + "description": "The aspect ratio for the image output.", + "enum": [ + "ASPECT_RATIO_UNSPECIFIED", + "ASPECT_RATIO_ONE_BY_ONE", + "ASPECT_RATIO_TWO_BY_THREE", + "ASPECT_RATIO_THREE_BY_TWO", + "ASPECT_RATIO_THREE_BY_FOUR", + "ASPECT_RATIO_FOUR_BY_THREE", + "ASPECT_RATIO_FOUR_BY_FIVE", + "ASPECT_RATIO_FIVE_BY_FOUR", + "ASPECT_RATIO_NINE_BY_SIXTEEN", + "ASPECT_RATIO_SIXTEEN_BY_NINE", + "ASPECT_RATIO_TWENTY_ONE_BY_NINE", + "ASPECT_RATIO_ONE_BY_EIGHT", + "ASPECT_RATIO_EIGHT_BY_ONE", + "ASPECT_RATIO_ONE_BY_FOUR", + "ASPECT_RATIO_FOUR_BY_ONE" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "1:1 aspect ratio.", + "2:3 aspect ratio.", + "3:2 aspect ratio.", + "3:4 aspect ratio.", + "4:3 aspect ratio.", + "4:5 aspect ratio.", + "5:4 aspect ratio.", + "9:16 aspect ratio.", + "16:9 aspect ratio.", + "21:9 aspect ratio.", + "1:8 aspect ratio.", + "8:1 aspect ratio.", + "1:4 aspect ratio.", + "4:1 aspect ratio." + ], + "type": "string" + }, + "delivery": { + "description": "The delivery mode for the image output.", + "enum": [ + "DELIVERY_UNSPECIFIED", + "INLINE", + "URL" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Image data is returned inline in the response.", + "Image data is returned as a URL." + ], + "type": "string" + }, + "image_size": { + "description": "The size of the image output.", + "enum": [ + "IMAGE_SIZE_UNSPECIFIED", + "IMAGE_SIZE_FIVE_TWELVE", + "IMAGE_SIZE_ONE_K", + "IMAGE_SIZE_TWO_K", + "IMAGE_SIZE_FOUR_K" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "512px image size.", + "1K image size.", + "2K image size.", + "4K image size." + ], + "type": "string" + }, + "mime_type": { + "description": "The MIME type of the image output.", + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_JPEG" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "JPEG image format." + ], + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1Interaction": { + "description": "Response for InteractionService.CreateInteraction.", + "id": "GenaiVertexV1beta1Interaction", + "properties": { + "agentInteraction": { + "$ref": "GenaiVertexV1beta1AgentInteraction", + "description": "Interaction for generating the completion using agents." + }, + "content": { + "$ref": "GenaiVertexV1beta1Content", + "description": "The content for the interaction." + }, + "contentList": { + "$ref": "GenaiVertexV1beta1ContentList", + "deprecated": true, + "description": "The inputs for the interaction." + }, + "created": { + "description": "Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).", + "readOnly": true, + "type": "string" + }, + "id": { + "description": "Required. Output only. A unique identifier for the interaction completion.", + "readOnly": true, + "type": "string" + }, + "modelInteraction": { + "$ref": "GenaiVertexV1beta1ModelInteraction", + "description": "Interaction for generating the completion using models." + }, + "outputs": { + "deprecated": true, + "description": "Output only. Responses from the model.", + "items": { + "$ref": "GenaiVertexV1beta1Content" + }, + "readOnly": true, + "type": "array" + }, + "previous_interaction_id": { + "description": "The ID of the previous interaction, if any.", + "type": "string" + }, + "responseFormatList": { + "$ref": "GenaiVertexV1beta1ResponseFormatList" + }, + "responseFormatSingleton": { + "$ref": "GenaiVertexV1beta1ResponseFormat" + }, + "response_format": { + "$ref": "GenaiValue", + "deprecated": true, + "description": "Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field." + }, + "response_mime_type": { + "description": "The mime type of the response. This is required if response_format is set.", + "type": "string" + }, + "response_modalities": { + "description": "The requested modalities of the response (TEXT, IMAGE, AUDIO).", + "items": { + "enum": [ + "RESPONSE_MODALITY_UNSPECIFIED", + "TEXT", + "IMAGE", + "AUDIO", + "VIDEO", + "DOCUMENT" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Indicates the model should return text.", + "Indicates the model should return images.", + "Indicates the model should return audio.", + "Indicates the model should return video.", + "Indicates the model should return documents." + ], + "type": "string" + }, + "type": "array" + }, + "role": { + "deprecated": true, + "description": "Output only. The role of the interaction.", + "readOnly": true, + "type": "string" + }, + "status": { + "description": "Required. Output only. The status of the interaction.", + "enum": [ + "UNSPECIFIED", + "IN_PROGRESS", + "REQUIRES_ACTION", + "COMPLETED", + "FAILED", + "CANCELLED", + "INCOMPLETE" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "The interaction is in progress.", + "The interaction requires action/input from the user.", + "The interaction is completed.", + "The interaction failed.", + "The interaction was cancelled.", + "The interaction is completed, but contains incomplete results (e.g. hitting max_tokens)." + ], + "readOnly": true, + "type": "string" + }, + "stepList": { + "$ref": "GenaiVertexV1beta1StepList", + "description": "Input only. The steps for the interaction." + }, + "steps": { + "description": "Output only. The steps that make up the interaction.", + "items": { + "$ref": "GenaiVertexV1beta1Step" + }, + "readOnly": true, + "type": "array" + }, + "stringContent": { + "description": "A string input for the interaction, it will be processed as a single text input.", + "type": "string" + }, + "system_instruction": { + "description": "System instruction for the interaction.", + "type": "string" + }, + "tools": { + "description": "A list of tool declarations the model may call during interaction.", + "items": { + "$ref": "GenaiVertexV1beta1Tool" + }, + "type": "array" + }, + "turnList": { + "$ref": "GenaiVertexV1beta1TurnList", + "deprecated": true, + "description": "The turns for the interaction." + }, + "updated": { + "description": "Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).", + "readOnly": true, + "type": "string" + }, + "usage": { + "$ref": "GenaiVertexV1beta1InteractionUsage", + "description": "Output only. Statistics on the interaction request's token usage.", + "readOnly": true + } + }, + "type": "object" + }, + "GenaiVertexV1beta1InteractionCompleteEvent": { + "deprecated": true, + "id": "GenaiVertexV1beta1InteractionCompleteEvent", + "properties": { + "interaction": { + "$ref": "GenaiVertexV1beta1Interaction", + "description": "Required. The completed interaction with empty outputs to reduce the payload size. Use the preceding ContentDelta events for the actual output." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1InteractionCompletedSseEvent": { + "id": "GenaiVertexV1beta1InteractionCompletedSseEvent", + "properties": { + "interaction": { + "$ref": "GenaiVertexV1beta1Interaction", + "description": "Required. The completed interaction with empty outputs to reduce the payload size. Use the preceding ContentDelta events for the actual output." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1InteractionCreatedSseEvent": { + "id": "GenaiVertexV1beta1InteractionCreatedSseEvent", + "properties": { + "interaction": { + "$ref": "GenaiVertexV1beta1Interaction" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1InteractionStartEvent": { + "deprecated": true, + "id": "GenaiVertexV1beta1InteractionStartEvent", + "properties": { + "interaction": { + "$ref": "GenaiVertexV1beta1Interaction" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1InteractionStatusUpdate": { + "id": "GenaiVertexV1beta1InteractionStatusUpdate", + "properties": { + "interaction_id": { + "type": "string" + }, + "status": { + "enum": [ + "UNSPECIFIED", + "IN_PROGRESS", + "REQUIRES_ACTION", + "COMPLETED", + "FAILED", + "CANCELLED", + "INCOMPLETE" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "The interaction is in progress.", + "The interaction requires action/input from the user.", + "The interaction is completed.", + "The interaction failed.", + "The interaction was cancelled.", + "The interaction is completed, but contains incomplete results (e.g. hitting max_tokens)." + ], + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1InteractionStreamingEvent": { + "id": "GenaiVertexV1beta1InteractionStreamingEvent", + "properties": { + "contentDelta": { + "$ref": "GenaiVertexV1beta1ContentDelta", + "description": "The content block delta data, used for content.delta events." + }, + "contentStart": { + "$ref": "GenaiVertexV1beta1ContentStart", + "description": "The content block start data, used for content.start events." + }, + "contentStop": { + "$ref": "GenaiVertexV1beta1ContentStop", + "description": "The content block stop data, used for content.stop events." + }, + "errorEvent": { + "$ref": "GenaiVertexV1beta1ErrorEvent", + "description": "The error event data, used for error events." + }, + "event_id": { + "description": "The event_id token to be used to resume the interaction stream, from this event.", + "type": "string" + }, + "interactionCompleteEvent": { + "$ref": "GenaiVertexV1beta1InteractionCompleteEvent", + "deprecated": true, + "description": "The interaction data, used for interaction.complete events." + }, + "interactionCompletedEvent": { + "$ref": "GenaiVertexV1beta1InteractionCompletedSseEvent", + "description": "The interaction data, used for interaction.completed events." + }, + "interactionCreatedEvent": { + "$ref": "GenaiVertexV1beta1InteractionCreatedSseEvent", + "description": "The interaction data, used for interaction.created events." + }, + "interactionStartEvent": { + "$ref": "GenaiVertexV1beta1InteractionStartEvent", + "deprecated": true, + "description": "The interaction data, used for interaction.start events." + }, + "interactionStatusUpdate": { + "$ref": "GenaiVertexV1beta1InteractionStatusUpdate", + "description": "The interaction status data, used for interaction.status_update events." + }, + "stepDelta": { + "$ref": "GenaiVertexV1beta1StepDelta", + "description": "The step delta data, used for step.delta events." + }, + "stepStart": { + "$ref": "GenaiVertexV1beta1StepStart", + "description": "The step start data, used for step.start events." + }, + "stepStop": { + "$ref": "GenaiVertexV1beta1StepStop", + "description": "The step stop data, used for step.stop events." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1InteractionUsage": { + "description": "Statistics on the interaction request's token usage.", + "id": "GenaiVertexV1beta1InteractionUsage", + "properties": { + "cached_tokens_by_modality": { + "description": "A breakdown of cached token usage by modality.", + "items": { + "$ref": "GenaiVertexV1beta1InteractionUsageModalityTokens" + }, + "type": "array" + }, + "grounding_tool_count": { + "description": "Grounding tool count.", + "items": { + "$ref": "GenaiVertexV1beta1InteractionUsageGroundingToolCount" + }, + "type": "array" + }, + "input_tokens_by_modality": { + "description": "A breakdown of input token usage by modality.", + "items": { + "$ref": "GenaiVertexV1beta1InteractionUsageModalityTokens" + }, + "type": "array" + }, + "output_tokens_by_modality": { + "description": "A breakdown of output token usage by modality.", + "items": { + "$ref": "GenaiVertexV1beta1InteractionUsageModalityTokens" + }, + "type": "array" + }, + "tool_use_tokens_by_modality": { + "description": "A breakdown of tool-use token usage by modality.", + "items": { + "$ref": "GenaiVertexV1beta1InteractionUsageModalityTokens" + }, + "type": "array" + }, + "total_cached_tokens": { + "description": "Number of tokens in the cached part of the prompt (the cached content).", + "format": "int32", + "type": "integer" + }, + "total_input_tokens": { + "description": "Number of tokens in the prompt (context).", + "format": "int32", + "type": "integer" + }, + "total_output_tokens": { + "description": "Total number of tokens across all the generated responses.", + "format": "int32", + "type": "integer" + }, + "total_thought_tokens": { + "description": "Number of tokens of thoughts for thinking models.", + "format": "int32", + "type": "integer" + }, + "total_tokens": { + "description": "Total token count for the interaction request (prompt + responses + other internal tokens).", + "format": "int32", + "type": "integer" + }, + "total_tool_use_tokens": { + "description": "Number of tokens present in tool-use prompt(s).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1InteractionUsageGroundingToolCount": { + "description": "The number of grounding tool counts.", + "id": "GenaiVertexV1beta1InteractionUsageGroundingToolCount", + "properties": { + "count": { + "description": "The number of grounding tool counts.", + "format": "int32", + "type": "integer" + }, + "type": { + "description": "The grounding tool type associated with the count.", + "enum": [ + "TYPE_UNSPECIFIED", + "GOOGLE_SEARCH", + "GOOGLE_MAPS", + "RETRIEVAL" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Grounding with Google Web Search and Image Search, & Web Grounding for Enterprise.", + "Grounding with Google Maps.", + "Grounding with customer's data, for example, VertexAISearch." + ], + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1InteractionUsageModalityTokens": { + "description": "The token count for a single response modality.", + "id": "GenaiVertexV1beta1InteractionUsageModalityTokens", + "properties": { + "modality": { + "description": "The modality associated with the token count.", + "enum": [ + "RESPONSE_MODALITY_UNSPECIFIED", + "TEXT", + "IMAGE", + "AUDIO", + "VIDEO", + "DOCUMENT" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Indicates the model should return text.", + "Indicates the model should return images.", + "Indicates the model should return audio.", + "Indicates the model should return video.", + "Indicates the model should return documents." + ], + "type": "string" + }, + "tokens": { + "description": "Number of tokens for the modality.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1McpServer": { + "description": "A MCPServer is a server that can be called by the model to perform actions.", + "id": "GenaiVertexV1beta1McpServer", + "properties": { + "allowed_tools": { + "description": "The allowed tools.", + "items": { + "$ref": "GenaiVertexV1beta1AllowedTools" + }, + "type": "array" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional: Fields for authentication headers, timeouts, etc., if needed.", + "type": "object" + }, + "name": { + "description": "The name of the MCPServer.", + "type": "string" + }, + "url": { + "description": "The full URL for the MCPServer endpoint. Example: \"https://api.example.com/mcp\"", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1McpServerToolCallContent": { + "description": "MCPServer tool call content.", + "id": "GenaiVertexV1beta1McpServerToolCallContent", + "properties": { + "arguments": { + "$ref": "GenaiStruct", + "description": "Required. The JSON object of arguments for the function." + }, + "name": { + "description": "Required. The name of the tool which was called.", + "type": "string" + }, + "server_name": { + "description": "Required. The name of the used MCP server.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1McpServerToolCallDelta": { + "id": "GenaiVertexV1beta1McpServerToolCallDelta", + "properties": { + "arguments": { + "$ref": "GenaiStruct" + }, + "name": { + "type": "string" + }, + "server_name": { + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1McpServerToolCallStep": { + "description": "MCPServer tool call step.", + "id": "GenaiVertexV1beta1McpServerToolCallStep", + "properties": { + "arguments": { + "$ref": "GenaiStruct", + "description": "Required. The JSON object of arguments for the function." + }, + "name": { + "description": "Required. The name of the tool which was called.", + "type": "string" + }, + "server_name": { + "description": "Required. The name of the used MCP server.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1McpServerToolResultContent": { + "description": "MCPServer tool result content.", + "id": "GenaiVertexV1beta1McpServerToolResultContent", + "properties": { + "contentList": { + "$ref": "GenaiVertexV1beta1FunctionResultSubcontentList" + }, + "name": { + "description": "Name of the tool which is called for this specific tool call.", + "type": "string" + }, + "server_name": { + "description": "The name of the used MCP server.", + "type": "string" + }, + "stringResult": { + "type": "string" + }, + "structResult": { + "$ref": "GenaiStruct" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1McpServerToolResultDelta": { + "id": "GenaiVertexV1beta1McpServerToolResultDelta", + "properties": { + "contentList": { + "$ref": "GenaiVertexV1beta1FunctionResultSubcontentList" + }, + "name": { + "type": "string" + }, + "server_name": { + "type": "string" + }, + "stringResult": { + "type": "string" + }, + "structResult": { + "$ref": "GenaiStruct" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1McpServerToolResultStep": { + "description": "MCPServer tool result step.", + "id": "GenaiVertexV1beta1McpServerToolResultStep", + "properties": { + "contentList": { + "$ref": "GenaiVertexV1beta1FunctionResultSubcontentList" + }, + "name": { + "description": "Name of the tool which is called for this specific tool call.", + "type": "string" + }, + "server_name": { + "description": "The name of the used MCP server.", + "type": "string" + }, + "stringResult": { + "type": "string" + }, + "structResult": { + "$ref": "GenaiStruct" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ModelInteraction": { + "description": "Interaction for generating the completion using models.", + "id": "GenaiVertexV1beta1ModelInteraction", + "properties": { + "generation_config": { + "$ref": "GenaiVertexV1beta1GenerationConfig", + "description": "Input only. Configuration parameters for the model interaction." + }, + "model": { + "description": "The name of the `Model` used for generating the completion.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ModelOutputStep": { + "description": "Output generated by the model.", + "id": "GenaiVertexV1beta1ModelOutputStep", + "properties": { + "content": { + "items": { + "$ref": "GenaiVertexV1beta1Content" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1PlaceCitation": { + "description": "A place citation annotation.", + "id": "GenaiVertexV1beta1PlaceCitation", + "properties": { + "name": { + "description": "Title of the place.", + "type": "string" + }, + "place_id": { + "description": "The ID of the place, in `places/{place_id}` format.", + "type": "string" + }, + "review_snippets": { + "description": "Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.", + "items": { + "$ref": "GenaiVertexV1beta1ReviewSnippet" + }, + "type": "array" + }, + "url": { + "description": "URI reference of the place.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ResponseFormat": { + "id": "GenaiVertexV1beta1ResponseFormat", + "properties": { + "audio": { + "$ref": "GenaiVertexV1beta1AudioResponseFormat" + }, + "image": { + "$ref": "GenaiVertexV1beta1ImageResponseFormat" + }, + "structValue": { + "$ref": "GenaiStruct", + "description": "Multi-discriminator values is already enabled in GAOS" + }, + "text": { + "$ref": "GenaiVertexV1beta1TextResponseFormat" + }, + "video": { + "$ref": "GenaiVertexV1beta1VideoResponseFormat" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ResponseFormatList": { + "id": "GenaiVertexV1beta1ResponseFormatList", + "properties": { + "response_formats": { + "items": { + "$ref": "GenaiVertexV1beta1ResponseFormat" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1Retrieval": { + "description": "A tool that can be used by the model to retrieve files.", + "id": "GenaiVertexV1beta1Retrieval", + "properties": { + "retrieval_types": { + "description": "The types of file retrieval to enable.", + "items": { + "enum": [ + "RETRIEVAL_TYPE_UNSPECIFIED", + "RETRIEVAL_TYPE_VERTEX_AI_SEARCH" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "type": "array" + }, + "vertex_ai_search_config": { + "$ref": "GenaiVertexV1beta1VertexAISearchConfig", + "description": "Used to specify configuration for VertexAISearch." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ReviewSnippet": { + "description": "Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.", + "id": "GenaiVertexV1beta1ReviewSnippet", + "properties": { + "review_id": { + "description": "The ID of the review snippet.", + "type": "string" + }, + "title": { + "description": "Title of the review.", + "type": "string" + }, + "url": { + "description": "A link that corresponds to the user review on Google Maps.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1SpeechConfig": { + "description": "The configuration for speech interaction.", + "id": "GenaiVertexV1beta1SpeechConfig", + "properties": { + "language": { + "description": "The language of the speech.", + "type": "string" + }, + "speaker": { + "description": "The speaker's name, it should match the speaker name given in the prompt.", + "type": "string" + }, + "voice": { + "description": "The voice of the speaker.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1Step": { + "description": "A step in the interaction.", + "id": "GenaiVertexV1beta1Step", + "properties": { + "modelOutput": { + "$ref": "GenaiVertexV1beta1ModelOutputStep" + }, + "thought": { + "$ref": "GenaiVertexV1beta1ThoughtStep" + }, + "toolCall": { + "$ref": "GenaiVertexV1beta1ToolCallStep" + }, + "toolResult": { + "$ref": "GenaiVertexV1beta1ToolResultStep" + }, + "userInput": { + "$ref": "GenaiVertexV1beta1UserInputStep" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1StepDelta": { + "id": "GenaiVertexV1beta1StepDelta", + "properties": { + "delta": { + "$ref": "GenaiVertexV1beta1StepDeltaData" + }, + "index": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1StepDeltaData": { + "id": "GenaiVertexV1beta1StepDeltaData", + "properties": { + "argumentsDelta": { + "$ref": "GenaiVertexV1beta1ArgumentsDelta" + }, + "audio": { + "$ref": "GenaiVertexV1beta1AudioDelta" + }, + "document": { + "$ref": "GenaiVertexV1beta1DocumentDelta" + }, + "image": { + "$ref": "GenaiVertexV1beta1ImageDelta" + }, + "text": { + "$ref": "GenaiVertexV1beta1TextDelta" + }, + "textAnnotationDelta": { + "$ref": "GenaiVertexV1beta1TextAnnotationDelta" + }, + "thoughtSignature": { + "$ref": "GenaiVertexV1beta1ThoughtSignatureDelta" + }, + "thoughtSummary": { + "$ref": "GenaiVertexV1beta1ThoughtSummaryDelta" + }, + "video": { + "$ref": "GenaiVertexV1beta1VideoDelta" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1StepList": { + "description": "A list of Steps.", + "id": "GenaiVertexV1beta1StepList", + "properties": { + "steps": { + "description": "The steps of the list.", + "items": { + "$ref": "GenaiVertexV1beta1Step" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1StepStart": { + "id": "GenaiVertexV1beta1StepStart", + "properties": { + "index": { + "format": "int32", + "type": "integer" + }, + "step": { + "$ref": "GenaiVertexV1beta1Step" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1StepStop": { + "id": "GenaiVertexV1beta1StepStop", + "properties": { + "index": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1TextAnnotationDelta": { + "id": "GenaiVertexV1beta1TextAnnotationDelta", + "properties": { + "annotations": { + "description": "Citation information for model-generated content.", + "items": { + "$ref": "GenaiVertexV1beta1TextContentAnnotation" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1TextContent": { + "description": "A text content block.", + "id": "GenaiVertexV1beta1TextContent", + "properties": { + "annotations": { + "description": "Citation information for model-generated content.", + "items": { + "$ref": "GenaiVertexV1beta1TextContentAnnotation" + }, + "type": "array" + }, + "text": { + "description": "Required. The text content.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1TextContentAnnotation": { + "description": "Citation information for model-generated content.", + "id": "GenaiVertexV1beta1TextContentAnnotation", + "properties": { + "end_index": { + "description": "End of the attributed segment, exclusive.", + "format": "int32", + "type": "integer" + }, + "file_citation": { + "$ref": "GenaiVertexV1beta1FileCitation", + "description": "A file citation annotation." + }, + "place_citation": { + "$ref": "GenaiVertexV1beta1PlaceCitation", + "description": "A place citation annotation." + }, + "start_index": { + "description": "Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.", + "format": "int32", + "type": "integer" + }, + "url_citation": { + "$ref": "GenaiVertexV1beta1UrlCitation", + "description": "A URL citation annotation." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1TextDelta": { + "id": "GenaiVertexV1beta1TextDelta", + "properties": { + "text": { + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1TextResponseFormat": { + "description": "Configuration for text output format.", + "id": "GenaiVertexV1beta1TextResponseFormat", + "properties": { + "mime_type": { + "description": "The MIME type of the text output.", + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_APPLICATION_JSON", + "TYPE_TEXT_PLAIN" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "JSON output format.", + "Plain text output format." + ], + "type": "string" + }, + "schema": { + "$ref": "GenaiStruct", + "description": "The JSON schema that the output should conform to. Only applicable when mime_type is application/json." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ThoughtContent": { + "description": "A thought content block.", + "id": "GenaiVertexV1beta1ThoughtContent", + "properties": { + "signature": { + "description": "Signature to match the backend source to be part of the generation.", + "format": "byte", + "type": "string" + }, + "summary": { + "description": "A summary of the thought.", + "items": { + "$ref": "GenaiVertexV1beta1ThoughtSummaryContent" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ThoughtSignatureDelta": { + "id": "GenaiVertexV1beta1ThoughtSignatureDelta", + "properties": { + "signature": { + "description": "Signature to match the backend source to be part of the generation.", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ThoughtStep": { + "description": "A thought step.", + "id": "GenaiVertexV1beta1ThoughtStep", + "properties": { + "signature": { + "description": "A signature hash for backend validation.", + "format": "byte", + "type": "string" + }, + "summary": { + "description": "A summary of the thought.", + "items": { + "$ref": "GenaiVertexV1beta1ThoughtSummaryContent" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ThoughtSummaryContent": { + "id": "GenaiVertexV1beta1ThoughtSummaryContent", + "properties": { + "image": { + "$ref": "GenaiVertexV1beta1ImageContent" + }, + "text": { + "$ref": "GenaiVertexV1beta1TextContent" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ThoughtSummaryDelta": { + "id": "GenaiVertexV1beta1ThoughtSummaryDelta", + "properties": { + "content": { + "$ref": "GenaiVertexV1beta1ThoughtSummaryContent", + "description": "A new summary item to be added to the thought." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1Tool": { + "description": "A tool that can be used by the model.", + "id": "GenaiVertexV1beta1Tool", + "properties": { + "codeExecution": { + "$ref": "GenaiVertexV1beta1CodeExecution", + "description": "A tool that can be used by the model to execute code." + }, + "computerUse": { + "$ref": "GenaiVertexV1beta1ComputerUse", + "description": "Tool to support the model interacting directly with the computer." + }, + "fileSearch": { + "$ref": "GenaiVertexV1beta1FileSearch", + "description": "A tool that can be used by the model to search files." + }, + "function": { + "$ref": "GenaiVertexV1beta1Function", + "description": "A function that can be used by the model." + }, + "googleMaps": { + "$ref": "GenaiVertexV1beta1GoogleMaps", + "description": "A tool that can be used by the model to search Google Maps." + }, + "googleSearch": { + "$ref": "GenaiVertexV1beta1GoogleSearch", + "description": "A tool that can be used by the model to search Google." + }, + "mcpServer": { + "$ref": "GenaiVertexV1beta1McpServer", + "description": "A MCPServer is a server that can be called by the model to perform actions." + }, + "retrieval": { + "$ref": "GenaiVertexV1beta1Retrieval", + "description": "A tool that can be used by the model to retrieve files." + }, + "urlContext": { + "$ref": "GenaiVertexV1beta1UrlContext", + "description": "A tool that can be used by the model to fetch URL context." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ToolCallContent": { + "description": "Tool call content.", + "id": "GenaiVertexV1beta1ToolCallContent", + "properties": { + "codeExecutionCall": { + "$ref": "GenaiVertexV1beta1CodeExecutionCallContent" + }, + "fileSearchCall": { + "$ref": "GenaiVertexV1beta1FileSearchCallContent" + }, + "functionCall": { + "$ref": "GenaiVertexV1beta1FunctionCallContent" + }, + "googleMapsCall": { + "$ref": "GenaiVertexV1beta1GoogleMapsCallContent" + }, + "googleSearchCall": { + "$ref": "GenaiVertexV1beta1GoogleSearchCallContent" + }, + "id": { + "description": "Required. A unique ID for this specific tool call.", + "type": "string" + }, + "mcpServerToolCall": { + "$ref": "GenaiVertexV1beta1McpServerToolCallContent" + }, + "signature": { + "description": "A signature hash for backend validation.", + "format": "byte", + "type": "string" + }, + "urlContextCall": { + "$ref": "GenaiVertexV1beta1UrlContextCallContent" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ToolCallDelta": { + "id": "GenaiVertexV1beta1ToolCallDelta", + "properties": { + "codeExecutionCall": { + "$ref": "GenaiVertexV1beta1CodeExecutionCallDelta" + }, + "fileSearchCall": { + "$ref": "GenaiVertexV1beta1FileSearchCallDelta" + }, + "functionCall": { + "$ref": "GenaiVertexV1beta1FunctionCallDelta" + }, + "googleMapsCall": { + "$ref": "GenaiVertexV1beta1GoogleMapsCallDelta" + }, + "googleSearchCall": { + "$ref": "GenaiVertexV1beta1GoogleSearchCallDelta" + }, + "id": { + "description": "Required. A unique ID for this specific tool call.", + "type": "string" + }, + "mcpServerToolCall": { + "$ref": "GenaiVertexV1beta1McpServerToolCallDelta" + }, + "signature": { + "description": "A signature hash for backend validation.", + "format": "byte", + "type": "string" + }, + "urlContextCall": { + "$ref": "GenaiVertexV1beta1UrlContextCallDelta" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ToolCallStep": { + "description": "Tool call step.", + "id": "GenaiVertexV1beta1ToolCallStep", + "properties": { + "codeExecutionCall": { + "$ref": "GenaiVertexV1beta1CodeExecutionCallStep" + }, + "fileSearchCall": { + "$ref": "GenaiVertexV1beta1FileSearchCallStep" + }, + "functionCall": { + "$ref": "GenaiVertexV1beta1FunctionCallStep" + }, + "googleMapsCall": { + "$ref": "GenaiVertexV1beta1GoogleMapsCallStep" + }, + "googleSearchCall": { + "$ref": "GenaiVertexV1beta1GoogleSearchCallStep" + }, + "id": { + "description": "Required. A unique ID for this specific tool call.", + "type": "string" + }, + "mcpServerToolCall": { + "$ref": "GenaiVertexV1beta1McpServerToolCallStep" + }, + "signature": { + "description": "A signature hash for backend validation.", + "format": "byte", + "type": "string" + }, + "urlContextCall": { + "$ref": "GenaiVertexV1beta1UrlContextCallStep" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ToolChoiceConfig": { + "description": "The tool choice configuration containing allowed tools.", + "id": "GenaiVertexV1beta1ToolChoiceConfig", + "properties": { + "allowed_tools": { + "$ref": "GenaiVertexV1beta1AllowedTools", + "description": "The allowed tools." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ToolResultContent": { + "description": "Tool result content.", + "id": "GenaiVertexV1beta1ToolResultContent", + "properties": { + "call_id": { + "description": "Required. ID to match the ID from the function call block.", + "type": "string" + }, + "codeExecutionResult": { + "$ref": "GenaiVertexV1beta1CodeExecutionResultContent" + }, + "fileSearchResult": { + "$ref": "GenaiVertexV1beta1FileSearchResultContent" + }, + "functionResult": { + "$ref": "GenaiVertexV1beta1FunctionResultContent" + }, + "googleMapsResult": { + "$ref": "GenaiVertexV1beta1GoogleMapsResultContent" + }, + "googleSearchResult": { + "$ref": "GenaiVertexV1beta1GoogleSearchResultContent" + }, + "mcpServerToolResult": { + "$ref": "GenaiVertexV1beta1McpServerToolResultContent" + }, + "signature": { + "description": "A signature hash for backend validation.", + "format": "byte", + "type": "string" + }, + "urlContextResult": { + "$ref": "GenaiVertexV1beta1UrlContextResultContent" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ToolResultDelta": { + "id": "GenaiVertexV1beta1ToolResultDelta", + "properties": { + "call_id": { + "description": "Required. ID to match the ID from the function call block.", + "type": "string" + }, + "codeExecutionResult": { + "$ref": "GenaiVertexV1beta1CodeExecutionResultDelta" + }, + "fileSearchResult": { + "$ref": "GenaiVertexV1beta1FileSearchResultDelta" + }, + "functionResult": { + "$ref": "GenaiVertexV1beta1FunctionResultDelta" + }, + "googleMapsResult": { + "$ref": "GenaiVertexV1beta1GoogleMapsResultDelta" + }, + "googleSearchResult": { + "$ref": "GenaiVertexV1beta1GoogleSearchResultDelta" + }, + "mcpServerToolResult": { + "$ref": "GenaiVertexV1beta1McpServerToolResultDelta" + }, + "signature": { + "description": "A signature hash for backend validation.", + "format": "byte", + "type": "string" + }, + "urlContextResult": { + "$ref": "GenaiVertexV1beta1UrlContextResultDelta" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1ToolResultStep": { + "description": "Tool result step.", + "id": "GenaiVertexV1beta1ToolResultStep", + "properties": { + "call_id": { + "description": "Required. ID to match the ID from the function call block.", + "type": "string" + }, + "codeExecutionResult": { + "$ref": "GenaiVertexV1beta1CodeExecutionResultStep" + }, + "fileSearchResult": { + "$ref": "GenaiVertexV1beta1FileSearchResultStep" + }, + "functionResult": { + "$ref": "GenaiVertexV1beta1FunctionResultStep" + }, + "googleMapsResult": { + "$ref": "GenaiVertexV1beta1GoogleMapsResultStep" + }, + "googleSearchResult": { + "$ref": "GenaiVertexV1beta1GoogleSearchResultStep" + }, + "mcpServerToolResult": { + "$ref": "GenaiVertexV1beta1McpServerToolResultStep" + }, + "signature": { + "description": "A signature hash for backend validation.", + "format": "byte", + "type": "string" + }, + "urlContextResult": { + "$ref": "GenaiVertexV1beta1UrlContextResultStep" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1Turn": { + "deprecated": true, + "id": "GenaiVertexV1beta1Turn", + "properties": { + "contentList": { + "$ref": "GenaiVertexV1beta1ContentList", + "description": "The content of the turn. An array of Content objects." + }, + "contentString": { + "description": "The content of the turn. A single string.", + "type": "string" + }, + "role": { + "description": "The originator of this turn. Must be user for input or model for model output.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1TurnList": { + "deprecated": true, + "description": "A list of Turns.", + "id": "GenaiVertexV1beta1TurnList", + "properties": { + "turns": { + "items": { + "$ref": "GenaiVertexV1beta1Turn" + }, + "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1UrlCitation": { + "description": "A URL citation annotation.", + "id": "GenaiVertexV1beta1UrlCitation", "properties": { - "audioPrompt": { - "description": "Description of audio content in the video, without speech.", - "type": "string" - }, - "negativeAudioPrompt": { - "description": "Negative description of audio content in the video.", + "title": { + "description": "The title of the URL.", "type": "string" }, - "negativePrompt": { - "description": "Single negative prompt for what not to generate.", + "url": { + "description": "The URL.", "type": "string" - }, - "promptChunks": { - "description": "2s, 256 tokens per chunk, 4 total chunks. Required.", + } + }, + "type": "object" + }, + "GenaiVertexV1beta1UrlContext": { + "description": "A tool that can be used by the model to fetch URL context.", + "id": "GenaiVertexV1beta1UrlContext", + "properties": {}, + "type": "object" + }, + "GenaiVertexV1beta1UrlContextCallContent": { + "description": "URL context content.", + "id": "GenaiVertexV1beta1UrlContextCallContent", + "properties": { + "arguments": { + "$ref": "GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments", + "description": "Required. The arguments to pass to the URL context." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments": { + "description": "The arguments to pass to the URL context.", + "id": "GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments", + "properties": { + "urls": { + "description": "The URLs to fetch.", "items": { "type": "string" }, "type": "array" - }, - "transcript": { - "description": "Spoken transcript of the video for characters.", - "type": "string" } }, "type": "object" }, - "CloudAiLargeModelsVisionRaiInfo": { - "description": "Next ID: 6", - "id": "CloudAiLargeModelsVisionRaiInfo", + "GenaiVertexV1beta1UrlContextCallDelta": { + "id": "GenaiVertexV1beta1UrlContextCallDelta", "properties": { - "blockedEntities": { - "description": "List of blocked entities from the blocklist if it is detected.", + "arguments": { + "$ref": "GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1UrlContextCallStep": { + "description": "URL context call step.", + "id": "GenaiVertexV1beta1UrlContextCallStep", + "properties": { + "arguments": { + "$ref": "GenaiVertexV1beta1UrlContextCallStepUrlContextCallStepArguments", + "description": "Required. The arguments to pass to the URL context." + } + }, + "type": "object" + }, + "GenaiVertexV1beta1UrlContextCallStepUrlContextCallStepArguments": { + "description": "The arguments to pass to the URL context.", + "id": "GenaiVertexV1beta1UrlContextCallStepUrlContextCallStepArguments", + "properties": { + "urls": { + "description": "The URLs to fetch.", "items": { "type": "string" }, "type": "array" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1UrlContextResultContent": { + "description": "URL context result content.", + "id": "GenaiVertexV1beta1UrlContextResultContent", + "properties": { + "is_error": { + "description": "Whether the URL context resulted in an error.", + "type": "boolean" }, - "detectedLabels": { - "description": "The list of detected labels for different rai categories.", + "result": { + "description": "Required. The results of the URL context.", "items": { - "$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabels" + "$ref": "GenaiVertexV1beta1UrlContextResultContentUrlContextResult" }, "type": "array" - }, - "modelName": { - "description": "The model name used to indexing into the RaiFilterConfig map. Would either be one of imagegeneration@002-006, imagen-3.0-... api endpoint names, or internal names used for mapping to different filter configs (genselfie, ai_watermark) than its api endpoint.", + } + }, + "type": "object" + }, + "GenaiVertexV1beta1UrlContextResultContentUrlContextResult": { + "description": "The result of the URL context.", + "id": "GenaiVertexV1beta1UrlContextResultContentUrlContextResult", + "properties": { + "status": { + "description": "The status of the URL retrieval.", + "enum": [ + "STATUS_UNSPECIFIED", + "SUCCESS", + "ERROR", + "PAYWALL", + "UNSAFE" + ], + "enumDescriptions": [ + "Unspecified status. This value should not be used.", + "Url retrieval is successful.", + "Url retrieval is failed due to error.", + "Url retrieval is failed because the content is behind paywall.", + "Url retrieval is failed because the content is unsafe." + ], "type": "string" }, - "raiCategories": { - "description": "List of rai categories' information to return", - "items": { - "type": "string" - }, - "type": "array" + "url": { + "description": "The URL that was fetched.", + "type": "string" + } + }, + "type": "object" + }, + "GenaiVertexV1beta1UrlContextResultDelta": { + "id": "GenaiVertexV1beta1UrlContextResultDelta", + "properties": { + "is_error": { + "type": "boolean" }, - "scores": { - "description": "List of rai scores mapping to the rai categories. Rounded to 1 decimal place.", + "result": { "items": { - "format": "float", - "type": "number" + "$ref": "GenaiVertexV1beta1UrlContextResultContentUrlContextResult" }, "type": "array" } }, "type": "object" }, - "CloudAiLargeModelsVisionRaiInfoDetectedLabels": { - "description": "Filters returning list of deteceted labels, scores, and bounding boxes.", - "id": "CloudAiLargeModelsVisionRaiInfoDetectedLabels", + "GenaiVertexV1beta1UrlContextResultStep": { + "description": "URL context result step.", + "id": "GenaiVertexV1beta1UrlContextResultStep", "properties": { - "entities": { - "description": "The list of detected entities for the rai signal.", + "is_error": { + "description": "Whether the URL context resulted in an error.", + "type": "boolean" + }, + "result": { + "description": "Required. The results of the URL context.", "items": { - "$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity" + "$ref": "GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem" }, "type": "array" - }, - "raiCategory": { - "description": "The RAI category for the deteceted labels.", - "type": "string" } }, "type": "object" }, - "CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox": { - "description": "An integer bounding box of original pixels of the image for the detected labels.", - "id": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox", + "GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem": { + "description": "The result of the URL context.", + "id": "GenaiVertexV1beta1UrlContextResultStepUrlContextResultItem", "properties": { - "x1": { - "description": "The X coordinate of the top-left corner, in pixels.", - "format": "int32", - "type": "integer" - }, - "x2": { - "description": "The X coordinate of the bottom-right corner, in pixels.", - "format": "int32", - "type": "integer" - }, - "y1": { - "description": "The Y coordinate of the top-left corner, in pixels.", - "format": "int32", - "type": "integer" + "status": { + "description": "The status of the URL retrieval.", + "enum": [ + "STATUS_UNSPECIFIED", + "SUCCESS", + "ERROR", + "PAYWALL", + "UNSAFE" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" }, - "y2": { - "description": "The Y coordinate of the bottom-right corner, in pixels.", - "format": "int32", - "type": "integer" + "url": { + "description": "The URL that was fetched.", + "type": "string" } }, "type": "object" }, - "CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity": { - "description": "The properties for a detected entity from the rai signal.", - "id": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity", + "GenaiVertexV1beta1UserInputStep": { + "description": "Input provided by the user.", + "id": "GenaiVertexV1beta1UserInputStep", "properties": { - "boundingBox": { - "$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox", - "description": "Bounding box of the label" - }, - "description": { - "description": "Description of the label", - "type": "string" - }, - "iouScore": { - "description": "The intersection ratio between the detection bounding box and the mask.", - "format": "float", - "type": "number" - }, - "mid": { - "description": "MID of the label", - "type": "string" - }, - "score": { - "description": "Confidence score of the label", - "format": "float", - "type": "number" + "content": { + "items": { + "$ref": "GenaiVertexV1beta1Content" + }, + "type": "array" } }, "type": "object" }, - "CloudAiLargeModelsVisionSemanticFilterResponse": { - "id": "CloudAiLargeModelsVisionSemanticFilterResponse", + "GenaiVertexV1beta1VertexAISearchConfig": { + "description": "Used to specify configuration for VertexAISearch.", + "id": "GenaiVertexV1beta1VertexAISearchConfig", "properties": { - "namedBoundingBoxes": { - "description": "Class labels of the bounding boxes that failed the semantic filtering. Bounding box coordinates.", + "datastores": { + "description": "Optional. Used to specify Vertex AI Search datastores.", "items": { - "$ref": "CloudAiLargeModelsVisionNamedBoundingBox" + "type": "string" }, "type": "array" }, - "passedSemanticFilter": { - "description": "This response is added when semantic filter config is turned on in EditConfig. It reports if this image is passed semantic filter response. If passed_semantic_filter is false, the bounding box information will be populated for user to check what caused the semantic filter to fail.", - "type": "boolean" + "engine": { + "description": "Optional. Used to specify Vertex AI Search engine.", + "type": "string" } }, "type": "object" }, - "CloudAiLargeModelsVisionVideo": { - "description": "Video", - "id": "CloudAiLargeModelsVisionVideo", + "GenaiVertexV1beta1VideoContent": { + "description": "A video content block.", + "id": "GenaiVertexV1beta1VideoContent", "properties": { - "encodedVideo": { - "description": "Base 64 encoded video bytes.", + "data": { + "description": "The video content.", + "format": "byte", "type": "string" }, - "encoding": { - "description": "Video encoding, for example \"video/mp4\".", + "mime_type": { + "description": "The mime type of the video.", + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_MP4", + "TYPE_MPEG", + "TYPE_MPG", + "TYPE_MOV", + "TYPE_AVI", + "TYPE_X_FLV", + "TYPE_WEBM", + "TYPE_WMV", + "TYPE_3GPP" + ], + "enumDescriptions": [ + "", + "MP4 video format", + "MPEG video format", + "MPG video format", + "MOV video format", + "AVI video format", + "FLV video format", + "WebM video format", + "WMV video format", + "3GPP video format" + ], "type": "string" }, - "text": { - "description": "Text/Expanded text input for Help Me Write.", + "resolution": { + "description": "The resolution of the media.", + "enum": [ + "MEDIA_RESOLUTION_UNSPECIFIED", + "LOW", + "MEDIUM", + "HIGH", + "ULTRA_HIGH" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Low resolution.", + "Medium resolution.", + "High resolution.", + "Ultra high resolution." + ], "type": "string" }, "uri": { - "description": "Path to another storage (typically Google Cloud Storage).", - "type": "string" - }, - "video": { - "description": "Raw bytes.", - "format": "byte", + "description": "The URI of the video.", "type": "string" } }, "type": "object" }, - "CloudAiPlatformCommonCreatePipelineJobApiErrorDetail": { - "description": "Create API error message for Vertex Pipeline.", - "id": "CloudAiPlatformCommonCreatePipelineJobApiErrorDetail", + "GenaiVertexV1beta1VideoDelta": { + "id": "GenaiVertexV1beta1VideoDelta", "properties": { - "errorCause": { - "description": "The error root cause returned by CreatePipelineJob API.", + "data": { + "format": "byte", + "type": "string" + }, + "mime_type": { "enum": [ - "ERROR_CAUSE_UNSPECIFIED", - "INVALID_PIPELINE_SPEC_FORMAT", - "INVALID_PIPELINE_SPEC", - "INVALID_DEPLOYMENT_CONFIG", - "INVALID_DEPLOYMENT_SPEC", - "INVALID_INSTANCE_SCHEMA", - "INVALID_CUSTOM_JOB", - "INVALID_CONTAINER_SPEC", - "INVALID_NOTIFICATION_EMAIL_SETUP", - "INVALID_SERVICE_ACCOUNT_SETUP", - "INVALID_KMS_SETUP", - "INVALID_NETWORK_SETUP", - "INVALID_PIPELINE_TASK_SPEC", - "INVALID_PIPELINE_TASK_ARTIFACT", - "INVALID_IMPORTER_SPEC", - "INVALID_RESOLVER_SPEC", - "INVALID_RUNTIME_PARAMETERS", - "CLOUD_API_NOT_ENABLED", - "INVALID_GCS_INPUT_URI", - "INVALID_GCS_OUTPUT_URI", - "INVALID_COMPONENT_SPEC", - "INVALID_DAG_OUTPUTS_SPEC", - "INVALID_DAG_SPEC", - "INSUFFICIENT_QUOTA", - "INTERNAL" + "TYPE_UNSPECIFIED", + "TYPE_MP4", + "TYPE_MPEG", + "TYPE_MPG", + "TYPE_MOV", + "TYPE_AVI", + "TYPE_X_FLV", + "TYPE_WEBM", + "TYPE_WMV", + "TYPE_3GPP" ], "enumDescriptions": [ - "Should never be used.", - "IR Pipeline Spec can not been parsed to yaml or json format.", - "A pipeline spec is invalid.", - "A deployment config is invalid.", - "A deployment spec is invalid.", - "An instance schema is invalid.", - "A custom job is invalid.", - "A container spec is invalid.", - "Notification email setup is invalid.", - "Service account setup is invalid.", - "KMS setup is invalid.", - "Network setup is invalid.", - "Task spec is invalid.", - "Task artifact is invalid.", - "Importer spec is invalid.", - "Resolver spec is invalid.", - "Runtime Parameters are invalid.", - "Cloud API not enabled.", - "Invalid Cloud Storage input uri", - "Invalid Cloud Storage output uri", - "Component spec of pipeline is invalid.", - "DagOutputsSpec is invalid.", - "DagSpec is invalid.", - "Project does not have enough quota.", - "An internal error with unknown cause." + "", + "MP4 video format", + "MPEG video format", + "MPG video format", + "MOV video format", + "AVI video format", + "FLV video format", + "WebM video format", + "WMV video format", + "3GPP video format" ], "type": "string" }, - "publicMessage": { - "description": "Public messages contains actionable items for the error cause.", + "resolution": { + "description": "The resolution of the media.", + "enum": [ + "MEDIA_RESOLUTION_UNSPECIFIED", + "LOW", + "MEDIUM", + "HIGH", + "ULTRA_HIGH" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Low resolution.", + "Medium resolution.", + "High resolution.", + "Ultra high resolution." + ], + "type": "string" + }, + "uri": { "type": "string" } }, "type": "object" }, + "GenaiVertexV1beta1VideoResponseFormat": { + "description": "Configuration for video output format.", + "id": "GenaiVertexV1beta1VideoResponseFormat", + "properties": {}, + "type": "object" + }, "GoogleApiHttpBody": { "description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", "id": "GoogleApiHttpBody", @@ -46322,6 +50679,68 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1Agent": { + "description": "A Vertex agent contains instructions and configurations for the LLM to execute a certain task.", + "id": "GoogleCloudAiplatformV1beta1Agent", + "properties": { + "base_agent": { + "description": "Required. The base agent of the agent. Supported values: - \"antigravity-preview-05-2026\"", + "type": "string" + }, + "base_environment": { + "description": "Optional. The environment config of the agent. Valid types are: - string value for environment_id, or 'remote' for default - struct value for EnvironmentConfig.", + "type": "any" + }, + "created": { + "description": "Output only. Timestamp when the agent was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. The description of the agent.", + "type": "string" + }, + "id": { + "description": "Immutable. The ID to use for agent, which will become the final component of the agent resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character must be a letter, the last character must be a letter or number.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The metadata of the agent.", + "type": "object" + }, + "name": { + "description": "Identifier. The resource name of the Agent. Format: `projects/{project}/locations/{location}/agents/{agent}`.", + "type": "string" + }, + "object": { + "description": "Output only. The object type of this resource. Always set to \"agent\" in this case.", + "readOnly": true, + "type": "string" + }, + "system_instruction": { + "description": "Optional. The detailed struction that the agent should follow. The instruction is passed to LLM as system instruction.", + "type": "string" + }, + "tools": { + "description": "Optional. A list of tools that are available for the agent during the process of execucting the task.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1AgentTool" + }, + "type": "array" + }, + "updated": { + "description": "Output only. Timestamp when the agent was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1AgentConfig": { "description": "Represents configuration for an Agent.", "id": "GoogleCloudAiplatformV1beta1AgentConfig", @@ -46415,6 +50834,32 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1AgentTool": { + "description": "A tool provides a list of actions that are available for the Agent during the process of executing the task.", + "id": "GoogleCloudAiplatformV1beta1AgentTool", + "properties": { + "headers": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Headers for the MCP server (e.g., authentication). Only applicable when `type` is \"mcp\".", + "type": "object" + }, + "name": { + "description": "Optional. The name of the MCP server. Only applicable when `type` is \"mcp\".", + "type": "string" + }, + "type": { + "description": "Required. Type of the tool. Supported types: - \"code_execution\" - \"filesystem\" - \"google_search\" - \"mcp\" - \"url_context\"", + "type": "string" + }, + "url": { + "description": "Optional. The full URL for the MCP server endpoint. Only applicable when `type` is \"mcp\".", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1AggregationOutput": { "description": "The aggregation result for the entire dataset and all metrics.", "id": "GoogleCloudAiplatformV1beta1AggregationOutput", @@ -46895,11 +51340,11 @@ "id": "GoogleCloudAiplatformV1beta1AsyncQueryReasoningEngineRequest", "properties": { "inputGcsUri": { - "description": "Optional. Input Cloud Storage URI for the Async query.", + "description": "Optional. Input Cloud Storage URI for the Async query. If you are not bringing your own container (BYOC), the content of the file should be a JSON object with an `input` field matching the `input` field of `QueryReasoningEngineRequest` (e.g. `{ \"input\": { \"user_id\": \"hello\", \"message\":\"$QUERY\"} }`). For BYOC, the content of the file depends on the the agent application.", "type": "string" }, "outputGcsUri": { - "description": "Optional. Output Cloud Storage URI for the Async query.", + "description": "Optional. Output Cloud Storage URI for the Async query. This contains the final response of the query.", "type": "string" } }, @@ -48319,6 +52764,17 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineRequest": { + "description": "Request message for ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngine.", + "id": "GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineRequest", + "properties": { + "operationName": { + "description": "Required. The name of the longrunning operation returned from AsyncQueryReasoningEngine. Format: `projects/{project}/locations/{location}/operations/{operation}`", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineResponse": { "description": "Response message for ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngine.", "id": "GoogleCloudAiplatformV1beta1CancelAsyncQueryReasoningEngineResponse", @@ -49858,6 +54314,18 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1CreateServingProfileOperationMetadata": { + "description": "Runtime operation metadata for ServingProfileService.CreateServingProfile.", + "id": "GoogleCloudAiplatformV1beta1CreateServingProfileOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudAiplatformV1beta1GenericOperationMetadata", + "description": "Output only. The standard operation metadata for Vertex AI.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1CreateSolverOperationMetadata": { "description": "Runtime operation information for SolverService.CreateSolver.", "id": "GoogleCloudAiplatformV1beta1CreateSolverOperationMetadata", @@ -53505,7 +57973,7 @@ "type": "array" }, "metrics": { - "description": "Required. The metrics to be calculated in the evaluation run.", + "description": "Optional. The metrics to be calculated in the evaluation run. Required when analysis_configs is not set.", "items": { "$ref": "GoogleCloudAiplatformV1beta1EvaluationRunMetric" }, @@ -57799,6 +62267,20 @@ "description": "Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.", "id": "GoogleCloudAiplatformV1beta1FunctionDeclaration", "properties": { + "behavior": { + "description": "Optional. Specifies the function Behavior. If not specified, the system keeps the current function call behavior. This field is currently only supported by the BidiGenerateContent method.", + "enum": [ + "UNSPECIFIED", + "BLOCKING", + "NON_BLOCKING" + ], + "enumDescriptions": [ + "This value is unspecified.", + "If set, the system will wait to receive the function response before continuing the conversation.", + "If set, the system will not wait to receive the function response. Instead, it will attempt to handle function responses as they become available while maintaining the conversation between the user and the model." + ], + "type": "string" + }, "description": { "description": "Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.", "type": "string" @@ -60996,6 +65478,24 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1ListAgentsResponse": { + "description": "Response message for AgentService.ListAgents.", + "id": "GoogleCloudAiplatformV1beta1ListAgentsResponse", + "properties": { + "agents": { + "description": "A list of agents matching the request.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1Agent" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as ListAgentsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1ListAnnotationsResponse": { "description": "Response message for DatasetService.ListAnnotations.", "id": "GoogleCloudAiplatformV1beta1ListAnnotationsResponse", @@ -62185,6 +66685,42 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1ListSkillRevisionsResponse": { + "description": "Response message for SkillRegistryService.ListSkillRevisions.", + "id": "GoogleCloudAiplatformV1beta1ListSkillRevisionsResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "skillRevisions": { + "description": "The list of Skill Revisions in the request page.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1SkillRevision" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1ListSkillsResponse": { + "description": "Response message for SkillRegistryService.ListSkills.", + "id": "GoogleCloudAiplatformV1beta1ListSkillsResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as ListSkillsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "skills": { + "description": "The Skills.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1Skill" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponse": { "description": "Response message for SpecialistPoolService.ListSpecialistPools.", "id": "GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponse", @@ -73245,6 +77781,35 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1RetrieveSkillsResponse": { + "description": "Response message for SkillRegistryService.RetrieveSkills.", + "id": "GoogleCloudAiplatformV1beta1RetrieveSkillsResponse", + "properties": { + "retrievedSkills": { + "description": "Skills ranked by similarity if applicable; otherwise, the order is undefined.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill": { + "description": "A retrieved skill.", + "id": "GoogleCloudAiplatformV1beta1RetrieveSkillsResponseRetrievedSkill", + "properties": { + "description": { + "description": "The skill description.", + "type": "string" + }, + "skillName": { + "description": "The skill resource name. Format: projects/{project}/locations/{location}/skills/{skill}", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1RollbackMemoryRequest": { "description": "Request message for MemoryBankService.RollbackMemory.", "id": "GoogleCloudAiplatformV1beta1RollbackMemoryRequest", @@ -74053,7 +78618,7 @@ "type": "string" }, "sandboxEnvironmentTemplate": { - "description": "Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from. Only one of `sandbox_environment_template` and `spec` should be set.", + "description": "Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from.", "type": "string" }, "spec": { @@ -79720,6 +84285,137 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1Skill": { + "description": "A skill.", + "id": "GoogleCloudAiplatformV1beta1Skill", + "properties": { + "compatibility": { + "description": "Optional. Specifies the compatibility of the Skill. Indicates environment requirements (intended product, system packages, network access, etc.). This should align with `compatibility` in the `SKILL.md` file.", + "type": "string" + }, + "createTime": { + "description": "Output only. Timestamp when this Skill was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Required. Describes the Skill. Should describe both what the skill does and when to use it. Should include specific keywords that help agents identify relevant tasks. This should align with `description` in the `SKILL.md` file.", + "type": "string" + }, + "displayName": { + "description": "Required. Provides the display name of the Skill. This should align with `name` in the `SKILL.md` file.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "The labels with user-defined metadata to organize Skills.", + "type": "object" + }, + "license": { + "description": "Optional. Specifies the license of the Skill. This should be an SPDX license identifier (e.g., \"MIT\", \"Apache-2.0\"). See https://spdx.org/licenses/. This should align with `license` in the `SKILL.md` file.", + "type": "string" + }, + "name": { + "description": "Identifier. The resource name of the Skill. Format: `projects/{project}/locations/{location}/skills/{skill}`", + "type": "string" + }, + "sha256": { + "description": "Output only. The SHA256 checksum of the zipped filesystem.", + "readOnly": true, + "type": "string" + }, + "skillSource": { + "description": "Output only. The source of the Skill.", + "enum": [ + "SKILL_SOURCE_UNSPECIFIED", + "USER", + "SYSTEM" + ], + "enumDescriptions": [ + "The skill source is unspecified.", + "The skill is created by a user.", + "The skill is a system skill." + ], + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The state of the Skill.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "FAILED", + "DELETING" + ], + "enumDescriptions": [ + "The state of the Skill is unspecified.", + "The Skill is active.", + "The Skill is being created.", + "The Skill was created, but failed to process.", + "The Skill is being deleted." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Timestamp when this Skill was most recently updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "zippedFilesystem": { + "description": "Required. Provides the zipped filesystem of the Skill. This should contain the `SKILL.md` file at the root of the zip and optional directories for scripts, references, and assets. Directory should align with the directory structure specified at https://agentskills.io/specification#directory-structure.", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1SkillRevision": { + "description": "A revision of a Skill.", + "id": "GoogleCloudAiplatformV1beta1SkillRevision", + "properties": { + "createTime": { + "description": "Output only. Timestamp when this Skill Revision was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The resource name of the Skill Revision. Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}`", + "type": "string" + }, + "skill": { + "$ref": "GoogleCloudAiplatformV1beta1Skill", + "description": "Output only. The state of the Skill at this revision. TODO(b/503772996) Use a different proto for skill data included in skill revision", + "readOnly": true + }, + "state": { + "description": "Output only. The state of the Skill Revision.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "CREATING", + "FAILED", + "DELETING" + ], + "enumDescriptions": [ + "The state of the Skill Revision is unspecified.", + "The Skill Revision is active.", + "The Skill Revision is being created.", + "The Skill Revision was created, but failed to process.", + "The Skill Revision is being deleted." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1SlackSource": { "description": "The Slack source for the ImportRagFilesRequest.", "id": "GoogleCloudAiplatformV1beta1SlackSource", diff --git a/src/apis/aiplatform/v1.ts b/src/apis/aiplatform/v1.ts index 5a81f320ab..5db1be6fc3 100644 --- a/src/apis/aiplatform/v1.ts +++ b/src/apis/aiplatform/v1.ts @@ -207,6 +207,10 @@ export namespace aiplatform_v1 { * Experimental parameters for video generation. */ export interface Schema$CloudAiLargeModelsVisionGenerateVideoExperiments { + /** + * Optional. Video codec to use for output. + */ + codec?: string | null; /** * Conditioning frames for veo experimental models ONLY, not to be confused with keyframes (ID:31) in GenerateVideoRequest. */ @@ -900,11 +904,11 @@ export namespace aiplatform_v1 { */ export interface Schema$GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest { /** - * Optional. Input Cloud Storage URI for the Async query. + * Optional. Input Cloud Storage URI for the Async query. If you are not bringing your own container (BYOC), the content of the file should be a JSON object with an `input` field matching the `input` field of `QueryReasoningEngineRequest` (e.g. `{ "input": { "user_id": "hello", "message":"$QUERY"\} \}`). For BYOC, the content of the file depends on the the agent application. */ inputGcsUri?: string | null; /** - * Optional. Output Cloud Storage URI for the Async query. + * Optional. Output Cloud Storage URI for the Async query. This contains the final response of the query. */ outputGcsUri?: string | null; } @@ -1858,6 +1862,15 @@ export namespace aiplatform_v1 { */ videoDurationSeconds?: number | null; } + /** + * Request message for ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngine. + */ + export interface Schema$GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest { + /** + * Required. The name of the longrunning operation returned from AsyncQueryReasoningEngine. Format: `projects/{project\}/locations/{location\}/operations/{operation\}` + */ + operationName?: string | null; + } /** * Response message for ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngine. */ @@ -5286,7 +5299,7 @@ export namespace aiplatform_v1 { */ datasetCustomMetrics?: Schema$GoogleCloudAiplatformV1DatasetCustomMetric[]; /** - * Required. The metrics to be calculated in the evaluation run. + * Optional. The metrics to be calculated in the evaluation run. Required when analysis_configs is not set. */ metrics?: Schema$GoogleCloudAiplatformV1EvaluationRunMetric[]; /** @@ -7776,6 +7789,10 @@ export namespace aiplatform_v1 { * Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client. */ export interface Schema$GoogleCloudAiplatformV1FunctionDeclaration { + /** + * Optional. Specifies the function Behavior. If not specified, the system keeps the current function call behavior. This field is currently only supported by the BidiGenerateContent method. + */ + behavior?: string | null; /** * Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. */ @@ -16991,7 +17008,7 @@ export namespace aiplatform_v1 { */ sandboxEnvironmentSnapshot?: string | null; /** - * Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from. Only one of `sandbox_environment_template` and `spec` should be set. + * Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from. */ sandboxEnvironmentTemplate?: string | null; /** @@ -136083,8 +136100,14 @@ export namespace aiplatform_v1 { * await aiplatform.projects.locations.reasoningEngines.cancelAsyncQuery({ * // Required. The name of the ReasoningEngine resource to use. Format: `projects/{project\}/locations/{location\}/reasoningEngines/{reasoning_engine\}` * name: 'projects/my-project/locations/my-location/reasoningEngines/my-reasoningEngine', - * // Required. The name of the longrunning operation returned from AsyncQueryReasoningEngine. Format: `projects/{project\}/locations/{location\}/operations/{operation\}` - * operationName: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "operationName": "my_operationName" + * // } + * }, * }); * console.log(res.data); * @@ -137903,10 +137926,11 @@ export namespace aiplatform_v1 { * Required. The name of the ReasoningEngine resource to use. Format: `projects/{project\}/locations/{location\}/reasoningEngines/{reasoning_engine\}` */ name?: string; + /** - * Required. The name of the longrunning operation returned from AsyncQueryReasoningEngine. Format: `projects/{project\}/locations/{location\}/operations/{operation\}` + * Request body metadata */ - operationName?: string; + requestBody?: Schema$GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest; } export interface Params$Resource$Projects$Locations$Reasoningengines$Create extends StandardParameters { /** @@ -171703,8 +171727,14 @@ export namespace aiplatform_v1 { * const res = await aiplatform.reasoningEngines.cancelAsyncQuery({ * // Required. The name of the ReasoningEngine resource to use. Format: `projects/{project\}/locations/{location\}/reasoningEngines/{reasoning_engine\}` * name: 'reasoningEngines/my-reasoningEngine', - * // Required. The name of the longrunning operation returned from AsyncQueryReasoningEngine. Format: `projects/{project\}/locations/{location\}/operations/{operation\}` - * operationName: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "operationName": "my_operationName" + * // } + * }, * }); * console.log(res.data); * @@ -173064,10 +173094,11 @@ export namespace aiplatform_v1 { * Required. The name of the ReasoningEngine resource to use. Format: `projects/{project\}/locations/{location\}/reasoningEngines/{reasoning_engine\}` */ name?: string; + /** - * Required. The name of the longrunning operation returned from AsyncQueryReasoningEngine. Format: `projects/{project\}/locations/{location\}/operations/{operation\}` + * Request body metadata */ - operationName?: string; + requestBody?: Schema$GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest; } export interface Params$Resource$Reasoningengines$Create extends StandardParameters { /** From ecb81224c8841f7899824ba747727d3d6d9d1e4a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:35 +0000 Subject: [PATCH 02/69] feat(alloydb): update the API #### alloydb:v1alpha The following keys were added: - schemas.ConnectionPoolConfig.properties.authproxyPoolerCount.description - schemas.ConnectionPoolConfig.properties.authproxyPoolerCount.format - schemas.ConnectionPoolConfig.properties.authproxyPoolerCount.readOnly - schemas.ConnectionPoolConfig.properties.authproxyPoolerCount.type #### alloydb:v1beta The following keys were added: - schemas.ConnectionPoolConfig.properties.authproxyPoolerCount.description - schemas.ConnectionPoolConfig.properties.authproxyPoolerCount.format - schemas.ConnectionPoolConfig.properties.authproxyPoolerCount.readOnly - schemas.ConnectionPoolConfig.properties.authproxyPoolerCount.type #### alloydb:v1 The following keys were added: - schemas.ConnectionPoolConfig.properties.authproxyPoolerCount.description - schemas.ConnectionPoolConfig.properties.authproxyPoolerCount.format - schemas.ConnectionPoolConfig.properties.authproxyPoolerCount.readOnly - schemas.ConnectionPoolConfig.properties.authproxyPoolerCount.type --- discovery/alloydb-v1.json | 8 +++++++- discovery/alloydb-v1alpha.json | 8 +++++++- discovery/alloydb-v1beta.json | 8 +++++++- src/apis/alloydb/v1.ts | 4 ++++ src/apis/alloydb/v1alpha.ts | 4 ++++ src/apis/alloydb/v1beta.ts | 4 ++++ 6 files changed, 33 insertions(+), 3 deletions(-) diff --git a/discovery/alloydb-v1.json b/discovery/alloydb-v1.json index 96a3b6e1c4..282da4240d 100644 --- a/discovery/alloydb-v1.json +++ b/discovery/alloydb-v1.json @@ -1879,7 +1879,7 @@ } } }, - "revision": "20260423", + "revision": "20260507", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -2701,6 +2701,12 @@ "description": "Configuration for Managed Connection Pool (MCP).", "id": "ConnectionPoolConfig", "properties": { + "authproxyPoolerCount": { + "description": "Output only. The number of running AuthProxy poolers per instance.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "enabled": { "description": "Optional. Whether to enable Managed Connection Pool (MCP).", "type": "boolean" diff --git a/discovery/alloydb-v1alpha.json b/discovery/alloydb-v1alpha.json index eb7a0cd806..4f70a3afa1 100644 --- a/discovery/alloydb-v1alpha.json +++ b/discovery/alloydb-v1alpha.json @@ -2086,7 +2086,7 @@ } } }, - "revision": "20260423", + "revision": "20260507", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -2967,6 +2967,12 @@ "description": "Configuration for Managed Connection Pool (MCP).", "id": "ConnectionPoolConfig", "properties": { + "authproxyPoolerCount": { + "description": "Output only. The number of running AuthProxy poolers per instance.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "enabled": { "description": "Optional. Whether to enable Managed Connection Pool (MCP).", "type": "boolean" diff --git a/discovery/alloydb-v1beta.json b/discovery/alloydb-v1beta.json index ea5fb2c728..22f3753c66 100644 --- a/discovery/alloydb-v1beta.json +++ b/discovery/alloydb-v1beta.json @@ -2083,7 +2083,7 @@ } } }, - "revision": "20260423", + "revision": "20260507", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -2948,6 +2948,12 @@ "description": "Configuration for Managed Connection Pool (MCP).", "id": "ConnectionPoolConfig", "properties": { + "authproxyPoolerCount": { + "description": "Output only. The number of running AuthProxy poolers per instance.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "enabled": { "description": "Optional. Whether to enable Managed Connection Pool (MCP).", "type": "boolean" diff --git a/src/apis/alloydb/v1.ts b/src/apis/alloydb/v1.ts index 77c57b6e94..14fcf0e572 100644 --- a/src/apis/alloydb/v1.ts +++ b/src/apis/alloydb/v1.ts @@ -615,6 +615,10 @@ export namespace alloydb_v1 { * Configuration for Managed Connection Pool (MCP). */ export interface Schema$ConnectionPoolConfig { + /** + * Output only. The number of running AuthProxy poolers per instance. + */ + authproxyPoolerCount?: number | null; /** * Optional. Whether to enable Managed Connection Pool (MCP). */ diff --git a/src/apis/alloydb/v1alpha.ts b/src/apis/alloydb/v1alpha.ts index 3d633ddf11..f2b5c3c038 100644 --- a/src/apis/alloydb/v1alpha.ts +++ b/src/apis/alloydb/v1alpha.ts @@ -656,6 +656,10 @@ export namespace alloydb_v1alpha { * Configuration for Managed Connection Pool (MCP). */ export interface Schema$ConnectionPoolConfig { + /** + * Output only. The number of running AuthProxy poolers per instance. + */ + authproxyPoolerCount?: number | null; /** * Optional. Whether to enable Managed Connection Pool (MCP). */ diff --git a/src/apis/alloydb/v1beta.ts b/src/apis/alloydb/v1beta.ts index ed197395a3..4a2e0bab0c 100644 --- a/src/apis/alloydb/v1beta.ts +++ b/src/apis/alloydb/v1beta.ts @@ -644,6 +644,10 @@ export namespace alloydb_v1beta { * Configuration for Managed Connection Pool (MCP). */ export interface Schema$ConnectionPoolConfig { + /** + * Output only. The number of running AuthProxy poolers per instance. + */ + authproxyPoolerCount?: number | null; /** * Optional. Whether to enable Managed Connection Pool (MCP). */ From 6b1760fc34d941062f429a1fa973033dc30e7cfe Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:35 +0000 Subject: [PATCH 03/69] feat(androidmanagement): update the API #### androidmanagement:v1 The following keys were added: - schemas.ApplicationReport.properties.signingKeyCertFingerprints.deprecated - schemas.ApplicationReport.properties.signingKeyCerts.description - schemas.ApplicationReport.properties.signingKeyCerts.items.$ref - schemas.ApplicationReport.properties.signingKeyCerts.readOnly - schemas.ApplicationReport.properties.signingKeyCerts.type The following keys were changed: - schemas.ApplicationReport.properties.signingKeyCertFingerprints.description --- discovery/androidmanagement-v1.json | 13 +++++++++++-- src/apis/androidmanagement/v1.ts | 6 +++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/discovery/androidmanagement-v1.json b/discovery/androidmanagement-v1.json index 298a729ac7..9e59ba7957 100644 --- a/discovery/androidmanagement-v1.json +++ b/discovery/androidmanagement-v1.json @@ -1265,7 +1265,7 @@ } } }, - "revision": "20260507", + "revision": "20260521", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -2370,12 +2370,21 @@ "type": "string" }, "signingKeyCertFingerprints": { - "description": "The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number.", + "deprecated": true, + "description": "Deprecated. Use signingKeyCerts instead. The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number.", "items": { "type": "string" }, "type": "array" }, + "signingKeyCerts": { + "description": "Output only. Signing key certificates of the app.", + "items": { + "$ref": "ApplicationSigningKeyCert" + }, + "readOnly": true, + "type": "array" + }, "state": { "description": "Application state.", "enum": [ diff --git a/src/apis/androidmanagement/v1.ts b/src/apis/androidmanagement/v1.ts index 1a705d6177..816057dc02 100644 --- a/src/apis/androidmanagement/v1.ts +++ b/src/apis/androidmanagement/v1.ts @@ -577,9 +577,13 @@ export namespace androidmanagement_v1 { */ packageSha256Hash?: string | null; /** - * The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number. + * Deprecated. Use signingKeyCerts instead. The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number. */ signingKeyCertFingerprints?: string[] | null; + /** + * Output only. Signing key certificates of the app. + */ + signingKeyCerts?: Schema$ApplicationSigningKeyCert[]; /** * Application state. */ From 3553494dfd6cce7978a3d11db0c6c5ea5ef49e5d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:35 +0000 Subject: [PATCH 04/69] feat(androidpublisher): update the API #### androidpublisher:v3 The following keys were added: - resources.purchases.resources.subscriptions.methods.cancel.deprecated - resources.purchases.resources.subscriptions.methods.defer.deprecated - schemas.InGracePeriodStateContext.description - schemas.InGracePeriodStateContext.id - schemas.InGracePeriodStateContext.properties.renewalDeclined.$ref - schemas.InGracePeriodStateContext.properties.renewalDeclined.description - schemas.InGracePeriodStateContext.type - schemas.OnHoldStateContext.description - schemas.OnHoldStateContext.id - schemas.OnHoldStateContext.properties.renewalDeclined.$ref - schemas.OnHoldStateContext.properties.renewalDeclined.description - schemas.OnHoldStateContext.type - schemas.RenewalDeclinedContext.description - schemas.RenewalDeclinedContext.id - schemas.RenewalDeclinedContext.properties.pendingOrderId.description - schemas.RenewalDeclinedContext.properties.pendingOrderId.type - schemas.RenewalDeclinedContext.type - schemas.SubscriptionDetails.properties.offerPhase.deprecated - schemas.SubscriptionPurchase.deprecated - schemas.SubscriptionPurchaseV2.properties.inGracePeriodStateContext.$ref - schemas.SubscriptionPurchaseV2.properties.inGracePeriodStateContext.description - schemas.SubscriptionPurchaseV2.properties.onHoldStateContext.$ref - schemas.SubscriptionPurchaseV2.properties.onHoldStateContext.description The following keys were changed: - resources.purchases.resources.subscriptions.methods.cancel.description - resources.purchases.resources.subscriptions.methods.defer.description - schemas.AutoRenewingPlan.properties.recurringPrice.description - schemas.SubscriptionDetails.properties.offerPhase.description - schemas.SubscriptionPurchase.description - schemas.User.properties.developerAccountPermissions.items.enum - schemas.User.properties.developerAccountPermissions.items.enumDeprecated - schemas.User.properties.developerAccountPermissions.items.enumDescriptions --- discovery/androidpublisher-v3.json | 67 ++++++++++++++++++++++++++---- src/apis/androidpublisher/v3.ts | 47 ++++++++++++++++++--- 2 files changed, 101 insertions(+), 13 deletions(-) diff --git a/discovery/androidpublisher-v3.json b/discovery/androidpublisher-v3.json index 60bd30895c..0837d0e19a 100644 --- a/discovery/androidpublisher-v3.json +++ b/discovery/androidpublisher-v3.json @@ -4843,7 +4843,8 @@ ] }, "cancel": { - "description": "Cancels a user's subscription purchase. The subscription remains valid until its expiration time. Newer version is available at purchases.subscriptionsv2.cancel for better client library support.", + "deprecated": true, + "description": "Deprecated: Use purchases.subscriptionsv2.cancel instead. Cancels a user's subscription purchase. The subscription remains valid until its expiration time. Newer version is available at purchases.subscriptionsv2.cancel for better client library support.", "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel", "httpMethod": "POST", "id": "androidpublisher.purchases.subscriptions.cancel", @@ -4878,7 +4879,8 @@ ] }, "defer": { - "description": "Defers a user's subscription purchase until a specified future expiration time.", + "deprecated": true, + "description": "Deprecated: Use purchases.subscriptionsv2.defer instead. Defers a user's subscription purchase until a specified future expiration time.", "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer", "httpMethod": "POST", "id": "androidpublisher.purchases.subscriptions.defer", @@ -5637,7 +5639,7 @@ } } }, - "revision": "20260506", + "revision": "20260519", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -6308,7 +6310,7 @@ }, "recurringPrice": { "$ref": "Money", - "description": "The current recurring price of the auto renewing plan. Note that the price does not take into account discounts and does not include taxes for tax-exclusive pricing, please call orders.get API instead if transaction details are needed." + "description": "The current recurring price of the auto renewing plan. Note that the price does not take into account discounts and does not include taxes. For tax-exclusive pricing, please call orders.get API instead if transaction details are needed." } }, "type": "object" @@ -8555,6 +8557,17 @@ }, "type": "object" }, + "InGracePeriodStateContext": { + "description": "Additional context around subscriptions in IN_GRACE_PERIOD state.", + "id": "InGracePeriodStateContext", + "properties": { + "renewalDeclined": { + "$ref": "RenewalDeclinedContext", + "description": "Optional. The payment for the renewal was declined." + } + }, + "type": "object" + }, "InappproductsBatchDeleteRequest": { "description": "Request to delete multiple in-app products.", "id": "InappproductsBatchDeleteRequest", @@ -9469,6 +9482,17 @@ }, "type": "object" }, + "OnHoldStateContext": { + "description": "Additional context around subscriptions in ON_HOLD state.", + "id": "OnHoldStateContext", + "properties": { + "renewalDeclined": { + "$ref": "RenewalDeclinedContext", + "description": "Optional. The payment for the renewal was declined." + } + }, + "type": "object" + }, "OneTimeCode": { "description": "A single use promotion code.", "id": "OneTimeCode", @@ -11172,6 +11196,17 @@ }, "type": "object" }, + "RenewalDeclinedContext": { + "description": "Context related to renewal declined scenario.", + "id": "RenewalDeclinedContext", + "properties": { + "pendingOrderId": { + "description": "Required. The ID of the pending or failed order causing the state.", + "type": "string" + } + }, + "type": "object" + }, "RentOfferDetails": { "description": "Offer details information related to a rental line item.", "id": "RentOfferDetails", @@ -11636,7 +11671,8 @@ "type": "string" }, "offerPhase": { - "description": "The pricing phase for the billing period funded by this order. Deprecated. Use offer_phase_details instead.", + "deprecated": true, + "description": "Deprecated: Use offer_phase_details instead. The pricing phase for the billing period funded by this order.", "enum": [ "OFFER_PHASE_UNSPECIFIED", "BASE", @@ -11872,7 +11908,8 @@ "type": "object" }, "SubscriptionPurchase": { - "description": "A SubscriptionPurchase resource indicates the status of a user's subscription purchase.", + "deprecated": true, + "description": "Deprecated: Use SubscriptionPurchaseV2 instead. A SubscriptionPurchase resource indicates the status of a user's subscription purchase.", "id": "SubscriptionPurchase", "properties": { "acknowledgementState": { @@ -12086,6 +12123,10 @@ "$ref": "ExternalAccountIdentifiers", "description": "User account identifier in the third-party service." }, + "inGracePeriodStateContext": { + "$ref": "InGracePeriodStateContext", + "description": "Optional. Additional context around subscriptions in IN_GRACE_PERIOD state. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_IN_GRACE_PERIOD." + }, "kind": { "description": "This kind represents a SubscriptionPurchaseV2 object in the androidpublisher service.", "type": "string" @@ -12106,6 +12147,10 @@ "description": "The purchase token of the old subscription if this subscription is one of the following: * Re-signup of a canceled but non-lapsed subscription * Upgrade/downgrade from a previous subscription. * Convert from prepaid to auto renewing subscription. * Convert from an auto renewing subscription to prepaid. * Topup a prepaid subscription.", "type": "string" }, + "onHoldStateContext": { + "$ref": "OnHoldStateContext", + "description": "Optional. Additional context around subscriptions in ON_HOLD state. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_ON_HOLD." + }, "outOfAppPurchaseContext": { "$ref": "OutOfAppPurchaseContext", "description": "Additional context for out of app purchases. This information is only present for re-subscription purchases (subscription purchases made after the previous subscription of the same product has expired) made through the Google Play subscriptions center. This field will be removed after you acknowledge the subscription." @@ -12982,7 +13027,9 @@ "CAN_MANAGE_APP_CONTENT_GLOBAL", "CAN_VIEW_NON_FINANCIAL_DATA_GLOBAL", "CAN_VIEW_APP_QUALITY_GLOBAL", - "CAN_MANAGE_DEEPLINKS_GLOBAL" + "CAN_MANAGE_DEEPLINKS_GLOBAL", + "CAN_VIEW_CONNECTED_APPS_GLOBAL", + "CAN_EDIT_CONNECTED_APPS_GLOBAL" ], "enumDeprecated": [ false, @@ -13003,6 +13050,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -13024,7 +13073,9 @@ "Manage policy related pages on all apps for the developer.", "View app information and download bulk reports (read-only).", "View app quality information for all apps for the developer.", - "Manage the deep links setup for all apps for the developer." + "Manage the deep links setup for all apps for the developer.", + "Allows viewing connected apps in the Google Play Console.", + "Allows editing connected apps in the Google Play Console." ], "type": "string" }, diff --git a/src/apis/androidpublisher/v3.ts b/src/apis/androidpublisher/v3.ts index 21084a3028..1a01a7feac 100644 --- a/src/apis/androidpublisher/v3.ts +++ b/src/apis/androidpublisher/v3.ts @@ -621,7 +621,7 @@ export namespace androidpublisher_v3 { */ priceStepUpConsentDetails?: Schema$PriceStepUpConsentDetails; /** - * The current recurring price of the auto renewing plan. Note that the price does not take into account discounts and does not include taxes for tax-exclusive pricing, please call orders.get API instead if transaction details are needed. + * The current recurring price of the auto renewing plan. Note that the price does not take into account discounts and does not include taxes. For tax-exclusive pricing, please call orders.get API instead if transaction details are needed. */ recurringPrice?: Schema$Money; } @@ -2272,6 +2272,15 @@ export namespace androidpublisher_v3 { */ sku?: string | null; } + /** + * Additional context around subscriptions in IN_GRACE_PERIOD state. + */ + export interface Schema$InGracePeriodStateContext { + /** + * Optional. The payment for the renewal was declined. + */ + renewalDeclined?: Schema$RenewalDeclinedContext; + } /** * Information to a installment plan. */ @@ -3134,6 +3143,15 @@ export namespace androidpublisher_v3 { */ rentalDetails?: Schema$RentalDetails; } + /** + * Additional context around subscriptions in ON_HOLD state. + */ + export interface Schema$OnHoldStateContext { + /** + * Optional. The payment for the renewal was declined. + */ + renewalDeclined?: Schema$RenewalDeclinedContext; + } /** * The Order resource encapsulates comprehensive information about a transaction made on Google Play. It includes a variety of attributes that provide details about the order itself, the products purchased, and the history of events related to the order. The Orders APIs provide real-time access to your order data within the Google Play ecosystem. You can retrieve detailed information and metadata for both one-time and recurring orders, including transaction details like charges, taxes, and refunds, as well as metadata such as pricing phases for subscriptions. The Orders APIs let you automate tasks related to order management, reducing the need for manual checks via the Play Developer Console. The following are some of the use cases for this API: + Real-time order data retrieval - Get order details and metadata immediately after a purchase using an order ID. + Order update synchronization - Periodically sync order updates to maintain an up-to-date record of order information. Note: + The Orders API calls count towards your Play Developer API quota, which defaults to 200K daily, and may be insufficient to sync extensive order histories. + A maximum of 1000 orders can be retrieved per call. Using larger page sizes is recommended to minimize quota usage. Check your quota in the Cloud Console and request more if required. */ @@ -3951,6 +3969,15 @@ export namespace androidpublisher_v3 { */ versionCode?: string | null; } + /** + * Context related to renewal declined scenario. + */ + export interface Schema$RenewalDeclinedContext { + /** + * Required. The ID of the pending or failed order causing the state. + */ + pendingOrderId?: string | null; + } /** * Details of a rental purchase. */ @@ -4294,7 +4321,7 @@ export namespace androidpublisher_v3 { */ offerId?: string | null; /** - * The pricing phase for the billing period funded by this order. Deprecated. Use offer_phase_details instead. + * Deprecated: Use offer_phase_details instead. The pricing phase for the billing period funded by this order. */ offerPhase?: string | null; /** @@ -4445,7 +4472,7 @@ export namespace androidpublisher_v3 { state?: number | null; } /** - * A SubscriptionPurchase resource indicates the status of a user's subscription purchase. + * Deprecated: Use SubscriptionPurchaseV2 instead. A SubscriptionPurchase resource indicates the status of a user's subscription purchase. */ export interface Schema$SubscriptionPurchase { /** @@ -4665,6 +4692,10 @@ export namespace androidpublisher_v3 { * User account identifier in the third-party service. */ externalAccountIdentifiers?: Schema$ExternalAccountIdentifiers; + /** + * Optional. Additional context around subscriptions in IN_GRACE_PERIOD state. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_IN_GRACE_PERIOD. + */ + inGracePeriodStateContext?: Schema$InGracePeriodStateContext; /** * This kind represents a SubscriptionPurchaseV2 object in the androidpublisher service. */ @@ -4681,6 +4712,10 @@ export namespace androidpublisher_v3 { * The purchase token of the old subscription if this subscription is one of the following: * Re-signup of a canceled but non-lapsed subscription * Upgrade/downgrade from a previous subscription. * Convert from prepaid to auto renewing subscription. * Convert from an auto renewing subscription to prepaid. * Topup a prepaid subscription. */ linkedPurchaseToken?: string | null; + /** + * Optional. Additional context around subscriptions in ON_HOLD state. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_ON_HOLD. + */ + onHoldStateContext?: Schema$OnHoldStateContext; /** * Additional context for out of app purchases. This information is only present for re-subscription purchases (subscription purchases made after the previous subscription of the same product has expired) made through the Google Play subscriptions center. This field will be removed after you acknowledge the subscription. */ @@ -25417,7 +25452,7 @@ export namespace androidpublisher_v3 { } /** - * Cancels a user's subscription purchase. The subscription remains valid until its expiration time. Newer version is available at purchases.subscriptionsv2.cancel for better client library support. + * Deprecated: Use purchases.subscriptionsv2.cancel instead. Cancels a user's subscription purchase. The subscription remains valid until its expiration time. Newer version is available at purchases.subscriptionsv2.cancel for better client library support. * @example * ```js * // Before running the sample: @@ -25552,7 +25587,7 @@ export namespace androidpublisher_v3 { } /** - * Defers a user's subscription purchase until a specified future expiration time. + * Deprecated: Use purchases.subscriptionsv2.defer instead. Defers a user's subscription purchase until a specified future expiration time. * @example * ```js * // Before running the sample: @@ -26613,10 +26648,12 @@ export namespace androidpublisher_v3 { * // "canceledStateContext": {}, * // "etag": "my_etag", * // "externalAccountIdentifiers": {}, + * // "inGracePeriodStateContext": {}, * // "kind": "my_kind", * // "latestOrderId": "my_latestOrderId", * // "lineItems": [], * // "linkedPurchaseToken": "my_linkedPurchaseToken", + * // "onHoldStateContext": {}, * // "outOfAppPurchaseContext": {}, * // "pausedStateContext": {}, * // "regionCode": "my_regionCode", From be08d2b2a3e3d08532bc0dea0876c62c2b0f02db Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:35 +0000 Subject: [PATCH 05/69] feat(backupdr): update the API #### backupdr:v1 The following keys were added: - schemas.ComputeInstanceTargetEnvironment.properties.useProjectServiceAccount.description - schemas.ComputeInstanceTargetEnvironment.properties.useProjectServiceAccount.type - schemas.DiskTargetEnvironment.properties.useProjectServiceAccount.description - schemas.DiskTargetEnvironment.properties.useProjectServiceAccount.type - schemas.RegionDiskTargetEnvironment.properties.useProjectServiceAccount.description - schemas.RegionDiskTargetEnvironment.properties.useProjectServiceAccount.type The following keys were changed: - schemas.BackupPlan.properties.computeInstanceBackupPlanProperties.description - schemas.ComputeInstanceBackupPlanProperties.description - schemas.DiskBackupPlanProperties.description --- discovery/backupdr-v1.json | 20 ++++++++++++++++---- src/apis/backupdr/v1.ts | 18 +++++++++++++++--- 2 files changed, 31 insertions(+), 7 deletions(-) diff --git a/discovery/backupdr-v1.json b/discovery/backupdr-v1.json index c9da067bd6..7526c2c253 100644 --- a/discovery/backupdr-v1.json +++ b/discovery/backupdr-v1.json @@ -2661,7 +2661,7 @@ } } }, - "revision": "20260507", + "revision": "20260517", "rootUrl": "https://backupdr.googleapis.com/", "schemas": { "AbandonBackupRequest": { @@ -3675,7 +3675,7 @@ }, "computeInstanceBackupPlanProperties": { "$ref": "ComputeInstanceBackupPlanProperties", - "description": "Optional. Defines optional properties specific to backups of disk-based resources, such as Compute Engine. This includes settings like whether to perform a guest flush." + "description": "Optional. Defines optional properties specific to backups of compute instance-based resources, such as Compute Engine. This includes settings like whether to perform a guest flush." }, "createTime": { "description": "Output only. When the `BackupPlan` was created.", @@ -4245,7 +4245,7 @@ "type": "object" }, "ComputeInstanceBackupPlanProperties": { - "description": "--- ComputeInstanceBackupPlanProperties Message ---", + "description": "Properties for a compute instance backup plan.", "id": "ComputeInstanceBackupPlanProperties", "properties": { "guestFlush": { @@ -4531,6 +4531,10 @@ "description": "Required. Target project for the Compute Engine instance.", "type": "string" }, + "useProjectServiceAccount": { + "description": "Optional. Whether to use the project service account for the Compute Engine instance.", + "type": "boolean" + }, "zone": { "description": "Required. The zone of the Compute Engine instance.", "type": "string" @@ -4879,7 +4883,7 @@ "type": "object" }, "DiskBackupPlanProperties": { - "description": "--- DiskBackupPlanProperties Message ---", + "description": "Properties for a disk backup plan.", "id": "DiskBackupPlanProperties", "properties": { "guestFlush": { @@ -5140,6 +5144,10 @@ "description": "Required. Target project for the disk.", "type": "string" }, + "useProjectServiceAccount": { + "description": "Optional. Whether to use the project service account for the disk.", + "type": "boolean" + }, "zone": { "description": "Required. Target zone for the disk.", "type": "string" @@ -6579,6 +6587,10 @@ "type": "string" }, "type": "array" + }, + "useProjectServiceAccount": { + "description": "Optional. Whether to use the project service account for the disk.", + "type": "boolean" } }, "type": "object" diff --git a/src/apis/backupdr/v1.ts b/src/apis/backupdr/v1.ts index e1bda85068..531bebe5dc 100644 --- a/src/apis/backupdr/v1.ts +++ b/src/apis/backupdr/v1.ts @@ -775,7 +775,7 @@ export namespace backupdr_v1 { */ backupVaultServiceAccount?: string | null; /** - * Optional. Defines optional properties specific to backups of disk-based resources, such as Compute Engine. This includes settings like whether to perform a guest flush. + * Optional. Defines optional properties specific to backups of compute instance-based resources, such as Compute Engine. This includes settings like whether to perform a guest flush. */ computeInstanceBackupPlanProperties?: Schema$ComputeInstanceBackupPlanProperties; /** @@ -1139,7 +1139,7 @@ export namespace backupdr_v1 { edition?: string | null; } /** - * --- ComputeInstanceBackupPlanProperties Message --- + * Properties for a compute instance backup plan. */ export interface Schema$ComputeInstanceBackupPlanProperties { /** @@ -1350,6 +1350,10 @@ export namespace backupdr_v1 { * Required. Target project for the Compute Engine instance. */ project?: string | null; + /** + * Optional. Whether to use the project service account for the Compute Engine instance. + */ + useProjectServiceAccount?: boolean | null; /** * Required. The zone of the Compute Engine instance. */ @@ -1592,7 +1596,7 @@ export namespace backupdr_v1 { totalStoredBytes?: string | null; } /** - * --- DiskBackupPlanProperties Message --- + * Properties for a disk backup plan. */ export interface Schema$DiskBackupPlanProperties { /** @@ -1779,6 +1783,10 @@ export namespace backupdr_v1 { * Required. Target project for the disk. */ project?: string | null; + /** + * Optional. Whether to use the project service account for the disk. + */ + useProjectServiceAccount?: boolean | null; /** * Required. Target zone for the disk. */ @@ -2742,6 +2750,10 @@ export namespace backupdr_v1 { * Required. Target URLs of the replica zones for the disk. */ replicaZones?: string[] | null; + /** + * Optional. Whether to use the project service account for the disk. + */ + useProjectServiceAccount?: boolean | null; } /** * Message for deleting a DataSource. From d33d5abfe3ebef6b507da3f5a4a9f6eeb2e9892f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:35 +0000 Subject: [PATCH 06/69] feat(bigquery): update the API #### bigquery:v2 The following keys were added: - schemas.DataPolicyList.description - schemas.DataPolicyList.id - schemas.DataPolicyList.properties.dataPolicies.description - schemas.DataPolicyList.properties.dataPolicies.items.$ref - schemas.DataPolicyList.properties.dataPolicies.type - schemas.DataPolicyList.type - schemas.ExternalRuntimeOptions.properties.containerRequestConcurrency.description - schemas.ExternalRuntimeOptions.properties.containerRequestConcurrency.format - schemas.ExternalRuntimeOptions.properties.containerRequestConcurrency.type - schemas.GenAiFunctionCacheStats.description - schemas.GenAiFunctionCacheStats.id - schemas.GenAiFunctionCacheStats.properties.numCacheHitRows.description - schemas.GenAiFunctionCacheStats.properties.numCacheHitRows.format - schemas.GenAiFunctionCacheStats.properties.numCacheHitRows.type - schemas.GenAiFunctionCacheStats.type - schemas.GenAiFunctionStats.properties.cacheStats.$ref - schemas.GenAiFunctionStats.properties.cacheStats.description - schemas.MetadataCacheStalenessInsight.description - schemas.MetadataCacheStalenessInsight.id - schemas.MetadataCacheStalenessInsight.properties.avgPreviousStalenessMs.description - schemas.MetadataCacheStalenessInsight.properties.avgPreviousStalenessMs.format - schemas.MetadataCacheStalenessInsight.properties.avgPreviousStalenessMs.readOnly - schemas.MetadataCacheStalenessInsight.properties.avgPreviousStalenessMs.type - schemas.MetadataCacheStalenessInsight.properties.stalenessPercentageIncrease.description - schemas.MetadataCacheStalenessInsight.properties.stalenessPercentageIncrease.format - schemas.MetadataCacheStalenessInsight.properties.stalenessPercentageIncrease.readOnly - schemas.MetadataCacheStalenessInsight.properties.stalenessPercentageIncrease.type - schemas.MetadataCacheStalenessInsight.type - schemas.PerformanceInsights.properties.tableChangeInsights.description - schemas.PerformanceInsights.properties.tableChangeInsights.items.$ref - schemas.PerformanceInsights.properties.tableChangeInsights.readOnly - schemas.PerformanceInsights.properties.tableChangeInsights.type - schemas.TableChangeInsight.description - schemas.TableChangeInsight.id - schemas.TableChangeInsight.properties.metadataCacheNotUsedButUsedPreviously.description - schemas.TableChangeInsight.properties.metadataCacheNotUsedButUsedPreviously.readOnly - schemas.TableChangeInsight.properties.metadataCacheNotUsedButUsedPreviously.type - schemas.TableChangeInsight.properties.metadataCacheStalenessInsight.$ref - schemas.TableChangeInsight.properties.metadataCacheStalenessInsight.description - schemas.TableChangeInsight.properties.metadataCacheStalenessInsight.readOnly - schemas.TableChangeInsight.properties.tableReference.$ref - schemas.TableChangeInsight.properties.tableReference.description - schemas.TableChangeInsight.properties.tableReference.readOnly - schemas.TableChangeInsight.type - schemas.TableFieldSchema.properties.dataGovernanceTagsInfo.description - schemas.TableFieldSchema.properties.dataGovernanceTagsInfo.properties.dataGovernanceTags.additionalProperties.type - schemas.TableFieldSchema.properties.dataGovernanceTagsInfo.properties.dataGovernanceTags.description - schemas.TableFieldSchema.properties.dataGovernanceTagsInfo.properties.dataGovernanceTags.type - schemas.TableFieldSchema.properties.dataGovernanceTagsInfo.type - schemas.TableFieldSchema.properties.dataPolicyList.$ref - schemas.TableFieldSchema.properties.dataPolicyList.description --- discovery/bigquery-v2.json | 103 ++++++++++++++++++++++++++++++++++++- src/apis/bigquery/v2.ts | 70 +++++++++++++++++++++++++ 2 files changed, 172 insertions(+), 1 deletion(-) diff --git a/discovery/bigquery-v2.json b/discovery/bigquery-v2.json index fa4a257e80..f6c27add1c 100644 --- a/discovery/bigquery-v2.json +++ b/discovery/bigquery-v2.json @@ -2390,7 +2390,7 @@ } } }, - "revision": "20260314", + "revision": "20260429", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -3607,6 +3607,20 @@ }, "type": "object" }, + "DataPolicyList": { + "description": "A list of data policy options. For more information, see [Mask data by applying data policies to a column](https://docs.cloud.google.com/bigquery/docs/column-data-masking#data-policies-on-column).", + "id": "DataPolicyList", + "properties": { + "dataPolicies": { + "description": "Contains a list of data policy options. At most 9 data policies are allowed per field.", + "items": { + "$ref": "DataPolicyOption" + }, + "type": "array" + } + }, + "type": "object" + }, "DataPolicyOption": { "description": "Data policy option. For more information, see [Mask data by applying data policies to a column](https://docs.cloud.google.com/bigquery/docs/column-data-masking#data-policies-on-column).", "id": "DataPolicyOption", @@ -4764,6 +4778,11 @@ "description": "Optional. Amount of memory provisioned for a Python UDF container instance. Format: {number}{unit} where unit is one of \"M\", \"G\", \"Mi\" and \"Gi\" (e.g. 1G, 512Mi). If not specified, the default value is 512Mi. For more information, see [Configure container limits for Python UDFs](https://cloud.google.com/bigquery/docs/user-defined-functions-python#configure-container-limits)", "type": "string" }, + "containerRequestConcurrency": { + "description": "Optional. Maximum number of requests that a Cloud Run instance can handle concurrently. If absent or if `0`, a default concurrency is used.", + "format": "int64", + "type": "string" + }, "maxBatchingRows": { "description": "Optional. Maximum number of rows in each batch sent to the external runtime. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.", "format": "int64", @@ -4883,6 +4902,18 @@ }, "type": "object" }, + "GenAiFunctionCacheStats": { + "description": "Provides cache statistics for a GenAi function call.", + "id": "GenAiFunctionCacheStats", + "properties": { + "numCacheHitRows": { + "description": "Number of rows served from cache.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GenAiFunctionCostOptimizationStats": { "description": "Provides cost optimization statistics for a GenAi function call.", "id": "GenAiFunctionCostOptimizationStats", @@ -4922,6 +4953,10 @@ "description": "Provides statistics for each Ai function call within a query.", "id": "GenAiFunctionStats", "properties": { + "cacheStats": { + "$ref": "GenAiFunctionCacheStats", + "description": "Cache stats for the function." + }, "costOptimizationStats": { "$ref": "GenAiFunctionCostOptimizationStats", "description": "Cost optimization stats if applied on the rows processed by the function." @@ -7318,6 +7353,25 @@ }, "type": "object" }, + "MetadataCacheStalenessInsight": { + "description": "Column Metadata Index staleness detailed infnormation.", + "id": "MetadataCacheStalenessInsight", + "properties": { + "avgPreviousStalenessMs": { + "description": "Output only. Average column metadata index staleness of previous runs with the same query hash.", + "format": "google-duration", + "readOnly": true, + "type": "string" + }, + "stalenessPercentageIncrease": { + "description": "Output only. The percent increase in staleness between the current job and the average staleness of previous jobs with the same query hash.", + "format": "double", + "readOnly": true, + "type": "number" + } + }, + "type": "object" + }, "MetadataCacheStatistics": { "description": "Statistics for metadata caching in queried tables.", "id": "MetadataCacheStatistics", @@ -7795,6 +7849,14 @@ }, "readOnly": true, "type": "array" + }, + "tableChangeInsights": { + "description": "Output only. Performance insights for table-level attributes that changed compared to previous runs.", + "items": { + "$ref": "TableChangeInsight" + }, + "readOnly": true, + "type": "array" } }, "type": "object" @@ -9872,6 +9934,28 @@ }, "type": "object" }, + "TableChangeInsight": { + "description": "Table-level performance insights compared to previous runs. These insights don't apply to specific query stages, rather they apply to the whole table.", + "id": "TableChangeInsight", + "properties": { + "metadataCacheNotUsedButUsedPreviously": { + "description": "Output only. True if the table's column metadata index was not used in the current job, but was used in a previous job with the same query hash.", + "readOnly": true, + "type": "boolean" + }, + "metadataCacheStalenessInsight": { + "$ref": "MetadataCacheStalenessInsight", + "description": "Output only. If present, indicates that the table's metadata column index staleness has increased significantly compared to previous jobs with the same query hash.", + "readOnly": true + }, + "tableReference": { + "$ref": "TableReference", + "description": "Output only. The table that was queried.", + "readOnly": true + } + }, + "type": "object" + }, "TableConstraints": { "description": "The TableConstraints defines the primary key and foreign key.", "id": "TableConstraints", @@ -10069,6 +10153,19 @@ "description": "Optional. Field collation can be set only when the type of field is STRING. The following values are supported: * 'und:ci': undetermined locale, case insensitive. * '': empty string. Default to case-sensitive behavior.", "type": "string" }, + "dataGovernanceTagsInfo": { + "description": "Optional. Specifies the data governance tags on this field. This field works with other column-level security fields as follows: - Precedence: If a data governance tag is attached to a column, it takes precedence over the policy tag attached to the column. However, if a data policy is attached to a column, it takes precedence over the data governance tag. - Patching behavior (how this field behaves during a `Table.patch` schema update): - Unset: If the `data_governance_tags_info` field is omitted from the update request, the existing tags on the column are preserved. - Empty Field: To clear data governance tags from a column, send the `data_governance_tags_info` field as an empty object. This will remove all tags from the column. - Updating tags: To replace existing tag, send the field with the new tag.", + "properties": { + "dataGovernanceTags": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The data governance tags added to this field are used for field-level access control. Only one data governance tag is currently supported on a field. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for example \"123456789012/pii\" where 123456789012 is the ID of the parent organization or project resource for this tag key. Tag value is expected to be the short name, for example \"sensitive\". See [Tag definitions](https://cloud.google.com/iam/docs/tags-access-control#definitions) for more details. For example: \"123456789012/pii\": \"sensitive\", \"myProject/cost_center\": \"sales\"", + "type": "object" + } + }, + "type": "object" + }, "dataPolicies": { "description": "Optional. Data policies attached to this field, used for field-level access control.", "items": { @@ -10076,6 +10173,10 @@ }, "type": "array" }, + "dataPolicyList": { + "$ref": "DataPolicyList", + "description": "Optional. Specifies data policies attached to this field, used for field-level access control. When set, this will be the source of truth for data policy information." + }, "defaultValueExpression": { "description": "Optional. A SQL expression to specify the [default value] (https://cloud.google.com/bigquery/docs/default-values) for this field.", "type": "string" diff --git a/src/apis/bigquery/v2.ts b/src/apis/bigquery/v2.ts index 2ba5c7171d..103daa4360 100644 --- a/src/apis/bigquery/v2.ts +++ b/src/apis/bigquery/v2.ts @@ -910,6 +910,15 @@ export namespace bigquery_v2 { */ dataMaskingApplied?: boolean | null; } + /** + * A list of data policy options. For more information, see [Mask data by applying data policies to a column](https://docs.cloud.google.com/bigquery/docs/column-data-masking#data-policies-on-column). + */ + export interface Schema$DataPolicyList { + /** + * Contains a list of data policy options. At most 9 data policies are allowed per field. + */ + dataPolicies?: Schema$DataPolicyOption[]; + } /** * Data policy option. For more information, see [Mask data by applying data policies to a column](https://docs.cloud.google.com/bigquery/docs/column-data-masking#data-policies-on-column). */ @@ -1694,6 +1703,10 @@ export namespace bigquery_v2 { * Optional. Amount of memory provisioned for a Python UDF container instance. Format: {number\}{unit\} where unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G, 512Mi). If not specified, the default value is 512Mi. For more information, see [Configure container limits for Python UDFs](https://cloud.google.com/bigquery/docs/user-defined-functions-python#configure-container-limits) */ containerMemory?: string | null; + /** + * Optional. Maximum number of requests that a Cloud Run instance can handle concurrently. If absent or if `0`, a default concurrency is used. + */ + containerRequestConcurrency?: string | null; /** * Optional. Maximum number of rows in each batch sent to the external runtime. If absent or if 0, BigQuery dynamically decides the number of rows in a batch. */ @@ -1784,6 +1797,15 @@ export namespace bigquery_v2 { */ errors?: string[] | null; } + /** + * Provides cache statistics for a GenAi function call. + */ + export interface Schema$GenAiFunctionCacheStats { + /** + * Number of rows served from cache. + */ + numCacheHitRows?: string | null; + } /** * Provides cost optimization statistics for a GenAi function call. */ @@ -1814,6 +1836,10 @@ export namespace bigquery_v2 { * Provides statistics for each Ai function call within a query. */ export interface Schema$GenAiFunctionStats { + /** + * Cache stats for the function. + */ + cacheStats?: Schema$GenAiFunctionCacheStats; /** * Cost optimization stats if applied on the rows processed by the function. */ @@ -3450,6 +3476,19 @@ export namespace bigquery_v2 { */ refreshWatermark?: string | null; } + /** + * Column Metadata Index staleness detailed infnormation. + */ + export interface Schema$MetadataCacheStalenessInsight { + /** + * Output only. Average column metadata index staleness of previous runs with the same query hash. + */ + avgPreviousStalenessMs?: string | null; + /** + * Output only. The percent increase in staleness between the current job and the average staleness of previous jobs with the same query hash. + */ + stalenessPercentageIncrease?: number | null; + } /** * Statistics for metadata caching in queried tables. */ @@ -3683,6 +3722,10 @@ export namespace bigquery_v2 { * Output only. Standalone query stage performance insights, for exploring potential improvements. */ stagePerformanceStandaloneInsights?: Schema$StagePerformanceStandaloneInsight[]; + /** + * Output only. Performance insights for table-level attributes that changed compared to previous runs. + */ + tableChangeInsights?: Schema$TableChangeInsight[]; } /** * An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] \}, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", \} \} ], "etag": "BwWWja0YfJA=", "version": 3 \} ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). @@ -5080,6 +5123,23 @@ export namespace bigquery_v2 { export interface Schema$TableCell { v?: any | null; } + /** + * Table-level performance insights compared to previous runs. These insights don't apply to specific query stages, rather they apply to the whole table. + */ + export interface Schema$TableChangeInsight { + /** + * Output only. True if the table's column metadata index was not used in the current job, but was used in a previous job with the same query hash. + */ + metadataCacheNotUsedButUsedPreviously?: boolean | null; + /** + * Output only. If present, indicates that the table's metadata column index staleness has increased significantly compared to previous jobs with the same query hash. + */ + metadataCacheStalenessInsight?: Schema$MetadataCacheStalenessInsight; + /** + * Output only. The table that was queried. + */ + tableReference?: Schema$TableReference; + } /** * The TableConstraints defines the primary key and foreign key. */ @@ -5177,10 +5237,20 @@ export namespace bigquery_v2 { * Optional. Field collation can be set only when the type of field is STRING. The following values are supported: * 'und:ci': undetermined locale, case insensitive. * '': empty string. Default to case-sensitive behavior. */ collation?: string | null; + /** + * Optional. Specifies the data governance tags on this field. This field works with other column-level security fields as follows: - Precedence: If a data governance tag is attached to a column, it takes precedence over the policy tag attached to the column. However, if a data policy is attached to a column, it takes precedence over the data governance tag. - Patching behavior (how this field behaves during a `Table.patch` schema update): - Unset: If the `data_governance_tags_info` field is omitted from the update request, the existing tags on the column are preserved. - Empty Field: To clear data governance tags from a column, send the `data_governance_tags_info` field as an empty object. This will remove all tags from the column. - Updating tags: To replace existing tag, send the field with the new tag. + */ + dataGovernanceTagsInfo?: { + dataGovernanceTags?: {[key: string]: string}; + } | null; /** * Optional. Data policies attached to this field, used for field-level access control. */ dataPolicies?: Schema$DataPolicyOption[]; + /** + * Optional. Specifies data policies attached to this field, used for field-level access control. When set, this will be the source of truth for data policy information. + */ + dataPolicyList?: Schema$DataPolicyList; /** * Optional. A SQL expression to specify the [default value] (https://cloud.google.com/bigquery/docs/default-values) for this field. */ From 08d6518a195b520d622afd51cb9b6bb4b6869933 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:35 +0000 Subject: [PATCH 07/69] fix(bigtableadmin): update the API #### bigtableadmin:v2 The following keys were changed: - schemas.AutomatedBackupPolicy.properties.locations.description - schemas.ProtoSchema.description --- discovery/bigtableadmin-v2.json | 6 +++--- src/apis/bigtableadmin/v2.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/discovery/bigtableadmin-v2.json b/discovery/bigtableadmin-v2.json index 4e86aab41a..c1aa14e65e 100644 --- a/discovery/bigtableadmin-v2.json +++ b/discovery/bigtableadmin-v2.json @@ -3194,7 +3194,7 @@ } } }, - "revision": "20260425", + "revision": "20260514", "rootUrl": "https://bigtableadmin.googleapis.com/", "schemas": { "AppProfile": { @@ -3330,7 +3330,7 @@ "type": "string" }, "locations": { - "description": "Optional. A list of Cloud Bigtable zones where automated backups are allowed to be created. If empty, automated backups will be created in all zones of the instance. Locations are in the format `projects/{project}/locations/{zone}`. This field can only set for tables in Enterprise Plus instances.", + "description": "Optional. A list of Cloud Bigtable zones where automated backups are allowed to be created. If empty, automated backups will be created in all zones of the instance. Locations are in the format `projects/{project}/locations/{zone}`. You can set this field only for tables in Enterprise Plus instances.", "items": { "type": "string" }, @@ -5530,7 +5530,7 @@ "type": "object" }, "ProtoSchema": { - "description": "Represents a protobuf schema.", + "description": "Represents a collection of protobuf schemas.", "id": "ProtoSchema", "properties": { "protoDescriptors": { diff --git a/src/apis/bigtableadmin/v2.ts b/src/apis/bigtableadmin/v2.ts index 6c031eea34..0977ebaeb7 100644 --- a/src/apis/bigtableadmin/v2.ts +++ b/src/apis/bigtableadmin/v2.ts @@ -219,7 +219,7 @@ export namespace bigtableadmin_v2 { */ frequency?: string | null; /** - * Optional. A list of Cloud Bigtable zones where automated backups are allowed to be created. If empty, automated backups will be created in all zones of the instance. Locations are in the format `projects/{project\}/locations/{zone\}`. This field can only set for tables in Enterprise Plus instances. + * Optional. A list of Cloud Bigtable zones where automated backups are allowed to be created. If empty, automated backups will be created in all zones of the instance. Locations are in the format `projects/{project\}/locations/{zone\}`. You can set this field only for tables in Enterprise Plus instances. */ locations?: string[] | null; /** @@ -1823,7 +1823,7 @@ export namespace bigtableadmin_v2 { version?: number | null; } /** - * Represents a protobuf schema. + * Represents a collection of protobuf schemas. */ export interface Schema$ProtoSchema { /** From ee25d8ba8318347ccf98354cf903408de52b64d4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:35 +0000 Subject: [PATCH 08/69] fix(blogger): update the API #### blogger:v3 The following keys were changed: - title --- discovery/blogger-v3.json | 4 ++-- src/apis/blogger/v3.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discovery/blogger-v3.json b/discovery/blogger-v3.json index 2a24690917..b42ef07250 100644 --- a/discovery/blogger-v3.json +++ b/discovery/blogger-v3.json @@ -1713,7 +1713,7 @@ } } }, - "revision": "20260309", + "revision": "20260521", "rootUrl": "https://blogger.googleapis.com/", "schemas": { "Blog": { @@ -2554,6 +2554,6 @@ } }, "servicePath": "", - "title": "Blogger API", + "title": "blogger API", "version": "v3" } \ No newline at end of file diff --git a/src/apis/blogger/v3.ts b/src/apis/blogger/v3.ts index c7a32519cd..9825a59660 100644 --- a/src/apis/blogger/v3.ts +++ b/src/apis/blogger/v3.ts @@ -100,7 +100,7 @@ export namespace blogger_v3 { } /** - * Blogger API + * blogger API * * The Blogger API provides access to posts, comments and pages of a Blogger blog. * From 5b9606a3658281b832feaf48e4d01ed8eb9c0232 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:36 +0000 Subject: [PATCH 09/69] feat(calendar): update the API #### calendar:v3 The following keys were added: - schemas.EventAttendee.properties.asyncOperation.default - schemas.EventAttendee.properties.asyncOperation.description - schemas.EventAttendee.properties.asyncOperation.type --- discovery/calendar-v3.json | 7 ++++++- src/apis/calendar/v3.ts | 7 +++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/discovery/calendar-v3.json b/discovery/calendar-v3.json index b06fbae588..fb7d18baf9 100644 --- a/discovery/calendar-v3.json +++ b/discovery/calendar-v3.json @@ -1890,7 +1890,7 @@ } } }, - "revision": "20260225", + "revision": "20260517", "rootUrl": "https://www.googleapis.com/", "schemas": { "Acl": { @@ -2849,6 +2849,11 @@ "format": "int32", "type": "integer" }, + "asyncOperation": { + "default": "", + "description": "If present, indicates the status of an asynchronous operation ongoing for this attendee (e.g. listing of members of large attendee groups). Read-only. The default is to not be present.\nPossible values are: \n- \"inProgress\" - The asynchronous operation is in progress. \n- (not present) - Otherwise.", + "type": "string" + }, "comment": { "description": "The attendee's response comment. Optional.", "type": "string" diff --git a/src/apis/calendar/v3.ts b/src/apis/calendar/v3.ts index 180b5df252..97e42270cd 100644 --- a/src/apis/calendar/v3.ts +++ b/src/apis/calendar/v3.ts @@ -871,6 +871,13 @@ export namespace calendar_v3 { * Number of additional guests. Optional. The default is 0. */ additionalGuests?: number | null; + /** + * If present, indicates the status of an asynchronous operation ongoing for this attendee (e.g. listing of members of large attendee groups). Read-only. The default is to not be present. + * Possible values are: + * - "inProgress" - The asynchronous operation is in progress. + * - (not present) - Otherwise. + */ + asyncOperation?: string | null; /** * The attendee's response comment. Optional. */ From 5435cb12ab4f0afcd985c6fe11c6579cd3957770 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:36 +0000 Subject: [PATCH 10/69] feat(ces)!: update the API BREAKING CHANGE: This release has breaking changes. #### ces:v1beta The following keys were deleted: - schemas.Omnichannel.description - schemas.Omnichannel.id - schemas.Omnichannel.properties.createTime.description - schemas.Omnichannel.properties.createTime.format - schemas.Omnichannel.properties.createTime.readOnly - schemas.Omnichannel.properties.createTime.type - schemas.Omnichannel.properties.description.description - schemas.Omnichannel.properties.description.type - schemas.Omnichannel.properties.displayName.description - schemas.Omnichannel.properties.displayName.type - schemas.Omnichannel.properties.etag.description - schemas.Omnichannel.properties.etag.readOnly - schemas.Omnichannel.properties.etag.type - schemas.Omnichannel.properties.integrationConfig.$ref - schemas.Omnichannel.properties.integrationConfig.description - schemas.Omnichannel.properties.name.description - schemas.Omnichannel.properties.name.type - schemas.Omnichannel.properties.updateTime.description - schemas.Omnichannel.properties.updateTime.format - schemas.Omnichannel.properties.updateTime.readOnly - schemas.Omnichannel.properties.updateTime.type - schemas.Omnichannel.type - schemas.OmnichannelIntegrationConfig.description - schemas.OmnichannelIntegrationConfig.id - schemas.OmnichannelIntegrationConfig.properties.channelConfigs.additionalProperties.$ref - schemas.OmnichannelIntegrationConfig.properties.channelConfigs.description - schemas.OmnichannelIntegrationConfig.properties.channelConfigs.type - schemas.OmnichannelIntegrationConfig.properties.routingConfigs.additionalProperties.$ref - schemas.OmnichannelIntegrationConfig.properties.routingConfigs.description - schemas.OmnichannelIntegrationConfig.properties.routingConfigs.type - schemas.OmnichannelIntegrationConfig.properties.subscriberConfigs.additionalProperties.$ref - schemas.OmnichannelIntegrationConfig.properties.subscriberConfigs.description - schemas.OmnichannelIntegrationConfig.properties.subscriberConfigs.type - schemas.OmnichannelIntegrationConfig.type - schemas.OmnichannelIntegrationConfigCesAppConfig.description - schemas.OmnichannelIntegrationConfigCesAppConfig.id - schemas.OmnichannelIntegrationConfigCesAppConfig.properties.app.description - schemas.OmnichannelIntegrationConfigCesAppConfig.properties.app.type - schemas.OmnichannelIntegrationConfigCesAppConfig.type - schemas.OmnichannelIntegrationConfigChannelConfig.description - schemas.OmnichannelIntegrationConfigChannelConfig.id - schemas.OmnichannelIntegrationConfigChannelConfig.properties.whatsappConfig.$ref - schemas.OmnichannelIntegrationConfigChannelConfig.properties.whatsappConfig.description - schemas.OmnichannelIntegrationConfigChannelConfig.type - schemas.OmnichannelIntegrationConfigRoutingConfig.description - schemas.OmnichannelIntegrationConfigRoutingConfig.id - schemas.OmnichannelIntegrationConfigRoutingConfig.properties.subscriberKey.description - schemas.OmnichannelIntegrationConfigRoutingConfig.properties.subscriberKey.type - schemas.OmnichannelIntegrationConfigRoutingConfig.type - schemas.OmnichannelIntegrationConfigSubscriberConfig.description - schemas.OmnichannelIntegrationConfigSubscriberConfig.id - schemas.OmnichannelIntegrationConfigSubscriberConfig.properties.cesAppConfig.$ref - schemas.OmnichannelIntegrationConfigSubscriberConfig.properties.cesAppConfig.description - schemas.OmnichannelIntegrationConfigSubscriberConfig.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.id - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.metaBusinessPortfolioId.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.metaBusinessPortfolioId.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.phoneNumber.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.phoneNumber.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.phoneNumberId.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.phoneNumberId.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.webhookVerifyToken.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.webhookVerifyToken.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.whatsappBusinessAccountId.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.whatsappBusinessAccountId.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.whatsappBusinessToken.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.whatsappBusinessToken.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.type - schemas.OmnichannelOperationMetadata.description - schemas.OmnichannelOperationMetadata.id - schemas.OmnichannelOperationMetadata.properties.createTime.description - schemas.OmnichannelOperationMetadata.properties.createTime.format - schemas.OmnichannelOperationMetadata.properties.createTime.readOnly - schemas.OmnichannelOperationMetadata.properties.createTime.type - schemas.OmnichannelOperationMetadata.properties.endTime.description - schemas.OmnichannelOperationMetadata.properties.endTime.format - schemas.OmnichannelOperationMetadata.properties.endTime.readOnly - schemas.OmnichannelOperationMetadata.properties.endTime.type - schemas.OmnichannelOperationMetadata.properties.requestedCancellation.description - schemas.OmnichannelOperationMetadata.properties.requestedCancellation.readOnly - schemas.OmnichannelOperationMetadata.properties.requestedCancellation.type - schemas.OmnichannelOperationMetadata.properties.statusMessage.description - schemas.OmnichannelOperationMetadata.properties.statusMessage.readOnly - schemas.OmnichannelOperationMetadata.properties.statusMessage.type - schemas.OmnichannelOperationMetadata.type The following keys were added: - resources.projects.resources.locations.resources.apps.resources.message.methods.send.description - resources.projects.resources.locations.resources.apps.resources.message.methods.send.flatPath - resources.projects.resources.locations.resources.apps.resources.message.methods.send.httpMethod - resources.projects.resources.locations.resources.apps.resources.message.methods.send.id - resources.projects.resources.locations.resources.apps.resources.message.methods.send.parameterOrder - resources.projects.resources.locations.resources.apps.resources.message.methods.send.parameters.tenant.description - resources.projects.resources.locations.resources.apps.resources.message.methods.send.parameters.tenant.location - resources.projects.resources.locations.resources.apps.resources.message.methods.send.parameters.tenant.pattern - resources.projects.resources.locations.resources.apps.resources.message.methods.send.parameters.tenant.required - resources.projects.resources.locations.resources.apps.resources.message.methods.send.parameters.tenant.type - resources.projects.resources.locations.resources.apps.resources.message.methods.send.path - resources.projects.resources.locations.resources.apps.resources.message.methods.send.request.$ref - resources.projects.resources.locations.resources.apps.resources.message.methods.send.response.$ref - resources.projects.resources.locations.resources.apps.resources.message.methods.send.scopes - schemas.AgentRemoteDialogflowAgent.properties.languageCodeVariable.description - schemas.AgentRemoteDialogflowAgent.properties.languageCodeVariable.type - schemas.Evaluation.properties.evaluationMetricsConfigOverride.$ref - schemas.Evaluation.properties.evaluationMetricsConfigOverride.description - schemas.Evaluation.properties.evaluationMetricsThresholdOverride.$ref - schemas.Evaluation.properties.evaluationMetricsThresholdOverride.description - schemas.EvaluationErrorInfo.properties.userFacingErrorMessage.description - schemas.EvaluationErrorInfo.properties.userFacingErrorMessage.readOnly - schemas.EvaluationErrorInfo.properties.userFacingErrorMessage.type - schemas.EvaluationGoldenExpectation.properties.agentResponseHallucinationMetricsConfigOverride.$ref - schemas.EvaluationGoldenExpectation.properties.agentResponseHallucinationMetricsConfigOverride.description - schemas.EvaluationGoldenExpectation.properties.agentResponseSemanticSimilarityMetricsConfigOverride.$ref - schemas.EvaluationGoldenExpectation.properties.agentResponseSemanticSimilarityMetricsConfigOverride.description - schemas.EvaluationGoldenExpectation.properties.expectationLevelMetricsThresholdsOverride.$ref - schemas.EvaluationGoldenExpectation.properties.expectationLevelMetricsThresholdsOverride.description - schemas.EvaluationGoldenExpectation.properties.skipEvaluation.description - schemas.EvaluationGoldenExpectation.properties.skipEvaluation.type - schemas.EvaluationGoldenTurn.properties.hallucinationMetricBehaviorOverride.description - schemas.EvaluationGoldenTurn.properties.hallucinationMetricBehaviorOverride.enum - schemas.EvaluationGoldenTurn.properties.hallucinationMetricBehaviorOverride.enumDescriptions - schemas.EvaluationGoldenTurn.properties.hallucinationMetricBehaviorOverride.type - schemas.EvaluationGoldenTurn.properties.turnLevelMetricsThresholdsOverride.$ref - schemas.EvaluationGoldenTurn.properties.turnLevelMetricsThresholdsOverride.description - schemas.EvaluationMetricsConfig.description - schemas.EvaluationMetricsConfig.id - schemas.EvaluationMetricsConfig.properties.goldenMetricsConfig.$ref - schemas.EvaluationMetricsConfig.properties.goldenMetricsConfig.description - schemas.EvaluationMetricsConfig.properties.scenarioMetricsConfig.$ref - schemas.EvaluationMetricsConfig.properties.scenarioMetricsConfig.description - schemas.EvaluationMetricsConfig.type - schemas.EvaluationMetricsConfigExpectationsMetMetricsConfig.description - schemas.EvaluationMetricsConfigExpectationsMetMetricsConfig.id - schemas.EvaluationMetricsConfigExpectationsMetMetricsConfig.properties.enableExpectationsMetMetrics.description - schemas.EvaluationMetricsConfigExpectationsMetMetricsConfig.properties.enableExpectationsMetMetrics.type - schemas.EvaluationMetricsConfigExpectationsMetMetricsConfig.type - schemas.EvaluationMetricsConfigGoldenMetricsConfig.description - schemas.EvaluationMetricsConfigGoldenMetricsConfig.id - schemas.EvaluationMetricsConfigGoldenMetricsConfig.properties.semanticSimilarityMetricsConfig.$ref - schemas.EvaluationMetricsConfigGoldenMetricsConfig.properties.semanticSimilarityMetricsConfig.description - schemas.EvaluationMetricsConfigGoldenMetricsConfig.properties.stepToolCorrectnessMetricsConfig.$ref - schemas.EvaluationMetricsConfigGoldenMetricsConfig.properties.stepToolCorrectnessMetricsConfig.description - schemas.EvaluationMetricsConfigGoldenMetricsConfig.properties.toolCorrectnessMetricsConfig.$ref - schemas.EvaluationMetricsConfigGoldenMetricsConfig.properties.toolCorrectnessMetricsConfig.description - schemas.EvaluationMetricsConfigGoldenMetricsConfig.type - schemas.EvaluationMetricsConfigHallucinationMetricsConfig.description - schemas.EvaluationMetricsConfigHallucinationMetricsConfig.id - schemas.EvaluationMetricsConfigHallucinationMetricsConfig.properties.enableHallucinationMetrics.description - schemas.EvaluationMetricsConfigHallucinationMetricsConfig.properties.enableHallucinationMetrics.type - schemas.EvaluationMetricsConfigHallucinationMetricsConfig.type - schemas.EvaluationMetricsConfigScenarioMetricsConfig.description - schemas.EvaluationMetricsConfigScenarioMetricsConfig.id - schemas.EvaluationMetricsConfigScenarioMetricsConfig.properties.expectationsMetMetricsConfig.$ref - schemas.EvaluationMetricsConfigScenarioMetricsConfig.properties.expectationsMetMetricsConfig.description - schemas.EvaluationMetricsConfigScenarioMetricsConfig.properties.userGoalMetMetricsConfig.$ref - schemas.EvaluationMetricsConfigScenarioMetricsConfig.properties.userGoalMetMetricsConfig.description - schemas.EvaluationMetricsConfigScenarioMetricsConfig.type - schemas.EvaluationMetricsConfigSemanticSimilarityMetricsConfig.description - schemas.EvaluationMetricsConfigSemanticSimilarityMetricsConfig.id - schemas.EvaluationMetricsConfigSemanticSimilarityMetricsConfig.properties.enableSemanticSimilarityMetrics.description - schemas.EvaluationMetricsConfigSemanticSimilarityMetricsConfig.properties.enableSemanticSimilarityMetrics.type - schemas.EvaluationMetricsConfigSemanticSimilarityMetricsConfig.type - schemas.EvaluationMetricsConfigToolCorrectnessMetricsConfig.description - schemas.EvaluationMetricsConfigToolCorrectnessMetricsConfig.id - schemas.EvaluationMetricsConfigToolCorrectnessMetricsConfig.properties.enableToolCorrectnessMetrics.description - schemas.EvaluationMetricsConfigToolCorrectnessMetricsConfig.properties.enableToolCorrectnessMetrics.type - schemas.EvaluationMetricsConfigToolCorrectnessMetricsConfig.type - schemas.EvaluationMetricsConfigUserGoalMetMetricsConfig.description - schemas.EvaluationMetricsConfigUserGoalMetMetricsConfig.id - schemas.EvaluationMetricsConfigUserGoalMetMetricsConfig.properties.enableUserGoalMetMetrics.description - schemas.EvaluationMetricsConfigUserGoalMetMetricsConfig.properties.enableUserGoalMetMetrics.type - schemas.EvaluationMetricsConfigUserGoalMetMetricsConfig.type - schemas.EvaluationRun.properties.operation.description - schemas.EvaluationRun.properties.operation.readOnly - schemas.EvaluationRun.properties.operation.type - schemas.EvaluationSettings.properties.metricsConfig.$ref - schemas.EvaluationSettings.properties.metricsConfig.description - schemas.LfA2aV1Artifact.description - schemas.LfA2aV1Artifact.id - schemas.LfA2aV1Artifact.properties.artifactId.description - schemas.LfA2aV1Artifact.properties.artifactId.type - schemas.LfA2aV1Artifact.properties.description.description - schemas.LfA2aV1Artifact.properties.description.type - schemas.LfA2aV1Artifact.properties.extensions.description - schemas.LfA2aV1Artifact.properties.extensions.items.type - schemas.LfA2aV1Artifact.properties.extensions.type - schemas.LfA2aV1Artifact.properties.metadata.additionalProperties.description - schemas.LfA2aV1Artifact.properties.metadata.additionalProperties.type - schemas.LfA2aV1Artifact.properties.metadata.description - schemas.LfA2aV1Artifact.properties.metadata.type - schemas.LfA2aV1Artifact.properties.name.description - schemas.LfA2aV1Artifact.properties.name.type - schemas.LfA2aV1Artifact.properties.parts.description - schemas.LfA2aV1Artifact.properties.parts.items.$ref - schemas.LfA2aV1Artifact.properties.parts.type - schemas.LfA2aV1Artifact.type - schemas.LfA2aV1AuthenticationInfo.description - schemas.LfA2aV1AuthenticationInfo.id - schemas.LfA2aV1AuthenticationInfo.properties.credentials.description - schemas.LfA2aV1AuthenticationInfo.properties.credentials.type - schemas.LfA2aV1AuthenticationInfo.properties.scheme.description - schemas.LfA2aV1AuthenticationInfo.properties.scheme.type - schemas.LfA2aV1AuthenticationInfo.type - schemas.LfA2aV1Message.description - schemas.LfA2aV1Message.id - schemas.LfA2aV1Message.properties.contextId.description - schemas.LfA2aV1Message.properties.contextId.type - schemas.LfA2aV1Message.properties.extensions.description - schemas.LfA2aV1Message.properties.extensions.items.type - schemas.LfA2aV1Message.properties.extensions.type - schemas.LfA2aV1Message.properties.messageId.description - schemas.LfA2aV1Message.properties.messageId.type - schemas.LfA2aV1Message.properties.metadata.additionalProperties.description - schemas.LfA2aV1Message.properties.metadata.additionalProperties.type - schemas.LfA2aV1Message.properties.metadata.description - schemas.LfA2aV1Message.properties.metadata.type - schemas.LfA2aV1Message.properties.parts.description - schemas.LfA2aV1Message.properties.parts.items.$ref - schemas.LfA2aV1Message.properties.parts.type - schemas.LfA2aV1Message.properties.referenceTaskIds.description - schemas.LfA2aV1Message.properties.referenceTaskIds.items.type - schemas.LfA2aV1Message.properties.referenceTaskIds.type - schemas.LfA2aV1Message.properties.role.description - schemas.LfA2aV1Message.properties.role.enum - schemas.LfA2aV1Message.properties.role.enumDescriptions - schemas.LfA2aV1Message.properties.role.type - schemas.LfA2aV1Message.properties.taskId.description - schemas.LfA2aV1Message.properties.taskId.type - schemas.LfA2aV1Message.type - schemas.LfA2aV1Part.description - schemas.LfA2aV1Part.id - schemas.LfA2aV1Part.properties.data.description - schemas.LfA2aV1Part.properties.data.type - schemas.LfA2aV1Part.properties.filename.description - schemas.LfA2aV1Part.properties.filename.type - schemas.LfA2aV1Part.properties.mediaType.description - schemas.LfA2aV1Part.properties.mediaType.type - schemas.LfA2aV1Part.properties.metadata.additionalProperties.description - schemas.LfA2aV1Part.properties.metadata.additionalProperties.type - schemas.LfA2aV1Part.properties.metadata.description - schemas.LfA2aV1Part.properties.metadata.type - schemas.LfA2aV1Part.properties.raw.description - schemas.LfA2aV1Part.properties.raw.format - schemas.LfA2aV1Part.properties.raw.type - schemas.LfA2aV1Part.properties.text.description - schemas.LfA2aV1Part.properties.text.type - schemas.LfA2aV1Part.properties.url.description - schemas.LfA2aV1Part.properties.url.type - schemas.LfA2aV1Part.type - schemas.LfA2aV1SendMessageConfiguration.description - schemas.LfA2aV1SendMessageConfiguration.id - schemas.LfA2aV1SendMessageConfiguration.properties.acceptedOutputModes.description - schemas.LfA2aV1SendMessageConfiguration.properties.acceptedOutputModes.items.type - schemas.LfA2aV1SendMessageConfiguration.properties.acceptedOutputModes.type - schemas.LfA2aV1SendMessageConfiguration.properties.historyLength.description - schemas.LfA2aV1SendMessageConfiguration.properties.historyLength.format - schemas.LfA2aV1SendMessageConfiguration.properties.historyLength.type - schemas.LfA2aV1SendMessageConfiguration.properties.returnImmediately.description - schemas.LfA2aV1SendMessageConfiguration.properties.returnImmediately.type - schemas.LfA2aV1SendMessageConfiguration.properties.taskPushNotificationConfig.$ref - schemas.LfA2aV1SendMessageConfiguration.properties.taskPushNotificationConfig.description - schemas.LfA2aV1SendMessageConfiguration.type - schemas.LfA2aV1SendMessageRequest.description - schemas.LfA2aV1SendMessageRequest.id - schemas.LfA2aV1SendMessageRequest.properties.configuration.$ref - schemas.LfA2aV1SendMessageRequest.properties.configuration.description - schemas.LfA2aV1SendMessageRequest.properties.message.$ref - schemas.LfA2aV1SendMessageRequest.properties.message.description - schemas.LfA2aV1SendMessageRequest.properties.metadata.additionalProperties.description - schemas.LfA2aV1SendMessageRequest.properties.metadata.additionalProperties.type - schemas.LfA2aV1SendMessageRequest.properties.metadata.description - schemas.LfA2aV1SendMessageRequest.properties.metadata.type - schemas.LfA2aV1SendMessageRequest.type - schemas.LfA2aV1SendMessageResponse.description - schemas.LfA2aV1SendMessageResponse.id - schemas.LfA2aV1SendMessageResponse.properties.message.$ref - schemas.LfA2aV1SendMessageResponse.properties.message.description - schemas.LfA2aV1SendMessageResponse.properties.task.$ref - schemas.LfA2aV1SendMessageResponse.properties.task.description - schemas.LfA2aV1SendMessageResponse.type - schemas.LfA2aV1Task.description - schemas.LfA2aV1Task.id - schemas.LfA2aV1Task.properties.artifacts.description - schemas.LfA2aV1Task.properties.artifacts.items.$ref - schemas.LfA2aV1Task.properties.artifacts.type - schemas.LfA2aV1Task.properties.contextId.description - schemas.LfA2aV1Task.properties.contextId.type - schemas.LfA2aV1Task.properties.history.description - schemas.LfA2aV1Task.properties.history.items.$ref - schemas.LfA2aV1Task.properties.history.type - schemas.LfA2aV1Task.properties.id.description - schemas.LfA2aV1Task.properties.id.type - schemas.LfA2aV1Task.properties.metadata.additionalProperties.description - schemas.LfA2aV1Task.properties.metadata.additionalProperties.type - schemas.LfA2aV1Task.properties.metadata.description - schemas.LfA2aV1Task.properties.metadata.type - schemas.LfA2aV1Task.properties.status.$ref - schemas.LfA2aV1Task.properties.status.description - schemas.LfA2aV1Task.type - schemas.LfA2aV1TaskPushNotificationConfig.description - schemas.LfA2aV1TaskPushNotificationConfig.id - schemas.LfA2aV1TaskPushNotificationConfig.properties.authentication.$ref - schemas.LfA2aV1TaskPushNotificationConfig.properties.authentication.description - schemas.LfA2aV1TaskPushNotificationConfig.properties.id.description - schemas.LfA2aV1TaskPushNotificationConfig.properties.id.type - schemas.LfA2aV1TaskPushNotificationConfig.properties.taskId.description - schemas.LfA2aV1TaskPushNotificationConfig.properties.taskId.type - schemas.LfA2aV1TaskPushNotificationConfig.properties.tenant.description - schemas.LfA2aV1TaskPushNotificationConfig.properties.tenant.type - schemas.LfA2aV1TaskPushNotificationConfig.properties.token.description - schemas.LfA2aV1TaskPushNotificationConfig.properties.token.type - schemas.LfA2aV1TaskPushNotificationConfig.properties.url.description - schemas.LfA2aV1TaskPushNotificationConfig.properties.url.type - schemas.LfA2aV1TaskPushNotificationConfig.type - schemas.LfA2aV1TaskStatus.description - schemas.LfA2aV1TaskStatus.id - schemas.LfA2aV1TaskStatus.properties.message.$ref - schemas.LfA2aV1TaskStatus.properties.message.description - schemas.LfA2aV1TaskStatus.properties.state.description - schemas.LfA2aV1TaskStatus.properties.state.enum - schemas.LfA2aV1TaskStatus.properties.state.enumDescriptions - schemas.LfA2aV1TaskStatus.properties.state.type - schemas.LfA2aV1TaskStatus.properties.timestamp.description - schemas.LfA2aV1TaskStatus.properties.timestamp.format - schemas.LfA2aV1TaskStatus.properties.timestamp.type - schemas.LfA2aV1TaskStatus.type - schemas.McpTool.properties.nameOverride.description - schemas.McpTool.properties.nameOverride.type - schemas.McpTool.properties.state.description - schemas.McpTool.properties.state.enum - schemas.McpTool.properties.state.enumDescriptions - schemas.McpTool.properties.state.readOnly - schemas.McpTool.properties.state.type - schemas.McpToolDefinition.description - schemas.McpToolDefinition.id - schemas.McpToolDefinition.properties.description.description - schemas.McpToolDefinition.properties.description.readOnly - schemas.McpToolDefinition.properties.description.type - schemas.McpToolDefinition.properties.inputSchema.$ref - schemas.McpToolDefinition.properties.inputSchema.description - schemas.McpToolDefinition.properties.inputSchema.readOnly - schemas.McpToolDefinition.properties.outputSchema.$ref - schemas.McpToolDefinition.properties.outputSchema.description - schemas.McpToolDefinition.properties.outputSchema.readOnly - schemas.McpToolDefinition.type - schemas.McpToolOverride.description - schemas.McpToolOverride.id - schemas.McpToolOverride.properties.descriptionOverride.description - schemas.McpToolOverride.properties.descriptionOverride.type - schemas.McpToolOverride.properties.nameOverride.description - schemas.McpToolOverride.properties.nameOverride.type - schemas.McpToolOverride.properties.snapshot.$ref - schemas.McpToolOverride.properties.snapshot.description - schemas.McpToolOverride.properties.snapshot.readOnly - schemas.McpToolOverride.properties.tool.description - schemas.McpToolOverride.properties.tool.type - schemas.McpToolOverride.type - schemas.McpToolset.properties.toolOverrides.description - schemas.McpToolset.properties.toolOverrides.items.$ref - schemas.McpToolset.properties.toolOverrides.type - schemas.PythonFunction.properties.serviceDirectoryConfig.$ref - schemas.PythonFunction.properties.serviceDirectoryConfig.description - schemas.RetrieveToolsRequest.properties.bypassPersistenceConfig.description - schemas.RetrieveToolsRequest.properties.bypassPersistenceConfig.type The following keys were changed: - schemas.EvaluationGoldenTurn.properties.rootSpan.description - schemas.LoggingSettings.properties.audioRecordingConfig.description - schemas.LoggingSettings.properties.bigqueryExportSettings.description - schemas.LoggingSettings.properties.unredactedAudioRecordingConfig.description #### ces:v1 The following keys were deleted: - schemas.Omnichannel.description - schemas.Omnichannel.id - schemas.Omnichannel.properties.createTime.description - schemas.Omnichannel.properties.createTime.format - schemas.Omnichannel.properties.createTime.readOnly - schemas.Omnichannel.properties.createTime.type - schemas.Omnichannel.properties.description.description - schemas.Omnichannel.properties.description.type - schemas.Omnichannel.properties.displayName.description - schemas.Omnichannel.properties.displayName.type - schemas.Omnichannel.properties.etag.description - schemas.Omnichannel.properties.etag.readOnly - schemas.Omnichannel.properties.etag.type - schemas.Omnichannel.properties.integrationConfig.$ref - schemas.Omnichannel.properties.integrationConfig.description - schemas.Omnichannel.properties.name.description - schemas.Omnichannel.properties.name.type - schemas.Omnichannel.properties.updateTime.description - schemas.Omnichannel.properties.updateTime.format - schemas.Omnichannel.properties.updateTime.readOnly - schemas.Omnichannel.properties.updateTime.type - schemas.Omnichannel.type - schemas.OmnichannelIntegrationConfig.description - schemas.OmnichannelIntegrationConfig.id - schemas.OmnichannelIntegrationConfig.properties.channelConfigs.additionalProperties.$ref - schemas.OmnichannelIntegrationConfig.properties.channelConfigs.description - schemas.OmnichannelIntegrationConfig.properties.channelConfigs.type - schemas.OmnichannelIntegrationConfig.properties.routingConfigs.additionalProperties.$ref - schemas.OmnichannelIntegrationConfig.properties.routingConfigs.description - schemas.OmnichannelIntegrationConfig.properties.routingConfigs.type - schemas.OmnichannelIntegrationConfig.properties.subscriberConfigs.additionalProperties.$ref - schemas.OmnichannelIntegrationConfig.properties.subscriberConfigs.description - schemas.OmnichannelIntegrationConfig.properties.subscriberConfigs.type - schemas.OmnichannelIntegrationConfig.type - schemas.OmnichannelIntegrationConfigCesAppConfig.description - schemas.OmnichannelIntegrationConfigCesAppConfig.id - schemas.OmnichannelIntegrationConfigCesAppConfig.properties.app.description - schemas.OmnichannelIntegrationConfigCesAppConfig.properties.app.type - schemas.OmnichannelIntegrationConfigCesAppConfig.type - schemas.OmnichannelIntegrationConfigChannelConfig.description - schemas.OmnichannelIntegrationConfigChannelConfig.id - schemas.OmnichannelIntegrationConfigChannelConfig.properties.whatsappConfig.$ref - schemas.OmnichannelIntegrationConfigChannelConfig.properties.whatsappConfig.description - schemas.OmnichannelIntegrationConfigChannelConfig.type - schemas.OmnichannelIntegrationConfigRoutingConfig.description - schemas.OmnichannelIntegrationConfigRoutingConfig.id - schemas.OmnichannelIntegrationConfigRoutingConfig.properties.subscriberKey.description - schemas.OmnichannelIntegrationConfigRoutingConfig.properties.subscriberKey.type - schemas.OmnichannelIntegrationConfigRoutingConfig.type - schemas.OmnichannelIntegrationConfigSubscriberConfig.description - schemas.OmnichannelIntegrationConfigSubscriberConfig.id - schemas.OmnichannelIntegrationConfigSubscriberConfig.properties.cesAppConfig.$ref - schemas.OmnichannelIntegrationConfigSubscriberConfig.properties.cesAppConfig.description - schemas.OmnichannelIntegrationConfigSubscriberConfig.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.id - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.metaBusinessPortfolioId.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.metaBusinessPortfolioId.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.phoneNumber.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.phoneNumber.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.phoneNumberId.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.phoneNumberId.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.webhookVerifyToken.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.webhookVerifyToken.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.whatsappBusinessAccountId.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.whatsappBusinessAccountId.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.whatsappBusinessToken.description - schemas.OmnichannelIntegrationConfigWhatsappConfig.properties.whatsappBusinessToken.type - schemas.OmnichannelIntegrationConfigWhatsappConfig.type - schemas.OmnichannelOperationMetadata.description - schemas.OmnichannelOperationMetadata.id - schemas.OmnichannelOperationMetadata.properties.createTime.description - schemas.OmnichannelOperationMetadata.properties.createTime.format - schemas.OmnichannelOperationMetadata.properties.createTime.readOnly - schemas.OmnichannelOperationMetadata.properties.createTime.type - schemas.OmnichannelOperationMetadata.properties.endTime.description - schemas.OmnichannelOperationMetadata.properties.endTime.format - schemas.OmnichannelOperationMetadata.properties.endTime.readOnly - schemas.OmnichannelOperationMetadata.properties.endTime.type - schemas.OmnichannelOperationMetadata.properties.requestedCancellation.description - schemas.OmnichannelOperationMetadata.properties.requestedCancellation.readOnly - schemas.OmnichannelOperationMetadata.properties.requestedCancellation.type - schemas.OmnichannelOperationMetadata.properties.statusMessage.description - schemas.OmnichannelOperationMetadata.properties.statusMessage.readOnly - schemas.OmnichannelOperationMetadata.properties.statusMessage.type - schemas.OmnichannelOperationMetadata.type The following keys were added: - resources.projects.resources.locations.resources.apps.resources.message.methods.send.description - resources.projects.resources.locations.resources.apps.resources.message.methods.send.flatPath - resources.projects.resources.locations.resources.apps.resources.message.methods.send.httpMethod - resources.projects.resources.locations.resources.apps.resources.message.methods.send.id - resources.projects.resources.locations.resources.apps.resources.message.methods.send.parameterOrder - resources.projects.resources.locations.resources.apps.resources.message.methods.send.parameters.tenant.description - resources.projects.resources.locations.resources.apps.resources.message.methods.send.parameters.tenant.location - resources.projects.resources.locations.resources.apps.resources.message.methods.send.parameters.tenant.pattern - resources.projects.resources.locations.resources.apps.resources.message.methods.send.parameters.tenant.required - resources.projects.resources.locations.resources.apps.resources.message.methods.send.parameters.tenant.type - resources.projects.resources.locations.resources.apps.resources.message.methods.send.path - resources.projects.resources.locations.resources.apps.resources.message.methods.send.request.$ref - resources.projects.resources.locations.resources.apps.resources.message.methods.send.response.$ref - resources.projects.resources.locations.resources.apps.resources.message.methods.send.scopes - schemas.AgentRemoteDialogflowAgent.properties.languageCodeVariable.description - schemas.AgentRemoteDialogflowAgent.properties.languageCodeVariable.type - schemas.LfA2aV1Artifact.description - schemas.LfA2aV1Artifact.id - schemas.LfA2aV1Artifact.properties.artifactId.description - schemas.LfA2aV1Artifact.properties.artifactId.type - schemas.LfA2aV1Artifact.properties.description.description - schemas.LfA2aV1Artifact.properties.description.type - schemas.LfA2aV1Artifact.properties.extensions.description - schemas.LfA2aV1Artifact.properties.extensions.items.type - schemas.LfA2aV1Artifact.properties.extensions.type - schemas.LfA2aV1Artifact.properties.metadata.additionalProperties.description - schemas.LfA2aV1Artifact.properties.metadata.additionalProperties.type - schemas.LfA2aV1Artifact.properties.metadata.description - schemas.LfA2aV1Artifact.properties.metadata.type - schemas.LfA2aV1Artifact.properties.name.description - schemas.LfA2aV1Artifact.properties.name.type - schemas.LfA2aV1Artifact.properties.parts.description - schemas.LfA2aV1Artifact.properties.parts.items.$ref - schemas.LfA2aV1Artifact.properties.parts.type - schemas.LfA2aV1Artifact.type - schemas.LfA2aV1AuthenticationInfo.description - schemas.LfA2aV1AuthenticationInfo.id - schemas.LfA2aV1AuthenticationInfo.properties.credentials.description - schemas.LfA2aV1AuthenticationInfo.properties.credentials.type - schemas.LfA2aV1AuthenticationInfo.properties.scheme.description - schemas.LfA2aV1AuthenticationInfo.properties.scheme.type - schemas.LfA2aV1AuthenticationInfo.type - schemas.LfA2aV1Message.description - schemas.LfA2aV1Message.id - schemas.LfA2aV1Message.properties.contextId.description - schemas.LfA2aV1Message.properties.contextId.type - schemas.LfA2aV1Message.properties.extensions.description - schemas.LfA2aV1Message.properties.extensions.items.type - schemas.LfA2aV1Message.properties.extensions.type - schemas.LfA2aV1Message.properties.messageId.description - schemas.LfA2aV1Message.properties.messageId.type - schemas.LfA2aV1Message.properties.metadata.additionalProperties.description - schemas.LfA2aV1Message.properties.metadata.additionalProperties.type - schemas.LfA2aV1Message.properties.metadata.description - schemas.LfA2aV1Message.properties.metadata.type - schemas.LfA2aV1Message.properties.parts.description - schemas.LfA2aV1Message.properties.parts.items.$ref - schemas.LfA2aV1Message.properties.parts.type - schemas.LfA2aV1Message.properties.referenceTaskIds.description - schemas.LfA2aV1Message.properties.referenceTaskIds.items.type - schemas.LfA2aV1Message.properties.referenceTaskIds.type - schemas.LfA2aV1Message.properties.role.description - schemas.LfA2aV1Message.properties.role.enum - schemas.LfA2aV1Message.properties.role.enumDescriptions - schemas.LfA2aV1Message.properties.role.type - schemas.LfA2aV1Message.properties.taskId.description - schemas.LfA2aV1Message.properties.taskId.type - schemas.LfA2aV1Message.type - schemas.LfA2aV1Part.description - schemas.LfA2aV1Part.id - schemas.LfA2aV1Part.properties.data.description - schemas.LfA2aV1Part.properties.data.type - schemas.LfA2aV1Part.properties.filename.description - schemas.LfA2aV1Part.properties.filename.type - schemas.LfA2aV1Part.properties.mediaType.description - schemas.LfA2aV1Part.properties.mediaType.type - schemas.LfA2aV1Part.properties.metadata.additionalProperties.description - schemas.LfA2aV1Part.properties.metadata.additionalProperties.type - schemas.LfA2aV1Part.properties.metadata.description - schemas.LfA2aV1Part.properties.metadata.type - schemas.LfA2aV1Part.properties.raw.description - schemas.LfA2aV1Part.properties.raw.format - schemas.LfA2aV1Part.properties.raw.type - schemas.LfA2aV1Part.properties.text.description - schemas.LfA2aV1Part.properties.text.type - schemas.LfA2aV1Part.properties.url.description - schemas.LfA2aV1Part.properties.url.type - schemas.LfA2aV1Part.type - schemas.LfA2aV1SendMessageConfiguration.description - schemas.LfA2aV1SendMessageConfiguration.id - schemas.LfA2aV1SendMessageConfiguration.properties.acceptedOutputModes.description - schemas.LfA2aV1SendMessageConfiguration.properties.acceptedOutputModes.items.type - schemas.LfA2aV1SendMessageConfiguration.properties.acceptedOutputModes.type - schemas.LfA2aV1SendMessageConfiguration.properties.historyLength.description - schemas.LfA2aV1SendMessageConfiguration.properties.historyLength.format - schemas.LfA2aV1SendMessageConfiguration.properties.historyLength.type - schemas.LfA2aV1SendMessageConfiguration.properties.returnImmediately.description - schemas.LfA2aV1SendMessageConfiguration.properties.returnImmediately.type - schemas.LfA2aV1SendMessageConfiguration.properties.taskPushNotificationConfig.$ref - schemas.LfA2aV1SendMessageConfiguration.properties.taskPushNotificationConfig.description - schemas.LfA2aV1SendMessageConfiguration.type - schemas.LfA2aV1SendMessageRequest.description - schemas.LfA2aV1SendMessageRequest.id - schemas.LfA2aV1SendMessageRequest.properties.configuration.$ref - schemas.LfA2aV1SendMessageRequest.properties.configuration.description - schemas.LfA2aV1SendMessageRequest.properties.message.$ref - schemas.LfA2aV1SendMessageRequest.properties.message.description - schemas.LfA2aV1SendMessageRequest.properties.metadata.additionalProperties.description - schemas.LfA2aV1SendMessageRequest.properties.metadata.additionalProperties.type - schemas.LfA2aV1SendMessageRequest.properties.metadata.description - schemas.LfA2aV1SendMessageRequest.properties.metadata.type - schemas.LfA2aV1SendMessageRequest.type - schemas.LfA2aV1SendMessageResponse.description - schemas.LfA2aV1SendMessageResponse.id - schemas.LfA2aV1SendMessageResponse.properties.message.$ref - schemas.LfA2aV1SendMessageResponse.properties.message.description - schemas.LfA2aV1SendMessageResponse.properties.task.$ref - schemas.LfA2aV1SendMessageResponse.properties.task.description - schemas.LfA2aV1SendMessageResponse.type - schemas.LfA2aV1Task.description - schemas.LfA2aV1Task.id - schemas.LfA2aV1Task.properties.artifacts.description - schemas.LfA2aV1Task.properties.artifacts.items.$ref - schemas.LfA2aV1Task.properties.artifacts.type - schemas.LfA2aV1Task.properties.contextId.description - schemas.LfA2aV1Task.properties.contextId.type - schemas.LfA2aV1Task.properties.history.description - schemas.LfA2aV1Task.properties.history.items.$ref - schemas.LfA2aV1Task.properties.history.type - schemas.LfA2aV1Task.properties.id.description - schemas.LfA2aV1Task.properties.id.type - schemas.LfA2aV1Task.properties.metadata.additionalProperties.description - schemas.LfA2aV1Task.properties.metadata.additionalProperties.type - schemas.LfA2aV1Task.properties.metadata.description - schemas.LfA2aV1Task.properties.metadata.type - schemas.LfA2aV1Task.properties.status.$ref - schemas.LfA2aV1Task.properties.status.description - schemas.LfA2aV1Task.type - schemas.LfA2aV1TaskPushNotificationConfig.description - schemas.LfA2aV1TaskPushNotificationConfig.id - schemas.LfA2aV1TaskPushNotificationConfig.properties.authentication.$ref - schemas.LfA2aV1TaskPushNotificationConfig.properties.authentication.description - schemas.LfA2aV1TaskPushNotificationConfig.properties.id.description - schemas.LfA2aV1TaskPushNotificationConfig.properties.id.type - schemas.LfA2aV1TaskPushNotificationConfig.properties.taskId.description - schemas.LfA2aV1TaskPushNotificationConfig.properties.taskId.type - schemas.LfA2aV1TaskPushNotificationConfig.properties.tenant.description - schemas.LfA2aV1TaskPushNotificationConfig.properties.tenant.type - schemas.LfA2aV1TaskPushNotificationConfig.properties.token.description - schemas.LfA2aV1TaskPushNotificationConfig.properties.token.type - schemas.LfA2aV1TaskPushNotificationConfig.properties.url.description - schemas.LfA2aV1TaskPushNotificationConfig.properties.url.type - schemas.LfA2aV1TaskPushNotificationConfig.type - schemas.LfA2aV1TaskStatus.description - schemas.LfA2aV1TaskStatus.id - schemas.LfA2aV1TaskStatus.properties.message.$ref - schemas.LfA2aV1TaskStatus.properties.message.description - schemas.LfA2aV1TaskStatus.properties.state.description - schemas.LfA2aV1TaskStatus.properties.state.enum - schemas.LfA2aV1TaskStatus.properties.state.enumDescriptions - schemas.LfA2aV1TaskStatus.properties.state.type - schemas.LfA2aV1TaskStatus.properties.timestamp.description - schemas.LfA2aV1TaskStatus.properties.timestamp.format - schemas.LfA2aV1TaskStatus.properties.timestamp.type - schemas.LfA2aV1TaskStatus.type - schemas.McpTool.properties.nameOverride.description - schemas.McpTool.properties.nameOverride.type - schemas.McpTool.properties.state.description - schemas.McpTool.properties.state.enum - schemas.McpTool.properties.state.enumDescriptions - schemas.McpTool.properties.state.readOnly - schemas.McpTool.properties.state.type - schemas.McpToolDefinition.description - schemas.McpToolDefinition.id - schemas.McpToolDefinition.properties.description.description - schemas.McpToolDefinition.properties.description.readOnly - schemas.McpToolDefinition.properties.description.type - schemas.McpToolDefinition.properties.inputSchema.$ref - schemas.McpToolDefinition.properties.inputSchema.description - schemas.McpToolDefinition.properties.inputSchema.readOnly - schemas.McpToolDefinition.properties.outputSchema.$ref - schemas.McpToolDefinition.properties.outputSchema.description - schemas.McpToolDefinition.properties.outputSchema.readOnly - schemas.McpToolDefinition.type - schemas.McpToolOverride.description - schemas.McpToolOverride.id - schemas.McpToolOverride.properties.descriptionOverride.description - schemas.McpToolOverride.properties.descriptionOverride.type - schemas.McpToolOverride.properties.nameOverride.description - schemas.McpToolOverride.properties.nameOverride.type - schemas.McpToolOverride.properties.snapshot.$ref - schemas.McpToolOverride.properties.snapshot.description - schemas.McpToolOverride.properties.snapshot.readOnly - schemas.McpToolOverride.properties.tool.description - schemas.McpToolOverride.properties.tool.type - schemas.McpToolOverride.type - schemas.McpToolset.properties.toolOverrides.description - schemas.McpToolset.properties.toolOverrides.items.$ref - schemas.McpToolset.properties.toolOverrides.type - schemas.PythonFunction.properties.serviceDirectoryConfig.$ref - schemas.PythonFunction.properties.serviceDirectoryConfig.description - schemas.RetrieveToolsRequest.properties.bypassPersistenceConfig.description - schemas.RetrieveToolsRequest.properties.bypassPersistenceConfig.type The following keys were changed: - schemas.LoggingSettings.properties.audioRecordingConfig.description - schemas.LoggingSettings.properties.bigqueryExportSettings.description - schemas.LoggingSettings.properties.unredactedAudioRecordingConfig.description --- discovery/ces-v1.json | 636 +++++++++++++++++++++--------- discovery/ces-v1beta.json | 798 +++++++++++++++++++++++++++++--------- src/apis/ces/v1.ts | 625 ++++++++++++++++++++++------- src/apis/ces/v1beta.ts | 770 +++++++++++++++++++++++++++++------- 4 files changed, 2185 insertions(+), 644 deletions(-) diff --git a/discovery/ces-v1.json b/discovery/ces-v1.json index 52d7d15ba6..cbfc8fd88e 100644 --- a/discovery/ces-v1.json +++ b/discovery/ces-v1.json @@ -1489,6 +1489,39 @@ } } }, + "message": { + "methods": { + "send": { + "description": "Sends a message to an agent.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/message:send", + "httpMethod": "POST", + "id": "ces.projects.locations.apps.message.send", + "parameterOrder": [ + "tenant" + ], + "parameters": { + "tenant": { + "description": "Optional. Tenant ID, provided as a path parameter.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+tenant}/message:send", + "request": { + "$ref": "LfA2aV1SendMessageRequest" + }, + "response": { + "$ref": "LfA2aV1SendMessageResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/ces", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "sessions": { "methods": { "generateChatToken": { @@ -2283,7 +2316,7 @@ } } }, - "revision": "20260429", + "revision": "20260513", "rootUrl": "https://ces.googleapis.com/", "schemas": { "Action": { @@ -2590,6 +2623,10 @@ "description": "Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input.", "type": "object" }, + "languageCodeVariable": { + "description": "Optional. The name of the variable that contains the language code to be used for the Dialogflow session. If unspecified, the default language code of the Dialogflow agent will be used.", + "type": "string" + }, "outputVariableMapping": { "additionalProperties": { "type": "string" @@ -5349,6 +5386,343 @@ }, "type": "object" }, + "LfA2aV1Artifact": { + "description": "Artifacts represent task outputs.", + "id": "LfA2aV1Artifact", + "properties": { + "artifactId": { + "description": "Required. Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.", + "type": "string" + }, + "description": { + "description": "Optional. A human readable description of the artifact.", + "type": "string" + }, + "extensions": { + "description": "The URIs of extensions that are present or contributed to this Artifact.", + "items": { + "type": "string" + }, + "type": "array" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Metadata included with the artifact.", + "type": "object" + }, + "name": { + "description": "A human readable name for the artifact.", + "type": "string" + }, + "parts": { + "description": "Required. The content of the artifact. Must contain at least one part.", + "items": { + "$ref": "LfA2aV1Part" + }, + "type": "array" + } + }, + "type": "object" + }, + "LfA2aV1AuthenticationInfo": { + "description": "Defines authentication details, used for push notifications.", + "id": "LfA2aV1AuthenticationInfo", + "properties": { + "credentials": { + "description": "Push Notification credentials. Format depends on the scheme (e.g., token for Bearer).", + "type": "string" + }, + "scheme": { + "description": "Required. HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/). Examples: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).", + "type": "string" + } + }, + "type": "object" + }, + "LfA2aV1Message": { + "description": "`Message` is one unit of communication between client and server. It can be associated with a context and/or a task. For server messages, `context_id` must be provided, and `task_id` only if a task was created. For client messages, both fields are optional, with the caveat that if both are provided, they have to match (the `context_id` has to be the one that is set on the task). If only `task_id` is provided, the server will infer `context_id` from it.", + "id": "LfA2aV1Message", + "properties": { + "contextId": { + "description": "Optional. The context id of the message. If set, the message will be associated with the given context.", + "type": "string" + }, + "extensions": { + "description": "The URIs of extensions that are present or contributed to this Message.", + "items": { + "type": "string" + }, + "type": "array" + }, + "messageId": { + "description": "Required. The unique identifier (e.g. UUID) of the message. This is created by the message creator.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Any metadata to provide along with the message.", + "type": "object" + }, + "parts": { + "description": "Required. Parts is the container of the message content.", + "items": { + "$ref": "LfA2aV1Part" + }, + "type": "array" + }, + "referenceTaskIds": { + "description": "A list of task IDs that this message references for additional context.", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Required. Identifies the sender of the message.", + "enum": [ + "ROLE_UNSPECIFIED", + "ROLE_USER", + "ROLE_AGENT" + ], + "enumDescriptions": [ + "The role is unspecified.", + "The message is from the client to the server.", + "The message is from the server to the client." + ], + "type": "string" + }, + "taskId": { + "description": "Optional. The task id of the message. If set, the message will be associated with the given task.", + "type": "string" + } + }, + "type": "object" + }, + "LfA2aV1Part": { + "description": "`Part` represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON).", + "id": "LfA2aV1Part", + "properties": { + "data": { + "description": "Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).", + "type": "any" + }, + "filename": { + "description": "An optional `filename` for the file (e.g., \"document.pdf\").", + "type": "string" + }, + "mediaType": { + "description": "The `media_type` (MIME type) of the part content (e.g., \"text/plain\", \"application/json\", \"image/png\"). This field is available for all part types.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. metadata associated with this part.", + "type": "object" + }, + "raw": { + "description": "The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.", + "format": "byte", + "type": "string" + }, + "text": { + "description": "The string content of the `text` part.", + "type": "string" + }, + "url": { + "description": "A `url` pointing to the file's content.", + "type": "string" + } + }, + "type": "object" + }, + "LfA2aV1SendMessageConfiguration": { + "description": "Configuration of a send message request.", + "id": "LfA2aV1SendMessageConfiguration", + "properties": { + "acceptedOutputModes": { + "description": "A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.", + "items": { + "type": "string" + }, + "type": "array" + }, + "historyLength": { + "description": "The maximum number of most recent messages from the task's history to retrieve in the response. An unset value means the client does not impose any limit. A value of zero is a request to not include any messages. The server MUST NOT return more messages than the provided value, but MAY apply a lower limit.", + "format": "int32", + "type": "integer" + }, + "returnImmediately": { + "description": "If `true`, the operation returns immediately after creating the task, even if processing is still in progress. If `false` (default), the operation MUST wait until the task reaches a terminal (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or interrupted (`INPUT_REQUIRED`, `AUTH_REQUIRED`) state before returning.", + "type": "boolean" + }, + "taskPushNotificationConfig": { + "$ref": "LfA2aV1TaskPushNotificationConfig", + "description": "Configuration for the agent to send push notifications for task updates. Task id should be empty when sending this configuration in a `SendMessage` request." + } + }, + "type": "object" + }, + "LfA2aV1SendMessageRequest": { + "description": "Represents a request for the `SendMessage` method.", + "id": "LfA2aV1SendMessageRequest", + "properties": { + "configuration": { + "$ref": "LfA2aV1SendMessageConfiguration", + "description": "Configuration for the send request." + }, + "message": { + "$ref": "LfA2aV1Message", + "description": "Required. The message to send to the agent." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "A flexible key-value map for passing additional context or parameters.", + "type": "object" + } + }, + "type": "object" + }, + "LfA2aV1SendMessageResponse": { + "description": "Represents the response for the `SendMessage` method.", + "id": "LfA2aV1SendMessageResponse", + "properties": { + "message": { + "$ref": "LfA2aV1Message", + "description": "A message from the agent." + }, + "task": { + "$ref": "LfA2aV1Task", + "description": "The task created or updated by the message." + } + }, + "type": "object" + }, + "LfA2aV1Task": { + "description": "`Task` is the core unit of action for A2A. It has a current status and when results are created for the task they are stored in the artifact. If there are multiple turns for a task, these are stored in history.", + "id": "LfA2aV1Task", + "properties": { + "artifacts": { + "description": "A set of output artifacts for a `Task`.", + "items": { + "$ref": "LfA2aV1Artifact" + }, + "type": "array" + }, + "contextId": { + "description": "Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages).", + "type": "string" + }, + "history": { + "description": "protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a `Task`.", + "items": { + "$ref": "LfA2aV1Message" + }, + "type": "array" + }, + "id": { + "description": "Required. Unique identifier (e.g. UUID) for the task, generated by the server for a new task.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.", + "type": "object" + }, + "status": { + "$ref": "LfA2aV1TaskStatus", + "description": "Required. The current status of a `Task`, including `state` and a `message`." + } + }, + "type": "object" + }, + "LfA2aV1TaskPushNotificationConfig": { + "description": "A container associating a push notification configuration with a specific task.", + "id": "LfA2aV1TaskPushNotificationConfig", + "properties": { + "authentication": { + "$ref": "LfA2aV1AuthenticationInfo", + "description": "Authentication information required to send the notification." + }, + "id": { + "description": "The push notification configuration details. A unique identifier (e.g. UUID) for this push notification configuration.", + "type": "string" + }, + "taskId": { + "description": "The ID of the task this configuration is associated with.", + "type": "string" + }, + "tenant": { + "description": "Optional. Tenant ID.", + "type": "string" + }, + "token": { + "description": "A token unique for this task or session.", + "type": "string" + }, + "url": { + "description": "Required. The URL where the notification should be sent.", + "type": "string" + } + }, + "type": "object" + }, + "LfA2aV1TaskStatus": { + "description": "A container for the status of a task", + "id": "LfA2aV1TaskStatus", + "properties": { + "message": { + "$ref": "LfA2aV1Message", + "description": "A message associated with the status." + }, + "state": { + "description": "Required. The current state of this task.", + "enum": [ + "TASK_STATE_UNSPECIFIED", + "TASK_STATE_SUBMITTED", + "TASK_STATE_WORKING", + "TASK_STATE_COMPLETED", + "TASK_STATE_FAILED", + "TASK_STATE_CANCELED", + "TASK_STATE_INPUT_REQUIRED", + "TASK_STATE_REJECTED", + "TASK_STATE_AUTH_REQUIRED" + ], + "enumDescriptions": [ + "The task is in an unknown or indeterminate state.", + "Indicates that a task has been successfully submitted and acknowledged.", + "Indicates that a task is actively being processed by the agent.", + "Indicates that a task has finished successfully. This is a terminal state.", + "Indicates that a task has finished with an error. This is a terminal state.", + "Indicates that a task was canceled before completion. This is a terminal state.", + "Indicates that the agent requires additional user input to proceed. This is an interrupted state.", + "Indicates that the agent has decided to not perform the task. This may be done during initial task creation or later once an agent has determined it can't or won't proceed. This is a terminal state.", + "Indicates that authentication is required to proceed. This is an interrupted state." + ], + "type": "string" + }, + "timestamp": { + "description": "ISO 8601 Timestamp when the status was recorded. Example: \"2023-10-27T10:00:00Z\"", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "ListAgentsResponse": { "description": "Response message for AgentService.ListAgents.", "id": "ListAgentsResponse", @@ -5619,11 +5993,11 @@ "properties": { "audioRecordingConfig": { "$ref": "AudioRecordingConfig", - "description": "Optional. Configuration for how audio interactions should be recorded." + "description": "Optional. Configuration for how audio interactions should be recorded. The audio is subject to redaction as configured in RedactionConfig." }, "bigqueryExportSettings": { "$ref": "BigQueryExportSettings", - "description": "Optional. Settings to describe the BigQuery export behaviors for the app. The conversation data will be exported to BigQuery tables if it is enabled." + "description": "Optional. Configures the BigQuery export behaviors for the app. The conversation data is subject to redaction as configured in RedactionConfig." }, "cloudLoggingSettings": { "$ref": "CloudLoggingSettings", @@ -5647,7 +6021,7 @@ }, "unredactedAudioRecordingConfig": { "$ref": "AudioRecordingConfig", - "description": "Optional. Configures recording of unredacted audio. Use this to maintain a raw backup with restricted access when audio redaction is enabled, typically for auditing or monitoring purposes." + "description": "Optional. Configures an additional recording of unredacted audio. This can be used to maintain a raw audio copy when audio redaction is enabled, typically for auditing or monitoring purposes." } }, "type": "object" @@ -5679,6 +6053,10 @@ "description": "Required. The name of the MCP tool.", "type": "string" }, + "nameOverride": { + "description": "Optional. The name override of the MCP tool. This is populated if the name was overridden by a Toolset override.", + "type": "string" + }, "outputSchema": { "$ref": "Schema", "description": "Optional. The schema of the output arguments of the MCP tool." @@ -5691,6 +6069,23 @@ "$ref": "ServiceDirectoryConfig", "description": "Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter." }, + "state": { + "description": "Output only. The dynamic availability state of the tool on the external server.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "INACTIVE", + "STALE" + ], + "enumDescriptions": [ + "Default state.", + "The tool is available and actively offered by the server.", + "The tool is configured or pinned, but currently not offered by the server.", + "The tool exists on the server, but does not match the version on the server." + ], + "readOnly": true, + "type": "string" + }, "tlsConfig": { "$ref": "TlsConfig", "description": "Optional. The TLS configuration. Includes the custom server certificates that the client should trust." @@ -5698,6 +6093,52 @@ }, "type": "object" }, + "McpToolDefinition": { + "description": "Container for a tool's core definition elements that are snapshot. Schemas in the snapshot are used as-is and cannot be overridden.", + "id": "McpToolDefinition", + "properties": { + "description": { + "description": "Output only. The description of the MCP tool. This can be overridden by `description_override` in `McpToolOverride`.", + "readOnly": true, + "type": "string" + }, + "inputSchema": { + "$ref": "Schema", + "description": "Output only. The schema of the input arguments of the MCP tool.", + "readOnly": true + }, + "outputSchema": { + "$ref": "Schema", + "description": "Output only. The schema of the output arguments of the MCP tool.", + "readOnly": true + } + }, + "type": "object" + }, + "McpToolOverride": { + "description": "Overrides associated with a given tool in a Toolset. This enables \"pinning\" or \"overriding\" of tool definitions from the external dynamic server.", + "id": "McpToolOverride", + "properties": { + "descriptionOverride": { + "description": "Optional. If present, this tool uses this description instead of the original description from the server.", + "type": "string" + }, + "nameOverride": { + "description": "Optional. If present, this tool uses this name in the Agent instead of the original name. This is primarily used as an alias if the MCP server offers poorly named tools.", + "type": "string" + }, + "snapshot": { + "$ref": "McpToolDefinition", + "description": "Output only. If present, this tool is \"Pinned\" and uses the snapshot values as fallbacks if the server becomes temporarily unavailable or if no Override is present.", + "readOnly": true + }, + "tool": { + "description": "Required. The original name of the tool as it is emitted by the MCP server.", + "type": "string" + } + }, + "type": "object" + }, "McpToolset": { "description": "A toolset that contains a list of tools that are offered by the MCP server.", "id": "McpToolset", @@ -5724,6 +6165,13 @@ "tlsConfig": { "$ref": "TlsConfig", "description": "Optional. The TLS configuration. Includes the custom server certificates that the client should trust." + }, + "toolOverrides": { + "description": "Optional. Overrides for individual tools within this toolset. This allows overriding specific details like descriptions, names, or pinning the tools' states so they aren't fully dynamic.", + "items": { + "$ref": "McpToolOverride" + }, + "type": "array" } }, "type": "object" @@ -5880,178 +6328,6 @@ }, "type": "object" }, - "Omnichannel": { - "description": "Represents an Omnichannel resource.", - "id": "Omnichannel", - "properties": { - "createTime": { - "description": "Output only. Timestamp when the omnichannel resource was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "Optional. Human-readable description of the omnichannel resource.", - "type": "string" - }, - "displayName": { - "description": "Required. Display name of the omnichannel resource.", - "type": "string" - }, - "etag": { - "description": "Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation.", - "readOnly": true, - "type": "string" - }, - "integrationConfig": { - "$ref": "OmnichannelIntegrationConfig", - "description": "Optional. The integration config for the omnichannel resource." - }, - "name": { - "description": "Identifier. The unique identifier of the omnichannel resource. Format: `projects/{project}/locations/{location}/omnichannels/{omnichannel}`", - "type": "string" - }, - "updateTime": { - "description": "Output only. Timestamp when the omnichannel resource was last updated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "OmnichannelIntegrationConfig": { - "description": "OmnichannelIntegrationConfig contains all App integration configs.", - "id": "OmnichannelIntegrationConfig", - "properties": { - "channelConfigs": { - "additionalProperties": { - "$ref": "OmnichannelIntegrationConfigChannelConfig" - }, - "description": "Optional. Various of configuration for handling App events.", - "type": "object" - }, - "routingConfigs": { - "additionalProperties": { - "$ref": "OmnichannelIntegrationConfigRoutingConfig" - }, - "description": "Optional. The key of routing_configs is a key of `app_configs`, value is a `RoutingConfig`, which contains subscriber's key.", - "type": "object" - }, - "subscriberConfigs": { - "additionalProperties": { - "$ref": "OmnichannelIntegrationConfigSubscriberConfig" - }, - "description": "Optional. Various of subscribers configs.", - "type": "object" - } - }, - "type": "object" - }, - "OmnichannelIntegrationConfigCesAppConfig": { - "description": "Configs for CES app.", - "id": "OmnichannelIntegrationConfigCesAppConfig", - "properties": { - "app": { - "description": "The unique identifier of the CES app. Format: `projects/{project}/locations/{location}/apps/{app}`", - "type": "string" - } - }, - "type": "object" - }, - "OmnichannelIntegrationConfigChannelConfig": { - "description": "ChannelConfig contains config for various of app integration.", - "id": "OmnichannelIntegrationConfigChannelConfig", - "properties": { - "whatsappConfig": { - "$ref": "OmnichannelIntegrationConfigWhatsappConfig", - "description": "WhatsApp config." - } - }, - "type": "object" - }, - "OmnichannelIntegrationConfigRoutingConfig": { - "description": "Routing config specify how/who to route app events to a subscriber.", - "id": "OmnichannelIntegrationConfigRoutingConfig", - "properties": { - "subscriberKey": { - "description": "The key of the subscriber.", - "type": "string" - } - }, - "type": "object" - }, - "OmnichannelIntegrationConfigSubscriberConfig": { - "description": "Configs of subscribers.", - "id": "OmnichannelIntegrationConfigSubscriberConfig", - "properties": { - "cesAppConfig": { - "$ref": "OmnichannelIntegrationConfigCesAppConfig", - "description": "Ces app config." - } - }, - "type": "object" - }, - "OmnichannelIntegrationConfigWhatsappConfig": { - "description": "How Omnichannel should receive/reply events from WhatsApp.", - "id": "OmnichannelIntegrationConfigWhatsappConfig", - "properties": { - "metaBusinessPortfolioId": { - "description": "The Meta Business Portfolio (MBP) ID. https://www.facebook.com/business/help/1710077379203657", - "type": "string" - }, - "phoneNumber": { - "description": "The phone number used for sending/receiving messages.", - "type": "string" - }, - "phoneNumberId": { - "description": "The Phone Number ID associated with the WhatsApp Business Account.", - "type": "string" - }, - "webhookVerifyToken": { - "description": "The verify token configured in the Meta App Dashboard for webhook verification.", - "type": "string" - }, - "whatsappBusinessAccountId": { - "description": "The customer's WhatsApp Business Account (WABA) ID.", - "type": "string" - }, - "whatsappBusinessToken": { - "description": "The access token for authenticating API calls to the WhatsApp Cloud API. https://developers.facebook.com/docs/whatsapp/business-management-api/get-started/#business-integration-system-user-access-tokens", - "type": "string" - } - }, - "type": "object" - }, - "OmnichannelOperationMetadata": { - "description": "Represents the metadata of the long-running operation.", - "id": "OmnichannelOperationMetadata", - "properties": { - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, "OpenApiTool": { "description": "A remote API tool defined by an OpenAPI schema.", "id": "OpenApiTool", @@ -6241,6 +6517,10 @@ "pythonCode": { "description": "Optional. The Python code to execute for the tool.", "type": "string" + }, + "serviceDirectoryConfig": { + "$ref": "ServiceDirectoryConfig", + "description": "Optional. Service Directory configuration for the tool." } }, "type": "object" @@ -6331,6 +6611,10 @@ "description": "Request message for ToolService.RetrieveTools.", "id": "RetrieveToolsRequest", "properties": { + "bypassPersistenceConfig": { + "description": "Optional. If true, the returned tools will contain raw descriptions and schemas directly from the server, bypassing any stored persistence configurations (overrides/snapshots).", + "type": "boolean" + }, "toolIds": { "description": "Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.", "items": { diff --git a/discovery/ces-v1beta.json b/discovery/ces-v1beta.json index 169c51865f..5cd5e15b9b 100644 --- a/discovery/ces-v1beta.json +++ b/discovery/ces-v1beta.json @@ -2571,6 +2571,39 @@ } } }, + "message": { + "methods": { + "send": { + "description": "Sends a message to an agent.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/message:send", + "httpMethod": "POST", + "id": "ces.projects.locations.apps.message.send", + "parameterOrder": [ + "tenant" + ], + "parameters": { + "tenant": { + "description": "Optional. Tenant ID, provided as a path parameter.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+tenant}/message:send", + "request": { + "$ref": "LfA2aV1SendMessageRequest" + }, + "response": { + "$ref": "LfA2aV1SendMessageResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/ces", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "scheduledEvaluationRuns": { "methods": { "create": { @@ -3542,7 +3575,7 @@ } } }, - "revision": "20260429", + "revision": "20260513", "rootUrl": "https://ces.googleapis.com/", "schemas": { "Action": { @@ -3849,6 +3882,10 @@ "description": "Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input.", "type": "object" }, + "languageCodeVariable": { + "description": "Optional. The name of the variable that contains the language code to be used for the Dialogflow session. If unspecified, the default language code of the Dialogflow agent will be used.", + "type": "string" + }, "outputVariableMapping": { "additionalProperties": { "type": "string" @@ -5965,6 +6002,14 @@ "readOnly": true, "type": "array" }, + "evaluationMetricsConfigOverride": { + "$ref": "EvaluationMetricsConfig", + "description": "Optional. Overrides metrics config for this specific evaluation." + }, + "evaluationMetricsThresholdOverride": { + "$ref": "EvaluationMetricsThresholds", + "description": "Optional. Overrides metrics thresholds for this specific evaluation." + }, "evaluationRuns": { "description": "Output only. The EvaluationRuns that this Evaluation is associated with.", "items": { @@ -6159,6 +6204,11 @@ "description": "Output only. The session ID for the conversation that caused the error.", "readOnly": true, "type": "string" + }, + "userFacingErrorMessage": { + "description": "Output only. The user facing error message.", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -6246,10 +6296,22 @@ "$ref": "Message", "description": "Optional. Check that the agent responded with the correct response. The role \"agent\" is implied." }, + "agentResponseHallucinationMetricsConfigOverride": { + "$ref": "EvaluationMetricsConfigHallucinationMetricsConfig", + "description": "Optional. Overrides for agent_response hallucination metrics." + }, + "agentResponseSemanticSimilarityMetricsConfigOverride": { + "$ref": "EvaluationMetricsConfigSemanticSimilarityMetricsConfig", + "description": "Optional. Overrides for agent_response semantic similarity metrics." + }, "agentTransfer": { "$ref": "AgentTransfer", "description": "Optional. Check that the agent transferred the conversation to a different agent." }, + "expectationLevelMetricsThresholdsOverride": { + "$ref": "EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds", + "description": "Optional. Overrides metrics at the step level." + }, "mockToolResponse": { "$ref": "ToolResponse", "description": "Optional. The tool response to mock, with the parameters of interest specified. Any parameters not specified will be hallucinated by the LLM." @@ -6258,6 +6320,10 @@ "description": "Optional. A note for this requirement, useful in reporting when specific checks fail. E.g., \"Check_Payment_Tool_Called\".", "type": "string" }, + "skipEvaluation": { + "description": "Optional. If set to true, this specific expectation will not be evaluated.", + "type": "boolean" + }, "toolCall": { "$ref": "ToolCall", "description": "Optional. Check that a specific tool was called with the parameters." @@ -6281,9 +6347,23 @@ "description": "A golden turn defines a single turn in a golden conversation.", "id": "EvaluationGoldenTurn", "properties": { + "hallucinationMetricBehaviorOverride": { + "description": "Optional. Override for turn-level hallucination metric behavior.", + "enum": [ + "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", + "DISABLED", + "ENABLED" + ], + "enumDescriptions": [ + "Unspecified hallucination metric behavior.", + "Disable hallucination metric.", + "Enable hallucination metric." + ], + "type": "string" + }, "rootSpan": { "$ref": "Span", - "description": "Optional. The root span of the golden turn for processing and maintaining audio information." + "description": "Optional. The root span of the golden turn for processing and maintaining audio information. The uri for the audio must contain audio saved in 16Khz sample rate." }, "steps": { "description": "Required. The steps required to replay a golden conversation.", @@ -6291,6 +6371,114 @@ "$ref": "EvaluationStep" }, "type": "array" + }, + "turnLevelMetricsThresholdsOverride": { + "$ref": "EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds", + "description": "Optional. Overrides for turn-level metric thresholds." + } + }, + "type": "object" + }, + "EvaluationMetricsConfig": { + "description": "Configures the metrics for an evaluation.", + "id": "EvaluationMetricsConfig", + "properties": { + "goldenMetricsConfig": { + "$ref": "EvaluationMetricsConfigGoldenMetricsConfig", + "description": "Optional. Configuration for the golden metrics for the evaluation." + }, + "scenarioMetricsConfig": { + "$ref": "EvaluationMetricsConfigScenarioMetricsConfig", + "description": "Optional. Configuration for the scenario metrics for the evaluation." + } + }, + "type": "object" + }, + "EvaluationMetricsConfigExpectationsMetMetricsConfig": { + "description": "Configuration for the expectation level metrics for the evaluation. To disable the metric, set the message but do not set the `enable_expectations_met_metrics` field to true (or explicitly set it to false). To unset the configuration and fallback to the default behavior, omit the message entirely.", + "id": "EvaluationMetricsConfigExpectationsMetMetricsConfig", + "properties": { + "enableExpectationsMetMetrics": { + "description": "Optional. Whether to calculate the expectation level metrics for the evaluation.", + "type": "boolean" + } + }, + "type": "object" + }, + "EvaluationMetricsConfigGoldenMetricsConfig": { + "description": "Configuration for the golden metrics for the evaluation.", + "id": "EvaluationMetricsConfigGoldenMetricsConfig", + "properties": { + "semanticSimilarityMetricsConfig": { + "$ref": "EvaluationMetricsConfigSemanticSimilarityMetricsConfig", + "description": "Optional. Global configuration for semantic similarity metrics." + }, + "stepToolCorrectnessMetricsConfig": { + "$ref": "EvaluationMetricsConfigToolCorrectnessMetricsConfig", + "description": "Optional. Configuration for step level tool correctness metrics." + }, + "toolCorrectnessMetricsConfig": { + "$ref": "EvaluationMetricsConfigToolCorrectnessMetricsConfig", + "description": "Optional. Configuration for turn level tool correctness metrics." + } + }, + "type": "object" + }, + "EvaluationMetricsConfigHallucinationMetricsConfig": { + "description": "Configuration for the hallucination metrics for the evaluation. To disable the metric, set the message but do not set the `enable_hallucination_metrics` field to true (or explicitly set it to false). To unset the configuration and fallback to the default behavior, omit the message entirely.", + "id": "EvaluationMetricsConfigHallucinationMetricsConfig", + "properties": { + "enableHallucinationMetrics": { + "description": "Optional. Whether to calculate hallucination metrics for the evaluation.", + "type": "boolean" + } + }, + "type": "object" + }, + "EvaluationMetricsConfigScenarioMetricsConfig": { + "description": "Configuration for the scenario metrics for the evaluation.", + "id": "EvaluationMetricsConfigScenarioMetricsConfig", + "properties": { + "expectationsMetMetricsConfig": { + "$ref": "EvaluationMetricsConfigExpectationsMetMetricsConfig", + "description": "Optional. Configuration for expectation level metrics." + }, + "userGoalMetMetricsConfig": { + "$ref": "EvaluationMetricsConfigUserGoalMetMetricsConfig", + "description": "Optional. Configuration for user goal met metrics." + } + }, + "type": "object" + }, + "EvaluationMetricsConfigSemanticSimilarityMetricsConfig": { + "description": "Configuration for similarity metrics for the evaluation. To disable the metric, set the message but do not set the `enable_semantic_similarity_metrics` field to true (or explicitly set it to false). To unset the configuration and fallback to the default behavior, omit the message entirely.", + "id": "EvaluationMetricsConfigSemanticSimilarityMetricsConfig", + "properties": { + "enableSemanticSimilarityMetrics": { + "description": "Optional. Whether to calculate semantic similarity metrics for the evaluation.", + "type": "boolean" + } + }, + "type": "object" + }, + "EvaluationMetricsConfigToolCorrectnessMetricsConfig": { + "description": "Configuration for correctness metrics for the evaluation. To disable the metric, set the message but do not set the `enable_tool_correctness_metrics` field to true (or explicitly set it to false). To unset the configuration and fallback to the default behavior, omit the message entirely.", + "id": "EvaluationMetricsConfigToolCorrectnessMetricsConfig", + "properties": { + "enableToolCorrectnessMetrics": { + "description": "Optional. Whether to calculate tool correctness metrics for the evaluation.", + "type": "boolean" + } + }, + "type": "object" + }, + "EvaluationMetricsConfigUserGoalMetMetricsConfig": { + "description": "Configuration for the user goal met metrics for the evaluation. To disable the metric, set the message but do not set the `enable_user_goal_met_metrics` field to true (or explicitly set it to false). To unset the configuration and fallback to the default behavior, omit the message entirely.", + "id": "EvaluationMetricsConfigUserGoalMetMetricsConfig", + "properties": { + "enableUserGoalMetMetrics": { + "description": "Optional. Whether to calculate the user goal met metrics for the evaluation.", + "type": "boolean" } }, "type": "object" @@ -7412,6 +7600,11 @@ "description": "Identifier. The unique identifier of the evaluation run. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluationRun}`", "type": "string" }, + "operation": { + "description": "Output only. The operation that created this evaluation run. Format: `projects/{project}/locations/{location}/operations/{operation}`", + "readOnly": true, + "type": "string" + }, "optimizationConfig": { "$ref": "OptimizationConfig", "description": "Optional. Configuration for running the optimization step after the evaluation run. If not set, the optimization step will not be run." @@ -7682,6 +7875,10 @@ ], "type": "string" }, + "metricsConfig": { + "$ref": "EvaluationMetricsConfig", + "description": "Optional. Configures the default metrics for evaluations." + }, "scenarioConversationInitiator": { "description": "Optional. Who starts the conversation in a scenario evaluation.", "enum": [ @@ -9349,6 +9546,343 @@ }, "type": "object" }, + "LfA2aV1Artifact": { + "description": "Artifacts represent task outputs.", + "id": "LfA2aV1Artifact", + "properties": { + "artifactId": { + "description": "Required. Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.", + "type": "string" + }, + "description": { + "description": "Optional. A human readable description of the artifact.", + "type": "string" + }, + "extensions": { + "description": "The URIs of extensions that are present or contributed to this Artifact.", + "items": { + "type": "string" + }, + "type": "array" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Metadata included with the artifact.", + "type": "object" + }, + "name": { + "description": "A human readable name for the artifact.", + "type": "string" + }, + "parts": { + "description": "Required. The content of the artifact. Must contain at least one part.", + "items": { + "$ref": "LfA2aV1Part" + }, + "type": "array" + } + }, + "type": "object" + }, + "LfA2aV1AuthenticationInfo": { + "description": "Defines authentication details, used for push notifications.", + "id": "LfA2aV1AuthenticationInfo", + "properties": { + "credentials": { + "description": "Push Notification credentials. Format depends on the scheme (e.g., token for Bearer).", + "type": "string" + }, + "scheme": { + "description": "Required. HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/). Examples: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).", + "type": "string" + } + }, + "type": "object" + }, + "LfA2aV1Message": { + "description": "`Message` is one unit of communication between client and server. It can be associated with a context and/or a task. For server messages, `context_id` must be provided, and `task_id` only if a task was created. For client messages, both fields are optional, with the caveat that if both are provided, they have to match (the `context_id` has to be the one that is set on the task). If only `task_id` is provided, the server will infer `context_id` from it.", + "id": "LfA2aV1Message", + "properties": { + "contextId": { + "description": "Optional. The context id of the message. If set, the message will be associated with the given context.", + "type": "string" + }, + "extensions": { + "description": "The URIs of extensions that are present or contributed to this Message.", + "items": { + "type": "string" + }, + "type": "array" + }, + "messageId": { + "description": "Required. The unique identifier (e.g. UUID) of the message. This is created by the message creator.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Any metadata to provide along with the message.", + "type": "object" + }, + "parts": { + "description": "Required. Parts is the container of the message content.", + "items": { + "$ref": "LfA2aV1Part" + }, + "type": "array" + }, + "referenceTaskIds": { + "description": "A list of task IDs that this message references for additional context.", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Required. Identifies the sender of the message.", + "enum": [ + "ROLE_UNSPECIFIED", + "ROLE_USER", + "ROLE_AGENT" + ], + "enumDescriptions": [ + "The role is unspecified.", + "The message is from the client to the server.", + "The message is from the server to the client." + ], + "type": "string" + }, + "taskId": { + "description": "Optional. The task id of the message. If set, the message will be associated with the given task.", + "type": "string" + } + }, + "type": "object" + }, + "LfA2aV1Part": { + "description": "`Part` represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON).", + "id": "LfA2aV1Part", + "properties": { + "data": { + "description": "Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).", + "type": "any" + }, + "filename": { + "description": "An optional `filename` for the file (e.g., \"document.pdf\").", + "type": "string" + }, + "mediaType": { + "description": "The `media_type` (MIME type) of the part content (e.g., \"text/plain\", \"application/json\", \"image/png\"). This field is available for all part types.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. metadata associated with this part.", + "type": "object" + }, + "raw": { + "description": "The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.", + "format": "byte", + "type": "string" + }, + "text": { + "description": "The string content of the `text` part.", + "type": "string" + }, + "url": { + "description": "A `url` pointing to the file's content.", + "type": "string" + } + }, + "type": "object" + }, + "LfA2aV1SendMessageConfiguration": { + "description": "Configuration of a send message request.", + "id": "LfA2aV1SendMessageConfiguration", + "properties": { + "acceptedOutputModes": { + "description": "A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.", + "items": { + "type": "string" + }, + "type": "array" + }, + "historyLength": { + "description": "The maximum number of most recent messages from the task's history to retrieve in the response. An unset value means the client does not impose any limit. A value of zero is a request to not include any messages. The server MUST NOT return more messages than the provided value, but MAY apply a lower limit.", + "format": "int32", + "type": "integer" + }, + "returnImmediately": { + "description": "If `true`, the operation returns immediately after creating the task, even if processing is still in progress. If `false` (default), the operation MUST wait until the task reaches a terminal (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or interrupted (`INPUT_REQUIRED`, `AUTH_REQUIRED`) state before returning.", + "type": "boolean" + }, + "taskPushNotificationConfig": { + "$ref": "LfA2aV1TaskPushNotificationConfig", + "description": "Configuration for the agent to send push notifications for task updates. Task id should be empty when sending this configuration in a `SendMessage` request." + } + }, + "type": "object" + }, + "LfA2aV1SendMessageRequest": { + "description": "Represents a request for the `SendMessage` method.", + "id": "LfA2aV1SendMessageRequest", + "properties": { + "configuration": { + "$ref": "LfA2aV1SendMessageConfiguration", + "description": "Configuration for the send request." + }, + "message": { + "$ref": "LfA2aV1Message", + "description": "Required. The message to send to the agent." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "A flexible key-value map for passing additional context or parameters.", + "type": "object" + } + }, + "type": "object" + }, + "LfA2aV1SendMessageResponse": { + "description": "Represents the response for the `SendMessage` method.", + "id": "LfA2aV1SendMessageResponse", + "properties": { + "message": { + "$ref": "LfA2aV1Message", + "description": "A message from the agent." + }, + "task": { + "$ref": "LfA2aV1Task", + "description": "The task created or updated by the message." + } + }, + "type": "object" + }, + "LfA2aV1Task": { + "description": "`Task` is the core unit of action for A2A. It has a current status and when results are created for the task they are stored in the artifact. If there are multiple turns for a task, these are stored in history.", + "id": "LfA2aV1Task", + "properties": { + "artifacts": { + "description": "A set of output artifacts for a `Task`.", + "items": { + "$ref": "LfA2aV1Artifact" + }, + "type": "array" + }, + "contextId": { + "description": "Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages).", + "type": "string" + }, + "history": { + "description": "protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a `Task`.", + "items": { + "$ref": "LfA2aV1Message" + }, + "type": "array" + }, + "id": { + "description": "Required. Unique identifier (e.g. UUID) for the task, generated by the server for a new task.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.", + "type": "object" + }, + "status": { + "$ref": "LfA2aV1TaskStatus", + "description": "Required. The current status of a `Task`, including `state` and a `message`." + } + }, + "type": "object" + }, + "LfA2aV1TaskPushNotificationConfig": { + "description": "A container associating a push notification configuration with a specific task.", + "id": "LfA2aV1TaskPushNotificationConfig", + "properties": { + "authentication": { + "$ref": "LfA2aV1AuthenticationInfo", + "description": "Authentication information required to send the notification." + }, + "id": { + "description": "The push notification configuration details. A unique identifier (e.g. UUID) for this push notification configuration.", + "type": "string" + }, + "taskId": { + "description": "The ID of the task this configuration is associated with.", + "type": "string" + }, + "tenant": { + "description": "Optional. Tenant ID.", + "type": "string" + }, + "token": { + "description": "A token unique for this task or session.", + "type": "string" + }, + "url": { + "description": "Required. The URL where the notification should be sent.", + "type": "string" + } + }, + "type": "object" + }, + "LfA2aV1TaskStatus": { + "description": "A container for the status of a task", + "id": "LfA2aV1TaskStatus", + "properties": { + "message": { + "$ref": "LfA2aV1Message", + "description": "A message associated with the status." + }, + "state": { + "description": "Required. The current state of this task.", + "enum": [ + "TASK_STATE_UNSPECIFIED", + "TASK_STATE_SUBMITTED", + "TASK_STATE_WORKING", + "TASK_STATE_COMPLETED", + "TASK_STATE_FAILED", + "TASK_STATE_CANCELED", + "TASK_STATE_INPUT_REQUIRED", + "TASK_STATE_REJECTED", + "TASK_STATE_AUTH_REQUIRED" + ], + "enumDescriptions": [ + "The task is in an unknown or indeterminate state.", + "Indicates that a task has been successfully submitted and acknowledged.", + "Indicates that a task is actively being processed by the agent.", + "Indicates that a task has finished successfully. This is a terminal state.", + "Indicates that a task has finished with an error. This is a terminal state.", + "Indicates that a task was canceled before completion. This is a terminal state.", + "Indicates that the agent requires additional user input to proceed. This is an interrupted state.", + "Indicates that the agent has decided to not perform the task. This may be done during initial task creation or later once an agent has determined it can't or won't proceed. This is a terminal state.", + "Indicates that authentication is required to proceed. This is an interrupted state." + ], + "type": "string" + }, + "timestamp": { + "description": "ISO 8601 Timestamp when the status was recorded. Example: \"2023-10-27T10:00:00Z\"", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "ListAgentsResponse": { "description": "Response message for AgentService.ListAgents.", "id": "ListAgentsResponse", @@ -9727,11 +10261,11 @@ "properties": { "audioRecordingConfig": { "$ref": "AudioRecordingConfig", - "description": "Optional. Configuration for how audio interactions should be recorded." + "description": "Optional. Configuration for how audio interactions should be recorded. The audio is subject to redaction as configured in RedactionConfig." }, "bigqueryExportSettings": { "$ref": "BigQueryExportSettings", - "description": "Optional. Settings to describe the BigQuery export behaviors for the app. The conversation data will be exported to BigQuery tables if it is enabled." + "description": "Optional. Configures the BigQuery export behaviors for the app. The conversation data is subject to redaction as configured in RedactionConfig." }, "cloudLoggingSettings": { "$ref": "CloudLoggingSettings", @@ -9755,7 +10289,7 @@ }, "unredactedAudioRecordingConfig": { "$ref": "AudioRecordingConfig", - "description": "Optional. Configures recording of unredacted audio. Use this to maintain a raw backup with restricted access when audio redaction is enabled, typically for auditing or monitoring purposes." + "description": "Optional. Configures an additional recording of unredacted audio. This can be used to maintain a raw audio copy when audio redaction is enabled, typically for auditing or monitoring purposes." } }, "type": "object" @@ -9787,6 +10321,10 @@ "description": "Required. The name of the MCP tool.", "type": "string" }, + "nameOverride": { + "description": "Optional. The name override of the MCP tool. This is populated if the name was overridden by a Toolset override.", + "type": "string" + }, "outputSchema": { "$ref": "Schema", "description": "Optional. The schema of the output arguments of the MCP tool." @@ -9799,6 +10337,23 @@ "$ref": "ServiceDirectoryConfig", "description": "Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter." }, + "state": { + "description": "Output only. The dynamic availability state of the tool on the external server.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "INACTIVE", + "STALE" + ], + "enumDescriptions": [ + "Default state.", + "The tool is available and actively offered by the server.", + "The tool is configured or pinned, but currently not offered by the server.", + "The tool exists on the server, but does not match the version on the server." + ], + "readOnly": true, + "type": "string" + }, "tlsConfig": { "$ref": "TlsConfig", "description": "Optional. The TLS configuration. Includes the custom server certificates that the client should trust." @@ -9806,6 +10361,52 @@ }, "type": "object" }, + "McpToolDefinition": { + "description": "Container for a tool's core definition elements that are snapshot. Schemas in the snapshot are used as-is and cannot be overridden.", + "id": "McpToolDefinition", + "properties": { + "description": { + "description": "Output only. The description of the MCP tool. This can be overridden by `description_override` in `McpToolOverride`.", + "readOnly": true, + "type": "string" + }, + "inputSchema": { + "$ref": "Schema", + "description": "Output only. The schema of the input arguments of the MCP tool.", + "readOnly": true + }, + "outputSchema": { + "$ref": "Schema", + "description": "Output only. The schema of the output arguments of the MCP tool.", + "readOnly": true + } + }, + "type": "object" + }, + "McpToolOverride": { + "description": "Overrides associated with a given tool in a Toolset. This enables \"pinning\" or \"overriding\" of tool definitions from the external dynamic server.", + "id": "McpToolOverride", + "properties": { + "descriptionOverride": { + "description": "Optional. If present, this tool uses this description instead of the original description from the server.", + "type": "string" + }, + "nameOverride": { + "description": "Optional. If present, this tool uses this name in the Agent instead of the original name. This is primarily used as an alias if the MCP server offers poorly named tools.", + "type": "string" + }, + "snapshot": { + "$ref": "McpToolDefinition", + "description": "Output only. If present, this tool is \"Pinned\" and uses the snapshot values as fallbacks if the server becomes temporarily unavailable or if no Override is present.", + "readOnly": true + }, + "tool": { + "description": "Required. The original name of the tool as it is emitted by the MCP server.", + "type": "string" + } + }, + "type": "object" + }, "McpToolset": { "description": "A toolset that contains a list of tools that are offered by the MCP server.", "id": "McpToolset", @@ -9832,6 +10433,13 @@ "tlsConfig": { "$ref": "TlsConfig", "description": "Optional. The TLS configuration. Includes the custom server certificates that the client should trust." + }, + "toolOverrides": { + "description": "Optional. Overrides for individual tools within this toolset. This allows overriding specific details like descriptions, names, or pinning the tools' states so they aren't fully dynamic.", + "items": { + "$ref": "McpToolOverride" + }, + "type": "array" } }, "type": "object" @@ -9988,178 +10596,6 @@ }, "type": "object" }, - "Omnichannel": { - "description": "Represents an Omnichannel resource.", - "id": "Omnichannel", - "properties": { - "createTime": { - "description": "Output only. Timestamp when the omnichannel resource was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "Optional. Human-readable description of the omnichannel resource.", - "type": "string" - }, - "displayName": { - "description": "Required. Display name of the omnichannel resource.", - "type": "string" - }, - "etag": { - "description": "Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation.", - "readOnly": true, - "type": "string" - }, - "integrationConfig": { - "$ref": "OmnichannelIntegrationConfig", - "description": "Optional. The integration config for the omnichannel resource." - }, - "name": { - "description": "Identifier. The unique identifier of the omnichannel resource. Format: `projects/{project}/locations/{location}/omnichannels/{omnichannel}`", - "type": "string" - }, - "updateTime": { - "description": "Output only. Timestamp when the omnichannel resource was last updated.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "OmnichannelIntegrationConfig": { - "description": "OmnichannelIntegrationConfig contains all App integration configs.", - "id": "OmnichannelIntegrationConfig", - "properties": { - "channelConfigs": { - "additionalProperties": { - "$ref": "OmnichannelIntegrationConfigChannelConfig" - }, - "description": "Optional. Various of configuration for handling App events.", - "type": "object" - }, - "routingConfigs": { - "additionalProperties": { - "$ref": "OmnichannelIntegrationConfigRoutingConfig" - }, - "description": "Optional. The key of routing_configs is a key of `app_configs`, value is a `RoutingConfig`, which contains subscriber's key.", - "type": "object" - }, - "subscriberConfigs": { - "additionalProperties": { - "$ref": "OmnichannelIntegrationConfigSubscriberConfig" - }, - "description": "Optional. Various of subscribers configs.", - "type": "object" - } - }, - "type": "object" - }, - "OmnichannelIntegrationConfigCesAppConfig": { - "description": "Configs for CES app.", - "id": "OmnichannelIntegrationConfigCesAppConfig", - "properties": { - "app": { - "description": "The unique identifier of the CES app. Format: `projects/{project}/locations/{location}/apps/{app}`", - "type": "string" - } - }, - "type": "object" - }, - "OmnichannelIntegrationConfigChannelConfig": { - "description": "ChannelConfig contains config for various of app integration.", - "id": "OmnichannelIntegrationConfigChannelConfig", - "properties": { - "whatsappConfig": { - "$ref": "OmnichannelIntegrationConfigWhatsappConfig", - "description": "WhatsApp config." - } - }, - "type": "object" - }, - "OmnichannelIntegrationConfigRoutingConfig": { - "description": "Routing config specify how/who to route app events to a subscriber.", - "id": "OmnichannelIntegrationConfigRoutingConfig", - "properties": { - "subscriberKey": { - "description": "The key of the subscriber.", - "type": "string" - } - }, - "type": "object" - }, - "OmnichannelIntegrationConfigSubscriberConfig": { - "description": "Configs of subscribers.", - "id": "OmnichannelIntegrationConfigSubscriberConfig", - "properties": { - "cesAppConfig": { - "$ref": "OmnichannelIntegrationConfigCesAppConfig", - "description": "Ces app config." - } - }, - "type": "object" - }, - "OmnichannelIntegrationConfigWhatsappConfig": { - "description": "How Omnichannel should receive/reply events from WhatsApp.", - "id": "OmnichannelIntegrationConfigWhatsappConfig", - "properties": { - "metaBusinessPortfolioId": { - "description": "The Meta Business Portfolio (MBP) ID. https://www.facebook.com/business/help/1710077379203657", - "type": "string" - }, - "phoneNumber": { - "description": "The phone number used for sending/receiving messages.", - "type": "string" - }, - "phoneNumberId": { - "description": "The Phone Number ID associated with the WhatsApp Business Account.", - "type": "string" - }, - "webhookVerifyToken": { - "description": "The verify token configured in the Meta App Dashboard for webhook verification.", - "type": "string" - }, - "whatsappBusinessAccountId": { - "description": "The customer's WhatsApp Business Account (WABA) ID.", - "type": "string" - }, - "whatsappBusinessToken": { - "description": "The access token for authenticating API calls to the WhatsApp Cloud API. https://developers.facebook.com/docs/whatsapp/business-management-api/get-started/#business-integration-system-user-access-tokens", - "type": "string" - } - }, - "type": "object" - }, - "OmnichannelOperationMetadata": { - "description": "Represents the metadata of the long-running operation.", - "id": "OmnichannelOperationMetadata", - "properties": { - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, "OpenApiTool": { "description": "A remote API tool defined by an OpenAPI schema.", "id": "OpenApiTool", @@ -10422,6 +10858,10 @@ "pythonCode": { "description": "Optional. The Python code to execute for the tool.", "type": "string" + }, + "serviceDirectoryConfig": { + "$ref": "ServiceDirectoryConfig", + "description": "Optional. Service Directory configuration for the tool." } }, "type": "object" @@ -10578,6 +11018,10 @@ "description": "Request message for ToolService.RetrieveTools.", "id": "RetrieveToolsRequest", "properties": { + "bypassPersistenceConfig": { + "description": "Optional. If true, the returned tools will contain raw descriptions and schemas directly from the server, bypassing any stored persistence configurations (overrides/snapshots).", + "type": "boolean" + }, "toolIds": { "description": "Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.", "items": { diff --git a/src/apis/ces/v1.ts b/src/apis/ces/v1.ts index adf47eff1a..173f5f6a0f 100644 --- a/src/apis/ces/v1.ts +++ b/src/apis/ces/v1.ts @@ -338,6 +338,10 @@ export namespace ces_v1 { * Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input. */ inputVariableMapping?: {[key: string]: string} | null; + /** + * Optional. The name of the variable that contains the language code to be used for the Dialogflow session. If unspecified, the default language code of the Dialogflow agent will be used. + */ + languageCodeVariable?: string | null; /** * Optional. The mapping of the Dialogflow session parameters names to the app variables names to be sent back to the CES agent after the Dialogflow agent execution ends. */ @@ -2236,6 +2240,244 @@ export namespace ces_v1 { */ supportedLanguageCodes?: string[] | null; } + /** + * Artifacts represent task outputs. + */ + export interface Schema$LfA2aV1Artifact { + /** + * Required. Unique identifier (e.g. UUID) for the artifact. It must be unique within a task. + */ + artifactId?: string | null; + /** + * Optional. A human readable description of the artifact. + */ + description?: string | null; + /** + * The URIs of extensions that are present or contributed to this Artifact. + */ + extensions?: string[] | null; + /** + * Optional. Metadata included with the artifact. + */ + metadata?: {[key: string]: any} | null; + /** + * A human readable name for the artifact. + */ + name?: string | null; + /** + * Required. The content of the artifact. Must contain at least one part. + */ + parts?: Schema$LfA2aV1Part[]; + } + /** + * Defines authentication details, used for push notifications. + */ + export interface Schema$LfA2aV1AuthenticationInfo { + /** + * Push Notification credentials. Format depends on the scheme (e.g., token for Bearer). + */ + credentials?: string | null; + /** + * Required. HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/). Examples: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1). + */ + scheme?: string | null; + } + /** + * `Message` is one unit of communication between client and server. It can be associated with a context and/or a task. For server messages, `context_id` must be provided, and `task_id` only if a task was created. For client messages, both fields are optional, with the caveat that if both are provided, they have to match (the `context_id` has to be the one that is set on the task). If only `task_id` is provided, the server will infer `context_id` from it. + */ + export interface Schema$LfA2aV1Message { + /** + * Optional. The context id of the message. If set, the message will be associated with the given context. + */ + contextId?: string | null; + /** + * The URIs of extensions that are present or contributed to this Message. + */ + extensions?: string[] | null; + /** + * Required. The unique identifier (e.g. UUID) of the message. This is created by the message creator. + */ + messageId?: string | null; + /** + * Optional. Any metadata to provide along with the message. + */ + metadata?: {[key: string]: any} | null; + /** + * Required. Parts is the container of the message content. + */ + parts?: Schema$LfA2aV1Part[]; + /** + * A list of task IDs that this message references for additional context. + */ + referenceTaskIds?: string[] | null; + /** + * Required. Identifies the sender of the message. + */ + role?: string | null; + /** + * Optional. The task id of the message. If set, the message will be associated with the given task. + */ + taskId?: string | null; + } + /** + * `Part` represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON). + */ + export interface Schema$LfA2aV1Part { + /** + * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null). + */ + data?: any | null; + /** + * An optional `filename` for the file (e.g., "document.pdf"). + */ + filename?: string | null; + /** + * The `media_type` (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png"). This field is available for all part types. + */ + mediaType?: string | null; + /** + * Optional. metadata associated with this part. + */ + metadata?: {[key: string]: any} | null; + /** + * The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string. + */ + raw?: string | null; + /** + * The string content of the `text` part. + */ + text?: string | null; + /** + * A `url` pointing to the file's content. + */ + url?: string | null; + } + /** + * Configuration of a send message request. + */ + export interface Schema$LfA2aV1SendMessageConfiguration { + /** + * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output. + */ + acceptedOutputModes?: string[] | null; + /** + * The maximum number of most recent messages from the task's history to retrieve in the response. An unset value means the client does not impose any limit. A value of zero is a request to not include any messages. The server MUST NOT return more messages than the provided value, but MAY apply a lower limit. + */ + historyLength?: number | null; + /** + * If `true`, the operation returns immediately after creating the task, even if processing is still in progress. If `false` (default), the operation MUST wait until the task reaches a terminal (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or interrupted (`INPUT_REQUIRED`, `AUTH_REQUIRED`) state before returning. + */ + returnImmediately?: boolean | null; + /** + * Configuration for the agent to send push notifications for task updates. Task id should be empty when sending this configuration in a `SendMessage` request. + */ + taskPushNotificationConfig?: Schema$LfA2aV1TaskPushNotificationConfig; + } + /** + * Represents a request for the `SendMessage` method. + */ + export interface Schema$LfA2aV1SendMessageRequest { + /** + * Configuration for the send request. + */ + configuration?: Schema$LfA2aV1SendMessageConfiguration; + /** + * Required. The message to send to the agent. + */ + message?: Schema$LfA2aV1Message; + /** + * A flexible key-value map for passing additional context or parameters. + */ + metadata?: {[key: string]: any} | null; + } + /** + * Represents the response for the `SendMessage` method. + */ + export interface Schema$LfA2aV1SendMessageResponse { + /** + * A message from the agent. + */ + message?: Schema$LfA2aV1Message; + /** + * The task created or updated by the message. + */ + task?: Schema$LfA2aV1Task; + } + /** + * `Task` is the core unit of action for A2A. It has a current status and when results are created for the task they are stored in the artifact. If there are multiple turns for a task, these are stored in history. + */ + export interface Schema$LfA2aV1Task { + /** + * A set of output artifacts for a `Task`. + */ + artifacts?: Schema$LfA2aV1Artifact[]; + /** + * Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages). + */ + contextId?: string | null; + /** + * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a `Task`. + */ + history?: Schema$LfA2aV1Message[]; + /** + * Required. Unique identifier (e.g. UUID) for the task, generated by the server for a new task. + */ + id?: string | null; + /** + * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task. + */ + metadata?: {[key: string]: any} | null; + /** + * Required. The current status of a `Task`, including `state` and a `message`. + */ + status?: Schema$LfA2aV1TaskStatus; + } + /** + * A container associating a push notification configuration with a specific task. + */ + export interface Schema$LfA2aV1TaskPushNotificationConfig { + /** + * Authentication information required to send the notification. + */ + authentication?: Schema$LfA2aV1AuthenticationInfo; + /** + * The push notification configuration details. A unique identifier (e.g. UUID) for this push notification configuration. + */ + id?: string | null; + /** + * The ID of the task this configuration is associated with. + */ + taskId?: string | null; + /** + * Optional. Tenant ID. + */ + tenant?: string | null; + /** + * A token unique for this task or session. + */ + token?: string | null; + /** + * Required. The URL where the notification should be sent. + */ + url?: string | null; + } + /** + * A container for the status of a task + */ + export interface Schema$LfA2aV1TaskStatus { + /** + * A message associated with the status. + */ + message?: Schema$LfA2aV1Message; + /** + * Required. The current state of this task. + */ + state?: string | null; + /** + * ISO 8601 Timestamp when the status was recorded. Example: "2023-10-27T10:00:00Z" + */ + timestamp?: string | null; + } /** * Response message for AgentService.ListAgents. */ @@ -2430,11 +2672,11 @@ export namespace ces_v1 { */ export interface Schema$LoggingSettings { /** - * Optional. Configuration for how audio interactions should be recorded. + * Optional. Configuration for how audio interactions should be recorded. The audio is subject to redaction as configured in RedactionConfig. */ audioRecordingConfig?: Schema$AudioRecordingConfig; /** - * Optional. Settings to describe the BigQuery export behaviors for the app. The conversation data will be exported to BigQuery tables if it is enabled. + * Optional. Configures the BigQuery export behaviors for the app. The conversation data is subject to redaction as configured in RedactionConfig. */ bigqueryExportSettings?: Schema$BigQueryExportSettings; /** @@ -2458,7 +2700,7 @@ export namespace ces_v1 { */ redactionConfig?: Schema$RedactionConfig; /** - * Optional. Configures recording of unredacted audio. Use this to maintain a raw backup with restricted access when audio redaction is enabled, typically for auditing or monitoring purposes. + * Optional. Configures an additional recording of unredacted audio. This can be used to maintain a raw audio copy when audio redaction is enabled, typically for auditing or monitoring purposes. */ unredactedAudioRecordingConfig?: Schema$AudioRecordingConfig; } @@ -2486,6 +2728,10 @@ export namespace ces_v1 { * Required. The name of the MCP tool. */ name?: string | null; + /** + * Optional. The name override of the MCP tool. This is populated if the name was overridden by a Toolset override. + */ + nameOverride?: string | null; /** * Optional. The schema of the output arguments of the MCP tool. */ @@ -2498,11 +2744,53 @@ export namespace ces_v1 { * Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter. */ serviceDirectoryConfig?: Schema$ServiceDirectoryConfig; + /** + * Output only. The dynamic availability state of the tool on the external server. + */ + state?: string | null; /** * Optional. The TLS configuration. Includes the custom server certificates that the client should trust. */ tlsConfig?: Schema$TlsConfig; } + /** + * Container for a tool's core definition elements that are snapshot. Schemas in the snapshot are used as-is and cannot be overridden. + */ + export interface Schema$McpToolDefinition { + /** + * Output only. The description of the MCP tool. This can be overridden by `description_override` in `McpToolOverride`. + */ + description?: string | null; + /** + * Output only. The schema of the input arguments of the MCP tool. + */ + inputSchema?: Schema$Schema; + /** + * Output only. The schema of the output arguments of the MCP tool. + */ + outputSchema?: Schema$Schema; + } + /** + * Overrides associated with a given tool in a Toolset. This enables "pinning" or "overriding" of tool definitions from the external dynamic server. + */ + export interface Schema$McpToolOverride { + /** + * Optional. If present, this tool uses this description instead of the original description from the server. + */ + descriptionOverride?: string | null; + /** + * Optional. If present, this tool uses this name in the Agent instead of the original name. This is primarily used as an alias if the MCP server offers poorly named tools. + */ + nameOverride?: string | null; + /** + * Output only. If present, this tool is "Pinned" and uses the snapshot values as fallbacks if the server becomes temporarily unavailable or if no Override is present. + */ + snapshot?: Schema$McpToolDefinition; + /** + * Required. The original name of the tool as it is emitted by the MCP server. + */ + tool?: string | null; + } /** * A toolset that contains a list of tools that are offered by the MCP server. */ @@ -2527,6 +2815,10 @@ export namespace ces_v1 { * Optional. The TLS configuration. Includes the custom server certificates that the client should trust. */ tlsConfig?: Schema$TlsConfig; + /** + * Optional. Overrides for individual tools within this toolset. This allows overriding specific details like descriptions, names, or pinning the tools' states so they aren't fully dynamic. + */ + toolOverrides?: Schema$McpToolOverride[]; } /** * A message within a conversation. @@ -2630,148 +2922,6 @@ export namespace ces_v1 { */ tokenEndpoint?: string | null; } - /** - * Represents an Omnichannel resource. - */ - export interface Schema$Omnichannel { - /** - * Output only. Timestamp when the omnichannel resource was created. - */ - createTime?: string | null; - /** - * Optional. Human-readable description of the omnichannel resource. - */ - description?: string | null; - /** - * Required. Display name of the omnichannel resource. - */ - displayName?: string | null; - /** - * Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. - */ - etag?: string | null; - /** - * Optional. The integration config for the omnichannel resource. - */ - integrationConfig?: Schema$OmnichannelIntegrationConfig; - /** - * Identifier. The unique identifier of the omnichannel resource. Format: `projects/{project\}/locations/{location\}/omnichannels/{omnichannel\}` - */ - name?: string | null; - /** - * Output only. Timestamp when the omnichannel resource was last updated. - */ - updateTime?: string | null; - } - /** - * OmnichannelIntegrationConfig contains all App integration configs. - */ - export interface Schema$OmnichannelIntegrationConfig { - /** - * Optional. Various of configuration for handling App events. - */ - channelConfigs?: { - [key: string]: Schema$OmnichannelIntegrationConfigChannelConfig; - } | null; - /** - * Optional. The key of routing_configs is a key of `app_configs`, value is a `RoutingConfig`, which contains subscriber's key. - */ - routingConfigs?: { - [key: string]: Schema$OmnichannelIntegrationConfigRoutingConfig; - } | null; - /** - * Optional. Various of subscribers configs. - */ - subscriberConfigs?: { - [key: string]: Schema$OmnichannelIntegrationConfigSubscriberConfig; - } | null; - } - /** - * Configs for CES app. - */ - export interface Schema$OmnichannelIntegrationConfigCesAppConfig { - /** - * The unique identifier of the CES app. Format: `projects/{project\}/locations/{location\}/apps/{app\}` - */ - app?: string | null; - } - /** - * ChannelConfig contains config for various of app integration. - */ - export interface Schema$OmnichannelIntegrationConfigChannelConfig { - /** - * WhatsApp config. - */ - whatsappConfig?: Schema$OmnichannelIntegrationConfigWhatsappConfig; - } - /** - * Routing config specify how/who to route app events to a subscriber. - */ - export interface Schema$OmnichannelIntegrationConfigRoutingConfig { - /** - * The key of the subscriber. - */ - subscriberKey?: string | null; - } - /** - * Configs of subscribers. - */ - export interface Schema$OmnichannelIntegrationConfigSubscriberConfig { - /** - * Ces app config. - */ - cesAppConfig?: Schema$OmnichannelIntegrationConfigCesAppConfig; - } - /** - * How Omnichannel should receive/reply events from WhatsApp. - */ - export interface Schema$OmnichannelIntegrationConfigWhatsappConfig { - /** - * The Meta Business Portfolio (MBP) ID. https://www.facebook.com/business/help/1710077379203657 - */ - metaBusinessPortfolioId?: string | null; - /** - * The phone number used for sending/receiving messages. - */ - phoneNumber?: string | null; - /** - * The Phone Number ID associated with the WhatsApp Business Account. - */ - phoneNumberId?: string | null; - /** - * The verify token configured in the Meta App Dashboard for webhook verification. - */ - webhookVerifyToken?: string | null; - /** - * The customer's WhatsApp Business Account (WABA) ID. - */ - whatsappBusinessAccountId?: string | null; - /** - * The access token for authenticating API calls to the WhatsApp Cloud API. https://developers.facebook.com/docs/whatsapp/business-management-api/get-started/#business-integration-system-user-access-tokens - */ - whatsappBusinessToken?: string | null; - } - /** - * Represents the metadata of the long-running operation. - */ - export interface Schema$OmnichannelOperationMetadata { - /** - * Output only. The time the operation was created. - */ - createTime?: string | null; - /** - * Output only. The time the operation finished running. - */ - endTime?: string | null; - /** - * Output only. Identifies whether the user has requested cancellation of the operation. - */ - requestedCancellation?: boolean | null; - /** - * Output only. Human-readable status of the operation, if any. - */ - statusMessage?: string | null; - } /** * A remote API tool defined by an OpenAPI schema. */ @@ -2922,6 +3072,10 @@ export namespace ces_v1 { * Optional. The Python code to execute for the tool. */ pythonCode?: string | null; + /** + * Optional. Service Directory configuration for the tool. + */ + serviceDirectoryConfig?: Schema$ServiceDirectoryConfig; } /** * Configuration to instruct how sensitive data should be handled. @@ -2999,6 +3153,10 @@ export namespace ces_v1 { * Request message for ToolService.RetrieveTools. */ export interface Schema$RetrieveToolsRequest { + /** + * Optional. If true, the returned tools will contain raw descriptions and schemas directly from the server, bypassing any stored persistence configurations (overrides/snapshots). + */ + bypassPersistenceConfig?: boolean | null; /** * Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned. */ @@ -4208,6 +4366,7 @@ export namespace ces_v1 { deployments: Resource$Projects$Locations$Apps$Deployments; examples: Resource$Projects$Locations$Apps$Examples; guardrails: Resource$Projects$Locations$Apps$Guardrails; + message: Resource$Projects$Locations$Apps$Message; sessions: Resource$Projects$Locations$Apps$Sessions; tools: Resource$Projects$Locations$Apps$Tools; toolsets: Resource$Projects$Locations$Apps$Toolsets; @@ -4230,6 +4389,7 @@ export namespace ces_v1 { this.guardrails = new Resource$Projects$Locations$Apps$Guardrails( this.context ); + this.message = new Resource$Projects$Locations$Apps$Message(this.context); this.sessions = new Resource$Projects$Locations$Apps$Sessions( this.context ); @@ -10260,6 +10420,180 @@ export namespace ces_v1 { requestBody?: Schema$Guardrail; } + export class Resource$Projects$Locations$Apps$Message { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Sends a message to an agent. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/ces.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const ces = google.ces('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/ces', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await ces.projects.locations.apps.message.send({ + * // Optional. Tenant ID, provided as a path parameter. + * tenant: 'projects/my-project/locations/my-location/apps/my-app', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "configuration": {}, + * // "message": {}, + * // "metadata": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "message": {}, + * // "task": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + send( + params: Params$Resource$Projects$Locations$Apps$Message$Send, + options: StreamMethodOptions + ): Promise>; + send( + params?: Params$Resource$Projects$Locations$Apps$Message$Send, + options?: MethodOptions + ): Promise>; + send( + params: Params$Resource$Projects$Locations$Apps$Message$Send, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + send( + params: Params$Resource$Projects$Locations$Apps$Message$Send, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + send( + params: Params$Resource$Projects$Locations$Apps$Message$Send, + callback: BodyResponseCallback + ): void; + send( + callback: BodyResponseCallback + ): void; + send( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apps$Message$Send + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apps$Message$Send; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apps$Message$Send; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://ces.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+tenant}/message:send').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['tenant'], + pathParams: ['tenant'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Apps$Message$Send extends StandardParameters { + /** + * Optional. Tenant ID, provided as a path parameter. + */ + tenant?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$LfA2aV1SendMessageRequest; + } + export class Resource$Projects$Locations$Apps$Sessions { context: APIRequestContext; constructor(context: APIRequestContext) { @@ -12485,6 +12819,7 @@ export namespace ces_v1 { * requestBody: { * // request body parameters * // { + * // "bypassPersistenceConfig": false, * // "toolIds": [] * // } * }, diff --git a/src/apis/ces/v1beta.ts b/src/apis/ces/v1beta.ts index 8bd0bdfc0b..c9a9091779 100644 --- a/src/apis/ces/v1beta.ts +++ b/src/apis/ces/v1beta.ts @@ -338,6 +338,10 @@ export namespace ces_v1beta { * Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input. */ inputVariableMapping?: {[key: string]: string} | null; + /** + * Optional. The name of the variable that contains the language code to be used for the Dialogflow session. If unspecified, the default language code of the Dialogflow agent will be used. + */ + languageCodeVariable?: string | null; /** * Optional. The mapping of the Dialogflow session parameters names to the app variables names to be sent back to the CES agent after the Dialogflow agent execution ends. */ @@ -1794,6 +1798,14 @@ export namespace ces_v1beta { * Output only. List of evaluation datasets the evaluation belongs to. Format: `projects/{project\}/locations/{location\}/apps/{app\}/evaluationDatasets/{evaluationDataset\}` */ evaluationDatasets?: string[] | null; + /** + * Optional. Overrides metrics config for this specific evaluation. + */ + evaluationMetricsConfigOverride?: Schema$EvaluationMetricsConfig; + /** + * Optional. Overrides metrics thresholds for this specific evaluation. + */ + evaluationMetricsThresholdOverride?: Schema$EvaluationMetricsThresholds; /** * Output only. The EvaluationRuns that this Evaluation is associated with. */ @@ -1913,6 +1925,10 @@ export namespace ces_v1beta { * Output only. The session ID for the conversation that caused the error. */ sessionId?: string | null; + /** + * Output only. The user facing error message. + */ + userFacingErrorMessage?: string | null; } /** * An evaluation expectation represents a specific criteria to evaluate against. @@ -1977,10 +1993,22 @@ export namespace ces_v1beta { * Optional. Check that the agent responded with the correct response. The role "agent" is implied. */ agentResponse?: Schema$Message; + /** + * Optional. Overrides for agent_response hallucination metrics. + */ + agentResponseHallucinationMetricsConfigOverride?: Schema$EvaluationMetricsConfigHallucinationMetricsConfig; + /** + * Optional. Overrides for agent_response semantic similarity metrics. + */ + agentResponseSemanticSimilarityMetricsConfigOverride?: Schema$EvaluationMetricsConfigSemanticSimilarityMetricsConfig; /** * Optional. Check that the agent transferred the conversation to a different agent. */ agentTransfer?: Schema$AgentTransfer; + /** + * Optional. Overrides metrics at the step level. + */ + expectationLevelMetricsThresholdsOverride?: Schema$EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds; /** * Optional. The tool response to mock, with the parameters of interest specified. Any parameters not specified will be hallucinated by the LLM. */ @@ -1989,6 +2017,10 @@ export namespace ces_v1beta { * Optional. A note for this requirement, useful in reporting when specific checks fail. E.g., "Check_Payment_Tool_Called". */ note?: string | null; + /** + * Optional. If set to true, this specific expectation will not be evaluated. + */ + skipEvaluation?: boolean | null; /** * Optional. Check that a specific tool was called with the parameters. */ @@ -2007,13 +2039,109 @@ export namespace ces_v1beta { */ export interface Schema$EvaluationGoldenTurn { /** - * Optional. The root span of the golden turn for processing and maintaining audio information. + * Optional. Override for turn-level hallucination metric behavior. + */ + hallucinationMetricBehaviorOverride?: string | null; + /** + * Optional. The root span of the golden turn for processing and maintaining audio information. The uri for the audio must contain audio saved in 16Khz sample rate. */ rootSpan?: Schema$Span; /** * Required. The steps required to replay a golden conversation. */ steps?: Schema$EvaluationStep[]; + /** + * Optional. Overrides for turn-level metric thresholds. + */ + turnLevelMetricsThresholdsOverride?: Schema$EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds; + } + /** + * Configures the metrics for an evaluation. + */ + export interface Schema$EvaluationMetricsConfig { + /** + * Optional. Configuration for the golden metrics for the evaluation. + */ + goldenMetricsConfig?: Schema$EvaluationMetricsConfigGoldenMetricsConfig; + /** + * Optional. Configuration for the scenario metrics for the evaluation. + */ + scenarioMetricsConfig?: Schema$EvaluationMetricsConfigScenarioMetricsConfig; + } + /** + * Configuration for the expectation level metrics for the evaluation. To disable the metric, set the message but do not set the `enable_expectations_met_metrics` field to true (or explicitly set it to false). To unset the configuration and fallback to the default behavior, omit the message entirely. + */ + export interface Schema$EvaluationMetricsConfigExpectationsMetMetricsConfig { + /** + * Optional. Whether to calculate the expectation level metrics for the evaluation. + */ + enableExpectationsMetMetrics?: boolean | null; + } + /** + * Configuration for the golden metrics for the evaluation. + */ + export interface Schema$EvaluationMetricsConfigGoldenMetricsConfig { + /** + * Optional. Global configuration for semantic similarity metrics. + */ + semanticSimilarityMetricsConfig?: Schema$EvaluationMetricsConfigSemanticSimilarityMetricsConfig; + /** + * Optional. Configuration for step level tool correctness metrics. + */ + stepToolCorrectnessMetricsConfig?: Schema$EvaluationMetricsConfigToolCorrectnessMetricsConfig; + /** + * Optional. Configuration for turn level tool correctness metrics. + */ + toolCorrectnessMetricsConfig?: Schema$EvaluationMetricsConfigToolCorrectnessMetricsConfig; + } + /** + * Configuration for the hallucination metrics for the evaluation. To disable the metric, set the message but do not set the `enable_hallucination_metrics` field to true (or explicitly set it to false). To unset the configuration and fallback to the default behavior, omit the message entirely. + */ + export interface Schema$EvaluationMetricsConfigHallucinationMetricsConfig { + /** + * Optional. Whether to calculate hallucination metrics for the evaluation. + */ + enableHallucinationMetrics?: boolean | null; + } + /** + * Configuration for the scenario metrics for the evaluation. + */ + export interface Schema$EvaluationMetricsConfigScenarioMetricsConfig { + /** + * Optional. Configuration for expectation level metrics. + */ + expectationsMetMetricsConfig?: Schema$EvaluationMetricsConfigExpectationsMetMetricsConfig; + /** + * Optional. Configuration for user goal met metrics. + */ + userGoalMetMetricsConfig?: Schema$EvaluationMetricsConfigUserGoalMetMetricsConfig; + } + /** + * Configuration for similarity metrics for the evaluation. To disable the metric, set the message but do not set the `enable_semantic_similarity_metrics` field to true (or explicitly set it to false). To unset the configuration and fallback to the default behavior, omit the message entirely. + */ + export interface Schema$EvaluationMetricsConfigSemanticSimilarityMetricsConfig { + /** + * Optional. Whether to calculate semantic similarity metrics for the evaluation. + */ + enableSemanticSimilarityMetrics?: boolean | null; + } + /** + * Configuration for correctness metrics for the evaluation. To disable the metric, set the message but do not set the `enable_tool_correctness_metrics` field to true (or explicitly set it to false). To unset the configuration and fallback to the default behavior, omit the message entirely. + */ + export interface Schema$EvaluationMetricsConfigToolCorrectnessMetricsConfig { + /** + * Optional. Whether to calculate tool correctness metrics for the evaluation. + */ + enableToolCorrectnessMetrics?: boolean | null; + } + /** + * Configuration for the user goal met metrics for the evaluation. To disable the metric, set the message but do not set the `enable_user_goal_met_metrics` field to true (or explicitly set it to false). To unset the configuration and fallback to the default behavior, omit the message entirely. + */ + export interface Schema$EvaluationMetricsConfigUserGoalMetMetricsConfig { + /** + * Optional. Whether to calculate the user goal met metrics for the evaluation. + */ + enableUserGoalMetMetrics?: boolean | null; } /** * Threshold settings for metrics in an Evaluation. @@ -2689,6 +2817,10 @@ export namespace ces_v1beta { * Identifier. The unique identifier of the evaluation run. Format: `projects/{project\}/locations/{location\}/apps/{app\}/evaluationRuns/{evaluationRun\}` */ name?: string | null; + /** + * Output only. The operation that created this evaluation run. Format: `projects/{project\}/locations/{location\}/operations/{operation\}` + */ + operation?: string | null; /** * Optional. Configuration for running the optimization step after the evaluation run. If not set, the optimization step will not be run. */ @@ -2848,6 +2980,10 @@ export namespace ces_v1beta { * Optional. The default method used to run golden evaluations. This will be used if no golden_run_method is specified in the RunEvaluationRequest. */ goldenRunMethod?: string | null; + /** + * Optional. Configures the default metrics for evaluations. + */ + metricsConfig?: Schema$EvaluationMetricsConfig; /** * Optional. Who starts the conversation in a scenario evaluation. */ @@ -4031,6 +4167,244 @@ export namespace ces_v1beta { */ toolsetTool?: Schema$ToolsetTool; } + /** + * Artifacts represent task outputs. + */ + export interface Schema$LfA2aV1Artifact { + /** + * Required. Unique identifier (e.g. UUID) for the artifact. It must be unique within a task. + */ + artifactId?: string | null; + /** + * Optional. A human readable description of the artifact. + */ + description?: string | null; + /** + * The URIs of extensions that are present or contributed to this Artifact. + */ + extensions?: string[] | null; + /** + * Optional. Metadata included with the artifact. + */ + metadata?: {[key: string]: any} | null; + /** + * A human readable name for the artifact. + */ + name?: string | null; + /** + * Required. The content of the artifact. Must contain at least one part. + */ + parts?: Schema$LfA2aV1Part[]; + } + /** + * Defines authentication details, used for push notifications. + */ + export interface Schema$LfA2aV1AuthenticationInfo { + /** + * Push Notification credentials. Format depends on the scheme (e.g., token for Bearer). + */ + credentials?: string | null; + /** + * Required. HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/). Examples: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1). + */ + scheme?: string | null; + } + /** + * `Message` is one unit of communication between client and server. It can be associated with a context and/or a task. For server messages, `context_id` must be provided, and `task_id` only if a task was created. For client messages, both fields are optional, with the caveat that if both are provided, they have to match (the `context_id` has to be the one that is set on the task). If only `task_id` is provided, the server will infer `context_id` from it. + */ + export interface Schema$LfA2aV1Message { + /** + * Optional. The context id of the message. If set, the message will be associated with the given context. + */ + contextId?: string | null; + /** + * The URIs of extensions that are present or contributed to this Message. + */ + extensions?: string[] | null; + /** + * Required. The unique identifier (e.g. UUID) of the message. This is created by the message creator. + */ + messageId?: string | null; + /** + * Optional. Any metadata to provide along with the message. + */ + metadata?: {[key: string]: any} | null; + /** + * Required. Parts is the container of the message content. + */ + parts?: Schema$LfA2aV1Part[]; + /** + * A list of task IDs that this message references for additional context. + */ + referenceTaskIds?: string[] | null; + /** + * Required. Identifies the sender of the message. + */ + role?: string | null; + /** + * Optional. The task id of the message. If set, the message will be associated with the given task. + */ + taskId?: string | null; + } + /** + * `Part` represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON). + */ + export interface Schema$LfA2aV1Part { + /** + * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null). + */ + data?: any | null; + /** + * An optional `filename` for the file (e.g., "document.pdf"). + */ + filename?: string | null; + /** + * The `media_type` (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png"). This field is available for all part types. + */ + mediaType?: string | null; + /** + * Optional. metadata associated with this part. + */ + metadata?: {[key: string]: any} | null; + /** + * The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string. + */ + raw?: string | null; + /** + * The string content of the `text` part. + */ + text?: string | null; + /** + * A `url` pointing to the file's content. + */ + url?: string | null; + } + /** + * Configuration of a send message request. + */ + export interface Schema$LfA2aV1SendMessageConfiguration { + /** + * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output. + */ + acceptedOutputModes?: string[] | null; + /** + * The maximum number of most recent messages from the task's history to retrieve in the response. An unset value means the client does not impose any limit. A value of zero is a request to not include any messages. The server MUST NOT return more messages than the provided value, but MAY apply a lower limit. + */ + historyLength?: number | null; + /** + * If `true`, the operation returns immediately after creating the task, even if processing is still in progress. If `false` (default), the operation MUST wait until the task reaches a terminal (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or interrupted (`INPUT_REQUIRED`, `AUTH_REQUIRED`) state before returning. + */ + returnImmediately?: boolean | null; + /** + * Configuration for the agent to send push notifications for task updates. Task id should be empty when sending this configuration in a `SendMessage` request. + */ + taskPushNotificationConfig?: Schema$LfA2aV1TaskPushNotificationConfig; + } + /** + * Represents a request for the `SendMessage` method. + */ + export interface Schema$LfA2aV1SendMessageRequest { + /** + * Configuration for the send request. + */ + configuration?: Schema$LfA2aV1SendMessageConfiguration; + /** + * Required. The message to send to the agent. + */ + message?: Schema$LfA2aV1Message; + /** + * A flexible key-value map for passing additional context or parameters. + */ + metadata?: {[key: string]: any} | null; + } + /** + * Represents the response for the `SendMessage` method. + */ + export interface Schema$LfA2aV1SendMessageResponse { + /** + * A message from the agent. + */ + message?: Schema$LfA2aV1Message; + /** + * The task created or updated by the message. + */ + task?: Schema$LfA2aV1Task; + } + /** + * `Task` is the core unit of action for A2A. It has a current status and when results are created for the task they are stored in the artifact. If there are multiple turns for a task, these are stored in history. + */ + export interface Schema$LfA2aV1Task { + /** + * A set of output artifacts for a `Task`. + */ + artifacts?: Schema$LfA2aV1Artifact[]; + /** + * Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages). + */ + contextId?: string | null; + /** + * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a `Task`. + */ + history?: Schema$LfA2aV1Message[]; + /** + * Required. Unique identifier (e.g. UUID) for the task, generated by the server for a new task. + */ + id?: string | null; + /** + * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task. + */ + metadata?: {[key: string]: any} | null; + /** + * Required. The current status of a `Task`, including `state` and a `message`. + */ + status?: Schema$LfA2aV1TaskStatus; + } + /** + * A container associating a push notification configuration with a specific task. + */ + export interface Schema$LfA2aV1TaskPushNotificationConfig { + /** + * Authentication information required to send the notification. + */ + authentication?: Schema$LfA2aV1AuthenticationInfo; + /** + * The push notification configuration details. A unique identifier (e.g. UUID) for this push notification configuration. + */ + id?: string | null; + /** + * The ID of the task this configuration is associated with. + */ + taskId?: string | null; + /** + * Optional. Tenant ID. + */ + tenant?: string | null; + /** + * A token unique for this task or session. + */ + token?: string | null; + /** + * Required. The URL where the notification should be sent. + */ + url?: string | null; + } + /** + * A container for the status of a task + */ + export interface Schema$LfA2aV1TaskStatus { + /** + * A message associated with the status. + */ + message?: Schema$LfA2aV1Message; + /** + * Required. The current state of this task. + */ + state?: string | null; + /** + * ISO 8601 Timestamp when the status was recorded. Example: "2023-10-27T10:00:00Z" + */ + timestamp?: string | null; + } /** * Response message for AgentService.ListAgents. */ @@ -4303,11 +4677,11 @@ export namespace ces_v1beta { */ export interface Schema$LoggingSettings { /** - * Optional. Configuration for how audio interactions should be recorded. + * Optional. Configuration for how audio interactions should be recorded. The audio is subject to redaction as configured in RedactionConfig. */ audioRecordingConfig?: Schema$AudioRecordingConfig; /** - * Optional. Settings to describe the BigQuery export behaviors for the app. The conversation data will be exported to BigQuery tables if it is enabled. + * Optional. Configures the BigQuery export behaviors for the app. The conversation data is subject to redaction as configured in RedactionConfig. */ bigqueryExportSettings?: Schema$BigQueryExportSettings; /** @@ -4331,7 +4705,7 @@ export namespace ces_v1beta { */ redactionConfig?: Schema$RedactionConfig; /** - * Optional. Configures recording of unredacted audio. Use this to maintain a raw backup with restricted access when audio redaction is enabled, typically for auditing or monitoring purposes. + * Optional. Configures an additional recording of unredacted audio. This can be used to maintain a raw audio copy when audio redaction is enabled, typically for auditing or monitoring purposes. */ unredactedAudioRecordingConfig?: Schema$AudioRecordingConfig; } @@ -4359,6 +4733,10 @@ export namespace ces_v1beta { * Required. The name of the MCP tool. */ name?: string | null; + /** + * Optional. The name override of the MCP tool. This is populated if the name was overridden by a Toolset override. + */ + nameOverride?: string | null; /** * Optional. The schema of the output arguments of the MCP tool. */ @@ -4371,11 +4749,53 @@ export namespace ces_v1beta { * Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter. */ serviceDirectoryConfig?: Schema$ServiceDirectoryConfig; + /** + * Output only. The dynamic availability state of the tool on the external server. + */ + state?: string | null; /** * Optional. The TLS configuration. Includes the custom server certificates that the client should trust. */ tlsConfig?: Schema$TlsConfig; } + /** + * Container for a tool's core definition elements that are snapshot. Schemas in the snapshot are used as-is and cannot be overridden. + */ + export interface Schema$McpToolDefinition { + /** + * Output only. The description of the MCP tool. This can be overridden by `description_override` in `McpToolOverride`. + */ + description?: string | null; + /** + * Output only. The schema of the input arguments of the MCP tool. + */ + inputSchema?: Schema$Schema; + /** + * Output only. The schema of the output arguments of the MCP tool. + */ + outputSchema?: Schema$Schema; + } + /** + * Overrides associated with a given tool in a Toolset. This enables "pinning" or "overriding" of tool definitions from the external dynamic server. + */ + export interface Schema$McpToolOverride { + /** + * Optional. If present, this tool uses this description instead of the original description from the server. + */ + descriptionOverride?: string | null; + /** + * Optional. If present, this tool uses this name in the Agent instead of the original name. This is primarily used as an alias if the MCP server offers poorly named tools. + */ + nameOverride?: string | null; + /** + * Output only. If present, this tool is "Pinned" and uses the snapshot values as fallbacks if the server becomes temporarily unavailable or if no Override is present. + */ + snapshot?: Schema$McpToolDefinition; + /** + * Required. The original name of the tool as it is emitted by the MCP server. + */ + tool?: string | null; + } /** * A toolset that contains a list of tools that are offered by the MCP server. */ @@ -4400,6 +4820,10 @@ export namespace ces_v1beta { * Optional. The TLS configuration. Includes the custom server certificates that the client should trust. */ tlsConfig?: Schema$TlsConfig; + /** + * Optional. Overrides for individual tools within this toolset. This allows overriding specific details like descriptions, names, or pinning the tools' states so they aren't fully dynamic. + */ + toolOverrides?: Schema$McpToolOverride[]; } /** * A message within a conversation. @@ -4503,148 +4927,6 @@ export namespace ces_v1beta { */ tokenEndpoint?: string | null; } - /** - * Represents an Omnichannel resource. - */ - export interface Schema$Omnichannel { - /** - * Output only. Timestamp when the omnichannel resource was created. - */ - createTime?: string | null; - /** - * Optional. Human-readable description of the omnichannel resource. - */ - description?: string | null; - /** - * Required. Display name of the omnichannel resource. - */ - displayName?: string | null; - /** - * Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. - */ - etag?: string | null; - /** - * Optional. The integration config for the omnichannel resource. - */ - integrationConfig?: Schema$OmnichannelIntegrationConfig; - /** - * Identifier. The unique identifier of the omnichannel resource. Format: `projects/{project\}/locations/{location\}/omnichannels/{omnichannel\}` - */ - name?: string | null; - /** - * Output only. Timestamp when the omnichannel resource was last updated. - */ - updateTime?: string | null; - } - /** - * OmnichannelIntegrationConfig contains all App integration configs. - */ - export interface Schema$OmnichannelIntegrationConfig { - /** - * Optional. Various of configuration for handling App events. - */ - channelConfigs?: { - [key: string]: Schema$OmnichannelIntegrationConfigChannelConfig; - } | null; - /** - * Optional. The key of routing_configs is a key of `app_configs`, value is a `RoutingConfig`, which contains subscriber's key. - */ - routingConfigs?: { - [key: string]: Schema$OmnichannelIntegrationConfigRoutingConfig; - } | null; - /** - * Optional. Various of subscribers configs. - */ - subscriberConfigs?: { - [key: string]: Schema$OmnichannelIntegrationConfigSubscriberConfig; - } | null; - } - /** - * Configs for CES app. - */ - export interface Schema$OmnichannelIntegrationConfigCesAppConfig { - /** - * The unique identifier of the CES app. Format: `projects/{project\}/locations/{location\}/apps/{app\}` - */ - app?: string | null; - } - /** - * ChannelConfig contains config for various of app integration. - */ - export interface Schema$OmnichannelIntegrationConfigChannelConfig { - /** - * WhatsApp config. - */ - whatsappConfig?: Schema$OmnichannelIntegrationConfigWhatsappConfig; - } - /** - * Routing config specify how/who to route app events to a subscriber. - */ - export interface Schema$OmnichannelIntegrationConfigRoutingConfig { - /** - * The key of the subscriber. - */ - subscriberKey?: string | null; - } - /** - * Configs of subscribers. - */ - export interface Schema$OmnichannelIntegrationConfigSubscriberConfig { - /** - * Ces app config. - */ - cesAppConfig?: Schema$OmnichannelIntegrationConfigCesAppConfig; - } - /** - * How Omnichannel should receive/reply events from WhatsApp. - */ - export interface Schema$OmnichannelIntegrationConfigWhatsappConfig { - /** - * The Meta Business Portfolio (MBP) ID. https://www.facebook.com/business/help/1710077379203657 - */ - metaBusinessPortfolioId?: string | null; - /** - * The phone number used for sending/receiving messages. - */ - phoneNumber?: string | null; - /** - * The Phone Number ID associated with the WhatsApp Business Account. - */ - phoneNumberId?: string | null; - /** - * The verify token configured in the Meta App Dashboard for webhook verification. - */ - webhookVerifyToken?: string | null; - /** - * The customer's WhatsApp Business Account (WABA) ID. - */ - whatsappBusinessAccountId?: string | null; - /** - * The access token for authenticating API calls to the WhatsApp Cloud API. https://developers.facebook.com/docs/whatsapp/business-management-api/get-started/#business-integration-system-user-access-tokens - */ - whatsappBusinessToken?: string | null; - } - /** - * Represents the metadata of the long-running operation. - */ - export interface Schema$OmnichannelOperationMetadata { - /** - * Output only. The time the operation was created. - */ - createTime?: string | null; - /** - * Output only. The time the operation finished running. - */ - endTime?: string | null; - /** - * Output only. Identifies whether the user has requested cancellation of the operation. - */ - requestedCancellation?: boolean | null; - /** - * Output only. Human-readable status of the operation, if any. - */ - statusMessage?: string | null; - } /** * A remote API tool defined by an OpenAPI schema. */ @@ -4841,6 +5123,10 @@ export namespace ces_v1beta { * Optional. The Python code to execute for the tool. */ pythonCode?: string | null; + /** + * Optional. Service Directory configuration for the tool. + */ + serviceDirectoryConfig?: Schema$ServiceDirectoryConfig; } /** * The report describing any identified quality issues in the app. @@ -4965,6 +5251,10 @@ export namespace ces_v1beta { * Request message for ToolService.RetrieveTools. */ export interface Schema$RetrieveToolsRequest { + /** + * Optional. If true, the returned tools will contain raw descriptions and schemas directly from the server, bypassing any stored persistence configurations (overrides/snapshots). + */ + bypassPersistenceConfig?: boolean | null; /** * Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned. */ @@ -6683,6 +6973,7 @@ export namespace ces_v1beta { evaluations: Resource$Projects$Locations$Apps$Evaluations; examples: Resource$Projects$Locations$Apps$Examples; guardrails: Resource$Projects$Locations$Apps$Guardrails; + message: Resource$Projects$Locations$Apps$Message; scheduledEvaluationRuns: Resource$Projects$Locations$Apps$Scheduledevaluationruns; sessions: Resource$Projects$Locations$Apps$Sessions; tools: Resource$Projects$Locations$Apps$Tools; @@ -6718,6 +7009,7 @@ export namespace ces_v1beta { this.guardrails = new Resource$Projects$Locations$Apps$Guardrails( this.context ); + this.message = new Resource$Projects$Locations$Apps$Message(this.context); this.scheduledEvaluationRuns = new Resource$Projects$Locations$Apps$Scheduledevaluationruns( this.context @@ -13959,6 +14251,7 @@ export namespace ces_v1beta { * // "initiatedBy": "my_initiatedBy", * // "latencyReport": {}, * // "name": "my_name", + * // "operation": "my_operation", * // "optimizationConfig": {}, * // "personaRunConfigs": [], * // "progress": {}, @@ -14322,6 +14615,8 @@ export namespace ces_v1beta { * // "displayName": "my_displayName", * // "etag": "my_etag", * // "evaluationDatasets": [], + * // "evaluationMetricsConfigOverride": {}, + * // "evaluationMetricsThresholdOverride": {}, * // "evaluationRuns": [], * // "golden": {}, * // "invalid": false, @@ -14346,6 +14641,8 @@ export namespace ces_v1beta { * // "displayName": "my_displayName", * // "etag": "my_etag", * // "evaluationDatasets": [], + * // "evaluationMetricsConfigOverride": {}, + * // "evaluationMetricsThresholdOverride": {}, * // "evaluationRuns": [], * // "golden": {}, * // "invalid": false, @@ -14799,6 +15096,8 @@ export namespace ces_v1beta { * // "displayName": "my_displayName", * // "etag": "my_etag", * // "evaluationDatasets": [], + * // "evaluationMetricsConfigOverride": {}, + * // "evaluationMetricsThresholdOverride": {}, * // "evaluationRuns": [], * // "golden": {}, * // "invalid": false, @@ -15111,6 +15410,8 @@ export namespace ces_v1beta { * // "displayName": "my_displayName", * // "etag": "my_etag", * // "evaluationDatasets": [], + * // "evaluationMetricsConfigOverride": {}, + * // "evaluationMetricsThresholdOverride": {}, * // "evaluationRuns": [], * // "golden": {}, * // "invalid": false, @@ -15135,6 +15436,8 @@ export namespace ces_v1beta { * // "displayName": "my_displayName", * // "etag": "my_etag", * // "evaluationDatasets": [], + * // "evaluationMetricsConfigOverride": {}, + * // "evaluationMetricsThresholdOverride": {}, * // "evaluationRuns": [], * // "golden": {}, * // "invalid": false, @@ -17869,6 +18172,180 @@ export namespace ces_v1beta { requestBody?: Schema$Guardrail; } + export class Resource$Projects$Locations$Apps$Message { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Sends a message to an agent. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/ces.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const ces = google.ces('v1beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/ces', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await ces.projects.locations.apps.message.send({ + * // Optional. Tenant ID, provided as a path parameter. + * tenant: 'projects/my-project/locations/my-location/apps/my-app', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "configuration": {}, + * // "message": {}, + * // "metadata": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "message": {}, + * // "task": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + send( + params: Params$Resource$Projects$Locations$Apps$Message$Send, + options: StreamMethodOptions + ): Promise>; + send( + params?: Params$Resource$Projects$Locations$Apps$Message$Send, + options?: MethodOptions + ): Promise>; + send( + params: Params$Resource$Projects$Locations$Apps$Message$Send, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + send( + params: Params$Resource$Projects$Locations$Apps$Message$Send, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + send( + params: Params$Resource$Projects$Locations$Apps$Message$Send, + callback: BodyResponseCallback + ): void; + send( + callback: BodyResponseCallback + ): void; + send( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Apps$Message$Send + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Apps$Message$Send; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Apps$Message$Send; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://ces.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+tenant}/message:send').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['tenant'], + pathParams: ['tenant'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Apps$Message$Send extends StandardParameters { + /** + * Optional. Tenant ID, provided as a path parameter. + */ + tenant?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$LfA2aV1SendMessageRequest; + } + export class Resource$Projects$Locations$Apps$Scheduledevaluationruns { context: APIRequestContext; constructor(context: APIRequestContext) { @@ -20974,6 +21451,7 @@ export namespace ces_v1beta { * requestBody: { * // request body parameters * // { + * // "bypassPersistenceConfig": false, * // "toolIds": [] * // } * }, From 0a90ca55194bf5a95cc885fdcc805ee9d3b6b2ac Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:36 +0000 Subject: [PATCH 11/69] fix(chat): update the API #### chat:v1 The following keys were changed: - resources.spaces.methods.search.parameters.query.description --- discovery/chat-v1.json | 4 ++-- src/apis/chat/v1.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/discovery/chat-v1.json b/discovery/chat-v1.json index bc9761356c..b82c94734b 100644 --- a/discovery/chat-v1.json +++ b/discovery/chat-v1.json @@ -687,7 +687,7 @@ "type": "string" }, "query": { - "description": "Required. A search query. You can search by using the following parameters: - `create_time` - `customer` - `display_name` - `external_user_allowed` - `last_active_time` - `space_history_state` - `space_type` `create_time` and `last_active_time` accept a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported comparison operators are: `=`, `<`, `>`, `<=`, `>=`. `customer` is required and is used to indicate which customer to fetch spaces from. `customers/my_customer` is the only supported value. `display_name` only accepts the `HAS` (`:`) operator. The text to match is first tokenized into tokens and each token is prefix-matched case-insensitively and independently as a substring anywhere in the space's `display_name`. For example, `Fun Eve` matches `Fun event` or `The evening was fun`, but not `notFun event` or `even`. `external_user_allowed` accepts either `true` or `false`. `space_history_state` only accepts values from the [`historyState`] (https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces#Space.HistoryState) field of a `space` resource. `space_type` is required and the only valid value is `SPACE`. Across different fields, only `AND` operators are supported. A valid example is `space_type = \"SPACE\" AND display_name:\"Hello\"` and an invalid example is `space_type = \"SPACE\" OR display_name:\"Hello\"`. Among the same field, `space_type` doesn't support `AND` or `OR` operators. `display_name`, 'space_history_state', and 'external_user_allowed' only support `OR` operators. `last_active_time` and `create_time` support both `AND` and `OR` operators. `AND` can only be used to represent an interval, such as `last_active_time < \"2022-01-01T00:00:00+00:00\" AND last_active_time > \"2023-01-01T00:00:00+00:00\"`. The following example queries are valid: ``` customer = \"customers/my_customer\" AND space_type = \"SPACE\" customer = \"customers/my_customer\" AND space_type = \"SPACE\" AND display_name:\"Hello World\" customer = \"customers/my_customer\" AND space_type = \"SPACE\" AND (last_active_time < \"2020-01-01T00:00:00+00:00\" OR last_active_time > \"2022-01-01T00:00:00+00:00\") customer = \"customers/my_customer\" AND space_type = \"SPACE\" AND (display_name:\"Hello World\" OR display_name:\"Fun event\") AND (last_active_time > \"2020-01-01T00:00:00+00:00\" AND last_active_time < \"2022-01-01T00:00:00+00:00\") customer = \"customers/my_customer\" AND space_type = \"SPACE\" AND (create_time > \"2019-01-01T00:00:00+00:00\" AND create_time < \"2020-01-01T00:00:00+00:00\") AND (external_user_allowed = \"true\") AND (space_history_state = \"HISTORY_ON\" OR space_history_state = \"HISTORY_OFF\") ```", + "description": "Required. A search query. You can search by using the following parameters : - `create_time` - `customer` - `display_name` - `external_user_allowed` - `last_active_time` - `space_history_state` - `space_type` `create_time` and `last_active_time` accept a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported comparison operators are: `=`, `<`, `>`, `<=`, `>=`. `customer` is required and is used to indicate which customer to fetch spaces from. `customers/my_customer` is the only supported value. `display_name` only accepts the `HAS` (`:`) operator. The text to match is first tokenized into tokens and each token is prefix-matched case-insensitively and independently as a substring anywhere in the space's `display_name`. For example, `Fun Eve` matches `Fun event` or `The evening was fun`, but not `notFun event` or `even`. `external_user_allowed` accepts either `true` or `false`. `space_history_state` only accepts values from the [`historyState`] (https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces#Space.HistoryState) field of a `space` resource. `space_type` is required and the only valid value is `SPACE`. Across different fields, only `AND` operators are supported. A valid example is `space_type = \"SPACE\" AND display_name:\"Hello\"` and an invalid example is `space_type = \"SPACE\" OR display_name:\"Hello\"`. Among the same field, `space_type` doesn't support `AND` or `OR` operators. `display_name`, 'space_history_state', and 'external_user_allowed' only support `OR` operators. `last_active_time` and `create_time` support both `AND` and `OR` operators. `AND` can only be used to represent an interval, such as `last_active_time < \"2022-01-01T00:00:00+00:00\" AND last_active_time > \"2023-01-01T00:00:00+00:00\"`. The following example queries are valid: ``` customer = \"customers/my_customer\" AND space_type = \"SPACE\" customer = \"customers/my_customer\" AND space_type = \"SPACE\" AND display_name:\"Hello World\" customer = \"customers/my_customer\" AND space_type = \"SPACE\" AND (last_active_time < \"2020-01-01T00:00:00+00:00\" OR last_active_time > \"2022-01-01T00:00:00+00:00\") customer = \"customers/my_customer\" AND space_type = \"SPACE\" AND (display_name:\"Hello World\" OR display_name:\"Fun event\") AND (last_active_time > \"2020-01-01T00:00:00+00:00\" AND last_active_time < \"2022-01-01T00:00:00+00:00\") customer = \"customers/my_customer\" AND space_type = \"SPACE\" AND (create_time > \"2019-01-01T00:00:00+00:00\" AND create_time < \"2020-01-01T00:00:00+00:00\") AND (external_user_allowed = \"true\") AND (space_history_state = \"HISTORY_ON\" OR space_history_state = \"HISTORY_OFF\") ```", "location": "query", "type": "string" }, @@ -1849,7 +1849,7 @@ } } }, - "revision": "20260503", + "revision": "20260510", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { diff --git a/src/apis/chat/v1.ts b/src/apis/chat/v1.ts index 53dd3aa2f3..fce21a576a 100644 --- a/src/apis/chat/v1.ts +++ b/src/apis/chat/v1.ts @@ -5468,7 +5468,7 @@ export namespace chat_v1 { * pageSize: 'placeholder-value', * // A token, received from the previous search spaces call. Provide this parameter to retrieve the subsequent page. When paginating, all other parameters provided should match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results. * pageToken: 'placeholder-value', - * // Required. A search query. You can search by using the following parameters: - `create_time` - `customer` - `display_name` - `external_user_allowed` - `last_active_time` - `space_history_state` - `space_type` `create_time` and `last_active_time` accept a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported comparison operators are: `=`, `<`, `\>`, `<=`, `\>=`. `customer` is required and is used to indicate which customer to fetch spaces from. `customers/my_customer` is the only supported value. `display_name` only accepts the `HAS` (`:`) operator. The text to match is first tokenized into tokens and each token is prefix-matched case-insensitively and independently as a substring anywhere in the space's `display_name`. For example, `Fun Eve` matches `Fun event` or `The evening was fun`, but not `notFun event` or `even`. `external_user_allowed` accepts either `true` or `false`. `space_history_state` only accepts values from the [`historyState`] (https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces#Space.HistoryState) field of a `space` resource. `space_type` is required and the only valid value is `SPACE`. Across different fields, only `AND` operators are supported. A valid example is `space_type = "SPACE" AND display_name:"Hello"` and an invalid example is `space_type = "SPACE" OR display_name:"Hello"`. Among the same field, `space_type` doesn't support `AND` or `OR` operators. `display_name`, 'space_history_state', and 'external_user_allowed' only support `OR` operators. `last_active_time` and `create_time` support both `AND` and `OR` operators. `AND` can only be used to represent an interval, such as `last_active_time < "2022-01-01T00:00:00+00:00" AND last_active_time \> "2023-01-01T00:00:00+00:00"`. The following example queries are valid: ``` customer = "customers/my_customer" AND space_type = "SPACE" customer = "customers/my_customer" AND space_type = "SPACE" AND display_name:"Hello World" customer = "customers/my_customer" AND space_type = "SPACE" AND (last_active_time < "2020-01-01T00:00:00+00:00" OR last_active_time \> "2022-01-01T00:00:00+00:00") customer = "customers/my_customer" AND space_type = "SPACE" AND (display_name:"Hello World" OR display_name:"Fun event") AND (last_active_time \> "2020-01-01T00:00:00+00:00" AND last_active_time < "2022-01-01T00:00:00+00:00") customer = "customers/my_customer" AND space_type = "SPACE" AND (create_time \> "2019-01-01T00:00:00+00:00" AND create_time < "2020-01-01T00:00:00+00:00") AND (external_user_allowed = "true") AND (space_history_state = "HISTORY_ON" OR space_history_state = "HISTORY_OFF") ``` + * // Required. A search query. You can search by using the following parameters : - `create_time` - `customer` - `display_name` - `external_user_allowed` - `last_active_time` - `space_history_state` - `space_type` `create_time` and `last_active_time` accept a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported comparison operators are: `=`, `<`, `\>`, `<=`, `\>=`. `customer` is required and is used to indicate which customer to fetch spaces from. `customers/my_customer` is the only supported value. `display_name` only accepts the `HAS` (`:`) operator. The text to match is first tokenized into tokens and each token is prefix-matched case-insensitively and independently as a substring anywhere in the space's `display_name`. For example, `Fun Eve` matches `Fun event` or `The evening was fun`, but not `notFun event` or `even`. `external_user_allowed` accepts either `true` or `false`. `space_history_state` only accepts values from the [`historyState`] (https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces#Space.HistoryState) field of a `space` resource. `space_type` is required and the only valid value is `SPACE`. Across different fields, only `AND` operators are supported. A valid example is `space_type = "SPACE" AND display_name:"Hello"` and an invalid example is `space_type = "SPACE" OR display_name:"Hello"`. Among the same field, `space_type` doesn't support `AND` or `OR` operators. `display_name`, 'space_history_state', and 'external_user_allowed' only support `OR` operators. `last_active_time` and `create_time` support both `AND` and `OR` operators. `AND` can only be used to represent an interval, such as `last_active_time < "2022-01-01T00:00:00+00:00" AND last_active_time \> "2023-01-01T00:00:00+00:00"`. The following example queries are valid: ``` customer = "customers/my_customer" AND space_type = "SPACE" customer = "customers/my_customer" AND space_type = "SPACE" AND display_name:"Hello World" customer = "customers/my_customer" AND space_type = "SPACE" AND (last_active_time < "2020-01-01T00:00:00+00:00" OR last_active_time \> "2022-01-01T00:00:00+00:00") customer = "customers/my_customer" AND space_type = "SPACE" AND (display_name:"Hello World" OR display_name:"Fun event") AND (last_active_time \> "2020-01-01T00:00:00+00:00" AND last_active_time < "2022-01-01T00:00:00+00:00") customer = "customers/my_customer" AND space_type = "SPACE" AND (create_time \> "2019-01-01T00:00:00+00:00" AND create_time < "2020-01-01T00:00:00+00:00") AND (external_user_allowed = "true") AND (space_history_state = "HISTORY_ON" OR space_history_state = "HISTORY_OFF") ``` * query: 'placeholder-value', * // When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires either the `chat.admin.spaces.readonly` or `chat.admin.spaces` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). This method currently only supports admin access, thus only `true` is accepted for this field. * useAdminAccess: 'placeholder-value', @@ -5853,7 +5853,7 @@ export namespace chat_v1 { */ pageToken?: string; /** - * Required. A search query. You can search by using the following parameters: - `create_time` - `customer` - `display_name` - `external_user_allowed` - `last_active_time` - `space_history_state` - `space_type` `create_time` and `last_active_time` accept a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported comparison operators are: `=`, `<`, `\>`, `<=`, `\>=`. `customer` is required and is used to indicate which customer to fetch spaces from. `customers/my_customer` is the only supported value. `display_name` only accepts the `HAS` (`:`) operator. The text to match is first tokenized into tokens and each token is prefix-matched case-insensitively and independently as a substring anywhere in the space's `display_name`. For example, `Fun Eve` matches `Fun event` or `The evening was fun`, but not `notFun event` or `even`. `external_user_allowed` accepts either `true` or `false`. `space_history_state` only accepts values from the [`historyState`] (https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces#Space.HistoryState) field of a `space` resource. `space_type` is required and the only valid value is `SPACE`. Across different fields, only `AND` operators are supported. A valid example is `space_type = "SPACE" AND display_name:"Hello"` and an invalid example is `space_type = "SPACE" OR display_name:"Hello"`. Among the same field, `space_type` doesn't support `AND` or `OR` operators. `display_name`, 'space_history_state', and 'external_user_allowed' only support `OR` operators. `last_active_time` and `create_time` support both `AND` and `OR` operators. `AND` can only be used to represent an interval, such as `last_active_time < "2022-01-01T00:00:00+00:00" AND last_active_time \> "2023-01-01T00:00:00+00:00"`. The following example queries are valid: ``` customer = "customers/my_customer" AND space_type = "SPACE" customer = "customers/my_customer" AND space_type = "SPACE" AND display_name:"Hello World" customer = "customers/my_customer" AND space_type = "SPACE" AND (last_active_time < "2020-01-01T00:00:00+00:00" OR last_active_time \> "2022-01-01T00:00:00+00:00") customer = "customers/my_customer" AND space_type = "SPACE" AND (display_name:"Hello World" OR display_name:"Fun event") AND (last_active_time \> "2020-01-01T00:00:00+00:00" AND last_active_time < "2022-01-01T00:00:00+00:00") customer = "customers/my_customer" AND space_type = "SPACE" AND (create_time \> "2019-01-01T00:00:00+00:00" AND create_time < "2020-01-01T00:00:00+00:00") AND (external_user_allowed = "true") AND (space_history_state = "HISTORY_ON" OR space_history_state = "HISTORY_OFF") ``` + * Required. A search query. You can search by using the following parameters : - `create_time` - `customer` - `display_name` - `external_user_allowed` - `last_active_time` - `space_history_state` - `space_type` `create_time` and `last_active_time` accept a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported comparison operators are: `=`, `<`, `\>`, `<=`, `\>=`. `customer` is required and is used to indicate which customer to fetch spaces from. `customers/my_customer` is the only supported value. `display_name` only accepts the `HAS` (`:`) operator. The text to match is first tokenized into tokens and each token is prefix-matched case-insensitively and independently as a substring anywhere in the space's `display_name`. For example, `Fun Eve` matches `Fun event` or `The evening was fun`, but not `notFun event` or `even`. `external_user_allowed` accepts either `true` or `false`. `space_history_state` only accepts values from the [`historyState`] (https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces#Space.HistoryState) field of a `space` resource. `space_type` is required and the only valid value is `SPACE`. Across different fields, only `AND` operators are supported. A valid example is `space_type = "SPACE" AND display_name:"Hello"` and an invalid example is `space_type = "SPACE" OR display_name:"Hello"`. Among the same field, `space_type` doesn't support `AND` or `OR` operators. `display_name`, 'space_history_state', and 'external_user_allowed' only support `OR` operators. `last_active_time` and `create_time` support both `AND` and `OR` operators. `AND` can only be used to represent an interval, such as `last_active_time < "2022-01-01T00:00:00+00:00" AND last_active_time \> "2023-01-01T00:00:00+00:00"`. The following example queries are valid: ``` customer = "customers/my_customer" AND space_type = "SPACE" customer = "customers/my_customer" AND space_type = "SPACE" AND display_name:"Hello World" customer = "customers/my_customer" AND space_type = "SPACE" AND (last_active_time < "2020-01-01T00:00:00+00:00" OR last_active_time \> "2022-01-01T00:00:00+00:00") customer = "customers/my_customer" AND space_type = "SPACE" AND (display_name:"Hello World" OR display_name:"Fun event") AND (last_active_time \> "2020-01-01T00:00:00+00:00" AND last_active_time < "2022-01-01T00:00:00+00:00") customer = "customers/my_customer" AND space_type = "SPACE" AND (create_time \> "2019-01-01T00:00:00+00:00" AND create_time < "2020-01-01T00:00:00+00:00") AND (external_user_allowed = "true") AND (space_history_state = "HISTORY_ON" OR space_history_state = "HISTORY_OFF") ``` */ query?: string; /** From 029a987adc6faa6f25f5f46882879b990360ad29 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:36 +0000 Subject: [PATCH 12/69] feat(chromemanagement): update the API #### chromemanagement:v1 The following keys were added: - resources.customers.resources.enterprise.resources.securityInsights.methods.checkEnablementStatus.description - resources.customers.resources.enterprise.resources.securityInsights.methods.checkEnablementStatus.flatPath - resources.customers.resources.enterprise.resources.securityInsights.methods.checkEnablementStatus.httpMethod - resources.customers.resources.enterprise.resources.securityInsights.methods.checkEnablementStatus.id - resources.customers.resources.enterprise.resources.securityInsights.methods.checkEnablementStatus.parameterOrder - resources.customers.resources.enterprise.resources.securityInsights.methods.checkEnablementStatus.parameters.customer.description - resources.customers.resources.enterprise.resources.securityInsights.methods.checkEnablementStatus.parameters.customer.location - resources.customers.resources.enterprise.resources.securityInsights.methods.checkEnablementStatus.parameters.customer.pattern - resources.customers.resources.enterprise.resources.securityInsights.methods.checkEnablementStatus.parameters.customer.required - resources.customers.resources.enterprise.resources.securityInsights.methods.checkEnablementStatus.parameters.customer.type - resources.customers.resources.enterprise.resources.securityInsights.methods.checkEnablementStatus.path - resources.customers.resources.enterprise.resources.securityInsights.methods.checkEnablementStatus.response.$ref - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.description - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.flatPath - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.httpMethod - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.id - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.parameterOrder - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.parameters.customer.description - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.parameters.customer.location - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.parameters.customer.pattern - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.parameters.customer.required - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.parameters.customer.type - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.path - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.request.$ref - resources.customers.resources.enterprise.resources.securityInsights.methods.disable.response.$ref - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.description - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.flatPath - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.httpMethod - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.id - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.parameterOrder - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.parameters.customer.description - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.parameters.customer.location - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.parameters.customer.pattern - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.parameters.customer.required - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.parameters.customer.type - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.path - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.request.$ref - resources.customers.resources.enterprise.resources.securityInsights.methods.enable.response.$ref - schemas.GoogleChromeManagementVersionsV1CheckEnablementStatusResponse.description - schemas.GoogleChromeManagementVersionsV1CheckEnablementStatusResponse.id - schemas.GoogleChromeManagementVersionsV1CheckEnablementStatusResponse.properties.insightsState.description - schemas.GoogleChromeManagementVersionsV1CheckEnablementStatusResponse.properties.insightsState.enum - schemas.GoogleChromeManagementVersionsV1CheckEnablementStatusResponse.properties.insightsState.enumDescriptions - schemas.GoogleChromeManagementVersionsV1CheckEnablementStatusResponse.properties.insightsState.type - schemas.GoogleChromeManagementVersionsV1CheckEnablementStatusResponse.type - schemas.GoogleChromeManagementVersionsV1DisableInsightsRequest.description - schemas.GoogleChromeManagementVersionsV1DisableInsightsRequest.id - schemas.GoogleChromeManagementVersionsV1DisableInsightsRequest.type - schemas.GoogleChromeManagementVersionsV1DisableInsightsResponse.description - schemas.GoogleChromeManagementVersionsV1DisableInsightsResponse.id - schemas.GoogleChromeManagementVersionsV1DisableInsightsResponse.properties.insightsState.description - schemas.GoogleChromeManagementVersionsV1DisableInsightsResponse.properties.insightsState.enum - schemas.GoogleChromeManagementVersionsV1DisableInsightsResponse.properties.insightsState.enumDescriptions - schemas.GoogleChromeManagementVersionsV1DisableInsightsResponse.properties.insightsState.type - schemas.GoogleChromeManagementVersionsV1DisableInsightsResponse.type - schemas.GoogleChromeManagementVersionsV1EnableInsightsRequest.description - schemas.GoogleChromeManagementVersionsV1EnableInsightsRequest.id - schemas.GoogleChromeManagementVersionsV1EnableInsightsRequest.properties.targetOus.description - schemas.GoogleChromeManagementVersionsV1EnableInsightsRequest.properties.targetOus.items.type - schemas.GoogleChromeManagementVersionsV1EnableInsightsRequest.properties.targetOus.type - schemas.GoogleChromeManagementVersionsV1EnableInsightsRequest.type - schemas.GoogleChromeManagementVersionsV1EnableInsightsResponse.description - schemas.GoogleChromeManagementVersionsV1EnableInsightsResponse.id - schemas.GoogleChromeManagementVersionsV1EnableInsightsResponse.properties.insightsState.description - schemas.GoogleChromeManagementVersionsV1EnableInsightsResponse.properties.insightsState.enum - schemas.GoogleChromeManagementVersionsV1EnableInsightsResponse.properties.insightsState.enumDescriptions - schemas.GoogleChromeManagementVersionsV1EnableInsightsResponse.properties.insightsState.type - schemas.GoogleChromeManagementVersionsV1EnableInsightsResponse.type --- discovery/chromemanagement-v1.json | 165 ++++++++- src/apis/chromemanagement/v1.ts | 552 +++++++++++++++++++++++++++++ 2 files changed, 716 insertions(+), 1 deletion(-) diff --git a/discovery/chromemanagement-v1.json b/discovery/chromemanagement-v1.json index c7c2ab3ab3..6de1c51c72 100644 --- a/discovery/chromemanagement-v1.json +++ b/discovery/chromemanagement-v1.json @@ -646,6 +646,86 @@ } } }, + "enterprise": { + "resources": { + "securityInsights": { + "methods": { + "checkEnablementStatus": { + "description": "Gets the setting state of the insights feature for the customer.", + "flatPath": "v1/customers/{customersId}/enterprise/securityInsights:checkEnablementStatus", + "httpMethod": "GET", + "id": "chromemanagement.customers.enterprise.securityInsights.checkEnablementStatus", + "parameterOrder": [ + "customer" + ], + "parameters": { + "customer": { + "description": "Required. The customer to check the enablement status for. Format: customers/{customer_id}", + "location": "path", + "pattern": "^customers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+customer}/enterprise/securityInsights:checkEnablementStatus", + "response": { + "$ref": "GoogleChromeManagementVersionsV1CheckEnablementStatusResponse" + } + }, + "disable": { + "description": "Disables insights for the customer.", + "flatPath": "v1/customers/{customersId}/enterprise/securityInsights:disable", + "httpMethod": "POST", + "id": "chromemanagement.customers.enterprise.securityInsights.disable", + "parameterOrder": [ + "customer" + ], + "parameters": { + "customer": { + "description": "Required. The customer to disable insights for. Format: customers/{customer}", + "location": "path", + "pattern": "^customers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+customer}/enterprise/securityInsights:disable", + "request": { + "$ref": "GoogleChromeManagementVersionsV1DisableInsightsRequest" + }, + "response": { + "$ref": "GoogleChromeManagementVersionsV1DisableInsightsResponse" + } + }, + "enable": { + "description": "Enables insights for the customer and sets up required chrome connectors.", + "flatPath": "v1/customers/{customersId}/enterprise/securityInsights:enable", + "httpMethod": "POST", + "id": "chromemanagement.customers.enterprise.securityInsights.enable", + "parameterOrder": [ + "customer" + ], + "parameters": { + "customer": { + "description": "Required. The customer to enable insights for. Format: customers/{customer}", + "location": "path", + "pattern": "^customers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+customer}/enterprise/securityInsights:enable", + "request": { + "$ref": "GoogleChromeManagementVersionsV1EnableInsightsRequest" + }, + "response": { + "$ref": "GoogleChromeManagementVersionsV1EnableInsightsResponse" + } + } + } + } + } + }, "profiles": { "methods": { "delete": { @@ -2005,7 +2085,7 @@ } } }, - "revision": "20260505", + "revision": "20260520", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -6144,6 +6224,27 @@ }, "type": "object" }, + "GoogleChromeManagementVersionsV1CheckEnablementStatusResponse": { + "description": "Response from checking the enablement status of insights for the customer.", + "id": "GoogleChromeManagementVersionsV1CheckEnablementStatusResponse", + "properties": { + "insightsState": { + "description": "The state of the insights feature.", + "enum": [ + "INSIGHTS_ENABLEMENT_STATE_UNSPECIFIED", + "INSIGHTS_ENABLED", + "INSIGHTS_DISABLED" + ], + "enumDescriptions": [ + "Default value. Should not be used.", + "The insights feature is enabled for the customer.", + "The insights feature is disabled for the customer." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementVersionsV1ChromeBrowserProfile": { "description": "A representation of a Chrome browser profile.", "id": "GoogleChromeManagementVersionsV1ChromeBrowserProfile", @@ -6748,6 +6849,68 @@ }, "type": "object" }, + "GoogleChromeManagementVersionsV1DisableInsightsRequest": { + "description": "Request to disable insights for the customer.", + "id": "GoogleChromeManagementVersionsV1DisableInsightsRequest", + "properties": {}, + "type": "object" + }, + "GoogleChromeManagementVersionsV1DisableInsightsResponse": { + "description": "Response from disabling insights for the customer.", + "id": "GoogleChromeManagementVersionsV1DisableInsightsResponse", + "properties": { + "insightsState": { + "description": "The state of the insights feature.", + "enum": [ + "INSIGHTS_ENABLEMENT_STATE_UNSPECIFIED", + "INSIGHTS_ENABLED", + "INSIGHTS_DISABLED" + ], + "enumDescriptions": [ + "Default value. Should not be used.", + "The insights feature is enabled for the customer.", + "The insights feature is disabled for the customer." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromeManagementVersionsV1EnableInsightsRequest": { + "description": "Request to enable insights for the customer.", + "id": "GoogleChromeManagementVersionsV1EnableInsightsRequest", + "properties": { + "targetOus": { + "description": "Optional. The Organizational Units to set up required connectors for. Organizational Units are provided as paths relative to root. If this field is not set, connectors will be set up at root OU (as if it were set to [\"/\"]). Example: [\"/corp/sales\", \"/eng\"]", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleChromeManagementVersionsV1EnableInsightsResponse": { + "description": "Response from enabling insights for the customer.", + "id": "GoogleChromeManagementVersionsV1EnableInsightsResponse", + "properties": { + "insightsState": { + "description": "The state of the insights feature.", + "enum": [ + "INSIGHTS_ENABLEMENT_STATE_UNSPECIFIED", + "INSIGHTS_ENABLED", + "INSIGHTS_DISABLED" + ], + "enumDescriptions": [ + "Default value. Should not be used.", + "The insights feature is enabled for the customer.", + "The insights feature is disabled for the customer." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementVersionsV1GenericCaConnection": { "description": "Describes a generic Certificate Authority Connection.", "id": "GoogleChromeManagementVersionsV1GenericCaConnection", diff --git a/src/apis/chromemanagement/v1.ts b/src/apis/chromemanagement/v1.ts index 94a9062d51..a271fd3da1 100644 --- a/src/apis/chromemanagement/v1.ts +++ b/src/apis/chromemanagement/v1.ts @@ -2518,6 +2518,15 @@ export namespace chromemanagement_v1 { */ subjectPublicKeyInfo?: string | null; } + /** + * Response from checking the enablement status of insights for the customer. + */ + export interface Schema$GoogleChromeManagementVersionsV1CheckEnablementStatusResponse { + /** + * The state of the insights feature. + */ + insightsState?: string | null; + } /** * A representation of a Chrome browser profile. */ @@ -2904,6 +2913,37 @@ export namespace chromemanagement_v1 { */ urlMatchers?: string[] | null; } + /** + * Request to disable insights for the customer. + */ + export interface Schema$GoogleChromeManagementVersionsV1DisableInsightsRequest {} + /** + * Response from disabling insights for the customer. + */ + export interface Schema$GoogleChromeManagementVersionsV1DisableInsightsResponse { + /** + * The state of the insights feature. + */ + insightsState?: string | null; + } + /** + * Request to enable insights for the customer. + */ + export interface Schema$GoogleChromeManagementVersionsV1EnableInsightsRequest { + /** + * Optional. The Organizational Units to set up required connectors for. Organizational Units are provided as paths relative to root. If this field is not set, connectors will be set up at root OU (as if it were set to ["/"]). Example: ["/corp/sales", "/eng"] + */ + targetOus?: string[] | null; + } + /** + * Response from enabling insights for the customer. + */ + export interface Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse { + /** + * The state of the insights feature. + */ + insightsState?: string | null; + } /** * Describes a generic Certificate Authority Connection. */ @@ -3467,6 +3507,7 @@ export namespace chromemanagement_v1 { apps: Resource$Customers$Apps; certificateProvisioningProcesses: Resource$Customers$Certificateprovisioningprocesses; connectorConfigs: Resource$Customers$Connectorconfigs; + enterprise: Resource$Customers$Enterprise; profiles: Resource$Customers$Profiles; reports: Resource$Customers$Reports; telemetry: Resource$Customers$Telemetry; @@ -3479,6 +3520,7 @@ export namespace chromemanagement_v1 { this.connectorConfigs = new Resource$Customers$Connectorconfigs( this.context ); + this.enterprise = new Resource$Customers$Enterprise(this.context); this.profiles = new Resource$Customers$Profiles(this.context); this.reports = new Resource$Customers$Reports(this.context); this.telemetry = new Resource$Customers$Telemetry(this.context); @@ -6427,6 +6469,516 @@ export namespace chromemanagement_v1 { requestBody?: Schema$GoogleChromeManagementVersionsV1ConnectorConfig; } + export class Resource$Customers$Enterprise { + context: APIRequestContext; + securityInsights: Resource$Customers$Enterprise$Securityinsights; + constructor(context: APIRequestContext) { + this.context = context; + this.securityInsights = + new Resource$Customers$Enterprise$Securityinsights(this.context); + } + } + + export class Resource$Customers$Enterprise$Securityinsights { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets the setting state of the insights feature for the customer. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const chromemanagement = google.chromemanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await chromemanagement.customers.enterprise.securityInsights.checkEnablementStatus( + * { + * // Required. The customer to check the enablement status for. Format: customers/{customer_id\} + * customer: 'customers/my-customer', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "insightsState": "my_insightsState" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + checkEnablementStatus( + params: Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus, + options: StreamMethodOptions + ): Promise>; + checkEnablementStatus( + params?: Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + checkEnablementStatus( + params: Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + checkEnablementStatus( + params: Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + checkEnablementStatus( + params: Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus, + callback: BodyResponseCallback + ): void; + checkEnablementStatus( + callback: BodyResponseCallback + ): void; + checkEnablementStatus( + paramsOrCallback?: + | Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://chromemanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/v1/{+customer}/enterprise/securityInsights:checkEnablementStatus' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Disables insights for the customer. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const chromemanagement = google.chromemanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await chromemanagement.customers.enterprise.securityInsights.disable({ + * // Required. The customer to disable insights for. Format: customers/{customer\} + * customer: 'customers/my-customer', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // {} + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "insightsState": "my_insightsState" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + disable( + params: Params$Resource$Customers$Enterprise$Securityinsights$Disable, + options: StreamMethodOptions + ): Promise>; + disable( + params?: Params$Resource$Customers$Enterprise$Securityinsights$Disable, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + disable( + params: Params$Resource$Customers$Enterprise$Securityinsights$Disable, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + disable( + params: Params$Resource$Customers$Enterprise$Securityinsights$Disable, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + disable( + params: Params$Resource$Customers$Enterprise$Securityinsights$Disable, + callback: BodyResponseCallback + ): void; + disable( + callback: BodyResponseCallback + ): void; + disable( + paramsOrCallback?: + | Params$Resource$Customers$Enterprise$Securityinsights$Disable + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Customers$Enterprise$Securityinsights$Disable; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Customers$Enterprise$Securityinsights$Disable; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://chromemanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+customer}/enterprise/securityInsights:disable' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Enables insights for the customer and sets up required chrome connectors. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const chromemanagement = google.chromemanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await chromemanagement.customers.enterprise.securityInsights.enable({ + * // Required. The customer to enable insights for. Format: customers/{customer\} + * customer: 'customers/my-customer', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "targetOus": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "insightsState": "my_insightsState" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + enable( + params: Params$Resource$Customers$Enterprise$Securityinsights$Enable, + options: StreamMethodOptions + ): Promise>; + enable( + params?: Params$Resource$Customers$Enterprise$Securityinsights$Enable, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + enable( + params: Params$Resource$Customers$Enterprise$Securityinsights$Enable, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + enable( + params: Params$Resource$Customers$Enterprise$Securityinsights$Enable, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + enable( + params: Params$Resource$Customers$Enterprise$Securityinsights$Enable, + callback: BodyResponseCallback + ): void; + enable( + callback: BodyResponseCallback + ): void; + enable( + paramsOrCallback?: + | Params$Resource$Customers$Enterprise$Securityinsights$Enable + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Customers$Enterprise$Securityinsights$Enable; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Customers$Enterprise$Securityinsights$Enable; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://chromemanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+customer}/enterprise/securityInsights:enable' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus extends StandardParameters { + /** + * Required. The customer to check the enablement status for. Format: customers/{customer_id\} + */ + customer?: string; + } + export interface Params$Resource$Customers$Enterprise$Securityinsights$Disable extends StandardParameters { + /** + * Required. The customer to disable insights for. Format: customers/{customer\} + */ + customer?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleChromeManagementVersionsV1DisableInsightsRequest; + } + export interface Params$Resource$Customers$Enterprise$Securityinsights$Enable extends StandardParameters { + /** + * Required. The customer to enable insights for. Format: customers/{customer\} + */ + customer?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleChromeManagementVersionsV1EnableInsightsRequest; + } + export class Resource$Customers$Profiles { context: APIRequestContext; commands: Resource$Customers$Profiles$Commands; From 8553662a59a008de2eb717c09829d29fad0985c2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:36 +0000 Subject: [PATCH 13/69] feat(chromewebstore): update the API #### chromewebstore:v2 The following keys were added: - schemas.PublishItemRequest.properties.blockOnWarnings.description - schemas.PublishItemRequest.properties.blockOnWarnings.type - schemas.PublishItemResponse.properties.warningInfo.$ref - schemas.PublishItemResponse.properties.warningInfo.description - schemas.PublishItemResponse.properties.warningInfo.readOnly - schemas.Warning.description - schemas.Warning.id - schemas.Warning.properties.description.description - schemas.Warning.properties.description.type - schemas.Warning.properties.reason.description - schemas.Warning.properties.reason.type - schemas.Warning.type - schemas.WarningsInfo.description - schemas.WarningsInfo.id - schemas.WarningsInfo.properties.warnings.description - schemas.WarningsInfo.properties.warnings.items.$ref - schemas.WarningsInfo.properties.warnings.type - schemas.WarningsInfo.type --- discovery/chromewebstore-v2.json | 40 +++++++++++++++++++++++++++++++- src/apis/chromewebstore/v2.ts | 34 ++++++++++++++++++++++++++- 2 files changed, 72 insertions(+), 2 deletions(-) diff --git a/discovery/chromewebstore-v2.json b/discovery/chromewebstore-v2.json index e17435629e..70bbb691bb 100644 --- a/discovery/chromewebstore-v2.json +++ b/discovery/chromewebstore-v2.json @@ -272,7 +272,7 @@ } } }, - "revision": "20251026", + "revision": "20260517", "rootUrl": "https://chromewebstore.googleapis.com/", "schemas": { "CancelSubmissionRequest": { @@ -412,6 +412,10 @@ "description": "Request message for PublishItem.", "id": "PublishItemRequest", "properties": { + "blockOnWarnings": { + "description": "Optional. When set to true the request will fail if there are any warnings during validation and the details will be included in the error_details. Otherwise warnings are treated as non-blocking and will be ignored for validation but will be included in the response for inspection. Defaults to `false` if unset.", + "type": "boolean" + }, "deployInfos": { "description": "Optional. Additional deploy information including the desired initial percentage rollout. Defaults to the current value saved in the developer dashboard if unset.", "items": { @@ -475,6 +479,11 @@ ], "readOnly": true, "type": "string" + }, + "warningInfo": { + "$ref": "WarningsInfo", + "description": "Output only. Non-blocking warnings encountered during the request.", + "readOnly": true } }, "type": "object" @@ -541,6 +550,35 @@ } }, "type": "object" + }, + "Warning": { + "description": "Represents a single warning encountered during the request.", + "id": "Warning", + "properties": { + "description": { + "description": "A description of the warning. Developers should use this message to understand the warning and take appropriate action to resolve the issue.", + "type": "string" + }, + "reason": { + "description": "The reason for the warning. This is a constant value that identifies the proximate cause of the warning. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", + "type": "string" + } + }, + "type": "object" + }, + "WarningsInfo": { + "description": "Message containing details on warnings encountered during PublishItem.", + "id": "WarningsInfo", + "properties": { + "warnings": { + "description": "All warnings encountered during the request.", + "items": { + "$ref": "Warning" + }, + "type": "array" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/src/apis/chromewebstore/v2.ts b/src/apis/chromewebstore/v2.ts index d1d545582f..c7aecc4f88 100644 --- a/src/apis/chromewebstore/v2.ts +++ b/src/apis/chromewebstore/v2.ts @@ -210,6 +210,10 @@ export namespace chromewebstore_v2 { * Request message for PublishItem. */ export interface Schema$PublishItemRequest { + /** + * Optional. When set to true the request will fail if there are any warnings during validation and the details will be included in the error_details. Otherwise warnings are treated as non-blocking and will be ignored for validation but will be included in the response for inspection. Defaults to `false` if unset. + */ + blockOnWarnings?: boolean | null; /** * Optional. Additional deploy information including the desired initial percentage rollout. Defaults to the current value saved in the developer dashboard if unset. */ @@ -239,6 +243,10 @@ export namespace chromewebstore_v2 { * Output only. The current state of the submission. */ state?: string | null; + /** + * Output only. Non-blocking warnings encountered during the request. + */ + warningInfo?: Schema$WarningsInfo; } /** * Request message for SetPublishedDeployPercentage. @@ -278,6 +286,28 @@ export namespace chromewebstore_v2 { */ uploadState?: string | null; } + /** + * Represents a single warning encountered during the request. + */ + export interface Schema$Warning { + /** + * A description of the warning. Developers should use this message to understand the warning and take appropriate action to resolve the issue. + */ + description?: string | null; + /** + * The reason for the warning. This is a constant value that identifies the proximate cause of the warning. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. + */ + reason?: string | null; + } + /** + * Message containing details on warnings encountered during PublishItem. + */ + export interface Schema$WarningsInfo { + /** + * All warnings encountered during the request. + */ + warnings?: Schema$Warning[]; + } export class Resource$Media { context: APIRequestContext; @@ -819,6 +849,7 @@ export namespace chromewebstore_v2 { * requestBody: { * // request body parameters * // { + * // "blockOnWarnings": false, * // "deployInfos": [], * // "publishType": "my_publishType", * // "skipReview": false @@ -831,7 +862,8 @@ export namespace chromewebstore_v2 { * // { * // "itemId": "my_itemId", * // "name": "my_name", - * // "state": "my_state" + * // "state": "my_state", + * // "warningInfo": {} * // } * } * From 79c966a0cb4a6cf688e1e159db1700927937d0f0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:36 +0000 Subject: [PATCH 14/69] feat(classroom): update the API #### classroom:v1 The following keys were added: - schemas.AddOnAttachmentStudentSubmission.properties.courseWorkSubmissionId.description - schemas.AddOnAttachmentStudentSubmission.properties.courseWorkSubmissionId.readOnly - schemas.AddOnAttachmentStudentSubmission.properties.courseWorkSubmissionId.type - schemas.AddOnAttachmentStudentSubmission.properties.id.description - schemas.AddOnAttachmentStudentSubmission.properties.id.readOnly - schemas.AddOnAttachmentStudentSubmission.properties.id.type --- discovery/classroom-v1.json | 12 +++++++++++- src/apis/classroom/v1.ts | 20 ++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/discovery/classroom-v1.json b/discovery/classroom-v1.json index 8876bdc938..6feddc6bbe 100644 --- a/discovery/classroom-v1.json +++ b/discovery/classroom-v1.json @@ -4376,7 +4376,7 @@ } } }, - "revision": "20260505", + "revision": "20260511", "rootUrl": "https://classroom.googleapis.com/", "schemas": { "AddOnAttachment": { @@ -4444,6 +4444,16 @@ "description": "Payload for grade update requests.", "id": "AddOnAttachmentStudentSubmission", "properties": { + "courseWorkSubmissionId": { + "description": "Output only. Identifier of the course work submission under which this attachment submission was made.", + "readOnly": true, + "type": "string" + }, + "id": { + "description": "Output only. Classroom-assigned identifier for this student submission. This is unique among submissions for the relevant course work and add-on attachment combination.", + "readOnly": true, + "type": "string" + }, "pointsEarned": { "description": "Student grade on this attachment. If unset, no grade was set.", "format": "double", diff --git a/src/apis/classroom/v1.ts b/src/apis/classroom/v1.ts index 555ead1bd3..158553baff 100644 --- a/src/apis/classroom/v1.ts +++ b/src/apis/classroom/v1.ts @@ -187,6 +187,14 @@ export namespace classroom_v1 { * Payload for grade update requests. */ export interface Schema$AddOnAttachmentStudentSubmission { + /** + * Output only. Identifier of the course work submission under which this attachment submission was made. + */ + courseWorkSubmissionId?: string | null; + /** + * Output only. Classroom-assigned identifier for this student submission. This is unique among submissions for the relevant course work and add-on attachment combination. + */ + id?: string | null; /** * Student grade on this attachment. If unset, no grade was set. */ @@ -8214,6 +8222,8 @@ export namespace classroom_v1 { * * // Example response * // { + * // "courseWorkSubmissionId": "my_courseWorkSubmissionId", + * // "id": "my_id", * // "pointsEarned": {}, * // "postSubmissionState": "my_postSubmissionState", * // "userId": "my_userId" @@ -8376,6 +8386,8 @@ export namespace classroom_v1 { * requestBody: { * // request body parameters * // { + * // "courseWorkSubmissionId": "my_courseWorkSubmissionId", + * // "id": "my_id", * // "pointsEarned": {}, * // "postSubmissionState": "my_postSubmissionState", * // "userId": "my_userId" @@ -8387,6 +8399,8 @@ export namespace classroom_v1 { * * // Example response * // { + * // "courseWorkSubmissionId": "my_courseWorkSubmissionId", + * // "id": "my_id", * // "pointsEarned": {}, * // "postSubmissionState": "my_postSubmissionState", * // "userId": "my_userId" @@ -13847,6 +13861,8 @@ export namespace classroom_v1 { * * // Example response * // { + * // "courseWorkSubmissionId": "my_courseWorkSubmissionId", + * // "id": "my_id", * // "pointsEarned": {}, * // "postSubmissionState": "my_postSubmissionState", * // "userId": "my_userId" @@ -14008,6 +14024,8 @@ export namespace classroom_v1 { * requestBody: { * // request body parameters * // { + * // "courseWorkSubmissionId": "my_courseWorkSubmissionId", + * // "id": "my_id", * // "pointsEarned": {}, * // "postSubmissionState": "my_postSubmissionState", * // "userId": "my_userId" @@ -14018,6 +14036,8 @@ export namespace classroom_v1 { * * // Example response * // { + * // "courseWorkSubmissionId": "my_courseWorkSubmissionId", + * // "id": "my_id", * // "pointsEarned": {}, * // "postSubmissionState": "my_postSubmissionState", * // "userId": "my_userId" From 4f401e44f7695acfbd838302c092d0332433e81e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:36 +0000 Subject: [PATCH 15/69] feat(cloudbuild): update the API #### cloudbuild:v1 The following keys were added: - schemas.BuildStep.properties.results.description - schemas.BuildStep.properties.results.items.$ref - schemas.BuildStep.properties.results.type - schemas.BuildStepResults.description - schemas.BuildStepResults.id - schemas.BuildStepResults.properties.results.additionalProperties.type - schemas.BuildStepResults.properties.results.description - schemas.BuildStepResults.properties.results.type - schemas.BuildStepResults.type - schemas.Results.properties.buildStepResults.additionalProperties.$ref - schemas.Results.properties.buildStepResults.description - schemas.Results.properties.buildStepResults.type - schemas.StepResult.description - schemas.StepResult.id - schemas.StepResult.properties.attestationContent.description - schemas.StepResult.properties.attestationContent.type - schemas.StepResult.properties.attestationType.description - schemas.StepResult.properties.attestationType.type - schemas.StepResult.properties.name.description - schemas.StepResult.properties.name.type - schemas.StepResult.type #### cloudbuild:v2 The following keys were changed: - resources.projects.resources.locations.methods.list.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description --- discovery/cloudbuild-v1.json | 49 +++++++++++++++++++++++++++++++++++- discovery/cloudbuild-v2.json | 6 ++--- src/apis/cloudbuild/v1.ts | 34 +++++++++++++++++++++++++ src/apis/cloudbuild/v2.ts | 6 ++--- 4 files changed, 88 insertions(+), 7 deletions(-) diff --git a/discovery/cloudbuild-v1.json b/discovery/cloudbuild-v1.json index f3ce365a3a..0adb1130db 100644 --- a/discovery/cloudbuild-v1.json +++ b/discovery/cloudbuild-v1.json @@ -2583,7 +2583,7 @@ } } }, - "revision": "20260323", + "revision": "20260511", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -3520,6 +3520,13 @@ "description": "Output only. Stores timing information for pulling this build step's builder image only.", "readOnly": true }, + "results": { + "description": "Declaration of results for this build step.", + "items": { + "$ref": "StepResult" + }, + "type": "array" + }, "script": { "description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.", "type": "string" @@ -3587,6 +3594,20 @@ }, "type": "object" }, + "BuildStepResults": { + "description": "Results for a build step.", + "id": "BuildStepResults", + "properties": { + "results": { + "additionalProperties": { + "type": "string" + }, + "description": "Results for a build step.", + "type": "object" + } + }, + "type": "object" + }, "BuildTrigger": { "description": "Configuration for an automated build in response to source repository changes.", "id": "BuildTrigger", @@ -5419,6 +5440,13 @@ }, "type": "array" }, + "buildStepResults": { + "additionalProperties": { + "$ref": "BuildStepResults" + }, + "description": "Results for build steps. step_id -> ", + "type": "object" + }, "genericArtifacts": { "description": "Output only. Generic artifacts uploaded to Artifact Registry at the end of the build.", "items": { @@ -5669,6 +5697,25 @@ }, "type": "object" }, + "StepResult": { + "description": "StepResult is the declaration of a result for a build step.", + "id": "StepResult", + "properties": { + "attestationContent": { + "description": "Optional. The content of the attestation to be generated.", + "type": "string" + }, + "attestationType": { + "description": "Optional. The type of attestation to be generated.", + "type": "string" + }, + "name": { + "description": "Required. The name of the result.", + "type": "string" + } + }, + "type": "object" + }, "StorageSource": { "description": "Location of the source in an archive file in Cloud Storage.", "id": "StorageSource", diff --git a/discovery/cloudbuild-v2.json b/discovery/cloudbuild-v2.json index 6f757db0e8..e525469993 100644 --- a/discovery/cloudbuild-v2.json +++ b/discovery/cloudbuild-v2.json @@ -372,7 +372,7 @@ ] }, "list": { - "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", + "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", "flatPath": "v2/projects/{projectsId}/locations", "httpMethod": "GET", "id": "cloudbuild.projects.locations.list", @@ -381,7 +381,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1097,7 +1097,7 @@ } } }, - "revision": "20260323", + "revision": "20260511", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/src/apis/cloudbuild/v1.ts b/src/apis/cloudbuild/v1.ts index 15a290f194..7cc9bb2e1f 100644 --- a/src/apis/cloudbuild/v1.ts +++ b/src/apis/cloudbuild/v1.ts @@ -742,6 +742,10 @@ export namespace cloudbuild_v1 { * Output only. Stores timing information for pulling this build step's builder image only. */ pullTiming?: Schema$TimeSpan; + /** + * Declaration of results for this build step. + */ + results?: Schema$StepResult[]; /** * A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args. */ @@ -771,6 +775,15 @@ export namespace cloudbuild_v1 { */ waitFor?: string[] | null; } + /** + * Results for a build step. + */ + export interface Schema$BuildStepResults { + /** + * Results for a build step. + */ + results?: {[key: string]: string} | null; + } /** * Configuration for an automated build in response to source repository changes. */ @@ -2160,6 +2173,10 @@ export namespace cloudbuild_v1 { * List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is read-only and can't be substituted. */ buildStepOutputs?: string[] | null; + /** + * Results for build steps. step_id -\> + */ + buildStepResults?: {[key: string]: Schema$BuildStepResults} | null; /** * Output only. Generic artifacts uploaded to Artifact Registry at the end of the build. */ @@ -2346,6 +2363,23 @@ export namespace cloudbuild_v1 { */ message?: string | null; } + /** + * StepResult is the declaration of a result for a build step. + */ + export interface Schema$StepResult { + /** + * Optional. The content of the attestation to be generated. + */ + attestationContent?: string | null; + /** + * Optional. The type of attestation to be generated. + */ + attestationType?: string | null; + /** + * Required. The name of the result. + */ + name?: string | null; + } /** * Location of the source in an archive file in Cloud Storage. */ diff --git a/src/apis/cloudbuild/v2.ts b/src/apis/cloudbuild/v2.ts index 563aa42f8b..152f365b2c 100644 --- a/src/apis/cloudbuild/v2.ts +++ b/src/apis/cloudbuild/v2.ts @@ -1909,7 +1909,7 @@ export namespace cloudbuild_v2 { } /** - * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. + * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. * @example * ```js * // Before running the sample: @@ -1939,7 +1939,7 @@ export namespace cloudbuild_v2 { * * // Do the magic * const res = await cloudbuild.projects.locations.list({ - * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. * extraLocationTypes: 'placeholder-value', * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). * filter: 'placeholder-value', @@ -2065,7 +2065,7 @@ export namespace cloudbuild_v2 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** - * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */ extraLocationTypes?: string[]; /** From b8079f63999a77cdce9b2718d068c76e0abf75b1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:36 +0000 Subject: [PATCH 16/69] feat(clouddeploy)!: update the API BREAKING CHANGE: This release has breaking changes. #### clouddeploy:v1 The following keys were deleted: - schemas.ContainerTask.properties.script.description - schemas.ContainerTask.properties.script.type The following keys were changed: - schemas.DeliveryPipeline.properties.labels.description - schemas.Release.properties.labels.description --- discovery/clouddeploy-v1.json | 10 +++------- src/apis/clouddeploy/v1.ts | 8 ++------ 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/discovery/clouddeploy-v1.json b/discovery/clouddeploy-v1.json index b663edb7ca..8428330b38 100644 --- a/discovery/clouddeploy-v1.json +++ b/discovery/clouddeploy-v1.json @@ -2359,7 +2359,7 @@ } } }, - "revision": "20260427", + "revision": "20260512", "rootUrl": "https://clouddeploy.googleapis.com/", "schemas": { "AbandonReleaseRequest": { @@ -3439,10 +3439,6 @@ "image": { "description": "Required. Image is the container image to use.", "type": "string" - }, - "script": { - "description": "Optional. Shell script to execute. If provided then command and args cannot be specified.", - "type": "string" } }, "type": "object" @@ -3826,7 +3822,7 @@ "additionalProperties": { "type": "string" }, - "description": "Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.", + "description": "Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.", "type": "object" }, "name": { @@ -5828,7 +5824,7 @@ "additionalProperties": { "type": "string" }, - "description": "Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.", + "description": "Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.", "type": "object" }, "name": { diff --git a/src/apis/clouddeploy/v1.ts b/src/apis/clouddeploy/v1.ts index ce77e1edb8..938ae06e55 100644 --- a/src/apis/clouddeploy/v1.ts +++ b/src/apis/clouddeploy/v1.ts @@ -849,10 +849,6 @@ export namespace clouddeploy_v1 { * Required. Image is the container image to use. */ image?: string | null; - /** - * Optional. Shell script to execute. If provided then command and args cannot be specified. - */ - script?: string | null; } /** * A createChildRollout Job. @@ -1112,7 +1108,7 @@ export namespace clouddeploy_v1 { */ etag?: string | null; /** - * Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. + * Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. */ labels?: {[key: string]: string} | null; /** @@ -2453,7 +2449,7 @@ export namespace clouddeploy_v1 { */ etag?: string | null; /** - * Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. + * Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. */ labels?: {[key: string]: string} | null; /** From 26e5225b7bb26bc48f56c34b71a6acfc22772233 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:36 +0000 Subject: [PATCH 17/69] feat(cloudidentity): update the API #### cloudidentity:v1beta1 The following keys were changed: - resources.policies.methods.list.parameters.filter.description #### cloudidentity:v1 The following keys were added: - resources.policies.methods.create.description - resources.policies.methods.create.flatPath - resources.policies.methods.create.httpMethod - resources.policies.methods.create.id - resources.policies.methods.create.parameterOrder - resources.policies.methods.create.path - resources.policies.methods.create.request.$ref - resources.policies.methods.create.response.$ref - resources.policies.methods.create.scopes - resources.policies.methods.delete.description - resources.policies.methods.delete.flatPath - resources.policies.methods.delete.httpMethod - resources.policies.methods.delete.id - resources.policies.methods.delete.parameterOrder - resources.policies.methods.delete.parameters.name.description - resources.policies.methods.delete.parameters.name.location - resources.policies.methods.delete.parameters.name.pattern - resources.policies.methods.delete.parameters.name.required - resources.policies.methods.delete.parameters.name.type - resources.policies.methods.delete.path - resources.policies.methods.delete.response.$ref - resources.policies.methods.delete.scopes - resources.policies.methods.patch.description - resources.policies.methods.patch.flatPath - resources.policies.methods.patch.httpMethod - resources.policies.methods.patch.id - resources.policies.methods.patch.parameterOrder - resources.policies.methods.patch.parameters.name.description - resources.policies.methods.patch.parameters.name.location - resources.policies.methods.patch.parameters.name.pattern - resources.policies.methods.patch.parameters.name.required - resources.policies.methods.patch.parameters.name.type - resources.policies.methods.patch.path - resources.policies.methods.patch.request.$ref - resources.policies.methods.patch.response.$ref - resources.policies.methods.patch.scopes The following keys were changed: - resources.policies.methods.list.parameters.filter.description --- discovery/cloudidentity-v1.json | 75 ++++- discovery/cloudidentity-v1beta1.json | 4 +- src/apis/cloudidentity/v1.ts | 462 ++++++++++++++++++++++++++- src/apis/cloudidentity/v1beta1.ts | 4 +- 4 files changed, 537 insertions(+), 8 deletions(-) diff --git a/discovery/cloudidentity-v1.json b/discovery/cloudidentity-v1.json index dfaeef7e13..49afd79986 100644 --- a/discovery/cloudidentity-v1.json +++ b/discovery/cloudidentity-v1.json @@ -2178,6 +2178,49 @@ }, "policies": { "methods": { + "create": { + "description": "Create a policy.", + "flatPath": "v1/policies", + "httpMethod": "POST", + "id": "cloudidentity.policies.create", + "parameterOrder": [], + "parameters": {}, + "path": "v1/policies", + "request": { + "$ref": "Policy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-identity.policies" + ] + }, + "delete": { + "description": "Delete a policy.", + "flatPath": "v1/policies/{policiesId}", + "httpMethod": "DELETE", + "id": "cloudidentity.policies.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the policy to delete. Format: `policies/{policy}`.", + "location": "path", + "pattern": "^policies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-identity.policies" + ] + }, "get": { "description": "Get a policy.", "flatPath": "v1/policies/{policiesId}", @@ -2212,7 +2255,7 @@ "parameterOrder": [], "parameters": { "filter": { - "description": "Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\\\.service_status$') A maximum of one of the above setting.type clauses can be used. Policies can be filtered by customer with this expression: customer == \"customers/{customer}\" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. A maximum of one customer clause can be used. The above clauses can only be combined together in a single filter expression with the `&&` operator.", + "description": "Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\\\.service_status$') Policies can be filtered by customer with this expression: customer == \"customers/{customer}\" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. You may only filter on policies for a single customer at a time. The above clauses can be combined together in a single filter expression with the `&&` and `||` operators, like in the following example: customer == \"customers/my_customer\" && ( setting.type.matches('^settings/gmail\\\\..*$') || setting.type.matches('^.*\\\\.service_status$') )", "location": "query", "type": "string" }, @@ -2236,11 +2279,39 @@ "https://www.googleapis.com/auth/cloud-identity.policies", "https://www.googleapis.com/auth/cloud-identity.policies.readonly" ] + }, + "patch": { + "description": "Update a policy.", + "flatPath": "v1/policies/{policiesId}", + "httpMethod": "PATCH", + "id": "cloudidentity.policies.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Identifier. The [resource name](https://cloud.google.com/apis/design/resource_names) of the Policy. Format: policies/{policy}.", + "location": "path", + "pattern": "^policies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Policy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-identity.policies" + ] } } } }, - "revision": "20260113", + "revision": "20260520", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { diff --git a/discovery/cloudidentity-v1beta1.json b/discovery/cloudidentity-v1beta1.json index 05215174f9..3186df9ced 100644 --- a/discovery/cloudidentity-v1beta1.json +++ b/discovery/cloudidentity-v1beta1.json @@ -2293,7 +2293,7 @@ "parameterOrder": [], "parameters": { "filter": { - "description": "Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\\\.service_status$') A maximum of one of the above setting.type clauses can be used. Policies can be filtered by customer with this expression: customer == \"customers/{customer}\" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. A maximum of one customer clause can be used. The above clauses can only be combined together in a single filter expression with the `&&` operator.", + "description": "Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\\\.service_status$') Policies can be filtered by customer with this expression: customer == \"customers/{customer}\" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. You may only filter on policies for a single customer at a time. The above clauses can be combined together in a single filter expression with the `&&` and `||` operators, like in the following example: customer == \"customers/my_customer\" && ( setting.type.matches('^settings/gmail\\\\..*$') || setting.type.matches('^.*\\\\.service_status$') )", "location": "query", "type": "string" }, @@ -2349,7 +2349,7 @@ } } }, - "revision": "20260506", + "revision": "20260520", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { diff --git a/src/apis/cloudidentity/v1.ts b/src/apis/cloudidentity/v1.ts index 11cbbb780b..4e8220dd39 100644 --- a/src/apis/cloudidentity/v1.ts +++ b/src/apis/cloudidentity/v1.ts @@ -11924,6 +11924,291 @@ export namespace cloudidentity_v1 { this.context = context; } + /** + * Create a policy. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudidentity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudidentity = google.cloudidentity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-identity.policies'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudidentity.policies.create({ + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "customer": "my_customer", + * // "name": "my_name", + * // "policyQuery": {}, + * // "setting": {}, + * // "type": "my_type" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + create( + params: Params$Resource$Policies$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Policies$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Policies$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Policies$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Policies$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Policies$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Policies$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Policies$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/policies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Delete a policy. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudidentity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudidentity = google.cloudidentity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-identity.policies'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudidentity.policies.delete({ + * // Required. The name of the policy to delete. Format: `policies/{policy\}`. + * name: 'policies/my-policie', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Policies$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Policies$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Policies$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Policies$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Policies$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Policies$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Policies$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Policies$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudidentity.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); + } + } + /** * Get a policy. * @example @@ -12099,7 +12384,7 @@ export namespace cloudidentity_v1 { * * // Do the magic * const res = await cloudidentity.policies.list({ - * // Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\.service_status$') A maximum of one of the above setting.type clauses can be used. Policies can be filtered by customer with this expression: customer == "customers/{customer\}" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. A maximum of one customer clause can be used. The above clauses can only be combined together in a single filter expression with the `&&` operator. + * // Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\.service_status$') Policies can be filtered by customer with this expression: customer == "customers/{customer\}" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. You may only filter on policies for a single customer at a time. The above clauses can be combined together in a single filter expression with the `&&` and `||` operators, like in the following example: customer == "customers/my_customer" && ( setting.type.matches('^settings/gmail\\..*$') || setting.type.matches('^.*\\.service_status$') ) * filter: 'placeholder-value', * // Optional. The maximum number of results to return. The service can return fewer than this number. If omitted or set to 0, the default is 50 results per page. The maximum allowed value is 100. `page_size` values greater than 100 default to 100. * pageSize: 'placeholder-value', @@ -12208,8 +12493,170 @@ export namespace cloudidentity_v1 { return createAPIRequest(parameters); } } + + /** + * Update a policy. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudidentity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudidentity = google.cloudidentity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-identity.policies'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudidentity.policies.patch({ + * // Output only. Identifier. The [resource name](https://cloud.google.com/apis/design/resource_names) of the Policy. Format: policies/{policy\}. + * name: 'policies/my-policie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "customer": "my_customer", + * // "name": "my_name", + * // "policyQuery": {}, + * // "setting": {}, + * // "type": "my_type" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + patch( + params: Params$Resource$Policies$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Policies$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Policies$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Policies$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Policies$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Policies$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Policies$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Policies$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } } + export interface Params$Resource$Policies$Create extends StandardParameters { + /** + * Request body metadata + */ + requestBody?: Schema$Policy; + } + export interface Params$Resource$Policies$Delete extends StandardParameters { + /** + * Required. The name of the policy to delete. Format: `policies/{policy\}`. + */ + name?: string; + } export interface Params$Resource$Policies$Get extends StandardParameters { /** * Required. The name of the policy to retrieve. Format: `policies/{policy\}`. @@ -12218,7 +12665,7 @@ export namespace cloudidentity_v1 { } export interface Params$Resource$Policies$List extends StandardParameters { /** - * Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\.service_status$') A maximum of one of the above setting.type clauses can be used. Policies can be filtered by customer with this expression: customer == "customers/{customer\}" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. A maximum of one customer clause can be used. The above clauses can only be combined together in a single filter expression with the `&&` operator. + * Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\.service_status$') Policies can be filtered by customer with this expression: customer == "customers/{customer\}" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. You may only filter on policies for a single customer at a time. The above clauses can be combined together in a single filter expression with the `&&` and `||` operators, like in the following example: customer == "customers/my_customer" && ( setting.type.matches('^settings/gmail\\..*$') || setting.type.matches('^.*\\.service_status$') ) */ filter?: string; /** @@ -12230,4 +12677,15 @@ export namespace cloudidentity_v1 { */ pageToken?: string; } + export interface Params$Resource$Policies$Patch extends StandardParameters { + /** + * Output only. Identifier. The [resource name](https://cloud.google.com/apis/design/resource_names) of the Policy. Format: policies/{policy\}. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Policy; + } } diff --git a/src/apis/cloudidentity/v1beta1.ts b/src/apis/cloudidentity/v1beta1.ts index 1e4f0ce238..aac6fe85ef 100644 --- a/src/apis/cloudidentity/v1beta1.ts +++ b/src/apis/cloudidentity/v1beta1.ts @@ -13158,7 +13158,7 @@ export namespace cloudidentity_v1beta1 { * * // Do the magic * const res = await cloudidentity.policies.list({ - * // Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\.service_status$') A maximum of one of the above setting.type clauses can be used. Policies can be filtered by customer with this expression: customer == "customers/{customer\}" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. A maximum of one customer clause can be used. The above clauses can only be combined together in a single filter expression with the `&&` operator. + * // Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\.service_status$') Policies can be filtered by customer with this expression: customer == "customers/{customer\}" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. You may only filter on policies for a single customer at a time. The above clauses can be combined together in a single filter expression with the `&&` and `||` operators, like in the following example: customer == "customers/my_customer" && ( setting.type.matches('^settings/gmail\\..*$') || setting.type.matches('^.*\\.service_status$') ) * filter: 'placeholder-value', * // Optional. The maximum number of results to return. The service can return fewer than this number. If omitted or set to 0, the default is 50 results per page. The maximum allowed value is 100. `page_size` values greater than 100 default to 100. * pageSize: 'placeholder-value', @@ -13439,7 +13439,7 @@ export namespace cloudidentity_v1beta1 { } export interface Params$Resource$Policies$List extends StandardParameters { /** - * Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\.service_status$') A maximum of one of the above setting.type clauses can be used. Policies can be filtered by customer with this expression: customer == "customers/{customer\}" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. A maximum of one customer clause can be used. The above clauses can only be combined together in a single filter expression with the `&&` operator. + * Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\.service_status$') Policies can be filtered by customer with this expression: customer == "customers/{customer\}" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. You may only filter on policies for a single customer at a time. The above clauses can be combined together in a single filter expression with the `&&` and `||` operators, like in the following example: customer == "customers/my_customer" && ( setting.type.matches('^settings/gmail\\..*$') || setting.type.matches('^.*\\.service_status$') ) */ filter?: string; /** From bfb508108a44aee2a833a95ca3f3dbfdbab4022f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:36 +0000 Subject: [PATCH 18/69] feat(cloudkms): update the API #### cloudkms:v1 The following keys were added: - resources.projects.resources.locations.resources.keyRings.resources.importJobs.methods.get.parameters.publicKeyFormat.description - resources.projects.resources.locations.resources.keyRings.resources.importJobs.methods.get.parameters.publicKeyFormat.enum - resources.projects.resources.locations.resources.keyRings.resources.importJobs.methods.get.parameters.publicKeyFormat.enumDescriptions - resources.projects.resources.locations.resources.keyRings.resources.importJobs.methods.get.parameters.publicKeyFormat.location - resources.projects.resources.locations.resources.keyRings.resources.importJobs.methods.get.parameters.publicKeyFormat.type - schemas.ImportJob.properties.publicKeyFormat.description - schemas.ImportJob.properties.publicKeyFormat.enum - schemas.ImportJob.properties.publicKeyFormat.enumDescriptions - schemas.ImportJob.properties.publicKeyFormat.readOnly - schemas.ImportJob.properties.publicKeyFormat.type - schemas.WrappingPublicKey.properties.data.description - schemas.WrappingPublicKey.properties.data.format - schemas.WrappingPublicKey.properties.data.readOnly - schemas.WrappingPublicKey.properties.data.type The following keys were changed: - schemas.ImportJob.properties.importMethod.enum - schemas.ImportJob.properties.importMethod.enumDescriptions - schemas.WrappingPublicKey.properties.pem.description --- discovery/cloudkms-v1.json | 126 ++++++++++++++++++++++++++----------- src/apis/cloudkms/v1.ts | 19 +++++- 2 files changed, 106 insertions(+), 39 deletions(-) diff --git a/discovery/cloudkms-v1.json b/discovery/cloudkms-v1.json index de5549bee4..2e54f51571 100644 --- a/discovery/cloudkms-v1.json +++ b/discovery/cloudkms-v1.json @@ -26,88 +26,88 @@ }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.europe-west9.rep.googleapis.com/", - "location": "europe-west9" + "endpointUrl": "https://cloudkms.us-central1.rep.googleapis.com/", + "location": "us-central1" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.me-central2.rep.googleapis.com/", - "location": "me-central2" + "endpointUrl": "https://cloudkms.us-west3.rep.googleapis.com/", + "location": "us-west3" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.us-east1.rep.googleapis.com/", - "location": "us-east1" + "endpointUrl": "https://cloudkms.us-central2.rep.googleapis.com/", + "location": "us-central2" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.us-east4.rep.googleapis.com/", - "location": "us-east4" + "endpointUrl": "https://cloudkms.us-west4.rep.googleapis.com/", + "location": "us-west4" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.us-west2.rep.googleapis.com/", - "location": "us-west2" + "endpointUrl": "https://cloudkms.us-east5.rep.googleapis.com/", + "location": "us-east5" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.us-west1.rep.googleapis.com/", - "location": "us-west1" + "endpointUrl": "https://cloudkms.us-south1.rep.googleapis.com/", + "location": "us-south1" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.us-central1.rep.googleapis.com/", - "location": "us-central1" + "endpointUrl": "https://cloudkms.us-east4.rep.googleapis.com/", + "location": "us-east4" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.us-west3.rep.googleapis.com/", - "location": "us-west3" + "endpointUrl": "https://cloudkms.us-west2.rep.googleapis.com/", + "location": "us-west2" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.us-central2.rep.googleapis.com/", - "location": "us-central2" + "endpointUrl": "https://cloudkms.us-east7.rep.googleapis.com/", + "location": "us-east7" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.us-west4.rep.googleapis.com/", - "location": "us-west4" + "endpointUrl": "https://cloudkms.europe-west3.rep.googleapis.com/", + "location": "europe-west3" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.us-east5.rep.googleapis.com/", - "location": "us-east5" + "endpointUrl": "https://cloudkms.us-west8.rep.googleapis.com/", + "location": "us-west8" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.us-south1.rep.googleapis.com/", - "location": "us-south1" + "endpointUrl": "https://cloudkms.europe-west9.rep.googleapis.com/", + "location": "europe-west9" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.us-east7.rep.googleapis.com/", - "location": "us-east7" + "endpointUrl": "https://cloudkms.me-central2.rep.googleapis.com/", + "location": "me-central2" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.northamerica-northeast1.rep.googleapis.com/", - "location": "northamerica-northeast1" + "endpointUrl": "https://cloudkms.us-east1.rep.googleapis.com/", + "location": "us-east1" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.northamerica-northeast2.rep.googleapis.com/", - "location": "northamerica-northeast2" + "endpointUrl": "https://cloudkms.us-west1.rep.googleapis.com/", + "location": "us-west1" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.europe-west3.rep.googleapis.com/", - "location": "europe-west3" + "endpointUrl": "https://cloudkms.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" }, { "description": "Regional Endpoint", - "endpointUrl": "https://cloudkms.us-west8.rep.googleapis.com/", - "location": "us-west8" + "endpointUrl": "https://cloudkms.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" }, { "description": "Regional Endpoint", @@ -2376,6 +2376,25 @@ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/importJobs/[^/]+$", "required": true, "type": "string" + }, + "publicKeyFormat": { + "description": "Optional. Specifies the WrappingPublicKey format. If not specified: * For RSA-based import methods, the wrapping key will be returned in PEM format * For pure ML-KEM-based import methods, the wrapping key will be returned in the raw bytes format specified in FIPS-203 * For X-Wing-based import methods, the wrapping key will be returned in the raw bytes format specified in https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem.", + "enum": [ + "PUBLIC_KEY_FORMAT_UNSPECIFIED", + "PEM", + "DER", + "NIST_PQC", + "XWING_RAW_BYTES" + ], + "enumDescriptions": [ + "If the public_key_format field is not specified: - For PQC algorithms, an error will be returned. - For non-PQC algorithms, the default format is PEM, and the field pem will be populated. Otherwise, the public key will be exported through the public_key field in the requested format.", + "The returned public key will be encoded in PEM format. See the [RFC7468](https://tools.ietf.org/html/rfc7468) sections for [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13) for more information.", + "The returned public key will be encoded in DER format (the PrivateKeyInfo structure from RFC 5208).", + "This is supported only for PQC algorithms. The key material is returned in the format defined by NIST PQC standards (FIPS 203, FIPS 204, and FIPS 205).", + "The returned public key is in raw bytes format defined in its standard https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem." + ], + "location": "query", + "type": "string" } }, "path": "v1/{+name}", @@ -2948,7 +2967,7 @@ } } }, - "revision": "20260423", + "revision": "20260514", "rootUrl": "https://cloudkms.googleapis.com/", "schemas": { "AddQuorumMember": { @@ -4408,7 +4427,10 @@ "RSA_OAEP_3072_SHA256_AES_256", "RSA_OAEP_4096_SHA256_AES_256", "RSA_OAEP_3072_SHA256", - "RSA_OAEP_4096_SHA256" + "RSA_OAEP_4096_SHA256", + "HPKE_KEM_ML_KEM_768_HKDF_SHA256_AES_256_GCM", + "HPKE_KEM_ML_KEM_1024_HKDF_SHA256_AES_256_GCM", + "HPKE_KEM_XWING_HKDF_SHA256_AES_256_GCM" ], "enumDescriptions": [ "Not specified.", @@ -4417,7 +4439,10 @@ "This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see [RSA AES key wrap mechanism](http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/cos01/pkcs11-curr-v2.40-cos01.html#_Toc408226908).", "This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see [RSA AES key wrap mechanism](http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/cos01/pkcs11-curr-v2.40-cos01.html#_Toc408226908).", "This ImportMethod represents RSAES-OAEP with a 3072 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import.", - "This ImportMethod represents RSAES-OAEP with a 4096 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import." + "This ImportMethod represents RSAES-OAEP with a 4096 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import.", + "Represents the Hybrid Public Key Encryption (HPKE) Scheme originally defined in [RFC 9180](https://www.rfc-editor.org/rfc/rfc9180). It involves wrapping the raw key with an ephemeral AES key, derived with HKDF-SHA256 from an encryption context, that is, in turn obtained from the receiver’s public key with the help of the ML-KEM-768 KEM. For more details, see the [ML-KEM HPKE standard](http://datatracker.ietf.org/doc/draft-ietf-hpke-pq/01/).", + "Represents the Hybrid Public Key Encryption (HPKE) Scheme originally defined in [RFC 9180](https://www.rfc-editor.org/rfc/rfc9180). It involves wrapping the raw key with an ephemeral AES key, derived with HKDF-SHA256 from an encryption context, that is, in turn obtained from the receiver’s public key with the help of the ML-KEM-1024 KEM. For more details, see the [ML-KEM HPKE standard](http://datatracker.ietf.org/doc/draft-ietf-hpke-pq/01/).", + "Represents the Hybrid Public Key Encryption (HPKE) Scheme originally defined in [RFC 9180](https://www.rfc-editor.org/rfc/rfc9180). It involves wrapping the raw key with an ephemeral AES key, derived with HKDF-SHA256 from an encryption context, that is, in turn obtained from the receiver’s public key with the help of the X-Wing hybrid KEM. For more details, see the [X-Wing standard](http://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/09/)." ], "type": "string" }, @@ -4451,6 +4476,25 @@ "description": "Output only. The public key with which to wrap key material prior to import. Only returned if state is ACTIVE.", "readOnly": true }, + "publicKeyFormat": { + "description": "Output only. Specifies the WrappingPublicKey format provided by the customer in the KeyManagementService.GetImportJob request.", + "enum": [ + "PUBLIC_KEY_FORMAT_UNSPECIFIED", + "PEM", + "DER", + "NIST_PQC", + "XWING_RAW_BYTES" + ], + "enumDescriptions": [ + "If the public_key_format field is not specified: - For PQC algorithms, an error will be returned. - For non-PQC algorithms, the default format is PEM, and the field pem will be populated. Otherwise, the public key will be exported through the public_key field in the requested format.", + "The returned public key will be encoded in PEM format. See the [RFC7468](https://tools.ietf.org/html/rfc7468) sections for [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13) for more information.", + "The returned public key will be encoded in DER format (the PrivateKeyInfo structure from RFC 5208).", + "This is supported only for PQC algorithms. The key material is returned in the format defined by NIST PQC standards (FIPS 203, FIPS 204, and FIPS 205).", + "The returned public key is in raw bytes format defined in its standard https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem." + ], + "readOnly": true, + "type": "string" + }, "state": { "description": "Output only. The current state of the ImportJob, indicating if it can be used.", "enum": [ @@ -6001,8 +6045,14 @@ "description": "The public key component of the wrapping key. For details of the type of key this public key corresponds to, see the ImportMethod.", "id": "WrappingPublicKey", "properties": { + "data": { + "description": "Output only. Contains the public key, formatted according to the PublicKey.PublicKeyFormat specified in the KeyManagementService.GetImportJob request.", + "format": "byte", + "readOnly": true, + "type": "string" + }, "pem": { - "description": "The public key, encoded in PEM format. For more information, see the [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).", + "description": "The public key, encoded in PEM format. For more information, see the [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13). This field gets populated by default for RSA-based import methods, if no public_key_format is specified in the request. If you want to retrieve the wrapping key of an ImportJob in some other format, use KeyManagementService.GetImportJob and set the public_key_format to the desired public key format.", "type": "string" } }, diff --git a/src/apis/cloudkms/v1.ts b/src/apis/cloudkms/v1.ts index 8275947a91..83c08e8fba 100644 --- a/src/apis/cloudkms/v1.ts +++ b/src/apis/cloudkms/v1.ts @@ -884,6 +884,10 @@ export namespace cloudkms_v1 { * Output only. The public key with which to wrap key material prior to import. Only returned if state is ACTIVE. */ publicKey?: Schema$WrappingPublicKey; + /** + * Output only. Specifies the WrappingPublicKey format provided by the customer in the KeyManagementService.GetImportJob request. + */ + publicKeyFormat?: string | null; /** * Output only. The current state of the ImportJob, indicating if it can be used. */ @@ -1842,7 +1846,11 @@ export namespace cloudkms_v1 { */ export interface Schema$WrappingPublicKey { /** - * The public key, encoded in PEM format. For more information, see the [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13). + * Output only. Contains the public key, formatted according to the PublicKey.PublicKeyFormat specified in the KeyManagementService.GetImportJob request. + */ + data?: string | null; + /** + * The public key, encoded in PEM format. For more information, see the [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13). This field gets populated by default for RSA-based import methods, if no public_key_format is specified in the request. If you want to retrieve the wrapping key of an ImportJob in some other format, use KeyManagementService.GetImportJob and set the public_key_format to the desired public key format. */ pem?: string | null; } @@ -12827,6 +12835,7 @@ export namespace cloudkms_v1 { * // "name": "my_name", * // "protectionLevel": "my_protectionLevel", * // "publicKey": {}, + * // "publicKeyFormat": "my_publicKeyFormat", * // "state": "my_state" * // } * }, @@ -12845,6 +12854,7 @@ export namespace cloudkms_v1 { * // "name": "my_name", * // "protectionLevel": "my_protectionLevel", * // "publicKey": {}, + * // "publicKeyFormat": "my_publicKeyFormat", * // "state": "my_state" * // } * } @@ -12981,6 +12991,8 @@ export namespace cloudkms_v1 { * const res = await cloudkms.projects.locations.keyRings.importJobs.get({ * // Required. The name of the ImportJob to get. * name: 'projects/my-project/locations/my-location/keyRings/my-keyRing/importJobs/my-importJob', + * // Optional. Specifies the WrappingPublicKey format. If not specified: * For RSA-based import methods, the wrapping key will be returned in PEM format * For pure ML-KEM-based import methods, the wrapping key will be returned in the raw bytes format specified in FIPS-203 * For X-Wing-based import methods, the wrapping key will be returned in the raw bytes format specified in https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. + * publicKeyFormat: 'placeholder-value', * }); * console.log(res.data); * @@ -12996,6 +13008,7 @@ export namespace cloudkms_v1 { * // "name": "my_name", * // "protectionLevel": "my_protectionLevel", * // "publicKey": {}, + * // "publicKeyFormat": "my_publicKeyFormat", * // "state": "my_state" * // } * } @@ -13725,6 +13738,10 @@ export namespace cloudkms_v1 { * Required. The name of the ImportJob to get. */ name?: string; + /** + * Optional. Specifies the WrappingPublicKey format. If not specified: * For RSA-based import methods, the wrapping key will be returned in PEM format * For pure ML-KEM-based import methods, the wrapping key will be returned in the raw bytes format specified in FIPS-203 * For X-Wing-based import methods, the wrapping key will be returned in the raw bytes format specified in https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. + */ + publicKeyFormat?: string; } export interface Params$Resource$Projects$Locations$Keyrings$Importjobs$Getiampolicy extends StandardParameters { /** From 19b62462f8172714647d0c4dd950f119f5a3a4bc Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:36 +0000 Subject: [PATCH 19/69] fix(cloudnumberregistry): update the API --- discovery/cloudnumberregistry-v1alpha.json | 2534 ++++++ src/apis/cloudnumberregistry/README.md | 28 + src/apis/cloudnumberregistry/index.ts | 49 + src/apis/cloudnumberregistry/package.json | 43 + src/apis/cloudnumberregistry/tsconfig.json | 10 + src/apis/cloudnumberregistry/v1alpha.ts | 6880 +++++++++++++++++ .../cloudnumberregistry/webpack.config.js | 79 + 7 files changed, 9623 insertions(+) create mode 100644 discovery/cloudnumberregistry-v1alpha.json create mode 100644 src/apis/cloudnumberregistry/README.md create mode 100644 src/apis/cloudnumberregistry/index.ts create mode 100644 src/apis/cloudnumberregistry/package.json create mode 100644 src/apis/cloudnumberregistry/tsconfig.json create mode 100644 src/apis/cloudnumberregistry/v1alpha.ts create mode 100644 src/apis/cloudnumberregistry/webpack.config.js diff --git a/discovery/cloudnumberregistry-v1alpha.json b/discovery/cloudnumberregistry-v1alpha.json new file mode 100644 index 0000000000..d4c544c518 --- /dev/null +++ b/discovery/cloudnumberregistry-v1alpha.json @@ -0,0 +1,2534 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://cloudnumberregistry.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Cloud Number Registry", + "description": "", + "discoveryVersion": "v1", + "documentationLink": "https://docs.cloud.google.com/number-registry/reference/rest", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "cloudnumberregistry:v1alpha", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://cloudnumberregistry.mtls.googleapis.com/", + "name": "cloudnumberregistry", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", + "flatPath": "v1alpha/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "extraLocationTypes": { + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", + "location": "query", + "repeated": true, + "type": "string" + }, + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "customRanges": { + "methods": { + "create": { + "description": "Creates a new CustomRange in a given project and location.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/customRanges", + "httpMethod": "POST", + "id": "cloudnumberregistry.projects.locations.customRanges.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "customRangeId": { + "description": "Required. Id of the requesting object.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Value for parent.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+parent}/customRanges", + "request": { + "$ref": "CustomRange" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single CustomRange.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/customRanges/{customRangesId}", + "httpMethod": "DELETE", + "id": "cloudnumberregistry.projects.locations.customRanges.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "Optional. If set to true, all associated resources will be deleted.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/customRanges/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "findFreeIpRanges": { + "description": "Finds free IP ranges in a single CustomRange.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/customRanges/{customRangesId}:findFreeIpRanges", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.customRanges.findFreeIpRanges", + "parameterOrder": [ + "name" + ], + "parameters": { + "cidrPrefixLength": { + "description": "Required. The prefix length of the free IP ranges to find.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "name": { + "description": "Required. Name of the CustomRange.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/customRanges/[^/]+$", + "required": true, + "type": "string" + }, + "rangeCount": { + "description": "Optional. The number of free IP ranges to find.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}:findFreeIpRanges", + "response": { + "$ref": "FindCustomRangeFreeIpRangesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single CustomRange.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/customRanges/{customRangesId}", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.customRanges.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/customRanges/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "CustomRange" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists CustomRanges in a given project and location.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/customRanges", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.customRanges.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filtering results.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListCustomRangesRequest", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/customRanges", + "response": { + "$ref": "ListCustomRangesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single CustomRange.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/customRanges/{customRangesId}", + "httpMethod": "PATCH", + "id": "cloudnumberregistry.projects.locations.customRanges.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Identifier. name of resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/customRanges/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the CustomRange resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "CustomRange" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "showUtilization": { + "description": "Gets the details of a single CustomRange and its utilization.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/customRanges/{customRangesId}:showUtilization", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.customRanges.showUtilization", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/customRanges/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:showUtilization", + "response": { + "$ref": "ShowCustomRangeUtilizationResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "discoveredRanges": { + "methods": { + "findFreeIpRanges": { + "description": "Finds free IP ranges in a single DiscoveredRange.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredRanges/{discoveredRangesId}:findFreeIpRanges", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.discoveredRanges.findFreeIpRanges", + "parameterOrder": [ + "name" + ], + "parameters": { + "cidrPrefixLength": { + "description": "Required. The prefix length of the free IP ranges to find.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "name": { + "description": "Required. Name of the DiscoveredRange.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/discoveredRanges/[^/]+$", + "required": true, + "type": "string" + }, + "rangeCount": { + "description": "Optional. The number of free IP ranges to find.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}:findFreeIpRanges", + "response": { + "$ref": "FindDiscoveredRangeFreeIpRangesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single DiscoveredRange.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredRanges/{discoveredRangesId}", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.discoveredRanges.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/discoveredRanges/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "DiscoveredRange" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists DiscoveredRanges in a given project and location.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredRanges", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.discoveredRanges.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filtering results.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListDiscoveredRangesRequest", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/discoveredRanges", + "response": { + "$ref": "ListDiscoveredRangesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "showUtilization": { + "description": "Gets the details of a single DiscoveredRange and its utilization.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredRanges/{discoveredRangesId}:showUtilization", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.discoveredRanges.showUtilization", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/discoveredRanges/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:showUtilization", + "response": { + "$ref": "ShowDiscoveredRangeUtilizationResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "ipamAdminScopes": { + "methods": { + "checkAvailability": { + "description": "Checks the availability of IPAM admin scopes in a given project and location.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/ipamAdminScopes:checkAvailability", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.ipamAdminScopes.checkAvailability", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Parent value for the IpamAdminScopes.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "scopes": { + "description": "Required. The scopes of the IpamAdminScopes to look for.", + "location": "query", + "repeated": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/ipamAdminScopes:checkAvailability", + "response": { + "$ref": "CheckAvailabilityIpamAdminScopesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "cleanup": { + "description": "Cleans up a single IpamAdminScope.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/ipamAdminScopes/{ipamAdminScopesId}:cleanup", + "httpMethod": "POST", + "id": "cloudnumberregistry.projects.locations.ipamAdminScopes.cleanup", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/ipamAdminScopes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:cleanup", + "request": { + "$ref": "CleanupIpamAdminScopeRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "description": "Creates a new IpamAdminScope in a given project and location.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/ipamAdminScopes", + "httpMethod": "POST", + "id": "cloudnumberregistry.projects.locations.ipamAdminScopes.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "ipamAdminScopeId": { + "description": "Required. Id of the requesting object.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Value for parent.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+parent}/ipamAdminScopes", + "request": { + "$ref": "IpamAdminScope" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single IpamAdminScope.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/ipamAdminScopes/{ipamAdminScopesId}", + "httpMethod": "DELETE", + "id": "cloudnumberregistry.projects.locations.ipamAdminScopes.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "Optional. If set to true, all associated resources will be deleted.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/ipamAdminScopes/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "disable": { + "description": "Disables a single IpamAdminScope.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/ipamAdminScopes/{ipamAdminScopesId}:disable", + "httpMethod": "POST", + "id": "cloudnumberregistry.projects.locations.ipamAdminScopes.disable", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/ipamAdminScopes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:disable", + "request": { + "$ref": "DisableIpamAdminScopeRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single IpamAdminScope.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/ipamAdminScopes/{ipamAdminScopesId}", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.ipamAdminScopes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/ipamAdminScopes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "IpamAdminScope" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all IPAM admin scopes in a given project and location.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/ipamAdminScopes", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.ipamAdminScopes.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filtering results", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListIpamAdminScopesRequest", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/ipamAdminScopes", + "response": { + "$ref": "ListIpamAdminScopesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single IpamAdminScope.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/ipamAdminScopes/{ipamAdminScopesId}", + "httpMethod": "PATCH", + "id": "cloudnumberregistry.projects.locations.ipamAdminScopes.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Identifier. name of resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/ipamAdminScopes/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the IpamAdminScope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "IpamAdminScope" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "cloudnumberregistry.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "cloudnumberregistry.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1alpha/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "realms": { + "methods": { + "create": { + "description": "Creates a new Realm in a given project and location.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/realms", + "httpMethod": "POST", + "id": "cloudnumberregistry.projects.locations.realms.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Value for parent.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "realmId": { + "description": "Required. Id of the requesting object.", + "location": "query", + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+parent}/realms", + "request": { + "$ref": "Realm" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single Realm.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/realms/{realmsId}", + "httpMethod": "DELETE", + "id": "cloudnumberregistry.projects.locations.realms.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "Optional. If set to true, all associated resources will be deleted.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/realms/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single Realm.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/realms/{realmsId}", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.realms.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/realms/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "Optional. The view of the Realm.", + "enum": [ + "REALM_VIEW_UNSPECIFIED", + "BASIC", + "FULL", + "AGGREGATE" + ], + "enumDescriptions": [ + "Unspecified view. Defaults to BASIC.", + "Basic view.", + "Full view. Includes the same data as the BASIC view.", + "Aggregate includes data about the child resources of the Realm." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Realm" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Realms in a given project and location.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/realms", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.realms.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filtering results", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListRealmsRequest", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "Optional. The view of the Realm.", + "enum": [ + "REALM_VIEW_UNSPECIFIED", + "BASIC", + "FULL", + "AGGREGATE" + ], + "enumDescriptions": [ + "Unspecified view. Defaults to BASIC.", + "Basic view.", + "Full view. Includes the same data as the BASIC view.", + "Aggregate includes data about the child resources of the Realm." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+parent}/realms", + "response": { + "$ref": "ListRealmsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single Realm.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/realms/{realmsId}", + "httpMethod": "PATCH", + "id": "cloudnumberregistry.projects.locations.realms.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Identifier. Unique name/ID of the realm", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/realms/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the Realm resource by the update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "Realm" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "registryBooks": { + "methods": { + "create": { + "description": "Creates a new RegistryBook in a given project and location.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/registryBooks", + "httpMethod": "POST", + "id": "cloudnumberregistry.projects.locations.registryBooks.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Value for parent.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "registryBookId": { + "description": "Required. Id of the requesting object.", + "location": "query", + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+parent}/registryBooks", + "request": { + "$ref": "RegistryBook" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single RegistryBook.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/registryBooks/{registryBooksId}", + "httpMethod": "DELETE", + "id": "cloudnumberregistry.projects.locations.registryBooks.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "Optional. If set to true, all associated resources will be deleted.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/registryBooks/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single RegistryBook.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/registryBooks/{registryBooksId}", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.registryBooks.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/registryBooks/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "Optional. The view of the RegistryBook.", + "enum": [ + "REGISTRY_BOOK_VIEW_UNSPECIFIED", + "BASIC", + "FULL", + "AGGREGATE" + ], + "enumDescriptions": [ + "Unspecified view. Defaults to BASIC.", + "Basic view.", + "Full view. Includes the same data as the BASIC view.", + "Aggregate includes data about the child resources of the RegistryBook." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "RegistryBook" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists RegistryBooks in a given project and location.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/registryBooks", + "httpMethod": "GET", + "id": "cloudnumberregistry.projects.locations.registryBooks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filtering results", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListRegistryBooksRequest", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "Optional. The view of the RegistryBook.", + "enum": [ + "REGISTRY_BOOK_VIEW_UNSPECIFIED", + "BASIC", + "FULL", + "AGGREGATE" + ], + "enumDescriptions": [ + "Unspecified view. Defaults to BASIC.", + "Basic view.", + "Full view. Includes the same data as the BASIC view.", + "Aggregate includes data about the child resources of the RegistryBook." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+parent}/registryBooks", + "response": { + "$ref": "ListRegistryBooksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single RegistryBook.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/registryBooks/{registryBooksId}", + "httpMethod": "PATCH", + "id": "cloudnumberregistry.projects.locations.registryBooks.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Identifier. name of resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/registryBooks/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the RegistryBook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "RegistryBook" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "searchIpResources": { + "description": "Searches IP resources in a given RegistryBook.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/registryBooks/{registryBooksId}:searchIpResources", + "httpMethod": "POST", + "id": "cloudnumberregistry.projects.locations.registryBooks.searchIpResources", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the RegistryBook to search in.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/registryBooks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:searchIpResources", + "request": { + "$ref": "SearchIpResourcesRequest" + }, + "response": { + "$ref": "SearchIpResourcesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20260506", + "rootUrl": "https://cloudnumberregistry.googleapis.com/", + "schemas": { + "AggregatedData": { + "description": "Aggregated data for the RegistryBook.", + "id": "AggregatedData", + "properties": { + "customRangesCount": { + "description": "Output only. Number of custom ranges in the RegistryBook.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "customRealmsCount": { + "description": "Output only. Number of custom realms in the RegistryBook.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "discoveredRangesCount": { + "description": "Output only. Number of discovered ranges in the RegistryBook.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "discoveredRealmsCount": { + "description": "Output only. Number of discovered realms in the RegistryBook.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "uniqueScopesCount": { + "description": "Output only. Number of scopes unique to the RegistryBook.", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, + "Attribute": { + "description": "Message describing Attribute object", + "id": "Attribute", + "properties": { + "key": { + "description": "Required. Key of attribute", + "type": "string" + }, + "value": { + "description": "Required. Value of attribute", + "type": "string" + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "CheckAvailabilityIpamAdminScopesResponse": { + "description": "Message for response to checking the availability of IpamAdminScopes", + "id": "CheckAvailabilityIpamAdminScopesResponse", + "properties": { + "scopeAvailabilities": { + "description": "The details of the requested scopes.", + "items": { + "$ref": "IpamAdminScopeAvailability" + }, + "type": "array" + } + }, + "type": "object" + }, + "CleanupIpamAdminScopeRequest": { + "description": "Message for cleaning up a IpamAdminScope", + "id": "CleanupIpamAdminScopeRequest", + "properties": { + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "type": "string" + } + }, + "type": "object" + }, + "CustomRange": { + "description": "Message describing CustomRange object", + "id": "CustomRange", + "properties": { + "attributes": { + "description": "Optional. The attributes of the CustomRange.", + "items": { + "$ref": "Attribute" + }, + "type": "array" + }, + "description": { + "description": "Optional. Description of the CustomRange.", + "type": "string" + }, + "ipv4CidrRange": { + "description": "Optional. The IPv4 CIDR range of the CustomRange.", + "type": "string" + }, + "ipv6CidrRange": { + "description": "Optional. The IPv6 CIDR range of the CustomRange.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels as key value pairs", + "type": "object" + }, + "name": { + "description": "Required. Identifier. name of resource", + "type": "string" + }, + "parentRange": { + "description": "Optional. The parent range of the CustomRange. Do not allow setting parent range if realm is specified. Format must follow this pattern: projects/{project}/locations/{location}/customRanges/{custom_range}", + "type": "string" + }, + "realm": { + "description": "Optional. The realm of the CustomRange. The realm must be in the same project as the custom range. Do not allow setting realm if parent range is specified, since the realm should be inherited from the parent range. Format must follow this pattern: projects/{project}/locations/{location}/realms/{realm}", + "type": "string" + }, + "registryBook": { + "description": "Output only. The registry book of the CustomRange. This field is inherited from the realm or parent range depending on which one is specified.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "DisableIpamAdminScopeRequest": { + "description": "Message for disabling a IpamAdminScope", + "id": "DisableIpamAdminScopeRequest", + "properties": { + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "type": "string" + } + }, + "type": "object" + }, + "DiscoveredRange": { + "description": "Message describing DiscoveredRange object", + "id": "DiscoveredRange", + "properties": { + "attributes": { + "description": "Optional. The attributes of the DiscoveredRange.", + "items": { + "$ref": "Attribute" + }, + "type": "array" + }, + "childCidrOverlapAllowed": { + "description": "Output only. If true, allow child ranges of this range to overlap with each other.", + "readOnly": true, + "type": "boolean" + }, + "createTime": { + "description": "Output only. [Output only] Create time stamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. Description of the DiscoveredRange.", + "type": "string" + }, + "discoveryMetadata": { + "$ref": "DiscoveryMetadata", + "description": "Output only. Owner metadata for this DiscoveredRange. A unique set of metadata is associated with each DiscoveredRange. If an IP range is shared by multiple resources (e.g., an Address resource and an Instance resource, or multiple ForwardingRules),separate DiscoveredRanges are created, each with a distinct owner. This ensures each DiscoveredRange has its own unique set of attributes, labels, create time and update time.", + "readOnly": true + }, + "ipv4CidrRange": { + "description": "Optional. The IPv4 CIDR range of the DiscoveredRange.", + "type": "string" + }, + "ipv6CidrRange": { + "description": "Optional. The IPv6 CIDR range of the DiscoveredRange.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels as key value pairs", + "type": "object" + }, + "name": { + "description": "Required. Identifier. Name of the DiscoveredRange.", + "type": "string" + }, + "parentRange": { + "description": "Optional. The parent range of the DiscoveredRange.", + "type": "string" + }, + "realm": { + "description": "Optional. The realm of the DiscoveredRange.", + "type": "string" + }, + "registryBook": { + "description": "Output only. The registry book of the DiscoveredRange.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. [Output only] Update time stamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "DiscoveryMetadata": { + "description": "Discovery metadata of the discovered resource.", + "id": "DiscoveryMetadata", + "properties": { + "createTime": { + "description": "Output only. The time when the resource was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "eventTime": { + "description": "Output only. The time when the event happened.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "resource": { + "description": "Output only. The resource name of the discovered resource, should be API-agnostic. Example: \"projects/{project_number}/networks/{network_id}\".", + "readOnly": true, + "type": "string" + }, + "resourceUri": { + "description": "Output only. The resource uri of the discovered resource.", + "readOnly": true, + "type": "string" + }, + "sourceId": { + "description": "Output only. The canonical google.aip.dev/122 name of the source resource.", + "readOnly": true, + "type": "string" + }, + "sourceSubId": { + "description": "Output only. A single source resource can be the source of multiple CNR resources. This sub_id is used to distinguish between the different CNR resources derived from the same upstream resource. For example, a single subnetwork can be the source of multiple ranges, one for each protocol. In this case, the sub_id could be \"private-ipv4\" or \"private-ipv6\".", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The state of the resource.", + "enum": [ + "RESOURCE_STATE_UNSPECIFIED", + "INVALID", + "EXISTS", + "DOES_NOT_EXIST", + "ERROR" + ], + "enumDescriptions": [ + "Unspecified state.", + "The resource is in an invalid state.", + "The resource exists in the backing store (is not tombstoned or completely missing) and there were no failures reading out the resource level metadata.", + "Resource does not exist or has been deleted or soft-deleted.", + "There was an error reading out the resource level metadata." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time when the resource was last modified.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "FindCustomRangeFreeIpRangesResponse": { + "description": "Message for the response to finding free IP ranges.", + "id": "FindCustomRangeFreeIpRangesResponse", + "properties": { + "freeIpCidrRanges": { + "description": "Output only. Free IP CIDR ranges found in the CustomRange.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "FindDiscoveredRangeFreeIpRangesResponse": { + "description": "Message for the response to finding free IP ranges.", + "id": "FindDiscoveredRangeFreeIpRangesResponse", + "properties": { + "freeIpCidrRanges": { + "description": "Output only. Free IP CIDR ranges found in the DiscoveredRange.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "IpamAdminScope": { + "description": "Message describing IpamAdminScope object", + "id": "IpamAdminScope", + "properties": { + "createTime": { + "description": "Output only. [Output only] Create time stamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "enabledAddonPlatforms": { + "description": "Required. Addon platforms that are enabled for this IPAM admin scope. Cloud Number Registry only discovers the IP addresses from the enabled platforms.", + "items": { + "enum": [ + "ADD_ON_PLATFORM_UNSPECIFIED", + "COMPUTE_ENGINE", + "GCE" + ], + "enumDeprecated": [ + false, + false, + true + ], + "enumDescriptions": [ + "Unspecified add-on platform.", + "Google Compute Engine.", + "Deprecated: Use COMPUTE_ENGINE instead." + ], + "type": "string" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels as key value pairs", + "type": "object" + }, + "name": { + "description": "Required. Identifier. name of resource", + "type": "string" + }, + "scopes": { + "description": "Required. Administrative scopes enabled for IP address discovery and management. For example, \"organizations/1234567890\". Minimum of 1 scope is required. In preview, only one organization scope is allowed.", + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "description": "Output only. State of resource discovery pipeline.", + "enum": [ + "DISCOVERY_PIPELINE_STATE_UNSPECIFIED", + "INTERNAL_FAILURE", + "FAILED", + "SETUP_IN_PROGRESS", + "READY_FOR_USE", + "DELETING_IN_PROGRESS", + "UPDATING", + "RECOVERING", + "DISABLED", + "DELETION_COMPLETED", + "CLEANUP_IN_PROGRESS", + "READY_FOR_DELETION" + ], + "enumDescriptions": [ + "Unspecified state.", + "Internal failure.", + "Failure.", + "Setup in progress.", + "Ready for use.", + "Deleting in progress.", + "Updating.", + "Recovering.", + "Disabled.", + "Deleting completed.", + "Cleanup in progress.", + "Ready for deletion." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. [Output only] Update time stamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "IpamAdminScopeAvailability": { + "description": "Message for the availability of an IpamAdminScope", + "id": "IpamAdminScopeAvailability", + "properties": { + "adminProject": { + "description": "The admin project of the IpamAdminScope if it exists.", + "format": "int64", + "type": "string" + }, + "availability": { + "description": "The availability of the scope.", + "enum": [ + "AVAILABILITY_UNSPECIFIED", + "AVAILABLE", + "UNAVAILABLE" + ], + "enumDescriptions": [ + "Unspecified availability.", + "The scope is available.", + "The scope is not available." + ], + "type": "string" + }, + "scope": { + "description": "The scope of the IpamAdminScope.", + "type": "string" + } + }, + "type": "object" + }, + "ListCustomRangesResponse": { + "description": "Message for response to listing CustomRanges", + "id": "ListCustomRangesResponse", + "properties": { + "customRanges": { + "description": "The list of CustomRange", + "items": { + "$ref": "CustomRange" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListDiscoveredRangesResponse": { + "description": "Message for response to listing DiscoveredRanges", + "id": "ListDiscoveredRangesResponse", + "properties": { + "discoveredRanges": { + "description": "The list of DiscoveredRange", + "items": { + "$ref": "DiscoveredRange" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListIpamAdminScopesResponse": { + "description": "Message for response to listing ipamAdminScopes", + "id": "ListIpamAdminScopesResponse", + "properties": { + "ipamAdminScopes": { + "description": "The list of IpamAdminScope", + "items": { + "$ref": "IpamAdminScope" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListRealmsResponse": { + "description": "Message for response to listing Realms", + "id": "ListRealmsResponse", + "properties": { + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "realms": { + "description": "The list of Realm", + "items": { + "$ref": "Realm" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListRegistryBooksResponse": { + "description": "Message for response to listing RegistryBooks", + "id": "ListRegistryBooksResponse", + "properties": { + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "registryBooks": { + "description": "The list of RegistryBook", + "items": { + "$ref": "RegistryBook" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Location": { + "description": "A resource that represents a Google Cloud location.", + "id": "Location", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Range": { + "description": "Message describing either a CustomRange or a DiscoveredRange.", + "id": "Range", + "properties": { + "customRange": { + "$ref": "CustomRange", + "description": "A custom range." + }, + "discoveredRange": { + "$ref": "DiscoveredRange", + "description": "A discovered range." + }, + "utilization": { + "$ref": "RangeUtilization", + "description": "The utilization of the range." + } + }, + "type": "object" + }, + "RangeUtilization": { + "description": "Message for the utilization of an IP range", + "id": "RangeUtilization", + "properties": { + "totalConsumed": { + "description": "Output only. The total number of IP addresses consumed in the range.", + "readOnly": true, + "type": "string" + }, + "totalProduced": { + "description": "Output only. The total number of IP addresses produced in the range.", + "readOnly": true, + "type": "string" + }, + "usage": { + "description": "Output only. The usage of the range as a percentage. This is marked as optional so that we have presence tracking and API responses show 0.0 instead of NULL.", + "format": "double", + "readOnly": true, + "type": "number" + } + }, + "type": "object" + }, + "Realm": { + "description": "Message describing Realm object", + "id": "Realm", + "properties": { + "aggregatedData": { + "$ref": "RealmAggregatedData", + "description": "Output only. Aggregated data for the Realm. Populated only when the view is AGGREGATE.", + "readOnly": true + }, + "createTime": { + "description": "Output only. [Output only] Create time stamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "discoveryMetadata": { + "$ref": "DiscoveryMetadata", + "description": "Output only. Discovery metadata of the realm.", + "readOnly": true + }, + "ipVersion": { + "description": "Optional. IP version of the realm.", + "enum": [ + "IP_VERSION_UNSPECIFIED", + "IPV4", + "IPV6" + ], + "enumDescriptions": [ + "Unspecified IP version.", + "IPv4 IP version.", + "IPv6 IP version." + ], + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels as key value pairs", + "type": "object" + }, + "managementType": { + "description": "Required. Management type of realm.", + "enum": [ + "MANAGEMENT_TYPE_UNSPECIFIED", + "CNR", + "USER" + ], + "enumDescriptions": [ + "Unspecified management type.", + "Managed by Cloud Number Registry.", + "Managed by User." + ], + "type": "string" + }, + "name": { + "description": "Required. Identifier. Unique name/ID of the realm", + "type": "string" + }, + "registryBook": { + "description": "Required. URI of the registry book that claims the realm.", + "type": "string" + }, + "trafficType": { + "description": "Required. Traffic type of realm.", + "enum": [ + "TRAFFIC_TYPE_UNSPECIFIED", + "UNSET", + "INTERNET", + "PRIVATE", + "LINKLOCAL" + ], + "enumDescriptions": [ + "Unspecified traffic type.", + "Unset traffic type.", + "Internet traffic.", + "Private traffic.", + "Linklocal traffic." + ], + "type": "string" + }, + "updateTime": { + "description": "Output only. [Output only] Update time stamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "RealmAggregatedData": { + "description": "Aggregated data for the Realm.", + "id": "RealmAggregatedData", + "properties": { + "customRangesCount": { + "description": "Output only. Number of custom ranges in the Realm.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "discoveredRangesCount": { + "description": "Output only. Number of discovered ranges in the Realm.", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, + "RegistryBook": { + "description": "Message describing RegistryBook object", + "id": "RegistryBook", + "properties": { + "aggregatedData": { + "$ref": "AggregatedData", + "description": "Output only. Aggregated data for the RegistryBook. Populated only when the view is AGGREGATE.", + "readOnly": true + }, + "claimedScopes": { + "description": "Optional. List of scopes claimed by the RegistryBook. In Preview, Only project scope is supported. Each scope is in the format of projects/{project}. Each scope can only be claimed once.", + "items": { + "type": "string" + }, + "type": "array" + }, + "createTime": { + "description": "Output only. [Output only] Create time stamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "isDefault": { + "description": "Output only. Whether the RegistryBook is the default one.", + "readOnly": true, + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels as key value pairs", + "type": "object" + }, + "name": { + "description": "Required. Identifier. name of resource", + "type": "string" + }, + "updateTime": { + "description": "Output only. [Output only] Update time stamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "SearchIpResourcesRequest": { + "description": "Message for searching IP resources", + "id": "SearchIpResourcesRequest", + "properties": { + "orderBy": { + "description": "Optional. Hint for how to order the results", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "type": "string" + }, + "query": { + "description": "Optional. Search query. This string filters resources in an AIP-160-like format. It has some limitations. You can only specify top level conjunctions or attribute level negations. Each restriction can only be used once except the attribute restriction. The available restrictions for ranges are: - `realm`: The realm name to search in. - `ip_address`: The IP address to search for within ranges. - `ip_version`: The IP version to filter by (e.g., \"IPV4\", \"IPV6\"). - `parent_range`: The parent range of the range to search for. - `attribute_text`: The attribute text to search for within ranges. - `attribute`: The attribute key and value to filter by. The available restrictions for realms are: - `ip_version`: The IP version to search for. Only one of attribute_text or multiple attribute filters can be specified. Examples: - `realm=test-realm` - `realm=test-realm AND ip_address=10.0.0.0` - `realm=test-realm AND ip_version=IPV6` - `realm=test-realm AND attribute_text=test` - `ip_address=10.0.0.0 AND attribute:(key1=value1) AND attribute:(key2=value2)` - `attribute_text=test AND parent_range=projects/123/locations/global/discoveredRanges/test-parent-range`", + "type": "string" + }, + "searchResourceTypes": { + "description": "Optional. The type of resources to search for. If not specified, the server will return ranges.", + "items": { + "enum": [ + "SEARCH_RESOURCE_TYPE_UNSPECIFIED", + "RANGES", + "REALMS" + ], + "enumDescriptions": [ + "Unspecified search type.", + "Search for ranges.", + "Search for realms." + ], + "type": "string" + }, + "type": "array" + }, + "showUtilization": { + "description": "Optional. Whether to show the utilization of the ranges in the response.", + "type": "boolean" + } + }, + "type": "object" + }, + "SearchIpResourcesResponse": { + "description": "Message for response to searching IP resources", + "id": "SearchIpResourcesResponse", + "properties": { + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "ranges": { + "deprecated": true, + "description": "Deprecated: Use results field instead. The list of ranges matching the search query.", + "items": { + "$ref": "Range" + }, + "type": "array" + }, + "results": { + "description": "The list of results matching the search query.", + "items": { + "$ref": "SearchIpResourcesResult" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "SearchIpResourcesResult": { + "description": "A result matching the search query, which can be either a range or a realm.", + "id": "SearchIpResourcesResult", + "properties": { + "range": { + "$ref": "Range", + "description": "A range matching the search query." + }, + "realm": { + "$ref": "Realm", + "description": "A realm matching the search query." + } + }, + "type": "object" + }, + "ShowCustomRangeUtilizationResponse": { + "description": "Message for the response to getting the utilization of a CustomRange", + "id": "ShowCustomRangeUtilizationResponse", + "properties": { + "customRange": { + "$ref": "CustomRange", + "description": "The CustomRange resource." + }, + "rangeUtilization": { + "$ref": "RangeUtilization", + "description": "The utilization of the CustomRange." + } + }, + "type": "object" + }, + "ShowDiscoveredRangeUtilizationResponse": { + "description": "Message for the response to getting the utilization of a DiscoveredRange", + "id": "ShowDiscoveredRangeUtilizationResponse", + "properties": { + "discoveredRange": { + "$ref": "DiscoveredRange", + "description": "The DiscoveredRange resource." + }, + "rangeUtilization": { + "$ref": "RangeUtilization", + "description": "The utilization of the DiscoveredRange." + } + }, + "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", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Cloud Number Registry API", + "version": "v1alpha", + "version_module": true +} \ No newline at end of file diff --git a/src/apis/cloudnumberregistry/README.md b/src/apis/cloudnumberregistry/README.md new file mode 100644 index 0000000000..2659a2d9a9 --- /dev/null +++ b/src/apis/cloudnumberregistry/README.md @@ -0,0 +1,28 @@ +Google Inc. logo + +# cloudnumberregistry + +> + +## Installation + +```sh +$ npm install @googleapis/cloudnumberregistry +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client). +Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/cloudnumberregistry/classes/Cloudnumberregistry.html). + +## License +This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/googleapis/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/cloudnumberregistry/index.ts b/src/apis/cloudnumberregistry/index.ts new file mode 100644 index 0000000000..d91fd9ab05 --- /dev/null +++ b/src/apis/cloudnumberregistry/index.ts @@ -0,0 +1,49 @@ +// Copyright 2020 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! THIS FILE IS AUTO-GENERATED */ + +import {AuthPlus, getAPI, GoogleConfigurable} from 'googleapis-common'; +import {cloudnumberregistry_v1alpha} from './v1alpha'; + +export const VERSIONS = { + v1alpha: cloudnumberregistry_v1alpha.Cloudnumberregistry, +}; + +export function cloudnumberregistry( + version: 'v1alpha' +): cloudnumberregistry_v1alpha.Cloudnumberregistry; +export function cloudnumberregistry( + options: cloudnumberregistry_v1alpha.Options +): cloudnumberregistry_v1alpha.Cloudnumberregistry; +export function cloudnumberregistry< + T = cloudnumberregistry_v1alpha.Cloudnumberregistry, +>( + this: GoogleConfigurable, + versionOrOptions: 'v1alpha' | cloudnumberregistry_v1alpha.Options +) { + return getAPI('cloudnumberregistry', versionOrOptions, VERSIONS, this); +} + +const auth = new AuthPlus(); +export {auth}; +export {cloudnumberregistry_v1alpha}; +export { + AuthPlus, + GlobalOptions, + APIRequestContext, + GoogleConfigurable, + StreamMethodOptions, + MethodOptions, + BodyResponseCallback, +} from 'googleapis-common'; diff --git a/src/apis/cloudnumberregistry/package.json b/src/apis/cloudnumberregistry/package.json new file mode 100644 index 0000000000..ce470697fe --- /dev/null +++ b/src/apis/cloudnumberregistry/package.json @@ -0,0 +1,43 @@ +{ + "name": "@googleapis/cloudnumberregistry", + "version": "0.1.0", + "description": "cloudnumberregistry", + "main": "build/index.js", + "types": "build/index.d.ts", + "keywords": [ + "google" + ], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/googleapis/google-api-nodejs-client", + "bugs": { + "url": "https://github.com/googleapis/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/googleapis/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=12.0.0" + }, + "scripts": { + "fix": "gts fix", + "lint": "gts check", + "compile": "tsc -p .", + "prepare": "npm run compile", + "webpack": "webpack" + }, + "dependencies": { + "googleapis-common": "^8.0.0" + }, + "devDependencies": { + "@microsoft/api-documenter": "^7.8.10", + "@microsoft/api-extractor": "^7.8.10", + "gts": "^6.0.0", + "null-loader": "^4.0.0", + "ts-loader": "^9.0.0", + "typescript": "5.7.3", + "webpack": "^5.0.0", + "webpack-cli": "^5.0.0" + } +} diff --git a/src/apis/cloudnumberregistry/tsconfig.json b/src/apis/cloudnumberregistry/tsconfig.json new file mode 100644 index 0000000000..e081090496 --- /dev/null +++ b/src/apis/cloudnumberregistry/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "./node_modules/gts/tsconfig-google.json", + "compilerOptions": { + "rootDir": ".", + "outDir": "build" + }, + "include": [ + "*.ts", + ] +} diff --git a/src/apis/cloudnumberregistry/v1alpha.ts b/src/apis/cloudnumberregistry/v1alpha.ts new file mode 100644 index 0000000000..ad67379039 --- /dev/null +++ b/src/apis/cloudnumberregistry/v1alpha.ts @@ -0,0 +1,6880 @@ +// Copyright 2020 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/no-unused-vars */ +/* eslint-disable @typescript-eslint/no-empty-interface */ +/* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable no-irregular-whitespace */ + +import { + OAuth2Client, + JWT, + Compute, + UserRefreshClient, + BaseExternalAccountClient, + GaxiosResponseWithHTTP2, + GoogleConfigurable, + createAPIRequest, + MethodOptions, + StreamMethodOptions, + GlobalOptions, + GoogleAuth, + BodyResponseCallback, + APIRequestContext, +} from 'googleapis-common'; +import {Readable} from 'stream'; + +export namespace cloudnumberregistry_v1alpha { + export interface Options extends GlobalOptions { + version: 'v1alpha'; + } + + interface StandardParameters { + /** + * Auth client or API Key for the request + */ + auth?: + | string + | OAuth2Client + | JWT + | Compute + | UserRefreshClient + | BaseExternalAccountClient + | GoogleAuth; + + /** + * V1 error format. + */ + '$.xgafv'?: string; + /** + * OAuth access token. + */ + access_token?: string; + /** + * Data format for response. + */ + alt?: string; + /** + * JSONP + */ + callback?: string; + /** + * Selector specifying which fields to include in a partial response. + */ + fields?: string; + /** + * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + */ + key?: string; + /** + * OAuth 2.0 token for the current user. + */ + oauth_token?: string; + /** + * Returns response with indentations and line breaks. + */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + */ + quotaUser?: string; + /** + * Legacy upload protocol for media (e.g. "media", "multipart"). + */ + uploadType?: string; + /** + * Upload protocol for media (e.g. "raw", "multipart"). + */ + upload_protocol?: string; + } + + /** + * Cloud Number Registry API + * + * + * + * @example + * ```js + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * ``` + */ + export class Cloudnumberregistry { + context: APIRequestContext; + projects: Resource$Projects; + + constructor(options: GlobalOptions, google?: GoogleConfigurable) { + this.context = { + _options: options || {}, + google, + }; + + this.projects = new Resource$Projects(this.context); + } + } + + /** + * Aggregated data for the RegistryBook. + */ + export interface Schema$AggregatedData { + /** + * Output only. Number of custom ranges in the RegistryBook. + */ + customRangesCount?: number | null; + /** + * Output only. Number of custom realms in the RegistryBook. + */ + customRealmsCount?: number | null; + /** + * Output only. Number of discovered ranges in the RegistryBook. + */ + discoveredRangesCount?: number | null; + /** + * Output only. Number of discovered realms in the RegistryBook. + */ + discoveredRealmsCount?: number | null; + /** + * Output only. Number of scopes unique to the RegistryBook. + */ + uniqueScopesCount?: number | null; + } + /** + * Message describing Attribute object + */ + export interface Schema$Attribute { + /** + * Required. Key of attribute + */ + key?: string | null; + /** + * Required. Value of attribute + */ + value?: string | null; + } + /** + * The request message for Operations.CancelOperation. + */ + export interface Schema$CancelOperationRequest {} + /** + * Message for response to checking the availability of IpamAdminScopes + */ + export interface Schema$CheckAvailabilityIpamAdminScopesResponse { + /** + * The details of the requested scopes. + */ + scopeAvailabilities?: Schema$IpamAdminScopeAvailability[]; + } + /** + * Message for cleaning up a IpamAdminScope + */ + export interface Schema$CleanupIpamAdminScopeRequest { + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string | null; + } + /** + * Message describing CustomRange object + */ + export interface Schema$CustomRange { + /** + * Optional. The attributes of the CustomRange. + */ + attributes?: Schema$Attribute[]; + /** + * Optional. Description of the CustomRange. + */ + description?: string | null; + /** + * Optional. The IPv4 CIDR range of the CustomRange. + */ + ipv4CidrRange?: string | null; + /** + * Optional. The IPv6 CIDR range of the CustomRange. + */ + ipv6CidrRange?: string | null; + /** + * Optional. Labels as key value pairs + */ + labels?: {[key: string]: string} | null; + /** + * Required. Identifier. name of resource + */ + name?: string | null; + /** + * Optional. The parent range of the CustomRange. Do not allow setting parent range if realm is specified. Format must follow this pattern: projects/{project\}/locations/{location\}/customRanges/{custom_range\} + */ + parentRange?: string | null; + /** + * Optional. The realm of the CustomRange. The realm must be in the same project as the custom range. Do not allow setting realm if parent range is specified, since the realm should be inherited from the parent range. Format must follow this pattern: projects/{project\}/locations/{location\}/realms/{realm\} + */ + realm?: string | null; + /** + * Output only. The registry book of the CustomRange. This field is inherited from the realm or parent range depending on which one is specified. + */ + registryBook?: string | null; + } + /** + * Message for disabling a IpamAdminScope + */ + export interface Schema$DisableIpamAdminScopeRequest { + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string | null; + } + /** + * Message describing DiscoveredRange object + */ + export interface Schema$DiscoveredRange { + /** + * Optional. The attributes of the DiscoveredRange. + */ + attributes?: Schema$Attribute[]; + /** + * Output only. If true, allow child ranges of this range to overlap with each other. + */ + childCidrOverlapAllowed?: boolean | null; + /** + * Output only. [Output only] Create time stamp + */ + createTime?: string | null; + /** + * Optional. Description of the DiscoveredRange. + */ + description?: string | null; + /** + * Output only. Owner metadata for this DiscoveredRange. A unique set of metadata is associated with each DiscoveredRange. If an IP range is shared by multiple resources (e.g., an Address resource and an Instance resource, or multiple ForwardingRules),separate DiscoveredRanges are created, each with a distinct owner. This ensures each DiscoveredRange has its own unique set of attributes, labels, create time and update time. + */ + discoveryMetadata?: Schema$DiscoveryMetadata; + /** + * Optional. The IPv4 CIDR range of the DiscoveredRange. + */ + ipv4CidrRange?: string | null; + /** + * Optional. The IPv6 CIDR range of the DiscoveredRange. + */ + ipv6CidrRange?: string | null; + /** + * Optional. Labels as key value pairs + */ + labels?: {[key: string]: string} | null; + /** + * Required. Identifier. Name of the DiscoveredRange. + */ + name?: string | null; + /** + * Optional. The parent range of the DiscoveredRange. + */ + parentRange?: string | null; + /** + * Optional. The realm of the DiscoveredRange. + */ + realm?: string | null; + /** + * Output only. The registry book of the DiscoveredRange. + */ + registryBook?: string | null; + /** + * Output only. [Output only] Update time stamp + */ + updateTime?: string | null; + } + /** + * Discovery metadata of the discovered resource. + */ + export interface Schema$DiscoveryMetadata { + /** + * Output only. The time when the resource was created. + */ + createTime?: string | null; + /** + * Output only. The time when the event happened. + */ + eventTime?: string | null; + /** + * Output only. The resource name of the discovered resource, should be API-agnostic. Example: "projects/{project_number\}/networks/{network_id\}". + */ + resource?: string | null; + /** + * Output only. The resource uri of the discovered resource. + */ + resourceUri?: string | null; + /** + * Output only. The canonical google.aip.dev/122 name of the source resource. + */ + sourceId?: string | null; + /** + * Output only. A single source resource can be the source of multiple CNR resources. This sub_id is used to distinguish between the different CNR resources derived from the same upstream resource. For example, a single subnetwork can be the source of multiple ranges, one for each protocol. In this case, the sub_id could be "private-ipv4" or "private-ipv6". + */ + sourceSubId?: string | null; + /** + * Output only. The state of the resource. + */ + state?: string | null; + /** + * Output only. The time when the resource was last modified. + */ + updateTime?: string | null; + } + /** + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} + */ + export interface Schema$Empty {} + /** + * Message for the response to finding free IP ranges. + */ + export interface Schema$FindCustomRangeFreeIpRangesResponse { + /** + * Output only. Free IP CIDR ranges found in the CustomRange. + */ + freeIpCidrRanges?: string[] | null; + } + /** + * Message for the response to finding free IP ranges. + */ + export interface Schema$FindDiscoveredRangeFreeIpRangesResponse { + /** + * Output only. Free IP CIDR ranges found in the DiscoveredRange. + */ + freeIpCidrRanges?: string[] | null; + } + /** + * Message describing IpamAdminScope object + */ + export interface Schema$IpamAdminScope { + /** + * Output only. [Output only] Create time stamp + */ + createTime?: string | null; + /** + * Required. Addon platforms that are enabled for this IPAM admin scope. Cloud Number Registry only discovers the IP addresses from the enabled platforms. + */ + enabledAddonPlatforms?: string[] | null; + /** + * Optional. Labels as key value pairs + */ + labels?: {[key: string]: string} | null; + /** + * Required. Identifier. name of resource + */ + name?: string | null; + /** + * Required. Administrative scopes enabled for IP address discovery and management. For example, "organizations/1234567890". Minimum of 1 scope is required. In preview, only one organization scope is allowed. + */ + scopes?: string[] | null; + /** + * Output only. State of resource discovery pipeline. + */ + state?: string | null; + /** + * Output only. [Output only] Update time stamp + */ + updateTime?: string | null; + } + /** + * Message for the availability of an IpamAdminScope + */ + export interface Schema$IpamAdminScopeAvailability { + /** + * The admin project of the IpamAdminScope if it exists. + */ + adminProject?: string | null; + /** + * The availability of the scope. + */ + availability?: string | null; + /** + * The scope of the IpamAdminScope. + */ + scope?: string | null; + } + /** + * Message for response to listing CustomRanges + */ + export interface Schema$ListCustomRangesResponse { + /** + * The list of CustomRange + */ + customRanges?: Schema$CustomRange[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Message for response to listing DiscoveredRanges + */ + export interface Schema$ListDiscoveredRangesResponse { + /** + * The list of DiscoveredRange + */ + discoveredRanges?: Schema$DiscoveredRange[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Message for response to listing ipamAdminScopes + */ + export interface Schema$ListIpamAdminScopesResponse { + /** + * The list of IpamAdminScope + */ + ipamAdminScopes?: Schema$IpamAdminScope[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * The response message for Locations.ListLocations. + */ + export interface Schema$ListLocationsResponse { + /** + * A list of locations that matches the specified filter in the request. + */ + locations?: Schema$Location[]; + /** + * The standard List next-page token. + */ + nextPageToken?: string | null; + } + /** + * The response message for Operations.ListOperations. + */ + export interface Schema$ListOperationsResponse { + /** + * The standard List next-page token. + */ + nextPageToken?: string | null; + /** + * A list of operations that matches the specified filter in the request. + */ + operations?: Schema$Operation[]; + /** + * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations. + */ + unreachable?: string[] | null; + } + /** + * Message for response to listing Realms + */ + export interface Schema$ListRealmsResponse { + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * The list of Realm + */ + realms?: Schema$Realm[]; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Message for response to listing RegistryBooks + */ + export interface Schema$ListRegistryBooksResponse { + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * The list of RegistryBook + */ + registryBooks?: Schema$RegistryBook[]; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * A resource that represents a Google Cloud location. + */ + export interface Schema$Location { + /** + * The friendly name for this location, typically a nearby city name. For example, "Tokyo". + */ + displayName?: string | null; + /** + * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"\} + */ + labels?: {[key: string]: string} | null; + /** + * The canonical id for this location. For example: `"us-east1"`. + */ + locationId?: string | null; + /** + * Service-specific metadata. For example the available capacity at the given location. + */ + metadata?: {[key: string]: any} | null; + /** + * Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` + */ + name?: string | null; + } + /** + * This resource represents a long-running operation that is the result of a network API call. + */ + export interface Schema$Operation { + /** + * If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + */ + done?: boolean | null; + /** + * The error result of the operation in case of failure or cancellation. + */ + error?: Schema$Status; + /** + * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + */ + metadata?: {[key: string]: any} | null; + /** + * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`. + */ + name?: string | null; + /** + * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + */ + response?: {[key: string]: any} | null; + } + /** + * Represents the metadata of the long-running operation. + */ + export interface Schema$OperationMetadata { + /** + * Output only. API version used to start the operation. + */ + apiVersion?: string | null; + /** + * Output only. The time the operation was created. + */ + createTime?: string | null; + /** + * Output only. The time the operation finished running. + */ + endTime?: string | null; + /** + * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + */ + requestedCancellation?: boolean | null; + /** + * Output only. Human-readable status of the operation, if any. + */ + statusMessage?: string | null; + /** + * Output only. Server-defined resource path for the target of the operation. + */ + target?: string | null; + /** + * Output only. Name of the verb executed by the operation. + */ + verb?: string | null; + } + /** + * Message describing either a CustomRange or a DiscoveredRange. + */ + export interface Schema$Range { + /** + * A custom range. + */ + customRange?: Schema$CustomRange; + /** + * A discovered range. + */ + discoveredRange?: Schema$DiscoveredRange; + /** + * The utilization of the range. + */ + utilization?: Schema$RangeUtilization; + } + /** + * Message for the utilization of an IP range + */ + export interface Schema$RangeUtilization { + /** + * Output only. The total number of IP addresses consumed in the range. + */ + totalConsumed?: string | null; + /** + * Output only. The total number of IP addresses produced in the range. + */ + totalProduced?: string | null; + /** + * Output only. The usage of the range as a percentage. This is marked as optional so that we have presence tracking and API responses show 0.0 instead of NULL. + */ + usage?: number | null; + } + /** + * Message describing Realm object + */ + export interface Schema$Realm { + /** + * Output only. Aggregated data for the Realm. Populated only when the view is AGGREGATE. + */ + aggregatedData?: Schema$RealmAggregatedData; + /** + * Output only. [Output only] Create time stamp + */ + createTime?: string | null; + /** + * Output only. Discovery metadata of the realm. + */ + discoveryMetadata?: Schema$DiscoveryMetadata; + /** + * Optional. IP version of the realm. + */ + ipVersion?: string | null; + /** + * Optional. Labels as key value pairs + */ + labels?: {[key: string]: string} | null; + /** + * Required. Management type of realm. + */ + managementType?: string | null; + /** + * Required. Identifier. Unique name/ID of the realm + */ + name?: string | null; + /** + * Required. URI of the registry book that claims the realm. + */ + registryBook?: string | null; + /** + * Required. Traffic type of realm. + */ + trafficType?: string | null; + /** + * Output only. [Output only] Update time stamp + */ + updateTime?: string | null; + } + /** + * Aggregated data for the Realm. + */ + export interface Schema$RealmAggregatedData { + /** + * Output only. Number of custom ranges in the Realm. + */ + customRangesCount?: number | null; + /** + * Output only. Number of discovered ranges in the Realm. + */ + discoveredRangesCount?: number | null; + } + /** + * Message describing RegistryBook object + */ + export interface Schema$RegistryBook { + /** + * Output only. Aggregated data for the RegistryBook. Populated only when the view is AGGREGATE. + */ + aggregatedData?: Schema$AggregatedData; + /** + * Optional. List of scopes claimed by the RegistryBook. In Preview, Only project scope is supported. Each scope is in the format of projects/{project\}. Each scope can only be claimed once. + */ + claimedScopes?: string[] | null; + /** + * Output only. [Output only] Create time stamp + */ + createTime?: string | null; + /** + * Output only. Whether the RegistryBook is the default one. + */ + isDefault?: boolean | null; + /** + * Optional. Labels as key value pairs + */ + labels?: {[key: string]: string} | null; + /** + * Required. Identifier. name of resource + */ + name?: string | null; + /** + * Output only. [Output only] Update time stamp + */ + updateTime?: string | null; + } + /** + * Message for searching IP resources + */ + export interface Schema$SearchIpResourcesRequest { + /** + * Optional. Hint for how to order the results + */ + orderBy?: string | null; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number | null; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string | null; + /** + * Optional. Search query. This string filters resources in an AIP-160-like format. It has some limitations. You can only specify top level conjunctions or attribute level negations. Each restriction can only be used once except the attribute restriction. The available restrictions for ranges are: - `realm`: The realm name to search in. - `ip_address`: The IP address to search for within ranges. - `ip_version`: The IP version to filter by (e.g., "IPV4", "IPV6"). - `parent_range`: The parent range of the range to search for. - `attribute_text`: The attribute text to search for within ranges. - `attribute`: The attribute key and value to filter by. The available restrictions for realms are: - `ip_version`: The IP version to search for. Only one of attribute_text or multiple attribute filters can be specified. Examples: - `realm=test-realm` - `realm=test-realm AND ip_address=10.0.0.0` - `realm=test-realm AND ip_version=IPV6` - `realm=test-realm AND attribute_text=test` - `ip_address=10.0.0.0 AND attribute:(key1=value1) AND attribute:(key2=value2)` - `attribute_text=test AND parent_range=projects/123/locations/global/discoveredRanges/test-parent-range` + */ + query?: string | null; + /** + * Optional. The type of resources to search for. If not specified, the server will return ranges. + */ + searchResourceTypes?: string[] | null; + /** + * Optional. Whether to show the utilization of the ranges in the response. + */ + showUtilization?: boolean | null; + } + /** + * Message for response to searching IP resources + */ + export interface Schema$SearchIpResourcesResponse { + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Deprecated: Use results field instead. The list of ranges matching the search query. + */ + ranges?: Schema$Range[]; + /** + * The list of results matching the search query. + */ + results?: Schema$SearchIpResourcesResult[]; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * A result matching the search query, which can be either a range or a realm. + */ + export interface Schema$SearchIpResourcesResult { + /** + * A range matching the search query. + */ + range?: Schema$Range; + /** + * A realm matching the search query. + */ + realm?: Schema$Realm; + } + /** + * Message for the response to getting the utilization of a CustomRange + */ + export interface Schema$ShowCustomRangeUtilizationResponse { + /** + * The CustomRange resource. + */ + customRange?: Schema$CustomRange; + /** + * The utilization of the CustomRange. + */ + rangeUtilization?: Schema$RangeUtilization; + } + /** + * Message for the response to getting the utilization of a DiscoveredRange + */ + export interface Schema$ShowDiscoveredRangeUtilizationResponse { + /** + * The DiscoveredRange resource. + */ + discoveredRange?: Schema$DiscoveredRange; + /** + * The utilization of the DiscoveredRange. + */ + rangeUtilization?: Schema$RangeUtilization; + } + /** + * 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). + */ + export interface Schema$Status { + /** + * The status code, which should be an enum value of google.rpc.Code. + */ + code?: number | null; + /** + * A list of messages that carry the error details. There is a common set of message types for APIs to use. + */ + details?: Array<{[key: string]: any}> | null; + /** + * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + */ + message?: string | null; + } + + export class Resource$Projects { + context: APIRequestContext; + locations: Resource$Projects$Locations; + constructor(context: APIRequestContext) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + + export class Resource$Projects$Locations { + context: APIRequestContext; + customRanges: Resource$Projects$Locations$Customranges; + discoveredRanges: Resource$Projects$Locations$Discoveredranges; + ipamAdminScopes: Resource$Projects$Locations$Ipamadminscopes; + operations: Resource$Projects$Locations$Operations; + realms: Resource$Projects$Locations$Realms; + registryBooks: Resource$Projects$Locations$Registrybooks; + constructor(context: APIRequestContext) { + this.context = context; + this.customRanges = new Resource$Projects$Locations$Customranges( + this.context + ); + this.discoveredRanges = new Resource$Projects$Locations$Discoveredranges( + this.context + ); + this.ipamAdminScopes = new Resource$Projects$Locations$Ipamadminscopes( + this.context + ); + this.operations = new Resource$Projects$Locations$Operations( + this.context + ); + this.realms = new Resource$Projects$Locations$Realms(this.context); + this.registryBooks = new Resource$Projects$Locations$Registrybooks( + this.context + ); + } + + /** + * Gets information about a location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.get({ + * // Resource name for the location. + * name: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "displayName": "my_displayName", + * // "labels": {}, + * // "locationId": "my_locationId", + * // "metadata": {}, + * // "name": "my_name" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+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 information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.list({ + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. + * extraLocationTypes: 'placeholder-value', + * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + * filter: 'placeholder-value', + * // The resource that owns the locations collection, if applicable. + * name: 'projects/my-project', + * // The maximum number of results to return. If not set, the service selects a default. + * pageSize: 'placeholder-value', + * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + * pageToken: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "locations": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}/locations').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); + } + } + } + + export interface Params$Resource$Projects$Locations$Get extends StandardParameters { + /** + * Resource name for the location. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$List extends StandardParameters { + /** + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. + */ + extraLocationTypes?: string[]; + /** + * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + */ + filter?: string; + /** + * The resource that owns the locations collection, if applicable. + */ + name?: string; + /** + * The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + } + + export class Resource$Projects$Locations$Customranges { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new CustomRange in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.customRanges.create({ + * // Required. Id of the requesting object. + * customRangeId: 'placeholder-value', + * // Required. Value for parent. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "attributes": [], + * // "description": "my_description", + * // "ipv4CidrRange": "my_ipv4CidrRange", + * // "ipv6CidrRange": "my_ipv6CidrRange", + * // "labels": {}, + * // "name": "my_name", + * // "parentRange": "my_parentRange", + * // "realm": "my_realm", + * // "registryBook": "my_registryBook" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Customranges$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Customranges$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Customranges$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Customranges$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Customranges$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Customranges$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Customranges$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Customranges$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/customRanges').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single CustomRange. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.customRanges.delete({ + * // Optional. If set to true, all associated resources will be deleted. + * force: 'placeholder-value', + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/customRanges/my-customRange', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Customranges$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Customranges$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Customranges$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Customranges$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Customranges$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Customranges$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Customranges$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Customranges$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+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); + } + } + + /** + * Finds free IP ranges in a single CustomRange. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await cloudnumberregistry.projects.locations.customRanges.findFreeIpRanges({ + * // Required. The prefix length of the free IP ranges to find. + * cidrPrefixLength: 'placeholder-value', + * // Required. Name of the CustomRange. + * name: 'projects/my-project/locations/my-location/customRanges/my-customRange', + * // Optional. The number of free IP ranges to find. + * rangeCount: 'placeholder-value', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "freeIpCidrRanges": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + findFreeIpRanges( + params: Params$Resource$Projects$Locations$Customranges$Findfreeipranges, + options: StreamMethodOptions + ): Promise>; + findFreeIpRanges( + params?: Params$Resource$Projects$Locations$Customranges$Findfreeipranges, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + findFreeIpRanges( + params: Params$Resource$Projects$Locations$Customranges$Findfreeipranges, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + findFreeIpRanges( + params: Params$Resource$Projects$Locations$Customranges$Findfreeipranges, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + findFreeIpRanges( + params: Params$Resource$Projects$Locations$Customranges$Findfreeipranges, + callback: BodyResponseCallback + ): void; + findFreeIpRanges( + callback: BodyResponseCallback + ): void; + findFreeIpRanges( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Customranges$Findfreeipranges + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Customranges$Findfreeipranges; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Customranges$Findfreeipranges; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}:findFreeIpRanges').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 + ); + } + } + + /** + * Gets details of a single CustomRange. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.customRanges.get({ + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/customRanges/my-customRange', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "attributes": [], + * // "description": "my_description", + * // "ipv4CidrRange": "my_ipv4CidrRange", + * // "ipv6CidrRange": "my_ipv6CidrRange", + * // "labels": {}, + * // "name": "my_name", + * // "parentRange": "my_parentRange", + * // "realm": "my_realm", + * // "registryBook": "my_registryBook" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Customranges$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Customranges$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Customranges$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Customranges$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Customranges$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Customranges$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Customranges$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Customranges$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+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 CustomRanges in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.customRanges.list({ + * // Optional. Filtering results. + * filter: 'placeholder-value', + * // Optional. Hint for how to order the results. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListCustomRangesRequest + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "customRanges": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Customranges$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Customranges$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Customranges$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Customranges$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Customranges$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Customranges$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Customranges$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Customranges$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/customRanges').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); + } + } + + /** + * Updates the parameters of a single CustomRange. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.customRanges.patch({ + * // Required. Identifier. name of resource + * name: 'projects/my-project/locations/my-location/customRanges/my-customRange', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. Field mask is used to specify the fields to be overwritten in the CustomRange resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "attributes": [], + * // "description": "my_description", + * // "ipv4CidrRange": "my_ipv4CidrRange", + * // "ipv6CidrRange": "my_ipv6CidrRange", + * // "labels": {}, + * // "name": "my_name", + * // "parentRange": "my_parentRange", + * // "realm": "my_realm", + * // "registryBook": "my_registryBook" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Customranges$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Customranges$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Customranges$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Customranges$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Customranges$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Customranges$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Customranges$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Customranges$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets the details of a single CustomRange and its utilization. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await cloudnumberregistry.projects.locations.customRanges.showUtilization({ + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/customRanges/my-customRange', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "customRange": {}, + * // "rangeUtilization": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + showUtilization( + params: Params$Resource$Projects$Locations$Customranges$Showutilization, + options: StreamMethodOptions + ): Promise>; + showUtilization( + params?: Params$Resource$Projects$Locations$Customranges$Showutilization, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + showUtilization( + params: Params$Resource$Projects$Locations$Customranges$Showutilization, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + showUtilization( + params: Params$Resource$Projects$Locations$Customranges$Showutilization, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + showUtilization( + params: Params$Resource$Projects$Locations$Customranges$Showutilization, + callback: BodyResponseCallback + ): void; + showUtilization( + callback: BodyResponseCallback + ): void; + showUtilization( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Customranges$Showutilization + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Customranges$Showutilization; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Customranges$Showutilization; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}:showUtilization').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 + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Customranges$Create extends StandardParameters { + /** + * Required. Id of the requesting object. + */ + customRangeId?: string; + /** + * Required. Value for parent. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CustomRange; + } + export interface Params$Resource$Projects$Locations$Customranges$Delete extends StandardParameters { + /** + * Optional. If set to true, all associated resources will be deleted. + */ + force?: boolean; + /** + * Required. Name of the resource + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Customranges$Findfreeipranges extends StandardParameters { + /** + * Required. The prefix length of the free IP ranges to find. + */ + cidrPrefixLength?: number; + /** + * Required. Name of the CustomRange. + */ + name?: string; + /** + * Optional. The number of free IP ranges to find. + */ + rangeCount?: number; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Customranges$Get extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Customranges$List extends StandardParameters { + /** + * Optional. Filtering results. + */ + filter?: string; + /** + * Optional. Hint for how to order the results. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. Parent value for ListCustomRangesRequest + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Customranges$Patch extends StandardParameters { + /** + * Required. Identifier. name of resource + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the CustomRange resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CustomRange; + } + export interface Params$Resource$Projects$Locations$Customranges$Showutilization extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + } + + export class Resource$Projects$Locations$Discoveredranges { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Finds free IP ranges in a single DiscoveredRange. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await cloudnumberregistry.projects.locations.discoveredRanges.findFreeIpRanges( + * { + * // Required. The prefix length of the free IP ranges to find. + * cidrPrefixLength: 'placeholder-value', + * // Required. Name of the DiscoveredRange. + * name: 'projects/my-project/locations/my-location/discoveredRanges/my-discoveredRange', + * // Optional. The number of free IP ranges to find. + * rangeCount: 'placeholder-value', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "freeIpCidrRanges": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + findFreeIpRanges( + params: Params$Resource$Projects$Locations$Discoveredranges$Findfreeipranges, + options: StreamMethodOptions + ): Promise>; + findFreeIpRanges( + params?: Params$Resource$Projects$Locations$Discoveredranges$Findfreeipranges, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + findFreeIpRanges( + params: Params$Resource$Projects$Locations$Discoveredranges$Findfreeipranges, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + findFreeIpRanges( + params: Params$Resource$Projects$Locations$Discoveredranges$Findfreeipranges, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + findFreeIpRanges( + params: Params$Resource$Projects$Locations$Discoveredranges$Findfreeipranges, + callback: BodyResponseCallback + ): void; + findFreeIpRanges( + callback: BodyResponseCallback + ): void; + findFreeIpRanges( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Discoveredranges$Findfreeipranges + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Discoveredranges$Findfreeipranges; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Discoveredranges$Findfreeipranges; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}:findFreeIpRanges').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 + ); + } + } + + /** + * Gets details of a single DiscoveredRange. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.discoveredRanges.get( + * { + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/discoveredRanges/my-discoveredRange', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "attributes": [], + * // "childCidrOverlapAllowed": false, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "discoveryMetadata": {}, + * // "ipv4CidrRange": "my_ipv4CidrRange", + * // "ipv6CidrRange": "my_ipv6CidrRange", + * // "labels": {}, + * // "name": "my_name", + * // "parentRange": "my_parentRange", + * // "realm": "my_realm", + * // "registryBook": "my_registryBook", + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Discoveredranges$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Discoveredranges$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Discoveredranges$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Discoveredranges$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Discoveredranges$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Discoveredranges$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Discoveredranges$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Discoveredranges$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+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 DiscoveredRanges in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await cloudnumberregistry.projects.locations.discoveredRanges.list({ + * // Optional. Filtering results. + * filter: 'placeholder-value', + * // Optional. Hint for how to order the results. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListDiscoveredRangesRequest + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "discoveredRanges": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Discoveredranges$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Discoveredranges$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Discoveredranges$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Discoveredranges$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Discoveredranges$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Discoveredranges$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Discoveredranges$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Discoveredranges$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/discoveredRanges').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 + ); + } + } + + /** + * Gets the details of a single DiscoveredRange and its utilization. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await cloudnumberregistry.projects.locations.discoveredRanges.showUtilization( + * { + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/discoveredRanges/my-discoveredRange', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "discoveredRange": {}, + * // "rangeUtilization": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + showUtilization( + params: Params$Resource$Projects$Locations$Discoveredranges$Showutilization, + options: StreamMethodOptions + ): Promise>; + showUtilization( + params?: Params$Resource$Projects$Locations$Discoveredranges$Showutilization, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + showUtilization( + params: Params$Resource$Projects$Locations$Discoveredranges$Showutilization, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + showUtilization( + params: Params$Resource$Projects$Locations$Discoveredranges$Showutilization, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + showUtilization( + params: Params$Resource$Projects$Locations$Discoveredranges$Showutilization, + callback: BodyResponseCallback + ): void; + showUtilization( + callback: BodyResponseCallback + ): void; + showUtilization( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Discoveredranges$Showutilization + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Discoveredranges$Showutilization; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Discoveredranges$Showutilization; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}:showUtilization').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 + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Discoveredranges$Findfreeipranges extends StandardParameters { + /** + * Required. The prefix length of the free IP ranges to find. + */ + cidrPrefixLength?: number; + /** + * Required. Name of the DiscoveredRange. + */ + name?: string; + /** + * Optional. The number of free IP ranges to find. + */ + rangeCount?: number; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Discoveredranges$Get extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Discoveredranges$List extends StandardParameters { + /** + * Optional. Filtering results. + */ + filter?: string; + /** + * Optional. Hint for how to order the results. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. Parent value for ListDiscoveredRangesRequest + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Discoveredranges$Showutilization extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + } + + export class Resource$Projects$Locations$Ipamadminscopes { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Checks the availability of IPAM admin scopes in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await cloudnumberregistry.projects.locations.ipamAdminScopes.checkAvailability( + * { + * // Required. Parent value for the IpamAdminScopes. + * parent: 'projects/my-project/locations/my-location', + * // Required. The scopes of the IpamAdminScopes to look for. + * scopes: 'placeholder-value', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "scopeAvailabilities": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + checkAvailability( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Checkavailability, + options: StreamMethodOptions + ): Promise>; + checkAvailability( + params?: Params$Resource$Projects$Locations$Ipamadminscopes$Checkavailability, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + checkAvailability( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Checkavailability, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + checkAvailability( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Checkavailability, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + checkAvailability( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Checkavailability, + callback: BodyResponseCallback + ): void; + checkAvailability( + callback: BodyResponseCallback + ): void; + checkAvailability( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Ipamadminscopes$Checkavailability + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Ipamadminscopes$Checkavailability; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Ipamadminscopes$Checkavailability; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1alpha/{+parent}/ipamAdminScopes:checkAvailability' + ).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 + ); + } + } + + /** + * Cleans up a single IpamAdminScope. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await cloudnumberregistry.projects.locations.ipamAdminScopes.cleanup({ + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/ipamAdminScopes/my-ipamAdminScope', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "requestId": "my_requestId" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + cleanup( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Cleanup, + options: StreamMethodOptions + ): Promise>; + cleanup( + params?: Params$Resource$Projects$Locations$Ipamadminscopes$Cleanup, + options?: MethodOptions + ): Promise>; + cleanup( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Cleanup, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cleanup( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Cleanup, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cleanup( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Cleanup, + callback: BodyResponseCallback + ): void; + cleanup(callback: BodyResponseCallback): void; + cleanup( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Ipamadminscopes$Cleanup + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Ipamadminscopes$Cleanup; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Ipamadminscopes$Cleanup; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}:cleanup').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Creates a new IpamAdminScope in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await cloudnumberregistry.projects.locations.ipamAdminScopes.create({ + * // Required. Id of the requesting object. + * ipamAdminScopeId: 'placeholder-value', + * // Required. Value for parent. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "enabledAddonPlatforms": [], + * // "labels": {}, + * // "name": "my_name", + * // "scopes": [], + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Ipamadminscopes$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Ipamadminscopes$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Ipamadminscopes$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Ipamadminscopes$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/ipamAdminScopes').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single IpamAdminScope. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await cloudnumberregistry.projects.locations.ipamAdminScopes.delete({ + * // Optional. If set to true, all associated resources will be deleted. + * force: 'placeholder-value', + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/ipamAdminScopes/my-ipamAdminScope', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Ipamadminscopes$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Ipamadminscopes$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Ipamadminscopes$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Ipamadminscopes$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Ipamadminscopes$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+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); + } + } + + /** + * Disables a single IpamAdminScope. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await cloudnumberregistry.projects.locations.ipamAdminScopes.disable({ + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/ipamAdminScopes/my-ipamAdminScope', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "requestId": "my_requestId" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + disable( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Disable, + options: StreamMethodOptions + ): Promise>; + disable( + params?: Params$Resource$Projects$Locations$Ipamadminscopes$Disable, + options?: MethodOptions + ): Promise>; + disable( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Disable, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + disable( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Disable, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + disable( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Disable, + callback: BodyResponseCallback + ): void; + disable(callback: BodyResponseCallback): void; + disable( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Ipamadminscopes$Disable + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Ipamadminscopes$Disable; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Ipamadminscopes$Disable; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}:disable').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + 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 IpamAdminScope. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.ipamAdminScopes.get({ + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/ipamAdminScopes/my-ipamAdminScope', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "createTime": "my_createTime", + * // "enabledAddonPlatforms": [], + * // "labels": {}, + * // "name": "my_name", + * // "scopes": [], + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Ipamadminscopes$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Ipamadminscopes$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Ipamadminscopes$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Ipamadminscopes$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Ipamadminscopes$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+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); + } + } + + /** + * List all IPAM admin scopes in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.ipamAdminScopes.list( + * { + * // Optional. Filtering results + * filter: 'placeholder-value', + * // Optional. Hint for how to order the results + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListIpamAdminScopesRequest + * parent: 'projects/my-project/locations/my-location', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "ipamAdminScopes": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Ipamadminscopes$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Ipamadminscopes$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Ipamadminscopes$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Ipamadminscopes$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Ipamadminscopes$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Ipamadminscopes$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Ipamadminscopes$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Ipamadminscopes$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/ipamAdminScopes').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); + } + } + + /** + * Updates the parameters of a single IpamAdminScope. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await cloudnumberregistry.projects.locations.ipamAdminScopes.patch({ + * // Required. Identifier. name of resource + * name: 'projects/my-project/locations/my-location/ipamAdminScopes/my-ipamAdminScope', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. Field mask is used to specify the fields to be overwritten in the IpamAdminScope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "enabledAddonPlatforms": [], + * // "labels": {}, + * // "name": "my_name", + * // "scopes": [], + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Ipamadminscopes$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Ipamadminscopes$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Ipamadminscopes$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Ipamadminscopes$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Ipamadminscopes$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Ipamadminscopes$Checkavailability extends StandardParameters { + /** + * Required. Parent value for the IpamAdminScopes. + */ + parent?: string; + /** + * Required. The scopes of the IpamAdminScopes to look for. + */ + scopes?: string[]; + } + export interface Params$Resource$Projects$Locations$Ipamadminscopes$Cleanup extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CleanupIpamAdminScopeRequest; + } + export interface Params$Resource$Projects$Locations$Ipamadminscopes$Create extends StandardParameters { + /** + * Required. Id of the requesting object. + */ + ipamAdminScopeId?: string; + /** + * Required. Value for parent. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$IpamAdminScope; + } + export interface Params$Resource$Projects$Locations$Ipamadminscopes$Delete extends StandardParameters { + /** + * Optional. If set to true, all associated resources will be deleted. + */ + force?: boolean; + /** + * Required. Name of the resource + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Ipamadminscopes$Disable extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$DisableIpamAdminScopeRequest; + } + export interface Params$Resource$Projects$Locations$Ipamadminscopes$Get extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Ipamadminscopes$List extends StandardParameters { + /** + * Optional. Filtering results + */ + filter?: string; + /** + * Optional. Hint for how to order the results + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. Parent value for ListIpamAdminScopesRequest + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Ipamadminscopes$Patch extends StandardParameters { + /** + * Required. Identifier. name of resource + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the IpamAdminScope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$IpamAdminScope; + } + + export class Resource$Projects$Locations$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.operations.cancel({ + * // The name of the operation resource to be cancelled. + * name: 'projects/my-project/locations/my-location/operations/my-operation', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // {} + * }, + * }); + * console.log(res.data); + * + * // Example response + * // {} + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: StreamMethodOptions + ): Promise>; + cancel( + params?: Params$Resource$Projects$Locations$Operations$Cancel, + options?: MethodOptions + ): Promise>; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + callback: BodyResponseCallback + ): void; + cancel(callback: BodyResponseCallback): void; + cancel( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Cancel + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Cancel; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Cancel; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}:cancel').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.operations.delete({ + * // The name of the operation resource to be deleted. + * name: 'projects/my-project/locations/my-location/operations/my-operation', + * }); + * console.log(res.data); + * + * // Example response + * // {} + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Operations$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Operations$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+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 the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.operations.get({ + * // The name of the operation resource. + * name: 'projects/my-project/locations/my-location/operations/my-operation', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Operations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Operations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Operations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Operations$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Operations$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+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 operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.operations.list({ + * // The standard list filter. + * filter: 'placeholder-value', + * // The name of the operation's parent resource. + * name: 'projects/my-project/locations/my-location', + * // The standard list page size. + * pageSize: 'placeholder-value', + * // The standard list page token. + * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "nextPageToken": "my_nextPageToken", + * // "operations": [], + * // "unreachable": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Operations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Operations$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Operations$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}/operations').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); + } + } + } + + export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters { + /** + * The name of the operation resource to be cancelled. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CancelOperationRequest; + } + export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters { + /** + * The name of the operation resource to be deleted. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters { + /** + * The name of the operation resource. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters { + /** + * The standard list filter. + */ + filter?: string; + /** + * The name of the operation's parent resource. + */ + name?: string; + /** + * The standard list page size. + */ + pageSize?: number; + /** + * The standard list page token. + */ + pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; + } + + export class Resource$Projects$Locations$Realms { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new Realm in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.realms.create({ + * // Required. Value for parent. + * parent: 'projects/my-project/locations/my-location', + * // Required. Id of the requesting object. + * realmId: 'placeholder-value', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "aggregatedData": {}, + * // "createTime": "my_createTime", + * // "discoveryMetadata": {}, + * // "ipVersion": "my_ipVersion", + * // "labels": {}, + * // "managementType": "my_managementType", + * // "name": "my_name", + * // "registryBook": "my_registryBook", + * // "trafficType": "my_trafficType", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Realms$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Realms$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Realms$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Realms$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Realms$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Realms$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Realms$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Realms$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/realms').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single Realm. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.realms.delete({ + * // Optional. If set to true, all associated resources will be deleted. + * force: 'placeholder-value', + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/realms/my-realm', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. + * requestId: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Realms$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Realms$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Realms$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Realms$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Realms$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Realms$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Realms$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Realms$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+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 Realm. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.realms.get({ + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/realms/my-realm', + * // Optional. The view of the Realm. + * view: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "aggregatedData": {}, + * // "createTime": "my_createTime", + * // "discoveryMetadata": {}, + * // "ipVersion": "my_ipVersion", + * // "labels": {}, + * // "managementType": "my_managementType", + * // "name": "my_name", + * // "registryBook": "my_registryBook", + * // "trafficType": "my_trafficType", + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Realms$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Realms$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Realms$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Realms$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Realms$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Realms$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Realms$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Realms$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+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 Realms in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.realms.list({ + * // Optional. Filtering results + * filter: 'placeholder-value', + * // Optional. Hint for how to order the results + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListRealmsRequest + * parent: 'projects/my-project/locations/my-location', + * // Optional. The view of the Realm. + * view: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "nextPageToken": "my_nextPageToken", + * // "realms": [], + * // "unreachable": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Realms$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Realms$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Realms$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Realms$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Realms$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Realms$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Realms$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Realms$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/realms').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); + } + } + + /** + * Updates the parameters of a single Realm. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.realms.patch({ + * // Required. Identifier. Unique name/ID of the realm + * name: 'projects/my-project/locations/my-location/realms/my-realm', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. + * requestId: 'placeholder-value', + * // Optional. Field mask is used to specify the fields to be overwritten in the Realm resource by the update. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "aggregatedData": {}, + * // "createTime": "my_createTime", + * // "discoveryMetadata": {}, + * // "ipVersion": "my_ipVersion", + * // "labels": {}, + * // "managementType": "my_managementType", + * // "name": "my_name", + * // "registryBook": "my_registryBook", + * // "trafficType": "my_trafficType", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Realms$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Realms$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Realms$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Realms$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Realms$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Realms$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Realms$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Realms$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Realms$Create extends StandardParameters { + /** + * Required. Value for parent. + */ + parent?: string; + /** + * Required. Id of the requesting object. + */ + realmId?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Realm; + } + export interface Params$Resource$Projects$Locations$Realms$Delete extends StandardParameters { + /** + * Optional. If set to true, all associated resources will be deleted. + */ + force?: boolean; + /** + * Required. Name of the resource + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Realms$Get extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + /** + * Optional. The view of the Realm. + */ + view?: string; + } + export interface Params$Resource$Projects$Locations$Realms$List extends StandardParameters { + /** + * Optional. Filtering results + */ + filter?: string; + /** + * Optional. Hint for how to order the results + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. Parent value for ListRealmsRequest + */ + parent?: string; + /** + * Optional. The view of the Realm. + */ + view?: string; + } + export interface Params$Resource$Projects$Locations$Realms$Patch extends StandardParameters { + /** + * Required. Identifier. Unique name/ID of the realm + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the Realm resource by the update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Realm; + } + + export class Resource$Projects$Locations$Registrybooks { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new RegistryBook in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.registryBooks.create( + * { + * // Required. Value for parent. + * parent: 'projects/my-project/locations/my-location', + * // Required. Id of the requesting object. + * registryBookId: 'placeholder-value', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "aggregatedData": {}, + * // "claimedScopes": [], + * // "createTime": "my_createTime", + * // "isDefault": false, + * // "labels": {}, + * // "name": "my_name", + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Registrybooks$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Registrybooks$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Registrybooks$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Registrybooks$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Registrybooks$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Registrybooks$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Registrybooks$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Registrybooks$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/registryBooks').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single RegistryBook. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.registryBooks.delete( + * { + * // Optional. If set to true, all associated resources will be deleted. + * force: 'placeholder-value', + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/registryBooks/my-registryBook', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Registrybooks$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Registrybooks$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Registrybooks$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Registrybooks$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Registrybooks$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Registrybooks$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Registrybooks$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Registrybooks$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+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 RegistryBook. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.registryBooks.get({ + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/registryBooks/my-registryBook', + * // Optional. The view of the RegistryBook. + * view: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "aggregatedData": {}, + * // "claimedScopes": [], + * // "createTime": "my_createTime", + * // "isDefault": false, + * // "labels": {}, + * // "name": "my_name", + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Registrybooks$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Registrybooks$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Registrybooks$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Registrybooks$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Registrybooks$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Registrybooks$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Registrybooks$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Registrybooks$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+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 RegistryBooks in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.registryBooks.list({ + * // Optional. Filtering results + * filter: 'placeholder-value', + * // Optional. Hint for how to order the results + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListRegistryBooksRequest + * parent: 'projects/my-project/locations/my-location', + * // Optional. The view of the RegistryBook. + * view: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "nextPageToken": "my_nextPageToken", + * // "registryBooks": [], + * // "unreachable": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Registrybooks$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Registrybooks$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Registrybooks$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Registrybooks$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Registrybooks$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Registrybooks$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Registrybooks$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Registrybooks$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/registryBooks').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); + } + } + + /** + * Updates the parameters of a single RegistryBook. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudnumberregistry.projects.locations.registryBooks.patch({ + * // Required. Identifier. name of resource + * name: 'projects/my-project/locations/my-location/registryBooks/my-registryBook', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. Field mask is used to specify the fields to be overwritten in the RegistryBook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "aggregatedData": {}, + * // "claimedScopes": [], + * // "createTime": "my_createTime", + * // "isDefault": false, + * // "labels": {}, + * // "name": "my_name", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Registrybooks$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Registrybooks$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Registrybooks$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Registrybooks$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Registrybooks$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Registrybooks$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Registrybooks$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Registrybooks$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Searches IP resources in a given RegistryBook. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudnumberregistry.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudnumberregistry = google.cloudnumberregistry('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await cloudnumberregistry.projects.locations.registryBooks.searchIpResources( + * { + * // Required. The name of the RegistryBook to search in. + * name: 'projects/my-project/locations/my-location/registryBooks/my-registryBook', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "orderBy": "my_orderBy", + * // "pageSize": 0, + * // "pageToken": "my_pageToken", + * // "query": "my_query", + * // "searchResourceTypes": [], + * // "showUtilization": false + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "nextPageToken": "my_nextPageToken", + * // "ranges": [], + * // "results": [], + * // "unreachable": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + searchIpResources( + params: Params$Resource$Projects$Locations$Registrybooks$Searchipresources, + options: StreamMethodOptions + ): Promise>; + searchIpResources( + params?: Params$Resource$Projects$Locations$Registrybooks$Searchipresources, + options?: MethodOptions + ): Promise>; + searchIpResources( + params: Params$Resource$Projects$Locations$Registrybooks$Searchipresources, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + searchIpResources( + params: Params$Resource$Projects$Locations$Registrybooks$Searchipresources, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + searchIpResources( + params: Params$Resource$Projects$Locations$Registrybooks$Searchipresources, + callback: BodyResponseCallback + ): void; + searchIpResources( + callback: BodyResponseCallback + ): void; + searchIpResources( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Registrybooks$Searchipresources + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Registrybooks$Searchipresources; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Registrybooks$Searchipresources; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudnumberregistry.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}:searchIpResources').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Registrybooks$Create extends StandardParameters { + /** + * Required. Value for parent. + */ + parent?: string; + /** + * Required. Id of the requesting object. + */ + registryBookId?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RegistryBook; + } + export interface Params$Resource$Projects$Locations$Registrybooks$Delete extends StandardParameters { + /** + * Optional. If set to true, all associated resources will be deleted. + */ + force?: boolean; + /** + * Required. Name of the resource + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Registrybooks$Get extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + /** + * Optional. The view of the RegistryBook. + */ + view?: string; + } + export interface Params$Resource$Projects$Locations$Registrybooks$List extends StandardParameters { + /** + * Optional. Filtering results + */ + filter?: string; + /** + * Optional. Hint for how to order the results + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. Parent value for ListRegistryBooksRequest + */ + parent?: string; + /** + * Optional. The view of the RegistryBook. + */ + view?: string; + } + export interface Params$Resource$Projects$Locations$Registrybooks$Patch extends StandardParameters { + /** + * Required. Identifier. name of resource + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the RegistryBook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RegistryBook; + } + export interface Params$Resource$Projects$Locations$Registrybooks$Searchipresources extends StandardParameters { + /** + * Required. The name of the RegistryBook to search in. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SearchIpResourcesRequest; + } +} diff --git a/src/apis/cloudnumberregistry/webpack.config.js b/src/apis/cloudnumberregistry/webpack.config.js new file mode 100644 index 0000000000..dc6b76aa21 --- /dev/null +++ b/src/apis/cloudnumberregistry/webpack.config.js @@ -0,0 +1,79 @@ +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Use `npm run webpack` to produce Webpack bundle for this library. + +const path = require('path'); + +module.exports = { + entry: './index.ts', + resolve: { + extensions: ['.ts', '.js', '.json'], + fallback: { + crypto: false, + child_process: false, + fs: false, + http2: false, + buffer: 'browserify', + process: false, + os: false, + querystring: false, + path: false, + stream: 'stream-browserify', + url: false, + util: false, + zlib: false, + }, + }, + output: { + library: 'Cloudnumberregistry', + filename: 'cloudnumberregistry.min.js', + path: path.resolve(__dirname, 'dist'), + }, + module: { + rules: [ + { + test: /node_modules[\\/]google-auth-library[\\/]src[\\/]crypto[\\/]node[\\/]crypto/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]https-proxy-agent[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]gcp-metadata[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]gtoken[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]pkginfo[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]semver[\\/]/, + use: 'null-loader', + }, + { + test: /\.ts$/, + use: 'ts-loader', + exclude: /node_modules/, + }, + ], + }, + mode: 'production', + plugins: [], +}; From 65c5892c9133fd7d584e674ced8b3fc31c90cda7 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:36 +0000 Subject: [PATCH 20/69] feat(cloudsupport): update the API #### cloudsupport:v2beta The following keys were added: - schemas.Media.properties.sha512Hash.description - schemas.Media.properties.sha512Hash.format - schemas.Media.properties.sha512Hash.type The following keys were changed: - resources.caseClassifications.methods.search.description - resources.cases.methods.close.description - resources.cases.methods.create.description - resources.cases.methods.escalate.description - resources.cases.methods.get.description - resources.cases.methods.list.description - resources.cases.methods.patch.description - resources.cases.methods.search.description - resources.cases.resources.attachments.methods.get.description - resources.cases.resources.attachments.methods.list.description - resources.cases.resources.comments.methods.create.description - resources.cases.resources.comments.methods.get.description - resources.cases.resources.comments.methods.list.description - resources.media.methods.download.description - resources.media.methods.upload.description #### cloudsupport:v2 The following keys were added: - resources.cases.resources.attachments.methods.get.description - resources.cases.resources.attachments.methods.get.flatPath - resources.cases.resources.attachments.methods.get.httpMethod - resources.cases.resources.attachments.methods.get.id - resources.cases.resources.attachments.methods.get.parameterOrder - resources.cases.resources.attachments.methods.get.parameters.name.description - resources.cases.resources.attachments.methods.get.parameters.name.location - resources.cases.resources.attachments.methods.get.parameters.name.pattern - resources.cases.resources.attachments.methods.get.parameters.name.required - resources.cases.resources.attachments.methods.get.parameters.name.type - resources.cases.resources.attachments.methods.get.path - resources.cases.resources.attachments.methods.get.response.$ref - resources.cases.resources.attachments.methods.get.scopes - resources.cases.resources.comments.methods.get.description - resources.cases.resources.comments.methods.get.flatPath - resources.cases.resources.comments.methods.get.httpMethod - resources.cases.resources.comments.methods.get.id - resources.cases.resources.comments.methods.get.parameterOrder - resources.cases.resources.comments.methods.get.parameters.name.description - resources.cases.resources.comments.methods.get.parameters.name.location - resources.cases.resources.comments.methods.get.parameters.name.pattern - resources.cases.resources.comments.methods.get.parameters.name.required - resources.cases.resources.comments.methods.get.parameters.name.type - resources.cases.resources.comments.methods.get.path - resources.cases.resources.comments.methods.get.response.$ref - resources.cases.resources.comments.methods.get.scopes - schemas.Media.properties.sha512Hash.description - schemas.Media.properties.sha512Hash.format - schemas.Media.properties.sha512Hash.type The following keys were changed: - resources.media.methods.upload.description --- discovery/cloudsupport-v2.json | 59 +++++- discovery/cloudsupport-v2beta.json | 37 ++-- src/apis/cloudsupport/v2.ts | 296 ++++++++++++++++++++++++++++- src/apis/cloudsupport/v2beta.ts | 35 ++-- 4 files changed, 393 insertions(+), 34 deletions(-) diff --git a/discovery/cloudsupport-v2.json b/discovery/cloudsupport-v2.json index 110883f3c8..6f0a93cc08 100644 --- a/discovery/cloudsupport-v2.json +++ b/discovery/cloudsupport-v2.json @@ -372,6 +372,31 @@ "resources": { "attachments": { "methods": { + "get": { + "description": "Retrieve an attachment associated with a support case. EXAMPLES: cURL: ```shell attachment=\"projects/some-project/cases/23598314/attachments/0684M00000P3h1fQAB\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$attachment\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .attachments() .get(name=\"projects/some-project/cases/43595344/attachments/0684M00000P3h1fQAB\") ) print(request.execute()) ```", + "flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}/attachments/{attachmentsId}", + "httpMethod": "GET", + "id": "cloudsupport.cases.attachments.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the attachment to get.", + "location": "path", + "pattern": "^[^/]+/[^/]+/cases/[^/]+/attachments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "Attachment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "List all the attachments associated with a support case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/23598314\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case/attachments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .attachments() .list(parent=\"projects/some-project/cases/43595344\") ) print(request.execute()) ```", "flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}/attachments", @@ -440,6 +465,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "get": { + "description": "Retrieve a comment. EXAMPLES: cURL: ```shell comment=\"projects/some-project/cases/43595344/comments/234567890\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$comment\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().comments().get( name=\"projects/some-project/cases/43595344/comments/234567890\", ) print(request.execute()) ```", + "flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}/comments/{commentsId}", + "httpMethod": "GET", + "id": "cloudsupport.cases.comments.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the comment to retrieve.", + "location": "path", + "pattern": "^[^/]+/[^/]+/cases/[^/]+/comments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "Comment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "List all the comments associated with a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case/comments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .comments() .list(parent=\"projects/some-project/cases/43595344\") ) print(request.execute()) ```", "flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}/comments", @@ -510,7 +560,7 @@ "useMediaDownloadService": true }, "upload": { - "description": "Create a file attachment on a case or Cloud resource. The attachment must have the following fields set: `filename`. EXAMPLES: cURL: ```shell echo \"This text is in a file I'm uploading using CSAPI.\" \\ > \"./example_file.txt\" case=\"projects/some-project/cases/43594844\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --data-binary @\"./example_file.txt\" \\ \"https://cloudsupport.googleapis.com/upload/v2beta/$case/attachments?attachment.filename=uploaded_via_curl.txt\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) file_path = \"./example_file.txt\" with open(file_path, \"w\") as file: file.write( \"This text is inside a file I'm going to upload using the Cloud Support API.\", ) request = supportApiService.media().upload( parent=\"projects/some-project/cases/43595344\", media_body=file_path ) request.uri = request.uri.split(\"?\")[0] + \"?attachment.filename=uploaded_via_python.txt\" print(request.execute()) ```", + "description": "Create a file attachment on a case or Cloud resource. The attachment must have the following fields set: `filename`. EXAMPLES: cURL: ```shell echo \"This text is in a file I'm uploading using CSAPI.\" \\ > \"./example_file.txt\" case=\"projects/some-project/cases/43594844\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --data-binary @\"./example_file.txt\" \\ \"https://cloudsupport.googleapis.com/upload/v2/$case/attachments?attachment.filename=uploaded_via_curl.txt\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) file_path = \"./example_file.txt\" with open(file_path, \"w\") as file: file.write( \"This text is inside a file I'm going to upload using the Cloud Support API.\", ) request = supportApiService.media().upload( parent=\"projects/some-project/cases/43595344\", media_body=file_path ) request.uri = request.uri.split(\"?\")[0] + \"?attachment.filename=uploaded_via_python.txt\" print(request.execute()) ```", "flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}/attachments", "httpMethod": "POST", "id": "cloudsupport.media.upload", @@ -552,7 +602,7 @@ } } }, - "revision": "20260409", + "revision": "20260519", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": { @@ -1300,6 +1350,11 @@ "format": "byte", "type": "string" }, + "sha512Hash": { + "description": "# gdata.* are outside protos with mising documentation", + "format": "byte", + "type": "string" + }, "timestamp": { "description": "# gdata.* are outside protos with mising documentation", "format": "uint64", diff --git a/discovery/cloudsupport-v2beta.json b/discovery/cloudsupport-v2beta.json index ca0d1e0a0f..d3b54fa502 100644 --- a/discovery/cloudsupport-v2beta.json +++ b/discovery/cloudsupport-v2beta.json @@ -108,7 +108,7 @@ "caseClassifications": { "methods": { "search": { - "description": "Retrieve valid classifications to use when creating a support case. Classifications are hierarchical. Each classification is a string containing all levels of the hierarchy separated by `\" > \"`. For example, `\"Technical Issue > Compute > Compute Engine\"`. Classification IDs returned by this endpoint are valid for at least six months. When a classification is deactivated, this endpoint immediately stops returning it. After six months, `case.create` requests using the classification will fail. EXAMPLES: cURL: ```shell curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ 'https://cloudsupport.googleapis.com/v2/caseClassifications:search?query=display_name:\"*Compute%20Engine*\"' ``` Python: ```python import googleapiclient.discovery supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=\"v2\", discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version=v2\", ) request = supportApiService.caseClassifications().search( query='display_name:\"*Compute Engine*\"' ) print(request.execute()) ```", + "description": "Retrieve valid classifications to use when creating a support case. Classifications are hierarchical. Each classification is a string containing all levels of the hierarchy separated by `\" > \"`. For example, `\"Technical Issue > Compute > Compute Engine\"`. Classification IDs returned by this endpoint are valid for at least six months. When a classification is deactivated, this endpoint immediately stops returning it. After six months, `case.create` requests using the classification will fail. EXAMPLES: cURL: ```shell curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ 'https://cloudsupport.googleapis.com/v2beta/caseClassifications:search?query=display_name:\"*Compute%20Engine*\"' ``` Python: ```python import googleapiclient.discovery supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=\"v2beta\", discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version=v2\", ) request = supportApiService.caseClassifications().search( query='display_name:\"*Compute Engine*\"' ) print(request.execute()) ```", "flatPath": "v2beta/caseClassifications:search", "httpMethod": "GET", "id": "cloudsupport.caseClassifications.search", @@ -159,7 +159,7 @@ "cases": { "methods": { "close": { - "description": "Close a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case:close\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().close( name=\"projects/some-project/cases/43595344\" ) print(request.execute()) ```", + "description": "Close a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2beta/$case:close\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().close( name=\"projects/some-project/cases/43595344\" ) print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}:close", "httpMethod": "POST", "id": "cloudsupport.cases.close", @@ -187,7 +187,7 @@ ] }, "create": { - "description": "Create a new case and associate it with a parent. It must have the following fields set: `display_name`, `description`, `classification`, and `priority`. If you're just testing the API and don't want to route your case to an agent, set `testCase=true`. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header 'Content-Type: application/json' \\ --data '{ \"display_name\": \"Test case created by me.\", \"description\": \"a random test case, feel free to close\", \"classification\": { \"id\": \"100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8\" }, \"time_zone\": \"-07:00\", \"subscriber_email_addresses\": [ \"foo@domain.com\", \"bar@domain.com\" ], \"testCase\": true, \"priority\": \"P3\" }' \\ \"https://cloudsupport.googleapis.com/v2/$parent/cases\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().create( parent=\"projects/some-project\", body={ \"displayName\": \"A Test Case\", \"description\": \"This is a test case.\", \"testCase\": True, \"priority\": \"P2\", \"classification\": { \"id\": \"100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8\" }, }, ) print(request.execute()) ```", + "description": "Create a new case and associate it with a parent. It must have the following fields set: `display_name`, `description`, `classification`, and `priority`. If you're just testing the API and don't want to route your case to an agent, set `testCase=true`. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header 'Content-Type: application/json' \\ --data '{ \"display_name\": \"Test case created by me.\", \"description\": \"a random test case, feel free to close\", \"classification\": { \"id\": \"100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8\" }, \"time_zone\": \"-07:00\", \"subscriber_email_addresses\": [ \"foo@domain.com\", \"bar@domain.com\" ], \"testCase\": true, \"priority\": \"P3\" }' \\ \"https://cloudsupport.googleapis.com/v2beta/$parent/cases\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().create( parent=\"projects/some-project\", body={ \"displayName\": \"A Test Case\", \"description\": \"This is a test case.\", \"testCase\": True, \"priority\": \"P2\", \"classification\": { \"id\": \"100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8\" }, }, ) print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases", "httpMethod": "POST", "id": "cloudsupport.cases.create", @@ -215,7 +215,7 @@ ] }, "escalate": { - "description": "Escalate a case, starting the Google Cloud Support escalation management process. This operation is only available for some support services. Go to https://cloud.google.com/support and look for 'Technical support escalations' in the feature list to find out which ones let you do that. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header \"Content-Type: application/json\" \\ --data '{ \"escalation\": { \"reason\": \"BUSINESS_IMPACT\", \"justification\": \"This is a test escalation.\" } }' \\ \"https://cloudsupport.googleapis.com/v2/$case:escalate\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().escalate( name=\"projects/some-project/cases/43595344\", body={ \"escalation\": { \"reason\": \"BUSINESS_IMPACT\", \"justification\": \"This is a test escalation.\", }, }, ) print(request.execute()) ```", + "description": "Escalate a case, starting the Google Cloud Support escalation management process. This operation is only available for some support services. Go to https://cloud.google.com/support and look for 'Technical support escalations' in the feature list to find out which ones let you do that. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header \"Content-Type: application/json\" \\ --data '{ \"escalation\": { \"reason\": \"BUSINESS_IMPACT\", \"justification\": \"This is a test escalation.\" } }' \\ \"https://cloudsupport.googleapis.com/v2beta/$case:escalate\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().escalate( name=\"projects/some-project/cases/43595344\", body={ \"escalation\": { \"reason\": \"BUSINESS_IMPACT\", \"justification\": \"This is a test escalation.\", }, }, ) print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}:escalate", "httpMethod": "POST", "id": "cloudsupport.cases.escalate", @@ -243,7 +243,7 @@ ] }, "get": { - "description": "Retrieve a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/16033687\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().get( name=\"projects/some-project/cases/43595344\", ) print(request.execute()) ```", + "description": "Retrieve a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/16033687\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2beta/$case\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().get( name=\"projects/some-project/cases/43595344\", ) print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}", "httpMethod": "GET", "id": "cloudsupport.cases.get", @@ -268,7 +268,7 @@ ] }, "list": { - "description": "Retrieve all cases under a parent, but not its children. For example, listing cases under an organization only returns the cases that are directly parented by that organization. To retrieve cases under an organization and its projects, use `cases.search`. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$parent/cases\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().list(parent=\"projects/some-project\") print(request.execute()) ```", + "description": "Retrieve all cases under a parent, but not its children. For example, listing cases under an organization only returns the cases that are directly parented by that organization. To retrieve cases under an organization and its projects, use `cases.search`. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2beta/$parent/cases\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().list(parent=\"projects/some-project\") print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases", "httpMethod": "GET", "id": "cloudsupport.cases.list", @@ -324,7 +324,7 @@ ] }, "patch": { - "description": "Update a case. Only some fields can be updated. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request PATCH \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header \"Content-Type: application/json\" \\ --data '{ \"priority\": \"P1\" }' \\ \"https://cloudsupport.googleapis.com/v2/$case?updateMask=priority\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().patch( name=\"projects/some-project/cases/43112854\", body={ \"displayName\": \"This is Now a New Title\", \"priority\": \"P2\", }, ) print(request.execute()) ```", + "description": "Update a case. Only some fields can be updated. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request PATCH \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header \"Content-Type: application/json\" \\ --data '{ \"priority\": \"P1\" }' \\ \"https://cloudsupport.googleapis.com/v2beta/$case?updateMask=priority\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().patch( name=\"projects/some-project/cases/43112854\", body={ \"displayName\": \"This is Now a New Title\", \"priority\": \"P2\", }, ) print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}", "httpMethod": "PATCH", "id": "cloudsupport.cases.patch", @@ -358,7 +358,7 @@ ] }, "search": { - "description": "Search for cases using a query. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$parent/cases:search\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().search( parent=\"projects/some-project\", query=\"state=OPEN\" ) print(request.execute()) ```", + "description": "Search for cases using a query. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2beta/$parent/cases:search\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().search( parent=\"projects/some-project\", query=\"state=OPEN\" ) print(request.execute()) ```", "flatPath": "v2beta/cases:search", "httpMethod": "GET", "id": "cloudsupport.cases.search", @@ -440,7 +440,7 @@ "attachments": { "methods": { "get": { - "description": "Retrieve an attachment associated with a support case. EXAMPLES: cURL: ```shell attachment=\"projects/some-project/cases/23598314/attachments/0684M00000P3h1fQAB\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$attachment\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .attachments() .get(name=\"projects/some-project/cases/43595344/attachments/0684M00000P3h1fQAB\") ) print(request.execute()) ```", + "description": "Retrieve an attachment associated with a support case. EXAMPLES: cURL: ```shell attachment=\"projects/some-project/cases/23598314/attachments/0684M00000P3h1fQAB\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2beta/$attachment\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .attachments() .get(name=\"projects/some-project/cases/43595344/attachments/0684M00000P3h1fQAB\") ) print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/attachments/{attachmentsId}", "httpMethod": "GET", "id": "cloudsupport.cases.attachments.get", @@ -465,7 +465,7 @@ ] }, "list": { - "description": "List all the attachments associated with a support case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/23598314\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case/attachments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .attachments() .list(parent=\"projects/some-project/cases/43595344\") ) print(request.execute()) ```", + "description": "List all the attachments associated with a support case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/23598314\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2beta/$case/attachments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .attachments() .list(parent=\"projects/some-project/cases/43595344\") ) print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/attachments", "httpMethod": "GET", "id": "cloudsupport.cases.attachments.list", @@ -505,7 +505,7 @@ "comments": { "methods": { "create": { - "description": "Add a new comment to a case. The comment must have the following fields set: `body`. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43591344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header 'Content-Type: application/json' \\ --data '{ \"body\": \"This is a test comment.\" }' \\ \"https://cloudsupport.googleapis.com/v2/$case/comments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .comments() .create( parent=\"projects/some-project/cases/43595344\", body={\"body\": \"This is a test comment.\"}, ) ) print(request.execute()) ```", + "description": "Add a new comment to a case. The comment must have the following fields set: `body`. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43591344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header 'Content-Type: application/json' \\ --data '{ \"body\": \"This is a test comment.\" }' \\ \"https://cloudsupport.googleapis.com/v2beta/$case/comments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .comments() .create( parent=\"projects/some-project/cases/43595344\", body={\"body\": \"This is a test comment.\"}, ) ) print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/comments", "httpMethod": "POST", "id": "cloudsupport.cases.comments.create", @@ -533,7 +533,7 @@ ] }, "get": { - "description": "Retrieve a comment. EXAMPLES: cURL: ```shell comment=\"projects/some-project/cases/43595344/comments/234567890\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$comment\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().comments().get( name=\"projects/some-project/cases/43595344/comments/234567890\", ) print(request.execute()) ```", + "description": "Retrieve a comment. EXAMPLES: cURL: ```shell comment=\"projects/some-project/cases/43595344/comments/234567890\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2beta/$comment\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().comments().get( name=\"projects/some-project/cases/43595344/comments/234567890\", ) print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/comments/{commentsId}", "httpMethod": "GET", "id": "cloudsupport.cases.comments.get", @@ -558,7 +558,7 @@ ] }, "list": { - "description": "List all the comments associated with a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case/comments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .comments() .list(parent=\"projects/some-project/cases/43595344\") ) print(request.execute()) ```", + "description": "List all the comments associated with a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2beta/$case/comments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .comments() .list(parent=\"projects/some-project/cases/43595344\") ) print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/comments", "httpMethod": "GET", "id": "cloudsupport.cases.comments.list", @@ -600,7 +600,7 @@ "media": { "methods": { "download": { - "description": "Download a file attached to a case. When this endpoint is called, no \"response body\" will be returned. Instead, the attachment's blob will be returned. Note: HTTP requests must append \"?alt=media\" to the URL. EXAMPLES: cURL: ```shell name=\"projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$name:download?alt=media\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.media().download( name=\"projects/some-project/cases/43595344/attachments/0684M00000Pw6pHQAR\" ) request.uri = request.uri.split(\"?\")[0] + \"?alt=media\" print(request.execute()) ```", + "description": "Download a file attached to a case. When this endpoint is called, no \"response body\" will be returned. Instead, the attachment's blob will be returned. Note: HTTP requests must append \"?alt=media\" to the URL. EXAMPLES: cURL: ```shell name=\"projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2beta/$name:download?alt=media\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.media().download( name=\"projects/some-project/cases/43595344/attachments/0684M00000Pw6pHQAR\" ) request.uri = request.uri.split(\"?\")[0] + \"?alt=media\" print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/attachments/{attachmentsId}:download", "httpMethod": "GET", "id": "cloudsupport.media.download", @@ -627,7 +627,7 @@ "useMediaDownloadService": true }, "upload": { - "description": "Create a file attachment on a case or Cloud resource. The attachment must have the following fields set: `filename`. EXAMPLES: cURL: ```shell echo \"This text is in a file I'm uploading using CSAPI.\" \\ > \"./example_file.txt\" case=\"projects/some-project/cases/43594844\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --data-binary @\"./example_file.txt\" \\ \"https://cloudsupport.googleapis.com/upload/v2beta/$case/attachments?attachment.filename=uploaded_via_curl.txt\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) file_path = \"./example_file.txt\" with open(file_path, \"w\") as file: file.write( \"This text is inside a file I'm going to upload using the Cloud Support API.\", ) request = supportApiService.media().upload( parent=\"projects/some-project/cases/43595344\", media_body=file_path ) request.uri = request.uri.split(\"?\")[0] + \"?attachment.filename=uploaded_via_python.txt\" print(request.execute()) ```", + "description": "Create a file attachment on a case or Cloud resource. The attachment must have the following fields set: `filename`. EXAMPLES: cURL: ```shell echo \"This text is in a file I'm uploading using CSAPI.\" \\ > \"./example_file.txt\" case=\"projects/some-project/cases/43594844\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --data-binary @\"./example_file.txt\" \\ \"https://cloudsupport.googleapis.com/upload/v2beta/$case/attachments?attachment.filename=uploaded_via_curl.txt\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) file_path = \"./example_file.txt\" with open(file_path, \"w\") as file: file.write( \"This text is inside a file I'm going to upload using the Cloud Support API.\", ) request = supportApiService.media().upload( parent=\"projects/some-project/cases/43595344\", media_body=file_path ) request.uri = request.uri.split(\"?\")[0] + \"?attachment.filename=uploaded_via_python.txt\" print(request.execute()) ```", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/attachments", "httpMethod": "POST", "id": "cloudsupport.media.upload", @@ -669,7 +669,7 @@ } } }, - "revision": "20260409", + "revision": "20260519", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": { @@ -1522,6 +1522,11 @@ "format": "byte", "type": "string" }, + "sha512Hash": { + "description": "# gdata.* are outside protos with mising documentation", + "format": "byte", + "type": "string" + }, "timestamp": { "description": "# gdata.* are outside protos with mising documentation", "format": "uint64", diff --git a/src/apis/cloudsupport/v2.ts b/src/apis/cloudsupport/v2.ts index 72d9610aef..1bc657c0e9 100644 --- a/src/apis/cloudsupport/v2.ts +++ b/src/apis/cloudsupport/v2.ts @@ -676,6 +676,10 @@ export namespace cloudsupport_v2 { * # gdata.* are outside protos with mising documentation */ sha256Hash?: string | null; + /** + * # gdata.* are outside protos with mising documentation + */ + sha512Hash?: string | null; /** * # gdata.* are outside protos with mising documentation */ @@ -2098,6 +2102,145 @@ export namespace cloudsupport_v2 { this.context = context; } + /** + * Retrieve an attachment associated with a support case. EXAMPLES: cURL: ```shell attachment="projects/some-project/cases/23598314/attachments/0684M00000P3h1fQAB" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$attachment" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = ( supportApiService.cases() .attachments() .get(name="projects/some-project/cases/43595344/attachments/0684M00000P3h1fQAB") ) print(request.execute()) ``` + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudsupport.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudsupport = google.cloudsupport('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudsupport.cases.attachments.get({ + * // Required. The name of the attachment to get. + * name: '[^/]+/[^/]+/cases/my-case/attachments/my-attachment', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "createTime": "my_createTime", + * // "creator": {}, + * // "filename": "my_filename", + * // "mimeType": "my_mimeType", + * // "name": "my_name", + * // "sizeBytes": "my_sizeBytes" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Cases$Attachments$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Cases$Attachments$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Cases$Attachments$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Cases$Attachments$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Cases$Attachments$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Cases$Attachments$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Cases$Attachments$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Cases$Attachments$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://cloudsupport.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+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); + } + } + /** * List all the attachments associated with a support case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/23598314" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case/attachments" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = ( supportApiService.cases() .attachments() .list(parent="projects/some-project/cases/43595344") ) print(request.execute()) ``` * @example @@ -2243,6 +2386,12 @@ export namespace cloudsupport_v2 { } } + export interface Params$Resource$Cases$Attachments$Get extends StandardParameters { + /** + * Required. The name of the attachment to get. + */ + name?: string; + } export interface Params$Resource$Cases$Attachments$List extends StandardParameters { /** * The maximum number of attachments fetched with each request. If not provided, the default is 10. The maximum page size that will be returned is 100. The size of each page can be smaller than the requested page size and can include zero. For example, you could request 100 attachments on one page, receive 0, and then on the next page, receive 90. @@ -2417,6 +2566,144 @@ export namespace cloudsupport_v2 { } } + /** + * Retrieve a comment. EXAMPLES: cURL: ```shell comment="projects/some-project/cases/43595344/comments/234567890" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$comment" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().comments().get( name="projects/some-project/cases/43595344/comments/234567890", ) print(request.execute()) ``` + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/cloudsupport.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const cloudsupport = google.cloudsupport('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await cloudsupport.cases.comments.get({ + * // Required. The name of the comment to retrieve. + * name: '[^/]+/[^/]+/cases/my-case/comments/my-comment', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "body": "my_body", + * // "createTime": "my_createTime", + * // "creator": {}, + * // "name": "my_name", + * // "plainTextBody": "my_plainTextBody" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Cases$Comments$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Cases$Comments$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Cases$Comments$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Cases$Comments$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Cases$Comments$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Cases$Comments$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Cases$Comments$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Cases$Comments$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://cloudsupport.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+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); + } + } + /** * List all the comments associated with a case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case/comments" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = ( supportApiService.cases() .comments() .list(parent="projects/some-project/cases/43595344") ) print(request.execute()) ``` * @example @@ -2573,6 +2860,12 @@ export namespace cloudsupport_v2 { */ requestBody?: Schema$Comment; } + export interface Params$Resource$Cases$Comments$Get extends StandardParameters { + /** + * Required. The name of the comment to retrieve. + */ + name?: string; + } export interface Params$Resource$Cases$Comments$List extends StandardParameters { /** * The maximum number of comments to fetch. Defaults to 10. @@ -2660,6 +2953,7 @@ export namespace cloudsupport_v2 { * // "referenceType": "my_referenceType", * // "sha1Hash": "my_sha1Hash", * // "sha256Hash": "my_sha256Hash", + * // "sha512Hash": "my_sha512Hash", * // "timestamp": "my_timestamp", * // "token": "my_token" * // } @@ -2760,7 +3054,7 @@ export namespace cloudsupport_v2 { } /** - * Create a file attachment on a case or Cloud resource. The attachment must have the following fields set: `filename`. EXAMPLES: cURL: ```shell echo "This text is in a file I'm uploading using CSAPI." \ \> "./example_file.txt" case="projects/some-project/cases/43594844" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --data-binary @"./example_file.txt" \ "https://cloudsupport.googleapis.com/upload/v2beta/$case/attachments?attachment.filename=uploaded_via_curl.txt" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) file_path = "./example_file.txt" with open(file_path, "w") as file: file.write( "This text is inside a file I'm going to upload using the Cloud Support API.", ) request = supportApiService.media().upload( parent="projects/some-project/cases/43595344", media_body=file_path ) request.uri = request.uri.split("?")[0] + "?attachment.filename=uploaded_via_python.txt" print(request.execute()) ``` + * Create a file attachment on a case or Cloud resource. The attachment must have the following fields set: `filename`. EXAMPLES: cURL: ```shell echo "This text is in a file I'm uploading using CSAPI." \ \> "./example_file.txt" case="projects/some-project/cases/43594844" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --data-binary @"./example_file.txt" \ "https://cloudsupport.googleapis.com/upload/v2/$case/attachments?attachment.filename=uploaded_via_curl.txt" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) file_path = "./example_file.txt" with open(file_path, "w") as file: file.write( "This text is inside a file I'm going to upload using the Cloud Support API.", ) request = supportApiService.media().upload( parent="projects/some-project/cases/43595344", media_body=file_path ) request.uri = request.uri.split("?")[0] + "?attachment.filename=uploaded_via_python.txt" print(request.execute()) ``` * @example * ```js * // Before running the sample: diff --git a/src/apis/cloudsupport/v2beta.ts b/src/apis/cloudsupport/v2beta.ts index db81d21f19..81401da8e3 100644 --- a/src/apis/cloudsupport/v2beta.ts +++ b/src/apis/cloudsupport/v2beta.ts @@ -742,6 +742,10 @@ export namespace cloudsupport_v2beta { * # gdata.* are outside protos with mising documentation */ sha256Hash?: string | null; + /** + * # gdata.* are outside protos with mising documentation + */ + sha512Hash?: string | null; /** * # gdata.* are outside protos with mising documentation */ @@ -833,7 +837,7 @@ export namespace cloudsupport_v2beta { } /** - * Retrieve valid classifications to use when creating a support case. Classifications are hierarchical. Each classification is a string containing all levels of the hierarchy separated by `" \> "`. For example, `"Technical Issue \> Compute \> Compute Engine"`. Classification IDs returned by this endpoint are valid for at least six months. When a classification is deactivated, this endpoint immediately stops returning it. After six months, `case.create` requests using the classification will fail. EXAMPLES: cURL: ```shell curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ 'https://cloudsupport.googleapis.com/v2/caseClassifications:search?query=display_name:"*Compute%20Engine*"' ``` Python: ```python import googleapiclient.discovery supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version="v2", discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=v2", ) request = supportApiService.caseClassifications().search( query='display_name:"*Compute Engine*"' ) print(request.execute()) ``` + * Retrieve valid classifications to use when creating a support case. Classifications are hierarchical. Each classification is a string containing all levels of the hierarchy separated by `" \> "`. For example, `"Technical Issue \> Compute \> Compute Engine"`. Classification IDs returned by this endpoint are valid for at least six months. When a classification is deactivated, this endpoint immediately stops returning it. After six months, `case.create` requests using the classification will fail. EXAMPLES: cURL: ```shell curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ 'https://cloudsupport.googleapis.com/v2beta/caseClassifications:search?query=display_name:"*Compute%20Engine*"' ``` Python: ```python import googleapiclient.discovery supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version="v2beta", discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=v2", ) request = supportApiService.caseClassifications().search( query='display_name:"*Compute Engine*"' ) print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -1017,7 +1021,7 @@ export namespace cloudsupport_v2beta { } /** - * Close a case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case:close" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().close( name="projects/some-project/cases/43595344" ) print(request.execute()) ``` + * Close a case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$case:close" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().close( name="projects/some-project/cases/43595344" ) print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -1174,7 +1178,7 @@ export namespace cloudsupport_v2beta { } /** - * Create a new case and associate it with a parent. It must have the following fields set: `display_name`, `description`, `classification`, and `priority`. If you're just testing the API and don't want to route your case to an agent, set `testCase=true`. EXAMPLES: cURL: ```shell parent="projects/some-project" curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header 'Content-Type: application/json' \ --data '{ "display_name": "Test case created by me.", "description": "a random test case, feel free to close", "classification": { "id": "100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8" \}, "time_zone": "-07:00", "subscriber_email_addresses": [ "foo@domain.com", "bar@domain.com" ], "testCase": true, "priority": "P3" \}' \ "https://cloudsupport.googleapis.com/v2/$parent/cases" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().create( parent="projects/some-project", body={ "displayName": "A Test Case", "description": "This is a test case.", "testCase": True, "priority": "P2", "classification": { "id": "100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8" \}, \}, ) print(request.execute()) ``` + * Create a new case and associate it with a parent. It must have the following fields set: `display_name`, `description`, `classification`, and `priority`. If you're just testing the API and don't want to route your case to an agent, set `testCase=true`. EXAMPLES: cURL: ```shell parent="projects/some-project" curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header 'Content-Type: application/json' \ --data '{ "display_name": "Test case created by me.", "description": "a random test case, feel free to close", "classification": { "id": "100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8" \}, "time_zone": "-07:00", "subscriber_email_addresses": [ "foo@domain.com", "bar@domain.com" ], "testCase": true, "priority": "P3" \}' \ "https://cloudsupport.googleapis.com/v2beta/$parent/cases" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().create( parent="projects/some-project", body={ "displayName": "A Test Case", "description": "This is a test case.", "testCase": True, "priority": "P2", "classification": { "id": "100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8" \}, \}, ) print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -1348,7 +1352,7 @@ export namespace cloudsupport_v2beta { } /** - * Escalate a case, starting the Google Cloud Support escalation management process. This operation is only available for some support services. Go to https://cloud.google.com/support and look for 'Technical support escalations' in the feature list to find out which ones let you do that. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header "Content-Type: application/json" \ --data '{ "escalation": { "reason": "BUSINESS_IMPACT", "justification": "This is a test escalation." \} \}' \ "https://cloudsupport.googleapis.com/v2/$case:escalate" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().escalate( name="projects/some-project/cases/43595344", body={ "escalation": { "reason": "BUSINESS_IMPACT", "justification": "This is a test escalation.", \}, \}, ) print(request.execute()) ``` + * Escalate a case, starting the Google Cloud Support escalation management process. This operation is only available for some support services. Go to https://cloud.google.com/support and look for 'Technical support escalations' in the feature list to find out which ones let you do that. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header "Content-Type: application/json" \ --data '{ "escalation": { "reason": "BUSINESS_IMPACT", "justification": "This is a test escalation." \} \}' \ "https://cloudsupport.googleapis.com/v2beta/$case:escalate" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().escalate( name="projects/some-project/cases/43595344", body={ "escalation": { "reason": "BUSINESS_IMPACT", "justification": "This is a test escalation.", \}, \}, ) print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -1507,7 +1511,7 @@ export namespace cloudsupport_v2beta { } /** - * Retrieve a case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/16033687" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().get( name="projects/some-project/cases/43595344", ) print(request.execute()) ``` + * Retrieve a case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/16033687" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$case" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().get( name="projects/some-project/cases/43595344", ) print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -1655,7 +1659,7 @@ export namespace cloudsupport_v2beta { } /** - * Retrieve all cases under a parent, but not its children. For example, listing cases under an organization only returns the cases that are directly parented by that organization. To retrieve cases under an organization and its projects, use `cases.search`. EXAMPLES: cURL: ```shell parent="projects/some-project" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$parent/cases" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().list(parent="projects/some-project") print(request.execute()) ``` + * Retrieve all cases under a parent, but not its children. For example, listing cases under an organization only returns the cases that are directly parented by that organization. To retrieve cases under an organization and its projects, use `cases.search`. EXAMPLES: cURL: ```shell parent="projects/some-project" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$parent/cases" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().list(parent="projects/some-project") print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -1800,7 +1804,7 @@ export namespace cloudsupport_v2beta { } /** - * Update a case. Only some fields can be updated. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --request PATCH \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header "Content-Type: application/json" \ --data '{ "priority": "P1" \}' \ "https://cloudsupport.googleapis.com/v2/$case?updateMask=priority" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().patch( name="projects/some-project/cases/43112854", body={ "displayName": "This is Now a New Title", "priority": "P2", \}, ) print(request.execute()) ``` + * Update a case. Only some fields can be updated. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --request PATCH \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header "Content-Type: application/json" \ --data '{ "priority": "P1" \}' \ "https://cloudsupport.googleapis.com/v2beta/$case?updateMask=priority" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().patch( name="projects/some-project/cases/43112854", body={ "displayName": "This is Now a New Title", "priority": "P2", \}, ) print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -1973,7 +1977,7 @@ export namespace cloudsupport_v2beta { } /** - * Search for cases using a query. EXAMPLES: cURL: ```shell parent="projects/some-project" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$parent/cases:search" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().search( parent="projects/some-project", query="state=OPEN" ) print(request.execute()) ``` + * Search for cases using a query. EXAMPLES: cURL: ```shell parent="projects/some-project" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$parent/cases:search" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().search( parent="projects/some-project", query="state=OPEN" ) print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -2379,7 +2383,7 @@ export namespace cloudsupport_v2beta { } /** - * Retrieve an attachment associated with a support case. EXAMPLES: cURL: ```shell attachment="projects/some-project/cases/23598314/attachments/0684M00000P3h1fQAB" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$attachment" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = ( supportApiService.cases() .attachments() .get(name="projects/some-project/cases/43595344/attachments/0684M00000P3h1fQAB") ) print(request.execute()) ``` + * Retrieve an attachment associated with a support case. EXAMPLES: cURL: ```shell attachment="projects/some-project/cases/23598314/attachments/0684M00000P3h1fQAB" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$attachment" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = ( supportApiService.cases() .attachments() .get(name="projects/some-project/cases/43595344/attachments/0684M00000P3h1fQAB") ) print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -2518,7 +2522,7 @@ export namespace cloudsupport_v2beta { } /** - * List all the attachments associated with a support case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/23598314" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case/attachments" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = ( supportApiService.cases() .attachments() .list(parent="projects/some-project/cases/43595344") ) print(request.execute()) ``` + * List all the attachments associated with a support case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/23598314" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$case/attachments" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = ( supportApiService.cases() .attachments() .list(parent="projects/some-project/cases/43595344") ) print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -2690,7 +2694,7 @@ export namespace cloudsupport_v2beta { } /** - * Add a new comment to a case. The comment must have the following fields set: `body`. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43591344" curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header 'Content-Type: application/json' \ --data '{ "body": "This is a test comment." \}' \ "https://cloudsupport.googleapis.com/v2/$case/comments" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = ( supportApiService.cases() .comments() .create( parent="projects/some-project/cases/43595344", body={"body": "This is a test comment."\}, ) ) print(request.execute()) ``` + * Add a new comment to a case. The comment must have the following fields set: `body`. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43591344" curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header 'Content-Type: application/json' \ --data '{ "body": "This is a test comment." \}' \ "https://cloudsupport.googleapis.com/v2beta/$case/comments" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = ( supportApiService.cases() .comments() .create( parent="projects/some-project/cases/43595344", body={"body": "This is a test comment."\}, ) ) print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -2843,7 +2847,7 @@ export namespace cloudsupport_v2beta { } /** - * Retrieve a comment. EXAMPLES: cURL: ```shell comment="projects/some-project/cases/43595344/comments/234567890" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$comment" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().comments().get( name="projects/some-project/cases/43595344/comments/234567890", ) print(request.execute()) ``` + * Retrieve a comment. EXAMPLES: cURL: ```shell comment="projects/some-project/cases/43595344/comments/234567890" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$comment" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.cases().comments().get( name="projects/some-project/cases/43595344/comments/234567890", ) print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -2981,7 +2985,7 @@ export namespace cloudsupport_v2beta { } /** - * List all the comments associated with a case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case/comments" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = ( supportApiService.cases() .comments() .list(parent="projects/some-project/cases/43595344") ) print(request.execute()) ``` + * List all the comments associated with a case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$case/comments" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = ( supportApiService.cases() .comments() .list(parent="projects/some-project/cases/43595344") ) print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -3164,7 +3168,7 @@ export namespace cloudsupport_v2beta { } /** - * Download a file attached to a case. When this endpoint is called, no "response body" will be returned. Instead, the attachment's blob will be returned. Note: HTTP requests must append "?alt=media" to the URL. EXAMPLES: cURL: ```shell name="projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$name:download?alt=media" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.media().download( name="projects/some-project/cases/43595344/attachments/0684M00000Pw6pHQAR" ) request.uri = request.uri.split("?")[0] + "?alt=media" print(request.execute()) ``` + * Download a file attached to a case. When this endpoint is called, no "response body" will be returned. Instead, the attachment's blob will be returned. Note: HTTP requests must append "?alt=media" to the URL. EXAMPLES: cURL: ```shell name="projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2beta/$name:download?alt=media" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) request = supportApiService.media().download( name="projects/some-project/cases/43595344/attachments/0684M00000Pw6pHQAR" ) request.uri = request.uri.split("?")[0] + "?alt=media" print(request.execute()) ``` * @example * ```js * // Before running the sample: @@ -3229,6 +3233,7 @@ export namespace cloudsupport_v2beta { * // "referenceType": "my_referenceType", * // "sha1Hash": "my_sha1Hash", * // "sha256Hash": "my_sha256Hash", + * // "sha512Hash": "my_sha512Hash", * // "timestamp": "my_timestamp", * // "token": "my_token" * // } @@ -3329,7 +3334,7 @@ export namespace cloudsupport_v2beta { } /** - * Create a file attachment on a case or Cloud resource. The attachment must have the following fields set: `filename`. EXAMPLES: cURL: ```shell echo "This text is in a file I'm uploading using CSAPI." \ \> "./example_file.txt" case="projects/some-project/cases/43594844" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --data-binary @"./example_file.txt" \ "https://cloudsupport.googleapis.com/upload/v2beta/$case/attachments?attachment.filename=uploaded_via_curl.txt" ``` Python: ```python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) file_path = "./example_file.txt" with open(file_path, "w") as file: file.write( "This text is inside a file I'm going to upload using the Cloud Support API.", ) request = supportApiService.media().upload( parent="projects/some-project/cases/43595344", media_body=file_path ) request.uri = request.uri.split("?")[0] + "?attachment.filename=uploaded_via_python.txt" print(request.execute()) ``` + * Create a file attachment on a case or Cloud resource. The attachment must have the following fields set: `filename`. EXAMPLES: cURL: ```shell echo "This text is in a file I'm uploading using CSAPI." \ \> "./example_file.txt" case="projects/some-project/cases/43594844" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --data-binary @"./example_file.txt" \ "https://cloudsupport.googleapis.com/upload/v2beta/$case/attachments?attachment.filename=uploaded_via_curl.txt" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version\}", ) file_path = "./example_file.txt" with open(file_path, "w") as file: file.write( "This text is inside a file I'm going to upload using the Cloud Support API.", ) request = supportApiService.media().upload( parent="projects/some-project/cases/43595344", media_body=file_path ) request.uri = request.uri.split("?")[0] + "?attachment.filename=uploaded_via_python.txt" print(request.execute()) ``` * @example * ```js * // Before running the sample: From 49039172b8e030d75d8419fd3600844add20f345 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:37 +0000 Subject: [PATCH 21/69] feat(compute)!: update the API BREAKING CHANGE: This release has breaking changes. #### compute:alpha The following keys were deleted: - schemas.AttachedDiskInitializeParams.properties.diskType.description The following keys were changed: - schemas.Address.properties.purpose.enumDescriptions - schemas.ConfidentialInstanceConfig.properties.confidentialInstanceType.enum - schemas.ConfidentialInstanceConfig.properties.confidentialInstanceType.enumDescriptions - schemas.GuestOsFeature.properties.type.enum - schemas.GuestOsFeature.properties.type.enumDescriptions - schemas.NetworkEndpointGroup.properties.network.description - schemas.NetworkEndpointGroupLbNetworkEndpointGroup.properties.network.description - schemas.NetworkProfileNetworkFeatures.properties.addressPurposes.items.enumDescriptions #### compute:beta The following keys were deleted: - schemas.AttachedDiskInitializeParams.properties.diskType.description The following keys were added: - resources.rollouts.methods.advance.description - resources.rollouts.methods.advance.flatPath - resources.rollouts.methods.advance.httpMethod - resources.rollouts.methods.advance.id - resources.rollouts.methods.advance.parameterOrder - resources.rollouts.methods.advance.parameters.currentWaveNumber.description - resources.rollouts.methods.advance.parameters.currentWaveNumber.format - resources.rollouts.methods.advance.parameters.currentWaveNumber.location - resources.rollouts.methods.advance.parameters.currentWaveNumber.type - resources.rollouts.methods.advance.parameters.project.description - resources.rollouts.methods.advance.parameters.project.location - resources.rollouts.methods.advance.parameters.project.pattern - resources.rollouts.methods.advance.parameters.project.required - resources.rollouts.methods.advance.parameters.project.type - resources.rollouts.methods.advance.parameters.requestId.description - resources.rollouts.methods.advance.parameters.requestId.location - resources.rollouts.methods.advance.parameters.requestId.type - resources.rollouts.methods.advance.parameters.rollout.description - resources.rollouts.methods.advance.parameters.rollout.location - resources.rollouts.methods.advance.parameters.rollout.pattern - resources.rollouts.methods.advance.parameters.rollout.required - resources.rollouts.methods.advance.parameters.rollout.type - resources.rollouts.methods.advance.path - resources.rollouts.methods.advance.response.$ref - resources.rollouts.methods.advance.scopes - resources.rollouts.methods.pause.description - resources.rollouts.methods.pause.flatPath - resources.rollouts.methods.pause.httpMethod - resources.rollouts.methods.pause.id - resources.rollouts.methods.pause.parameterOrder - resources.rollouts.methods.pause.parameters.etag.description - resources.rollouts.methods.pause.parameters.etag.location - resources.rollouts.methods.pause.parameters.etag.type - resources.rollouts.methods.pause.parameters.project.description - resources.rollouts.methods.pause.parameters.project.location - resources.rollouts.methods.pause.parameters.project.pattern - resources.rollouts.methods.pause.parameters.project.required - resources.rollouts.methods.pause.parameters.project.type - resources.rollouts.methods.pause.parameters.requestId.description - resources.rollouts.methods.pause.parameters.requestId.location - resources.rollouts.methods.pause.parameters.requestId.type - resources.rollouts.methods.pause.parameters.rollout.description - resources.rollouts.methods.pause.parameters.rollout.location - resources.rollouts.methods.pause.parameters.rollout.pattern - resources.rollouts.methods.pause.parameters.rollout.required - resources.rollouts.methods.pause.parameters.rollout.type - resources.rollouts.methods.pause.path - resources.rollouts.methods.pause.response.$ref - resources.rollouts.methods.pause.scopes - resources.rollouts.methods.resume.description - resources.rollouts.methods.resume.flatPath - resources.rollouts.methods.resume.httpMethod - resources.rollouts.methods.resume.id - resources.rollouts.methods.resume.parameterOrder - resources.rollouts.methods.resume.parameters.etag.description - resources.rollouts.methods.resume.parameters.etag.location - resources.rollouts.methods.resume.parameters.etag.type - resources.rollouts.methods.resume.parameters.project.description - resources.rollouts.methods.resume.parameters.project.location - resources.rollouts.methods.resume.parameters.project.pattern - resources.rollouts.methods.resume.parameters.project.required - resources.rollouts.methods.resume.parameters.project.type - resources.rollouts.methods.resume.parameters.requestId.description - resources.rollouts.methods.resume.parameters.requestId.location - resources.rollouts.methods.resume.parameters.requestId.type - resources.rollouts.methods.resume.parameters.rollout.description - resources.rollouts.methods.resume.parameters.rollout.location - resources.rollouts.methods.resume.parameters.rollout.pattern - resources.rollouts.methods.resume.parameters.rollout.required - resources.rollouts.methods.resume.parameters.rollout.type - resources.rollouts.methods.resume.path - resources.rollouts.methods.resume.response.$ref - resources.rollouts.methods.resume.scopes - schemas.Disk.properties.sourceMachineImage.description - schemas.Disk.properties.sourceMachineImage.type - schemas.Disk.properties.sourceMachineImageDiskDeviceName.description - schemas.Disk.properties.sourceMachineImageDiskDeviceName.type - schemas.Disk.properties.sourceMachineImageEncryptionKey.$ref - schemas.Disk.properties.sourceMachineImageEncryptionKey.description - schemas.Disk.properties.sourceMachineImageId.description - schemas.Disk.properties.sourceMachineImageId.readOnly - schemas.Disk.properties.sourceMachineImageId.type - schemas.Interconnect.properties.effectiveLocation.description - schemas.Interconnect.properties.effectiveLocation.readOnly - schemas.Interconnect.properties.effectiveLocation.type - schemas.MachineImageParams.properties.excludedDisks.description - schemas.MachineImageParams.properties.excludedDisks.items.type - schemas.MachineImageParams.properties.excludedDisks.type - schemas.MachineImageParams.properties.includedDisks.description - schemas.MachineImageParams.properties.includedDisks.items.type - schemas.MachineImageParams.properties.includedDisks.type The following keys were changed: - schemas.Address.properties.purpose.enum - schemas.Address.properties.purpose.enumDescriptions - schemas.ConfidentialInstanceConfig.properties.confidentialInstanceType.enum - schemas.ConfidentialInstanceConfig.properties.confidentialInstanceType.enumDescriptions - schemas.GuestOsFeature.properties.type.enum - schemas.GuestOsFeature.properties.type.enumDescriptions - schemas.NetworkEndpointGroup.properties.network.description - schemas.NetworkEndpointGroupLbNetworkEndpointGroup.properties.network.description - schemas.NetworkProfileNetworkFeatures.properties.addressPurposes.items.enum - schemas.NetworkProfileNetworkFeatures.properties.addressPurposes.items.enumDescriptions #### compute:v1 The following keys were deleted: - schemas.AttachedDiskInitializeParams.properties.diskType.description The following keys were added: - schemas.FirewallPolicyRule.properties.targetForwardingRules.description - schemas.FirewallPolicyRule.properties.targetForwardingRules.items.type - schemas.FirewallPolicyRule.properties.targetForwardingRules.type - schemas.FirewallPolicyRule.properties.targetType.description - schemas.FirewallPolicyRule.properties.targetType.enum - schemas.FirewallPolicyRule.properties.targetType.enumDescriptions - schemas.FirewallPolicyRule.properties.targetType.type The following keys were changed: - schemas.ConfidentialInstanceConfig.properties.confidentialInstanceType.enum - schemas.ConfidentialInstanceConfig.properties.confidentialInstanceType.enumDescriptions - schemas.GuestOsFeature.properties.type.enum - schemas.GuestOsFeature.properties.type.enumDescriptions - schemas.NetworkEndpointGroup.properties.network.description --- discovery/compute-alpha.json | 15 +- discovery/compute-beta.json | 184 ++++++++- discovery/compute-v1.json | 28 +- src/apis/compute/alpha.ts | 37 +- src/apis/compute/beta.ts | 761 +++++++++++++++++++++++++++++++++-- src/apis/compute/v1.ts | 72 ++-- 6 files changed, 1008 insertions(+), 89 deletions(-) diff --git a/discovery/compute-alpha.json b/discovery/compute-alpha.json index 90b00798eb..03ea7c8837 100644 --- a/discovery/compute-alpha.json +++ b/discovery/compute-alpha.json @@ -55121,7 +55121,7 @@ } } }, - "revision": "20260427", + "revision": "20260501", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -55977,7 +55977,7 @@ "A private network IP address that can be used to configure Private\nService Connect. This purpose can be specified only forGLOBAL addresses of Type INTERNAL", "A regional internal IP address range reserved for Serverless.", "A private network IP address that can be shared by multiple Internal\nLoad Balancer forwarding rules.", - "A regional internal IP address that is reserved and managed by Google\nCloud. It can not be assigned to Google Cloud compute resources such as\nVM and internal load balancer.", + "A regional internal IP address that is reserved and managed internally.\nIt can not be assigned to compute resources such as VM and internal load\nbalancer.", "IP range for peer networks." ], "type": "string" @@ -57068,7 +57068,6 @@ "type": "string" }, "diskType": { - "description": "Specifies the disk type to use to create the instance. If not specified,\nthe default is pd-standard, specified using the full URL.\nFor example:\n\nhttps://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard\n\n\nFor a full list of acceptable values, seePersistent disk\ntypes. If you specify this field when creating a VM, you can provide\neither the full or partial URL. For example, the following values are\nvalid:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType \n - projects/project/zones/zone/diskTypes/diskType \n - zones/zone/diskTypes/diskType\n\n\nIf you specify this field when creating or updating an instance template\nor all-instances configuration, specify the type of the disk, not the\nURL. For example: pd-standard.", "type": "string" }, "enableConfidentialCompute": { @@ -63483,12 +63482,14 @@ "confidentialInstanceType": { "description": "Defines the type of technology used by the confidential instance.", "enum": [ + "CCA", "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" ], "enumDescriptions": [ + "Arm Confidential Compute Architecture.", "No type specified. Do not use this value.", "AMD Secure Encrypted Virtualization.", "AMD Secure Encrypted Virtualization - Secure Nested Paging.", @@ -70748,6 +70749,7 @@ "description": "The ID of a supported feature. To add multiple values, use commas to\nseparate values. Set to one or more of the following values:\n \n - VIRTIO_SCSI_MULTIQUEUE\n - WINDOWS\n - MULTI_IP_SUBNET\n - UEFI_COMPATIBLE\n - GVNIC\n - SEV_CAPABLE\n - SUSPEND_RESUME_COMPATIBLE\n - SEV_LIVE_MIGRATABLE_V2\n - SEV_SNP_CAPABLE\n - TDX_CAPABLE\n - IDPF\n - SNP_SVSM_CAPABLE\n - CCA_CAPABLE\n\n\nFor more information, see\nEnabling guest operating system features.", "enum": [ "BARE_METAL_LINUX_COMPATIBLE", + "CCA_CAPABLE", "FEATURE_TYPE_UNSPECIFIED", "GVNIC", "IDPF", @@ -70778,6 +70780,7 @@ "", "", "", + "", "" ], "type": "string" @@ -92096,7 +92099,7 @@ "type": "string" }, "network": { - "description": "The URL of the network to which all network endpoints in the NEG belong.\nUses default project network if unspecified.", + "description": "The URL of the network to which all network endpoints in the NEG belong.\nFor networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or NON_GCP_PRIVATE_IP_PORT,\nif this field is not specified, a default network will be used.\nThis field cannot be set for NEGs with networkEndpointType set toSERVERLESS or PRIVATE_SERVICE_CONNECT and for\nglobal NEGs.\nFor all other network endpoint types, this field is required.", "type": "string" }, "networkEndpointType": { @@ -92410,7 +92413,7 @@ }, "network": { "deprecated": true, - "description": "The URL of the network to which all network endpoints in the NEG belong.\nUses default project network if unspecified.\n[Deprecated] This field is deprecated.", + "description": "The URL of the network to which all network endpoints in the NEG belong.\nFor networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or NON_GCP_PRIVATE_IP_PORT,\nif this field is not specified, a default network will be used.\nThis field cannot be set for NEGs with networkEndpointType set toSERVERLESS or PRIVATE_SERVICE_CONNECT and for\nglobal NEGs.\nFor all other network endpoint types, this field is required.\n [Deprecated] This field is deprecated.", "type": "string" }, "subnetwork": { @@ -94623,7 +94626,7 @@ "A private network IP address that can be used to configure Private\nService Connect. This purpose can be specified only forGLOBAL addresses of Type INTERNAL", "A regional internal IP address range reserved for Serverless.", "A private network IP address that can be shared by multiple Internal\nLoad Balancer forwarding rules.", - "A regional internal IP address that is reserved and managed by Google\nCloud. It can not be assigned to Google Cloud compute resources such as\nVM and internal load balancer.", + "A regional internal IP address that is reserved and managed internally.\nIt can not be assigned to compute resources such as VM and internal load\nbalancer.", "IP range for peer networks." ], "type": "string" diff --git a/discovery/compute-beta.json b/discovery/compute-beta.json index 311e7ec9e7..7dcc21b431 100644 --- a/discovery/compute-beta.json +++ b/discovery/compute-beta.json @@ -41037,6 +41037,51 @@ }, "rollouts": { "methods": { + "advance": { + "description": "Advances a Rollout to the next wave, or completes it if no waves remain.", + "flatPath": "projects/{project}/global/rollouts/{rollout}/advance", + "httpMethod": "POST", + "id": "compute.rollouts.advance", + "parameterOrder": [ + "project", + "rollout" + ], + "parameters": { + "currentWaveNumber": { + "description": "Required. Wave number of the current wave.", + "format": "int64", + "location": "query", + "type": "string" + }, + "project": { + "description": "Required. Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "rollout": { + "description": "Required. Name of the Rollout resource to advance.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/rollouts/{rollout}/advance", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "cancel": { "description": "Cancels a Rollout.", "flatPath": "projects/{project}/global/rollouts/{rollout}", @@ -41209,6 +41254,94 @@ "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ] + }, + "pause": { + "description": "Pauses a Rollout.", + "flatPath": "projects/{project}/global/rollouts/{rollout}/pause", + "httpMethod": "POST", + "id": "compute.rollouts.pause", + "parameterOrder": [ + "project", + "rollout" + ], + "parameters": { + "etag": { + "description": "The etag of the Rollout.\nIf this is provided, the request will only succeed if the etag matches\nthe current etag of the Rollout.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Required. Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "rollout": { + "description": "Required. Name of the Rollout resource to pause.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/rollouts/{rollout}/pause", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "resume": { + "description": "Resumes a Rollout.", + "flatPath": "projects/{project}/global/rollouts/{rollout}/resume", + "httpMethod": "POST", + "id": "compute.rollouts.resume", + "parameterOrder": [ + "project", + "rollout" + ], + "parameters": { + "etag": { + "description": "The etag of the Rollout.\nIf this is provided, the request will only succeed if the etag matches\nthe current etag of the Rollout.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Required. Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "rollout": { + "description": "Required. Name of the Rollout resource to resume.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/rollouts/{rollout}/resume", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -51797,7 +51930,7 @@ } } }, - "revision": "20260427", + "revision": "20260501", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -52618,6 +52751,7 @@ "PRIVATE_SERVICE_CONNECT", "SERVERLESS", "SHARED_LOADBALANCER_VIP", + "SYSTEM_MANAGED", "VPC_PEERING" ], "enumDescriptions": [ @@ -52630,6 +52764,7 @@ "A private network IP address that can be used to configure Private\nService Connect. This purpose can be specified only forGLOBAL addresses of Type INTERNAL", "A regional internal IP address range reserved for Serverless.", "A private network IP address that can be shared by multiple Internal\nLoad Balancer forwarding rules.", + "A regional internal IP address that is reserved and managed internally.\nIt can not be assigned to compute resources such as VM and internal load\nbalancer.", "IP range for peer networks." ], "type": "string" @@ -53667,7 +53802,6 @@ "type": "string" }, "diskType": { - "description": "Specifies the disk type to use to create the instance. If not specified,\nthe default is pd-standard, specified using the full URL.\nFor example:\n\nhttps://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard\n\n\nFor a full list of acceptable values, seePersistent disk\ntypes. If you specify this field when creating a VM, you can provide\neither the full or partial URL. For example, the following values are\nvalid:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType \n - projects/project/zones/zone/diskTypes/diskType \n - zones/zone/diskTypes/diskType\n\n\nIf you specify this field when creating or updating an instance template\nor all-instances configuration, specify the type of the disk, not the\nURL. For example: pd-standard.", "type": "string" }, "enableConfidentialCompute": { @@ -59746,12 +59880,14 @@ "confidentialInstanceType": { "description": "Defines the type of technology used by the confidential instance.", "enum": [ + "CCA", "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" ], "enumDescriptions": [ + "Arm Confidential Compute Architecture.", "No type specified. Do not use this value.", "AMD Secure Encrypted Virtualization.", "AMD Secure Encrypted Virtualization - Secure Nested Paging.", @@ -60490,6 +60626,23 @@ "readOnly": true, "type": "string" }, + "sourceMachineImage": { + "description": "The machine image to create the disk from. You can provide this as a\npartial or full URL to the resource. For example, the following are valid\nvalues:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/machineImages/machineImage \n - projects/project/global/machineImages/machineImage\n - global/machineImages/machineImage", + "type": "string" + }, + "sourceMachineImageDiskDeviceName": { + "description": "The device name of a disk within a given machine image. The\nsource_machine_image must be specified.", + "type": "string" + }, + "sourceMachineImageEncryptionKey": { + "$ref": "CustomerEncryptionKey", + "description": "Thecustomer-supplied\nencryption key of the source machine image. Required if the source\nmachine image is protected by a customer-supplied encryption key." + }, + "sourceMachineImageId": { + "description": "Output only. [Output Only] The unique ID of the machine image used to create this disk.\nThis value identifies the exact machine image that was used to create this\npersistent disk. For example, if you created the persistent disk from a\nmachine image that was later deleted and recreated under the same name, the\nsource machine image ID would identify the exact version of the machine\nimage that was used.", + "readOnly": true, + "type": "string" + }, "sourceSnapshot": { "description": "The source snapshot used to create this disk. You can provide this as a\npartial or full URL to the resource. For example, the following are valid\nvalues:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot \n - projects/project/global/snapshots/snapshot\n - global/snapshots/snapshot", "type": "string" @@ -66408,6 +66561,7 @@ "description": "The ID of a supported feature. To add multiple values, use commas to\nseparate values. Set to one or more of the following values:\n \n - VIRTIO_SCSI_MULTIQUEUE\n - WINDOWS\n - MULTI_IP_SUBNET\n - UEFI_COMPATIBLE\n - GVNIC\n - SEV_CAPABLE\n - SUSPEND_RESUME_COMPATIBLE\n - SEV_LIVE_MIGRATABLE_V2\n - SEV_SNP_CAPABLE\n - TDX_CAPABLE\n - IDPF\n - SNP_SVSM_CAPABLE\n - CCA_CAPABLE\n\n\nFor more information, see\nEnabling guest operating system features.", "enum": [ "BARE_METAL_LINUX_COMPATIBLE", + "CCA_CAPABLE", "FEATURE_TYPE_UNSPECIFIED", "GVNIC", "IDPF", @@ -66438,6 +66592,7 @@ "", "", "", + "", "" ], "type": "string" @@ -76772,6 +76927,11 @@ "description": "An optional description of this resource. Provide this property when you\ncreate the resource.", "type": "string" }, + "effectiveLocation": { + "description": "Output only. [Output Only] URL of the InterconnectLocation object that represents where\nthis connection is to be provisioned. By default it will be the same as the\nlocation field.", + "readOnly": true, + "type": "string" + }, "expectedOutages": { "description": "Output only. [Output Only] A list of outages expected for this Interconnect.", "items": { @@ -81792,6 +81952,20 @@ "description": "Machine Image parameters", "id": "MachineImageParams", "properties": { + "excludedDisks": { + "description": "Input only. [Input Only] Specifies the list of disk device names that must be\nexcluded from the new machine image.", + "items": { + "type": "string" + }, + "type": "array" + }, + "includedDisks": { + "description": "Input only. [Input Only] Specifies the list of disk device names that must be\nincluded with the new machine image.", + "items": { + "type": "string" + }, + "type": "array" + }, "resourceManagerTags": { "additionalProperties": { "type": "string" @@ -84685,7 +84859,7 @@ "type": "string" }, "network": { - "description": "The URL of the network to which all network endpoints in the NEG belong.\nUses default project network if unspecified.", + "description": "The URL of the network to which all network endpoints in the NEG belong.\nFor networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or NON_GCP_PRIVATE_IP_PORT,\nif this field is not specified, a default network will be used.\nThis field cannot be set for NEGs with networkEndpointType set toSERVERLESS or PRIVATE_SERVICE_CONNECT and for\nglobal NEGs.\nFor all other network endpoint types, this field is required.", "type": "string" }, "networkEndpointType": { @@ -84982,7 +85156,7 @@ }, "network": { "deprecated": true, - "description": "The URL of the network to which all network endpoints in the NEG belong.\nUses default project network if unspecified.\n[Deprecated] This field is deprecated.", + "description": "The URL of the network to which all network endpoints in the NEG belong.\nFor networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or NON_GCP_PRIVATE_IP_PORT,\nif this field is not specified, a default network will be used.\nThis field cannot be set for NEGs with networkEndpointType set toSERVERLESS or PRIVATE_SERVICE_CONNECT and for\nglobal NEGs.\nFor all other network endpoint types, this field is required.\n [Deprecated] This field is deprecated.", "type": "string" }, "subnetwork": { @@ -87112,6 +87286,7 @@ "PRIVATE_SERVICE_CONNECT", "SERVERLESS", "SHARED_LOADBALANCER_VIP", + "SYSTEM_MANAGED", "VPC_PEERING" ], "enumDescriptions": [ @@ -87124,6 +87299,7 @@ "A private network IP address that can be used to configure Private\nService Connect. This purpose can be specified only forGLOBAL addresses of Type INTERNAL", "A regional internal IP address range reserved for Serverless.", "A private network IP address that can be shared by multiple Internal\nLoad Balancer forwarding rules.", + "A regional internal IP address that is reserved and managed internally.\nIt can not be assigned to compute resources such as VM and internal load\nbalancer.", "IP range for peer networks." ], "type": "string" diff --git a/discovery/compute-v1.json b/discovery/compute-v1.json index 6cb01d1556..03f8c13a63 100644 --- a/discovery/compute-v1.json +++ b/discovery/compute-v1.json @@ -47746,7 +47746,7 @@ } } }, - "revision": "20260422", + "revision": "20260501", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -49571,7 +49571,6 @@ "type": "string" }, "diskType": { - "description": "Specifies the disk type to use to create the instance. If not specified,\nthe default is pd-standard, specified using the full URL.\nFor example:\n\nhttps://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard\n\n\nFor a full list of acceptable values, seePersistent disk\ntypes. If you specify this field when creating a VM, you can provide\neither the full or partial URL. For example, the following values are\nvalid:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType \n - projects/project/zones/zone/diskTypes/diskType \n - zones/zone/diskTypes/diskType\n\n\nIf you specify this field when creating or updating an instance template\nor all-instances configuration, specify the type of the disk, not the\nURL. For example: pd-standard.", "type": "string" }, "enableConfidentialCompute": { @@ -55156,12 +55155,14 @@ "confidentialInstanceType": { "description": "Defines the type of technology used by the confidential instance.", "enum": [ + "CCA", "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", "SEV", "SEV_SNP", "TDX" ], "enumDescriptions": [ + "Arm Confidential Compute Architecture.", "No type specified. Do not use this value.", "AMD Secure Encrypted Virtualization.", "AMD Secure Encrypted Virtualization - Secure Nested Paging.", @@ -58580,6 +58581,13 @@ "description": "A fully-qualified URL of a SecurityProfile resource instance.\nExample:\nhttps://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group\nMust be specified if action is one of 'apply_security_profile_group' or\n'mirror'. Cannot be specified for other actions.", "type": "string" }, + "targetForwardingRules": { + "description": "A list of forwarding rules to which this rule applies.\nThis field allows you to control which load balancers get this rule.\nFor example, the following are valid values:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/forwardingRules/forwardingRule\n - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule\n - projects/project/global/\n forwardingRules/forwardingRule\n - projects/project/regions/region/forwardingRules/\n forwardingRule", + "items": { + "type": "string" + }, + "type": "array" + }, "targetResources": { "description": "A list of network resource URLs to which this rule applies. This field\nallows you to control which network's VMs get this rule. If this field\nis left blank, all VMs within the organization will receive the rule.", "items": { @@ -58601,6 +58609,18 @@ }, "type": "array" }, + "targetType": { + "description": "Target types of the firewall policy rule.\nDefault value is INSTANCES.", + "enum": [ + "INSTANCES", + "INTERNAL_MANAGED_LB" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "tlsInspect": { "description": "Boolean flag indicating if the traffic should be TLS decrypted.\nCan be set only if action = 'apply_security_profile_group' and cannot\nbe set for other actions.", "type": "boolean" @@ -61560,6 +61580,7 @@ "description": "The ID of a supported feature. To add multiple values, use commas to\nseparate values. Set to one or more of the following values:\n \n - VIRTIO_SCSI_MULTIQUEUE\n - WINDOWS\n - MULTI_IP_SUBNET\n - UEFI_COMPATIBLE\n - GVNIC\n - SEV_CAPABLE\n - SUSPEND_RESUME_COMPATIBLE\n - SEV_LIVE_MIGRATABLE_V2\n - SEV_SNP_CAPABLE\n - TDX_CAPABLE\n - IDPF\n - SNP_SVSM_CAPABLE\n - CCA_CAPABLE\n\n\nFor more information, see\nEnabling guest operating system features.", "enum": [ "BARE_METAL_LINUX_COMPATIBLE", + "CCA_CAPABLE", "FEATURE_TYPE_UNSPECIFIED", "GVNIC", "IDPF", @@ -61590,6 +61611,7 @@ "", "", "", + "", "" ], "type": "string" @@ -78407,7 +78429,7 @@ "type": "string" }, "network": { - "description": "The URL of the network to which all network endpoints in the NEG belong.\nUses default project network if unspecified.", + "description": "The URL of the network to which all network endpoints in the NEG belong.\nFor networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or NON_GCP_PRIVATE_IP_PORT,\nif this field is not specified, a default network will be used.\nThis field cannot be set for NEGs with networkEndpointType set toSERVERLESS or PRIVATE_SERVICE_CONNECT and for\nglobal NEGs.\nFor all other network endpoint types, this field is required.", "type": "string" }, "networkEndpointType": { diff --git a/src/apis/compute/alpha.ts b/src/apis/compute/alpha.ts index 784fe6156b..913e6b74aa 100644 --- a/src/apis/compute/alpha.ts +++ b/src/apis/compute/alpha.ts @@ -1523,29 +1523,6 @@ export namespace compute_alpha { * is 500 GB. */ diskSizeGb?: string | null; - /** - * Specifies the disk type to use to create the instance. If not specified, - * the default is pd-standard, specified using the full URL. - * For example: - * - * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard - * - * - * For a full list of acceptable values, seePersistent disk - * types. If you specify this field when creating a VM, you can provide - * either the full or partial URL. For example, the following values are - * valid: - * - * - * - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType - * - projects/project/zones/zone/diskTypes/diskType - * - zones/zone/diskTypes/diskType - * - * - * If you specify this field when creating or updating an instance template - * or all-instances configuration, specify the type of the disk, not the - * URL. For example: pd-standard. - */ diskType?: string | null; /** * Whether this disk is using confidential compute mode. @@ -23163,7 +23140,11 @@ export namespace compute_alpha { name?: string | null; /** * The URL of the network to which all network endpoints in the NEG belong. - * Uses default project network if unspecified. + * For networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or NON_GCP_PRIVATE_IP_PORT, + * if this field is not specified, a default network will be used. + * This field cannot be set for NEGs with networkEndpointType set toSERVERLESS or PRIVATE_SERVICE_CONNECT and for + * global NEGs. + * For all other network endpoint types, this field is required. */ network?: string | null; /** @@ -23390,8 +23371,12 @@ export namespace compute_alpha { defaultPort?: number | null; /** * The URL of the network to which all network endpoints in the NEG belong. - * Uses default project network if unspecified. - * [Deprecated] This field is deprecated. + * For networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or NON_GCP_PRIVATE_IP_PORT, + * if this field is not specified, a default network will be used. + * This field cannot be set for NEGs with networkEndpointType set toSERVERLESS or PRIVATE_SERVICE_CONNECT and for + * global NEGs. + * For all other network endpoint types, this field is required. + * [Deprecated] This field is deprecated. */ network?: string | null; /** diff --git a/src/apis/compute/beta.ts b/src/apis/compute/beta.ts index 4f86b04d05..52a8c66222 100644 --- a/src/apis/compute/beta.ts +++ b/src/apis/compute/beta.ts @@ -1441,29 +1441,6 @@ export namespace compute_beta { * is 500 GB. */ diskSizeGb?: string | null; - /** - * Specifies the disk type to use to create the instance. If not specified, - * the default is pd-standard, specified using the full URL. - * For example: - * - * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard - * - * - * For a full list of acceptable values, seePersistent disk - * types. If you specify this field when creating a VM, you can provide - * either the full or partial URL. For example, the following values are - * valid: - * - * - * - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType - * - projects/project/zones/zone/diskTypes/diskType - * - zones/zone/diskTypes/diskType - * - * - * If you specify this field when creating or updating an instance template - * or all-instances configuration, specify the type of the disk, not the - * URL. For example: pd-standard. - */ diskType?: string | null; /** * Whether this disk is using confidential compute mode. @@ -6882,6 +6859,37 @@ export namespace compute_beta { * version of the instant snapshot that was used. */ sourceInstantSnapshotId?: string | null; + /** + * The machine image to create the disk from. You can provide this as a + * partial or full URL to the resource. For example, the following are valid + * values: + * + * + * - https://www.googleapis.com/compute/v1/projects/project/global/machineImages/machineImage + * - projects/project/global/machineImages/machineImage + * - global/machineImages/machineImage + */ + sourceMachineImage?: string | null; + /** + * The device name of a disk within a given machine image. The + * source_machine_image must be specified. + */ + sourceMachineImageDiskDeviceName?: string | null; + /** + * Thecustomer-supplied + * encryption key of the source machine image. Required if the source + * machine image is protected by a customer-supplied encryption key. + */ + sourceMachineImageEncryptionKey?: Schema$CustomerEncryptionKey; + /** + * Output only. [Output Only] The unique ID of the machine image used to create this disk. + * This value identifies the exact machine image that was used to create this + * persistent disk. For example, if you created the persistent disk from a + * machine image that was later deleted and recreated under the same name, the + * source machine image ID would identify the exact version of the machine + * image that was used. + */ + sourceMachineImageId?: string | null; /** * The source snapshot used to create this disk. You can provide this as a * partial or full URL to the resource. For example, the following are valid @@ -16348,6 +16356,12 @@ export namespace compute_beta { * create the resource. */ description?: string | null; + /** + * Output only. [Output Only] URL of the InterconnectLocation object that represents where + * this connection is to be provisioned. By default it will be the same as the + * location field. + */ + effectiveLocation?: string | null; /** * Output only. [Output Only] A list of outages expected for this Interconnect. */ @@ -19412,6 +19426,16 @@ export namespace compute_beta { * Machine Image parameters */ export interface Schema$MachineImageParams { + /** + * Input only. [Input Only] Specifies the list of disk device names that must be + * excluded from the new machine image. + */ + excludedDisks?: string[] | null; + /** + * Input only. [Input Only] Specifies the list of disk device names that must be + * included with the new machine image. + */ + includedDisks?: string[] | null; /** * Input only. Resource manager tags to be bound to the machine image. Tag keys and values * have the same definition as resource @@ -20814,7 +20838,11 @@ export namespace compute_beta { name?: string | null; /** * The URL of the network to which all network endpoints in the NEG belong. - * Uses default project network if unspecified. + * For networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or NON_GCP_PRIVATE_IP_PORT, + * if this field is not specified, a default network will be used. + * This field cannot be set for NEGs with networkEndpointType set toSERVERLESS or PRIVATE_SERVICE_CONNECT and for + * global NEGs. + * For all other network endpoint types, this field is required. */ network?: string | null; /** @@ -21033,8 +21061,12 @@ export namespace compute_beta { defaultPort?: number | null; /** * The URL of the network to which all network endpoints in the NEG belong. - * Uses default project network if unspecified. - * [Deprecated] This field is deprecated. + * For networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or NON_GCP_PRIVATE_IP_PORT, + * if this field is not specified, a default network will be used. + * This field cannot be set for NEGs with networkEndpointType set toSERVERLESS or PRIVATE_SERVICE_CONNECT and for + * global NEGs. + * For all other network endpoint types, this field is required. + * [Deprecated] This field is deprecated. */ network?: string | null; /** @@ -53277,6 +53309,10 @@ export namespace compute_beta { * // "sourceImageId": "my_sourceImageId", * // "sourceInstantSnapshot": "my_sourceInstantSnapshot", * // "sourceInstantSnapshotId": "my_sourceInstantSnapshotId", + * // "sourceMachineImage": "my_sourceMachineImage", + * // "sourceMachineImageDiskDeviceName": "my_sourceMachineImageDiskDeviceName", + * // "sourceMachineImageEncryptionKey": {}, + * // "sourceMachineImageId": "my_sourceMachineImageId", * // "sourceSnapshot": "my_sourceSnapshot", * // "sourceSnapshotEncryptionKey": {}, * // "sourceSnapshotId": "my_sourceSnapshotId", @@ -53645,6 +53681,10 @@ export namespace compute_beta { * // "sourceImageId": "my_sourceImageId", * // "sourceInstantSnapshot": "my_sourceInstantSnapshot", * // "sourceInstantSnapshotId": "my_sourceInstantSnapshotId", + * // "sourceMachineImage": "my_sourceMachineImage", + * // "sourceMachineImageDiskDeviceName": "my_sourceMachineImageDiskDeviceName", + * // "sourceMachineImageEncryptionKey": {}, + * // "sourceMachineImageId": "my_sourceMachineImageId", * // "sourceSnapshot": "my_sourceSnapshot", * // "sourceSnapshotEncryptionKey": {}, * // "sourceSnapshotId": "my_sourceSnapshotId", @@ -55610,6 +55650,10 @@ export namespace compute_beta { * // "sourceImageId": "my_sourceImageId", * // "sourceInstantSnapshot": "my_sourceInstantSnapshot", * // "sourceInstantSnapshotId": "my_sourceInstantSnapshotId", + * // "sourceMachineImage": "my_sourceMachineImage", + * // "sourceMachineImageDiskDeviceName": "my_sourceMachineImageDiskDeviceName", + * // "sourceMachineImageEncryptionKey": {}, + * // "sourceMachineImageId": "my_sourceMachineImageId", * // "sourceSnapshot": "my_sourceSnapshot", * // "sourceSnapshotEncryptionKey": {}, * // "sourceSnapshotId": "my_sourceSnapshotId", @@ -125314,6 +125358,7 @@ export namespace compute_beta { * // "creationTimestamp": "my_creationTimestamp", * // "customerName": "my_customerName", * // "description": "my_description", + * // "effectiveLocation": "my_effectiveLocation", * // "expectedOutages": [], * // "googleIpAddress": "my_googleIpAddress", * // "googleReferenceId": "my_googleReferenceId", @@ -125824,6 +125869,7 @@ export namespace compute_beta { * // "creationTimestamp": "my_creationTimestamp", * // "customerName": "my_customerName", * // "description": "my_description", + * // "effectiveLocation": "my_effectiveLocation", * // "expectedOutages": [], * // "googleIpAddress": "my_googleIpAddress", * // "googleReferenceId": "my_googleReferenceId", @@ -126286,6 +126332,7 @@ export namespace compute_beta { * // "creationTimestamp": "my_creationTimestamp", * // "customerName": "my_customerName", * // "description": "my_description", + * // "effectiveLocation": "my_effectiveLocation", * // "expectedOutages": [], * // "googleIpAddress": "my_googleIpAddress", * // "googleReferenceId": "my_googleReferenceId", @@ -177378,6 +177425,10 @@ export namespace compute_beta { * // "sourceImageId": "my_sourceImageId", * // "sourceInstantSnapshot": "my_sourceInstantSnapshot", * // "sourceInstantSnapshotId": "my_sourceInstantSnapshotId", + * // "sourceMachineImage": "my_sourceMachineImage", + * // "sourceMachineImageDiskDeviceName": "my_sourceMachineImageDiskDeviceName", + * // "sourceMachineImageEncryptionKey": {}, + * // "sourceMachineImageId": "my_sourceMachineImageId", * // "sourceSnapshot": "my_sourceSnapshot", * // "sourceSnapshotEncryptionKey": {}, * // "sourceSnapshotId": "my_sourceSnapshotId", @@ -177743,6 +177794,10 @@ export namespace compute_beta { * // "sourceImageId": "my_sourceImageId", * // "sourceInstantSnapshot": "my_sourceInstantSnapshot", * // "sourceInstantSnapshotId": "my_sourceInstantSnapshotId", + * // "sourceMachineImage": "my_sourceMachineImage", + * // "sourceMachineImageDiskDeviceName": "my_sourceMachineImageDiskDeviceName", + * // "sourceMachineImageEncryptionKey": {}, + * // "sourceMachineImageId": "my_sourceMachineImageId", * // "sourceSnapshot": "my_sourceSnapshot", * // "sourceSnapshotEncryptionKey": {}, * // "sourceSnapshotId": "my_sourceSnapshotId", @@ -179710,6 +179765,10 @@ export namespace compute_beta { * // "sourceImageId": "my_sourceImageId", * // "sourceInstantSnapshot": "my_sourceInstantSnapshot", * // "sourceInstantSnapshotId": "my_sourceInstantSnapshotId", + * // "sourceMachineImage": "my_sourceMachineImage", + * // "sourceMachineImageDiskDeviceName": "my_sourceMachineImageDiskDeviceName", + * // "sourceMachineImageEncryptionKey": {}, + * // "sourceMachineImageId": "my_sourceMachineImageId", * // "sourceSnapshot": "my_sourceSnapshot", * // "sourceSnapshotEncryptionKey": {}, * // "sourceSnapshotId": "my_sourceSnapshotId", @@ -240631,6 +240690,190 @@ export namespace compute_beta { this.context = context; } + /** + * Advances a Rollout to the next wave, or completes it if no waves remain. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.rollouts.advance({ + * // Required. Wave number of the current wave. + * currentWaveNumber: 'placeholder-value', + * // Required. Project ID for this request. + * project: + * '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))', + * // An optional request ID to identify requests. Specify a unique request ID so + * // that if you must retry your request, the server will know to ignore the + * // request if it has already been completed. + * // + * // For example, consider a situation where you make an initial request and + * // the request times out. If you make the request again with the same + * // request ID, the server can check if original operation with the same + * // request ID was received, and if so, will ignore the second request. This + * // prevents clients from accidentally creating duplicate commitments. + * // + * // The request ID must be + * // a valid UUID with the exception that zero UUID is not supported + * // (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Required. Name of the Rollout resource to advance. + * rollout: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "clientOperationId": "my_clientOperationId", + * // "creationTimestamp": "my_creationTimestamp", + * // "description": "my_description", + * // "endTime": "my_endTime", + * // "error": {}, + * // "getVersionOperationMetadata": {}, + * // "httpErrorMessage": "my_httpErrorMessage", + * // "httpErrorStatusCode": 0, + * // "id": "my_id", + * // "insertTime": "my_insertTime", + * // "instancesBulkInsertOperationMetadata": {}, + * // "kind": "my_kind", + * // "name": "my_name", + * // "operationGroupId": "my_operationGroupId", + * // "operationType": "my_operationType", + * // "progress": 0, + * // "region": "my_region", + * // "selfLink": "my_selfLink", + * // "setCommonInstanceMetadataOperationMetadata": {}, + * // "startTime": "my_startTime", + * // "status": "my_status", + * // "statusMessage": "my_statusMessage", + * // "targetId": "my_targetId", + * // "targetLink": "my_targetLink", + * // "user": "my_user", + * // "warnings": [], + * // "zone": "my_zone" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + advance( + params: Params$Resource$Rollouts$Advance, + options: StreamMethodOptions + ): Promise>; + advance( + params?: Params$Resource$Rollouts$Advance, + options?: MethodOptions + ): Promise>; + advance( + params: Params$Resource$Rollouts$Advance, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + advance( + params: Params$Resource$Rollouts$Advance, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + advance( + params: Params$Resource$Rollouts$Advance, + callback: BodyResponseCallback + ): void; + advance(callback: BodyResponseCallback): void; + advance( + paramsOrCallback?: + | Params$Resource$Rollouts$Advance + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Rollouts$Advance; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Rollouts$Advance; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/global/rollouts/{rollout}/advance' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'rollout'], + pathParams: ['project', 'rollout'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Cancels a Rollout. * @example @@ -241392,8 +241635,410 @@ export namespace compute_beta { return createAPIRequest(parameters); } } + + /** + * Pauses a Rollout. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.rollouts.pause({ + * // The etag of the Rollout. + * // If this is provided, the request will only succeed if the etag matches + * // the current etag of the Rollout. + * etag: 'placeholder-value', + * // Required. Project ID for this request. + * project: + * '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))', + * // An optional request ID to identify requests. Specify a unique request ID so + * // that if you must retry your request, the server will know to ignore the + * // request if it has already been completed. + * // + * // For example, consider a situation where you make an initial request and + * // the request times out. If you make the request again with the same + * // request ID, the server can check if original operation with the same + * // request ID was received, and if so, will ignore the second request. This + * // prevents clients from accidentally creating duplicate commitments. + * // + * // The request ID must be + * // a valid UUID with the exception that zero UUID is not supported + * // (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Required. Name of the Rollout resource to pause. + * rollout: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "clientOperationId": "my_clientOperationId", + * // "creationTimestamp": "my_creationTimestamp", + * // "description": "my_description", + * // "endTime": "my_endTime", + * // "error": {}, + * // "getVersionOperationMetadata": {}, + * // "httpErrorMessage": "my_httpErrorMessage", + * // "httpErrorStatusCode": 0, + * // "id": "my_id", + * // "insertTime": "my_insertTime", + * // "instancesBulkInsertOperationMetadata": {}, + * // "kind": "my_kind", + * // "name": "my_name", + * // "operationGroupId": "my_operationGroupId", + * // "operationType": "my_operationType", + * // "progress": 0, + * // "region": "my_region", + * // "selfLink": "my_selfLink", + * // "setCommonInstanceMetadataOperationMetadata": {}, + * // "startTime": "my_startTime", + * // "status": "my_status", + * // "statusMessage": "my_statusMessage", + * // "targetId": "my_targetId", + * // "targetLink": "my_targetLink", + * // "user": "my_user", + * // "warnings": [], + * // "zone": "my_zone" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + pause( + params: Params$Resource$Rollouts$Pause, + options: StreamMethodOptions + ): Promise>; + pause( + params?: Params$Resource$Rollouts$Pause, + options?: MethodOptions + ): Promise>; + pause( + params: Params$Resource$Rollouts$Pause, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + pause( + params: Params$Resource$Rollouts$Pause, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + pause( + params: Params$Resource$Rollouts$Pause, + callback: BodyResponseCallback + ): void; + pause(callback: BodyResponseCallback): void; + pause( + paramsOrCallback?: + | Params$Resource$Rollouts$Pause + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Rollouts$Pause; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Rollouts$Pause; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/global/rollouts/{rollout}/pause' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'rollout'], + pathParams: ['project', 'rollout'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Resumes a Rollout. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.rollouts.resume({ + * // The etag of the Rollout. + * // If this is provided, the request will only succeed if the etag matches + * // the current etag of the Rollout. + * etag: 'placeholder-value', + * // Required. Project ID for this request. + * project: + * '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))', + * // An optional request ID to identify requests. Specify a unique request ID so + * // that if you must retry your request, the server will know to ignore the + * // request if it has already been completed. + * // + * // For example, consider a situation where you make an initial request and + * // the request times out. If you make the request again with the same + * // request ID, the server can check if original operation with the same + * // request ID was received, and if so, will ignore the second request. This + * // prevents clients from accidentally creating duplicate commitments. + * // + * // The request ID must be + * // a valid UUID with the exception that zero UUID is not supported + * // (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Required. Name of the Rollout resource to resume. + * rollout: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "clientOperationId": "my_clientOperationId", + * // "creationTimestamp": "my_creationTimestamp", + * // "description": "my_description", + * // "endTime": "my_endTime", + * // "error": {}, + * // "getVersionOperationMetadata": {}, + * // "httpErrorMessage": "my_httpErrorMessage", + * // "httpErrorStatusCode": 0, + * // "id": "my_id", + * // "insertTime": "my_insertTime", + * // "instancesBulkInsertOperationMetadata": {}, + * // "kind": "my_kind", + * // "name": "my_name", + * // "operationGroupId": "my_operationGroupId", + * // "operationType": "my_operationType", + * // "progress": 0, + * // "region": "my_region", + * // "selfLink": "my_selfLink", + * // "setCommonInstanceMetadataOperationMetadata": {}, + * // "startTime": "my_startTime", + * // "status": "my_status", + * // "statusMessage": "my_statusMessage", + * // "targetId": "my_targetId", + * // "targetLink": "my_targetLink", + * // "user": "my_user", + * // "warnings": [], + * // "zone": "my_zone" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + resume( + params: Params$Resource$Rollouts$Resume, + options: StreamMethodOptions + ): Promise>; + resume( + params?: Params$Resource$Rollouts$Resume, + options?: MethodOptions + ): Promise>; + resume( + params: Params$Resource$Rollouts$Resume, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + resume( + params: Params$Resource$Rollouts$Resume, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + resume( + params: Params$Resource$Rollouts$Resume, + callback: BodyResponseCallback + ): void; + resume(callback: BodyResponseCallback): void; + resume( + paramsOrCallback?: + | Params$Resource$Rollouts$Resume + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Rollouts$Resume; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Rollouts$Resume; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/global/rollouts/{rollout}/resume' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'rollout'], + pathParams: ['project', 'rollout'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } } + export interface Params$Resource$Rollouts$Advance extends StandardParameters { + /** + * Required. Wave number of the current wave. + */ + currentWaveNumber?: string; + /** + * Required. Project ID for this request. + */ + project?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and + * the request times out. If you make the request again with the same + * request ID, the server can check if original operation with the same + * request ID was received, and if so, will ignore the second request. This + * prevents clients from accidentally creating duplicate commitments. + * + * The request ID must be + * a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Required. Name of the Rollout resource to advance. + */ + rollout?: string; + } export interface Params$Resource$Rollouts$Cancel extends StandardParameters { /** * Project ID for this request. @@ -241567,6 +242212,70 @@ export namespace compute_beta { */ returnPartialSuccess?: boolean; } + export interface Params$Resource$Rollouts$Pause extends StandardParameters { + /** + * The etag of the Rollout. + * If this is provided, the request will only succeed if the etag matches + * the current etag of the Rollout. + */ + etag?: string; + /** + * Required. Project ID for this request. + */ + project?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and + * the request times out. If you make the request again with the same + * request ID, the server can check if original operation with the same + * request ID was received, and if so, will ignore the second request. This + * prevents clients from accidentally creating duplicate commitments. + * + * The request ID must be + * a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Required. Name of the Rollout resource to pause. + */ + rollout?: string; + } + export interface Params$Resource$Rollouts$Resume extends StandardParameters { + /** + * The etag of the Rollout. + * If this is provided, the request will only succeed if the etag matches + * the current etag of the Rollout. + */ + etag?: string; + /** + * Required. Project ID for this request. + */ + project?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and + * the request times out. If you make the request again with the same + * request ID, the server can check if original operation with the same + * request ID was received, and if so, will ignore the second request. This + * prevents clients from accidentally creating duplicate commitments. + * + * The request ID must be + * a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Required. Name of the Rollout resource to resume. + */ + rollout?: string; + } export class Resource$Routers { context: APIRequestContext; diff --git a/src/apis/compute/v1.ts b/src/apis/compute/v1.ts index 8a04c41c5e..3f70556d1a 100644 --- a/src/apis/compute/v1.ts +++ b/src/apis/compute/v1.ts @@ -1392,29 +1392,6 @@ export namespace compute_v1 { * is 500 GB. */ diskSizeGb?: string | null; - /** - * Specifies the disk type to use to create the instance. If not specified, - * the default is pd-standard, specified using the full URL. - * For example: - * - * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard - * - * - * For a full list of acceptable values, seePersistent disk - * types. If you specify this field when creating a VM, you can provide - * either the full or partial URL. For example, the following values are - * valid: - * - * - * - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType - * - projects/project/zones/zone/diskTypes/diskType - * - zones/zone/diskTypes/diskType - * - * - * If you specify this field when creating or updating an instance template - * or all-instances configuration, specify the type of the disk, not the - * URL. For example: pd-standard. - */ diskType?: string | null; /** * Whether this disk is using confidential compute mode. @@ -7824,6 +7801,20 @@ export namespace compute_v1 { * 'mirror'. Cannot be specified for other actions. */ securityProfileGroup?: string | null; + /** + * A list of forwarding rules to which this rule applies. + * This field allows you to control which load balancers get this rule. + * For example, the following are valid values: + * + * + * - https://www.googleapis.com/compute/v1/projects/project/global/forwardingRules/forwardingRule + * - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule + * - projects/project/global/ + * forwardingRules/forwardingRule + * - projects/project/regions/region/forwardingRules/ + * forwardingRule + */ + targetForwardingRules?: string[] | null; /** * A list of network resource URLs to which this rule applies. This field * allows you to control which network's VMs get this rule. If this field @@ -7846,6 +7837,11 @@ export namespace compute_v1 { * applied with this rule. */ targetServiceAccounts?: string[] | null; + /** + * Target types of the firewall policy rule. + * Default value is INSTANCES. + */ + targetType?: string | null; /** * Boolean flag indicating if the traffic should be TLS decrypted. * Can be set only if action = 'apply_security_profile_group' and cannot @@ -19302,7 +19298,11 @@ export namespace compute_v1 { name?: string | null; /** * The URL of the network to which all network endpoints in the NEG belong. - * Uses default project network if unspecified. + * For networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or NON_GCP_PRIVATE_IP_PORT, + * if this field is not specified, a default network will be used. + * This field cannot be set for NEGs with networkEndpointType set toSERVERLESS or PRIVATE_SERVICE_CONNECT and for + * global NEGs. + * For all other network endpoint types, this field is required. */ network?: string | null; /** @@ -56117,9 +56117,11 @@ export namespace compute_v1 { * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "securityProfileGroup": "my_securityProfileGroup", + * // "targetForwardingRules": [], * // "targetResources": [], * // "targetSecureTags": [], * // "targetServiceAccounts": [], + * // "targetType": "my_targetType", * // "tlsInspect": false * // } * }, @@ -57125,9 +57127,11 @@ export namespace compute_v1 { * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "securityProfileGroup": "my_securityProfileGroup", + * // "targetForwardingRules": [], * // "targetResources": [], * // "targetSecureTags": [], * // "targetServiceAccounts": [], + * // "targetType": "my_targetType", * // "tlsInspect": false * // } * } @@ -58281,9 +58285,11 @@ export namespace compute_v1 { * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "securityProfileGroup": "my_securityProfileGroup", + * // "targetForwardingRules": [], * // "targetResources": [], * // "targetSecureTags": [], * // "targetServiceAccounts": [], + * // "targetType": "my_targetType", * // "tlsInspect": false * // } * }, @@ -130534,9 +130540,11 @@ export namespace compute_v1 { * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "securityProfileGroup": "my_securityProfileGroup", + * // "targetForwardingRules": [], * // "targetResources": [], * // "targetSecureTags": [], * // "targetServiceAccounts": [], + * // "targetType": "my_targetType", * // "tlsInspect": false * // } * }, @@ -130748,9 +130756,11 @@ export namespace compute_v1 { * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "securityProfileGroup": "my_securityProfileGroup", + * // "targetForwardingRules": [], * // "targetResources": [], * // "targetSecureTags": [], * // "targetServiceAccounts": [], + * // "targetType": "my_targetType", * // "tlsInspect": false * // } * }, @@ -132036,9 +132046,11 @@ export namespace compute_v1 { * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "securityProfileGroup": "my_securityProfileGroup", + * // "targetForwardingRules": [], * // "targetResources": [], * // "targetSecureTags": [], * // "targetServiceAccounts": [], + * // "targetType": "my_targetType", * // "tlsInspect": false * // } * } @@ -132199,9 +132211,11 @@ export namespace compute_v1 { * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "securityProfileGroup": "my_securityProfileGroup", + * // "targetForwardingRules": [], * // "targetResources": [], * // "targetSecureTags": [], * // "targetServiceAccounts": [], + * // "targetType": "my_targetType", * // "tlsInspect": false * // } * } @@ -133017,9 +133031,11 @@ export namespace compute_v1 { * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "securityProfileGroup": "my_securityProfileGroup", + * // "targetForwardingRules": [], * // "targetResources": [], * // "targetSecureTags": [], * // "targetServiceAccounts": [], + * // "targetType": "my_targetType", * // "tlsInspect": false * // } * }, @@ -133227,9 +133243,11 @@ export namespace compute_v1 { * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "securityProfileGroup": "my_securityProfileGroup", + * // "targetForwardingRules": [], * // "targetResources": [], * // "targetSecureTags": [], * // "targetServiceAccounts": [], + * // "targetType": "my_targetType", * // "tlsInspect": false * // } * }, @@ -195010,9 +195028,11 @@ export namespace compute_v1 { * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "securityProfileGroup": "my_securityProfileGroup", + * // "targetForwardingRules": [], * // "targetResources": [], * // "targetSecureTags": [], * // "targetServiceAccounts": [], + * // "targetType": "my_targetType", * // "tlsInspect": false * // } * }, @@ -196210,9 +196230,11 @@ export namespace compute_v1 { * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "securityProfileGroup": "my_securityProfileGroup", + * // "targetForwardingRules": [], * // "targetResources": [], * // "targetSecureTags": [], * // "targetServiceAccounts": [], + * // "targetType": "my_targetType", * // "tlsInspect": false * // } * } @@ -197038,9 +197060,11 @@ export namespace compute_v1 { * // "ruleName": "my_ruleName", * // "ruleTupleCount": 0, * // "securityProfileGroup": "my_securityProfileGroup", + * // "targetForwardingRules": [], * // "targetResources": [], * // "targetSecureTags": [], * // "targetServiceAccounts": [], + * // "targetType": "my_targetType", * // "tlsInspect": false * // } * }, From d2f733a8526d1b5800453aad9d0c98affd5ff347 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:37 +0000 Subject: [PATCH 22/69] feat(contactcenterinsights): update the API #### contactcenterinsights:v1 The following keys were added: - resources.projects.resources.locations.resources.diagnostics.methods.list.parameters.appId.description - resources.projects.resources.locations.resources.diagnostics.methods.list.parameters.appId.location - resources.projects.resources.locations.resources.diagnostics.methods.list.parameters.appId.type - resources.projects.resources.locations.resources.diagnostics.methods.list.parameters.appVersion.description - resources.projects.resources.locations.resources.diagnostics.methods.list.parameters.appVersion.location - resources.projects.resources.locations.resources.diagnostics.methods.list.parameters.appVersion.type - schemas.GoogleCloudAiplatformV1Blob.description - schemas.GoogleCloudAiplatformV1Blob.id - schemas.GoogleCloudAiplatformV1Blob.properties.data.description - schemas.GoogleCloudAiplatformV1Blob.properties.data.format - schemas.GoogleCloudAiplatformV1Blob.properties.data.type - schemas.GoogleCloudAiplatformV1Blob.properties.displayName.description - schemas.GoogleCloudAiplatformV1Blob.properties.displayName.type - schemas.GoogleCloudAiplatformV1Blob.properties.mimeType.description - schemas.GoogleCloudAiplatformV1Blob.properties.mimeType.type - schemas.GoogleCloudAiplatformV1Blob.type - schemas.GoogleCloudAiplatformV1CodeExecutionResult.description - schemas.GoogleCloudAiplatformV1CodeExecutionResult.id - schemas.GoogleCloudAiplatformV1CodeExecutionResult.properties.outcome.description - schemas.GoogleCloudAiplatformV1CodeExecutionResult.properties.outcome.enum - schemas.GoogleCloudAiplatformV1CodeExecutionResult.properties.outcome.enumDescriptions - schemas.GoogleCloudAiplatformV1CodeExecutionResult.properties.outcome.type - schemas.GoogleCloudAiplatformV1CodeExecutionResult.properties.output.description - schemas.GoogleCloudAiplatformV1CodeExecutionResult.properties.output.type - schemas.GoogleCloudAiplatformV1CodeExecutionResult.type - schemas.GoogleCloudAiplatformV1Content.description - schemas.GoogleCloudAiplatformV1Content.id - schemas.GoogleCloudAiplatformV1Content.properties.parts.description - schemas.GoogleCloudAiplatformV1Content.properties.parts.items.$ref - schemas.GoogleCloudAiplatformV1Content.properties.parts.type - schemas.GoogleCloudAiplatformV1Content.properties.role.description - schemas.GoogleCloudAiplatformV1Content.properties.role.type - schemas.GoogleCloudAiplatformV1Content.type - schemas.GoogleCloudAiplatformV1ExecutableCode.description - schemas.GoogleCloudAiplatformV1ExecutableCode.id - schemas.GoogleCloudAiplatformV1ExecutableCode.properties.code.description - schemas.GoogleCloudAiplatformV1ExecutableCode.properties.code.type - schemas.GoogleCloudAiplatformV1ExecutableCode.properties.language.description - schemas.GoogleCloudAiplatformV1ExecutableCode.properties.language.enum - schemas.GoogleCloudAiplatformV1ExecutableCode.properties.language.enumDescriptions - schemas.GoogleCloudAiplatformV1ExecutableCode.properties.language.type - schemas.GoogleCloudAiplatformV1ExecutableCode.type - schemas.GoogleCloudAiplatformV1FileData.description - schemas.GoogleCloudAiplatformV1FileData.id - schemas.GoogleCloudAiplatformV1FileData.properties.displayName.description - schemas.GoogleCloudAiplatformV1FileData.properties.displayName.type - schemas.GoogleCloudAiplatformV1FileData.properties.fileUri.description - schemas.GoogleCloudAiplatformV1FileData.properties.fileUri.type - schemas.GoogleCloudAiplatformV1FileData.properties.mimeType.description - schemas.GoogleCloudAiplatformV1FileData.properties.mimeType.type - schemas.GoogleCloudAiplatformV1FileData.type - schemas.GoogleCloudAiplatformV1FunctionCall.description - schemas.GoogleCloudAiplatformV1FunctionCall.id - schemas.GoogleCloudAiplatformV1FunctionCall.properties.args.additionalProperties.description - schemas.GoogleCloudAiplatformV1FunctionCall.properties.args.additionalProperties.type - schemas.GoogleCloudAiplatformV1FunctionCall.properties.args.description - schemas.GoogleCloudAiplatformV1FunctionCall.properties.args.type - schemas.GoogleCloudAiplatformV1FunctionCall.properties.name.description - schemas.GoogleCloudAiplatformV1FunctionCall.properties.name.type - schemas.GoogleCloudAiplatformV1FunctionCall.properties.partialArgs.description - schemas.GoogleCloudAiplatformV1FunctionCall.properties.partialArgs.items.$ref - schemas.GoogleCloudAiplatformV1FunctionCall.properties.partialArgs.type - schemas.GoogleCloudAiplatformV1FunctionCall.properties.willContinue.description - schemas.GoogleCloudAiplatformV1FunctionCall.properties.willContinue.type - schemas.GoogleCloudAiplatformV1FunctionCall.type - schemas.GoogleCloudAiplatformV1FunctionResponse.description - schemas.GoogleCloudAiplatformV1FunctionResponse.id - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.name.description - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.name.type - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.parts.description - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.parts.items.$ref - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.parts.type - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.response.additionalProperties.description - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.response.additionalProperties.type - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.response.description - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.response.type - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.scheduling.description - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.scheduling.enum - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.scheduling.enumDescriptions - schemas.GoogleCloudAiplatformV1FunctionResponse.properties.scheduling.type - schemas.GoogleCloudAiplatformV1FunctionResponse.type - schemas.GoogleCloudAiplatformV1FunctionResponseBlob.description - schemas.GoogleCloudAiplatformV1FunctionResponseBlob.id - schemas.GoogleCloudAiplatformV1FunctionResponseBlob.properties.data.description - schemas.GoogleCloudAiplatformV1FunctionResponseBlob.properties.data.format - schemas.GoogleCloudAiplatformV1FunctionResponseBlob.properties.data.type - schemas.GoogleCloudAiplatformV1FunctionResponseBlob.properties.displayName.description - schemas.GoogleCloudAiplatformV1FunctionResponseBlob.properties.displayName.type - schemas.GoogleCloudAiplatformV1FunctionResponseBlob.properties.mimeType.description - schemas.GoogleCloudAiplatformV1FunctionResponseBlob.properties.mimeType.type - schemas.GoogleCloudAiplatformV1FunctionResponseBlob.type - schemas.GoogleCloudAiplatformV1FunctionResponseFileData.description - schemas.GoogleCloudAiplatformV1FunctionResponseFileData.id - schemas.GoogleCloudAiplatformV1FunctionResponseFileData.properties.displayName.description - schemas.GoogleCloudAiplatformV1FunctionResponseFileData.properties.displayName.type - schemas.GoogleCloudAiplatformV1FunctionResponseFileData.properties.fileUri.description - schemas.GoogleCloudAiplatformV1FunctionResponseFileData.properties.fileUri.type - schemas.GoogleCloudAiplatformV1FunctionResponseFileData.properties.mimeType.description - schemas.GoogleCloudAiplatformV1FunctionResponseFileData.properties.mimeType.type - schemas.GoogleCloudAiplatformV1FunctionResponseFileData.type - schemas.GoogleCloudAiplatformV1FunctionResponsePart.description - schemas.GoogleCloudAiplatformV1FunctionResponsePart.id - schemas.GoogleCloudAiplatformV1FunctionResponsePart.properties.fileData.$ref - schemas.GoogleCloudAiplatformV1FunctionResponsePart.properties.fileData.description - schemas.GoogleCloudAiplatformV1FunctionResponsePart.properties.inlineData.$ref - schemas.GoogleCloudAiplatformV1FunctionResponsePart.properties.inlineData.description - schemas.GoogleCloudAiplatformV1FunctionResponsePart.type - schemas.GoogleCloudAiplatformV1Part.description - schemas.GoogleCloudAiplatformV1Part.id - schemas.GoogleCloudAiplatformV1Part.properties.codeExecutionResult.$ref - schemas.GoogleCloudAiplatformV1Part.properties.codeExecutionResult.description - schemas.GoogleCloudAiplatformV1Part.properties.executableCode.$ref - schemas.GoogleCloudAiplatformV1Part.properties.executableCode.description - schemas.GoogleCloudAiplatformV1Part.properties.fileData.$ref - schemas.GoogleCloudAiplatformV1Part.properties.fileData.description - schemas.GoogleCloudAiplatformV1Part.properties.functionCall.$ref - schemas.GoogleCloudAiplatformV1Part.properties.functionCall.description - schemas.GoogleCloudAiplatformV1Part.properties.functionResponse.$ref - schemas.GoogleCloudAiplatformV1Part.properties.functionResponse.description - schemas.GoogleCloudAiplatformV1Part.properties.inlineData.$ref - schemas.GoogleCloudAiplatformV1Part.properties.inlineData.description - schemas.GoogleCloudAiplatformV1Part.properties.mediaResolution.$ref - schemas.GoogleCloudAiplatformV1Part.properties.mediaResolution.description - schemas.GoogleCloudAiplatformV1Part.properties.text.description - schemas.GoogleCloudAiplatformV1Part.properties.text.type - schemas.GoogleCloudAiplatformV1Part.properties.thought.description - schemas.GoogleCloudAiplatformV1Part.properties.thought.type - schemas.GoogleCloudAiplatformV1Part.properties.thoughtSignature.description - schemas.GoogleCloudAiplatformV1Part.properties.thoughtSignature.format - schemas.GoogleCloudAiplatformV1Part.properties.thoughtSignature.type - schemas.GoogleCloudAiplatformV1Part.properties.videoMetadata.$ref - schemas.GoogleCloudAiplatformV1Part.properties.videoMetadata.description - schemas.GoogleCloudAiplatformV1Part.type - schemas.GoogleCloudAiplatformV1PartMediaResolution.description - schemas.GoogleCloudAiplatformV1PartMediaResolution.id - schemas.GoogleCloudAiplatformV1PartMediaResolution.properties.level.description - schemas.GoogleCloudAiplatformV1PartMediaResolution.properties.level.enum - schemas.GoogleCloudAiplatformV1PartMediaResolution.properties.level.enumDescriptions - schemas.GoogleCloudAiplatformV1PartMediaResolution.properties.level.type - schemas.GoogleCloudAiplatformV1PartMediaResolution.type - schemas.GoogleCloudAiplatformV1PartialArg.description - schemas.GoogleCloudAiplatformV1PartialArg.id - schemas.GoogleCloudAiplatformV1PartialArg.properties.boolValue.description - schemas.GoogleCloudAiplatformV1PartialArg.properties.boolValue.type - schemas.GoogleCloudAiplatformV1PartialArg.properties.jsonPath.description - schemas.GoogleCloudAiplatformV1PartialArg.properties.jsonPath.type - schemas.GoogleCloudAiplatformV1PartialArg.properties.nullValue.description - schemas.GoogleCloudAiplatformV1PartialArg.properties.nullValue.enum - schemas.GoogleCloudAiplatformV1PartialArg.properties.nullValue.enumDescriptions - schemas.GoogleCloudAiplatformV1PartialArg.properties.nullValue.type - schemas.GoogleCloudAiplatformV1PartialArg.properties.numberValue.description - schemas.GoogleCloudAiplatformV1PartialArg.properties.numberValue.format - schemas.GoogleCloudAiplatformV1PartialArg.properties.numberValue.type - schemas.GoogleCloudAiplatformV1PartialArg.properties.stringValue.description - schemas.GoogleCloudAiplatformV1PartialArg.properties.stringValue.type - schemas.GoogleCloudAiplatformV1PartialArg.properties.willContinue.description - schemas.GoogleCloudAiplatformV1PartialArg.properties.willContinue.type - schemas.GoogleCloudAiplatformV1PartialArg.type - schemas.GoogleCloudAiplatformV1VideoMetadata.description - schemas.GoogleCloudAiplatformV1VideoMetadata.id - schemas.GoogleCloudAiplatformV1VideoMetadata.properties.endOffset.description - schemas.GoogleCloudAiplatformV1VideoMetadata.properties.endOffset.format - schemas.GoogleCloudAiplatformV1VideoMetadata.properties.endOffset.type - schemas.GoogleCloudAiplatformV1VideoMetadata.properties.fps.description - schemas.GoogleCloudAiplatformV1VideoMetadata.properties.fps.format - schemas.GoogleCloudAiplatformV1VideoMetadata.properties.fps.type - schemas.GoogleCloudAiplatformV1VideoMetadata.properties.startOffset.description - schemas.GoogleCloudAiplatformV1VideoMetadata.properties.startOffset.format - schemas.GoogleCloudAiplatformV1VideoMetadata.properties.startOffset.type - schemas.GoogleCloudAiplatformV1VideoMetadata.type - schemas.GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo.properties.entrySubagentId.description - schemas.GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo.properties.entrySubagentId.type - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.agentDisplayName.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.agentDisplayName.type - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.agentId.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.agentId.type - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.appId.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.appId.type - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.appVersion.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.appVersion.type - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.dryRun.deprecated - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.fullReport.deprecated - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.groupId.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.groupId.type - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.instructions.deprecated - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.outputConfig.deprecated - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse.properties.answer.deprecated - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse.properties.exportUri.deprecated - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse.properties.fullTrajectorySteps.deprecated - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.agentDisplayName.description - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.agentDisplayName.readOnly - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.agentDisplayName.type - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.agentId.description - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.agentId.readOnly - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.agentId.type - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.appId.description - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.appId.readOnly - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.appId.type - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.appVersion.description - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.appVersion.readOnly - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.appVersion.type - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.groupCreateTime.description - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.groupCreateTime.format - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.groupCreateTime.readOnly - schemas.GoogleCloudContactcenterinsightsV1Diagnostic.properties.groupCreateTime.type - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReport.properties.conversationSlices.additionalProperties.$ref - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReport.properties.conversationSlices.description - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReport.properties.conversationSlices.readOnly - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReport.properties.conversationSlices.type - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReport.properties.intentStats.deprecated - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReport.properties.report.description - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReport.properties.report.readOnly - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReport.properties.report.type - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice.description - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice.id - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice.properties.conversationIds.description - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice.properties.conversationIds.items.type - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice.properties.conversationIds.type - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice.type - schemas.GoogleCloudContactcenterinsightsV1LossPattern.properties.links.description - schemas.GoogleCloudContactcenterinsightsV1LossPattern.properties.links.items.$ref - schemas.GoogleCloudContactcenterinsightsV1LossPattern.properties.links.readOnly - schemas.GoogleCloudContactcenterinsightsV1LossPattern.properties.links.type - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.id - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.botInstructionLink.$ref - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.botInstructionLink.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.conversationLink.$ref - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.conversationLink.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.endByteIndex.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.endByteIndex.format - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.endByteIndex.type - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.highlightedText.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.highlightedText.type - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.locationType.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.locationType.enum - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.locationType.enumDescriptions - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.locationType.type - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.startByteIndex.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.startByteIndex.format - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.properties.startByteIndex.type - schemas.GoogleCloudContactcenterinsightsV1LossPatternLink.type - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.id - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.properties.endLine.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.properties.endLine.format - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.properties.endLine.type - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.properties.startLine.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.properties.startLine.format - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.properties.startLine.type - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.properties.subagent.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.properties.subagent.type - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.type - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink.id - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink.properties.conversationId.description - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink.properties.conversationId.type - schemas.GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink.type - schemas.GoogleCloudContactcenterinsightsV1RedirectAction.properties.queryParams.additionalProperties.type - schemas.GoogleCloudContactcenterinsightsV1RedirectAction.properties.queryParams.description - schemas.GoogleCloudContactcenterinsightsV1RedirectAction.properties.queryParams.type - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.agentId.description - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.agentId.readOnly - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.agentId.type - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.content.$ref - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.content.description - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.content.readOnly - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.stateDeltas.description - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.stateDeltas.items.additionalProperties.description - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.stateDeltas.items.additionalProperties.type - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.stateDeltas.items.type - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.stateDeltas.readOnly - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.stateDeltas.type - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.stepId.description - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.stepId.readOnly - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.stepId.type - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.textInput.deprecated - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.thought.deprecated - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.toolCalls.deprecated - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.toolOutput.deprecated - schemas.GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo.properties.entrySubagentId.description - schemas.GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo.properties.entrySubagentId.type - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.agentDisplayName.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.agentDisplayName.type - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.agentId.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.agentId.type - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.appId.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.appId.type - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.appVersion.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.appVersion.type - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.dryRun.deprecated - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.fullReport.deprecated - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.groupId.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.groupId.type - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.instructions.deprecated - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.outputConfig.deprecated - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse.properties.answer.deprecated - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse.properties.exportUri.deprecated - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse.properties.fullTrajectorySteps.deprecated - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.properties.conversationSlices.additionalProperties.$ref - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.properties.conversationSlices.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.properties.conversationSlices.readOnly - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.properties.conversationSlices.type - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.properties.intentStats.deprecated - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.properties.report.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.properties.report.readOnly - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.properties.report.type - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice.id - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice.properties.conversationIds.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice.properties.conversationIds.items.type - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice.properties.conversationIds.type - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice.type - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPattern.properties.links.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPattern.properties.links.items.$ref - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPattern.properties.links.readOnly - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPattern.properties.links.type - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.id - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.botInstructionLink.$ref - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.botInstructionLink.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.conversationLink.$ref - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.conversationLink.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.endByteIndex.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.endByteIndex.format - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.endByteIndex.type - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.highlightedText.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.highlightedText.type - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.locationType.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.locationType.enum - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.locationType.enumDescriptions - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.locationType.type - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.startByteIndex.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.startByteIndex.format - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.properties.startByteIndex.type - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLink.type - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.id - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.properties.endLine.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.properties.endLine.format - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.properties.endLine.type - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.properties.startLine.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.properties.startLine.format - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.properties.startLine.type - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.properties.subagent.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.properties.subagent.type - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.type - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink.id - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink.properties.conversationId.description - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink.properties.conversationId.type - schemas.GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink.type - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.agentId.description - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.agentId.readOnly - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.agentId.type - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.content.$ref - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.content.description - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.content.readOnly - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.stateDeltas.description - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.stateDeltas.items.additionalProperties.description - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.stateDeltas.items.additionalProperties.type - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.stateDeltas.items.type - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.stateDeltas.readOnly - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.stateDeltas.type - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.stepId.description - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.stepId.readOnly - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.stepId.type - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.textInput.deprecated - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.thought.deprecated - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.toolCalls.deprecated - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.toolOutput.deprecated - schemas.GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo.properties.entrySubagentId.description - schemas.GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo.properties.entrySubagentId.type - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.agentDisplayName.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.agentDisplayName.type - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.agentId.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.agentId.type - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.appId.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.appId.type - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.appVersion.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.appVersion.type - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.dryRun.deprecated - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.fullReport.deprecated - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.groupId.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.groupId.type - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.instructions.deprecated - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.outputConfig.deprecated - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse.properties.answer.deprecated - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse.properties.exportUri.deprecated - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse.properties.fullTrajectorySteps.deprecated - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReport.properties.conversationSlices.additionalProperties.$ref - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReport.properties.conversationSlices.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReport.properties.conversationSlices.readOnly - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReport.properties.conversationSlices.type - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReport.properties.intentStats.deprecated - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReport.properties.report.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReport.properties.report.readOnly - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReport.properties.report.type - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice.id - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice.properties.conversationIds.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice.properties.conversationIds.items.type - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice.properties.conversationIds.type - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice.type - schemas.GoogleCloudContactcenterinsightsV1mainLossPattern.properties.links.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPattern.properties.links.items.$ref - schemas.GoogleCloudContactcenterinsightsV1mainLossPattern.properties.links.readOnly - schemas.GoogleCloudContactcenterinsightsV1mainLossPattern.properties.links.type - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.id - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.botInstructionLink.$ref - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.botInstructionLink.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.conversationLink.$ref - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.conversationLink.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.endByteIndex.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.endByteIndex.format - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.endByteIndex.type - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.highlightedText.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.highlightedText.type - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.locationType.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.locationType.enum - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.locationType.enumDescriptions - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.locationType.type - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.startByteIndex.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.startByteIndex.format - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.properties.startByteIndex.type - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLink.type - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.id - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.properties.endLine.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.properties.endLine.format - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.properties.endLine.type - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.properties.startLine.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.properties.startLine.format - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.properties.startLine.type - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.properties.subagent.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.properties.subagent.type - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.type - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink.id - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink.properties.conversationId.description - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink.properties.conversationId.type - schemas.GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink.type - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.agentId.description - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.agentId.readOnly - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.agentId.type - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.content.$ref - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.content.description - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.content.readOnly - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.stateDeltas.description - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.stateDeltas.items.additionalProperties.description - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.stateDeltas.items.additionalProperties.type - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.stateDeltas.items.type - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.stateDeltas.readOnly - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.stateDeltas.type - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.stepId.description - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.stepId.readOnly - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.stepId.type - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.textInput.deprecated - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.thought.deprecated - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.toolCalls.deprecated - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.toolOutput.deprecated The following keys were changed: - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsMetadata.properties.partialTrajectories.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.dryRun.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.fullReport.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.instructions.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest.properties.outputConfig.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse.properties.answer.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse.properties.exportUri.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse.properties.fullTrajectories.description - schemas.GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse.properties.fullTrajectorySteps.description - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReport.description - schemas.GoogleCloudContactcenterinsightsV1DiagnosticReport.properties.intentStats.description - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.textInput.description - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.thought.description - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.toolCalls.description - schemas.GoogleCloudContactcenterinsightsV1SherlockStep.properties.toolOutput.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsMetadata.properties.partialTrajectories.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.dryRun.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.fullReport.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.instructions.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest.properties.outputConfig.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse.properties.answer.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse.properties.exportUri.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse.properties.fullTrajectories.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse.properties.fullTrajectorySteps.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.description - schemas.GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport.properties.intentStats.description - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.textInput.description - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.thought.description - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.toolCalls.description - schemas.GoogleCloudContactcenterinsightsV1alpha1SherlockStep.properties.toolOutput.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsMetadata.properties.partialTrajectories.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.dryRun.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.fullReport.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.instructions.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest.properties.outputConfig.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse.properties.answer.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse.properties.exportUri.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse.properties.fullTrajectories.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse.properties.fullTrajectorySteps.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReport.description - schemas.GoogleCloudContactcenterinsightsV1mainDiagnosticReport.properties.intentStats.description - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.textInput.description - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.thought.description - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.toolCalls.description - schemas.GoogleCloudContactcenterinsightsV1mainSherlockStep.properties.toolOutput.description --- discovery/contactcenterinsights-v1.json | 1036 +++++++++++++++++++++-- src/apis/contactcenterinsights/v1.ts | 762 ++++++++++++++++- 2 files changed, 1704 insertions(+), 94 deletions(-) diff --git a/discovery/contactcenterinsights-v1.json b/discovery/contactcenterinsights-v1.json index 0ff35fef15..ae760f2729 100644 --- a/discovery/contactcenterinsights-v1.json +++ b/discovery/contactcenterinsights-v1.json @@ -4568,6 +4568,16 @@ "parent" ], "parameters": { + "appId": { + "description": "Optional. The CES App ID to filter diagnostics by.", + "location": "query", + "type": "string" + }, + "appVersion": { + "description": "Optional. The CES App version to filter diagnostics by.", + "location": "query", + "type": "string" + }, "filter": { "description": "Optional. A filter to apply to the list (e.g. `create_time > \"2023-01-01T00:00:00Z\"`).", "location": "query", @@ -6224,9 +6234,379 @@ } } }, - "revision": "20260410", + "revision": "20260521", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { + "GoogleCloudAiplatformV1Blob": { + "description": "A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video.", + "id": "GoogleCloudAiplatformV1Blob", + "properties": { + "data": { + "description": "Required. The raw bytes of the data.", + "format": "byte", + "type": "string" + }, + "displayName": { + "description": "Optional. The display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server-side tools (`code_execution`, `google_search`, and `url_context`) are enabled.", + "type": "string" + }, + "mimeType": { + "description": "Required. The IANA standard MIME type of the source data.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1CodeExecutionResult": { + "description": "Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used.", + "id": "GoogleCloudAiplatformV1CodeExecutionResult", + "properties": { + "outcome": { + "description": "Required. Outcome of the code execution.", + "enum": [ + "OUTCOME_UNSPECIFIED", + "OUTCOME_OK", + "OUTCOME_FAILED", + "OUTCOME_DEADLINE_EXCEEDED" + ], + "enumDescriptions": [ + "Unspecified status. This value should not be used.", + "Code execution completed successfully. `output` contains the stdout, if any.", + "Code execution failed. `output` contains the stderr and stdout, if any.", + "Code execution ran for too long, and was cancelled. There may or may not be a partial `output` present." + ], + "type": "string" + }, + "output": { + "description": "Optional. Contains stdout when code execution is successful, stderr or other description otherwise.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1Content": { + "description": "The structured data content of a message. A Content message contains a `role` field, which indicates the producer of the content, and a `parts` field, which contains the multi-part data of the message.", + "id": "GoogleCloudAiplatformV1Content", + "properties": { + "parts": { + "description": "Required. A list of Part objects that make up a single message. Parts of a message can have different MIME types. A Content message must have at least one Part.", + "items": { + "$ref": "GoogleCloudAiplatformV1Part" + }, + "type": "array" + }, + "role": { + "description": "Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1ExecutableCode": { + "description": "Code generated by the model that is meant to be executed, and the result returned to the model. Generated when using the `CodeExecution` tool, in which the code will be automatically executed, and a corresponding CodeExecutionResult will also be generated.", + "id": "GoogleCloudAiplatformV1ExecutableCode", + "properties": { + "code": { + "description": "Required. The code to be executed.", + "type": "string" + }, + "language": { + "description": "Required. Programming language of the `code`.", + "enum": [ + "LANGUAGE_UNSPECIFIED", + "PYTHON" + ], + "enumDescriptions": [ + "Unspecified language. This value should not be used.", + "Python >= 3.10, with numpy and simpy available." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1FileData": { + "description": "URI-based data. A FileData message contains a URI pointing to data of a specific media type. It is used to represent images, audio, and video stored in Google Cloud Storage.", + "id": "GoogleCloudAiplatformV1FileData", + "properties": { + "displayName": { + "description": "Optional. The display name of the file. Used to provide a label or filename to distinguish files. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server side tools (`code_execution`, `google_search`, and `url_context`) are enabled.", + "type": "string" + }, + "fileUri": { + "description": "Required. The URI of the file in Google Cloud Storage.", + "type": "string" + }, + "mimeType": { + "description": "Required. The IANA standard MIME type of the source data.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1FunctionCall": { + "description": "A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name and a structured JSON object containing the parameters and their values.", + "id": "GoogleCloudAiplatformV1FunctionCall", + "properties": { + "args": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. The function parameters and values in JSON object format. See FunctionDeclaration.parameters for parameter details.", + "type": "object" + }, + "name": { + "description": "Optional. The name of the function to call. Matches FunctionDeclaration.name.", + "type": "string" + }, + "partialArgs": { + "description": "Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.", + "items": { + "$ref": "GoogleCloudAiplatformV1PartialArg" + }, + "type": "array" + }, + "willContinue": { + "description": "Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1FunctionResponse": { + "description": "The result output from a FunctionCall that contains a string representing the FunctionDeclaration.name and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a `FunctionCall` made based on model prediction.", + "id": "GoogleCloudAiplatformV1FunctionResponse", + "properties": { + "name": { + "description": "Required. The name of the function to call. Matches FunctionDeclaration.name and FunctionCall.name.", + "type": "string" + }, + "parts": { + "description": "Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA MIME types.", + "items": { + "$ref": "GoogleCloudAiplatformV1FunctionResponsePart" + }, + "type": "array" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Required. The function response in JSON object format. Use \"output\" key to specify function output and \"error\" key to specify error details (if any). If \"output\" and \"error\" keys are not specified, then whole \"response\" is treated as function output.", + "type": "object" + }, + "scheduling": { + "description": "Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.", + "enum": [ + "SCHEDULING_UNSPECIFIED", + "SILENT", + "WHEN_IDLE", + "INTERRUPT" + ], + "enumDescriptions": [ + "This value is unused.", + "Only add the result to the conversation context, do not interrupt or trigger generation.", + "Add the result to the conversation context, and prompt to generate output without interrupting ongoing generation.", + "Add the result to the conversation context, interrupt ongoing generation and prompt to generate output." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1FunctionResponseBlob": { + "description": "Raw media bytes for function response. Text should not be sent as raw bytes, use the 'text' field.", + "id": "GoogleCloudAiplatformV1FunctionResponseBlob", + "properties": { + "data": { + "description": "Required. Raw bytes.", + "format": "byte", + "type": "string" + }, + "displayName": { + "description": "Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.", + "type": "string" + }, + "mimeType": { + "description": "Required. The IANA standard MIME type of the source data.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1FunctionResponseFileData": { + "description": "URI based data for function response.", + "id": "GoogleCloudAiplatformV1FunctionResponseFileData", + "properties": { + "displayName": { + "description": "Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.", + "type": "string" + }, + "fileUri": { + "description": "Required. URI.", + "type": "string" + }, + "mimeType": { + "description": "Required. The IANA standard MIME type of the source data.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1FunctionResponsePart": { + "description": "A datatype containing media that is part of a `FunctionResponse` message. A `FunctionResponsePart` consists of data which has an associated datatype. A `FunctionResponsePart` can only contain one of the accepted types in `FunctionResponsePart.data`. A `FunctionResponsePart` must have a fixed IANA MIME type identifying the type and subtype of the media if the `inline_data` field is filled with raw bytes.", + "id": "GoogleCloudAiplatformV1FunctionResponsePart", + "properties": { + "fileData": { + "$ref": "GoogleCloudAiplatformV1FunctionResponseFileData", + "description": "URI based data." + }, + "inlineData": { + "$ref": "GoogleCloudAiplatformV1FunctionResponseBlob", + "description": "Inline media bytes." + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1Part": { + "description": "A datatype containing media that is part of a multi-part Content message. A `Part` consists of data which has an associated datatype. A `Part` can only contain one of the accepted types in `Part.data`. For media types that are not text, `Part` must have a fixed IANA MIME type identifying the type and subtype of the media if `inline_data` or `file_data` field is filled with raw bytes.", + "id": "GoogleCloudAiplatformV1Part", + "properties": { + "codeExecutionResult": { + "$ref": "GoogleCloudAiplatformV1CodeExecutionResult", + "description": "Optional. The result of executing the ExecutableCode." + }, + "executableCode": { + "$ref": "GoogleCloudAiplatformV1ExecutableCode", + "description": "Optional. Code generated by the model that is intended to be executed." + }, + "fileData": { + "$ref": "GoogleCloudAiplatformV1FileData", + "description": "Optional. The URI-based data of the part. This can be used to include files from Google Cloud Storage." + }, + "functionCall": { + "$ref": "GoogleCloudAiplatformV1FunctionCall", + "description": "Optional. A predicted function call returned from the model. This contains the name of the function to call and the arguments to pass to the function." + }, + "functionResponse": { + "$ref": "GoogleCloudAiplatformV1FunctionResponse", + "description": "Optional. The result of a function call. This is used to provide the model with the result of a function call that it predicted." + }, + "inlineData": { + "$ref": "GoogleCloudAiplatformV1Blob", + "description": "Optional. The inline data content of the part. This can be used to include images, audio, or video in a request." + }, + "mediaResolution": { + "$ref": "GoogleCloudAiplatformV1PartMediaResolution", + "description": "per part media resolution. Media resolution for the input media." + }, + "text": { + "description": "Optional. The text content of the part. When sent from the VSCode Gemini Code Assist extension, references to @mentioned items will be converted to markdown boldface text. For example `@my-repo` will be converted to and sent as `**my-repo**` by the IDE agent.", + "type": "string" + }, + "thought": { + "description": "Optional. Indicates whether the `part` represents the model's thought process or reasoning.", + "type": "boolean" + }, + "thoughtSignature": { + "description": "Optional. An opaque signature for the thought so it can be reused in subsequent requests.", + "format": "byte", + "type": "string" + }, + "videoMetadata": { + "$ref": "GoogleCloudAiplatformV1VideoMetadata", + "description": "Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data." + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1PartMediaResolution": { + "description": "per part media resolution. Media resolution for the input media.", + "id": "GoogleCloudAiplatformV1PartMediaResolution", + "properties": { + "level": { + "description": "The tokenization quality used for given media.", + "enum": [ + "MEDIA_RESOLUTION_UNSPECIFIED", + "MEDIA_RESOLUTION_LOW", + "MEDIA_RESOLUTION_MEDIUM", + "MEDIA_RESOLUTION_HIGH", + "MEDIA_RESOLUTION_ULTRA_HIGH" + ], + "enumDescriptions": [ + "Media resolution has not been set.", + "Media resolution set to low.", + "Media resolution set to medium.", + "Media resolution set to high.", + "Media resolution set to ultra high. This is for image only." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1PartialArg": { + "description": "Partial argument value of the function call.", + "id": "GoogleCloudAiplatformV1PartialArg", + "properties": { + "boolValue": { + "description": "Optional. Represents a boolean value.", + "type": "boolean" + }, + "jsonPath": { + "description": "Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. \"$.foo.bar[0].data\".", + "type": "string" + }, + "nullValue": { + "description": "Optional. Represents a null value.", + "enum": [ + "NULL_VALUE" + ], + "enumDescriptions": [ + "Null value." + ], + "type": "string" + }, + "numberValue": { + "description": "Optional. Represents a double value.", + "format": "double", + "type": "number" + }, + "stringValue": { + "description": "Optional. Represents a string value.", + "type": "string" + }, + "willContinue": { + "description": "Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for the current json_path is expected to follow.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1VideoMetadata": { + "description": "Provides metadata for a video, including the start and end offsets for clipping and the frame rate.", + "id": "GoogleCloudAiplatformV1VideoMetadata", + "properties": { + "endOffset": { + "description": "Optional. The end offset of the video.", + "format": "google-duration", + "type": "string" + }, + "fps": { + "description": "Optional. The frame rate of the video sent to the model. If not specified, the default value is 1.0. The valid range is (0.0, 24.0].", + "format": "double", + "type": "number" + }, + "startOffset": { + "description": "Optional. The start offset of the video.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudCesV1mainAgentTransfer": { "description": "Represents an event indicating the transfer of a conversation to a different agent.", "id": "GoogleCloudCesV1mainAgentTransfer", @@ -8354,6 +8734,10 @@ "description": "The entry subagent's display name.", "type": "string" }, + "entrySubagentId": { + "description": "The entry subagent's ID.", + "type": "string" + }, "location": { "description": "The agent's location.", "type": "string" @@ -9004,7 +9388,7 @@ }, "partialTrajectories": { "deprecated": true, - "description": "Output only. Deprecated: Use partial_trajectory_steps instead. The intermediate trajectory updates (partial trajectory).", + "description": "Output only. Deprecated: Use partial_trajectory_steps instead. Output only. The intermediate trajectory updates (partial trajectory).", "items": { "type": "string" }, @@ -9031,8 +9415,25 @@ "description": "The request to analyze conversation data using agentic workflows. This RPC triggers a complex analysis process that may involve several steps of reasoning and tool execution.", "id": "GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest", "properties": { + "agentDisplayName": { + "description": "ces agent display name (e.g., \"Steering\", \"Billing\").", + "type": "string" + }, + "agentId": { + "description": "ces agent id to diagnose.", + "type": "string" + }, + "appId": { + "description": "Required. The CES App ID.", + "type": "string" + }, + "appVersion": { + "description": "Optional. Optional but highly recommended. ces app version. If provided, specific version of agent instruction will be retrieved. If empty or set to '-', will use the latest draft version of instruction.", + "type": "string" + }, "dryRun": { - "description": "Optional. If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task.", + "deprecated": true, + "description": "Optional. Deprecated: If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task. This field is unused. Use validate_only instead.", "type": "boolean" }, "filter": { @@ -9040,11 +9441,17 @@ "type": "string" }, "fullReport": { - "description": "Optional. If true, the agent will generate a full diagnostic report for all sub-agents.", + "deprecated": true, + "description": "Optional. Deprecated: If true, the agent will generate a full diagnostic report for all sub-agents. Subagent reporting configuration is unused. The final diagnostic details are already persisted inside the Diagnostic resource instead.", "type": "boolean" }, + "groupId": { + "description": "Optional. A unique identifier used to group multiple diagnostic requests triggered under the same run batch or cron job.", + "type": "string" + }, "instructions": { - "description": "Optional. Specific instructions for the agent.", + "deprecated": true, + "description": "Optional. Deprecated: Specific instructions for the agent. Use app_id and subagent fields instead.", "type": "string" }, "maxSteps": { @@ -9068,7 +9475,8 @@ }, "outputConfig": { "$ref": "GoogleCloudContactcenterinsightsV1OutputConfig", - "description": "Optional. The configuration for the output of the task." + "deprecated": true, + "description": "Optional. Deprecated: The configuration for the output of the task. The export destination is unused. Detailed markdown and conversation slices are already persisted inside the Diagnostic resource instead." }, "parent": { "description": "Required. The parent resource where the analysis will be performed.", @@ -9094,18 +9502,20 @@ "id": "GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse", "properties": { "answer": { - "description": "Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker.", + "deprecated": true, + "description": "Output only. Deprecated: Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker is deprecated. The persistent analysis summary is stored inside the Diagnostic resource instead.", "readOnly": true, "type": "string" }, "exportUri": { - "description": "Output only. If an external destination was requested, the URI of the exported data.", + "deprecated": true, + "description": "Output only. Deprecated: Output only. If an external destination was requested, the URI of the exported data is deprecated. The persistent diagnostic details are stored inside the Diagnostic resource instead.", "readOnly": true, "type": "string" }, "fullTrajectories": { "deprecated": true, - "description": "Output only. Deprecated: Use full_trajectory_steps instead. The complete sequence of thoughts and actions (full trajectory).", + "description": "Output only. Deprecated: Use full_trajectory_steps instead. Output only. The complete sequence of thoughts and actions (full trajectory).", "items": { "type": "string" }, @@ -9113,7 +9523,8 @@ "type": "array" }, "fullTrajectorySteps": { - "description": "Output only. The complete sequence of thoughts and actions taken by the agent.", + "deprecated": true, + "description": "Output only. Deprecated: Output only. The complete sequence of thoughts and actions taken by the agent is deprecated under LRO response completions. Use the persistent details inside the Diagnostic resource instead.", "items": { "$ref": "GoogleCloudContactcenterinsightsV1SherlockStep" }, @@ -9127,11 +9538,31 @@ "description": "The diagnostic resource.", "id": "GoogleCloudContactcenterinsightsV1Diagnostic", "properties": { + "agentDisplayName": { + "description": "Output only. The display name of the agent associated with the diagnostic.", + "readOnly": true, + "type": "string" + }, + "agentId": { + "description": "Output only. The ID of the agent associated with the diagnostic.", + "readOnly": true, + "type": "string" + }, "analysisSummary": { "description": "Output only. The complete sequence of thoughts and actions taken by the agent.", "readOnly": true, "type": "string" }, + "appId": { + "description": "Output only. The application ID associated with the diagnostic.", + "readOnly": true, + "type": "string" + }, + "appVersion": { + "description": "Output only. The application version associated with the diagnostic.", + "readOnly": true, + "type": "string" + }, "conversationFilter": { "description": "Output only. The filter used to select the conversations that were included in the diagnostic.", "readOnly": true, @@ -9143,6 +9574,12 @@ "readOnly": true, "type": "string" }, + "groupCreateTime": { + "description": "Output only. The timestamp when the group was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "name": { "description": "Immutable. Identifier. The resource name of the diagnostic.", "type": "string" @@ -9156,11 +9593,20 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1DiagnosticReport": { - "description": "A diagnostic report containing aggregate metrics and intent breakdowns.", + "description": "A diagnostic report containing loss patterns and problematic slice stats.", "id": "GoogleCloudContactcenterinsightsV1DiagnosticReport", "properties": { + "conversationSlices": { + "additionalProperties": { + "$ref": "GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice" + }, + "description": "Output only. A map of conversation slices used in the report.", + "readOnly": true, + "type": "object" + }, "intentStats": { - "description": "Output only. A breakdown of metrics grouped by intent.", + "deprecated": true, + "description": "Output only. Deprecated: Intent breakdowns are no longer used.", "items": { "$ref": "GoogleCloudContactcenterinsightsV1DiagnosticReportIntentStats" }, @@ -9183,6 +9629,25 @@ "description": "Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.", "readOnly": true, "type": "object" + }, + "report": { + "description": "Output only. The final report in markdown format.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice": { + "description": "Output only. A map of conversation slices used in the report.", + "id": "GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice", + "properties": { + "conversationIds": { + "description": "The list of conversation IDs that match this slice.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -11479,15 +11944,100 @@ "readOnly": true, "type": "string" }, + "links": { + "description": "Output only. A list of links to conversations or bot instructions.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1LossPatternLink" + }, + "readOnly": true, + "type": "array" + }, "percentage": { "description": "Output only. The percentage of conversations that match this loss pattern.", "format": "double", "readOnly": true, "type": "number" }, - "suggestedFixes": { - "description": "Output only. A markdown description of the suggested fixes.", - "readOnly": true, + "suggestedFixes": { + "description": "Output only. A markdown description of the suggested fixes.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1LossPatternLink": { + "description": "A link to a conversation or bot instruction.", + "id": "GoogleCloudContactcenterinsightsV1LossPatternLink", + "properties": { + "botInstructionLink": { + "$ref": "GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink", + "description": "A link to a bot instruction." + }, + "conversationLink": { + "$ref": "GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink", + "description": "A link to a conversation." + }, + "endByteIndex": { + "description": "The end byte index of the highlighted text (exclusive).", + "format": "int32", + "type": "integer" + }, + "highlightedText": { + "description": "The text that is highlighted. (populated for debugging purposes)", + "type": "string" + }, + "locationType": { + "description": "The location type.", + "enum": [ + "LOCATION_TYPE_UNSPECIFIED", + "DESCRIPTION", + "SUGGESTED_FIXES", + "EXAMPLES" + ], + "enumDescriptions": [ + "Unspecified location type.", + "The link applies to the description field.", + "The link applies to the suggested_fixes field.", + "The link applies to the examples field." + ], + "type": "string" + }, + "startByteIndex": { + "description": "The start byte index of the highlighted text (inclusive).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink": { + "description": "A link to a bot instruction.", + "id": "GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink", + "properties": { + "endLine": { + "description": "The exclusive end line number of the instructions.", + "format": "int32", + "type": "integer" + }, + "startLine": { + "description": "The inclusive start line number of the instructions.", + "format": "int32", + "type": "integer" + }, + "subagent": { + "description": "The name of the subagent.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink": { + "description": "A link to a conversation.", + "id": "GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink", + "properties": { + "conversationId": { + "description": "The conversation ID.", "type": "string" } }, @@ -13044,6 +13594,13 @@ "description": "The redirect action to be taken when the chart is clicked.", "id": "GoogleCloudContactcenterinsightsV1RedirectAction", "properties": { + "queryParams": { + "additionalProperties": { + "type": "string" + }, + "description": "The query params to be added to the redirect path.", + "type": "object" + }, "relativePath": { "description": "The relative path to redirect to.", "type": "string" @@ -13418,8 +13975,36 @@ "description": "A step in the agent's reasoning process (Trajectory Step).", "id": "GoogleCloudContactcenterinsightsV1SherlockStep", "properties": { + "agentId": { + "description": "Output only. The ID of the agent that produced/received this content.", + "readOnly": true, + "type": "string" + }, + "content": { + "$ref": "GoogleCloudAiplatformV1Content", + "description": "Output only. The content of the turn (either Model or User role).", + "readOnly": true + }, + "stateDeltas": { + "description": "Output only. List of state changes caused by this specific turn.", + "items": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, + "readOnly": true, + "type": "array" + }, + "stepId": { + "description": "Output only. Unique ID for this specific turn.", + "readOnly": true, + "type": "string" + }, "textInput": { - "description": "Output only. Natural language input stimulus.", + "deprecated": true, + "description": "Output only. Deprecated: Use content instead.", "items": { "type": "string" }, @@ -13427,12 +14012,14 @@ "type": "array" }, "thought": { - "description": "Output only. The reasoning or internal monologue of the agent.", + "deprecated": true, + "description": "Output only. Deprecated: Use content instead.", "readOnly": true, "type": "string" }, "toolCalls": { - "description": "Output only. The tool call issued by the agent.", + "deprecated": true, + "description": "Output only. Deprecated: Use content instead.", "items": { "$ref": "GoogleCloudContactcenterinsightsV1ToolCall" }, @@ -13444,7 +14031,8 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Output only. The output response from the tool execution.", + "deprecated": true, + "description": "Output only. Deprecated: Use content instead.", "readOnly": true, "type": "object" } @@ -15027,6 +15615,10 @@ "description": "The entry subagent's display name.", "type": "string" }, + "entrySubagentId": { + "description": "The entry subagent's ID.", + "type": "string" + }, "location": { "description": "The agent's location.", "type": "string" @@ -15512,7 +16104,7 @@ }, "partialTrajectories": { "deprecated": true, - "description": "Output only. Deprecated: Use partial_trajectory_steps instead. The intermediate trajectory updates (partial trajectory).", + "description": "Output only. Deprecated: Use partial_trajectory_steps instead. Output only. The intermediate trajectory updates (partial trajectory).", "items": { "type": "string" }, @@ -15539,8 +16131,25 @@ "description": "The request to analyze conversation data using agentic workflows. This RPC triggers a complex analysis process that may involve several steps of reasoning and tool execution.", "id": "GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest", "properties": { + "agentDisplayName": { + "description": "ces agent display name (e.g., \"Steering\", \"Billing\").", + "type": "string" + }, + "agentId": { + "description": "ces agent id to diagnose.", + "type": "string" + }, + "appId": { + "description": "Required. The CES App ID.", + "type": "string" + }, + "appVersion": { + "description": "Optional. Optional but highly recommended. ces app version. If provided, specific version of agent instruction will be retrieved. If empty or set to '-', will use the latest draft version of instruction.", + "type": "string" + }, "dryRun": { - "description": "Optional. If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task.", + "deprecated": true, + "description": "Optional. Deprecated: If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task. This field is unused. Use validate_only instead.", "type": "boolean" }, "filter": { @@ -15548,11 +16157,17 @@ "type": "string" }, "fullReport": { - "description": "Optional. If true, the agent will generate a full diagnostic report for all sub-agents.", + "deprecated": true, + "description": "Optional. Deprecated: If true, the agent will generate a full diagnostic report for all sub-agents. Subagent reporting configuration is unused. The final diagnostic details are already persisted inside the Diagnostic resource instead.", "type": "boolean" }, + "groupId": { + "description": "Optional. A unique identifier used to group multiple diagnostic requests triggered under the same run batch or cron job.", + "type": "string" + }, "instructions": { - "description": "Optional. Specific instructions for the agent.", + "deprecated": true, + "description": "Optional. Deprecated: Specific instructions for the agent. Use app_id and subagent fields instead.", "type": "string" }, "maxSteps": { @@ -15576,7 +16191,8 @@ }, "outputConfig": { "$ref": "GoogleCloudContactcenterinsightsV1alpha1OutputConfig", - "description": "Optional. The configuration for the output of the task." + "deprecated": true, + "description": "Optional. Deprecated: The configuration for the output of the task. The export destination is unused. Detailed markdown and conversation slices are already persisted inside the Diagnostic resource instead." }, "parent": { "description": "Required. The parent resource where the analysis will be performed.", @@ -15602,18 +16218,20 @@ "id": "GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse", "properties": { "answer": { - "description": "Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker.", + "deprecated": true, + "description": "Output only. Deprecated: Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker is deprecated. The persistent analysis summary is stored inside the Diagnostic resource instead.", "readOnly": true, "type": "string" }, "exportUri": { - "description": "Output only. If an external destination was requested, the URI of the exported data.", + "deprecated": true, + "description": "Output only. Deprecated: Output only. If an external destination was requested, the URI of the exported data is deprecated. The persistent diagnostic details are stored inside the Diagnostic resource instead.", "readOnly": true, "type": "string" }, "fullTrajectories": { "deprecated": true, - "description": "Output only. Deprecated: Use full_trajectory_steps instead. The complete sequence of thoughts and actions (full trajectory).", + "description": "Output only. Deprecated: Use full_trajectory_steps instead. Output only. The complete sequence of thoughts and actions (full trajectory).", "items": { "type": "string" }, @@ -15621,7 +16239,8 @@ "type": "array" }, "fullTrajectorySteps": { - "description": "Output only. The complete sequence of thoughts and actions taken by the agent.", + "deprecated": true, + "description": "Output only. Deprecated: Output only. The complete sequence of thoughts and actions taken by the agent is deprecated under LRO response completions. Use the persistent details inside the Diagnostic resource instead.", "items": { "$ref": "GoogleCloudContactcenterinsightsV1alpha1SherlockStep" }, @@ -15632,11 +16251,20 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport": { - "description": "A diagnostic report containing aggregate metrics and intent breakdowns.", + "description": "A diagnostic report containing loss patterns and problematic slice stats.", "id": "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport", "properties": { + "conversationSlices": { + "additionalProperties": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice" + }, + "description": "Output only. A map of conversation slices used in the report.", + "readOnly": true, + "type": "object" + }, "intentStats": { - "description": "Output only. A breakdown of metrics grouped by intent.", + "deprecated": true, + "description": "Output only. Deprecated: Intent breakdowns are no longer used.", "items": { "$ref": "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportIntentStats" }, @@ -15659,6 +16287,25 @@ "description": "Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.", "readOnly": true, "type": "object" + }, + "report": { + "description": "Output only. The final report in markdown format.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice": { + "description": "Output only. A map of conversation slices used in the report.", + "id": "GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice", + "properties": { + "conversationIds": { + "description": "The list of conversation IDs that match this slice.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -17336,6 +17983,14 @@ "readOnly": true, "type": "string" }, + "links": { + "description": "Output only. A list of links to conversations or bot instructions.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1LossPatternLink" + }, + "readOnly": true, + "type": "array" + }, "percentage": { "description": "Output only. The percentage of conversations that match this loss pattern.", "format": "double", @@ -17350,6 +18005,83 @@ }, "type": "object" }, + "GoogleCloudContactcenterinsightsV1alpha1LossPatternLink": { + "description": "A link to a conversation or bot instruction.", + "id": "GoogleCloudContactcenterinsightsV1alpha1LossPatternLink", + "properties": { + "botInstructionLink": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink", + "description": "A link to a bot instruction." + }, + "conversationLink": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink", + "description": "A link to a conversation." + }, + "endByteIndex": { + "description": "The end byte index of the highlighted text (exclusive).", + "format": "int32", + "type": "integer" + }, + "highlightedText": { + "description": "The text that is highlighted. (populated for debugging purposes)", + "type": "string" + }, + "locationType": { + "description": "The location type.", + "enum": [ + "LOCATION_TYPE_UNSPECIFIED", + "DESCRIPTION", + "SUGGESTED_FIXES", + "EXAMPLES" + ], + "enumDescriptions": [ + "Unspecified location type.", + "The link applies to the description field.", + "The link applies to the suggested_fixes field.", + "The link applies to the examples field." + ], + "type": "string" + }, + "startByteIndex": { + "description": "The start byte index of the highlighted text (inclusive).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink": { + "description": "A link to a bot instruction.", + "id": "GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink", + "properties": { + "endLine": { + "description": "The exclusive end line number of the instructions.", + "format": "int32", + "type": "integer" + }, + "startLine": { + "description": "The inclusive start line number of the instructions.", + "format": "int32", + "type": "integer" + }, + "subagent": { + "description": "The name of the subagent.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink": { + "description": "A link to a conversation.", + "id": "GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink", + "properties": { + "conversationId": { + "description": "The conversation ID.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1alpha1MetricValue": { "deprecated": true, "description": "Deprecated: MetricValue is no longer used for diagnostics.", @@ -18463,8 +19195,36 @@ "description": "A step in the agent's reasoning process (Trajectory Step).", "id": "GoogleCloudContactcenterinsightsV1alpha1SherlockStep", "properties": { + "agentId": { + "description": "Output only. The ID of the agent that produced/received this content.", + "readOnly": true, + "type": "string" + }, + "content": { + "$ref": "GoogleCloudAiplatformV1Content", + "description": "Output only. The content of the turn (either Model or User role).", + "readOnly": true + }, + "stateDeltas": { + "description": "Output only. List of state changes caused by this specific turn.", + "items": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, + "readOnly": true, + "type": "array" + }, + "stepId": { + "description": "Output only. Unique ID for this specific turn.", + "readOnly": true, + "type": "string" + }, "textInput": { - "description": "Output only. Natural language input stimulus.", + "deprecated": true, + "description": "Output only. Deprecated: Use content instead.", "items": { "type": "string" }, @@ -18472,12 +19232,14 @@ "type": "array" }, "thought": { - "description": "Output only. The reasoning or internal monologue of the agent.", + "deprecated": true, + "description": "Output only. Deprecated: Use content instead.", "readOnly": true, "type": "string" }, "toolCalls": { - "description": "Output only. The tool call issued by the agent.", + "deprecated": true, + "description": "Output only. Deprecated: Use content instead.", "items": { "$ref": "GoogleCloudContactcenterinsightsV1alpha1ToolCall" }, @@ -18489,7 +19251,8 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Output only. The output response from the tool execution.", + "deprecated": true, + "description": "Output only. Deprecated: Use content instead.", "readOnly": true, "type": "object" } @@ -20080,6 +20843,10 @@ "description": "The entry subagent's display name.", "type": "string" }, + "entrySubagentId": { + "description": "The entry subagent's ID.", + "type": "string" + }, "location": { "description": "The agent's location.", "type": "string" @@ -20565,7 +21332,7 @@ }, "partialTrajectories": { "deprecated": true, - "description": "Output only. Deprecated: Use partial_trajectory_steps instead. The intermediate trajectory updates (partial trajectory).", + "description": "Output only. Deprecated: Use partial_trajectory_steps instead. Output only. The intermediate trajectory updates (partial trajectory).", "items": { "type": "string" }, @@ -20592,8 +21359,25 @@ "description": "The request to analyze conversation data using agentic workflows. This RPC triggers a complex analysis process that may involve several steps of reasoning and tool execution.", "id": "GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest", "properties": { + "agentDisplayName": { + "description": "ces agent display name (e.g., \"Steering\", \"Billing\").", + "type": "string" + }, + "agentId": { + "description": "ces agent id to diagnose.", + "type": "string" + }, + "appId": { + "description": "Required. The CES App ID.", + "type": "string" + }, + "appVersion": { + "description": "Optional. Optional but highly recommended. ces app version. If provided, specific version of agent instruction will be retrieved. If empty or set to '-', will use the latest draft version of instruction.", + "type": "string" + }, "dryRun": { - "description": "Optional. If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task.", + "deprecated": true, + "description": "Optional. Deprecated: If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task. This field is unused. Use validate_only instead.", "type": "boolean" }, "filter": { @@ -20601,11 +21385,17 @@ "type": "string" }, "fullReport": { - "description": "Optional. If true, the agent will generate a full diagnostic report for all sub-agents.", + "deprecated": true, + "description": "Optional. Deprecated: If true, the agent will generate a full diagnostic report for all sub-agents. Subagent reporting configuration is unused. The final diagnostic details are already persisted inside the Diagnostic resource instead.", "type": "boolean" }, + "groupId": { + "description": "Optional. A unique identifier used to group multiple diagnostic requests triggered under the same run batch or cron job.", + "type": "string" + }, "instructions": { - "description": "Optional. Specific instructions for the agent.", + "deprecated": true, + "description": "Optional. Deprecated: Specific instructions for the agent. Use app_id and subagent fields instead.", "type": "string" }, "maxSteps": { @@ -20629,7 +21419,8 @@ }, "outputConfig": { "$ref": "GoogleCloudContactcenterinsightsV1mainOutputConfig", - "description": "Optional. The configuration for the output of the task." + "deprecated": true, + "description": "Optional. Deprecated: The configuration for the output of the task. The export destination is unused. Detailed markdown and conversation slices are already persisted inside the Diagnostic resource instead." }, "parent": { "description": "Required. The parent resource where the analysis will be performed.", @@ -20655,18 +21446,20 @@ "id": "GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse", "properties": { "answer": { - "description": "Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker.", + "deprecated": true, + "description": "Output only. Deprecated: Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker is deprecated. The persistent analysis summary is stored inside the Diagnostic resource instead.", "readOnly": true, "type": "string" }, "exportUri": { - "description": "Output only. If an external destination was requested, the URI of the exported data.", + "deprecated": true, + "description": "Output only. Deprecated: Output only. If an external destination was requested, the URI of the exported data is deprecated. The persistent diagnostic details are stored inside the Diagnostic resource instead.", "readOnly": true, "type": "string" }, "fullTrajectories": { "deprecated": true, - "description": "Output only. Deprecated: Use full_trajectory_steps instead. The complete sequence of thoughts and actions (full trajectory).", + "description": "Output only. Deprecated: Use full_trajectory_steps instead. Output only. The complete sequence of thoughts and actions (full trajectory).", "items": { "type": "string" }, @@ -20674,7 +21467,8 @@ "type": "array" }, "fullTrajectorySteps": { - "description": "Output only. The complete sequence of thoughts and actions taken by the agent.", + "deprecated": true, + "description": "Output only. Deprecated: Output only. The complete sequence of thoughts and actions taken by the agent is deprecated under LRO response completions. Use the persistent details inside the Diagnostic resource instead.", "items": { "$ref": "GoogleCloudContactcenterinsightsV1mainSherlockStep" }, @@ -20685,11 +21479,20 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1mainDiagnosticReport": { - "description": "A diagnostic report containing aggregate metrics and intent breakdowns.", + "description": "A diagnostic report containing loss patterns and problematic slice stats.", "id": "GoogleCloudContactcenterinsightsV1mainDiagnosticReport", "properties": { + "conversationSlices": { + "additionalProperties": { + "$ref": "GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice" + }, + "description": "Output only. A map of conversation slices used in the report.", + "readOnly": true, + "type": "object" + }, "intentStats": { - "description": "Output only. A breakdown of metrics grouped by intent.", + "deprecated": true, + "description": "Output only. Deprecated: Intent breakdowns are no longer used.", "items": { "$ref": "GoogleCloudContactcenterinsightsV1mainDiagnosticReportIntentStats" }, @@ -20712,6 +21515,25 @@ "description": "Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.", "readOnly": true, "type": "object" + }, + "report": { + "description": "Output only. The final report in markdown format.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice": { + "description": "Output only. A map of conversation slices used in the report.", + "id": "GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice", + "properties": { + "conversationIds": { + "description": "The list of conversation IDs that match this slice.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -22389,6 +23211,14 @@ "readOnly": true, "type": "string" }, + "links": { + "description": "Output only. A list of links to conversations or bot instructions.", + "items": { + "$ref": "GoogleCloudContactcenterinsightsV1mainLossPatternLink" + }, + "readOnly": true, + "type": "array" + }, "percentage": { "description": "Output only. The percentage of conversations that match this loss pattern.", "format": "double", @@ -22403,6 +23233,83 @@ }, "type": "object" }, + "GoogleCloudContactcenterinsightsV1mainLossPatternLink": { + "description": "A link to a conversation or bot instruction.", + "id": "GoogleCloudContactcenterinsightsV1mainLossPatternLink", + "properties": { + "botInstructionLink": { + "$ref": "GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink", + "description": "A link to a bot instruction." + }, + "conversationLink": { + "$ref": "GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink", + "description": "A link to a conversation." + }, + "endByteIndex": { + "description": "The end byte index of the highlighted text (exclusive).", + "format": "int32", + "type": "integer" + }, + "highlightedText": { + "description": "The text that is highlighted. (populated for debugging purposes)", + "type": "string" + }, + "locationType": { + "description": "The location type.", + "enum": [ + "LOCATION_TYPE_UNSPECIFIED", + "DESCRIPTION", + "SUGGESTED_FIXES", + "EXAMPLES" + ], + "enumDescriptions": [ + "Unspecified location type.", + "The link applies to the description field.", + "The link applies to the suggested_fixes field.", + "The link applies to the examples field." + ], + "type": "string" + }, + "startByteIndex": { + "description": "The start byte index of the highlighted text (inclusive).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink": { + "description": "A link to a bot instruction.", + "id": "GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink", + "properties": { + "endLine": { + "description": "The exclusive end line number of the instructions.", + "format": "int32", + "type": "integer" + }, + "startLine": { + "description": "The inclusive start line number of the instructions.", + "format": "int32", + "type": "integer" + }, + "subagent": { + "description": "The name of the subagent.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink": { + "description": "A link to a conversation.", + "id": "GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink", + "properties": { + "conversationId": { + "description": "The conversation ID.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1mainMetricValue": { "deprecated": true, "description": "Deprecated: MetricValue is no longer used for diagnostics.", @@ -23516,8 +24423,36 @@ "description": "A step in the agent's reasoning process (Trajectory Step).", "id": "GoogleCloudContactcenterinsightsV1mainSherlockStep", "properties": { + "agentId": { + "description": "Output only. The ID of the agent that produced/received this content.", + "readOnly": true, + "type": "string" + }, + "content": { + "$ref": "GoogleCloudAiplatformV1Content", + "description": "Output only. The content of the turn (either Model or User role).", + "readOnly": true + }, + "stateDeltas": { + "description": "Output only. List of state changes caused by this specific turn.", + "items": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, + "readOnly": true, + "type": "array" + }, + "stepId": { + "description": "Output only. Unique ID for this specific turn.", + "readOnly": true, + "type": "string" + }, "textInput": { - "description": "Output only. Natural language input stimulus.", + "deprecated": true, + "description": "Output only. Deprecated: Use content instead.", "items": { "type": "string" }, @@ -23525,12 +24460,14 @@ "type": "array" }, "thought": { - "description": "Output only. The reasoning or internal monologue of the agent.", + "deprecated": true, + "description": "Output only. Deprecated: Use content instead.", "readOnly": true, "type": "string" }, "toolCalls": { - "description": "Output only. The tool call issued by the agent.", + "deprecated": true, + "description": "Output only. Deprecated: Use content instead.", "items": { "$ref": "GoogleCloudContactcenterinsightsV1mainToolCall" }, @@ -23542,7 +24479,8 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Output only. The output response from the tool execution.", + "deprecated": true, + "description": "Output only. Deprecated: Use content instead.", "readOnly": true, "type": "object" } diff --git a/src/apis/contactcenterinsights/v1.ts b/src/apis/contactcenterinsights/v1.ts index cf768f5781..bdfc4400d5 100644 --- a/src/apis/contactcenterinsights/v1.ts +++ b/src/apis/contactcenterinsights/v1.ts @@ -124,6 +124,272 @@ export namespace contactcenterinsights_v1 { } } + /** + * A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video. + */ + export interface Schema$GoogleCloudAiplatformV1Blob { + /** + * Required. The raw bytes of the data. + */ + data?: string | null; + /** + * Optional. The display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server-side tools (`code_execution`, `google_search`, and `url_context`) are enabled. + */ + displayName?: string | null; + /** + * Required. The IANA standard MIME type of the source data. + */ + mimeType?: string | null; + } + /** + * Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. + */ + export interface Schema$GoogleCloudAiplatformV1CodeExecutionResult { + /** + * Required. Outcome of the code execution. + */ + outcome?: string | null; + /** + * Optional. Contains stdout when code execution is successful, stderr or other description otherwise. + */ + output?: string | null; + } + /** + * The structured data content of a message. A Content message contains a `role` field, which indicates the producer of the content, and a `parts` field, which contains the multi-part data of the message. + */ + export interface Schema$GoogleCloudAiplatformV1Content { + /** + * Required. A list of Part objects that make up a single message. Parts of a message can have different MIME types. A Content message must have at least one Part. + */ + parts?: Schema$GoogleCloudAiplatformV1Part[]; + /** + * Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'. + */ + role?: string | null; + } + /** + * Code generated by the model that is meant to be executed, and the result returned to the model. Generated when using the `CodeExecution` tool, in which the code will be automatically executed, and a corresponding CodeExecutionResult will also be generated. + */ + export interface Schema$GoogleCloudAiplatformV1ExecutableCode { + /** + * Required. The code to be executed. + */ + code?: string | null; + /** + * Required. Programming language of the `code`. + */ + language?: string | null; + } + /** + * URI-based data. A FileData message contains a URI pointing to data of a specific media type. It is used to represent images, audio, and video stored in Google Cloud Storage. + */ + export interface Schema$GoogleCloudAiplatformV1FileData { + /** + * Optional. The display name of the file. Used to provide a label or filename to distinguish files. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server side tools (`code_execution`, `google_search`, and `url_context`) are enabled. + */ + displayName?: string | null; + /** + * Required. The URI of the file in Google Cloud Storage. + */ + fileUri?: string | null; + /** + * Required. The IANA standard MIME type of the source data. + */ + mimeType?: string | null; + } + /** + * A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name and a structured JSON object containing the parameters and their values. + */ + export interface Schema$GoogleCloudAiplatformV1FunctionCall { + /** + * Optional. The function parameters and values in JSON object format. See FunctionDeclaration.parameters for parameter details. + */ + args?: {[key: string]: any} | null; + /** + * Optional. The name of the function to call. Matches FunctionDeclaration.name. + */ + name?: string | null; + /** + * Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally. + */ + partialArgs?: Schema$GoogleCloudAiplatformV1PartialArg[]; + /** + * Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow. + */ + willContinue?: boolean | null; + } + /** + * The result output from a FunctionCall that contains a string representing the FunctionDeclaration.name and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a `FunctionCall` made based on model prediction. + */ + export interface Schema$GoogleCloudAiplatformV1FunctionResponse { + /** + * Required. The name of the function to call. Matches FunctionDeclaration.name and FunctionCall.name. + */ + name?: string | null; + /** + * Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA MIME types. + */ + parts?: Schema$GoogleCloudAiplatformV1FunctionResponsePart[]; + /** + * Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output. + */ + response?: {[key: string]: any} | null; + /** + * Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE. + */ + scheduling?: string | null; + } + /** + * Raw media bytes for function response. Text should not be sent as raw bytes, use the 'text' field. + */ + export interface Schema$GoogleCloudAiplatformV1FunctionResponseBlob { + /** + * Required. Raw bytes. + */ + data?: string | null; + /** + * Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled. + */ + displayName?: string | null; + /** + * Required. The IANA standard MIME type of the source data. + */ + mimeType?: string | null; + } + /** + * URI based data for function response. + */ + export interface Schema$GoogleCloudAiplatformV1FunctionResponseFileData { + /** + * Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled. + */ + displayName?: string | null; + /** + * Required. URI. + */ + fileUri?: string | null; + /** + * Required. The IANA standard MIME type of the source data. + */ + mimeType?: string | null; + } + /** + * A datatype containing media that is part of a `FunctionResponse` message. A `FunctionResponsePart` consists of data which has an associated datatype. A `FunctionResponsePart` can only contain one of the accepted types in `FunctionResponsePart.data`. A `FunctionResponsePart` must have a fixed IANA MIME type identifying the type and subtype of the media if the `inline_data` field is filled with raw bytes. + */ + export interface Schema$GoogleCloudAiplatformV1FunctionResponsePart { + /** + * URI based data. + */ + fileData?: Schema$GoogleCloudAiplatformV1FunctionResponseFileData; + /** + * Inline media bytes. + */ + inlineData?: Schema$GoogleCloudAiplatformV1FunctionResponseBlob; + } + /** + * A datatype containing media that is part of a multi-part Content message. A `Part` consists of data which has an associated datatype. A `Part` can only contain one of the accepted types in `Part.data`. For media types that are not text, `Part` must have a fixed IANA MIME type identifying the type and subtype of the media if `inline_data` or `file_data` field is filled with raw bytes. + */ + export interface Schema$GoogleCloudAiplatformV1Part { + /** + * Optional. The result of executing the ExecutableCode. + */ + codeExecutionResult?: Schema$GoogleCloudAiplatformV1CodeExecutionResult; + /** + * Optional. Code generated by the model that is intended to be executed. + */ + executableCode?: Schema$GoogleCloudAiplatformV1ExecutableCode; + /** + * Optional. The URI-based data of the part. This can be used to include files from Google Cloud Storage. + */ + fileData?: Schema$GoogleCloudAiplatformV1FileData; + /** + * Optional. A predicted function call returned from the model. This contains the name of the function to call and the arguments to pass to the function. + */ + functionCall?: Schema$GoogleCloudAiplatformV1FunctionCall; + /** + * Optional. The result of a function call. This is used to provide the model with the result of a function call that it predicted. + */ + functionResponse?: Schema$GoogleCloudAiplatformV1FunctionResponse; + /** + * Optional. The inline data content of the part. This can be used to include images, audio, or video in a request. + */ + inlineData?: Schema$GoogleCloudAiplatformV1Blob; + /** + * per part media resolution. Media resolution for the input media. + */ + mediaResolution?: Schema$GoogleCloudAiplatformV1PartMediaResolution; + /** + * Optional. The text content of the part. When sent from the VSCode Gemini Code Assist extension, references to @mentioned items will be converted to markdown boldface text. For example `@my-repo` will be converted to and sent as `**my-repo**` by the IDE agent. + */ + text?: string | null; + /** + * Optional. Indicates whether the `part` represents the model's thought process or reasoning. + */ + thought?: boolean | null; + /** + * Optional. An opaque signature for the thought so it can be reused in subsequent requests. + */ + thoughtSignature?: string | null; + /** + * Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. + */ + videoMetadata?: Schema$GoogleCloudAiplatformV1VideoMetadata; + } + /** + * Partial argument value of the function call. + */ + export interface Schema$GoogleCloudAiplatformV1PartialArg { + /** + * Optional. Represents a boolean value. + */ + boolValue?: boolean | null; + /** + * Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data". + */ + jsonPath?: string | null; + /** + * Optional. Represents a null value. + */ + nullValue?: string | null; + /** + * Optional. Represents a double value. + */ + numberValue?: number | null; + /** + * Optional. Represents a string value. + */ + stringValue?: string | null; + /** + * Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for the current json_path is expected to follow. + */ + willContinue?: boolean | null; + } + /** + * per part media resolution. Media resolution for the input media. + */ + export interface Schema$GoogleCloudAiplatformV1PartMediaResolution { + /** + * The tokenization quality used for given media. + */ + level?: string | null; + } + /** + * Provides metadata for a video, including the start and end offsets for clipping and the frame rate. + */ + export interface Schema$GoogleCloudAiplatformV1VideoMetadata { + /** + * Optional. The end offset of the video. + */ + endOffset?: string | null; + /** + * Optional. The frame rate of the video sent to the model. If not specified, the default value is 1.0. The valid range is (0.0, 24.0]. + */ + fps?: number | null; + /** + * Optional. The start offset of the video. + */ + startOffset?: string | null; + } /** * Represents an event indicating the transfer of a conversation to a different agent. */ @@ -1123,6 +1389,10 @@ export namespace contactcenterinsights_v1 { * The entry subagent's display name. */ entrySubagentDisplayName?: string | null; + /** + * The entry subagent's ID. + */ + entrySubagentId?: string | null; /** * The agent's location. */ @@ -1486,7 +1756,7 @@ export namespace contactcenterinsights_v1 { */ metricType?: string | null; /** - * Output only. Deprecated: Use partial_trajectory_steps instead. The intermediate trajectory updates (partial trajectory). + * Output only. Deprecated: Use partial_trajectory_steps instead. Output only. The intermediate trajectory updates (partial trajectory). */ partialTrajectories?: string[] | null; /** @@ -1503,7 +1773,23 @@ export namespace contactcenterinsights_v1 { */ export interface Schema$GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsRequest { /** - * Optional. If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task. + * ces agent display name (e.g., "Steering", "Billing"). + */ + agentDisplayName?: string | null; + /** + * ces agent id to diagnose. + */ + agentId?: string | null; + /** + * Required. The CES App ID. + */ + appId?: string | null; + /** + * Optional. Optional but highly recommended. ces app version. If provided, specific version of agent instruction will be retrieved. If empty or set to '-', will use the latest draft version of instruction. + */ + appVersion?: string | null; + /** + * Optional. Deprecated: If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task. This field is unused. Use validate_only instead. */ dryRun?: boolean | null; /** @@ -1511,11 +1797,15 @@ export namespace contactcenterinsights_v1 { */ filter?: string | null; /** - * Optional. If true, the agent will generate a full diagnostic report for all sub-agents. + * Optional. Deprecated: If true, the agent will generate a full diagnostic report for all sub-agents. Subagent reporting configuration is unused. The final diagnostic details are already persisted inside the Diagnostic resource instead. */ fullReport?: boolean | null; /** - * Optional. Specific instructions for the agent. + * Optional. A unique identifier used to group multiple diagnostic requests triggered under the same run batch or cron job. + */ + groupId?: string | null; + /** + * Optional. Deprecated: Specific instructions for the agent. Use app_id and subagent fields instead. */ instructions?: string | null; /** @@ -1527,7 +1817,7 @@ export namespace contactcenterinsights_v1 { */ metricType?: string | null; /** - * Optional. The configuration for the output of the task. + * Optional. Deprecated: The configuration for the output of the task. The export destination is unused. Detailed markdown and conversation slices are already persisted inside the Diagnostic resource instead. */ outputConfig?: Schema$GoogleCloudContactcenterinsightsV1alpha1OutputConfig; /** @@ -1552,28 +1842,36 @@ export namespace contactcenterinsights_v1 { */ export interface Schema$GoogleCloudContactcenterinsightsV1alpha1DiagnoseConversationsResponse { /** - * Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker. + * Output only. Deprecated: Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker is deprecated. The persistent analysis summary is stored inside the Diagnostic resource instead. */ answer?: string | null; /** - * Output only. If an external destination was requested, the URI of the exported data. + * Output only. Deprecated: Output only. If an external destination was requested, the URI of the exported data is deprecated. The persistent diagnostic details are stored inside the Diagnostic resource instead. */ exportUri?: string | null; /** - * Output only. Deprecated: Use full_trajectory_steps instead. The complete sequence of thoughts and actions (full trajectory). + * Output only. Deprecated: Use full_trajectory_steps instead. Output only. The complete sequence of thoughts and actions (full trajectory). */ fullTrajectories?: string[] | null; /** - * Output only. The complete sequence of thoughts and actions taken by the agent. + * Output only. Deprecated: Output only. The complete sequence of thoughts and actions taken by the agent is deprecated under LRO response completions. Use the persistent details inside the Diagnostic resource instead. */ fullTrajectorySteps?: Schema$GoogleCloudContactcenterinsightsV1alpha1SherlockStep[]; } /** - * A diagnostic report containing aggregate metrics and intent breakdowns. + * A diagnostic report containing loss patterns and problematic slice stats. */ export interface Schema$GoogleCloudContactcenterinsightsV1alpha1DiagnosticReport { /** - * Output only. A breakdown of metrics grouped by intent. + * Output only. A map of conversation slices used in the report. + */ + conversationSlices?: { + [ + key: string + ]: Schema$GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice; + } | null; + /** + * Output only. Deprecated: Intent breakdowns are no longer used. */ intentStats?: Schema$GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportIntentStats[]; /** @@ -1586,6 +1884,19 @@ export namespace contactcenterinsights_v1 { metrics?: { [key: string]: Schema$GoogleCloudContactcenterinsightsV1alpha1MetricValue; } | null; + /** + * Output only. The final report in markdown format. + */ + report?: string | null; + } + /** + * Output only. A map of conversation slices used in the report. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1alpha1DiagnosticReportConversationSlice { + /** + * The list of conversation IDs that match this slice. + */ + conversationIds?: string[] | null; } /** * A breakdown of metrics grouped by intent. @@ -2743,6 +3054,10 @@ export namespace contactcenterinsights_v1 { * Output only. The unique identifier for the loss pattern. */ id?: string | null; + /** + * Output only. A list of links to conversations or bot instructions. + */ + links?: Schema$GoogleCloudContactcenterinsightsV1alpha1LossPatternLink[]; /** * Output only. The percentage of conversations that match this loss pattern. */ @@ -2752,6 +3067,61 @@ export namespace contactcenterinsights_v1 { */ suggestedFixes?: string | null; } + /** + * A link to a conversation or bot instruction. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1alpha1LossPatternLink { + /** + * A link to a bot instruction. + */ + botInstructionLink?: Schema$GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink; + /** + * A link to a conversation. + */ + conversationLink?: Schema$GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink; + /** + * The end byte index of the highlighted text (exclusive). + */ + endByteIndex?: number | null; + /** + * The text that is highlighted. (populated for debugging purposes) + */ + highlightedText?: string | null; + /** + * The location type. + */ + locationType?: string | null; + /** + * The start byte index of the highlighted text (inclusive). + */ + startByteIndex?: number | null; + } + /** + * A link to a bot instruction. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink { + /** + * The exclusive end line number of the instructions. + */ + endLine?: number | null; + /** + * The inclusive start line number of the instructions. + */ + startLine?: number | null; + /** + * The name of the subagent. + */ + subagent?: string | null; + } + /** + * A link to a conversation. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkConversationLink { + /** + * The conversation ID. + */ + conversationId?: string | null; + } /** * Deprecated: MetricValue is no longer used for diagnostics. */ @@ -3612,19 +3982,35 @@ export namespace contactcenterinsights_v1 { */ export interface Schema$GoogleCloudContactcenterinsightsV1alpha1SherlockStep { /** - * Output only. Natural language input stimulus. + * Output only. The ID of the agent that produced/received this content. + */ + agentId?: string | null; + /** + * Output only. The content of the turn (either Model or User role). + */ + content?: Schema$GoogleCloudAiplatformV1Content; + /** + * Output only. List of state changes caused by this specific turn. + */ + stateDeltas?: Array<{[key: string]: any}> | null; + /** + * Output only. Unique ID for this specific turn. + */ + stepId?: string | null; + /** + * Output only. Deprecated: Use content instead. */ textInput?: string[] | null; /** - * Output only. The reasoning or internal monologue of the agent. + * Output only. Deprecated: Use content instead. */ thought?: string | null; /** - * Output only. The tool call issued by the agent. + * Output only. Deprecated: Use content instead. */ toolCalls?: Schema$GoogleCloudContactcenterinsightsV1alpha1ToolCall[]; /** - * Output only. The output response from the tool execution. + * Output only. Deprecated: Use content instead. */ toolOutput?: {[key: string]: any} | null; } @@ -5254,6 +5640,10 @@ export namespace contactcenterinsights_v1 { * The entry subagent's display name. */ entrySubagentDisplayName?: string | null; + /** + * The entry subagent's ID. + */ + entrySubagentId?: string | null; /** * The agent's location. */ @@ -5739,7 +6129,7 @@ export namespace contactcenterinsights_v1 { */ metricType?: string | null; /** - * Output only. Deprecated: Use partial_trajectory_steps instead. The intermediate trajectory updates (partial trajectory). + * Output only. Deprecated: Use partial_trajectory_steps instead. Output only. The intermediate trajectory updates (partial trajectory). */ partialTrajectories?: string[] | null; /** @@ -5756,7 +6146,23 @@ export namespace contactcenterinsights_v1 { */ export interface Schema$GoogleCloudContactcenterinsightsV1DiagnoseConversationsRequest { /** - * Optional. If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task. + * ces agent display name (e.g., "Steering", "Billing"). + */ + agentDisplayName?: string | null; + /** + * ces agent id to diagnose. + */ + agentId?: string | null; + /** + * Required. The CES App ID. + */ + appId?: string | null; + /** + * Optional. Optional but highly recommended. ces app version. If provided, specific version of agent instruction will be retrieved. If empty or set to '-', will use the latest draft version of instruction. + */ + appVersion?: string | null; + /** + * Optional. Deprecated: If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task. This field is unused. Use validate_only instead. */ dryRun?: boolean | null; /** @@ -5764,11 +6170,15 @@ export namespace contactcenterinsights_v1 { */ filter?: string | null; /** - * Optional. If true, the agent will generate a full diagnostic report for all sub-agents. + * Optional. Deprecated: If true, the agent will generate a full diagnostic report for all sub-agents. Subagent reporting configuration is unused. The final diagnostic details are already persisted inside the Diagnostic resource instead. */ fullReport?: boolean | null; /** - * Optional. Specific instructions for the agent. + * Optional. A unique identifier used to group multiple diagnostic requests triggered under the same run batch or cron job. + */ + groupId?: string | null; + /** + * Optional. Deprecated: Specific instructions for the agent. Use app_id and subagent fields instead. */ instructions?: string | null; /** @@ -5780,7 +6190,7 @@ export namespace contactcenterinsights_v1 { */ metricType?: string | null; /** - * Optional. The configuration for the output of the task. + * Optional. Deprecated: The configuration for the output of the task. The export destination is unused. Detailed markdown and conversation slices are already persisted inside the Diagnostic resource instead. */ outputConfig?: Schema$GoogleCloudContactcenterinsightsV1OutputConfig; /** @@ -5805,19 +6215,19 @@ export namespace contactcenterinsights_v1 { */ export interface Schema$GoogleCloudContactcenterinsightsV1DiagnoseConversationsResponse { /** - * Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker. + * Output only. Deprecated: Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker is deprecated. The persistent analysis summary is stored inside the Diagnostic resource instead. */ answer?: string | null; /** - * Output only. If an external destination was requested, the URI of the exported data. + * Output only. Deprecated: Output only. If an external destination was requested, the URI of the exported data is deprecated. The persistent diagnostic details are stored inside the Diagnostic resource instead. */ exportUri?: string | null; /** - * Output only. Deprecated: Use full_trajectory_steps instead. The complete sequence of thoughts and actions (full trajectory). + * Output only. Deprecated: Use full_trajectory_steps instead. Output only. The complete sequence of thoughts and actions (full trajectory). */ fullTrajectories?: string[] | null; /** - * Output only. The complete sequence of thoughts and actions taken by the agent. + * Output only. Deprecated: Output only. The complete sequence of thoughts and actions taken by the agent is deprecated under LRO response completions. Use the persistent details inside the Diagnostic resource instead. */ fullTrajectorySteps?: Schema$GoogleCloudContactcenterinsightsV1SherlockStep[]; } @@ -5825,10 +6235,26 @@ export namespace contactcenterinsights_v1 { * The diagnostic resource. */ export interface Schema$GoogleCloudContactcenterinsightsV1Diagnostic { + /** + * Output only. The display name of the agent associated with the diagnostic. + */ + agentDisplayName?: string | null; + /** + * Output only. The ID of the agent associated with the diagnostic. + */ + agentId?: string | null; /** * Output only. The complete sequence of thoughts and actions taken by the agent. */ analysisSummary?: string | null; + /** + * Output only. The application ID associated with the diagnostic. + */ + appId?: string | null; + /** + * Output only. The application version associated with the diagnostic. + */ + appVersion?: string | null; /** * Output only. The filter used to select the conversations that were included in the diagnostic. */ @@ -5837,6 +6263,10 @@ export namespace contactcenterinsights_v1 { * Output only. The time at which the diagnostic was created. */ createTime?: string | null; + /** + * Output only. The timestamp when the group was created. + */ + groupCreateTime?: string | null; /** * Immutable. Identifier. The resource name of the diagnostic. */ @@ -5847,11 +6277,19 @@ export namespace contactcenterinsights_v1 { report?: Schema$GoogleCloudContactcenterinsightsV1DiagnosticReport; } /** - * A diagnostic report containing aggregate metrics and intent breakdowns. + * A diagnostic report containing loss patterns and problematic slice stats. */ export interface Schema$GoogleCloudContactcenterinsightsV1DiagnosticReport { /** - * Output only. A breakdown of metrics grouped by intent. + * Output only. A map of conversation slices used in the report. + */ + conversationSlices?: { + [ + key: string + ]: Schema$GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice; + } | null; + /** + * Output only. Deprecated: Intent breakdowns are no longer used. */ intentStats?: Schema$GoogleCloudContactcenterinsightsV1DiagnosticReportIntentStats[]; /** @@ -5864,6 +6302,19 @@ export namespace contactcenterinsights_v1 { metrics?: { [key: string]: Schema$GoogleCloudContactcenterinsightsV1MetricValue; } | null; + /** + * Output only. The final report in markdown format. + */ + report?: string | null; + } + /** + * Output only. A map of conversation slices used in the report. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1DiagnosticReportConversationSlice { + /** + * The list of conversation IDs that match this slice. + */ + conversationIds?: string[] | null; } /** * A breakdown of metrics grouped by intent. @@ -7469,6 +7920,10 @@ export namespace contactcenterinsights_v1 { * Output only. The unique identifier for the loss pattern. */ id?: string | null; + /** + * Output only. A list of links to conversations or bot instructions. + */ + links?: Schema$GoogleCloudContactcenterinsightsV1LossPatternLink[]; /** * Output only. The percentage of conversations that match this loss pattern. */ @@ -7478,6 +7933,61 @@ export namespace contactcenterinsights_v1 { */ suggestedFixes?: string | null; } + /** + * A link to a conversation or bot instruction. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1LossPatternLink { + /** + * A link to a bot instruction. + */ + botInstructionLink?: Schema$GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink; + /** + * A link to a conversation. + */ + conversationLink?: Schema$GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink; + /** + * The end byte index of the highlighted text (exclusive). + */ + endByteIndex?: number | null; + /** + * The text that is highlighted. (populated for debugging purposes) + */ + highlightedText?: string | null; + /** + * The location type. + */ + locationType?: string | null; + /** + * The start byte index of the highlighted text (inclusive). + */ + startByteIndex?: number | null; + } + /** + * A link to a bot instruction. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink { + /** + * The exclusive end line number of the instructions. + */ + endLine?: number | null; + /** + * The inclusive start line number of the instructions. + */ + startLine?: number | null; + /** + * The name of the subagent. + */ + subagent?: string | null; + } + /** + * A link to a conversation. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1LossPatternLinkConversationLink { + /** + * The conversation ID. + */ + conversationId?: string | null; + } /** * The analysis resource. */ @@ -8400,6 +8910,10 @@ export namespace contactcenterinsights_v1 { * The entry subagent's display name. */ entrySubagentDisplayName?: string | null; + /** + * The entry subagent's ID. + */ + entrySubagentId?: string | null; /** * The agent's location. */ @@ -8763,7 +9277,7 @@ export namespace contactcenterinsights_v1 { */ metricType?: string | null; /** - * Output only. Deprecated: Use partial_trajectory_steps instead. The intermediate trajectory updates (partial trajectory). + * Output only. Deprecated: Use partial_trajectory_steps instead. Output only. The intermediate trajectory updates (partial trajectory). */ partialTrajectories?: string[] | null; /** @@ -8780,7 +9294,23 @@ export namespace contactcenterinsights_v1 { */ export interface Schema$GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsRequest { /** - * Optional. If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task. + * ces agent display name (e.g., "Steering", "Billing"). + */ + agentDisplayName?: string | null; + /** + * ces agent id to diagnose. + */ + agentId?: string | null; + /** + * Required. The CES App ID. + */ + appId?: string | null; + /** + * Optional. Optional but highly recommended. ces app version. If provided, specific version of agent instruction will be retrieved. If empty or set to '-', will use the latest draft version of instruction. + */ + appVersion?: string | null; + /** + * Optional. Deprecated: If true, the request will be validated and a simulation of the analysis will be performed without actually executing the task. This field is unused. Use validate_only instead. */ dryRun?: boolean | null; /** @@ -8788,11 +9318,15 @@ export namespace contactcenterinsights_v1 { */ filter?: string | null; /** - * Optional. If true, the agent will generate a full diagnostic report for all sub-agents. + * Optional. Deprecated: If true, the agent will generate a full diagnostic report for all sub-agents. Subagent reporting configuration is unused. The final diagnostic details are already persisted inside the Diagnostic resource instead. */ fullReport?: boolean | null; /** - * Optional. Specific instructions for the agent. + * Optional. A unique identifier used to group multiple diagnostic requests triggered under the same run batch or cron job. + */ + groupId?: string | null; + /** + * Optional. Deprecated: Specific instructions for the agent. Use app_id and subagent fields instead. */ instructions?: string | null; /** @@ -8804,7 +9338,7 @@ export namespace contactcenterinsights_v1 { */ metricType?: string | null; /** - * Optional. The configuration for the output of the task. + * Optional. Deprecated: The configuration for the output of the task. The export destination is unused. Detailed markdown and conversation slices are already persisted inside the Diagnostic resource instead. */ outputConfig?: Schema$GoogleCloudContactcenterinsightsV1mainOutputConfig; /** @@ -8829,28 +9363,36 @@ export namespace contactcenterinsights_v1 { */ export interface Schema$GoogleCloudContactcenterinsightsV1mainDiagnoseConversationsResponse { /** - * Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker. + * Output only. Deprecated: Output only. The final, high-level answer or diagnostic summary returned by the Sherlock worker is deprecated. The persistent analysis summary is stored inside the Diagnostic resource instead. */ answer?: string | null; /** - * Output only. If an external destination was requested, the URI of the exported data. + * Output only. Deprecated: Output only. If an external destination was requested, the URI of the exported data is deprecated. The persistent diagnostic details are stored inside the Diagnostic resource instead. */ exportUri?: string | null; /** - * Output only. Deprecated: Use full_trajectory_steps instead. The complete sequence of thoughts and actions (full trajectory). + * Output only. Deprecated: Use full_trajectory_steps instead. Output only. The complete sequence of thoughts and actions (full trajectory). */ fullTrajectories?: string[] | null; /** - * Output only. The complete sequence of thoughts and actions taken by the agent. + * Output only. Deprecated: Output only. The complete sequence of thoughts and actions taken by the agent is deprecated under LRO response completions. Use the persistent details inside the Diagnostic resource instead. */ fullTrajectorySteps?: Schema$GoogleCloudContactcenterinsightsV1mainSherlockStep[]; } /** - * A diagnostic report containing aggregate metrics and intent breakdowns. + * A diagnostic report containing loss patterns and problematic slice stats. */ export interface Schema$GoogleCloudContactcenterinsightsV1mainDiagnosticReport { /** - * Output only. A breakdown of metrics grouped by intent. + * Output only. A map of conversation slices used in the report. + */ + conversationSlices?: { + [ + key: string + ]: Schema$GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice; + } | null; + /** + * Output only. Deprecated: Intent breakdowns are no longer used. */ intentStats?: Schema$GoogleCloudContactcenterinsightsV1mainDiagnosticReportIntentStats[]; /** @@ -8863,6 +9405,19 @@ export namespace contactcenterinsights_v1 { metrics?: { [key: string]: Schema$GoogleCloudContactcenterinsightsV1mainMetricValue; } | null; + /** + * Output only. The final report in markdown format. + */ + report?: string | null; + } + /** + * Output only. A map of conversation slices used in the report. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1mainDiagnosticReportConversationSlice { + /** + * The list of conversation IDs that match this slice. + */ + conversationIds?: string[] | null; } /** * A breakdown of metrics grouped by intent. @@ -10020,6 +10575,10 @@ export namespace contactcenterinsights_v1 { * Output only. The unique identifier for the loss pattern. */ id?: string | null; + /** + * Output only. A list of links to conversations or bot instructions. + */ + links?: Schema$GoogleCloudContactcenterinsightsV1mainLossPatternLink[]; /** * Output only. The percentage of conversations that match this loss pattern. */ @@ -10029,6 +10588,61 @@ export namespace contactcenterinsights_v1 { */ suggestedFixes?: string | null; } + /** + * A link to a conversation or bot instruction. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1mainLossPatternLink { + /** + * A link to a bot instruction. + */ + botInstructionLink?: Schema$GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink; + /** + * A link to a conversation. + */ + conversationLink?: Schema$GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink; + /** + * The end byte index of the highlighted text (exclusive). + */ + endByteIndex?: number | null; + /** + * The text that is highlighted. (populated for debugging purposes) + */ + highlightedText?: string | null; + /** + * The location type. + */ + locationType?: string | null; + /** + * The start byte index of the highlighted text (inclusive). + */ + startByteIndex?: number | null; + } + /** + * A link to a bot instruction. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink { + /** + * The exclusive end line number of the instructions. + */ + endLine?: number | null; + /** + * The inclusive start line number of the instructions. + */ + startLine?: number | null; + /** + * The name of the subagent. + */ + subagent?: string | null; + } + /** + * A link to a conversation. + */ + export interface Schema$GoogleCloudContactcenterinsightsV1mainLossPatternLinkConversationLink { + /** + * The conversation ID. + */ + conversationId?: string | null; + } /** * Deprecated: MetricValue is no longer used for diagnostics. */ @@ -10889,19 +11503,35 @@ export namespace contactcenterinsights_v1 { */ export interface Schema$GoogleCloudContactcenterinsightsV1mainSherlockStep { /** - * Output only. Natural language input stimulus. + * Output only. The ID of the agent that produced/received this content. + */ + agentId?: string | null; + /** + * Output only. The content of the turn (either Model or User role). + */ + content?: Schema$GoogleCloudAiplatformV1Content; + /** + * Output only. List of state changes caused by this specific turn. + */ + stateDeltas?: Array<{[key: string]: any}> | null; + /** + * Output only. Unique ID for this specific turn. + */ + stepId?: string | null; + /** + * Output only. Deprecated: Use content instead. */ textInput?: string[] | null; /** - * Output only. The reasoning or internal monologue of the agent. + * Output only. Deprecated: Use content instead. */ thought?: string | null; /** - * Output only. The tool call issued by the agent. + * Output only. Deprecated: Use content instead. */ toolCalls?: Schema$GoogleCloudContactcenterinsightsV1mainToolCall[]; /** - * Output only. The output response from the tool execution. + * Output only. Deprecated: Use content instead. */ toolOutput?: {[key: string]: any} | null; } @@ -12286,6 +12916,10 @@ export namespace contactcenterinsights_v1 { * The redirect action to be taken when the chart is clicked. */ export interface Schema$GoogleCloudContactcenterinsightsV1RedirectAction { + /** + * The query params to be added to the redirect path. + */ + queryParams?: {[key: string]: string} | null; /** * The relative path to redirect to. */ @@ -12586,19 +13220,35 @@ export namespace contactcenterinsights_v1 { */ export interface Schema$GoogleCloudContactcenterinsightsV1SherlockStep { /** - * Output only. Natural language input stimulus. + * Output only. The ID of the agent that produced/received this content. + */ + agentId?: string | null; + /** + * Output only. The content of the turn (either Model or User role). + */ + content?: Schema$GoogleCloudAiplatformV1Content; + /** + * Output only. List of state changes caused by this specific turn. + */ + stateDeltas?: Array<{[key: string]: any}> | null; + /** + * Output only. Unique ID for this specific turn. + */ + stepId?: string | null; + /** + * Output only. Deprecated: Use content instead. */ textInput?: string[] | null; /** - * Output only. The reasoning or internal monologue of the agent. + * Output only. Deprecated: Use content instead. */ thought?: string | null; /** - * Output only. The tool call issued by the agent. + * Output only. Deprecated: Use content instead. */ toolCalls?: Schema$GoogleCloudContactcenterinsightsV1ToolCall[]; /** - * Output only. The output response from the tool execution. + * Output only. Deprecated: Use content instead. */ toolOutput?: {[key: string]: any} | null; } @@ -13789,9 +14439,14 @@ export namespace contactcenterinsights_v1 { * requestBody: { * // request body parameters * // { + * // "agentDisplayName": "my_agentDisplayName", + * // "agentId": "my_agentId", + * // "appId": "my_appId", + * // "appVersion": "my_appVersion", * // "dryRun": false, * // "filter": "my_filter", * // "fullReport": false, + * // "groupId": "my_groupId", * // "instructions": "my_instructions", * // "maxSteps": 0, * // "metricType": "my_metricType", @@ -37062,9 +37717,14 @@ export namespace contactcenterinsights_v1 { * * // Example response * // { + * // "agentDisplayName": "my_agentDisplayName", + * // "agentId": "my_agentId", * // "analysisSummary": "my_analysisSummary", + * // "appId": "my_appId", + * // "appVersion": "my_appVersion", * // "conversationFilter": "my_conversationFilter", * // "createTime": "my_createTime", + * // "groupCreateTime": "my_groupCreateTime", * // "name": "my_name", * // "report": {} * // } @@ -37204,6 +37864,10 @@ export namespace contactcenterinsights_v1 { * * // Do the magic * const res = await contactcenterinsights.projects.locations.diagnostics.list({ + * // Optional. The CES App ID to filter diagnostics by. + * appId: 'placeholder-value', + * // Optional. The CES App version to filter diagnostics by. + * appVersion: 'placeholder-value', * // Optional. A filter to apply to the list (e.g. `create_time \> "2023-01-01T00:00:00Z"`). * filter: 'placeholder-value', * // Optional. The maximum number of diagnostics to return. The service may return fewer than this value. If unspecified, at most 100 diagnostics will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. @@ -37342,6 +38006,14 @@ export namespace contactcenterinsights_v1 { name?: string; } export interface Params$Resource$Projects$Locations$Diagnostics$List extends StandardParameters { + /** + * Optional. The CES App ID to filter diagnostics by. + */ + appId?: string; + /** + * Optional. The CES App version to filter diagnostics by. + */ + appVersion?: string; /** * Optional. A filter to apply to the list (e.g. `create_time \> "2023-01-01T00:00:00Z"`). */ From fa4cc39740d004d95cc96c7eba7c8c5a6837db62 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:37 +0000 Subject: [PATCH 23/69] feat(container): update the API #### container:v1beta1 The following keys were added: - schemas.Cluster.properties.nodeCreationConfig.$ref - schemas.Cluster.properties.nodeCreationConfig.description - schemas.ClusterUpdate.properties.desiredNodeCreationConfig.$ref - schemas.ClusterUpdate.properties.desiredNodeCreationConfig.description - schemas.ExclusionUntilEndOfSupport.description - schemas.ExclusionUntilEndOfSupport.id - schemas.ExclusionUntilEndOfSupport.properties.enabled.description - schemas.ExclusionUntilEndOfSupport.properties.enabled.type - schemas.ExclusionUntilEndOfSupport.properties.endTime.description - schemas.ExclusionUntilEndOfSupport.properties.endTime.format - schemas.ExclusionUntilEndOfSupport.properties.endTime.readOnly - schemas.ExclusionUntilEndOfSupport.properties.endTime.type - schemas.ExclusionUntilEndOfSupport.properties.startTime.description - schemas.ExclusionUntilEndOfSupport.properties.startTime.format - schemas.ExclusionUntilEndOfSupport.properties.startTime.readOnly - schemas.ExclusionUntilEndOfSupport.properties.startTime.type - schemas.ExclusionUntilEndOfSupport.type - schemas.NodeCreationConfig.description - schemas.NodeCreationConfig.id - schemas.NodeCreationConfig.properties.nodeCreationMode.description - schemas.NodeCreationConfig.properties.nodeCreationMode.enum - schemas.NodeCreationConfig.properties.nodeCreationMode.enumDescriptions - schemas.NodeCreationConfig.properties.nodeCreationMode.type - schemas.NodeCreationConfig.type - schemas.NodeDrainConfig.properties.graceTerminationDuration.description - schemas.NodeDrainConfig.properties.graceTerminationDuration.format - schemas.NodeDrainConfig.properties.graceTerminationDuration.type - schemas.NodeDrainConfig.properties.pdbTimeoutDuration.description - schemas.NodeDrainConfig.properties.pdbTimeoutDuration.format - schemas.NodeDrainConfig.properties.pdbTimeoutDuration.type - schemas.NodePool.properties.maintenancePolicy.$ref - schemas.NodePool.properties.maintenancePolicy.description - schemas.NodePoolMaintenancePolicy.description - schemas.NodePoolMaintenancePolicy.id - schemas.NodePoolMaintenancePolicy.properties.exclusionUntilEndOfSupport.$ref - schemas.NodePoolMaintenancePolicy.properties.exclusionUntilEndOfSupport.description - schemas.NodePoolMaintenancePolicy.type #### container:v1 The following keys were added: - schemas.Cluster.properties.nodeCreationConfig.$ref - schemas.Cluster.properties.nodeCreationConfig.description - schemas.ClusterUpdate.properties.desiredNodeCreationConfig.$ref - schemas.ClusterUpdate.properties.desiredNodeCreationConfig.description - schemas.ExclusionUntilEndOfSupport.description - schemas.ExclusionUntilEndOfSupport.id - schemas.ExclusionUntilEndOfSupport.properties.enabled.description - schemas.ExclusionUntilEndOfSupport.properties.enabled.type - schemas.ExclusionUntilEndOfSupport.properties.endTime.description - schemas.ExclusionUntilEndOfSupport.properties.endTime.format - schemas.ExclusionUntilEndOfSupport.properties.endTime.readOnly - schemas.ExclusionUntilEndOfSupport.properties.endTime.type - schemas.ExclusionUntilEndOfSupport.properties.startTime.description - schemas.ExclusionUntilEndOfSupport.properties.startTime.format - schemas.ExclusionUntilEndOfSupport.properties.startTime.readOnly - schemas.ExclusionUntilEndOfSupport.properties.startTime.type - schemas.ExclusionUntilEndOfSupport.type - schemas.NodeCreationConfig.description - schemas.NodeCreationConfig.id - schemas.NodeCreationConfig.properties.nodeCreationMode.description - schemas.NodeCreationConfig.properties.nodeCreationMode.enum - schemas.NodeCreationConfig.properties.nodeCreationMode.enumDescriptions - schemas.NodeCreationConfig.properties.nodeCreationMode.type - schemas.NodeCreationConfig.type - schemas.NodeDrainConfig.properties.graceTerminationDuration.description - schemas.NodeDrainConfig.properties.graceTerminationDuration.format - schemas.NodeDrainConfig.properties.graceTerminationDuration.type - schemas.NodeDrainConfig.properties.pdbTimeoutDuration.description - schemas.NodeDrainConfig.properties.pdbTimeoutDuration.format - schemas.NodeDrainConfig.properties.pdbTimeoutDuration.type - schemas.NodePool.properties.maintenancePolicy.$ref - schemas.NodePool.properties.maintenancePolicy.description - schemas.NodePoolMaintenancePolicy.description - schemas.NodePoolMaintenancePolicy.id - schemas.NodePoolMaintenancePolicy.properties.exclusionUntilEndOfSupport.$ref - schemas.NodePoolMaintenancePolicy.properties.exclusionUntilEndOfSupport.description - schemas.NodePoolMaintenancePolicy.type --- discovery/container-v1.json | 79 +++++++++++++++++++++++++++++++- discovery/container-v1beta1.json | 79 +++++++++++++++++++++++++++++++- src/apis/container/v1.ts | 59 ++++++++++++++++++++++++ src/apis/container/v1beta1.ts | 59 ++++++++++++++++++++++++ 4 files changed, 274 insertions(+), 2 deletions(-) diff --git a/discovery/container-v1.json b/discovery/container-v1.json index e263a32e46..4e6e3968d7 100644 --- a/discovery/container-v1.json +++ b/discovery/container-v1.json @@ -2660,7 +2660,7 @@ } } }, - "revision": "20260421", + "revision": "20260507", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3743,6 +3743,10 @@ "deprecated": true, "description": "Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a \"node_pool\" object, since this configuration (along with the \"initial_node_count\") will be used to create a \"NodePool\" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead." }, + "nodeCreationConfig": { + "$ref": "NodeCreationConfig", + "description": "Optional. Configuration for Node Creation Mode." + }, "nodeIpv4CidrSize": { "description": "Output only. The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.", "format": "int32", @@ -4221,6 +4225,10 @@ "$ref": "NetworkTierConfig", "description": "The desired network tier configuration for the cluster." }, + "desiredNodeCreationConfig": { + "$ref": "NodeCreationConfig", + "description": "Optional. The desired NodeCreationConfig for the cluster." + }, "desiredNodeKubeletConfig": { "$ref": "NodeKubeletConfig", "description": "The desired node kubelet config for the cluster." @@ -5224,6 +5232,29 @@ }, "type": "object" }, + "ExclusionUntilEndOfSupport": { + "description": "Defines the maintenance exclusion for the node pool.", + "id": "ExclusionUntilEndOfSupport", + "properties": { + "enabled": { + "description": "Optional. Indicates whether the exclusion is enabled.", + "type": "boolean" + }, + "endTime": { + "description": "Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "startTime": { + "description": "Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "FastSocket": { "description": "Configuration of Fast Socket feature.", "id": "FastSocket", @@ -7064,10 +7095,41 @@ }, "type": "object" }, + "NodeCreationConfig": { + "description": "NodeCreationConfig defines the settings of node creation mode.", + "id": "NodeCreationConfig", + "properties": { + "nodeCreationMode": { + "description": "The mode of node creation.", + "enum": [ + "MODE_UNSPECIFIED", + "VIA_KUBELET", + "VIA_CONTROL_PLANE" + ], + "enumDescriptions": [ + "When no user input is provided.", + "Kubelet registers itself.", + "gcp-controller-manager automatically creates the node object after CSR approval." + ], + "type": "string" + } + }, + "type": "object" + }, "NodeDrainConfig": { "description": "NodeDrainConfig contains the node drain related configurations for this node pool.", "id": "NodeDrainConfig", "properties": { + "graceTerminationDuration": { + "description": "The duration of the grace termination period for node drain.", + "format": "google-duration", + "type": "string" + }, + "pdbTimeoutDuration": { + "description": "The duration of the PDB timeout period for node drain.", + "format": "google-duration", + "type": "string" + }, "respectPdbDuringNodePoolDeletion": { "description": "Whether to respect PDB during node pool deletion.", "type": "boolean" @@ -7354,6 +7416,10 @@ }, "type": "array" }, + "maintenancePolicy": { + "$ref": "NodePoolMaintenancePolicy", + "description": "Optional. Specifies the maintenance policy for the node pool." + }, "management": { "$ref": "NodeManagement", "description": "NodeManagement configuration for this NodePool." @@ -7533,6 +7599,17 @@ }, "type": "object" }, + "NodePoolMaintenancePolicy": { + "description": "Defines the maintenance policy for the node pool.", + "id": "NodePoolMaintenancePolicy", + "properties": { + "exclusionUntilEndOfSupport": { + "$ref": "ExclusionUntilEndOfSupport", + "description": "Optional. The exclusion until end of support for the node pool." + } + }, + "type": "object" + }, "NodePoolUpgradeInfo": { "description": "NodePoolUpgradeInfo contains the upgrade information of a node pool.", "id": "NodePoolUpgradeInfo", diff --git a/discovery/container-v1beta1.json b/discovery/container-v1beta1.json index da77b65733..59b81bdeb9 100644 --- a/discovery/container-v1beta1.json +++ b/discovery/container-v1beta1.json @@ -2741,7 +2741,7 @@ } } }, - "revision": "20260421", + "revision": "20260507", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3927,6 +3927,10 @@ "deprecated": true, "description": "Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a \"node_pool\" object, since this configuration (along with the \"initial_node_count\") will be used to create a \"NodePool\" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead." }, + "nodeCreationConfig": { + "$ref": "NodeCreationConfig", + "description": "Optional. Configuration for Node Creation Mode." + }, "nodeIpv4CidrSize": { "description": "Output only. The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.", "format": "int32", @@ -4475,6 +4479,10 @@ "$ref": "NetworkTierConfig", "description": "The desired network tier configuration for the cluster." }, + "desiredNodeCreationConfig": { + "$ref": "NodeCreationConfig", + "description": "Optional. The desired NodeCreationConfig for the cluster." + }, "desiredNodeKubeletConfig": { "$ref": "NodeKubeletConfig", "description": "The desired node kubelet config for the cluster." @@ -5562,6 +5570,29 @@ }, "type": "object" }, + "ExclusionUntilEndOfSupport": { + "description": "Defines the maintenance exclusion for the node pool.", + "id": "ExclusionUntilEndOfSupport", + "properties": { + "enabled": { + "description": "Optional. Indicates whether the exclusion is enabled.", + "type": "boolean" + }, + "endTime": { + "description": "Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "startTime": { + "description": "Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "FastSocket": { "description": "Configuration of Fast Socket feature.", "id": "FastSocket", @@ -7571,10 +7602,41 @@ }, "type": "object" }, + "NodeCreationConfig": { + "description": "NodeCreationConfig defines the settings of node creation mode.", + "id": "NodeCreationConfig", + "properties": { + "nodeCreationMode": { + "description": "The mode of node creation.", + "enum": [ + "MODE_UNSPECIFIED", + "VIA_KUBELET", + "VIA_CONTROL_PLANE" + ], + "enumDescriptions": [ + "When no user input is provided.", + "Kubelet registers itself.", + "gcp-controller-manager automatically creates the node object after CSR approval." + ], + "type": "string" + } + }, + "type": "object" + }, "NodeDrainConfig": { "description": "NodeDrainConfig contains the node drain related configurations for this node pool.", "id": "NodeDrainConfig", "properties": { + "graceTerminationDuration": { + "description": "The duration of the grace termination period for node drain.", + "format": "google-duration", + "type": "string" + }, + "pdbTimeoutDuration": { + "description": "The duration of the PDB timeout period for node drain.", + "format": "google-duration", + "type": "string" + }, "respectPdbDuringNodePoolDeletion": { "description": "Whether to respect PDB during node pool deletion.", "type": "boolean" @@ -7861,6 +7923,10 @@ }, "type": "array" }, + "maintenancePolicy": { + "$ref": "NodePoolMaintenancePolicy", + "description": "Optional. Specifies the maintenance policy for the node pool." + }, "management": { "$ref": "NodeManagement", "description": "NodeManagement configuration for this NodePool." @@ -8040,6 +8106,17 @@ }, "type": "object" }, + "NodePoolMaintenancePolicy": { + "description": "Defines the maintenance policy for the node pool.", + "id": "NodePoolMaintenancePolicy", + "properties": { + "exclusionUntilEndOfSupport": { + "$ref": "ExclusionUntilEndOfSupport", + "description": "Optional. The exclusion until end of support for the node pool." + } + }, + "type": "object" + }, "NodePoolUpgradeConcurrencyConfig": { "description": "NodePoolUpgradeConcurrencyConfig is the configuration for the node pool auto upgrade concurrency.", "id": "NodePoolUpgradeConcurrencyConfig", diff --git a/src/apis/container/v1.ts b/src/apis/container/v1.ts index b156cf6a16..bab58bf3c8 100644 --- a/src/apis/container/v1.ts +++ b/src/apis/container/v1.ts @@ -950,6 +950,10 @@ export namespace container_v1 { * Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead. */ nodeConfig?: Schema$NodeConfig; + /** + * Optional. Configuration for Node Creation Mode. + */ + nodeCreationConfig?: Schema$NodeCreationConfig; /** * Output only. The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode. */ @@ -1322,6 +1326,10 @@ export namespace container_v1 { * The desired network tier configuration for the cluster. */ desiredNetworkTierConfig?: Schema$NetworkTierConfig; + /** + * Optional. The desired NodeCreationConfig for the cluster. + */ + desiredNodeCreationConfig?: Schema$NodeCreationConfig; /** * The desired node kubelet config for the cluster. */ @@ -2006,6 +2014,23 @@ export namespace container_v1 { */ pidAvailable?: string | null; } + /** + * Defines the maintenance exclusion for the node pool. + */ + export interface Schema$ExclusionUntilEndOfSupport { + /** + * Optional. Indicates whether the exclusion is enabled. + */ + enabled?: boolean | null; + /** + * Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel. + */ + endTime?: string | null; + /** + * Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time. + */ + startTime?: string | null; + } /** * Configuration of Fast Socket feature. */ @@ -3239,10 +3264,27 @@ export namespace container_v1 { */ nodeKubeletConfig?: Schema$NodeKubeletConfig; } + /** + * NodeCreationConfig defines the settings of node creation mode. + */ + export interface Schema$NodeCreationConfig { + /** + * The mode of node creation. + */ + nodeCreationMode?: string | null; + } /** * NodeDrainConfig contains the node drain related configurations for this node pool. */ export interface Schema$NodeDrainConfig { + /** + * The duration of the grace termination period for node drain. + */ + graceTerminationDuration?: string | null; + /** + * The duration of the PDB timeout period for node drain. + */ + pdbTimeoutDuration?: string | null; /** * Whether to respect PDB during node pool deletion. */ @@ -3473,6 +3515,10 @@ export namespace container_v1 { * The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed. */ locations?: string[] | null; + /** + * Optional. Specifies the maintenance policy for the node pool. + */ + maintenancePolicy?: Schema$NodePoolMaintenancePolicy; /** * NodeManagement configuration for this NodePool. */ @@ -3602,6 +3648,15 @@ export namespace container_v1 { */ variantConfig?: Schema$LoggingVariantConfig; } + /** + * Defines the maintenance policy for the node pool. + */ + export interface Schema$NodePoolMaintenancePolicy { + /** + * Optional. The exclusion until end of support for the node pool. + */ + exclusionUntilEndOfSupport?: Schema$ExclusionUntilEndOfSupport; + } /** * NodePoolUpgradeInfo contains the upgrade information of a node pool. */ @@ -6722,6 +6777,7 @@ export namespace container_v1 { * // "networkConfig": {}, * // "networkPolicy": {}, * // "nodeConfig": {}, + * // "nodeCreationConfig": {}, * // "nodeIpv4CidrSize": 0, * // "nodePoolAutoConfig": {}, * // "nodePoolDefaults": {}, @@ -9997,6 +10053,7 @@ export namespace container_v1 { * // "initialNodeCount": 0, * // "instanceGroupUrls": [], * // "locations": [], + * // "maintenancePolicy": {}, * // "management": {}, * // "maxPodsConstraint": {}, * // "name": "my_name", @@ -12999,6 +13056,7 @@ export namespace container_v1 { * // "networkConfig": {}, * // "networkPolicy": {}, * // "nodeConfig": {}, + * // "nodeCreationConfig": {}, * // "nodeIpv4CidrSize": 0, * // "nodePoolAutoConfig": {}, * // "nodePoolDefaults": {}, @@ -16142,6 +16200,7 @@ export namespace container_v1 { * // "initialNodeCount": 0, * // "instanceGroupUrls": [], * // "locations": [], + * // "maintenancePolicy": {}, * // "management": {}, * // "maxPodsConstraint": {}, * // "name": "my_name", diff --git a/src/apis/container/v1beta1.ts b/src/apis/container/v1beta1.ts index 413d063215..ba508fa354 100644 --- a/src/apis/container/v1beta1.ts +++ b/src/apis/container/v1beta1.ts @@ -1021,6 +1021,10 @@ export namespace container_v1beta1 { * Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead. */ nodeConfig?: Schema$NodeConfig; + /** + * Optional. Configuration for Node Creation Mode. + */ + nodeCreationConfig?: Schema$NodeCreationConfig; /** * Output only. The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode. */ @@ -1446,6 +1450,10 @@ export namespace container_v1beta1 { * The desired network tier configuration for the cluster. */ desiredNetworkTierConfig?: Schema$NetworkTierConfig; + /** + * Optional. The desired NodeCreationConfig for the cluster. + */ + desiredNodeCreationConfig?: Schema$NodeCreationConfig; /** * The desired node kubelet config for the cluster. */ @@ -2201,6 +2209,23 @@ export namespace container_v1beta1 { */ pidAvailable?: string | null; } + /** + * Defines the maintenance exclusion for the node pool. + */ + export interface Schema$ExclusionUntilEndOfSupport { + /** + * Optional. Indicates whether the exclusion is enabled. + */ + enabled?: boolean | null; + /** + * Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel. + */ + endTime?: string | null; + /** + * Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time. + */ + startTime?: string | null; + } /** * Configuration of Fast Socket feature. */ @@ -3528,10 +3553,27 @@ export namespace container_v1beta1 { */ nodeKubeletConfig?: Schema$NodeKubeletConfig; } + /** + * NodeCreationConfig defines the settings of node creation mode. + */ + export interface Schema$NodeCreationConfig { + /** + * The mode of node creation. + */ + nodeCreationMode?: string | null; + } /** * NodeDrainConfig contains the node drain related configurations for this node pool. */ export interface Schema$NodeDrainConfig { + /** + * The duration of the grace termination period for node drain. + */ + graceTerminationDuration?: string | null; + /** + * The duration of the PDB timeout period for node drain. + */ + pdbTimeoutDuration?: string | null; /** * Whether to respect PDB during node pool deletion. */ @@ -3762,6 +3804,10 @@ export namespace container_v1beta1 { * The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed. */ locations?: string[] | null; + /** + * Optional. Specifies the maintenance policy for the node pool. + */ + maintenancePolicy?: Schema$NodePoolMaintenancePolicy; /** * NodeManagement configuration for this NodePool. */ @@ -3891,6 +3937,15 @@ export namespace container_v1beta1 { */ variantConfig?: Schema$LoggingVariantConfig; } + /** + * Defines the maintenance policy for the node pool. + */ + export interface Schema$NodePoolMaintenancePolicy { + /** + * Optional. The exclusion until end of support for the node pool. + */ + exclusionUntilEndOfSupport?: Schema$ExclusionUntilEndOfSupport; + } /** * NodePoolUpgradeConcurrencyConfig is the configuration for the node pool auto upgrade concurrency. */ @@ -7529,6 +7584,7 @@ export namespace container_v1beta1 { * // "networkConfig": {}, * // "networkPolicy": {}, * // "nodeConfig": {}, + * // "nodeCreationConfig": {}, * // "nodeIpv4CidrSize": 0, * // "nodePoolAutoConfig": {}, * // "nodePoolDefaults": {}, @@ -10825,6 +10881,7 @@ export namespace container_v1beta1 { * // "initialNodeCount": 0, * // "instanceGroupUrls": [], * // "locations": [], + * // "maintenancePolicy": {}, * // "management": {}, * // "maxPodsConstraint": {}, * // "name": "my_name", @@ -13999,6 +14056,7 @@ export namespace container_v1beta1 { * // "networkConfig": {}, * // "networkPolicy": {}, * // "nodeConfig": {}, + * // "nodeCreationConfig": {}, * // "nodeIpv4CidrSize": 0, * // "nodePoolAutoConfig": {}, * // "nodePoolDefaults": {}, @@ -17160,6 +17218,7 @@ export namespace container_v1beta1 { * // "initialNodeCount": 0, * // "instanceGroupUrls": [], * // "locations": [], + * // "maintenancePolicy": {}, * // "management": {}, * // "maxPodsConstraint": {}, * // "name": "my_name", From 18fa55daf5c8fc0b1a57c8e95698029986625928 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:37 +0000 Subject: [PATCH 24/69] feat(dataform): update the API #### dataform:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.description - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.flatPath - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.httpMethod - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.id - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.parameterOrder - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.parameters.name.description - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.parameters.name.location - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.parameters.name.pattern - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.parameters.name.required - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.parameters.name.type - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.path - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.request.$ref - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.response.$ref - resources.projects.resources.locations.resources.repositories.methods.deleteLongRunning.scopes - schemas.DeleteRepositoryLongRunningRequest.description - schemas.DeleteRepositoryLongRunningRequest.id - schemas.DeleteRepositoryLongRunningRequest.properties.force.description - schemas.DeleteRepositoryLongRunningRequest.properties.force.type - schemas.DeleteRepositoryLongRunningRequest.type - schemas.GitRemoteSettings.properties.effectiveDefaultBranch.description - schemas.GitRemoteSettings.properties.effectiveDefaultBranch.readOnly - schemas.GitRemoteSettings.properties.effectiveDefaultBranch.type The following keys were changed: - resources.projects.resources.locations.resources.teamFolders.methods.search.parameters.pageSize.description - schemas.DirectoryEntry.properties.directory.description - schemas.DirectoryEntry.properties.file.description - schemas.GitRemoteSettings.properties.defaultBranch.description #### dataform:v1 The following keys were added: - schemas.GitRemoteSettings.properties.effectiveDefaultBranch.description - schemas.GitRemoteSettings.properties.effectiveDefaultBranch.readOnly - schemas.GitRemoteSettings.properties.effectiveDefaultBranch.type The following keys were changed: - resources.projects.resources.locations.resources.teamFolders.methods.search.parameters.pageSize.description - schemas.DirectoryEntry.properties.directory.description - schemas.DirectoryEntry.properties.file.description - schemas.GitRemoteSettings.properties.defaultBranch.description --- discovery/dataform-v1.json | 15 ++- discovery/dataform-v1beta1.json | 55 +++++++++- src/apis/dataform/v1.ts | 14 ++- src/apis/dataform/v1beta1.ts | 187 +++++++++++++++++++++++++++++++- 4 files changed, 251 insertions(+), 20 deletions(-) diff --git a/discovery/dataform-v1.json b/discovery/dataform-v1.json index 0b1625c679..52e5515684 100644 --- a/discovery/dataform-v1.json +++ b/discovery/dataform-v1.json @@ -3150,7 +3150,7 @@ "type": "string" }, "pageSize": { - "description": "Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "description": "Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick a default of page_size = 50.", "format": "int32", "location": "query", "type": "integer" @@ -3235,7 +3235,7 @@ } } }, - "revision": "20260430", + "revision": "20260515", "rootUrl": "https://dataform.googleapis.com/", "schemas": { "ActionErrorTable": { @@ -3898,11 +3898,11 @@ "id": "DirectoryEntry", "properties": { "directory": { - "description": "A child directory in the directory.", + "description": "A child directory in the directory. The path is returned including the full folder structure from the root.", "type": "string" }, "file": { - "description": "A file in the directory.", + "description": "A file in the directory. The path is returned including the full folder structure from the root.", "type": "string" }, "metadata": { @@ -4157,7 +4157,12 @@ "type": "string" }, "defaultBranch": { - "description": "Required. The Git remote's default branch name. If not set, `main` will be used and stored for the repository.", + "description": "Optional. The Git remote's default branch name. If not set `main` will be used.", + "type": "string" + }, + "effectiveDefaultBranch": { + "description": "Output only. The Git remote's effective default branch name. This is the default branch name of the Git remote if it is set, otherwise it is `main`.", + "readOnly": true, "type": "string" }, "sshAuthenticationConfig": { diff --git a/discovery/dataform-v1beta1.json b/discovery/dataform-v1beta1.json index 69b9590ff2..2f2b448687 100644 --- a/discovery/dataform-v1beta1.json +++ b/discovery/dataform-v1beta1.json @@ -1087,6 +1087,35 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "deleteLongRunning": { + "description": "Deletes a single Repository asynchronously.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:deleteLongRunning", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.deleteLongRunning", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The repository's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:deleteLongRunning", + "request": { + "$ref": "DeleteRepositoryLongRunningRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "fetchHistory": { "description": "Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:fetchHistory", @@ -3162,7 +3191,7 @@ "type": "string" }, "pageSize": { - "description": "Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "description": "Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick a default of page_size = 50.", "format": "int32", "location": "query", "type": "integer" @@ -3247,7 +3276,7 @@ } } }, - "revision": "20260430", + "revision": "20260515", "rootUrl": "https://dataform.googleapis.com/", "schemas": { "ActionErrorTable": { @@ -3894,6 +3923,17 @@ }, "type": "object" }, + "DeleteRepositoryLongRunningRequest": { + "description": "`DeleteRepositoryLongRunning` request message.", + "id": "DeleteRepositoryLongRunningRequest", + "properties": { + "force": { + "description": "Optional. If set to true, child resources of this repository (compilation results and workflow invocations) will also be deleted. Otherwise, the request will only succeed if the repository has no child resources. **Note:** *This flag doesn't support deletion of workspaces, release configs or workflow configs. If any of such resources exists in the repository, the request will fail.*", + "type": "boolean" + } + }, + "type": "object" + }, "DeleteTeamFolderTreeRequest": { "description": "`DeleteTeamFolderTree` request message.", "id": "DeleteTeamFolderTreeRequest", @@ -3910,11 +3950,11 @@ "id": "DirectoryEntry", "properties": { "directory": { - "description": "A child directory in the directory.", + "description": "A child directory in the directory. The path is returned including the full folder structure from the root.", "type": "string" }, "file": { - "description": "A file in the directory.", + "description": "A file in the directory. The path is returned including the full folder structure from the root.", "type": "string" }, "metadata": { @@ -4169,7 +4209,12 @@ "type": "string" }, "defaultBranch": { - "description": "Required. The Git remote's default branch name. If not set, `main` will be used and stored for the repository.", + "description": "Optional. The Git remote's default branch name. If not set `main` will be used.", + "type": "string" + }, + "effectiveDefaultBranch": { + "description": "Output only. The Git remote's effective default branch name. This is the default branch name of the Git remote if it is set, otherwise it is `main`.", + "readOnly": true, "type": "string" }, "sshAuthenticationConfig": { diff --git a/src/apis/dataform/v1.ts b/src/apis/dataform/v1.ts index 450ceeb7b7..280fe8544e 100644 --- a/src/apis/dataform/v1.ts +++ b/src/apis/dataform/v1.ts @@ -651,11 +651,11 @@ export namespace dataform_v1 { */ export interface Schema$DirectoryEntry { /** - * A child directory in the directory. + * A child directory in the directory. The path is returned including the full folder structure from the root. */ directory?: string | null; /** - * A file in the directory. + * A file in the directory. The path is returned including the full folder structure from the root. */ file?: string | null; /** @@ -857,9 +857,13 @@ export namespace dataform_v1 { */ authenticationTokenSecretVersion?: string | null; /** - * Required. The Git remote's default branch name. If not set, `main` will be used and stored for the repository. + * Optional. The Git remote's default branch name. If not set `main` will be used. */ defaultBranch?: string | null; + /** + * Output only. The Git remote's effective default branch name. This is the default branch name of the Git remote if it is set, otherwise it is `main`. + */ + effectiveDefaultBranch?: string | null; /** * Optional. Authentication fields for remote uris using SSH protocol. */ @@ -16211,7 +16215,7 @@ export namespace dataform_v1 { * location: 'projects/my-project/locations/my-location', * // Optional. Field to additionally sort results by. Supported keywords: `display_name` (default), `create_time`, `last_modified_time`. Examples: * `orderBy="display_name"` * `orderBy="display_name desc"` * orderBy: 'placeholder-value', - * // Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. + * // Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick a default of page_size = 50. * pageSize: 'placeholder-value', * // Optional. Page token received from a previous `SearchTeamFolders` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchTeamFolders`, with the exception of `page_size`, must match the call that provided the page token. * pageToken: 'placeholder-value', @@ -16726,7 +16730,7 @@ export namespace dataform_v1 { */ orderBy?: string; /** - * Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. + * Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick a default of page_size = 50. */ pageSize?: number; /** diff --git a/src/apis/dataform/v1beta1.ts b/src/apis/dataform/v1beta1.ts index 6b385e7e24..1b23f29057 100644 --- a/src/apis/dataform/v1beta1.ts +++ b/src/apis/dataform/v1beta1.ts @@ -637,6 +637,15 @@ export namespace dataform_v1beta1 { */ force?: boolean | null; } + /** + * `DeleteRepositoryLongRunning` request message. + */ + export interface Schema$DeleteRepositoryLongRunningRequest { + /** + * Optional. If set to true, child resources of this repository (compilation results and workflow invocations) will also be deleted. Otherwise, the request will only succeed if the repository has no child resources. **Note:** *This flag doesn't support deletion of workspaces, release configs or workflow configs. If any of such resources exists in the repository, the request will fail.* + */ + force?: boolean | null; + } /** * `DeleteTeamFolderTree` request message. */ @@ -651,11 +660,11 @@ export namespace dataform_v1beta1 { */ export interface Schema$DirectoryEntry { /** - * A child directory in the directory. + * A child directory in the directory. The path is returned including the full folder structure from the root. */ directory?: string | null; /** - * A file in the directory. + * A file in the directory. The path is returned including the full folder structure from the root. */ file?: string | null; /** @@ -857,9 +866,13 @@ export namespace dataform_v1beta1 { */ authenticationTokenSecretVersion?: string | null; /** - * Required. The Git remote's default branch name. If not set, `main` will be used and stored for the repository. + * Optional. The Git remote's default branch name. If not set `main` will be used. */ defaultBranch?: string | null; + /** + * Output only. The Git remote's effective default branch name. This is the default branch name of the Git remote if it is set, otherwise it is `main`. + */ + effectiveDefaultBranch?: string | null; /** * Optional. Authentication fields for remote uris using SSH protocol. */ @@ -5973,6 +5986,159 @@ export namespace dataform_v1beta1 { } } + /** + * Deletes a single Repository asynchronously. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dataform.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dataform = google.dataform('v1beta1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigquery', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dataform.projects.locations.repositories.deleteLongRunning({ + * // Required. The repository's name. + * name: 'projects/my-project/locations/my-location/repositories/my-repositorie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "force": false + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + deleteLongRunning( + params: Params$Resource$Projects$Locations$Repositories$Deletelongrunning, + options: StreamMethodOptions + ): Promise>; + deleteLongRunning( + params?: Params$Resource$Projects$Locations$Repositories$Deletelongrunning, + options?: MethodOptions + ): Promise>; + deleteLongRunning( + params: Params$Resource$Projects$Locations$Repositories$Deletelongrunning, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + deleteLongRunning( + params: Params$Resource$Projects$Locations$Repositories$Deletelongrunning, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + deleteLongRunning( + params: Params$Resource$Projects$Locations$Repositories$Deletelongrunning, + callback: BodyResponseCallback + ): void; + deleteLongRunning(callback: BodyResponseCallback): void; + deleteLongRunning( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Repositories$Deletelongrunning + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Repositories$Deletelongrunning; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Repositories$Deletelongrunning; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+name}:deleteLongRunning').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`. * @example @@ -7704,6 +7870,17 @@ export namespace dataform_v1beta1 { */ name?: string; } + export interface Params$Resource$Projects$Locations$Repositories$Deletelongrunning extends StandardParameters { + /** + * Required. The repository's name. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$DeleteRepositoryLongRunningRequest; + } export interface Params$Resource$Projects$Locations$Repositories$Fetchhistory extends StandardParameters { /** * Required. The repository's name. @@ -16249,7 +16426,7 @@ export namespace dataform_v1beta1 { * location: 'projects/my-project/locations/my-location', * // Optional. Field to additionally sort results by. Supported keywords: `display_name` (default), `create_time`, `last_modified_time`. Examples: * `orderBy="display_name"` * `orderBy="display_name desc"` * orderBy: 'placeholder-value', - * // Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. + * // Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick a default of page_size = 50. * pageSize: 'placeholder-value', * // Optional. Page token received from a previous `SearchTeamFolders` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchTeamFolders`, with the exception of `page_size`, must match the call that provided the page token. * pageToken: 'placeholder-value', @@ -16768,7 +16945,7 @@ export namespace dataform_v1beta1 { */ orderBy?: string; /** - * Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. + * Optional. Maximum number of TeamFolders to return. The server may return fewer items than requested. If unspecified, the server will pick a default of page_size = 50. */ pageSize?: number; /** From f1579f671fa8e4885f094802ed356129f0fa4314 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:37 +0000 Subject: [PATCH 25/69] fix(datamigration): update the API #### datamigration:v1beta1 The following keys were changed: - resources.projects.resources.locations.methods.list.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - schemas.QuotaFailureViolation.properties.apiService.description #### datamigration:v1 The following keys were changed: - resources.projects.resources.locations.methods.list.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - schemas.EntityIssue.properties.type.enum - schemas.EntityIssue.properties.type.enumDescriptions - schemas.QuotaFailureViolation.properties.apiService.description --- discovery/datamigration-v1.json | 14 ++++++++------ discovery/datamigration-v1beta1.json | 8 ++++---- src/apis/datamigration/v1.ts | 8 ++++---- src/apis/datamigration/v1beta1.ts | 8 ++++---- 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/discovery/datamigration-v1.json b/discovery/datamigration-v1.json index 9f6a59bbc2..5ef9a8fa0d 100644 --- a/discovery/datamigration-v1.json +++ b/discovery/datamigration-v1.json @@ -408,7 +408,7 @@ ] }, "list": { - "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", + "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", "flatPath": "v1/projects/{projectsId}/locations", "httpMethod": "GET", "id": "datamigration.projects.locations.list", @@ -417,7 +417,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -2587,7 +2587,7 @@ } } }, - "revision": "20260406", + "revision": "20260511", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -4175,13 +4175,15 @@ "ISSUE_TYPE_UNSPECIFIED", "ISSUE_TYPE_DDL", "ISSUE_TYPE_APPLY", - "ISSUE_TYPE_CONVERT" + "ISSUE_TYPE_CONVERT", + "ISSUE_TYPE_PULL_SCHEMA" ], "enumDescriptions": [ "Unspecified issue type.", "Issue originated from the DDL", "Issue originated during the apply process", - "Issue originated during the convert process" + "Issue originated during the convert process", + "Issue originated during the pull schema process" ], "type": "string" } @@ -6430,7 +6432,7 @@ "id": "QuotaFailureViolation", "properties": { "apiService": { - "description": "The API Service from which the `QuotaFailure.Violation` orginates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be \"container.googleapis.com\". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be \"compute.googleapis.com\".", + "description": "The API Service from which the `QuotaFailure.Violation` originates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be \"container.googleapis.com\". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be \"compute.googleapis.com\".", "type": "string" }, "description": { diff --git a/discovery/datamigration-v1beta1.json b/discovery/datamigration-v1beta1.json index f8bb535d59..c01551f5d8 100644 --- a/discovery/datamigration-v1beta1.json +++ b/discovery/datamigration-v1beta1.json @@ -372,7 +372,7 @@ ] }, "list": { - "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", + "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", "flatPath": "v1beta1/projects/{projectsId}/locations", "httpMethod": "GET", "id": "datamigration.projects.locations.list", @@ -381,7 +381,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1297,7 +1297,7 @@ } } }, - "revision": "20260406", + "revision": "20260511", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AuditConfig": { @@ -2350,7 +2350,7 @@ "id": "QuotaFailureViolation", "properties": { "apiService": { - "description": "The API Service from which the `QuotaFailure.Violation` orginates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be \"container.googleapis.com\". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be \"compute.googleapis.com\".", + "description": "The API Service from which the `QuotaFailure.Violation` originates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be \"container.googleapis.com\". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be \"compute.googleapis.com\".", "type": "string" }, "description": { diff --git a/src/apis/datamigration/v1.ts b/src/apis/datamigration/v1.ts index d041bc28f6..bf777ca62e 100644 --- a/src/apis/datamigration/v1.ts +++ b/src/apis/datamigration/v1.ts @@ -2547,7 +2547,7 @@ export namespace datamigration_v1 { */ export interface Schema$QuotaFailureViolation { /** - * The API Service from which the `QuotaFailure.Violation` orginates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be "container.googleapis.com". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be "compute.googleapis.com". + * The API Service from which the `QuotaFailure.Violation` originates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be "container.googleapis.com". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be "compute.googleapis.com". */ apiService?: string | null; /** @@ -3891,7 +3891,7 @@ export namespace datamigration_v1 { } /** - * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. + * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. * @example * ```js * // Before running the sample: @@ -3921,7 +3921,7 @@ export namespace datamigration_v1 { * * // Do the magic * const res = await datamigration.projects.locations.list({ - * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. * extraLocationTypes: 'placeholder-value', * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). * filter: 'placeholder-value', @@ -4062,7 +4062,7 @@ export namespace datamigration_v1 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** - * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */ extraLocationTypes?: string[]; /** diff --git a/src/apis/datamigration/v1beta1.ts b/src/apis/datamigration/v1beta1.ts index f1408eb09d..58fefb15a1 100644 --- a/src/apis/datamigration/v1beta1.ts +++ b/src/apis/datamigration/v1beta1.ts @@ -795,7 +795,7 @@ export namespace datamigration_v1beta1 { */ export interface Schema$QuotaFailureViolation { /** - * The API Service from which the `QuotaFailure.Violation` orginates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be "container.googleapis.com". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be "compute.googleapis.com". + * The API Service from which the `QuotaFailure.Violation` originates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be "container.googleapis.com". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be "compute.googleapis.com". */ apiService?: string | null; /** @@ -1237,7 +1237,7 @@ export namespace datamigration_v1beta1 { } /** - * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. + * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. * @example * ```js * // Before running the sample: @@ -1267,7 +1267,7 @@ export namespace datamigration_v1beta1 { * * // Do the magic * const res = await datamigration.projects.locations.list({ - * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. * extraLocationTypes: 'placeholder-value', * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). * filter: 'placeholder-value', @@ -1394,7 +1394,7 @@ export namespace datamigration_v1beta1 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** - * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */ extraLocationTypes?: string[]; /** From a914686911513307f17974662a301152dcd6482a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:37 +0000 Subject: [PATCH 26/69] feat(dataplex)!: update the API BREAKING CHANGE: This release has breaking changes. #### dataplex:v1 The following keys were deleted: - schemas.GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions.properties.entityInferenceEnabled.deprecated - schemas.GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions.properties.entityInferenceEnabled.description - schemas.GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions.properties.entityInferenceEnabled.type The following keys were added: - resources.projects.resources.locations.resources.changeRequests.methods.approve.description - resources.projects.resources.locations.resources.changeRequests.methods.approve.flatPath - resources.projects.resources.locations.resources.changeRequests.methods.approve.httpMethod - resources.projects.resources.locations.resources.changeRequests.methods.approve.id - resources.projects.resources.locations.resources.changeRequests.methods.approve.parameterOrder - resources.projects.resources.locations.resources.changeRequests.methods.approve.parameters.name.description - resources.projects.resources.locations.resources.changeRequests.methods.approve.parameters.name.location - resources.projects.resources.locations.resources.changeRequests.methods.approve.parameters.name.pattern - resources.projects.resources.locations.resources.changeRequests.methods.approve.parameters.name.required - resources.projects.resources.locations.resources.changeRequests.methods.approve.parameters.name.type - resources.projects.resources.locations.resources.changeRequests.methods.approve.path - resources.projects.resources.locations.resources.changeRequests.methods.approve.request.$ref - resources.projects.resources.locations.resources.changeRequests.methods.approve.response.$ref - resources.projects.resources.locations.resources.changeRequests.methods.approve.scopes - resources.projects.resources.locations.resources.changeRequests.methods.delete.description - resources.projects.resources.locations.resources.changeRequests.methods.delete.flatPath - resources.projects.resources.locations.resources.changeRequests.methods.delete.httpMethod - resources.projects.resources.locations.resources.changeRequests.methods.delete.id - resources.projects.resources.locations.resources.changeRequests.methods.delete.parameterOrder - resources.projects.resources.locations.resources.changeRequests.methods.delete.parameters.etag.description - resources.projects.resources.locations.resources.changeRequests.methods.delete.parameters.etag.location - resources.projects.resources.locations.resources.changeRequests.methods.delete.parameters.etag.type - resources.projects.resources.locations.resources.changeRequests.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.changeRequests.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.changeRequests.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.changeRequests.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.changeRequests.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.changeRequests.methods.delete.path - resources.projects.resources.locations.resources.changeRequests.methods.delete.response.$ref - resources.projects.resources.locations.resources.changeRequests.methods.delete.scopes - resources.projects.resources.locations.resources.changeRequests.methods.get.description - resources.projects.resources.locations.resources.changeRequests.methods.get.flatPath - resources.projects.resources.locations.resources.changeRequests.methods.get.httpMethod - resources.projects.resources.locations.resources.changeRequests.methods.get.id - resources.projects.resources.locations.resources.changeRequests.methods.get.parameterOrder - resources.projects.resources.locations.resources.changeRequests.methods.get.parameters.name.description - resources.projects.resources.locations.resources.changeRequests.methods.get.parameters.name.location - resources.projects.resources.locations.resources.changeRequests.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.changeRequests.methods.get.parameters.name.required - resources.projects.resources.locations.resources.changeRequests.methods.get.parameters.name.type - resources.projects.resources.locations.resources.changeRequests.methods.get.path - resources.projects.resources.locations.resources.changeRequests.methods.get.response.$ref - resources.projects.resources.locations.resources.changeRequests.methods.get.scopes - resources.projects.resources.locations.resources.changeRequests.methods.list.description - resources.projects.resources.locations.resources.changeRequests.methods.list.flatPath - resources.projects.resources.locations.resources.changeRequests.methods.list.httpMethod - resources.projects.resources.locations.resources.changeRequests.methods.list.id - resources.projects.resources.locations.resources.changeRequests.methods.list.parameterOrder - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.changeRequests.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.changeRequests.methods.list.path - resources.projects.resources.locations.resources.changeRequests.methods.list.response.$ref - resources.projects.resources.locations.resources.changeRequests.methods.list.scopes - resources.projects.resources.locations.resources.changeRequests.methods.patch.description - resources.projects.resources.locations.resources.changeRequests.methods.patch.flatPath - resources.projects.resources.locations.resources.changeRequests.methods.patch.httpMethod - resources.projects.resources.locations.resources.changeRequests.methods.patch.id - resources.projects.resources.locations.resources.changeRequests.methods.patch.parameterOrder - resources.projects.resources.locations.resources.changeRequests.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.changeRequests.methods.patch.parameters.name.location - resources.projects.resources.locations.resources.changeRequests.methods.patch.parameters.name.pattern - resources.projects.resources.locations.resources.changeRequests.methods.patch.parameters.name.required - resources.projects.resources.locations.resources.changeRequests.methods.patch.parameters.name.type - resources.projects.resources.locations.resources.changeRequests.methods.patch.parameters.updateMask.description - resources.projects.resources.locations.resources.changeRequests.methods.patch.parameters.updateMask.format - resources.projects.resources.locations.resources.changeRequests.methods.patch.parameters.updateMask.location - resources.projects.resources.locations.resources.changeRequests.methods.patch.parameters.updateMask.type - resources.projects.resources.locations.resources.changeRequests.methods.patch.path - resources.projects.resources.locations.resources.changeRequests.methods.patch.request.$ref - resources.projects.resources.locations.resources.changeRequests.methods.patch.response.$ref - resources.projects.resources.locations.resources.changeRequests.methods.patch.scopes - resources.projects.resources.locations.resources.changeRequests.methods.reject.description - resources.projects.resources.locations.resources.changeRequests.methods.reject.flatPath - resources.projects.resources.locations.resources.changeRequests.methods.reject.httpMethod - resources.projects.resources.locations.resources.changeRequests.methods.reject.id - resources.projects.resources.locations.resources.changeRequests.methods.reject.parameterOrder - resources.projects.resources.locations.resources.changeRequests.methods.reject.parameters.name.description - resources.projects.resources.locations.resources.changeRequests.methods.reject.parameters.name.location - resources.projects.resources.locations.resources.changeRequests.methods.reject.parameters.name.pattern - resources.projects.resources.locations.resources.changeRequests.methods.reject.parameters.name.required - resources.projects.resources.locations.resources.changeRequests.methods.reject.parameters.name.type - resources.projects.resources.locations.resources.changeRequests.methods.reject.path - resources.projects.resources.locations.resources.changeRequests.methods.reject.request.$ref - resources.projects.resources.locations.resources.changeRequests.methods.reject.response.$ref - resources.projects.resources.locations.resources.changeRequests.methods.reject.scopes - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.description - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.flatPath - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.httpMethod - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.id - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.parameterOrder - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.parameters.parent.description - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.parameters.parent.location - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.parameters.parent.pattern - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.parameters.parent.required - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.parameters.parent.type - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.path - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.request.$ref - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.response.$ref - resources.projects.resources.locations.resources.dataProducts.methods.requestAccess.scopes - schemas.GoogleCloudDataplexV1ApproveChangeRequestRequest.description - schemas.GoogleCloudDataplexV1ApproveChangeRequestRequest.id - schemas.GoogleCloudDataplexV1ApproveChangeRequestRequest.properties.etag.description - schemas.GoogleCloudDataplexV1ApproveChangeRequestRequest.properties.etag.type - schemas.GoogleCloudDataplexV1ApproveChangeRequestRequest.type - schemas.GoogleCloudDataplexV1ChangeRequest.description - schemas.GoogleCloudDataplexV1ChangeRequest.id - schemas.GoogleCloudDataplexV1ChangeRequest.properties.approver.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.approver.readOnly - schemas.GoogleCloudDataplexV1ChangeRequest.properties.approver.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.author.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.author.readOnly - schemas.GoogleCloudDataplexV1ChangeRequest.properties.author.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.changeType.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.changeType.enum - schemas.GoogleCloudDataplexV1ChangeRequest.properties.changeType.enumDescriptions - schemas.GoogleCloudDataplexV1ChangeRequest.properties.changeType.readOnly - schemas.GoogleCloudDataplexV1ChangeRequest.properties.changeType.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createEntry.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createEntry.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createEntryLink.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createEntryLink.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createGlossary.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createGlossary.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createGlossaryCategory.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createGlossaryCategory.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createGlossaryTerm.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createGlossaryTerm.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createTime.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createTime.format - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createTime.readOnly - schemas.GoogleCloudDataplexV1ChangeRequest.properties.createTime.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.dataProductAccessRequest.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.dataProductAccessRequest.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.deleteEntry.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.deleteEntry.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.deleteEntryLink.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.deleteEntryLink.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.deleteGlossary.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.deleteGlossary.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.deleteGlossaryCategory.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.deleteGlossaryCategory.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.deleteGlossaryTerm.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.deleteGlossaryTerm.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.etag.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.etag.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.justification.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.justification.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.labels.additionalProperties.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.labels.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.labels.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.name.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.name.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.rejectionComment.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.rejectionComment.readOnly - schemas.GoogleCloudDataplexV1ChangeRequest.properties.rejectionComment.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.resource.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.resource.readOnly - schemas.GoogleCloudDataplexV1ChangeRequest.properties.resource.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.state.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.state.enum - schemas.GoogleCloudDataplexV1ChangeRequest.properties.state.enumDescriptions - schemas.GoogleCloudDataplexV1ChangeRequest.properties.state.readOnly - schemas.GoogleCloudDataplexV1ChangeRequest.properties.state.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.uid.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.uid.readOnly - schemas.GoogleCloudDataplexV1ChangeRequest.properties.uid.type - schemas.GoogleCloudDataplexV1ChangeRequest.properties.updateEntry.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.updateEntry.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.updateGlossary.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.updateGlossary.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.updateGlossaryCategory.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.updateGlossaryCategory.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.updateGlossaryTerm.$ref - schemas.GoogleCloudDataplexV1ChangeRequest.properties.updateGlossaryTerm.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.updateTime.description - schemas.GoogleCloudDataplexV1ChangeRequest.properties.updateTime.format - schemas.GoogleCloudDataplexV1ChangeRequest.properties.updateTime.readOnly - schemas.GoogleCloudDataplexV1ChangeRequest.properties.updateTime.type - schemas.GoogleCloudDataplexV1ChangeRequest.type - schemas.GoogleCloudDataplexV1CreateEntryLinkRequest.description - schemas.GoogleCloudDataplexV1CreateEntryLinkRequest.id - schemas.GoogleCloudDataplexV1CreateEntryLinkRequest.properties.entryLink.$ref - schemas.GoogleCloudDataplexV1CreateEntryLinkRequest.properties.entryLink.description - schemas.GoogleCloudDataplexV1CreateEntryLinkRequest.properties.entryLinkId.description - schemas.GoogleCloudDataplexV1CreateEntryLinkRequest.properties.entryLinkId.type - schemas.GoogleCloudDataplexV1CreateEntryLinkRequest.properties.parent.description - schemas.GoogleCloudDataplexV1CreateEntryLinkRequest.properties.parent.type - schemas.GoogleCloudDataplexV1CreateEntryLinkRequest.type - schemas.GoogleCloudDataplexV1CreateEntryRequest.description - schemas.GoogleCloudDataplexV1CreateEntryRequest.id - schemas.GoogleCloudDataplexV1CreateEntryRequest.properties.entry.$ref - schemas.GoogleCloudDataplexV1CreateEntryRequest.properties.entry.description - schemas.GoogleCloudDataplexV1CreateEntryRequest.properties.entryId.description - schemas.GoogleCloudDataplexV1CreateEntryRequest.properties.entryId.type - schemas.GoogleCloudDataplexV1CreateEntryRequest.properties.parent.description - schemas.GoogleCloudDataplexV1CreateEntryRequest.properties.parent.type - schemas.GoogleCloudDataplexV1CreateEntryRequest.type - schemas.GoogleCloudDataplexV1CreateGlossaryCategoryRequest.description - schemas.GoogleCloudDataplexV1CreateGlossaryCategoryRequest.id - schemas.GoogleCloudDataplexV1CreateGlossaryCategoryRequest.properties.category.$ref - schemas.GoogleCloudDataplexV1CreateGlossaryCategoryRequest.properties.category.description - schemas.GoogleCloudDataplexV1CreateGlossaryCategoryRequest.properties.categoryId.description - schemas.GoogleCloudDataplexV1CreateGlossaryCategoryRequest.properties.categoryId.type - schemas.GoogleCloudDataplexV1CreateGlossaryCategoryRequest.properties.parent.description - schemas.GoogleCloudDataplexV1CreateGlossaryCategoryRequest.properties.parent.type - schemas.GoogleCloudDataplexV1CreateGlossaryCategoryRequest.type - schemas.GoogleCloudDataplexV1CreateGlossaryRequest.description - schemas.GoogleCloudDataplexV1CreateGlossaryRequest.id - schemas.GoogleCloudDataplexV1CreateGlossaryRequest.properties.glossary.$ref - schemas.GoogleCloudDataplexV1CreateGlossaryRequest.properties.glossary.description - schemas.GoogleCloudDataplexV1CreateGlossaryRequest.properties.glossaryId.description - schemas.GoogleCloudDataplexV1CreateGlossaryRequest.properties.glossaryId.type - schemas.GoogleCloudDataplexV1CreateGlossaryRequest.properties.parent.description - schemas.GoogleCloudDataplexV1CreateGlossaryRequest.properties.parent.type - schemas.GoogleCloudDataplexV1CreateGlossaryRequest.properties.validateOnly.description - schemas.GoogleCloudDataplexV1CreateGlossaryRequest.properties.validateOnly.type - schemas.GoogleCloudDataplexV1CreateGlossaryRequest.type - schemas.GoogleCloudDataplexV1CreateGlossaryTermRequest.description - schemas.GoogleCloudDataplexV1CreateGlossaryTermRequest.id - schemas.GoogleCloudDataplexV1CreateGlossaryTermRequest.properties.parent.description - schemas.GoogleCloudDataplexV1CreateGlossaryTermRequest.properties.parent.type - schemas.GoogleCloudDataplexV1CreateGlossaryTermRequest.properties.term.$ref - schemas.GoogleCloudDataplexV1CreateGlossaryTermRequest.properties.term.description - schemas.GoogleCloudDataplexV1CreateGlossaryTermRequest.properties.termId.description - schemas.GoogleCloudDataplexV1CreateGlossaryTermRequest.properties.termId.type - schemas.GoogleCloudDataplexV1CreateGlossaryTermRequest.type - schemas.GoogleCloudDataplexV1DataProduct.properties.accessApprovalConfig.$ref - schemas.GoogleCloudDataplexV1DataProduct.properties.accessApprovalConfig.description - schemas.GoogleCloudDataplexV1DataProductAccessApprovalConfig.description - schemas.GoogleCloudDataplexV1DataProductAccessApprovalConfig.id - schemas.GoogleCloudDataplexV1DataProductAccessApprovalConfig.properties.approverEmails.description - schemas.GoogleCloudDataplexV1DataProductAccessApprovalConfig.properties.approverEmails.items.type - schemas.GoogleCloudDataplexV1DataProductAccessApprovalConfig.properties.approverEmails.type - schemas.GoogleCloudDataplexV1DataProductAccessApprovalConfig.type - schemas.GoogleCloudDataplexV1DataProductAccessRequest.description - schemas.GoogleCloudDataplexV1DataProductAccessRequest.id - schemas.GoogleCloudDataplexV1DataProductAccessRequest.properties.accessGroupDisplayName.description - schemas.GoogleCloudDataplexV1DataProductAccessRequest.properties.accessGroupDisplayName.readOnly - schemas.GoogleCloudDataplexV1DataProductAccessRequest.properties.accessGroupDisplayName.type - schemas.GoogleCloudDataplexV1DataProductAccessRequest.properties.accessGroupId.description - schemas.GoogleCloudDataplexV1DataProductAccessRequest.properties.accessGroupId.type - schemas.GoogleCloudDataplexV1DataProductAccessRequest.properties.parent.description - schemas.GoogleCloudDataplexV1DataProductAccessRequest.properties.parent.type - schemas.GoogleCloudDataplexV1DataProductAccessRequest.properties.requestedPrincipal.description - schemas.GoogleCloudDataplexV1DataProductAccessRequest.properties.requestedPrincipal.type - schemas.GoogleCloudDataplexV1DataProductAccessRequest.type - schemas.GoogleCloudDataplexV1DataProductPrincipal.properties.serviceAccount.description - schemas.GoogleCloudDataplexV1DataProductPrincipal.properties.serviceAccount.type - schemas.GoogleCloudDataplexV1DeleteEntryLinkRequest.description - schemas.GoogleCloudDataplexV1DeleteEntryLinkRequest.id - schemas.GoogleCloudDataplexV1DeleteEntryLinkRequest.properties.name.description - schemas.GoogleCloudDataplexV1DeleteEntryLinkRequest.properties.name.type - schemas.GoogleCloudDataplexV1DeleteEntryLinkRequest.type - schemas.GoogleCloudDataplexV1DeleteEntryRequest.description - schemas.GoogleCloudDataplexV1DeleteEntryRequest.id - schemas.GoogleCloudDataplexV1DeleteEntryRequest.properties.name.description - schemas.GoogleCloudDataplexV1DeleteEntryRequest.properties.name.type - schemas.GoogleCloudDataplexV1DeleteEntryRequest.type - schemas.GoogleCloudDataplexV1DeleteGlossaryCategoryRequest.description - schemas.GoogleCloudDataplexV1DeleteGlossaryCategoryRequest.id - schemas.GoogleCloudDataplexV1DeleteGlossaryCategoryRequest.properties.name.description - schemas.GoogleCloudDataplexV1DeleteGlossaryCategoryRequest.properties.name.type - schemas.GoogleCloudDataplexV1DeleteGlossaryCategoryRequest.type - schemas.GoogleCloudDataplexV1DeleteGlossaryRequest.description - schemas.GoogleCloudDataplexV1DeleteGlossaryRequest.id - schemas.GoogleCloudDataplexV1DeleteGlossaryRequest.properties.etag.description - schemas.GoogleCloudDataplexV1DeleteGlossaryRequest.properties.etag.type - schemas.GoogleCloudDataplexV1DeleteGlossaryRequest.properties.name.description - schemas.GoogleCloudDataplexV1DeleteGlossaryRequest.properties.name.type - schemas.GoogleCloudDataplexV1DeleteGlossaryRequest.type - schemas.GoogleCloudDataplexV1DeleteGlossaryTermRequest.description - schemas.GoogleCloudDataplexV1DeleteGlossaryTermRequest.id - schemas.GoogleCloudDataplexV1DeleteGlossaryTermRequest.properties.name.description - schemas.GoogleCloudDataplexV1DeleteGlossaryTermRequest.properties.name.type - schemas.GoogleCloudDataplexV1DeleteGlossaryTermRequest.type - schemas.GoogleCloudDataplexV1ListChangeRequestsResponse.description - schemas.GoogleCloudDataplexV1ListChangeRequestsResponse.id - schemas.GoogleCloudDataplexV1ListChangeRequestsResponse.properties.changeRequests.description - schemas.GoogleCloudDataplexV1ListChangeRequestsResponse.properties.changeRequests.items.$ref - schemas.GoogleCloudDataplexV1ListChangeRequestsResponse.properties.changeRequests.type - schemas.GoogleCloudDataplexV1ListChangeRequestsResponse.properties.nextPageToken.description - schemas.GoogleCloudDataplexV1ListChangeRequestsResponse.properties.nextPageToken.type - schemas.GoogleCloudDataplexV1ListChangeRequestsResponse.properties.unreachable.description - schemas.GoogleCloudDataplexV1ListChangeRequestsResponse.properties.unreachable.items.type - schemas.GoogleCloudDataplexV1ListChangeRequestsResponse.properties.unreachable.type - schemas.GoogleCloudDataplexV1ListChangeRequestsResponse.type - schemas.GoogleCloudDataplexV1LookupContextRequest.properties.context.description - schemas.GoogleCloudDataplexV1LookupContextRequest.properties.context.type - schemas.GoogleCloudDataplexV1RejectChangeRequestRequest.description - schemas.GoogleCloudDataplexV1RejectChangeRequestRequest.id - schemas.GoogleCloudDataplexV1RejectChangeRequestRequest.properties.comment.description - schemas.GoogleCloudDataplexV1RejectChangeRequestRequest.properties.comment.type - schemas.GoogleCloudDataplexV1RejectChangeRequestRequest.properties.etag.description - schemas.GoogleCloudDataplexV1RejectChangeRequestRequest.properties.etag.type - schemas.GoogleCloudDataplexV1RejectChangeRequestRequest.type - schemas.GoogleCloudDataplexV1RequestDataProductAccessRequest.description - schemas.GoogleCloudDataplexV1RequestDataProductAccessRequest.id - schemas.GoogleCloudDataplexV1RequestDataProductAccessRequest.properties.changeRequest.$ref - schemas.GoogleCloudDataplexV1RequestDataProductAccessRequest.properties.changeRequest.description - schemas.GoogleCloudDataplexV1RequestDataProductAccessRequest.properties.validateOnly.description - schemas.GoogleCloudDataplexV1RequestDataProductAccessRequest.properties.validateOnly.type - schemas.GoogleCloudDataplexV1RequestDataProductAccessRequest.type - schemas.GoogleCloudDataplexV1RequestDataProductAccessResponse.description - schemas.GoogleCloudDataplexV1RequestDataProductAccessResponse.id - schemas.GoogleCloudDataplexV1RequestDataProductAccessResponse.properties.changeRequestName.description - schemas.GoogleCloudDataplexV1RequestDataProductAccessResponse.properties.changeRequestName.type - schemas.GoogleCloudDataplexV1RequestDataProductAccessResponse.type - schemas.GoogleCloudDataplexV1UpdateEntryRequest.description - schemas.GoogleCloudDataplexV1UpdateEntryRequest.id - schemas.GoogleCloudDataplexV1UpdateEntryRequest.properties.allowMissing.description - schemas.GoogleCloudDataplexV1UpdateEntryRequest.properties.allowMissing.type - schemas.GoogleCloudDataplexV1UpdateEntryRequest.properties.aspectKeys.description - schemas.GoogleCloudDataplexV1UpdateEntryRequest.properties.aspectKeys.items.type - schemas.GoogleCloudDataplexV1UpdateEntryRequest.properties.aspectKeys.type - schemas.GoogleCloudDataplexV1UpdateEntryRequest.properties.deleteMissingAspects.description - schemas.GoogleCloudDataplexV1UpdateEntryRequest.properties.deleteMissingAspects.type - schemas.GoogleCloudDataplexV1UpdateEntryRequest.properties.entry.$ref - schemas.GoogleCloudDataplexV1UpdateEntryRequest.properties.entry.description - schemas.GoogleCloudDataplexV1UpdateEntryRequest.properties.updateMask.description - schemas.GoogleCloudDataplexV1UpdateEntryRequest.properties.updateMask.format - schemas.GoogleCloudDataplexV1UpdateEntryRequest.properties.updateMask.type - schemas.GoogleCloudDataplexV1UpdateEntryRequest.type - schemas.GoogleCloudDataplexV1UpdateGlossaryCategoryRequest.description - schemas.GoogleCloudDataplexV1UpdateGlossaryCategoryRequest.id - schemas.GoogleCloudDataplexV1UpdateGlossaryCategoryRequest.properties.category.$ref - schemas.GoogleCloudDataplexV1UpdateGlossaryCategoryRequest.properties.category.description - schemas.GoogleCloudDataplexV1UpdateGlossaryCategoryRequest.properties.updateMask.description - schemas.GoogleCloudDataplexV1UpdateGlossaryCategoryRequest.properties.updateMask.format - schemas.GoogleCloudDataplexV1UpdateGlossaryCategoryRequest.properties.updateMask.type - schemas.GoogleCloudDataplexV1UpdateGlossaryCategoryRequest.type - schemas.GoogleCloudDataplexV1UpdateGlossaryRequest.description - schemas.GoogleCloudDataplexV1UpdateGlossaryRequest.id - schemas.GoogleCloudDataplexV1UpdateGlossaryRequest.properties.glossary.$ref - schemas.GoogleCloudDataplexV1UpdateGlossaryRequest.properties.glossary.description - schemas.GoogleCloudDataplexV1UpdateGlossaryRequest.properties.updateMask.description - schemas.GoogleCloudDataplexV1UpdateGlossaryRequest.properties.updateMask.format - schemas.GoogleCloudDataplexV1UpdateGlossaryRequest.properties.updateMask.type - schemas.GoogleCloudDataplexV1UpdateGlossaryRequest.properties.validateOnly.description - schemas.GoogleCloudDataplexV1UpdateGlossaryRequest.properties.validateOnly.type - schemas.GoogleCloudDataplexV1UpdateGlossaryRequest.type - schemas.GoogleCloudDataplexV1UpdateGlossaryTermRequest.description - schemas.GoogleCloudDataplexV1UpdateGlossaryTermRequest.id - schemas.GoogleCloudDataplexV1UpdateGlossaryTermRequest.properties.term.$ref - schemas.GoogleCloudDataplexV1UpdateGlossaryTermRequest.properties.term.description - schemas.GoogleCloudDataplexV1UpdateGlossaryTermRequest.properties.updateMask.description - schemas.GoogleCloudDataplexV1UpdateGlossaryTermRequest.properties.updateMask.format - schemas.GoogleCloudDataplexV1UpdateGlossaryTermRequest.properties.updateMask.type - schemas.GoogleCloudDataplexV1UpdateGlossaryTermRequest.type The following keys were changed: - resources.projects.resources.locations.resources.dataScans.methods.create.parameters.dataScanId.description --- discovery/dataplex-v1.json | 788 +++++++++++++- src/apis/dataplex/v1.ts | 2032 +++++++++++++++++++++++++++++++++--- 2 files changed, 2659 insertions(+), 161 deletions(-) diff --git a/discovery/dataplex-v1.json b/discovery/dataplex-v1.json index cc01f70e68..d2da0de135 100644 --- a/discovery/dataplex-v1.json +++ b/discovery/dataplex-v1.json @@ -1377,6 +1377,92 @@ }, "changeRequests": { "methods": { + "approve": { + "description": "Approves a ChangeRequest.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/changeRequests/{changeRequestsId}:approve", + "httpMethod": "POST", + "id": "dataplex.projects.locations.changeRequests.approve", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the ChangeRequest to approve.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/changeRequests/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:approve", + "request": { + "$ref": "GoogleCloudDataplexV1ApproveChangeRequestRequest" + }, + "response": { + "$ref": "GoogleCloudDataplexV1ChangeRequest" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dataplex.read-write" + ] + }, + "delete": { + "description": "Deletes a ChangeRequest.Behavior depends on the caller's permissions and the resource's state: 1. Callers with dataplex.changeRequests.delete can only delete ChangeRequests in the NEW state. 2. Callers with the dataplex.changeRequests.adminDelete permission can delete ChangeRequests regardless of their state.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/changeRequests/{changeRequestsId}", + "httpMethod": "DELETE", + "id": "dataplex.projects.locations.changeRequests.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "etag": { + "description": "Optional. The etag of the ChangeRequest.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the ChangeRequest to delete. Format: projects/{project_number}/locations/{location_id}/changeRequests/{change_request_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/changeRequests/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dataplex.read-write" + ] + }, + "get": { + "description": "Gets a ChangeRequest.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/changeRequests/{changeRequestsId}", + "httpMethod": "GET", + "id": "dataplex.projects.locations.changeRequests.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the ChangeRequest to retrieve. Format: projects/{project_number}/locations/{location_id}/changeRequests/{change_request_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/changeRequests/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudDataplexV1ChangeRequest" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dataplex.read-write" + ] + }, "getIamPolicy": { "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/changeRequests/{changeRequestsId}:getIamPolicy", @@ -1409,6 +1495,117 @@ "https://www.googleapis.com/auth/dataplex.read-write" ] }, + "list": { + "description": "Lists ChangeRequests.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/changeRequests", + "httpMethod": "GET", + "id": "dataplex.projects.locations.changeRequests.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter request. Supports filtering by: state, author, resource, create_time, update_time.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Order by fields for the result.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Maximum number of ChangeRequests to return. The service may return fewer.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous ListChangeRequests call.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of ChangeRequests. Format: projects/{project_number}/locations/{location_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/changeRequests", + "response": { + "$ref": "GoogleCloudDataplexV1ListChangeRequestsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dataplex.read-write" + ] + }, + "patch": { + "description": "Updates a ChangeRequest. Only allowed when the state is NEW.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/changeRequests/{changeRequestsId}", + "httpMethod": "PATCH", + "id": "dataplex.projects.locations.changeRequests.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The relative resource name of the ChangeRequest, of the form: projects/{project_number}/locations/{location_id}/changeRequests/{change_request_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/changeRequests/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudDataplexV1ChangeRequest" + }, + "response": { + "$ref": "GoogleCloudDataplexV1ChangeRequest" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dataplex.read-write" + ] + }, + "reject": { + "description": "Rejects a ChangeRequest.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/changeRequests/{changeRequestsId}:reject", + "httpMethod": "POST", + "id": "dataplex.projects.locations.changeRequests.reject", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the ChangeRequest to reject.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/changeRequests/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:reject", + "request": { + "$ref": "GoogleCloudDataplexV1RejectChangeRequestRequest" + }, + "response": { + "$ref": "GoogleCloudDataplexV1ChangeRequest" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dataplex.read-write" + ] + }, "setIamPolicy": { "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/changeRequests/{changeRequestsId}:setIamPolicy", @@ -2071,6 +2268,35 @@ "https://www.googleapis.com/auth/dataplex.read-write" ] }, + "requestAccess": { + "description": "Requests access to a data product. This will trigger an access approval workflow, and the requester will need to wait for the approval to be granted before they will be able to access the data product assets.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataProducts/{dataProductsId}:requestAccess", + "httpMethod": "POST", + "id": "dataplex.projects.locations.dataProducts.requestAccess", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}:requestAccess", + "request": { + "$ref": "GoogleCloudDataplexV1RequestDataProductAccessRequest" + }, + "response": { + "$ref": "GoogleCloudDataplexV1RequestDataProductAccessResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dataplex.read-write" + ] + }, "setIamPolicy": { "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataProducts/{dataProductsId}:setIamPolicy", @@ -2341,7 +2567,7 @@ ], "parameters": { "dataScanId": { - "description": "Required. DataScan identifier. Must contain only lowercase letters, numbers and hyphens. Must start with a letter. Must end with a number or a letter. Must be between 1-63 characters. Must be unique within the customer project / location.", + "description": "Optional. DataScan identifier. If not provided, a unique ID will be generated with the prefix \"data-scan-\". Must contain only lowercase letters, numbers and hyphens. Must start with a letter. Must end with a number or a letter. Must be between 1-63 characters. Must be unique within the customer project / location.", "location": "query", "type": "string" }, @@ -7490,7 +7716,7 @@ } } }, - "revision": "20260428", + "revision": "20260520", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -7708,6 +7934,17 @@ "properties": {}, "type": "object" }, + "GoogleCloudDataplexV1ApproveChangeRequestRequest": { + "description": "Request message for ApproveChangeRequest.", + "id": "GoogleCloudDataplexV1ApproveChangeRequestRequest", + "properties": { + "etag": { + "description": "Optional. The etag of the ChangeRequest.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDataplexV1Aspect": { "description": "Represents a single piece of metadata describing an entry or entry link.", "id": "GoogleCloudDataplexV1Aspect", @@ -8420,6 +8657,290 @@ "properties": {}, "type": "object" }, + "GoogleCloudDataplexV1ChangeRequest": { + "description": "Represents a proposed change to a metadata resource.", + "id": "GoogleCloudDataplexV1ChangeRequest", + "properties": { + "approver": { + "description": "Output only. The email address of the user who approved/rejected the ChangeRequest.", + "readOnly": true, + "type": "string" + }, + "author": { + "description": "Output only. The email address of the user who created the ChangeRequest.", + "readOnly": true, + "type": "string" + }, + "changeType": { + "description": "Output only. The type of change represented by the change_payload. This field is derived from the populated field in the change_payload oneof.", + "enum": [ + "CHANGE_TYPE_UNSPECIFIED", + "CREATE_ENTRY", + "UPDATE_ENTRY", + "DELETE_ENTRY", + "CREATE_ENTRY_LINK", + "DELETE_ENTRY_LINK", + "CREATE_GLOSSARY", + "UPDATE_GLOSSARY", + "DELETE_GLOSSARY", + "CREATE_GLOSSARY_CATEGORY", + "UPDATE_GLOSSARY_CATEGORY", + "DELETE_GLOSSARY_CATEGORY", + "CREATE_GLOSSARY_TERM", + "UPDATE_GLOSSARY_TERM", + "DELETE_GLOSSARY_TERM", + "REQUEST_DATA_PRODUCT_ACCESS" + ], + "enumDescriptions": [ + "State unspecified.", + "Request to create an Entry.", + "Request to update an Entry.", + "Request to delete an Entry.", + "Request to create an EntryLink.", + "Request to delete an EntryLink.", + "Request to create a Glossary.", + "Request to update a Glossary.", + "Request to delete a Glossary.", + "Request to create a GlossaryCategory.", + "Request to update a GlossaryCategory.", + "Request to delete a GlossaryCategory.", + "Request to create a GlossaryTerm.", + "Request to update a GlossaryTerm.", + "Request to delete a GlossaryTerm.", + "Request to request Data Product access." + ], + "readOnly": true, + "type": "string" + }, + "createEntry": { + "$ref": "GoogleCloudDataplexV1CreateEntryRequest", + "description": "Payload for creating an Entry." + }, + "createEntryLink": { + "$ref": "GoogleCloudDataplexV1CreateEntryLinkRequest", + "description": "Payload for creating an EntryLink." + }, + "createGlossary": { + "$ref": "GoogleCloudDataplexV1CreateGlossaryRequest", + "description": "Payload for creating a Glossary." + }, + "createGlossaryCategory": { + "$ref": "GoogleCloudDataplexV1CreateGlossaryCategoryRequest", + "description": "Payload for creating a GlossaryCategory." + }, + "createGlossaryTerm": { + "$ref": "GoogleCloudDataplexV1CreateGlossaryTermRequest", + "description": "Payload for creating a GlossaryTerm." + }, + "createTime": { + "description": "Output only. The time when the ChangeRequest was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "dataProductAccessRequest": { + "$ref": "GoogleCloudDataplexV1DataProductAccessRequest", + "description": "Payload for Data Product access request." + }, + "deleteEntry": { + "$ref": "GoogleCloudDataplexV1DeleteEntryRequest", + "description": "Payload for deleting an Entry." + }, + "deleteEntryLink": { + "$ref": "GoogleCloudDataplexV1DeleteEntryLinkRequest", + "description": "Payload for deleting an EntryLink." + }, + "deleteGlossary": { + "$ref": "GoogleCloudDataplexV1DeleteGlossaryRequest", + "description": "Payload for deleting a Glossary." + }, + "deleteGlossaryCategory": { + "$ref": "GoogleCloudDataplexV1DeleteGlossaryCategoryRequest", + "description": "Payload for deleting a GlossaryCategory." + }, + "deleteGlossaryTerm": { + "$ref": "GoogleCloudDataplexV1DeleteGlossaryTermRequest", + "description": "Payload for deleting a GlossaryTerm." + }, + "etag": { + "description": "Optional. This checksum is computed by the service. It can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", + "type": "string" + }, + "justification": { + "description": "Optional. Justification of the ChangeRequest. This should explain why the change is needed or why it should be approved.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. User-defined labels for the ChangeRequest.", + "type": "object" + }, + "name": { + "description": "Identifier. The relative resource name of the ChangeRequest, of the form: projects/{project_number}/locations/{location_id}/changeRequests/{change_request_id}", + "type": "string" + }, + "rejectionComment": { + "description": "Output only. The reason provided for rejecting the ChangeRequest.", + "readOnly": true, + "type": "string" + }, + "resource": { + "description": "Output only. The full resource name of the target resource to be modified. Example: //dataplex.googleapis.com/projects/my-project/locations/us-central1/entryGroups/my-group/entries/my-entry", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The current state of the ChangeRequest.", + "enum": [ + "STATE_UNSPECIFIED", + "NEW", + "APPROVED", + "REJECTED", + "EXPIRED", + "REVOKED" + ], + "enumDescriptions": [ + "State unspecified.", + "The change is proposed and new.", + "The change has been approved.", + "The change has been rejected.", + "The change request has expired.", + "The approved change has been revoked." + ], + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. System generated globally unique ID for the ChangeRequest.", + "readOnly": true, + "type": "string" + }, + "updateEntry": { + "$ref": "GoogleCloudDataplexV1UpdateEntryRequest", + "description": "Payload for updating an Entry." + }, + "updateGlossary": { + "$ref": "GoogleCloudDataplexV1UpdateGlossaryRequest", + "description": "Payload for updating a Glossary." + }, + "updateGlossaryCategory": { + "$ref": "GoogleCloudDataplexV1UpdateGlossaryCategoryRequest", + "description": "Payload for updating a GlossaryCategory." + }, + "updateGlossaryTerm": { + "$ref": "GoogleCloudDataplexV1UpdateGlossaryTermRequest", + "description": "Payload for updating a GlossaryTerm." + }, + "updateTime": { + "description": "Output only. The time when the ChangeRequest was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1CreateEntryLinkRequest": { + "description": "Request message for CreateEntryLink.", + "id": "GoogleCloudDataplexV1CreateEntryLinkRequest", + "properties": { + "entryLink": { + "$ref": "GoogleCloudDataplexV1EntryLink", + "description": "Required. Entry Link resource." + }, + "entryLinkId": { + "description": "Required. Entry Link identifier * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the EntryGroup.", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the parent Entry Group: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1CreateEntryRequest": { + "description": "Create Entry request.", + "id": "GoogleCloudDataplexV1CreateEntryRequest", + "properties": { + "entry": { + "$ref": "GoogleCloudDataplexV1Entry", + "description": "Required. Entry resource." + }, + "entryId": { + "description": "Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters.", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the parent Entry Group: projects/{project}/locations/{location}/entryGroups/{entry_group}.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1CreateGlossaryCategoryRequest": { + "description": "Creates a new GlossaryCategory under the specified Glossary.", + "id": "GoogleCloudDataplexV1CreateGlossaryCategoryRequest", + "properties": { + "category": { + "$ref": "GoogleCloudDataplexV1GlossaryCategory", + "description": "Required. The GlossaryCategory to create." + }, + "categoryId": { + "description": "Required. GlossaryCategory identifier.", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource where this GlossaryCategory will be created. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} where locationId refers to a Google Cloud region.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1CreateGlossaryRequest": { + "description": "Create Glossary Request", + "id": "GoogleCloudDataplexV1CreateGlossaryRequest", + "properties": { + "glossary": { + "$ref": "GoogleCloudDataplexV1Glossary", + "description": "Required. The Glossary to create." + }, + "glossaryId": { + "description": "Required. Glossary ID: Glossary identifier.", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource where this Glossary will be created. Format: projects/{project_id_or_number}/locations/{location_id} where location_id refers to a Google Cloud region.", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Validates the request without actually creating the Glossary. Default: false.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1CreateGlossaryTermRequest": { + "description": "Creates a new GlossaryTerm under the specified Glossary.", + "id": "GoogleCloudDataplexV1CreateGlossaryTermRequest", + "properties": { + "parent": { + "description": "Required. The parent resource where the GlossaryTerm will be created. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} where location_id refers to a Google Cloud region.", + "type": "string" + }, + "term": { + "$ref": "GoogleCloudDataplexV1GlossaryTerm", + "description": "Required. The GlossaryTerm to create." + }, + "termId": { + "description": "Required. GlossaryTerm identifier.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDataplexV1DataAccessSpec": { "description": "DataAccessSpec holds the access control configuration to be enforced on data stored within resources (eg: rows, columns in BigQuery Tables). When associated with data, the data is only accessible to principals explicitly granted access through the DataAccessSpec. Principals with access to the containing resource are not implicitly granted access.", "id": "GoogleCloudDataplexV1DataAccessSpec", @@ -8864,11 +9385,6 @@ "description": "Describes options for unstructured data discovery.", "id": "GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions", "properties": { - "entityInferenceEnabled": { - "deprecated": true, - "description": "Optional. Deprecated: Use semantic_inference_enabled instead. Specifies whether deeper entity inference over the objects' contents using GenAI is enabled.", - "type": "boolean" - }, "semanticInferenceEnabled": { "description": "Optional. Specifies whether deeper semantic inference over the objects' contents using GenAI is enabled.", "type": "boolean" @@ -9112,6 +9628,10 @@ "description": "A data product is a curated collection of data assets, packaged to address specific use cases. It's a way to manage and share data in a more organized, product-like manner.", "id": "GoogleCloudDataplexV1DataProduct", "properties": { + "accessApprovalConfig": { + "$ref": "GoogleCloudDataplexV1DataProductAccessApprovalConfig", + "description": "Optional. Configuration for access approval for the data product." + }, "accessGroups": { "additionalProperties": { "$ref": "GoogleCloudDataplexV1DataProductAccessGroup" @@ -9180,6 +9700,20 @@ }, "type": "object" }, + "GoogleCloudDataplexV1DataProductAccessApprovalConfig": { + "description": "Configuration for access approval for the data product.", + "id": "GoogleCloudDataplexV1DataProductAccessApprovalConfig", + "properties": { + "approverEmails": { + "description": "Optional. Specifies the email addresses of users who are potential approvers and are notified when an access request is made for the data product. The maximum number of emails allowed is 10.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDataplexV1DataProductAccessGroup": { "description": "Custom user defined access groups at the data product level. These are used for granting different levels of access (IAM roles) on the individual data product's data assets.", "id": "GoogleCloudDataplexV1DataProductAccessGroup", @@ -9203,6 +9737,30 @@ }, "type": "object" }, + "GoogleCloudDataplexV1DataProductAccessRequest": { + "description": "Message for requesting access to a Data Product. This will be used to create a ChangeRequest of type REQUEST_DATA_PRODUCT_ACCESS.", + "id": "GoogleCloudDataplexV1DataProductAccessRequest", + "properties": { + "accessGroupDisplayName": { + "description": "Output only. The display name of the access group defined in the Data Product for which access is being requested.", + "readOnly": true, + "type": "string" + }, + "accessGroupId": { + "description": "Required. The ID of the access group for which access is being requested. This corresponds to the unique identifier of the AccessGroup defined in the Data Product.", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the data product. Format: projects/{project_number}/locations/{location_id}/dataProducts/{data_product_id}", + "type": "string" + }, + "requestedPrincipal": { + "description": "Optional. The principal for which access is being requested in IAM format. If not specified, the requestor's principal will be used. Example: serviceAccount:my-sa@my-project.iam.gserviceaccount.com. Only service account principals are currently supported. https://cloud.google.com/iam/docs/principal-identifiers", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDataplexV1DataProductPrincipal": { "description": "Represents the principal entity associated with an access group, as per https://cloud.google.com/iam/docs/principals-overview.", "id": "GoogleCloudDataplexV1DataProductPrincipal", @@ -9210,6 +9768,10 @@ "googleGroup": { "description": "Optional. Email of the Google Group, as per https://cloud.google.com/iam/docs/principals-overview#google-group.", "type": "string" + }, + "serviceAccount": { + "description": "Optional. Specifies the email of the producer service account, as per https://cloud.google.com/iam/docs/principals-overview#service-account.", + "type": "string" } }, "type": "object" @@ -11193,6 +11755,65 @@ }, "type": "object" }, + "GoogleCloudDataplexV1DeleteEntryLinkRequest": { + "description": "Request message for DeleteEntryLink.", + "id": "GoogleCloudDataplexV1DeleteEntryLinkRequest", + "properties": { + "name": { + "description": "Required. The resource name of the Entry Link: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1DeleteEntryRequest": { + "description": "Delete Entry request.", + "id": "GoogleCloudDataplexV1DeleteEntryRequest", + "properties": { + "name": { + "description": "Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1DeleteGlossaryCategoryRequest": { + "description": "Delete GlossaryCategory Request", + "id": "GoogleCloudDataplexV1DeleteGlossaryCategoryRequest", + "properties": { + "name": { + "description": "Required. The name of the GlossaryCategory to delete. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1DeleteGlossaryRequest": { + "description": "Delete Glossary Request", + "id": "GoogleCloudDataplexV1DeleteGlossaryRequest", + "properties": { + "etag": { + "description": "Optional. The etag of the Glossary. If this is provided, it must match the server's etag. If the etag is provided and does not match the server-computed etag, the request must fail with a ABORTED error code.", + "type": "string" + }, + "name": { + "description": "Required. The name of the Glossary to delete. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1DeleteGlossaryTermRequest": { + "description": "Delete GlossaryTerm Request", + "id": "GoogleCloudDataplexV1DeleteGlossaryTermRequest", + "properties": { + "name": { + "description": "Required. The name of the GlossaryTerm to delete. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/terms/{term_id}", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDataplexV1DiscoveryEvent": { "description": "The payload associated with Discovery data processing.", "id": "GoogleCloudDataplexV1DiscoveryEvent", @@ -12714,6 +13335,31 @@ }, "type": "object" }, + "GoogleCloudDataplexV1ListChangeRequestsResponse": { + "description": "Response message for ListChangeRequests.", + "id": "GoogleCloudDataplexV1ListChangeRequestsResponse", + "properties": { + "changeRequests": { + "description": "The ChangeRequests from the specified project and location.", + "items": { + "$ref": "GoogleCloudDataplexV1ChangeRequest" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as page_token to retrieve the next page.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDataplexV1ListDataAssetsResponse": { "description": "Response message for listing data assets.", "id": "GoogleCloudDataplexV1ListDataAssetsResponse", @@ -13219,6 +13865,10 @@ "description": "Lookup Context using permissions in the source system.", "id": "GoogleCloudDataplexV1LookupContextRequest", "properties": { + "context": { + "description": "Optional. The text representing contextual information for which metadata context is being requested.", + "type": "string" + }, "options": { "additionalProperties": { "type": "string" @@ -13846,6 +14496,47 @@ }, "type": "object" }, + "GoogleCloudDataplexV1RejectChangeRequestRequest": { + "description": "Request message for RejectChangeRequest.", + "id": "GoogleCloudDataplexV1RejectChangeRequestRequest", + "properties": { + "comment": { + "description": "Optional. The reason for rejecting the ChangeRequest.", + "type": "string" + }, + "etag": { + "description": "Optional. The etag of the ChangeRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1RequestDataProductAccessRequest": { + "description": "Message for requesting access to a Data Product.", + "id": "GoogleCloudDataplexV1RequestDataProductAccessRequest", + "properties": { + "changeRequest": { + "$ref": "GoogleCloudDataplexV1ChangeRequest", + "description": "Required. The change request for the data product access request." + }, + "validateOnly": { + "description": "Optional. Validates the request without actually creating the access change request. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1RequestDataProductAccessResponse": { + "description": "Response message for requesting access to a Data Product.", + "id": "GoogleCloudDataplexV1RequestDataProductAccessResponse", + "properties": { + "changeRequestName": { + "description": "The resource name of the created ChangeRequest. Format: projects/{project_number}/locations/{location_id}/changeRequests/{change_request_id}", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDataplexV1ResourceAccessSpec": { "description": "ResourceAccessSpec holds the access control configuration to be enforced on the resources, for example, Cloud Storage bucket, BigQuery dataset, BigQuery table.", "id": "GoogleCloudDataplexV1ResourceAccessSpec", @@ -14804,6 +15495,89 @@ }, "type": "object" }, + "GoogleCloudDataplexV1UpdateEntryRequest": { + "description": "Update Entry request.", + "id": "GoogleCloudDataplexV1UpdateEntryRequest", + "properties": { + "allowMissing": { + "description": "Optional. If set to true and the entry doesn't exist, the service will create it.", + "type": "boolean" + }, + "aspectKeys": { + "description": "Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.", + "items": { + "type": "string" + }, + "type": "array" + }, + "deleteMissingAspects": { + "description": "Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request.", + "type": "boolean" + }, + "entry": { + "$ref": "GoogleCloudDataplexV1Entry", + "description": "Required. Entry resource." + }, + "updateMask": { + "description": "Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value \"aspects\".If the update_mask is empty, the service will update all modifiable fields present in the request.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1UpdateGlossaryCategoryRequest": { + "description": "Update GlossaryCategory Request", + "id": "GoogleCloudDataplexV1UpdateGlossaryCategoryRequest", + "properties": { + "category": { + "$ref": "GoogleCloudDataplexV1GlossaryCategory", + "description": "Required. The GlossaryCategory to update. The GlossaryCategory's name field is used to identify the GlossaryCategory to update. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1UpdateGlossaryRequest": { + "description": "Update Glossary Request", + "id": "GoogleCloudDataplexV1UpdateGlossaryRequest", + "properties": { + "glossary": { + "$ref": "GoogleCloudDataplexV1Glossary", + "description": "Required. The Glossary to update. The Glossary's name field is used to identify the Glossary to update. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Validates the request without actually updating the Glossary. Default: false.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1UpdateGlossaryTermRequest": { + "description": "Update GlossaryTerm Request", + "id": "GoogleCloudDataplexV1UpdateGlossaryTermRequest", + "properties": { + "term": { + "$ref": "GoogleCloudDataplexV1GlossaryTerm", + "description": "Required. The GlossaryTerm to update. The GlossaryTerm's name field is used to identify the GlossaryTerm to update. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/terms/{term_id}" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDataplexV1Zone": { "description": "A zone represents a logical group of related assets within a lake. A zone can be used to map to organizational structure or represent stages of data readiness from raw to curated. It provides managing behavior that is shared or inherited by all contained assets.", "id": "GoogleCloudDataplexV1Zone", diff --git a/src/apis/dataplex/v1.ts b/src/apis/dataplex/v1.ts index a5a14910b9..5f8edd2a40 100644 --- a/src/apis/dataplex/v1.ts +++ b/src/apis/dataplex/v1.ts @@ -275,6 +275,15 @@ export namespace dataplex_v1 { * Action details for unauthorized resource issues raised to indicate that the service account associated with the lake instance is not authorized to access or manage the resource associated with an asset. */ export interface Schema$GoogleCloudDataplexV1ActionUnauthorizedResource {} + /** + * Request message for ApproveChangeRequest. + */ + export interface Schema$GoogleCloudDataplexV1ApproveChangeRequestRequest { + /** + * Optional. The etag of the ChangeRequest. + */ + etag?: string | null; + } /** * Represents a single piece of metadata describing an entry or entry link. */ @@ -762,6 +771,212 @@ export namespace dataplex_v1 { * Cancel metadata job request. */ export interface Schema$GoogleCloudDataplexV1CancelMetadataJobRequest {} + /** + * Represents a proposed change to a metadata resource. + */ + export interface Schema$GoogleCloudDataplexV1ChangeRequest { + /** + * Output only. The email address of the user who approved/rejected the ChangeRequest. + */ + approver?: string | null; + /** + * Output only. The email address of the user who created the ChangeRequest. + */ + author?: string | null; + /** + * Output only. The type of change represented by the change_payload. This field is derived from the populated field in the change_payload oneof. + */ + changeType?: string | null; + /** + * Payload for creating an Entry. + */ + createEntry?: Schema$GoogleCloudDataplexV1CreateEntryRequest; + /** + * Payload for creating an EntryLink. + */ + createEntryLink?: Schema$GoogleCloudDataplexV1CreateEntryLinkRequest; + /** + * Payload for creating a Glossary. + */ + createGlossary?: Schema$GoogleCloudDataplexV1CreateGlossaryRequest; + /** + * Payload for creating a GlossaryCategory. + */ + createGlossaryCategory?: Schema$GoogleCloudDataplexV1CreateGlossaryCategoryRequest; + /** + * Payload for creating a GlossaryTerm. + */ + createGlossaryTerm?: Schema$GoogleCloudDataplexV1CreateGlossaryTermRequest; + /** + * Output only. The time when the ChangeRequest was created. + */ + createTime?: string | null; + /** + * Payload for Data Product access request. + */ + dataProductAccessRequest?: Schema$GoogleCloudDataplexV1DataProductAccessRequest; + /** + * Payload for deleting an Entry. + */ + deleteEntry?: Schema$GoogleCloudDataplexV1DeleteEntryRequest; + /** + * Payload for deleting an EntryLink. + */ + deleteEntryLink?: Schema$GoogleCloudDataplexV1DeleteEntryLinkRequest; + /** + * Payload for deleting a Glossary. + */ + deleteGlossary?: Schema$GoogleCloudDataplexV1DeleteGlossaryRequest; + /** + * Payload for deleting a GlossaryCategory. + */ + deleteGlossaryCategory?: Schema$GoogleCloudDataplexV1DeleteGlossaryCategoryRequest; + /** + * Payload for deleting a GlossaryTerm. + */ + deleteGlossaryTerm?: Schema$GoogleCloudDataplexV1DeleteGlossaryTermRequest; + /** + * Optional. This checksum is computed by the service. It can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + */ + etag?: string | null; + /** + * Optional. Justification of the ChangeRequest. This should explain why the change is needed or why it should be approved. + */ + justification?: string | null; + /** + * Optional. User-defined labels for the ChangeRequest. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. The relative resource name of the ChangeRequest, of the form: projects/{project_number\}/locations/{location_id\}/changeRequests/{change_request_id\} + */ + name?: string | null; + /** + * Output only. The reason provided for rejecting the ChangeRequest. + */ + rejectionComment?: string | null; + /** + * Output only. The full resource name of the target resource to be modified. Example: //dataplex.googleapis.com/projects/my-project/locations/us-central1/entryGroups/my-group/entries/my-entry + */ + resource?: string | null; + /** + * Output only. The current state of the ChangeRequest. + */ + state?: string | null; + /** + * Output only. System generated globally unique ID for the ChangeRequest. + */ + uid?: string | null; + /** + * Payload for updating an Entry. + */ + updateEntry?: Schema$GoogleCloudDataplexV1UpdateEntryRequest; + /** + * Payload for updating a Glossary. + */ + updateGlossary?: Schema$GoogleCloudDataplexV1UpdateGlossaryRequest; + /** + * Payload for updating a GlossaryCategory. + */ + updateGlossaryCategory?: Schema$GoogleCloudDataplexV1UpdateGlossaryCategoryRequest; + /** + * Payload for updating a GlossaryTerm. + */ + updateGlossaryTerm?: Schema$GoogleCloudDataplexV1UpdateGlossaryTermRequest; + /** + * Output only. The time when the ChangeRequest was last updated. + */ + updateTime?: string | null; + } + /** + * Request message for CreateEntryLink. + */ + export interface Schema$GoogleCloudDataplexV1CreateEntryLinkRequest { + /** + * Required. Entry Link resource. + */ + entryLink?: Schema$GoogleCloudDataplexV1EntryLink; + /** + * Required. Entry Link identifier * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the EntryGroup. + */ + entryLinkId?: string | null; + /** + * Required. The resource name of the parent Entry Group: projects/{project_id_or_number\}/locations/{location_id\}/entryGroups/{entry_group_id\}. + */ + parent?: string | null; + } + /** + * Create Entry request. + */ + export interface Schema$GoogleCloudDataplexV1CreateEntryRequest { + /** + * Required. Entry resource. + */ + entry?: Schema$GoogleCloudDataplexV1Entry; + /** + * Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters. + */ + entryId?: string | null; + /** + * Required. The resource name of the parent Entry Group: projects/{project\}/locations/{location\}/entryGroups/{entry_group\}. + */ + parent?: string | null; + } + /** + * Creates a new GlossaryCategory under the specified Glossary. + */ + export interface Schema$GoogleCloudDataplexV1CreateGlossaryCategoryRequest { + /** + * Required. The GlossaryCategory to create. + */ + category?: Schema$GoogleCloudDataplexV1GlossaryCategory; + /** + * Required. GlossaryCategory identifier. + */ + categoryId?: string | null; + /** + * Required. The parent resource where this GlossaryCategory will be created. Format: projects/{project_id_or_number\}/locations/{location_id\}/glossaries/{glossary_id\} where locationId refers to a Google Cloud region. + */ + parent?: string | null; + } + /** + * Create Glossary Request + */ + export interface Schema$GoogleCloudDataplexV1CreateGlossaryRequest { + /** + * Required. The Glossary to create. + */ + glossary?: Schema$GoogleCloudDataplexV1Glossary; + /** + * Required. Glossary ID: Glossary identifier. + */ + glossaryId?: string | null; + /** + * Required. The parent resource where this Glossary will be created. Format: projects/{project_id_or_number\}/locations/{location_id\} where location_id refers to a Google Cloud region. + */ + parent?: string | null; + /** + * Optional. Validates the request without actually creating the Glossary. Default: false. + */ + validateOnly?: boolean | null; + } + /** + * Creates a new GlossaryTerm under the specified Glossary. + */ + export interface Schema$GoogleCloudDataplexV1CreateGlossaryTermRequest { + /** + * Required. The parent resource where the GlossaryTerm will be created. Format: projects/{project_id_or_number\}/locations/{location_id\}/glossaries/{glossary_id\} where location_id refers to a Google Cloud region. + */ + parent?: string | null; + /** + * Required. The GlossaryTerm to create. + */ + term?: Schema$GoogleCloudDataplexV1GlossaryTerm; + /** + * Required. GlossaryTerm identifier. + */ + termId?: string | null; + } /** * DataAccessSpec holds the access control configuration to be enforced on data stored within resources (eg: rows, columns in BigQuery Tables). When associated with data, the data is only accessible to principals explicitly granted access through the DataAccessSpec. Principals with access to the containing resource are not implicitly granted access. */ @@ -1102,10 +1317,6 @@ export namespace dataplex_v1 { * Describes options for unstructured data discovery. */ export interface Schema$GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions { - /** - * Optional. Deprecated: Use semantic_inference_enabled instead. Specifies whether deeper entity inference over the objects' contents using GenAI is enabled. - */ - entityInferenceEnabled?: boolean | null; /** * Optional. Specifies whether deeper semantic inference over the objects' contents using GenAI is enabled. */ @@ -1252,6 +1463,10 @@ export namespace dataplex_v1 { * A data product is a curated collection of data assets, packaged to address specific use cases. It's a way to manage and share data in a more organized, product-like manner. */ export interface Schema$GoogleCloudDataplexV1DataProduct { + /** + * Optional. Configuration for access approval for the data product. + */ + accessApprovalConfig?: Schema$GoogleCloudDataplexV1DataProductAccessApprovalConfig; /** * Optional. Data product access groups by access group id as key. If data product is used only for packaging data assets, then access groups may be empty. However, if a data product is used for sharing data assets, then at least one access group must be specified.Example: { "analyst": { "id": "analyst", "displayName": "Analyst", "description": "Access group for analysts", "principal": { "googleGroup": "analysts@example.com" \} \} \} */ @@ -1303,6 +1518,15 @@ export namespace dataplex_v1 { */ updateTime?: string | null; } + /** + * Configuration for access approval for the data product. + */ + export interface Schema$GoogleCloudDataplexV1DataProductAccessApprovalConfig { + /** + * Optional. Specifies the email addresses of users who are potential approvers and are notified when an access request is made for the data product. The maximum number of emails allowed is 10. + */ + approverEmails?: string[] | null; + } /** * Custom user defined access groups at the data product level. These are used for granting different levels of access (IAM roles) on the individual data product's data assets. */ @@ -1324,6 +1548,27 @@ export namespace dataplex_v1 { */ principal?: Schema$GoogleCloudDataplexV1DataProductPrincipal; } + /** + * Message for requesting access to a Data Product. This will be used to create a ChangeRequest of type REQUEST_DATA_PRODUCT_ACCESS. + */ + export interface Schema$GoogleCloudDataplexV1DataProductAccessRequest { + /** + * Output only. The display name of the access group defined in the Data Product for which access is being requested. + */ + accessGroupDisplayName?: string | null; + /** + * Required. The ID of the access group for which access is being requested. This corresponds to the unique identifier of the AccessGroup defined in the Data Product. + */ + accessGroupId?: string | null; + /** + * Required. The resource name of the data product. Format: projects/{project_number\}/locations/{location_id\}/dataProducts/{data_product_id\} + */ + parent?: string | null; + /** + * Optional. The principal for which access is being requested in IAM format. If not specified, the requestor's principal will be used. Example: serviceAccount:my-sa@my-project.iam.gserviceaccount.com. Only service account principals are currently supported. https://cloud.google.com/iam/docs/principal-identifiers + */ + requestedPrincipal?: string | null; + } /** * Represents the principal entity associated with an access group, as per https://cloud.google.com/iam/docs/principals-overview. */ @@ -1332,6 +1577,10 @@ export namespace dataplex_v1 { * Optional. Email of the Google Group, as per https://cloud.google.com/iam/docs/principals-overview#google-group. */ googleGroup?: string | null; + /** + * Optional. Specifies the email of the producer service account, as per https://cloud.google.com/iam/docs/principals-overview#service-account. + */ + serviceAccount?: string | null; } /** * DataProfileResult defines the output of DataProfileScan. Each field of the table will have field type specific profile result. @@ -2700,6 +2949,55 @@ export namespace dataplex_v1 { */ updateTime?: string | null; } + /** + * Request message for DeleteEntryLink. + */ + export interface Schema$GoogleCloudDataplexV1DeleteEntryLinkRequest { + /** + * Required. The resource name of the Entry Link: projects/{project_id_or_number\}/locations/{location_id\}/entryGroups/{entry_group_id\}/entryLinks/{entry_link_id\}. + */ + name?: string | null; + } + /** + * Delete Entry request. + */ + export interface Schema$GoogleCloudDataplexV1DeleteEntryRequest { + /** + * Required. The resource name of the Entry: projects/{project\}/locations/{location\}/entryGroups/{entry_group\}/entries/{entry\}. + */ + name?: string | null; + } + /** + * Delete GlossaryCategory Request + */ + export interface Schema$GoogleCloudDataplexV1DeleteGlossaryCategoryRequest { + /** + * Required. The name of the GlossaryCategory to delete. Format: projects/{project_id_or_number\}/locations/{location_id\}/glossaries/{glossary_id\}/categories/{category_id\} + */ + name?: string | null; + } + /** + * Delete Glossary Request + */ + export interface Schema$GoogleCloudDataplexV1DeleteGlossaryRequest { + /** + * Optional. The etag of the Glossary. If this is provided, it must match the server's etag. If the etag is provided and does not match the server-computed etag, the request must fail with a ABORTED error code. + */ + etag?: string | null; + /** + * Required. The name of the Glossary to delete. Format: projects/{project_id_or_number\}/locations/{location_id\}/glossaries/{glossary_id\} + */ + name?: string | null; + } + /** + * Delete GlossaryTerm Request + */ + export interface Schema$GoogleCloudDataplexV1DeleteGlossaryTermRequest { + /** + * Required. The name of the GlossaryTerm to delete. Format: projects/{project_id_or_number\}/locations/{location_id\}/glossaries/{glossary_id\}/terms/{term_id\} + */ + name?: string | null; + } /** * The payload associated with Discovery data processing. */ @@ -3687,6 +3985,23 @@ export namespace dataplex_v1 { */ nextPageToken?: string | null; } + /** + * Response message for ListChangeRequests. + */ + export interface Schema$GoogleCloudDataplexV1ListChangeRequestsResponse { + /** + * The ChangeRequests from the specified project and location. + */ + changeRequests?: Schema$GoogleCloudDataplexV1ChangeRequest[]; + /** + * A token, which can be sent as page_token to retrieve the next page. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } /** * Response message for listing data assets. */ @@ -4037,6 +4352,10 @@ export namespace dataplex_v1 { * Lookup Context using permissions in the source system. */ export interface Schema$GoogleCloudDataplexV1LookupContextRequest { + /** + * Optional. The text representing contextual information for which metadata context is being requested. + */ + context?: string | null; /** * Optional. Allows to configure the context.Supported options: format - The format of the context (one of yaml, xml, json, default is yaml). context_budget - If provided, the output will be intelligently truncated on a best-effort basis to contain approximately the desired amount of characters. There is no guarantee to achieve the specific amount. */ @@ -4434,6 +4753,41 @@ export namespace dataplex_v1 { */ values?: string[] | null; } + /** + * Request message for RejectChangeRequest. + */ + export interface Schema$GoogleCloudDataplexV1RejectChangeRequestRequest { + /** + * Optional. The reason for rejecting the ChangeRequest. + */ + comment?: string | null; + /** + * Optional. The etag of the ChangeRequest. + */ + etag?: string | null; + } + /** + * Message for requesting access to a Data Product. + */ + export interface Schema$GoogleCloudDataplexV1RequestDataProductAccessRequest { + /** + * Required. The change request for the data product access request. + */ + changeRequest?: Schema$GoogleCloudDataplexV1ChangeRequest; + /** + * Optional. Validates the request without actually creating the access change request. Defaults to false. + */ + validateOnly?: boolean | null; + } + /** + * Response message for requesting access to a Data Product. + */ + export interface Schema$GoogleCloudDataplexV1RequestDataProductAccessResponse { + /** + * The resource name of the created ChangeRequest. Format: projects/{project_number\}/locations/{location_id\}/changeRequests/{change_request_id\} + */ + changeRequestName?: string | null; + } /** * ResourceAccessSpec holds the access control configuration to be enforced on the resources, for example, Cloud Storage bucket, BigQuery dataset, BigQuery table. */ @@ -5035,30 +5389,98 @@ export namespace dataplex_v1 { cron?: string | null; } /** - * A zone represents a logical group of related assets within a lake. A zone can be used to map to organizational structure or represent stages of data readiness from raw to curated. It provides managing behavior that is shared or inherited by all contained assets. + * Update Entry request. */ - export interface Schema$GoogleCloudDataplexV1Zone { + export interface Schema$GoogleCloudDataplexV1UpdateEntryRequest { /** - * Output only. Aggregated status of the underlying assets of the zone. + * Optional. If set to true and the entry doesn't exist, the service will create it. */ - assetStatus?: Schema$GoogleCloudDataplexV1AssetStatus; + allowMissing?: boolean | null; /** - * Output only. The time when the zone was created. + * Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. @* - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. */ - createTime?: string | null; + aspectKeys?: string[] | null; /** - * Optional. Description of the zone. + * Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request. */ - description?: string | null; + deleteMissingAspects?: boolean | null; /** - * Optional. Specification of the discovery feature applied to data in this zone. + * Required. Entry resource. */ - discoverySpec?: Schema$GoogleCloudDataplexV1ZoneDiscoverySpec; + entry?: Schema$GoogleCloudDataplexV1Entry; /** - * Optional. User friendly display name. + * Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request. */ - displayName?: string | null; - /** + updateMask?: string | null; + } + /** + * Update GlossaryCategory Request + */ + export interface Schema$GoogleCloudDataplexV1UpdateGlossaryCategoryRequest { + /** + * Required. The GlossaryCategory to update. The GlossaryCategory's name field is used to identify the GlossaryCategory to update. Format: projects/{project_id_or_number\}/locations/{location_id\}/glossaries/{glossary_id\}/categories/{category_id\} + */ + category?: Schema$GoogleCloudDataplexV1GlossaryCategory; + /** + * Required. The list of fields to update. + */ + updateMask?: string | null; + } + /** + * Update Glossary Request + */ + export interface Schema$GoogleCloudDataplexV1UpdateGlossaryRequest { + /** + * Required. The Glossary to update. The Glossary's name field is used to identify the Glossary to update. Format: projects/{project_id_or_number\}/locations/{location_id\}/glossaries/{glossary_id\} + */ + glossary?: Schema$GoogleCloudDataplexV1Glossary; + /** + * Required. The list of fields to update. + */ + updateMask?: string | null; + /** + * Optional. Validates the request without actually updating the Glossary. Default: false. + */ + validateOnly?: boolean | null; + } + /** + * Update GlossaryTerm Request + */ + export interface Schema$GoogleCloudDataplexV1UpdateGlossaryTermRequest { + /** + * Required. The GlossaryTerm to update. The GlossaryTerm's name field is used to identify the GlossaryTerm to update. Format: projects/{project_id_or_number\}/locations/{location_id\}/glossaries/{glossary_id\}/terms/{term_id\} + */ + term?: Schema$GoogleCloudDataplexV1GlossaryTerm; + /** + * Required. The list of fields to update. + */ + updateMask?: string | null; + } + /** + * A zone represents a logical group of related assets within a lake. A zone can be used to map to organizational structure or represent stages of data readiness from raw to curated. It provides managing behavior that is shared or inherited by all contained assets. + */ + export interface Schema$GoogleCloudDataplexV1Zone { + /** + * Output only. Aggregated status of the underlying assets of the zone. + */ + assetStatus?: Schema$GoogleCloudDataplexV1AssetStatus; + /** + * Output only. The time when the zone was created. + */ + createTime?: string | null; + /** + * Optional. Description of the zone. + */ + description?: string | null; + /** + * Optional. Specification of the discovery feature applied to data in this zone. + */ + discoverySpec?: Schema$GoogleCloudDataplexV1ZoneDiscoverySpec; + /** + * Optional. User friendly display name. + */ + displayName?: string | null; + /** * Optional. User defined labels for the zone. */ labels?: {[key: string]: string} | null; @@ -7828,6 +8250,7 @@ export namespace dataplex_v1 { * requestBody: { * // request body parameters * // { + * // "context": "my_context", * // "options": {}, * // "resources": [] * // } @@ -10119,7 +10542,7 @@ export namespace dataplex_v1 { } /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * Approves a ChangeRequest. * @example * ```js * // Before running the sample: @@ -10151,21 +10574,50 @@ export namespace dataplex_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dataplex.projects.locations.changeRequests.getIamPolicy({ - * // Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/changeRequests/my-changeRequest', + * const res = await dataplex.projects.locations.changeRequests.approve({ + * // Required. The name of the ChangeRequest to approve. + * name: 'projects/my-project/locations/my-location/changeRequests/my-changeRequest', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "etag": "my_etag" + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], + * // "approver": "my_approver", + * // "author": "my_author", + * // "changeType": "my_changeType", + * // "createEntry": {}, + * // "createEntryLink": {}, + * // "createGlossary": {}, + * // "createGlossaryCategory": {}, + * // "createGlossaryTerm": {}, + * // "createTime": "my_createTime", + * // "dataProductAccessRequest": {}, + * // "deleteEntry": {}, + * // "deleteEntryLink": {}, + * // "deleteGlossary": {}, + * // "deleteGlossaryCategory": {}, + * // "deleteGlossaryTerm": {}, * // "etag": "my_etag", - * // "version": 0 + * // "justification": "my_justification", + * // "labels": {}, + * // "name": "my_name", + * // "rejectionComment": "my_rejectionComment", + * // "resource": "my_resource", + * // "state": "my_state", + * // "uid": "my_uid", + * // "updateEntry": {}, + * // "updateGlossary": {}, + * // "updateGlossaryCategory": {}, + * // "updateGlossaryTerm": {}, + * // "updateTime": "my_updateTime" * // } * } * @@ -10181,56 +10633,62 @@ export namespace dataplex_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Changerequests$Getiampolicy, + approve( + params: Params$Resource$Projects$Locations$Changerequests$Approve, options: StreamMethodOptions ): Promise>; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Changerequests$Getiampolicy, + approve( + params?: Params$Resource$Projects$Locations$Changerequests$Approve, options?: MethodOptions - ): Promise>; - getIamPolicy( - params: Params$Resource$Projects$Locations$Changerequests$Getiampolicy, + ): Promise< + GaxiosResponseWithHTTP2 + >; + approve( + params: Params$Resource$Projects$Locations$Changerequests$Approve, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Changerequests$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + approve( + params: Params$Resource$Projects$Locations$Changerequests$Approve, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Changerequests$Getiampolicy, - callback: BodyResponseCallback + approve( + params: Params$Resource$Projects$Locations$Changerequests$Approve, + callback: BodyResponseCallback ): void; - getIamPolicy( - callback: BodyResponseCallback + approve( + callback: BodyResponseCallback ): void; - getIamPolicy( + approve( paramsOrCallback?: - | Params$Resource$Projects$Locations$Changerequests$Getiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Changerequests$Approve + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Changerequests$Getiampolicy; + {}) as Params$Resource$Projects$Locations$Changerequests$Approve; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Changerequests$Getiampolicy; + {} as Params$Resource$Projects$Locations$Changerequests$Approve; options = {}; } @@ -10243,32 +10701,34 @@ export namespace dataplex_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( + url: (rootUrl + '/v1/{+name}:approve').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. + * Deletes a ChangeRequest.Behavior depends on the caller's permissions and the resource's state: 1. Callers with dataplex.changeRequests.delete can only delete ChangeRequests in the NEW state. 2. Callers with the dataplex.changeRequests.adminDelete permission can delete ChangeRequests regardless of their state. * @example * ```js * // Before running the sample: @@ -10300,29 +10760,16 @@ export namespace dataplex_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dataplex.projects.locations.changeRequests.setIamPolicy({ - * // REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/changeRequests/my-changeRequest', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" - * // } - * }, + * const res = await dataplex.projects.locations.changeRequests.delete({ + * // Optional. The etag of the ChangeRequest. + * etag: 'placeholder-value', + * // Required. The name of the ChangeRequest to delete. Format: projects/{project_number\}/locations/{location_id\}/changeRequests/{change_request_id\} + * name: 'projects/my-project/locations/my-location/changeRequests/my-changeRequest', * }); * console.log(res.data); * * // Example response - * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 - * // } + * // {} * } * * main().catch(e => { @@ -10337,56 +10784,53 @@ export namespace dataplex_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Changerequests$Setiampolicy, + delete( + params: Params$Resource$Projects$Locations$Changerequests$Delete, options: StreamMethodOptions ): Promise>; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Changerequests$Setiampolicy, + delete( + params?: Params$Resource$Projects$Locations$Changerequests$Delete, options?: MethodOptions - ): Promise>; - setIamPolicy( - params: Params$Resource$Projects$Locations$Changerequests$Setiampolicy, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Changerequests$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Changerequests$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Changerequests$Setiampolicy, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Changerequests$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Changerequests$Delete, + callback: BodyResponseCallback ): void; - setIamPolicy( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Changerequests$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Changerequests$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Changerequests$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Changerequests$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Changerequests$Setiampolicy; + params = {} as Params$Resource$Projects$Locations$Changerequests$Delete; options = {}; } @@ -10399,32 +10843,29 @@ export namespace dataplex_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + 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. + * Gets a ChangeRequest. * @example * ```js * // Before running the sample: @@ -10456,25 +10897,42 @@ export namespace dataplex_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await dataplex.projects.locations.changeRequests.testIamPermissions({ - * // REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/changeRequests/my-changeRequest', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "permissions": [] - * // } - * }, - * }); + * const res = await dataplex.projects.locations.changeRequests.get({ + * // Required. The name of the ChangeRequest to retrieve. Format: projects/{project_number\}/locations/{location_id\}/changeRequests/{change_request_id\} + * name: 'projects/my-project/locations/my-location/changeRequests/my-changeRequest', + * }); * console.log(res.data); * * // Example response * // { - * // "permissions": [] + * // "approver": "my_approver", + * // "author": "my_author", + * // "changeType": "my_changeType", + * // "createEntry": {}, + * // "createEntryLink": {}, + * // "createGlossary": {}, + * // "createGlossaryCategory": {}, + * // "createGlossaryTerm": {}, + * // "createTime": "my_createTime", + * // "dataProductAccessRequest": {}, + * // "deleteEntry": {}, + * // "deleteEntryLink": {}, + * // "deleteGlossary": {}, + * // "deleteGlossaryCategory": {}, + * // "deleteGlossaryTerm": {}, + * // "etag": "my_etag", + * // "justification": "my_justification", + * // "labels": {}, + * // "name": "my_name", + * // "rejectionComment": "my_rejectionComment", + * // "resource": "my_resource", + * // "state": "my_state", + * // "uid": "my_uid", + * // "updateEntry": {}, + * // "updateGlossary": {}, + * // "updateGlossaryCategory": {}, + * // "updateGlossaryTerm": {}, + * // "updateTime": "my_updateTime" * // } * } * @@ -10490,61 +10948,1077 @@ export namespace dataplex_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Changerequests$Testiampermissions, + get( + params: Params$Resource$Projects$Locations$Changerequests$Get, options: StreamMethodOptions ): Promise>; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Changerequests$Testiampermissions, + get( + params?: Params$Resource$Projects$Locations$Changerequests$Get, options?: MethodOptions ): Promise< - GaxiosResponseWithHTTP2 + GaxiosResponseWithHTTP2 >; - testIamPermissions( - params: Params$Resource$Projects$Locations$Changerequests$Testiampermissions, + get( + params: Params$Resource$Projects$Locations$Changerequests$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Changerequests$Testiampermissions, + get( + params: Params$Resource$Projects$Locations$Changerequests$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Changerequests$Testiampermissions, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Changerequests$Get, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + get( + callback: BodyResponseCallback ): void; - testIamPermissions( + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Changerequests$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Changerequests$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void | Promise< - GaxiosResponseWithHTTP2 + GaxiosResponseWithHTTP2 > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Changerequests$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Changerequests$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = + params = {} as Params$Resource$Projects$Locations$Changerequests$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dataplex.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 + ); + } + } + + /** + * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dataplex.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dataplex = google.dataplex('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/dataplex.read-write', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dataplex.projects.locations.changeRequests.getIamPolicy({ + * // Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). + * 'options.requestedPolicyVersion': 'placeholder-value', + * // REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/changeRequests/my-changeRequest', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + getIamPolicy( + params: Params$Resource$Projects$Locations$Changerequests$Getiampolicy, + options: StreamMethodOptions + ): Promise>; + getIamPolicy( + params?: Params$Resource$Projects$Locations$Changerequests$Getiampolicy, + options?: MethodOptions + ): Promise>; + getIamPolicy( + params: Params$Resource$Projects$Locations$Changerequests$Getiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Locations$Changerequests$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Locations$Changerequests$Getiampolicy, + callback: BodyResponseCallback + ): void; + getIamPolicy( + callback: BodyResponseCallback + ): void; + getIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Changerequests$Getiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Changerequests$Getiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Changerequests$Getiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dataplex.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists ChangeRequests. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dataplex.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dataplex = google.dataplex('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/dataplex.read-write', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dataplex.projects.locations.changeRequests.list({ + * // Optional. Filter request. Supports filtering by: state, author, resource, create_time, update_time. + * filter: 'placeholder-value', + * // Optional. Order by fields for the result. + * orderBy: 'placeholder-value', + * // Optional. Maximum number of ChangeRequests to return. The service may return fewer. + * pageSize: 'placeholder-value', + * // Optional. Page token received from a previous ListChangeRequests call. + * pageToken: 'placeholder-value', + * // Required. The parent, which owns this collection of ChangeRequests. Format: projects/{project_number\}/locations/{location_id\} + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "changeRequests": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Changerequests$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Changerequests$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Changerequests$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Changerequests$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Changerequests$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Changerequests$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Changerequests$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Changerequests$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dataplex.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/changeRequests').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 + ); + } + } + + /** + * Updates a ChangeRequest. Only allowed when the state is NEW. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dataplex.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dataplex = google.dataplex('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/dataplex.read-write', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dataplex.projects.locations.changeRequests.patch({ + * // Identifier. The relative resource name of the ChangeRequest, of the form: projects/{project_number\}/locations/{location_id\}/changeRequests/{change_request_id\} + * name: 'projects/my-project/locations/my-location/changeRequests/my-changeRequest', + * // Optional. The list of fields to update. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "approver": "my_approver", + * // "author": "my_author", + * // "changeType": "my_changeType", + * // "createEntry": {}, + * // "createEntryLink": {}, + * // "createGlossary": {}, + * // "createGlossaryCategory": {}, + * // "createGlossaryTerm": {}, + * // "createTime": "my_createTime", + * // "dataProductAccessRequest": {}, + * // "deleteEntry": {}, + * // "deleteEntryLink": {}, + * // "deleteGlossary": {}, + * // "deleteGlossaryCategory": {}, + * // "deleteGlossaryTerm": {}, + * // "etag": "my_etag", + * // "justification": "my_justification", + * // "labels": {}, + * // "name": "my_name", + * // "rejectionComment": "my_rejectionComment", + * // "resource": "my_resource", + * // "state": "my_state", + * // "uid": "my_uid", + * // "updateEntry": {}, + * // "updateGlossary": {}, + * // "updateGlossaryCategory": {}, + * // "updateGlossaryTerm": {}, + * // "updateTime": "my_updateTime" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "approver": "my_approver", + * // "author": "my_author", + * // "changeType": "my_changeType", + * // "createEntry": {}, + * // "createEntryLink": {}, + * // "createGlossary": {}, + * // "createGlossaryCategory": {}, + * // "createGlossaryTerm": {}, + * // "createTime": "my_createTime", + * // "dataProductAccessRequest": {}, + * // "deleteEntry": {}, + * // "deleteEntryLink": {}, + * // "deleteGlossary": {}, + * // "deleteGlossaryCategory": {}, + * // "deleteGlossaryTerm": {}, + * // "etag": "my_etag", + * // "justification": "my_justification", + * // "labels": {}, + * // "name": "my_name", + * // "rejectionComment": "my_rejectionComment", + * // "resource": "my_resource", + * // "state": "my_state", + * // "uid": "my_uid", + * // "updateEntry": {}, + * // "updateGlossary": {}, + * // "updateGlossaryCategory": {}, + * // "updateGlossaryTerm": {}, + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Changerequests$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Changerequests$Patch, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + patch( + params: Params$Resource$Projects$Locations$Changerequests$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Changerequests$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Changerequests$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Changerequests$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Changerequests$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Changerequests$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dataplex.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Rejects a ChangeRequest. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dataplex.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dataplex = google.dataplex('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/dataplex.read-write', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dataplex.projects.locations.changeRequests.reject({ + * // Required. The name of the ChangeRequest to reject. + * name: 'projects/my-project/locations/my-location/changeRequests/my-changeRequest', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "comment": "my_comment", + * // "etag": "my_etag" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "approver": "my_approver", + * // "author": "my_author", + * // "changeType": "my_changeType", + * // "createEntry": {}, + * // "createEntryLink": {}, + * // "createGlossary": {}, + * // "createGlossaryCategory": {}, + * // "createGlossaryTerm": {}, + * // "createTime": "my_createTime", + * // "dataProductAccessRequest": {}, + * // "deleteEntry": {}, + * // "deleteEntryLink": {}, + * // "deleteGlossary": {}, + * // "deleteGlossaryCategory": {}, + * // "deleteGlossaryTerm": {}, + * // "etag": "my_etag", + * // "justification": "my_justification", + * // "labels": {}, + * // "name": "my_name", + * // "rejectionComment": "my_rejectionComment", + * // "resource": "my_resource", + * // "state": "my_state", + * // "uid": "my_uid", + * // "updateEntry": {}, + * // "updateGlossary": {}, + * // "updateGlossaryCategory": {}, + * // "updateGlossaryTerm": {}, + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + reject( + params: Params$Resource$Projects$Locations$Changerequests$Reject, + options: StreamMethodOptions + ): Promise>; + reject( + params?: Params$Resource$Projects$Locations$Changerequests$Reject, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + reject( + params: Params$Resource$Projects$Locations$Changerequests$Reject, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + reject( + params: Params$Resource$Projects$Locations$Changerequests$Reject, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + reject( + params: Params$Resource$Projects$Locations$Changerequests$Reject, + callback: BodyResponseCallback + ): void; + reject( + callback: BodyResponseCallback + ): void; + reject( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Changerequests$Reject + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Changerequests$Reject; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Changerequests$Reject; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dataplex.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:reject').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dataplex.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dataplex = google.dataplex('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/dataplex.read-write', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dataplex.projects.locations.changeRequests.setIamPolicy({ + * // REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/changeRequests/my-changeRequest', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "policy": {}, + * // "updateMask": "my_updateMask" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + setIamPolicy( + params: Params$Resource$Projects$Locations$Changerequests$Setiampolicy, + options: StreamMethodOptions + ): Promise>; + setIamPolicy( + params?: Params$Resource$Projects$Locations$Changerequests$Setiampolicy, + options?: MethodOptions + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Locations$Changerequests$Setiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Changerequests$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Changerequests$Setiampolicy, + callback: BodyResponseCallback + ): void; + setIamPolicy( + callback: BodyResponseCallback + ): void; + setIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Changerequests$Setiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Changerequests$Setiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Changerequests$Setiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dataplex.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + 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. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dataplex.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dataplex = google.dataplex('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/dataplex.read-write', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await dataplex.projects.locations.changeRequests.testIamPermissions({ + * // REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/changeRequests/my-changeRequest', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + testIamPermissions( + params: Params$Resource$Projects$Locations$Changerequests$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Projects$Locations$Changerequests$Testiampermissions, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + testIamPermissions( + params: Params$Resource$Projects$Locations$Changerequests$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Locations$Changerequests$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Locations$Changerequests$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Changerequests$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Changerequests$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Changerequests$Testiampermissions; options = {}; } @@ -10585,6 +12059,33 @@ export namespace dataplex_v1 { } } + export interface Params$Resource$Projects$Locations$Changerequests$Approve extends StandardParameters { + /** + * Required. The name of the ChangeRequest to approve. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDataplexV1ApproveChangeRequestRequest; + } + export interface Params$Resource$Projects$Locations$Changerequests$Delete extends StandardParameters { + /** + * Optional. The etag of the ChangeRequest. + */ + etag?: string; + /** + * Required. The name of the ChangeRequest to delete. Format: projects/{project_number\}/locations/{location_id\}/changeRequests/{change_request_id\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Changerequests$Get extends StandardParameters { + /** + * Required. The name of the ChangeRequest to retrieve. Format: projects/{project_number\}/locations/{location_id\}/changeRequests/{change_request_id\} + */ + name?: string; + } export interface Params$Resource$Projects$Locations$Changerequests$Getiampolicy extends StandardParameters { /** * Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). @@ -10595,6 +12096,54 @@ export namespace dataplex_v1 { */ resource?: string; } + export interface Params$Resource$Projects$Locations$Changerequests$List extends StandardParameters { + /** + * Optional. Filter request. Supports filtering by: state, author, resource, create_time, update_time. + */ + filter?: string; + /** + * Optional. Order by fields for the result. + */ + orderBy?: string; + /** + * Optional. Maximum number of ChangeRequests to return. The service may return fewer. + */ + pageSize?: number; + /** + * Optional. Page token received from a previous ListChangeRequests call. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of ChangeRequests. Format: projects/{project_number\}/locations/{location_id\} + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Changerequests$Patch extends StandardParameters { + /** + * Identifier. The relative resource name of the ChangeRequest, of the form: projects/{project_number\}/locations/{location_id\}/changeRequests/{change_request_id\} + */ + name?: string; + /** + * Optional. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDataplexV1ChangeRequest; + } + export interface Params$Resource$Projects$Locations$Changerequests$Reject extends StandardParameters { + /** + * Required. The name of the ChangeRequest to reject. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDataplexV1RejectChangeRequestRequest; + } export interface Params$Resource$Projects$Locations$Changerequests$Setiampolicy extends StandardParameters { /** * REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. @@ -12568,6 +14117,7 @@ export namespace dataplex_v1 { * requestBody: { * // request body parameters * // { + * // "accessApprovalConfig": {}, * // "accessGroups": {}, * // "assetCount": 0, * // "createTime": "my_createTime", @@ -12886,6 +14436,7 @@ export namespace dataplex_v1 { * * // Example response * // { + * // "accessApprovalConfig": {}, * // "accessGroups": {}, * // "assetCount": 0, * // "createTime": "my_createTime", @@ -13359,6 +14910,7 @@ export namespace dataplex_v1 { * requestBody: { * // request body parameters * // { + * // "accessApprovalConfig": {}, * // "accessGroups": {}, * // "assetCount": 0, * // "createTime": "my_createTime", @@ -13482,6 +15034,167 @@ export namespace dataplex_v1 { } } + /** + * Requests access to a data product. This will trigger an access approval workflow, and the requester will need to wait for the approval to be granted before they will be able to access the data product assets. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dataplex.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dataplex = google.dataplex('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/dataplex.read-write', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dataplex.projects.locations.dataProducts.requestAccess({ + * // Required. The resource name of the data product. Format: projects/{project_number\}/locations/{location_id\}/dataProducts/{data_product_id\} + * parent: + * 'projects/my-project/locations/my-location/dataProducts/my-dataProduct', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "changeRequest": {}, + * // "validateOnly": false + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "changeRequestName": "my_changeRequestName" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + requestAccess( + params: Params$Resource$Projects$Locations$Dataproducts$Requestaccess, + options: StreamMethodOptions + ): Promise>; + requestAccess( + params?: Params$Resource$Projects$Locations$Dataproducts$Requestaccess, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + requestAccess( + params: Params$Resource$Projects$Locations$Dataproducts$Requestaccess, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + requestAccess( + params: Params$Resource$Projects$Locations$Dataproducts$Requestaccess, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + requestAccess( + params: Params$Resource$Projects$Locations$Dataproducts$Requestaccess, + callback: BodyResponseCallback + ): void; + requestAccess( + callback: BodyResponseCallback + ): void; + requestAccess( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Dataproducts$Requestaccess + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Dataproducts$Requestaccess; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Dataproducts$Requestaccess; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dataplex.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}:requestAccess').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + /** * Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. * @example @@ -13891,6 +15604,17 @@ export namespace dataplex_v1 { */ requestBody?: Schema$GoogleCloudDataplexV1DataProduct; } + export interface Params$Resource$Projects$Locations$Dataproducts$Requestaccess extends StandardParameters { + /** + * Required. The resource name of the data product. Format: projects/{project_number\}/locations/{location_id\}/dataProducts/{data_product_id\} + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDataplexV1RequestDataProductAccessRequest; + } export interface Params$Resource$Projects$Locations$Dataproducts$Setiampolicy extends StandardParameters { /** * REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. @@ -14844,7 +16568,7 @@ export namespace dataplex_v1 { * * // Do the magic * const res = await dataplex.projects.locations.dataScans.create({ - * // Required. DataScan identifier. Must contain only lowercase letters, numbers and hyphens. Must start with a letter. Must end with a number or a letter. Must be between 1-63 characters. Must be unique within the customer project / location. + * // Optional. DataScan identifier. If not provided, a unique ID will be generated with the prefix "data-scan-". Must contain only lowercase letters, numbers and hyphens. Must start with a letter. Must end with a number or a letter. Must be between 1-63 characters. Must be unique within the customer project / location. * dataScanId: 'placeholder-value', * // Required. The resource name of the parent location: projects/{project\}/locations/{location_id\} where project refers to a project_id or project_number and location_id refers to a Google Cloud region. * parent: 'projects/my-project/locations/my-location', @@ -16419,7 +18143,7 @@ export namespace dataplex_v1 { export interface Params$Resource$Projects$Locations$Datascans$Create extends StandardParameters { /** - * Required. DataScan identifier. Must contain only lowercase letters, numbers and hyphens. Must start with a letter. Must end with a number or a letter. Must be between 1-63 characters. Must be unique within the customer project / location. + * Optional. DataScan identifier. If not provided, a unique ID will be generated with the prefix "data-scan-". Must contain only lowercase letters, numbers and hyphens. Must start with a letter. Must end with a number or a letter. Must be between 1-63 characters. Must be unique within the customer project / location. */ dataScanId?: string; /** From a2ff3378a04148491103387d0ffcbccd3638b0bc Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:37 +0000 Subject: [PATCH 27/69] feat(datastream): update the API #### datastream:v1 The following keys were added: - schemas.SpannerChangeStreamPosition.description - schemas.SpannerChangeStreamPosition.id - schemas.SpannerChangeStreamPosition.properties.startTime.description - schemas.SpannerChangeStreamPosition.properties.startTime.format - schemas.SpannerChangeStreamPosition.properties.startTime.type - schemas.SpannerChangeStreamPosition.type - schemas.SpecificStartPosition.properties.spannerChangeStreamPosition.$ref - schemas.SpecificStartPosition.properties.spannerChangeStreamPosition.description --- discovery/datastream-v1.json | 18 +++++++++++++++++- src/apis/datastream/v1.ts | 13 +++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/discovery/datastream-v1.json b/discovery/datastream-v1.json index 28b7ddfebe..d24c412b9f 100644 --- a/discovery/datastream-v1.json +++ b/discovery/datastream-v1.json @@ -1503,7 +1503,7 @@ } } }, - "revision": "20260426", + "revision": "20260503", "rootUrl": "https://datastream.googleapis.com/", "schemas": { "AppendOnly": { @@ -4259,6 +4259,18 @@ }, "type": "object" }, + "SpannerChangeStreamPosition": { + "description": "Represents a position in a Spanner change stream from which to start replicating.", + "id": "SpannerChangeStreamPosition", + "properties": { + "startTime": { + "description": "Required. The timestamp to start change stream queries from. The timestamp must be a positive value.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "SpannerColumn": { "description": "Spanner column.", "id": "SpannerColumn", @@ -4436,6 +4448,10 @@ "$ref": "OracleScnPosition", "description": "Oracle SCN to start replicating from." }, + "spannerChangeStreamPosition": { + "$ref": "SpannerChangeStreamPosition", + "description": "Optional. Spanner change stream position to start replicating from." + }, "sqlServerLsnPosition": { "$ref": "SqlServerLsnPosition", "description": "SqlServer LSN to start replicating from." diff --git a/src/apis/datastream/v1.ts b/src/apis/datastream/v1.ts index dc64296872..09717012d8 100644 --- a/src/apis/datastream/v1.ts +++ b/src/apis/datastream/v1.ts @@ -2288,6 +2288,15 @@ export namespace datastream_v1 { */ sqlServerIdentifier?: Schema$SqlServerObjectIdentifier; } + /** + * Represents a position in a Spanner change stream from which to start replicating. + */ + export interface Schema$SpannerChangeStreamPosition { + /** + * Required. The timestamp to start change stream queries from. The timestamp must be a positive value. + */ + startTime?: string | null; + } /** * Spanner column. */ @@ -2427,6 +2436,10 @@ export namespace datastream_v1 { * Oracle SCN to start replicating from. */ oracleScnPosition?: Schema$OracleScnPosition; + /** + * Optional. Spanner change stream position to start replicating from. + */ + spannerChangeStreamPosition?: Schema$SpannerChangeStreamPosition; /** * SqlServer LSN to start replicating from. */ From 78d9f60af9bc076e91d60eac10e56f43463f26d0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:37 +0000 Subject: [PATCH 28/69] fix(developerknowledge): update the API #### developerknowledge:v1alpha The following keys were changed: - resources.documents.methods.batchGet.parameters.names.description - schemas.Answer.properties.answerText.description #### developerknowledge:v1 The following keys were changed: - resources.documents.methods.batchGet.parameters.names.description --- discovery/developerknowledge-v1.json | 4 ++-- discovery/developerknowledge-v1alpha.json | 6 +++--- src/apis/developerknowledge/v1.ts | 4 ++-- src/apis/developerknowledge/v1alpha.ts | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/discovery/developerknowledge-v1.json b/discovery/developerknowledge-v1.json index 468be50565..18f1785199 100644 --- a/discovery/developerknowledge-v1.json +++ b/discovery/developerknowledge-v1.json @@ -115,7 +115,7 @@ "parameterOrder": [], "parameters": { "names": { - "description": "Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`", + "description": "Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` If you are changing the batch size, consider the value of `maxConcurrentGCSFetches` constant in the service implementation: http://cs///depot/google3/devrel/boq/developerknowledge/service/developerknowledge.go", "location": "query", "repeated": true, "type": "string" @@ -228,7 +228,7 @@ } } }, - "revision": "20260413", + "revision": "20260510", "rootUrl": "https://developerknowledge.googleapis.com/", "schemas": { "BatchGetDocumentsResponse": { diff --git a/discovery/developerknowledge-v1alpha.json b/discovery/developerknowledge-v1alpha.json index 24012eef37..a8c41e1df0 100644 --- a/discovery/developerknowledge-v1alpha.json +++ b/discovery/developerknowledge-v1alpha.json @@ -115,7 +115,7 @@ "parameterOrder": [], "parameters": { "names": { - "description": "Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`", + "description": "Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` If you are changing the batch size, consider the value of `maxConcurrentGCSFetches` constant in the service implementation: http://cs///depot/google3/devrel/boq/developerknowledge/service/developerknowledge.go", "location": "query", "repeated": true, "type": "string" @@ -250,7 +250,7 @@ } } }, - "revision": "20260413", + "revision": "20260510", "rootUrl": "https://developerknowledge.googleapis.com/", "schemas": { "Answer": { @@ -258,7 +258,7 @@ "id": "Answer", "properties": { "answerText": { - "description": "The text of the answer.", + "description": "Contains the text of the answer.", "type": "string" } }, diff --git a/src/apis/developerknowledge/v1.ts b/src/apis/developerknowledge/v1.ts index 51fe8173f7..bd4b3ed94c 100644 --- a/src/apis/developerknowledge/v1.ts +++ b/src/apis/developerknowledge/v1.ts @@ -242,7 +242,7 @@ export namespace developerknowledge_v1 { * * // Do the magic * const res = await developerknowledge.documents.batchGet({ - * // Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme\}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` + * // Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme\}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` If you are changing the batch size, consider the value of `maxConcurrentGCSFetches` constant in the service implementation: http://cs///depot/google3/devrel/boq/developerknowledge/service/developerknowledge.go * names: 'placeholder-value', * // Optional. Specifies the DocumentView of the document. If unspecified, DeveloperKnowledge.BatchGetDocuments defaults to `DOCUMENT_VIEW_CONTENT`. * view: 'placeholder-value', @@ -652,7 +652,7 @@ export namespace developerknowledge_v1 { export interface Params$Resource$Documents$Batchget extends StandardParameters { /** - * Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme\}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` + * Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme\}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` If you are changing the batch size, consider the value of `maxConcurrentGCSFetches` constant in the service implementation: http://cs///depot/google3/devrel/boq/developerknowledge/service/developerknowledge.go */ names?: string[]; /** diff --git a/src/apis/developerknowledge/v1alpha.ts b/src/apis/developerknowledge/v1alpha.ts index b9bc9c0be7..9402943efc 100644 --- a/src/apis/developerknowledge/v1alpha.ts +++ b/src/apis/developerknowledge/v1alpha.ts @@ -131,7 +131,7 @@ export namespace developerknowledge_v1alpha { */ export interface Schema$Answer { /** - * The text of the answer. + * Contains the text of the answer. */ answerText?: string | null; } @@ -271,7 +271,7 @@ export namespace developerknowledge_v1alpha { * * // Do the magic * const res = await developerknowledge.documents.batchGet({ - * // Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme\}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` + * // Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme\}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` If you are changing the batch size, consider the value of `maxConcurrentGCSFetches` constant in the service implementation: http://cs///depot/google3/devrel/boq/developerknowledge/service/developerknowledge.go * names: 'placeholder-value', * // Optional. Specifies the DocumentView of the document. If unspecified, DeveloperKnowledge.BatchGetDocuments defaults to `DOCUMENT_VIEW_CONTENT`. * view: 'placeholder-value', @@ -681,7 +681,7 @@ export namespace developerknowledge_v1alpha { export interface Params$Resource$Documents$Batchget extends StandardParameters { /** - * Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme\}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` + * Required. Specifies the names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme\}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets` If you are changing the batch size, consider the value of `maxConcurrentGCSFetches` constant in the service implementation: http://cs///depot/google3/devrel/boq/developerknowledge/service/developerknowledge.go */ names?: string[]; /** From 231fbf15a59039a186211974896a2875ef93f2ba Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:37 +0000 Subject: [PATCH 29/69] feat(dialogflow): update the API #### dialogflow:v2beta1 The following keys were added: - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.description - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.cesDebugInfo.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.queryGenerationDebugInfo.$ref - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.id - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.format - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.format - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.format - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.type - schemas.GoogleCloudDialogflowV2beta1ConversationProfile.properties.sipConfig.$ref - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.description - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.cesDebugInfo.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.queryGenerationDebugInfo.$ref - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.id - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.format - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.format - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.format - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.type - schemas.GoogleCloudDialogflowV2beta1SipConfig.id - schemas.GoogleCloudDialogflowV2beta1SipConfig.properties.allowVirtualAgentInteraction.type - schemas.GoogleCloudDialogflowV2beta1SipConfig.properties.copyInboundCallLegHeaders.items.type - schemas.GoogleCloudDialogflowV2beta1SipConfig.properties.copyInboundCallLegHeaders.type - schemas.GoogleCloudDialogflowV2beta1SipConfig.properties.createConversationOnTheFly.type - schemas.GoogleCloudDialogflowV2beta1SipConfig.properties.ignoreReinviteMediaDirection.type - schemas.GoogleCloudDialogflowV2beta1SipConfig.properties.inactiveStart.type - schemas.GoogleCloudDialogflowV2beta1SipConfig.properties.keepConversationRunning.type - schemas.GoogleCloudDialogflowV2beta1SipConfig.properties.maxAudioRecordingDuration.format - schemas.GoogleCloudDialogflowV2beta1SipConfig.properties.maxAudioRecordingDuration.type - schemas.GoogleCloudDialogflowV2beta1SipConfig.type #### dialogflow:v3beta1 The following keys were added: - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.description - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.cesDebugInfo.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.queryGenerationDebugInfo.$ref - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.id - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.format - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.format - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.format - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.description - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.cesDebugInfo.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.queryGenerationDebugInfo.$ref - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.id - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.format - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.format - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.format - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.type #### dialogflow:v2 The following keys were added: - schemas.GoogleCloudDialogflowV2ConversationProfile.properties.sipConfig.$ref - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.description - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.cesDebugInfo.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.queryGenerationDebugInfo.$ref - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.id - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.format - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.format - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.format - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.type - schemas.GoogleCloudDialogflowV2SipConfig.id - schemas.GoogleCloudDialogflowV2SipConfig.properties.allowVirtualAgentInteraction.type - schemas.GoogleCloudDialogflowV2SipConfig.properties.copyInboundCallLegHeaders.items.type - schemas.GoogleCloudDialogflowV2SipConfig.properties.copyInboundCallLegHeaders.type - schemas.GoogleCloudDialogflowV2SipConfig.properties.createConversationOnTheFly.type - schemas.GoogleCloudDialogflowV2SipConfig.properties.ignoreReinviteMediaDirection.type - schemas.GoogleCloudDialogflowV2SipConfig.properties.inactiveStart.type - schemas.GoogleCloudDialogflowV2SipConfig.properties.keepConversationRunning.type - schemas.GoogleCloudDialogflowV2SipConfig.properties.maxAudioRecordingDuration.format - schemas.GoogleCloudDialogflowV2SipConfig.properties.maxAudioRecordingDuration.type - schemas.GoogleCloudDialogflowV2SipConfig.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.description - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.cesDebugInfo.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.queryGenerationDebugInfo.$ref - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.id - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.format - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.format - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.format - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.type #### dialogflow:v3 The following keys were added: - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.description - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.cesDebugInfo.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfo.properties.queryGenerationDebugInfo.$ref - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.id - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.format - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.format - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.format - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.type - schemas.GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.description - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.cesDebugInfo.additionalProperties.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.cesDebugInfo.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo.properties.queryGenerationDebugInfo.$ref - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.id - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.format - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.candidatesTokenCount.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.format - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.promptTokenCount.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.format - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.properties.totalTokenCount.type - schemas.GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo.type --- discovery/dialogflow-v2.json | 92 ++++++++++++++++++++++++++++++- discovery/dialogflow-v2beta1.json | 92 ++++++++++++++++++++++++++++++- discovery/dialogflow-v3.json | 58 ++++++++++++++++++- discovery/dialogflow-v3beta1.json | 58 ++++++++++++++++++- src/apis/dialogflow/v2.ts | 34 ++++++++++++ src/apis/dialogflow/v2beta1.ts | 34 ++++++++++++ src/apis/dialogflow/v3.ts | 14 +++++ src/apis/dialogflow/v3beta1.ts | 14 +++++ 8 files changed, 392 insertions(+), 4 deletions(-) diff --git a/discovery/dialogflow-v2.json b/discovery/dialogflow-v2.json index 7159bbc59e..1a6193ee82 100644 --- a/discovery/dialogflow-v2.json +++ b/discovery/dialogflow-v2.json @@ -8780,7 +8780,7 @@ } } }, - "revision": "20260509", + "revision": "20260518", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -14315,6 +14315,9 @@ "securitySettings": { "type": "string" }, + "sipConfig": { + "$ref": "GoogleCloudDialogflowV2SipConfig" + }, "sttConfig": { "$ref": "GoogleCloudDialogflowV2SpeechToTextConfig" }, @@ -17157,6 +17160,13 @@ "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo": { "id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo", "properties": { + "cesDebugInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, "datastoreResponseReason": { "enum": [ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", @@ -17205,6 +17215,9 @@ ], "type": "string" }, + "queryGenerationDebugInfo": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo" + }, "queryGenerationFailureReason": { "enum": [ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", @@ -17298,6 +17311,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo": { + "id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo", + "properties": { + "candidatesTokenCount": { + "format": "int32", + "type": "integer" + }, + "promptTokenCount": { + "format": "int32", + "type": "integer" + }, + "totalTokenCount": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2KnowledgeBase": { "id": "GoogleCloudDialogflowV2KnowledgeBase", "properties": { @@ -18606,6 +18637,37 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2SipConfig": { + "id": "GoogleCloudDialogflowV2SipConfig", + "properties": { + "allowVirtualAgentInteraction": { + "type": "boolean" + }, + "copyInboundCallLegHeaders": { + "items": { + "type": "string" + }, + "type": "array" + }, + "createConversationOnTheFly": { + "type": "boolean" + }, + "ignoreReinviteMediaDirection": { + "type": "boolean" + }, + "inactiveStart": { + "type": "boolean" + }, + "keepConversationRunning": { + "type": "boolean" + }, + "maxAudioRecordingDuration": { + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2SipTrunk": { "id": "GoogleCloudDialogflowV2SipTrunk", "properties": { @@ -22167,6 +22229,13 @@ "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo": { "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo", "properties": { + "cesDebugInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, "datastoreResponseReason": { "enum": [ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", @@ -22215,6 +22284,9 @@ ], "type": "string" }, + "queryGenerationDebugInfo": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo" + }, "queryGenerationFailureReason": { "enum": [ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", @@ -22308,6 +22380,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo": { + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo", + "properties": { + "candidatesTokenCount": { + "format": "int32", + "type": "integer" + }, + "promptTokenCount": { + "format": "int32", + "type": "integer" + }, + "totalTokenCount": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata": { "id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata", "properties": { diff --git a/discovery/dialogflow-v2beta1.json b/discovery/dialogflow-v2beta1.json index 4cc8b75565..a0bdac27db 100644 --- a/discovery/dialogflow-v2beta1.json +++ b/discovery/dialogflow-v2beta1.json @@ -8431,7 +8431,7 @@ } } }, - "revision": "20260509", + "revision": "20260518", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -14285,6 +14285,13 @@ "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo": { "id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo", "properties": { + "cesDebugInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, "datastoreResponseReason": { "enum": [ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", @@ -14333,6 +14340,9 @@ ], "type": "string" }, + "queryGenerationDebugInfo": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo" + }, "queryGenerationFailureReason": { "enum": [ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", @@ -14426,6 +14436,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo": { + "id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo", + "properties": { + "candidatesTokenCount": { + "format": "int32", + "type": "integer" + }, + "promptTokenCount": { + "format": "int32", + "type": "integer" + }, + "totalTokenCount": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2KnowledgeOperationMetadata": { "id": "GoogleCloudDialogflowV2KnowledgeOperationMetadata", "properties": { @@ -16581,6 +16609,9 @@ "securitySettings": { "type": "string" }, + "sipConfig": { + "$ref": "GoogleCloudDialogflowV2beta1SipConfig" + }, "sttConfig": { "$ref": "GoogleCloudDialogflowV2beta1SpeechToTextConfig" }, @@ -19520,6 +19551,13 @@ "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo": { "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo", "properties": { + "cesDebugInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, "datastoreResponseReason": { "enum": [ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", @@ -19568,6 +19606,9 @@ ], "type": "string" }, + "queryGenerationDebugInfo": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo" + }, "queryGenerationFailureReason": { "enum": [ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", @@ -19661,6 +19702,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo": { + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo", + "properties": { + "candidatesTokenCount": { + "format": "int32", + "type": "integer" + }, + "promptTokenCount": { + "format": "int32", + "type": "integer" + }, + "totalTokenCount": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1KnowledgeBase": { "id": "GoogleCloudDialogflowV2beta1KnowledgeBase", "properties": { @@ -21129,6 +21188,37 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1SipConfig": { + "id": "GoogleCloudDialogflowV2beta1SipConfig", + "properties": { + "allowVirtualAgentInteraction": { + "type": "boolean" + }, + "copyInboundCallLegHeaders": { + "items": { + "type": "string" + }, + "type": "array" + }, + "createConversationOnTheFly": { + "type": "boolean" + }, + "ignoreReinviteMediaDirection": { + "type": "boolean" + }, + "inactiveStart": { + "type": "boolean" + }, + "keepConversationRunning": { + "type": "boolean" + }, + "maxAudioRecordingDuration": { + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1SipTrunk": { "id": "GoogleCloudDialogflowV2beta1SipTrunk", "properties": { diff --git a/discovery/dialogflow-v3.json b/discovery/dialogflow-v3.json index 8da94c0c47..a16738a330 100644 --- a/discovery/dialogflow-v3.json +++ b/discovery/dialogflow-v3.json @@ -5031,7 +5031,7 @@ } } }, - "revision": "20260426", + "revision": "20260518", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3Action": { @@ -15094,6 +15094,13 @@ "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo": { "id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo", "properties": { + "cesDebugInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, "datastoreResponseReason": { "enum": [ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", @@ -15142,6 +15149,9 @@ ], "type": "string" }, + "queryGenerationDebugInfo": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo" + }, "queryGenerationFailureReason": { "enum": [ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", @@ -15235,6 +15245,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo": { + "id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo", + "properties": { + "candidatesTokenCount": { + "format": "int32", + "type": "integer" + }, + "promptTokenCount": { + "format": "int32", + "type": "integer" + }, + "totalTokenCount": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2KnowledgeOperationMetadata": { "id": "GoogleCloudDialogflowV2KnowledgeOperationMetadata", "properties": { @@ -17834,6 +17862,13 @@ "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo": { "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo", "properties": { + "cesDebugInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, "datastoreResponseReason": { "enum": [ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", @@ -17882,6 +17917,9 @@ ], "type": "string" }, + "queryGenerationDebugInfo": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo" + }, "queryGenerationFailureReason": { "enum": [ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", @@ -17975,6 +18013,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo": { + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo", + "properties": { + "candidatesTokenCount": { + "format": "int32", + "type": "integer" + }, + "promptTokenCount": { + "format": "int32", + "type": "integer" + }, + "totalTokenCount": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata": { "id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata", "properties": { diff --git a/discovery/dialogflow-v3beta1.json b/discovery/dialogflow-v3beta1.json index 3c1fe0865f..4d18079345 100644 --- a/discovery/dialogflow-v3beta1.json +++ b/discovery/dialogflow-v3beta1.json @@ -5151,7 +5151,7 @@ } } }, - "revision": "20260426", + "revision": "20260518", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -16139,6 +16139,13 @@ "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo": { "id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo", "properties": { + "cesDebugInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, "datastoreResponseReason": { "enum": [ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", @@ -16187,6 +16194,9 @@ ], "type": "string" }, + "queryGenerationDebugInfo": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo" + }, "queryGenerationFailureReason": { "enum": [ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", @@ -16280,6 +16290,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo": { + "id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo", + "properties": { + "candidatesTokenCount": { + "format": "int32", + "type": "integer" + }, + "promptTokenCount": { + "format": "int32", + "type": "integer" + }, + "totalTokenCount": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2KnowledgeOperationMetadata": { "id": "GoogleCloudDialogflowV2KnowledgeOperationMetadata", "properties": { @@ -18879,6 +18907,13 @@ "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo": { "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo", "properties": { + "cesDebugInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, "datastoreResponseReason": { "enum": [ "DATASTORE_RESPONSE_REASON_UNSPECIFIED", @@ -18927,6 +18962,9 @@ ], "type": "string" }, + "queryGenerationDebugInfo": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo" + }, "queryGenerationFailureReason": { "enum": [ "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", @@ -19020,6 +19058,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo": { + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo", + "properties": { + "candidatesTokenCount": { + "format": "int32", + "type": "integer" + }, + "promptTokenCount": { + "format": "int32", + "type": "integer" + }, + "totalTokenCount": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata": { "id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata", "properties": { diff --git a/src/apis/dialogflow/v2.ts b/src/apis/dialogflow/v2.ts index 07c2facb34..9aa5294d4f 100644 --- a/src/apis/dialogflow/v2.ts +++ b/src/apis/dialogflow/v2.ts @@ -1862,10 +1862,12 @@ export namespace dialogflow_v2 { queryText?: string | null; } export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo { + cesDebugInfo?: {[key: string]: any} | null; datastoreResponseReason?: string | null; ingestedContextReferenceDebugInfo?: Schema$GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo; knowledgeAssistBehavior?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior; queryCategorizationFailureReason?: string | null; + queryGenerationDebugInfo?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo; queryGenerationFailureReason?: string | null; serviceLatency?: Schema$GoogleCloudDialogflowV2beta1ServiceLatency; } @@ -1888,6 +1890,11 @@ export namespace dialogflow_v2 { usePubsubDelivery?: boolean | null; useTranslatedMessage?: boolean | null; } + export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo { + candidatesTokenCount?: number | null; + promptTokenCount?: number | null; + totalTokenCount?: number | null; + } export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata { doneTime?: string | null; exportOperationMetadata?: Schema$GoogleCloudDialogflowV2beta1ExportOperationMetadata; @@ -2230,6 +2237,7 @@ export namespace dialogflow_v2 { newRecognitionResultNotificationConfig?: Schema$GoogleCloudDialogflowV2NotificationConfig; notificationConfig?: Schema$GoogleCloudDialogflowV2NotificationConfig; securitySettings?: string | null; + sipConfig?: Schema$GoogleCloudDialogflowV2SipConfig; sttConfig?: Schema$GoogleCloudDialogflowV2SpeechToTextConfig; timeZone?: string | null; ttsConfig?: Schema$GoogleCloudDialogflowV2SynthesizeSpeechConfig; @@ -2956,10 +2964,12 @@ export namespace dialogflow_v2 { queryText?: string | null; } export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfo { + cesDebugInfo?: {[key: string]: any} | null; datastoreResponseReason?: string | null; ingestedContextReferenceDebugInfo?: Schema$GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo; knowledgeAssistBehavior?: Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior; queryCategorizationFailureReason?: string | null; + queryGenerationDebugInfo?: Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo; queryGenerationFailureReason?: string | null; serviceLatency?: Schema$GoogleCloudDialogflowV2ServiceLatency; } @@ -2982,6 +2992,11 @@ export namespace dialogflow_v2 { usePubsubDelivery?: boolean | null; useTranslatedMessage?: boolean | null; } + export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo { + candidatesTokenCount?: number | null; + promptTokenCount?: number | null; + totalTokenCount?: number | null; + } export interface Schema$GoogleCloudDialogflowV2KnowledgeBase { displayName?: string | null; languageCode?: string | null; @@ -3281,6 +3296,15 @@ export namespace dialogflow_v2 { participantRole?: string | null; suggestionFeatureConfig?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig; } + export interface Schema$GoogleCloudDialogflowV2SipConfig { + allowVirtualAgentInteraction?: boolean | null; + copyInboundCallLegHeaders?: string[] | null; + createConversationOnTheFly?: boolean | null; + ignoreReinviteMediaDirection?: boolean | null; + inactiveStart?: boolean | null; + keepConversationRunning?: boolean | null; + maxAudioRecordingDuration?: string | null; + } export interface Schema$GoogleCloudDialogflowV2SipTrunk { connections?: Schema$GoogleCloudDialogflowV2Connection[]; displayName?: string | null; @@ -18764,6 +18788,7 @@ export namespace dialogflow_v2 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -18787,6 +18812,7 @@ export namespace dialogflow_v2 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -19083,6 +19109,7 @@ export namespace dialogflow_v2 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -19398,6 +19425,7 @@ export namespace dialogflow_v2 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -19421,6 +19449,7 @@ export namespace dialogflow_v2 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -39603,6 +39632,7 @@ export namespace dialogflow_v2 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -39626,6 +39656,7 @@ export namespace dialogflow_v2 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -39924,6 +39955,7 @@ export namespace dialogflow_v2 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -40241,6 +40273,7 @@ export namespace dialogflow_v2 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -40264,6 +40297,7 @@ export namespace dialogflow_v2 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, diff --git a/src/apis/dialogflow/v2beta1.ts b/src/apis/dialogflow/v2beta1.ts index 23139c5aa1..181de60765 100644 --- a/src/apis/dialogflow/v2beta1.ts +++ b/src/apis/dialogflow/v2beta1.ts @@ -1585,6 +1585,7 @@ export namespace dialogflow_v2beta1 { newRecognitionResultNotificationConfig?: Schema$GoogleCloudDialogflowV2beta1NotificationConfig; notificationConfig?: Schema$GoogleCloudDialogflowV2beta1NotificationConfig; securitySettings?: string | null; + sipConfig?: Schema$GoogleCloudDialogflowV2beta1SipConfig; sttConfig?: Schema$GoogleCloudDialogflowV2beta1SpeechToTextConfig; timeZone?: string | null; ttsConfig?: Schema$GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig; @@ -2340,10 +2341,12 @@ export namespace dialogflow_v2beta1 { queryText?: string | null; } export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo { + cesDebugInfo?: {[key: string]: any} | null; datastoreResponseReason?: string | null; ingestedContextReferenceDebugInfo?: Schema$GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo; knowledgeAssistBehavior?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior; queryCategorizationFailureReason?: string | null; + queryGenerationDebugInfo?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo; queryGenerationFailureReason?: string | null; serviceLatency?: Schema$GoogleCloudDialogflowV2beta1ServiceLatency; } @@ -2366,6 +2369,11 @@ export namespace dialogflow_v2beta1 { usePubsubDelivery?: boolean | null; useTranslatedMessage?: boolean | null; } + export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo { + candidatesTokenCount?: number | null; + promptTokenCount?: number | null; + totalTokenCount?: number | null; + } export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeBase { displayName?: string | null; languageCode?: string | null; @@ -2703,6 +2711,15 @@ export namespace dialogflow_v2beta1 { participantRole?: string | null; suggestionFeatureConfig?: Schema$GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig; } + export interface Schema$GoogleCloudDialogflowV2beta1SipConfig { + allowVirtualAgentInteraction?: boolean | null; + copyInboundCallLegHeaders?: string[] | null; + createConversationOnTheFly?: boolean | null; + ignoreReinviteMediaDirection?: boolean | null; + inactiveStart?: boolean | null; + keepConversationRunning?: boolean | null; + maxAudioRecordingDuration?: string | null; + } export interface Schema$GoogleCloudDialogflowV2beta1SipTrunk { connections?: Schema$GoogleCloudDialogflowV2beta1Connection[]; displayName?: string | null; @@ -3498,10 +3515,12 @@ export namespace dialogflow_v2beta1 { queryText?: string | null; } export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfo { + cesDebugInfo?: {[key: string]: any} | null; datastoreResponseReason?: string | null; ingestedContextReferenceDebugInfo?: Schema$GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo; knowledgeAssistBehavior?: Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior; queryCategorizationFailureReason?: string | null; + queryGenerationDebugInfo?: Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo; queryGenerationFailureReason?: string | null; serviceLatency?: Schema$GoogleCloudDialogflowV2ServiceLatency; } @@ -3524,6 +3543,11 @@ export namespace dialogflow_v2beta1 { usePubsubDelivery?: boolean | null; useTranslatedMessage?: boolean | null; } + export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo { + candidatesTokenCount?: number | null; + promptTokenCount?: number | null; + totalTokenCount?: number | null; + } export interface Schema$GoogleCloudDialogflowV2KnowledgeOperationMetadata { doneTime?: string | null; exportOperationMetadata?: Schema$GoogleCloudDialogflowV2ExportOperationMetadata; @@ -17190,6 +17214,7 @@ export namespace dialogflow_v2beta1 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -17214,6 +17239,7 @@ export namespace dialogflow_v2beta1 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -17511,6 +17537,7 @@ export namespace dialogflow_v2beta1 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -17827,6 +17854,7 @@ export namespace dialogflow_v2beta1 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -17851,6 +17879,7 @@ export namespace dialogflow_v2beta1 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -36286,6 +36315,7 @@ export namespace dialogflow_v2beta1 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -36310,6 +36340,7 @@ export namespace dialogflow_v2beta1 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -36609,6 +36640,7 @@ export namespace dialogflow_v2beta1 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -36927,6 +36959,7 @@ export namespace dialogflow_v2beta1 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, @@ -36951,6 +36984,7 @@ export namespace dialogflow_v2beta1 { * // "newRecognitionResultNotificationConfig": {}, * // "notificationConfig": {}, * // "securitySettings": "my_securitySettings", + * // "sipConfig": {}, * // "sttConfig": {}, * // "timeZone": "my_timeZone", * // "ttsConfig": {}, diff --git a/src/apis/dialogflow/v3.ts b/src/apis/dialogflow/v3.ts index f29cc3ee1b..c3da5c36a2 100644 --- a/src/apis/dialogflow/v3.ts +++ b/src/apis/dialogflow/v3.ts @@ -2741,10 +2741,12 @@ export namespace dialogflow_v3 { queryText?: string | null; } export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo { + cesDebugInfo?: {[key: string]: any} | null; datastoreResponseReason?: string | null; ingestedContextReferenceDebugInfo?: Schema$GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo; knowledgeAssistBehavior?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior; queryCategorizationFailureReason?: string | null; + queryGenerationDebugInfo?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo; queryGenerationFailureReason?: string | null; serviceLatency?: Schema$GoogleCloudDialogflowV2beta1ServiceLatency; } @@ -2767,6 +2769,11 @@ export namespace dialogflow_v3 { usePubsubDelivery?: boolean | null; useTranslatedMessage?: boolean | null; } + export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo { + candidatesTokenCount?: number | null; + promptTokenCount?: number | null; + totalTokenCount?: number | null; + } export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata { doneTime?: string | null; exportOperationMetadata?: Schema$GoogleCloudDialogflowV2beta1ExportOperationMetadata; @@ -3352,10 +3359,12 @@ export namespace dialogflow_v3 { queryText?: string | null; } export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfo { + cesDebugInfo?: {[key: string]: any} | null; datastoreResponseReason?: string | null; ingestedContextReferenceDebugInfo?: Schema$GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo; knowledgeAssistBehavior?: Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior; queryCategorizationFailureReason?: string | null; + queryGenerationDebugInfo?: Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo; queryGenerationFailureReason?: string | null; serviceLatency?: Schema$GoogleCloudDialogflowV2ServiceLatency; } @@ -3378,6 +3387,11 @@ export namespace dialogflow_v3 { usePubsubDelivery?: boolean | null; useTranslatedMessage?: boolean | null; } + export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo { + candidatesTokenCount?: number | null; + promptTokenCount?: number | null; + totalTokenCount?: number | null; + } export interface Schema$GoogleCloudDialogflowV2KnowledgeOperationMetadata { doneTime?: string | null; exportOperationMetadata?: Schema$GoogleCloudDialogflowV2ExportOperationMetadata; diff --git a/src/apis/dialogflow/v3beta1.ts b/src/apis/dialogflow/v3beta1.ts index 3897cd3d1a..71bca9f9a1 100644 --- a/src/apis/dialogflow/v3beta1.ts +++ b/src/apis/dialogflow/v3beta1.ts @@ -2971,10 +2971,12 @@ export namespace dialogflow_v3beta1 { queryText?: string | null; } export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo { + cesDebugInfo?: {[key: string]: any} | null; datastoreResponseReason?: string | null; ingestedContextReferenceDebugInfo?: Schema$GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo; knowledgeAssistBehavior?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior; queryCategorizationFailureReason?: string | null; + queryGenerationDebugInfo?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo; queryGenerationFailureReason?: string | null; serviceLatency?: Schema$GoogleCloudDialogflowV2beta1ServiceLatency; } @@ -2997,6 +2999,11 @@ export namespace dialogflow_v3beta1 { usePubsubDelivery?: boolean | null; useTranslatedMessage?: boolean | null; } + export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo { + candidatesTokenCount?: number | null; + promptTokenCount?: number | null; + totalTokenCount?: number | null; + } export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata { doneTime?: string | null; exportOperationMetadata?: Schema$GoogleCloudDialogflowV2beta1ExportOperationMetadata; @@ -3582,10 +3589,12 @@ export namespace dialogflow_v3beta1 { queryText?: string | null; } export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfo { + cesDebugInfo?: {[key: string]: any} | null; datastoreResponseReason?: string | null; ingestedContextReferenceDebugInfo?: Schema$GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo; knowledgeAssistBehavior?: Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior; queryCategorizationFailureReason?: string | null; + queryGenerationDebugInfo?: Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo; queryGenerationFailureReason?: string | null; serviceLatency?: Schema$GoogleCloudDialogflowV2ServiceLatency; } @@ -3608,6 +3617,11 @@ export namespace dialogflow_v3beta1 { usePubsubDelivery?: boolean | null; useTranslatedMessage?: boolean | null; } + export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo { + candidatesTokenCount?: number | null; + promptTokenCount?: number | null; + totalTokenCount?: number | null; + } export interface Schema$GoogleCloudDialogflowV2KnowledgeOperationMetadata { doneTime?: string | null; exportOperationMetadata?: Schema$GoogleCloudDialogflowV2ExportOperationMetadata; From 6034507a7f8f8571e638194b14b3e7b9d87ed191 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:38 +0000 Subject: [PATCH 30/69] feat(discoveryengine): update the API #### discoveryengine:v1alpha The following keys were added: - resources.projects.resources.locations.resources.licenseConfigs.methods.list.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.flatPath - resources.projects.resources.locations.resources.licenseConfigs.methods.list.httpMethod - resources.projects.resources.locations.resources.licenseConfigs.methods.list.id - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameterOrder - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.licenseConfigs.methods.list.path - resources.projects.resources.locations.resources.licenseConfigs.methods.list.response.$ref - resources.projects.resources.locations.resources.licenseConfigs.methods.list.scopes - schemas.GoogleCloudDiscoveryengineV1DataConnector.properties.connectorSourceId.description - schemas.GoogleCloudDiscoveryengineV1DataConnector.properties.connectorSourceId.type - schemas.GoogleCloudDiscoveryengineV1WorkspaceConfig.properties.dasherCustomerId.readOnly - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.connectorSourceId.description - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.connectorSourceId.type - schemas.GoogleCloudDiscoveryengineV1alphaExternalIdentity.properties.subject.description - schemas.GoogleCloudDiscoveryengineV1alphaExternalIdentity.properties.subject.readOnly - schemas.GoogleCloudDiscoveryengineV1alphaExternalIdentity.properties.subject.type - schemas.GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse.description - schemas.GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse.id - schemas.GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse.properties.licenseConfigs.description - schemas.GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse.properties.licenseConfigs.items.$ref - schemas.GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse.properties.licenseConfigs.type - schemas.GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse.properties.nextPageToken.description - schemas.GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse.properties.nextPageToken.type - schemas.GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse.type - schemas.GoogleCloudDiscoveryengineV1alphaQuery.properties.createTime.description - schemas.GoogleCloudDiscoveryengineV1alphaQuery.properties.createTime.format - schemas.GoogleCloudDiscoveryengineV1alphaQuery.properties.createTime.readOnly - schemas.GoogleCloudDiscoveryengineV1alphaQuery.properties.createTime.type - schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.pendingAsyncAssistOperationId.description - schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.pendingAsyncAssistOperationId.readOnly - schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.pendingAsyncAssistOperationId.type - schemas.GoogleCloudDiscoveryengineV1alphaStreamAssistResponse.properties.invokedSkills.description - schemas.GoogleCloudDiscoveryengineV1alphaStreamAssistResponse.properties.invokedSkills.items.$ref - schemas.GoogleCloudDiscoveryengineV1alphaStreamAssistResponse.properties.invokedSkills.type - schemas.GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill.description - schemas.GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill.id - schemas.GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill.properties.displayName.description - schemas.GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill.properties.displayName.type - schemas.GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill.properties.name.description - schemas.GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill.properties.name.type - schemas.GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill.type - schemas.GoogleCloudDiscoveryengineV1alphaWorkspaceConfig.properties.dasherCustomerId.readOnly - schemas.GoogleCloudDiscoveryengineV1betaWorkspaceConfig.properties.dasherCustomerId.readOnly The following keys were changed: - resources.projects.resources.locations.resources.collections.resources.engines.methods.setIamPolicy.description - schemas.GoogleCloudDiscoveryengineV1Engine.properties.features.description - schemas.GoogleCloudDiscoveryengineV1WorkspaceConfig.properties.dasherCustomerId.description - schemas.GoogleCloudDiscoveryengineV1alphaAssistAnswer.properties.state.enum - schemas.GoogleCloudDiscoveryengineV1alphaAssistAnswer.properties.state.enumDescriptions - schemas.GoogleCloudDiscoveryengineV1alphaEngine.properties.features.description - schemas.GoogleCloudDiscoveryengineV1alphaExternalIdentityUserMetadata.properties.primaryEmail.description - schemas.GoogleCloudDiscoveryengineV1alphaFieldConfig.properties.searchableFieldImportance.description - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequest.properties.rankingExpression.description - schemas.GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.properties.features.description - schemas.GoogleCloudDiscoveryengineV1alphaWorkspaceConfig.properties.dasherCustomerId.description - schemas.GoogleCloudDiscoveryengineV1betaEngine.properties.features.description - schemas.GoogleCloudDiscoveryengineV1betaSearchRequest.properties.rankingExpression.description - schemas.GoogleCloudDiscoveryengineV1betaWorkspaceConfig.properties.dasherCustomerId.description #### discoveryengine:v1beta The following keys were added: - resources.projects.resources.locations.resources.licenseConfigs.methods.list.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.flatPath - resources.projects.resources.locations.resources.licenseConfigs.methods.list.httpMethod - resources.projects.resources.locations.resources.licenseConfigs.methods.list.id - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameterOrder - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.licenseConfigs.methods.list.path - resources.projects.resources.locations.resources.licenseConfigs.methods.list.response.$ref - resources.projects.resources.locations.resources.licenseConfigs.methods.list.scopes - schemas.GoogleCloudDiscoveryengineV1DataConnector.properties.connectorSourceId.description - schemas.GoogleCloudDiscoveryengineV1DataConnector.properties.connectorSourceId.type - schemas.GoogleCloudDiscoveryengineV1WorkspaceConfig.properties.dasherCustomerId.readOnly - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.connectorSourceId.description - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.connectorSourceId.type - schemas.GoogleCloudDiscoveryengineV1alphaQuery.properties.createTime.description - schemas.GoogleCloudDiscoveryengineV1alphaQuery.properties.createTime.format - schemas.GoogleCloudDiscoveryengineV1alphaQuery.properties.createTime.readOnly - schemas.GoogleCloudDiscoveryengineV1alphaQuery.properties.createTime.type - schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.pendingAsyncAssistOperationId.description - schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.pendingAsyncAssistOperationId.readOnly - schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.pendingAsyncAssistOperationId.type - schemas.GoogleCloudDiscoveryengineV1alphaWorkspaceConfig.properties.dasherCustomerId.readOnly - schemas.GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse.description - schemas.GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse.id - schemas.GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse.properties.licenseConfigs.description - schemas.GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse.properties.licenseConfigs.items.$ref - schemas.GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse.properties.licenseConfigs.type - schemas.GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse.properties.nextPageToken.description - schemas.GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse.properties.nextPageToken.type - schemas.GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse.type - schemas.GoogleCloudDiscoveryengineV1betaSession.properties.pendingAsyncAssistOperationId.description - schemas.GoogleCloudDiscoveryengineV1betaSession.properties.pendingAsyncAssistOperationId.readOnly - schemas.GoogleCloudDiscoveryengineV1betaSession.properties.pendingAsyncAssistOperationId.type - schemas.GoogleCloudDiscoveryengineV1betaStreamAssistResponse.properties.invokedSkills.description - schemas.GoogleCloudDiscoveryengineV1betaStreamAssistResponse.properties.invokedSkills.items.$ref - schemas.GoogleCloudDiscoveryengineV1betaStreamAssistResponse.properties.invokedSkills.type - schemas.GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill.description - schemas.GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill.id - schemas.GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill.properties.displayName.description - schemas.GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill.properties.displayName.type - schemas.GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill.properties.name.description - schemas.GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill.properties.name.type - schemas.GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill.type - schemas.GoogleCloudDiscoveryengineV1betaWorkspaceConfig.properties.dasherCustomerId.readOnly The following keys were changed: - resources.projects.resources.locations.resources.collections.resources.engines.methods.setIamPolicy.description - schemas.GoogleCloudDiscoveryengineV1Engine.properties.features.description - schemas.GoogleCloudDiscoveryengineV1WorkspaceConfig.properties.dasherCustomerId.description - schemas.GoogleCloudDiscoveryengineV1alphaAssistAnswer.properties.state.enum - schemas.GoogleCloudDiscoveryengineV1alphaAssistAnswer.properties.state.enumDescriptions - schemas.GoogleCloudDiscoveryengineV1alphaEngine.properties.features.description - schemas.GoogleCloudDiscoveryengineV1alphaFieldConfig.properties.searchableFieldImportance.description - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequest.properties.rankingExpression.description - schemas.GoogleCloudDiscoveryengineV1alphaWorkspaceConfig.properties.dasherCustomerId.description - schemas.GoogleCloudDiscoveryengineV1betaAssistAnswer.properties.state.enum - schemas.GoogleCloudDiscoveryengineV1betaAssistAnswer.properties.state.enumDescriptions - schemas.GoogleCloudDiscoveryengineV1betaEngine.properties.features.description - schemas.GoogleCloudDiscoveryengineV1betaSearchRequest.properties.rankingExpression.description - schemas.GoogleCloudDiscoveryengineV1betaWorkspaceConfig.properties.dasherCustomerId.description #### discoveryengine:v1 The following keys were added: - resources.projects.resources.locations.resources.licenseConfigs.methods.list.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.flatPath - resources.projects.resources.locations.resources.licenseConfigs.methods.list.httpMethod - resources.projects.resources.locations.resources.licenseConfigs.methods.list.id - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameterOrder - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.licenseConfigs.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.licenseConfigs.methods.list.path - resources.projects.resources.locations.resources.licenseConfigs.methods.list.response.$ref - resources.projects.resources.locations.resources.licenseConfigs.methods.list.scopes - schemas.GoogleCloudDiscoveryengineV1DataConnector.properties.connectorSourceId.description - schemas.GoogleCloudDiscoveryengineV1DataConnector.properties.connectorSourceId.type - schemas.GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse.description - schemas.GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse.id - schemas.GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse.properties.licenseConfigs.description - schemas.GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse.properties.licenseConfigs.items.$ref - schemas.GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse.properties.licenseConfigs.type - schemas.GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse.properties.nextPageToken.description - schemas.GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse.properties.nextPageToken.type - schemas.GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse.type - schemas.GoogleCloudDiscoveryengineV1Session.properties.pendingAsyncAssistOperationId.description - schemas.GoogleCloudDiscoveryengineV1Session.properties.pendingAsyncAssistOperationId.readOnly - schemas.GoogleCloudDiscoveryengineV1Session.properties.pendingAsyncAssistOperationId.type - schemas.GoogleCloudDiscoveryengineV1StreamAssistResponse.properties.invokedSkills.description - schemas.GoogleCloudDiscoveryengineV1StreamAssistResponse.properties.invokedSkills.items.$ref - schemas.GoogleCloudDiscoveryengineV1StreamAssistResponse.properties.invokedSkills.type - schemas.GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill.description - schemas.GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill.id - schemas.GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill.properties.displayName.description - schemas.GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill.properties.displayName.type - schemas.GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill.properties.name.description - schemas.GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill.properties.name.type - schemas.GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill.type - schemas.GoogleCloudDiscoveryengineV1WorkspaceConfig.properties.dasherCustomerId.readOnly - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.connectorSourceId.description - schemas.GoogleCloudDiscoveryengineV1alphaDataConnector.properties.connectorSourceId.type - schemas.GoogleCloudDiscoveryengineV1alphaQuery.properties.createTime.description - schemas.GoogleCloudDiscoveryengineV1alphaQuery.properties.createTime.format - schemas.GoogleCloudDiscoveryengineV1alphaQuery.properties.createTime.readOnly - schemas.GoogleCloudDiscoveryengineV1alphaQuery.properties.createTime.type - schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.pendingAsyncAssistOperationId.description - schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.pendingAsyncAssistOperationId.readOnly - schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.pendingAsyncAssistOperationId.type - schemas.GoogleCloudDiscoveryengineV1alphaWorkspaceConfig.properties.dasherCustomerId.readOnly - schemas.GoogleCloudDiscoveryengineV1betaWorkspaceConfig.properties.dasherCustomerId.readOnly The following keys were changed: - resources.projects.resources.locations.resources.collections.resources.engines.methods.setIamPolicy.description - schemas.GoogleCloudDiscoveryengineV1AssistAnswer.properties.state.enum - schemas.GoogleCloudDiscoveryengineV1AssistAnswer.properties.state.enumDescriptions - schemas.GoogleCloudDiscoveryengineV1Engine.properties.features.description - schemas.GoogleCloudDiscoveryengineV1SearchRequest.properties.rankingExpression.description - schemas.GoogleCloudDiscoveryengineV1WidgetConfigUiSettings.properties.features.description - schemas.GoogleCloudDiscoveryengineV1WorkspaceConfig.properties.dasherCustomerId.description - schemas.GoogleCloudDiscoveryengineV1alphaAssistAnswer.properties.state.enum - schemas.GoogleCloudDiscoveryengineV1alphaAssistAnswer.properties.state.enumDescriptions - schemas.GoogleCloudDiscoveryengineV1alphaEngine.properties.features.description - schemas.GoogleCloudDiscoveryengineV1alphaFieldConfig.properties.searchableFieldImportance.description - schemas.GoogleCloudDiscoveryengineV1alphaSearchRequest.properties.rankingExpression.description - schemas.GoogleCloudDiscoveryengineV1alphaWorkspaceConfig.properties.dasherCustomerId.description - schemas.GoogleCloudDiscoveryengineV1betaEngine.properties.features.description - schemas.GoogleCloudDiscoveryengineV1betaSearchRequest.properties.rankingExpression.description - schemas.GoogleCloudDiscoveryengineV1betaWorkspaceConfig.properties.dasherCustomerId.description --- discovery/discoveryengine-v1.json | 148 ++++++++++++-- discovery/discoveryengine-v1alpha.json | 142 +++++++++++-- discovery/discoveryengine-v1beta.json | 144 +++++++++++-- src/apis/discoveryengine/v1.ts | 271 +++++++++++++++++++++++-- src/apis/discoveryengine/v1alpha.ts | 271 +++++++++++++++++++++++-- src/apis/discoveryengine/v1beta.ts | 263 +++++++++++++++++++++++- 6 files changed, 1158 insertions(+), 81 deletions(-) diff --git a/discovery/discoveryengine-v1.json b/discovery/discoveryengine-v1.json index 0210697a72..b009c2a0b7 100644 --- a/discovery/discoveryengine-v1.json +++ b/discovery/discoveryengine-v1.json @@ -4039,7 +4039,7 @@ ] }, "setIamPolicy": { - "description": "Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.user` and `roles/discoveryengine.agentspaceUser`. Attempting to grant any other role will result in a warning in logging.", + "description": "Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin`, `roles/discoveryengine.agentspaceAdmin`, `roles/discoveryengine.user`, `roles/discoveryengine.agentspaceUser`, `roles/discoveryengine.viewer`, `roles/discoveryengine.agentspaceViewer`. Attempting to grant any other role will result in a warning in logging.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:setIamPolicy", "httpMethod": "POST", "id": "discoveryengine.projects.locations.collections.engines.setIamPolicy", @@ -8997,6 +8997,49 @@ "https://www.googleapis.com/auth/discoveryengine.serving.readwrite" ] }, + "list": { + "description": "Lists all the LicenseConfigs associated with the project.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/licenseConfigs", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.licenseConfigs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Not supported.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Not supported.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/licenseConfigs", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite" + ] + }, "patch": { "description": "Updates the LicenseConfig", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/licenseConfigs/{licenseConfigsId}", @@ -9594,7 +9637,7 @@ } } }, - "revision": "20260503", + "revision": "20260522", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "A2aV1APIKeySecurityScheme": { @@ -12698,14 +12741,16 @@ "IN_PROGRESS", "FAILED", "SUCCEEDED", - "SKIPPED" + "SKIPPED", + "CANCELLED" ], "enumDescriptions": [ "Unknown.", "Assist operation is currently in progress.", "Assist operation has failed.", "Assist operation has succeeded.", - "Assist operation has been skipped." + "Assist operation has been skipped.", + "Assist operation has been cancelled (e.g. client closed the stream). May contain a partial response." ], "type": "string" } @@ -15037,6 +15082,10 @@ }, "type": "array" }, + "connectorSourceId": { + "description": "Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source.", + "type": "string" + }, "connectorType": { "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.", "enum": [ @@ -16514,7 +16563,7 @@ ], "type": "string" }, - "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`", + "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`", "type": "object" }, "industryVertical": { @@ -17992,6 +18041,24 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse": { + "description": "Response message for LicenseConfigService.ListLicenseConfigs method.", + "id": "GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse", + "properties": { + "licenseConfigs": { + "description": "All the customer's LicenseConfigs.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1LicenseConfig" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Not supported.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse": { "description": "Response message for UserLicenseService.ListLicenseConfigsUsageStats method.", "id": "GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse", @@ -19232,7 +19299,7 @@ "description": "The query expansion specification that specifies the conditions under which query expansion occurs." }, "rankingExpression": { - "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result", + "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results", "type": "string" }, "rankingExpressionBackend": { @@ -20753,6 +20820,11 @@ "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", "type": "string" }, + "pendingAsyncAssistOperationId": { + "description": "Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/*/locations/*/collections/*/engines/*/sessions/*/operations/*`. Set when the operation starts and cleared when it finishes.", + "readOnly": true, + "type": "string" + }, "startTime": { "description": "Output only. The time the session started.", "format": "google-datetime", @@ -21061,6 +21133,13 @@ }, "type": "array" }, + "invokedSkills": { + "description": "The skills executed during the turn.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill" + }, + "type": "array" + }, "sessionInfo": { "$ref": "GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo", "description": "Session information. Only included in the final StreamAssistResponse of the response stream." @@ -21068,6 +21147,21 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill": { + "description": "Represents a skill used during the assist call.", + "id": "GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill", + "properties": { + "displayName": { + "description": "The display name of the skill.", + "type": "string" + }, + "name": { + "description": "The resource name of the skill.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo": { "description": "Information about the session.", "id": "GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo", @@ -22340,7 +22434,7 @@ ], "type": "string" }, - "description": "Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`", + "description": "Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`", "readOnly": true, "type": "object" }, @@ -22465,7 +22559,8 @@ "id": "GoogleCloudDiscoveryengineV1WorkspaceConfig", "properties": { "dasherCustomerId": { - "description": "Obfuscated Dasher customer ID.", + "description": "Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.", + "readOnly": true, "type": "string" }, "superAdminEmailAddress": { @@ -23408,14 +23503,16 @@ "IN_PROGRESS", "FAILED", "SUCCEEDED", - "SKIPPED" + "SKIPPED", + "CANCELLED" ], "enumDescriptions": [ "Unknown.", "Assist operation is currently in progress.", "Assist operation has failed.", "Assist operation has succeeded.", - "Assist operation has been skipped." + "Assist operation has been skipped.", + "Assist operation has been cancelled (e.g. client closed the stream). May contain a partial response." ], "type": "string" } @@ -24808,6 +24905,10 @@ }, "type": "array" }, + "connectorSourceId": { + "description": "Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source.", + "type": "string" + }, "connectorType": { "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.", "enum": [ @@ -26161,7 +26262,7 @@ ], "type": "string" }, - "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`", + "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`", "type": "object" }, "industryVertical": { @@ -26908,7 +27009,7 @@ "type": "array" }, "searchableFieldImportance": { - "description": "Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`.", + "description": "Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search).", "enum": [ "SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED", "VERY_LOW_IMPORTANCE", @@ -28114,6 +28215,12 @@ "description": "Defines a user inputed query.", "id": "GoogleCloudDiscoveryengineV1alphaQuery", "properties": { + "createTime": { + "description": "Output only. The time at which the server accepted this query.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "parts": { "description": "Query content parts.", "items": { @@ -28757,7 +28864,7 @@ "description": "The query expansion specification that specifies the conditions under which query expansion occurs." }, "rankingExpression": { - "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result", + "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results", "type": "string" }, "rankingExpressionBackend": { @@ -29633,6 +29740,11 @@ "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", "type": "string" }, + "pendingAsyncAssistOperationId": { + "description": "Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/*/locations/*/collections/*/engines/*/sessions/*/operations/*`. Set when the operation starts and cleared when it finishes.", + "readOnly": true, + "type": "string" + }, "startTime": { "description": "Output only. The time the session started.", "format": "google-datetime", @@ -30212,7 +30324,8 @@ "id": "GoogleCloudDiscoveryengineV1alphaWorkspaceConfig", "properties": { "dasherCustomerId": { - "description": "Obfuscated Dasher customer ID.", + "description": "Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.", + "readOnly": true, "type": "string" }, "superAdminEmailAddress": { @@ -31601,7 +31714,7 @@ ], "type": "string" }, - "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`", + "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`", "type": "object" }, "industryVertical": { @@ -33275,7 +33388,7 @@ "description": "The query expansion specification that specifies the conditions under which query expansion occurs." }, "rankingExpression": { - "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result", + "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results", "type": "string" }, "rankingExpressionBackend": { @@ -34558,7 +34671,8 @@ "id": "GoogleCloudDiscoveryengineV1betaWorkspaceConfig", "properties": { "dasherCustomerId": { - "description": "Obfuscated Dasher customer ID.", + "description": "Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.", + "readOnly": true, "type": "string" }, "superAdminEmailAddress": { diff --git a/discovery/discoveryengine-v1alpha.json b/discovery/discoveryengine-v1alpha.json index 28851ce1db..ec9c90be5a 100644 --- a/discovery/discoveryengine-v1alpha.json +++ b/discovery/discoveryengine-v1alpha.json @@ -5454,7 +5454,7 @@ ] }, "setIamPolicy": { - "description": "Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.user` and `roles/discoveryengine.agentspaceUser`. Attempting to grant any other role will result in a warning in logging.", + "description": "Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin`, `roles/discoveryengine.agentspaceAdmin`, `roles/discoveryengine.user`, `roles/discoveryengine.agentspaceUser`, `roles/discoveryengine.viewer`, `roles/discoveryengine.agentspaceViewer`. Attempting to grant any other role will result in a warning in logging.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:setIamPolicy", "httpMethod": "POST", "id": "discoveryengine.projects.locations.collections.engines.setIamPolicy", @@ -11242,6 +11242,49 @@ "https://www.googleapis.com/auth/discoveryengine.serving.readwrite" ] }, + "list": { + "description": "Lists all the LicenseConfigs associated with the project.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/licenseConfigs", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.licenseConfigs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Not supported.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Not supported.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/licenseConfigs", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite" + ] + }, "patch": { "description": "Updates the LicenseConfig", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/licenseConfigs/{licenseConfigsId}", @@ -12633,7 +12676,7 @@ } } }, - "revision": "20260503", + "revision": "20260522", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -14167,6 +14210,10 @@ }, "type": "array" }, + "connectorSourceId": { + "description": "Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source.", + "type": "string" + }, "connectorType": { "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.", "enum": [ @@ -15402,7 +15449,7 @@ ], "type": "string" }, - "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`", + "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`", "type": "object" }, "industryVertical": { @@ -17397,7 +17444,8 @@ "id": "GoogleCloudDiscoveryengineV1WorkspaceConfig", "properties": { "dasherCustomerId": { - "description": "Obfuscated Dasher customer ID.", + "description": "Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.", + "readOnly": true, "type": "string" }, "superAdminEmailAddress": { @@ -19642,14 +19690,16 @@ "IN_PROGRESS", "FAILED", "SUCCEEDED", - "SKIPPED" + "SKIPPED", + "CANCELLED" ], "enumDescriptions": [ "Unknown.", "Assist operation is currently in progress.", "Assist operation has failed.", "Assist operation has succeeded.", - "Assist operation has been skipped." + "Assist operation has been skipped.", + "Assist operation has been cancelled (e.g. client closed the stream). May contain a partial response." ], "type": "string" } @@ -22720,6 +22770,10 @@ }, "type": "array" }, + "connectorSourceId": { + "description": "Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source.", + "type": "string" + }, "connectorType": { "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.", "enum": [ @@ -24337,7 +24391,7 @@ ], "type": "string" }, - "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`", + "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`", "type": "object" }, "industryVertical": { @@ -25033,6 +25087,11 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaExternalIdentityGroupMetadata", "description": "Metadata corresponding to the external user." }, + "subject": { + "description": "Output only. Represents the canonical IAM subject identifier (for users) or group identifier (for groups), derived from the workforce-pool claim mapping. Falls back to custom logic if not set. This must be used for IAM bindings.", + "readOnly": true, + "type": "string" + }, "userMetadata": { "$ref": "GoogleCloudDiscoveryengineV1alphaExternalIdentityUserMetadata", "description": "Metadata corresponding to the external user." @@ -25059,7 +25118,7 @@ "type": "string" }, "primaryEmail": { - "description": "The user's primary email address.", + "description": "The user's primary email address. Do not use this for IAM bindings. Use ExternalIdentity.subject.", "type": "string" } }, @@ -25319,7 +25378,7 @@ "type": "array" }, "searchableFieldImportance": { - "description": "Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`.", + "description": "Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search).", "enum": [ "SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED", "VERY_LOW_IMPORTANCE", @@ -26979,6 +27038,24 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse": { + "description": "Response message for LicenseConfigService.ListLicenseConfigs method.", + "id": "GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse", + "properties": { + "licenseConfigs": { + "description": "All the customer's LicenseConfigs.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfig" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Not supported.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse": { "description": "Response message for UserLicenseService.ListLicenseConfigsUsageStats method.", "id": "GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse", @@ -27987,6 +28064,12 @@ "description": "Defines a user inputed query.", "id": "GoogleCloudDiscoveryengineV1alphaQuery", "properties": { + "createTime": { + "description": "Output only. The time at which the server accepted this query.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "parts": { "description": "Query content parts.", "items": { @@ -29302,7 +29385,7 @@ "description": "The query expansion specification that specifies the conditions under which query expansion occurs." }, "rankingExpression": { - "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result", + "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results", "type": "string" }, "rankingExpressionBackend": { @@ -31177,6 +31260,11 @@ "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", "type": "string" }, + "pendingAsyncAssistOperationId": { + "description": "Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/*/locations/*/collections/*/engines/*/sessions/*/operations/*`. Set when the operation starts and cleared when it finishes.", + "readOnly": true, + "type": "string" + }, "startTime": { "description": "Output only. The time the session started.", "format": "google-datetime", @@ -31674,6 +31762,13 @@ }, "type": "array" }, + "invokedSkills": { + "description": "The skills executed during the turn.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill" + }, + "type": "array" + }, "sessionInfo": { "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo", "description": "Session information. Only included in the final StreamAssistResponse of the response stream." @@ -31681,6 +31776,21 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill": { + "description": "Represents a skill used during the assist call.", + "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill", + "properties": { + "displayName": { + "description": "The display name of the skill.", + "type": "string" + }, + "name": { + "description": "The resource name of the skill.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo": { "description": "Information about the session.", "id": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo", @@ -33114,7 +33224,7 @@ ], "type": "string" }, - "description": "Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`", + "description": "Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`", "readOnly": true, "type": "object" }, @@ -33262,7 +33372,8 @@ "id": "GoogleCloudDiscoveryengineV1alphaWorkspaceConfig", "properties": { "dasherCustomerId": { - "description": "Obfuscated Dasher customer ID.", + "description": "Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.", + "readOnly": true, "type": "string" }, "superAdminEmailAddress": { @@ -34662,7 +34773,7 @@ ], "type": "string" }, - "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`", + "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`", "type": "object" }, "industryVertical": { @@ -36336,7 +36447,7 @@ "description": "The query expansion specification that specifies the conditions under which query expansion occurs." }, "rankingExpression": { - "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result", + "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results", "type": "string" }, "rankingExpressionBackend": { @@ -37619,7 +37730,8 @@ "id": "GoogleCloudDiscoveryengineV1betaWorkspaceConfig", "properties": { "dasherCustomerId": { - "description": "Obfuscated Dasher customer ID.", + "description": "Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.", + "readOnly": true, "type": "string" }, "superAdminEmailAddress": { diff --git a/discovery/discoveryengine-v1beta.json b/discovery/discoveryengine-v1beta.json index 7e485eb2b8..8c5341137a 100644 --- a/discovery/discoveryengine-v1beta.json +++ b/discovery/discoveryengine-v1beta.json @@ -3884,7 +3884,7 @@ ] }, "setIamPolicy": { - "description": "Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.user` and `roles/discoveryengine.agentspaceUser`. Attempting to grant any other role will result in a warning in logging.", + "description": "Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin`, `roles/discoveryengine.agentspaceAdmin`, `roles/discoveryengine.user`, `roles/discoveryengine.agentspaceUser`, `roles/discoveryengine.viewer`, `roles/discoveryengine.agentspaceViewer`. Attempting to grant any other role will result in a warning in logging.", "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:setIamPolicy", "httpMethod": "POST", "id": "discoveryengine.projects.locations.collections.engines.setIamPolicy", @@ -8502,6 +8502,49 @@ "https://www.googleapis.com/auth/discoveryengine.serving.readwrite" ] }, + "list": { + "description": "Lists all the LicenseConfigs associated with the project.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/licenseConfigs", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.licenseConfigs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Not supported.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Not supported.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}/licenseConfigs", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite" + ] + }, "patch": { "description": "Updates the LicenseConfig", "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/licenseConfigs/{licenseConfigsId}", @@ -9466,7 +9509,7 @@ } } }, - "revision": "20260503", + "revision": "20260522", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -11000,6 +11043,10 @@ }, "type": "array" }, + "connectorSourceId": { + "description": "Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source.", + "type": "string" + }, "connectorType": { "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.", "enum": [ @@ -12235,7 +12282,7 @@ ], "type": "string" }, - "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`", + "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`", "type": "object" }, "industryVertical": { @@ -14230,7 +14277,8 @@ "id": "GoogleCloudDiscoveryengineV1WorkspaceConfig", "properties": { "dasherCustomerId": { - "description": "Obfuscated Dasher customer ID.", + "description": "Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.", + "readOnly": true, "type": "string" }, "superAdminEmailAddress": { @@ -15173,14 +15221,16 @@ "IN_PROGRESS", "FAILED", "SUCCEEDED", - "SKIPPED" + "SKIPPED", + "CANCELLED" ], "enumDescriptions": [ "Unknown.", "Assist operation is currently in progress.", "Assist operation has failed.", "Assist operation has succeeded.", - "Assist operation has been skipped." + "Assist operation has been skipped.", + "Assist operation has been cancelled (e.g. client closed the stream). May contain a partial response." ], "type": "string" } @@ -16573,6 +16623,10 @@ }, "type": "array" }, + "connectorSourceId": { + "description": "Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source.", + "type": "string" + }, "connectorType": { "description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.", "enum": [ @@ -17926,7 +17980,7 @@ ], "type": "string" }, - "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`", + "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`", "type": "object" }, "industryVertical": { @@ -18673,7 +18727,7 @@ "type": "array" }, "searchableFieldImportance": { - "description": "Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`.", + "description": "Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search).", "enum": [ "SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED", "VERY_LOW_IMPORTANCE", @@ -19879,6 +19933,12 @@ "description": "Defines a user inputed query.", "id": "GoogleCloudDiscoveryengineV1alphaQuery", "properties": { + "createTime": { + "description": "Output only. The time at which the server accepted this query.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "parts": { "description": "Query content parts.", "items": { @@ -20522,7 +20582,7 @@ "description": "The query expansion specification that specifies the conditions under which query expansion occurs." }, "rankingExpression": { - "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result", + "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results", "type": "string" }, "rankingExpressionBackend": { @@ -21398,6 +21458,11 @@ "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", "type": "string" }, + "pendingAsyncAssistOperationId": { + "description": "Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/*/locations/*/collections/*/engines/*/sessions/*/operations/*`. Set when the operation starts and cleared when it finishes.", + "readOnly": true, + "type": "string" + }, "startTime": { "description": "Output only. The time the session started.", "format": "google-datetime", @@ -21977,7 +22042,8 @@ "id": "GoogleCloudDiscoveryengineV1alphaWorkspaceConfig", "properties": { "dasherCustomerId": { - "description": "Obfuscated Dasher customer ID.", + "description": "Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.", + "readOnly": true, "type": "string" }, "superAdminEmailAddress": { @@ -23755,14 +23821,16 @@ "IN_PROGRESS", "FAILED", "SUCCEEDED", - "SKIPPED" + "SKIPPED", + "CANCELLED" ], "enumDescriptions": [ "Unknown.", "Assist operation is currently in progress.", "Assist operation has failed.", "Assist operation has succeeded.", - "Assist operation has been skipped." + "Assist operation has been skipped.", + "Assist operation has been cancelled (e.g. client closed the stream). May contain a partial response." ], "type": "string" } @@ -26947,7 +27015,7 @@ ], "type": "string" }, - "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`", + "description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`", "type": "object" }, "industryVertical": { @@ -28665,6 +28733,24 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse": { + "description": "Response message for LicenseConfigService.ListLicenseConfigs method.", + "id": "GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse", + "properties": { + "licenseConfigs": { + "description": "All the customer's LicenseConfigs.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1betaLicenseConfig" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Not supported.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse": { "description": "Response message for UserLicenseService.ListLicenseConfigsUsageStats method.", "id": "GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse", @@ -30255,7 +30341,7 @@ "description": "The query expansion specification that specifies the conditions under which query expansion occurs." }, "rankingExpression": { - "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result", + "description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results", "type": "string" }, "rankingExpressionBackend": { @@ -32118,6 +32204,11 @@ "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", "type": "string" }, + "pendingAsyncAssistOperationId": { + "description": "Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/*/locations/*/collections/*/engines/*/sessions/*/operations/*`. Set when the operation starts and cleared when it finishes.", + "readOnly": true, + "type": "string" + }, "startTime": { "description": "Output only. The time the session started.", "format": "google-datetime", @@ -32488,6 +32579,13 @@ }, "type": "array" }, + "invokedSkills": { + "description": "The skills executed during the turn.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill" + }, + "type": "array" + }, "sessionInfo": { "$ref": "GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo", "description": "Session information. Only included in the final StreamAssistResponse of the response stream." @@ -32495,6 +32593,21 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill": { + "description": "Represents a skill used during the assist call.", + "id": "GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill", + "properties": { + "displayName": { + "description": "The display name of the skill.", + "type": "string" + }, + "name": { + "description": "The resource name of the skill.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo": { "description": "Information about the session.", "id": "GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo", @@ -33084,7 +33197,8 @@ "id": "GoogleCloudDiscoveryengineV1betaWorkspaceConfig", "properties": { "dasherCustomerId": { - "description": "Obfuscated Dasher customer ID.", + "description": "Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.", + "readOnly": true, "type": "string" }, "superAdminEmailAddress": { diff --git a/src/apis/discoveryengine/v1.ts b/src/apis/discoveryengine/v1.ts index 2312c8611f..1c84b5f058 100644 --- a/src/apis/discoveryengine/v1.ts +++ b/src/apis/discoveryengine/v1.ts @@ -2912,6 +2912,10 @@ export namespace discoveryengine_v1 { * Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED. */ connectorModes?: string[] | null; + /** + * Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source. + */ + connectorSourceId?: string | null; /** * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. */ @@ -3842,7 +3846,7 @@ export namespace discoveryengine_v1 { */ displayName?: string | null; /** - * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` + * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` */ features?: {[key: string]: string} | null; /** @@ -4262,7 +4266,7 @@ export namespace discoveryengine_v1 { */ schemaOrgPaths?: string[] | null; /** - * Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. + * Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search). */ searchableFieldImportance?: string | null; /** @@ -5101,6 +5105,10 @@ export namespace discoveryengine_v1 { * Defines a user inputed query. */ export interface Schema$GoogleCloudDiscoveryengineV1alphaQuery { + /** + * Output only. The time at which the server accepted this query. + */ + createTime?: string | null; /** * Query content parts. */ @@ -5570,7 +5578,7 @@ export namespace discoveryengine_v1 { */ queryExpansionSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec; /** - * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result + * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results */ rankingExpression?: string | null; /** @@ -6149,6 +6157,10 @@ export namespace discoveryengine_v1 { * Immutable. Fully qualified name `projects/{project\}/locations/global/collections/{collection\}/engines/{engine\}/sessions/x` */ name?: string | null; + /** + * Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/x/locations/x/collections/x/engines/x/sessions/x/operations/x`. Set when the operation starts and cleared when it finishes. + */ + pendingAsyncAssistOperationId?: string | null; /** * Output only. The time the session started. */ @@ -6549,7 +6561,7 @@ export namespace discoveryengine_v1 { */ export interface Schema$GoogleCloudDiscoveryengineV1alphaWorkspaceConfig { /** - * Obfuscated Dasher customer ID. + * Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored. */ dasherCustomerId?: string | null; /** @@ -8949,7 +8961,7 @@ export namespace discoveryengine_v1 { */ displayName?: string | null; /** - * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` + * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` */ features?: {[key: string]: string} | null; /** @@ -10096,7 +10108,7 @@ export namespace discoveryengine_v1 { */ queryExpansionSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec; /** - * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result + * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results */ rankingExpression?: string | null; /** @@ -10949,7 +10961,7 @@ export namespace discoveryengine_v1 { */ export interface Schema$GoogleCloudDiscoveryengineV1betaWorkspaceConfig { /** - * Obfuscated Dasher customer ID. + * Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored. */ dasherCustomerId?: string | null; /** @@ -11967,6 +11979,10 @@ export namespace discoveryengine_v1 { * Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED. */ connectorModes?: string[] | null; + /** + * Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source. + */ + connectorSourceId?: string | null; /** * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. */ @@ -12983,7 +12999,7 @@ export namespace discoveryengine_v1 { */ displayName?: string | null; /** - * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` + * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` */ features?: {[key: string]: string} | null; /** @@ -14007,6 +14023,19 @@ export namespace discoveryengine_v1 { */ nextPageToken?: string | null; } + /** + * Response message for LicenseConfigService.ListLicenseConfigs method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1ListLicenseConfigsResponse { + /** + * All the customer's LicenseConfigs. + */ + licenseConfigs?: Schema$GoogleCloudDiscoveryengineV1LicenseConfig[]; + /** + * Not supported. + */ + nextPageToken?: string | null; + } /** * Response message for UserLicenseService.ListLicenseConfigsUsageStats method. */ @@ -14927,7 +14956,7 @@ export namespace discoveryengine_v1 { */ queryExpansionSpec?: Schema$GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec; /** - * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result + * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results */ rankingExpression?: string | null; /** @@ -15976,6 +16005,10 @@ export namespace discoveryengine_v1 { * Immutable. Fully qualified name `projects/{project\}/locations/global/collections/{collection\}/engines/{engine\}/sessions/x` */ name?: string | null; + /** + * Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/x/locations/x/collections/x/engines/x/sessions/x/operations/x`. Set when the operation starts and cleared when it finishes. + */ + pendingAsyncAssistOperationId?: string | null; /** * Output only. The time the session started. */ @@ -16212,11 +16245,28 @@ export namespace discoveryengine_v1 { * The tool names of the tools that were invoked. */ invocationTools?: string[] | null; + /** + * The skills executed during the turn. + */ + invokedSkills?: Schema$GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill[]; /** * Session information. Only included in the final StreamAssistResponse of the response stream. */ sessionInfo?: Schema$GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo; } + /** + * Represents a skill used during the assist call. + */ + export interface Schema$GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill { + /** + * The display name of the skill. + */ + displayName?: string | null; + /** + * The resource name of the skill. + */ + name?: string | null; + } /** * Information about the session. */ @@ -17114,7 +17164,7 @@ export namespace discoveryengine_v1 { */ enableVisualContentSummary?: boolean | null; /** - * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` + * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` */ features?: {[key: string]: string} | null; /** @@ -17184,7 +17234,7 @@ export namespace discoveryengine_v1 { */ export interface Schema$GoogleCloudDiscoveryengineV1WorkspaceConfig { /** - * Obfuscated Dasher customer ID. + * Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored. */ dasherCustomerId?: string | null; /** @@ -18632,6 +18682,7 @@ export namespace discoveryengine_v1 { * // "blockingReasons": [], * // "cliConfig": {}, * // "connectorModes": [], + * // "connectorSourceId": "my_connectorSourceId", * // "connectorType": "my_connectorType", * // "createEuaSaas": false, * // "createTime": "my_createTime", @@ -20055,6 +20106,7 @@ export namespace discoveryengine_v1 { * // "blockingReasons": [], * // "cliConfig": {}, * // "connectorModes": [], + * // "connectorSourceId": "my_connectorSourceId", * // "connectorType": "my_connectorType", * // "createEuaSaas": false, * // "createTime": "my_createTime", @@ -20251,6 +20303,7 @@ export namespace discoveryengine_v1 { * // "blockingReasons": [], * // "cliConfig": {}, * // "connectorModes": [], + * // "connectorSourceId": "my_connectorSourceId", * // "connectorType": "my_connectorType", * // "createEuaSaas": false, * // "createTime": "my_createTime", @@ -20301,6 +20354,7 @@ export namespace discoveryengine_v1 { * // "blockingReasons": [], * // "cliConfig": {}, * // "connectorModes": [], + * // "connectorSourceId": "my_connectorSourceId", * // "connectorType": "my_connectorType", * // "createEuaSaas": false, * // "createTime": "my_createTime", @@ -31214,6 +31268,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -31231,6 +31286,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -31540,6 +31596,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -31870,6 +31927,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -31887,6 +31945,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -38065,7 +38124,7 @@ export namespace discoveryengine_v1 { } /** - * Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.user` and `roles/discoveryengine.agentspaceUser`. Attempting to grant any other role will result in a warning in logging. + * Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin`, `roles/discoveryengine.agentspaceAdmin`, `roles/discoveryengine.user`, `roles/discoveryengine.agentspaceUser`, `roles/discoveryengine.viewer`, `roles/discoveryengine.agentspaceViewer`. Attempting to grant any other role will result in a warning in logging. * @example * ```js * // Before running the sample: @@ -39212,6 +39271,7 @@ export namespace discoveryengine_v1 { * // "answer": {}, * // "assistToken": "my_assistToken", * // "invocationTools": [], + * // "invokedSkills": [], * // "sessionInfo": {} * // } * } @@ -46037,6 +46097,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -46054,6 +46115,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -46361,6 +46423,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -46689,6 +46752,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -46706,6 +46770,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -57282,6 +57347,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -57298,6 +57364,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -57602,6 +57669,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -57930,6 +57998,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -57946,6 +58015,7 @@ export namespace discoveryengine_v1 { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -64077,6 +64147,165 @@ export namespace discoveryengine_v1 { } } + /** + * Lists all the LicenseConfigs associated with the project. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await discoveryengine.projects.locations.licenseConfigs.list({ + * // Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs. + * filter: 'placeholder-value', + * // Optional. Not supported. + * pageSize: 'placeholder-value', + * // Optional. Not supported. + * pageToken: 'placeholder-value', + * // Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "licenseConfigs": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Licenseconfigs$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Licenseconfigs$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Licenseconfigs$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Licenseconfigs$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Licenseconfigs$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Licenseconfigs$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Licenseconfigs$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Licenseconfigs$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/licenseConfigs').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 + ); + } + } + /** * Updates the LicenseConfig * @example @@ -64280,6 +64509,24 @@ export namespace discoveryengine_v1 { */ name?: string; } + export interface Params$Resource$Projects$Locations$Licenseconfigs$List extends StandardParameters { + /** + * Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs. + */ + filter?: string; + /** + * Optional. Not supported. + */ + pageSize?: number; + /** + * Optional. Not supported. + */ + pageToken?: string; + /** + * Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}`. + */ + parent?: string; + } export interface Params$Resource$Projects$Locations$Licenseconfigs$Patch extends StandardParameters { /** * Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project\}/locations/{location\}/licenseConfigs/{license_config\}` diff --git a/src/apis/discoveryengine/v1alpha.ts b/src/apis/discoveryengine/v1alpha.ts index 68d54f82e9..e8728b342b 100644 --- a/src/apis/discoveryengine/v1alpha.ts +++ b/src/apis/discoveryengine/v1alpha.ts @@ -4155,6 +4155,10 @@ export namespace discoveryengine_v1alpha { * Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED. */ connectorModes?: string[] | null; + /** + * Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source. + */ + connectorSourceId?: string | null; /** * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. */ @@ -5288,7 +5292,7 @@ export namespace discoveryengine_v1alpha { */ displayName?: string | null; /** - * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` + * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` */ features?: {[key: string]: string} | null; /** @@ -5736,6 +5740,10 @@ export namespace discoveryengine_v1alpha { * Metadata corresponding to the external user. */ groupMetadata?: Schema$GoogleCloudDiscoveryengineV1alphaExternalIdentityGroupMetadata; + /** + * Output only. Represents the canonical IAM subject identifier (for users) or group identifier (for groups), derived from the workforce-pool claim mapping. Falls back to custom logic if not set. This must be used for IAM bindings. + */ + subject?: string | null; /** * Metadata corresponding to the external user. */ @@ -5758,7 +5766,7 @@ export namespace discoveryengine_v1alpha { */ givenName?: string | null; /** - * The user's primary email address. + * The user's primary email address. Do not use this for IAM bindings. Use ExternalIdentity.subject. */ primaryEmail?: string | null; } @@ -5900,7 +5908,7 @@ export namespace discoveryengine_v1alpha { */ schemaOrgPaths?: string[] | null; /** - * Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. + * Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search). */ searchableFieldImportance?: string | null; /** @@ -7068,6 +7076,19 @@ export namespace discoveryengine_v1alpha { */ nextPageToken?: string | null; } + /** + * Response message for LicenseConfigService.ListLicenseConfigs method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaListLicenseConfigsResponse { + /** + * All the customer's LicenseConfigs. + */ + licenseConfigs?: Schema$GoogleCloudDiscoveryengineV1alphaLicenseConfig[]; + /** + * Not supported. + */ + nextPageToken?: string | null; + } /** * Response message for UserLicenseService.ListLicenseConfigsUsageStats method. */ @@ -7835,6 +7856,10 @@ export namespace discoveryengine_v1alpha { * Defines a user inputed query. */ export interface Schema$GoogleCloudDiscoveryengineV1alphaQuery { + /** + * Output only. The time at which the server accepted this query. + */ + createTime?: string | null; /** * Query content parts. */ @@ -8812,7 +8837,7 @@ export namespace discoveryengine_v1alpha { */ queryExpansionSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec; /** - * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result + * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results */ rankingExpression?: string | null; /** @@ -10087,6 +10112,10 @@ export namespace discoveryengine_v1alpha { * Immutable. Fully qualified name `projects/{project\}/locations/global/collections/{collection\}/engines/{engine\}/sessions/x` */ name?: string | null; + /** + * Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/x/locations/x/collections/x/engines/x/sessions/x/operations/x`. Set when the operation starts and cleared when it finishes. + */ + pendingAsyncAssistOperationId?: string | null; /** * Output only. The time the session started. */ @@ -10442,11 +10471,28 @@ export namespace discoveryengine_v1alpha { * The tool names of the tools that were invoked. */ invocationTools?: string[] | null; + /** + * The skills executed during the turn. + */ + invokedSkills?: Schema$GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill[]; /** * Session information. Only included in the final StreamAssistResponse of the response stream. */ sessionInfo?: Schema$GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo; } + /** + * Represents a skill used during the assist call. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill { + /** + * The display name of the skill. + */ + displayName?: string | null; + /** + * The resource name of the skill. + */ + name?: string | null; + } /** * Information about the session. */ @@ -11432,7 +11478,7 @@ export namespace discoveryengine_v1alpha { */ enableVisualContentSummary?: boolean | null; /** - * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` + * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` */ features?: {[key: string]: string} | null; /** @@ -11523,7 +11569,7 @@ export namespace discoveryengine_v1alpha { */ export interface Schema$GoogleCloudDiscoveryengineV1alphaWorkspaceConfig { /** - * Obfuscated Dasher customer ID. + * Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored. */ dasherCustomerId?: string | null; /** @@ -12756,7 +12802,7 @@ export namespace discoveryengine_v1alpha { */ displayName?: string | null; /** - * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` + * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` */ features?: {[key: string]: string} | null; /** @@ -13903,7 +13949,7 @@ export namespace discoveryengine_v1alpha { */ queryExpansionSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec; /** - * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result + * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results */ rankingExpression?: string | null; /** @@ -14756,7 +14802,7 @@ export namespace discoveryengine_v1alpha { */ export interface Schema$GoogleCloudDiscoveryengineV1betaWorkspaceConfig { /** - * Obfuscated Dasher customer ID. + * Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored. */ dasherCustomerId?: string | null; /** @@ -15135,6 +15181,10 @@ export namespace discoveryengine_v1alpha { * Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED. */ connectorModes?: string[] | null; + /** + * Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source. + */ + connectorSourceId?: string | null; /** * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. */ @@ -15966,7 +16016,7 @@ export namespace discoveryengine_v1alpha { */ displayName?: string | null; /** - * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` + * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` */ features?: {[key: string]: string} | null; /** @@ -17323,7 +17373,7 @@ export namespace discoveryengine_v1alpha { */ export interface Schema$GoogleCloudDiscoveryengineV1WorkspaceConfig { /** - * Obfuscated Dasher customer ID. + * Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored. */ dasherCustomerId?: string | null; /** @@ -21209,6 +21259,7 @@ export namespace discoveryengine_v1alpha { * // "blockingReasons": [], * // "cliConfig": {}, * // "connectorModes": [], + * // "connectorSourceId": "my_connectorSourceId", * // "connectorType": "my_connectorType", * // "createEuaSaas": false, * // "createTime": "my_createTime", @@ -23727,6 +23778,7 @@ export namespace discoveryengine_v1alpha { * // "blockingReasons": [], * // "cliConfig": {}, * // "connectorModes": [], + * // "connectorSourceId": "my_connectorSourceId", * // "connectorType": "my_connectorType", * // "createEuaSaas": false, * // "createTime": "my_createTime", @@ -24243,6 +24295,7 @@ export namespace discoveryengine_v1alpha { * // "blockingReasons": [], * // "cliConfig": {}, * // "connectorModes": [], + * // "connectorSourceId": "my_connectorSourceId", * // "connectorType": "my_connectorType", * // "createEuaSaas": false, * // "createTime": "my_createTime", @@ -24294,6 +24347,7 @@ export namespace discoveryengine_v1alpha { * // "blockingReasons": [], * // "cliConfig": {}, * // "connectorModes": [], + * // "connectorSourceId": "my_connectorSourceId", * // "connectorType": "my_connectorType", * // "createEuaSaas": false, * // "createTime": "my_createTime", @@ -38121,6 +38175,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -38138,6 +38193,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -38447,6 +38503,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -38777,6 +38834,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -38794,6 +38852,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -45848,7 +45907,7 @@ export namespace discoveryengine_v1alpha { } /** - * Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.user` and `roles/discoveryengine.agentspaceUser`. Attempting to grant any other role will result in a warning in logging. + * Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin`, `roles/discoveryengine.agentspaceAdmin`, `roles/discoveryengine.user`, `roles/discoveryengine.agentspaceUser`, `roles/discoveryengine.viewer`, `roles/discoveryengine.agentspaceViewer`. Attempting to grant any other role will result in a warning in logging. * @example * ```js * // Before running the sample: @@ -47726,6 +47785,7 @@ export namespace discoveryengine_v1alpha { * // "answer": {}, * // "assistToken": "my_assistToken", * // "invocationTools": [], + * // "invokedSkills": [], * // "sessionInfo": {} * // } * } @@ -54902,6 +54962,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -54919,6 +54980,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -55226,6 +55288,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -55554,6 +55617,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -55571,6 +55635,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -68662,6 +68727,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -68678,6 +68744,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -68982,6 +69049,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -69310,6 +69378,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -69326,6 +69395,7 @@ export namespace discoveryengine_v1alpha { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -76322,6 +76392,165 @@ export namespace discoveryengine_v1alpha { } } + /** + * Lists all the LicenseConfigs associated with the project. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await discoveryengine.projects.locations.licenseConfigs.list({ + * // Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs. + * filter: 'placeholder-value', + * // Optional. Not supported. + * pageSize: 'placeholder-value', + * // Optional. Not supported. + * pageToken: 'placeholder-value', + * // Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "licenseConfigs": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Licenseconfigs$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Licenseconfigs$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Licenseconfigs$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Licenseconfigs$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Licenseconfigs$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Licenseconfigs$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Licenseconfigs$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Licenseconfigs$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/licenseConfigs').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 + ); + } + } + /** * Updates the LicenseConfig * @example @@ -76527,6 +76756,24 @@ export namespace discoveryengine_v1alpha { */ name?: string; } + export interface Params$Resource$Projects$Locations$Licenseconfigs$List extends StandardParameters { + /** + * Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs. + */ + filter?: string; + /** + * Optional. Not supported. + */ + pageSize?: number; + /** + * Optional. Not supported. + */ + pageToken?: string; + /** + * Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}`. + */ + parent?: string; + } export interface Params$Resource$Projects$Locations$Licenseconfigs$Patch extends StandardParameters { /** * Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project\}/locations/{location\}/licenseConfigs/{license_config\}` diff --git a/src/apis/discoveryengine/v1beta.ts b/src/apis/discoveryengine/v1beta.ts index f9cc93b1a9..3f0bfec070 100644 --- a/src/apis/discoveryengine/v1beta.ts +++ b/src/apis/discoveryengine/v1beta.ts @@ -2041,6 +2041,10 @@ export namespace discoveryengine_v1beta { * Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED. */ connectorModes?: string[] | null; + /** + * Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source. + */ + connectorSourceId?: string | null; /** * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. */ @@ -2971,7 +2975,7 @@ export namespace discoveryengine_v1beta { */ displayName?: string | null; /** - * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` + * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` */ features?: {[key: string]: string} | null; /** @@ -3391,7 +3395,7 @@ export namespace discoveryengine_v1beta { */ schemaOrgPaths?: string[] | null; /** - * Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. + * Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search). */ searchableFieldImportance?: string | null; /** @@ -4230,6 +4234,10 @@ export namespace discoveryengine_v1beta { * Defines a user inputed query. */ export interface Schema$GoogleCloudDiscoveryengineV1alphaQuery { + /** + * Output only. The time at which the server accepted this query. + */ + createTime?: string | null; /** * Query content parts. */ @@ -4699,7 +4707,7 @@ export namespace discoveryengine_v1beta { */ queryExpansionSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec; /** - * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result + * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results */ rankingExpression?: string | null; /** @@ -5278,6 +5286,10 @@ export namespace discoveryengine_v1beta { * Immutable. Fully qualified name `projects/{project\}/locations/global/collections/{collection\}/engines/{engine\}/sessions/x` */ name?: string | null; + /** + * Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/x/locations/x/collections/x/engines/x/sessions/x/operations/x`. Set when the operation starts and cleared when it finishes. + */ + pendingAsyncAssistOperationId?: string | null; /** * Output only. The time the session started. */ @@ -5678,7 +5690,7 @@ export namespace discoveryengine_v1beta { */ export interface Schema$GoogleCloudDiscoveryengineV1alphaWorkspaceConfig { /** - * Obfuscated Dasher customer ID. + * Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored. */ dasherCustomerId?: string | null; /** @@ -9396,7 +9408,7 @@ export namespace discoveryengine_v1beta { */ displayName?: string | null; /** - * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` + * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` */ features?: {[key: string]: string} | null; /** @@ -10594,6 +10606,19 @@ export namespace discoveryengine_v1beta { */ nextPageToken?: string | null; } + /** + * Response message for LicenseConfigService.ListLicenseConfigs method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse { + /** + * All the customer's LicenseConfigs. + */ + licenseConfigs?: Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig[]; + /** + * Not supported. + */ + nextPageToken?: string | null; + } /** * Response message for UserLicenseService.ListLicenseConfigsUsageStats method. */ @@ -11780,7 +11805,7 @@ export namespace discoveryengine_v1beta { */ queryExpansionSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec; /** - * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result + * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results */ rankingExpression?: string | null; /** @@ -13043,6 +13068,10 @@ export namespace discoveryengine_v1beta { * Immutable. Fully qualified name `projects/{project\}/locations/global/collections/{collection\}/engines/{engine\}/sessions/x` */ name?: string | null; + /** + * Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/x/locations/x/collections/x/engines/x/sessions/x/operations/x`. Set when the operation starts and cleared when it finishes. + */ + pendingAsyncAssistOperationId?: string | null; /** * Output only. The time the session started. */ @@ -13305,11 +13334,28 @@ export namespace discoveryengine_v1beta { * The tool names of the tools that were invoked. */ invocationTools?: string[] | null; + /** + * The skills executed during the turn. + */ + invokedSkills?: Schema$GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill[]; /** * Session information. Only included in the final StreamAssistResponse of the response stream. */ sessionInfo?: Schema$GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo; } + /** + * Represents a skill used during the assist call. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill { + /** + * The display name of the skill. + */ + displayName?: string | null; + /** + * The resource name of the skill. + */ + name?: string | null; + } /** * Information about the session. */ @@ -13756,7 +13802,7 @@ export namespace discoveryengine_v1beta { */ export interface Schema$GoogleCloudDiscoveryengineV1betaWorkspaceConfig { /** - * Obfuscated Dasher customer ID. + * Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored. */ dasherCustomerId?: string | null; /** @@ -14135,6 +14181,10 @@ export namespace discoveryengine_v1beta { * Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED. */ connectorModes?: string[] | null; + /** + * Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source. + */ + connectorSourceId?: string | null; /** * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system. */ @@ -14966,7 +15016,7 @@ export namespace discoveryengine_v1beta { */ displayName?: string | null; /** - * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` + * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` */ features?: {[key: string]: string} | null; /** @@ -16323,7 +16373,7 @@ export namespace discoveryengine_v1beta { */ export interface Schema$GoogleCloudDiscoveryengineV1WorkspaceConfig { /** - * Obfuscated Dasher customer ID. + * Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored. */ dasherCustomerId?: string | null; /** @@ -29717,6 +29767,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -29734,6 +29785,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -30043,6 +30095,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -30373,6 +30426,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -30390,6 +30444,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -36462,7 +36517,7 @@ export namespace discoveryengine_v1beta { } /** - * Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.user` and `roles/discoveryengine.agentspaceUser`. Attempting to grant any other role will result in a warning in logging. + * Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin`, `roles/discoveryengine.agentspaceAdmin`, `roles/discoveryengine.user`, `roles/discoveryengine.agentspaceUser`, `roles/discoveryengine.viewer`, `roles/discoveryengine.agentspaceViewer`. Attempting to grant any other role will result in a warning in logging. * @example * ```js * // Before running the sample: @@ -37801,6 +37856,7 @@ export namespace discoveryengine_v1beta { * // "answer": {}, * // "assistToken": "my_assistToken", * // "invocationTools": [], + * // "invokedSkills": [], * // "sessionInfo": {} * // } * } @@ -42905,6 +42961,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -42922,6 +42979,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -43229,6 +43287,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -43557,6 +43616,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -43574,6 +43634,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -53718,6 +53779,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -53734,6 +53796,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -54038,6 +54101,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -54366,6 +54430,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -54382,6 +54447,7 @@ export namespace discoveryengine_v1beta { * // "isPinned": false, * // "labels": [], * // "name": "my_name", + * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId", * // "startTime": "my_startTime", * // "state": "my_state", * // "turns": [], @@ -60907,6 +60973,165 @@ export namespace discoveryengine_v1beta { } } + /** + * Lists all the LicenseConfigs associated with the project. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await discoveryengine.projects.locations.licenseConfigs.list({ + * // Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs. + * filter: 'placeholder-value', + * // Optional. Not supported. + * pageSize: 'placeholder-value', + * // Optional. Not supported. + * pageToken: 'placeholder-value', + * // Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "licenseConfigs": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Licenseconfigs$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Licenseconfigs$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Licenseconfigs$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Licenseconfigs$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Licenseconfigs$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Licenseconfigs$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Licenseconfigs$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Licenseconfigs$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+parent}/licenseConfigs').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 + ); + } + } + /** * Updates the LicenseConfig * @example @@ -61110,6 +61335,24 @@ export namespace discoveryengine_v1beta { */ name?: string; } + export interface Params$Resource$Projects$Locations$Licenseconfigs$List extends StandardParameters { + /** + * Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs. + */ + filter?: string; + /** + * Optional. Not supported. + */ + pageSize?: number; + /** + * Optional. Not supported. + */ + pageToken?: string; + /** + * Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}`. + */ + parent?: string; + } export interface Params$Resource$Projects$Locations$Licenseconfigs$Patch extends StandardParameters { /** * Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project\}/locations/{location\}/licenseConfigs/{license_config\}` From cfe40b997da1e732057e9464d8e2492055536bac Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:38 +0000 Subject: [PATCH 31/69] feat(dlp): update the API #### dlp:v2 The following keys were added: - schemas.GooglePrivacyDlpV2AllMessages.description - schemas.GooglePrivacyDlpV2AllMessages.id - schemas.GooglePrivacyDlpV2AllMessages.type - schemas.GooglePrivacyDlpV2ContentItem.properties.conversation.$ref - schemas.GooglePrivacyDlpV2ContentItem.properties.conversation.description - schemas.GooglePrivacyDlpV2ContentLocation.properties.conversationLocation.$ref - schemas.GooglePrivacyDlpV2ContentLocation.properties.conversationLocation.description - schemas.GooglePrivacyDlpV2Conversation.description - schemas.GooglePrivacyDlpV2Conversation.id - schemas.GooglePrivacyDlpV2Conversation.properties.messages.description - schemas.GooglePrivacyDlpV2Conversation.properties.messages.items.$ref - schemas.GooglePrivacyDlpV2Conversation.properties.messages.type - schemas.GooglePrivacyDlpV2Conversation.type - schemas.GooglePrivacyDlpV2ConversationLocation.description - schemas.GooglePrivacyDlpV2ConversationLocation.id - schemas.GooglePrivacyDlpV2ConversationLocation.properties.allMessages.$ref - schemas.GooglePrivacyDlpV2ConversationLocation.properties.allMessages.description - schemas.GooglePrivacyDlpV2ConversationLocation.properties.messageIndex.description - schemas.GooglePrivacyDlpV2ConversationLocation.properties.messageIndex.format - schemas.GooglePrivacyDlpV2ConversationLocation.properties.messageIndex.type - schemas.GooglePrivacyDlpV2ConversationLocation.type - schemas.GooglePrivacyDlpV2ConversationMessage.description - schemas.GooglePrivacyDlpV2ConversationMessage.id - schemas.GooglePrivacyDlpV2ConversationMessage.properties.content.description - schemas.GooglePrivacyDlpV2ConversationMessage.properties.content.type - schemas.GooglePrivacyDlpV2ConversationMessage.properties.messageType.description - schemas.GooglePrivacyDlpV2ConversationMessage.properties.messageType.enum - schemas.GooglePrivacyDlpV2ConversationMessage.properties.messageType.enumDescriptions - schemas.GooglePrivacyDlpV2ConversationMessage.properties.messageType.type - schemas.GooglePrivacyDlpV2ConversationMessage.properties.participantId.description - schemas.GooglePrivacyDlpV2ConversationMessage.properties.participantId.type - schemas.GooglePrivacyDlpV2ConversationMessage.type - schemas.GooglePrivacyDlpV2InspectTemplate.properties.allowLimitedAvailabilityInfoTypes.description - schemas.GooglePrivacyDlpV2InspectTemplate.properties.allowLimitedAvailabilityInfoTypes.type The following keys were changed: - schemas.GooglePrivacyDlpV2TransformationResultStatus.properties.resultStatusType.enumDescriptions --- discovery/dlp-v2.json | 87 ++++++++++++++++++++++++++++++++++++++++--- src/apis/dlp/v2.ts | 67 +++++++++++++++++++++++++++++++++ 2 files changed, 149 insertions(+), 5 deletions(-) diff --git a/discovery/dlp-v2.json b/discovery/dlp-v2.json index c069a6ce0f..2897d94ed3 100644 --- a/discovery/dlp-v2.json +++ b/discovery/dlp-v2.json @@ -5128,7 +5128,7 @@ } } }, - "revision": "20260425", + "revision": "20260516", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -5303,6 +5303,12 @@ "properties": {}, "type": "object" }, + "GooglePrivacyDlpV2AllMessages": { + "description": "If set, indicates that the finding applies to all messages in the conversation.", + "id": "GooglePrivacyDlpV2AllMessages", + "properties": {}, + "type": "object" + }, "GooglePrivacyDlpV2AllOtherBigQueryTables": { "description": "Catch-all for all other tables not specified by other filters. Should always be last, except for single-table configurations, which will only have a TableReference target.", "id": "GooglePrivacyDlpV2AllOtherBigQueryTables", @@ -6525,6 +6531,10 @@ "$ref": "GooglePrivacyDlpV2ContentMetadata", "description": "User provided metadata for the content." }, + "conversation": { + "$ref": "GooglePrivacyDlpV2Conversation", + "description": "Represents a conversation (either complete or a slice). It is assumed that all included messages are contiguous and ordered in chronological order." + }, "table": { "$ref": "GooglePrivacyDlpV2Table", "description": "Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more." @@ -6553,6 +6563,10 @@ "description": "Finding container version, if available (\"generation\" for Cloud Storage).", "type": "string" }, + "conversationLocation": { + "$ref": "GooglePrivacyDlpV2ConversationLocation", + "description": "Location within a conversation." + }, "documentLocation": { "$ref": "GooglePrivacyDlpV2DocumentLocation", "description": "Location data for document files." @@ -6586,6 +6600,65 @@ }, "type": "object" }, + "GooglePrivacyDlpV2Conversation": { + "description": "Complete conversation or slice of a conversation. It is assumed that all included messages are contiguous and ordered in chronological order.", + "id": "GooglePrivacyDlpV2Conversation", + "properties": { + "messages": { + "description": "Messages exchanged within this conversation. The maximum number of messages allowed is 50k. The order of the messages is assumed to be chronological and will be used to index findings in the response.", + "items": { + "$ref": "GooglePrivacyDlpV2ConversationMessage" + }, + "type": "array" + } + }, + "type": "object" + }, + "GooglePrivacyDlpV2ConversationLocation": { + "description": "Location within a conversation.", + "id": "GooglePrivacyDlpV2ConversationLocation", + "properties": { + "allMessages": { + "$ref": "GooglePrivacyDlpV2AllMessages", + "description": "If set, indicates that the finding applies to all messages in the conversation." + }, + "messageIndex": { + "description": "Matches an index of a message in the conversation provided in the request.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GooglePrivacyDlpV2ConversationMessage": { + "description": "Single message in a conversation.", + "id": "GooglePrivacyDlpV2ConversationMessage", + "properties": { + "content": { + "description": "The contents of this message.", + "type": "string" + }, + "messageType": { + "description": "The type of message.", + "enum": [ + "MESSAGE_TYPE_UNSPECIFIED", + "CONTENT", + "CONTEXT" + ], + "enumDescriptions": [ + "Unused.", + "Message contains content to be inspected.", + "Message contains context only and will not have findings reported from it during inspection or redacted from it during de-identification." + ], + "type": "string" + }, + "participantId": { + "description": "Optional. The identifier of the participant. For example 'test-user' or 'gemini'. The participant ID can contain lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. The maximum length is 63 characters.", + "type": "string" + } + }, + "type": "object" + }, "GooglePrivacyDlpV2CreateConnectionRequest": { "description": "Request message for CreateConnection.", "id": "GooglePrivacyDlpV2CreateConnectionRequest", @@ -9988,6 +10061,10 @@ "description": "The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to learn more.", "id": "GooglePrivacyDlpV2InspectTemplate", "properties": { + "allowLimitedAvailabilityInfoTypes": { + "description": "Optional. Enables the use of [limited-availability built-in infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#limited-availability-infotypes) in inspect_config. These infoTypes are supported only in specific regions and can cause scanning errors if used elsewhere.", + "type": "boolean" + }, "createTime": { "description": "Output only. The creation timestamp of an inspectTemplate.", "format": "google-datetime", @@ -12968,10 +13045,10 @@ ], "enumDescriptions": [ "Unused.", - "This will be set when a finding could not be transformed (i.e. outside user set bucket range).", - "This will be set when a BigQuery transformation was successful but could not be stored back in BigQuery because the transformed row exceeds BigQuery's max row size.", - "This will be set when there is a finding in the custom metadata of a file, but at the write time of the transformed file, this key / value pair is unretrievable.", - "This will be set when the transformation and storing of it is successful." + "This is set when a finding cannot be transformed (i.e. outside user set bucket range).", + "This is set when a transformation is successful but cannot be stored in BigQuery because the transformed row exceeds BigQuery's max row size.", + "This is set when there is a finding in the custom metadata of a file, but at the write time of the transformed file, this key / value pair is unretrievable.", + "This is set when the transformation and its storage are successful." ], "type": "string" } diff --git a/src/apis/dlp/v2.ts b/src/apis/dlp/v2.ts index 544a530bd5..c5873fd2f4 100644 --- a/src/apis/dlp/v2.ts +++ b/src/apis/dlp/v2.ts @@ -235,6 +235,10 @@ export namespace dlp_v2 { * Apply transformation to all findings. */ export interface Schema$GooglePrivacyDlpV2AllInfoTypes {} + /** + * If set, indicates that the finding applies to all messages in the conversation. + */ + export interface Schema$GooglePrivacyDlpV2AllMessages {} /** * Catch-all for all other tables not specified by other filters. Should always be last, except for single-table configurations, which will only have a TableReference target. */ @@ -1016,6 +1020,10 @@ export namespace dlp_v2 { * User provided metadata for the content. */ contentMetadata?: Schema$GooglePrivacyDlpV2ContentMetadata; + /** + * Represents a conversation (either complete or a slice). It is assumed that all included messages are contiguous and ordered in chronological order. + */ + conversation?: Schema$GooglePrivacyDlpV2Conversation; /** * Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more. */ @@ -1041,6 +1049,10 @@ export namespace dlp_v2 { * Finding container version, if available ("generation" for Cloud Storage). */ containerVersion?: string | null; + /** + * Location within a conversation. + */ + conversationLocation?: Schema$GooglePrivacyDlpV2ConversationLocation; /** * Location data for document files. */ @@ -1067,6 +1079,45 @@ export namespace dlp_v2 { */ properties?: Schema$GooglePrivacyDlpV2KeyValueMetadataProperty[]; } + /** + * Complete conversation or slice of a conversation. It is assumed that all included messages are contiguous and ordered in chronological order. + */ + export interface Schema$GooglePrivacyDlpV2Conversation { + /** + * Messages exchanged within this conversation. The maximum number of messages allowed is 50k. The order of the messages is assumed to be chronological and will be used to index findings in the response. + */ + messages?: Schema$GooglePrivacyDlpV2ConversationMessage[]; + } + /** + * Location within a conversation. + */ + export interface Schema$GooglePrivacyDlpV2ConversationLocation { + /** + * If set, indicates that the finding applies to all messages in the conversation. + */ + allMessages?: Schema$GooglePrivacyDlpV2AllMessages; + /** + * Matches an index of a message in the conversation provided in the request. + */ + messageIndex?: number | null; + } + /** + * Single message in a conversation. + */ + export interface Schema$GooglePrivacyDlpV2ConversationMessage { + /** + * The contents of this message. + */ + content?: string | null; + /** + * The type of message. + */ + messageType?: string | null; + /** + * Optional. The identifier of the participant. For example 'test-user' or 'gemini'. The participant ID can contain lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$`. The maximum length is 63 characters. + */ + participantId?: string | null; + } /** * Request message for CreateConnection. */ @@ -3330,6 +3381,10 @@ export namespace dlp_v2 { * The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to learn more. */ export interface Schema$GooglePrivacyDlpV2InspectTemplate { + /** + * Optional. Enables the use of [limited-availability built-in infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#limited-availability-infotypes) in inspect_config. These infoTypes are supported only in specific regions and can cause scanning errors if used elsewhere. + */ + allowLimitedAvailabilityInfoTypes?: boolean | null; /** * Output only. The creation timestamp of an inspectTemplate. */ @@ -7053,6 +7108,7 @@ export namespace dlp_v2 { * * // Example response * // { + * // "allowLimitedAvailabilityInfoTypes": false, * // "createTime": "my_createTime", * // "description": "my_description", * // "displayName": "my_displayName", @@ -7337,6 +7393,7 @@ export namespace dlp_v2 { * * // Example response * // { + * // "allowLimitedAvailabilityInfoTypes": false, * // "createTime": "my_createTime", * // "description": "my_description", * // "displayName": "my_displayName", @@ -7651,6 +7708,7 @@ export namespace dlp_v2 { * * // Example response * // { + * // "allowLimitedAvailabilityInfoTypes": false, * // "createTime": "my_createTime", * // "description": "my_description", * // "displayName": "my_displayName", @@ -11795,6 +11853,7 @@ export namespace dlp_v2 { * * // Example response * // { + * // "allowLimitedAvailabilityInfoTypes": false, * // "createTime": "my_createTime", * // "description": "my_description", * // "displayName": "my_displayName", @@ -12081,6 +12140,7 @@ export namespace dlp_v2 { * * // Example response * // { + * // "allowLimitedAvailabilityInfoTypes": false, * // "createTime": "my_createTime", * // "description": "my_description", * // "displayName": "my_displayName", @@ -12397,6 +12457,7 @@ export namespace dlp_v2 { * * // Example response * // { + * // "allowLimitedAvailabilityInfoTypes": false, * // "createTime": "my_createTime", * // "description": "my_description", * // "displayName": "my_displayName", @@ -18302,6 +18363,7 @@ export namespace dlp_v2 { * * // Example response * // { + * // "allowLimitedAvailabilityInfoTypes": false, * // "createTime": "my_createTime", * // "description": "my_description", * // "displayName": "my_displayName", @@ -18586,6 +18648,7 @@ export namespace dlp_v2 { * * // Example response * // { + * // "allowLimitedAvailabilityInfoTypes": false, * // "createTime": "my_createTime", * // "description": "my_description", * // "displayName": "my_displayName", @@ -18900,6 +18963,7 @@ export namespace dlp_v2 { * * // Example response * // { + * // "allowLimitedAvailabilityInfoTypes": false, * // "createTime": "my_createTime", * // "description": "my_description", * // "displayName": "my_displayName", @@ -25673,6 +25737,7 @@ export namespace dlp_v2 { * * // Example response * // { + * // "allowLimitedAvailabilityInfoTypes": false, * // "createTime": "my_createTime", * // "description": "my_description", * // "displayName": "my_displayName", @@ -25959,6 +26024,7 @@ export namespace dlp_v2 { * * // Example response * // { + * // "allowLimitedAvailabilityInfoTypes": false, * // "createTime": "my_createTime", * // "description": "my_description", * // "displayName": "my_displayName", @@ -26273,6 +26339,7 @@ export namespace dlp_v2 { * * // Example response * // { + * // "allowLimitedAvailabilityInfoTypes": false, * // "createTime": "my_createTime", * // "description": "my_description", * // "displayName": "my_displayName", From 94ef21817a930c76a591e7bf34356405fd0fd553 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:38 +0000 Subject: [PATCH 32/69] feat(documentai): update the API #### documentai:v1beta3 The following keys were changed: - resources.projects.resources.locations.methods.list.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description #### documentai:v1 The following keys were added: - schemas.GoogleCloudDocumentaiV1Document.properties.blobAssets.description - schemas.GoogleCloudDocumentaiV1Document.properties.blobAssets.items.$ref - schemas.GoogleCloudDocumentaiV1Document.properties.blobAssets.type - schemas.GoogleCloudDocumentaiV1DocumentAnnotations.description - schemas.GoogleCloudDocumentaiV1DocumentAnnotations.id - schemas.GoogleCloudDocumentaiV1DocumentAnnotations.properties.description.description - schemas.GoogleCloudDocumentaiV1DocumentAnnotations.properties.description.type - schemas.GoogleCloudDocumentaiV1DocumentAnnotations.type - schemas.GoogleCloudDocumentaiV1DocumentBlobAsset.description - schemas.GoogleCloudDocumentaiV1DocumentBlobAsset.id - schemas.GoogleCloudDocumentaiV1DocumentBlobAsset.properties.assetId.description - schemas.GoogleCloudDocumentaiV1DocumentBlobAsset.properties.assetId.type - schemas.GoogleCloudDocumentaiV1DocumentBlobAsset.properties.content.description - schemas.GoogleCloudDocumentaiV1DocumentBlobAsset.properties.content.format - schemas.GoogleCloudDocumentaiV1DocumentBlobAsset.properties.content.type - schemas.GoogleCloudDocumentaiV1DocumentBlobAsset.properties.mimeType.description - schemas.GoogleCloudDocumentaiV1DocumentBlobAsset.properties.mimeType.type - schemas.GoogleCloudDocumentaiV1DocumentBlobAsset.type - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk.properties.chunkFields.description - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk.properties.chunkFields.items.$ref - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk.properties.chunkFields.type - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField.description - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField.id - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField.properties.imageChunkField.$ref - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField.properties.imageChunkField.description - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField.properties.tableChunkField.$ref - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField.properties.tableChunkField.description - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField.type - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField.description - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField.id - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField.properties.annotations.$ref - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField.properties.annotations.description - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField.properties.blobAssetId.description - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField.properties.blobAssetId.type - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField.properties.dataUri.description - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField.properties.dataUri.type - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField.properties.gcsUri.description - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField.properties.gcsUri.type - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField.type - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField.description - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField.id - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField.properties.annotations.$ref - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField.properties.annotations.description - schemas.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField.type - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock.properties.imageBlock.$ref - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock.properties.imageBlock.description - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.description - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.id - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.properties.annotations.$ref - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.properties.annotations.description - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.properties.blobAssetId.description - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.properties.blobAssetId.type - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.properties.dataUri.description - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.properties.dataUri.type - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.properties.gcsUri.description - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.properties.gcsUri.type - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.properties.imageText.description - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.properties.imageText.type - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.properties.mimeType.description - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.properties.mimeType.type - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock.type - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock.properties.annotations.$ref - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock.properties.annotations.description - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock.properties.annotations.$ref - schemas.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock.properties.annotations.description The following keys were changed: - resources.projects.resources.locations.methods.list.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description --- discovery/documentai-v1.json | 143 +++++++++++++++++++++++++++++- discovery/documentai-v1beta3.json | 6 +- src/apis/documentai/v1.ts | 124 +++++++++++++++++++++++++- src/apis/documentai/v1beta3.ts | 6 +- 4 files changed, 267 insertions(+), 12 deletions(-) diff --git a/discovery/documentai-v1.json b/discovery/documentai-v1.json index 59023e6889..1e528af1c0 100644 --- a/discovery/documentai-v1.json +++ b/discovery/documentai-v1.json @@ -231,7 +231,7 @@ ] }, "list": { - "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", + "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", "flatPath": "v1/projects/{projectsId}/locations", "httpMethod": "GET", "id": "documentai.projects.locations.list", @@ -240,7 +240,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1436,7 +1436,7 @@ } } }, - "revision": "20260325", + "revision": "20260503", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "CloudAiDocumentaiLabHifiaToolsValidationValidatorInput": { @@ -3727,6 +3727,13 @@ "description": "Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.", "id": "GoogleCloudDocumentaiV1Document", "properties": { + "blobAssets": { + "description": "Optional. The blob assets in this document. This is used to store the content of the inline blobs in this document, for example, image bytes, such that it can be referenced by other fields in the document via asset id.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentBlobAsset" + }, + "type": "array" + }, "chunkedDocument": { "$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocument", "description": "Document chunked based on chunking config." @@ -3825,6 +3832,37 @@ }, "type": "object" }, + "GoogleCloudDocumentaiV1DocumentAnnotations": { + "description": "Represents the annotation of a block or a chunk.", + "id": "GoogleCloudDocumentaiV1DocumentAnnotations", + "properties": { + "description": { + "description": "The description of the content with this annotation.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentBlobAsset": { + "description": "Represents a blob asset. It's used to store the content of the inline blob in this document, for example, image bytes, such that it can be referenced by other fields in the document via asset ID.", + "id": "GoogleCloudDocumentaiV1DocumentBlobAsset", + "properties": { + "assetId": { + "description": "Optional. The id of the blob asset.", + "type": "string" + }, + "content": { + "description": "Optional. The content of the blob asset, for example, image bytes.", + "format": "byte", + "type": "string" + }, + "mimeType": { + "description": "The mime type of the blob asset. An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDocumentaiV1DocumentChunkedDocument": { "description": "Represents the chunks that the document is divided into.", "id": "GoogleCloudDocumentaiV1DocumentChunkedDocument", @@ -3843,6 +3881,13 @@ "description": "Represents a chunk.", "id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk", "properties": { + "chunkFields": { + "description": "Chunk fields inside this chunk.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField" + }, + "type": "array" + }, "chunkId": { "description": "ID of the chunk.", "type": "string" @@ -3879,6 +3924,21 @@ }, "type": "object" }, + "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField": { + "description": "The chunk field in the chunk. A chunk field could be one of the various types (for example, image, table) supported.", + "id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField", + "properties": { + "imageChunkField": { + "$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField", + "description": "The image chunk field in the chunk." + }, + "tableChunkField": { + "$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField", + "description": "The table chunk field in the chunk." + } + }, + "type": "object" + }, "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter": { "description": "Represents the page footer associated with the chunk.", "id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter", @@ -3926,6 +3986,40 @@ }, "type": "object" }, + "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField": { + "description": "The image chunk field in the chunk.", + "id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField", + "properties": { + "annotations": { + "$ref": "GoogleCloudDocumentaiV1DocumentAnnotations", + "description": "Annotation of the image chunk field." + }, + "blobAssetId": { + "description": "Optional. Asset id of the inline image. If set, find the image content in the blob_assets field.", + "type": "string" + }, + "dataUri": { + "description": "Optional. Data uri of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:,", + "type": "string" + }, + "gcsUri": { + "description": "Optional. Google Cloud Storage uri of the image.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField": { + "description": "The table chunk field in the chunk.", + "id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField", + "properties": { + "annotations": { + "$ref": "GoogleCloudDocumentaiV1DocumentAnnotations", + "description": "Annotation of the table chunk field." + } + }, + "type": "object" + }, "GoogleCloudDocumentaiV1DocumentDocumentLayout": { "description": "Represents the parsed layout of a document as a collection of blocks that the document is divided into.", "id": "GoogleCloudDocumentaiV1DocumentDocumentLayout", @@ -3952,6 +4046,10 @@ "$ref": "GoogleCloudDocumentaiV1BoundingPoly", "description": "Identifies the bounding box for the block." }, + "imageBlock": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock", + "description": "Block consisting of image content." + }, "listBlock": { "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", "description": "Block consisting of list content/structure." @@ -3971,6 +4069,37 @@ }, "type": "object" }, + "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock": { + "description": "Represents an image type block.", + "id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock", + "properties": { + "annotations": { + "$ref": "GoogleCloudDocumentaiV1DocumentAnnotations", + "description": "Annotation of the image block." + }, + "blobAssetId": { + "description": "Optional. Asset id of the inline image. If set, find the image content in the blob_assets field.", + "type": "string" + }, + "dataUri": { + "description": "Optional. Data uri of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:,", + "type": "string" + }, + "gcsUri": { + "description": "Optional. Google Cloud Storage uri of the image.", + "type": "string" + }, + "imageText": { + "description": "Text extracted from the image using OCR or alt text describing the image.", + "type": "string" + }, + "mimeType": { + "description": "Mime type of the image. An IANA published [media type (MIME type)] (https://www.iana.org/assignments/media-types/media-types.xhtml).", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock": { "description": "Represents a list type block.", "id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", @@ -4024,6 +4153,10 @@ "description": "Represents a table type block.", "id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", "properties": { + "annotations": { + "$ref": "GoogleCloudDocumentaiV1DocumentAnnotations", + "description": "Annotation of the table block." + }, "bodyRows": { "description": "Body rows containing main table content.", "items": { @@ -4087,6 +4220,10 @@ "description": "Represents a text type block.", "id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", "properties": { + "annotations": { + "$ref": "GoogleCloudDocumentaiV1DocumentAnnotations", + "description": "Annotation of the text block." + }, "blocks": { "description": "A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.", "items": { diff --git a/discovery/documentai-v1beta3.json b/discovery/documentai-v1beta3.json index 6774e51347..ca228aa50d 100644 --- a/discovery/documentai-v1beta3.json +++ b/discovery/documentai-v1beta3.json @@ -202,7 +202,7 @@ ] }, "list": { - "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", + "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", "flatPath": "v1beta3/projects/{projectsId}/locations", "httpMethod": "GET", "id": "documentai.projects.locations.list", @@ -211,7 +211,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1678,7 +1678,7 @@ } } }, - "revision": "20260325", + "revision": "20260503", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "CloudAiDocumentaiLabHifiaToolsValidationValidatorInput": { diff --git a/src/apis/documentai/v1.ts b/src/apis/documentai/v1.ts index 705b4500c9..77a5fc86d3 100644 --- a/src/apis/documentai/v1.ts +++ b/src/apis/documentai/v1.ts @@ -2624,6 +2624,10 @@ export namespace documentai_v1 { * Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality. */ export interface Schema$GoogleCloudDocumentaiV1Document { + /** + * Optional. The blob assets in this document. This is used to store the content of the inline blobs in this document, for example, image bytes, such that it can be referenced by other fields in the document via asset id. + */ + blobAssets?: Schema$GoogleCloudDocumentaiV1DocumentBlobAsset[]; /** * Document chunked based on chunking config. */ @@ -2697,6 +2701,32 @@ export namespace documentai_v1 { */ uri?: string | null; } + /** + * Represents the annotation of a block or a chunk. + */ + export interface Schema$GoogleCloudDocumentaiV1DocumentAnnotations { + /** + * The description of the content with this annotation. + */ + description?: string | null; + } + /** + * Represents a blob asset. It's used to store the content of the inline blob in this document, for example, image bytes, such that it can be referenced by other fields in the document via asset ID. + */ + export interface Schema$GoogleCloudDocumentaiV1DocumentBlobAsset { + /** + * Optional. The id of the blob asset. + */ + assetId?: string | null; + /** + * Optional. The content of the blob asset, for example, image bytes. + */ + content?: string | null; + /** + * The mime type of the blob asset. An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml). + */ + mimeType?: string | null; + } /** * Represents the chunks that the document is divided into. */ @@ -2710,6 +2740,10 @@ export namespace documentai_v1 { * Represents a chunk. */ export interface Schema$GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk { + /** + * Chunk fields inside this chunk. + */ + chunkFields?: Schema$GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField[]; /** * ID of the chunk. */ @@ -2735,6 +2769,19 @@ export namespace documentai_v1 { */ sourceBlockIds?: string[] | null; } + /** + * The chunk field in the chunk. A chunk field could be one of the various types (for example, image, table) supported. + */ + export interface Schema$GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkField { + /** + * The image chunk field in the chunk. + */ + imageChunkField?: Schema$GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField; + /** + * The table chunk field in the chunk. + */ + tableChunkField?: Schema$GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField; + } /** * Represents the page footer associated with the chunk. */ @@ -2774,6 +2821,36 @@ export namespace documentai_v1 { */ pageStart?: number | null; } + /** + * The image chunk field in the chunk. + */ + export interface Schema$GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkImageChunkField { + /** + * Annotation of the image chunk field. + */ + annotations?: Schema$GoogleCloudDocumentaiV1DocumentAnnotations; + /** + * Optional. Asset id of the inline image. If set, find the image content in the blob_assets field. + */ + blobAssetId?: string | null; + /** + * Optional. Data uri of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:, + */ + dataUri?: string | null; + /** + * Optional. Google Cloud Storage uri of the image. + */ + gcsUri?: string | null; + } + /** + * The table chunk field in the chunk. + */ + export interface Schema$GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkTableChunkField { + /** + * Annotation of the table chunk field. + */ + annotations?: Schema$GoogleCloudDocumentaiV1DocumentAnnotations; + } /** * Represents the parsed layout of a document as a collection of blocks that the document is divided into. */ @@ -2795,6 +2872,10 @@ export namespace documentai_v1 { * Identifies the bounding box for the block. */ boundingBox?: Schema$GoogleCloudDocumentaiV1BoundingPoly; + /** + * Block consisting of image content. + */ + imageBlock?: Schema$GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock; /** * Block consisting of list content/structure. */ @@ -2812,6 +2893,35 @@ export namespace documentai_v1 { */ textBlock?: Schema$GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock; } + /** + * Represents an image type block. + */ + export interface Schema$GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock { + /** + * Annotation of the image block. + */ + annotations?: Schema$GoogleCloudDocumentaiV1DocumentAnnotations; + /** + * Optional. Asset id of the inline image. If set, find the image content in the blob_assets field. + */ + blobAssetId?: string | null; + /** + * Optional. Data uri of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:, + */ + dataUri?: string | null; + /** + * Optional. Google Cloud Storage uri of the image. + */ + gcsUri?: string | null; + /** + * Text extracted from the image using OCR or alt text describing the image. + */ + imageText?: string | null; + /** + * Mime type of the image. An IANA published [media type (MIME type)] (https://www.iana.org/assignments/media-types/media-types.xhtml). + */ + mimeType?: string | null; + } /** * Represents a list type block. */ @@ -2851,6 +2961,10 @@ export namespace documentai_v1 { * Represents a table type block. */ export interface Schema$GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock { + /** + * Annotation of the table block. + */ + annotations?: Schema$GoogleCloudDocumentaiV1DocumentAnnotations; /** * Body rows containing main table content. */ @@ -2894,6 +3008,10 @@ export namespace documentai_v1 { * Represents a text type block. */ export interface Schema$GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock { + /** + * Annotation of the text block. + */ + annotations?: Schema$GoogleCloudDocumentaiV1DocumentAnnotations; /** * A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks. */ @@ -5842,7 +5960,7 @@ export namespace documentai_v1 { } /** - * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. + * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. * @example * ```js * // Before running the sample: @@ -5872,7 +5990,7 @@ export namespace documentai_v1 { * * // Do the magic * const res = await documentai.projects.locations.list({ - * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. * extraLocationTypes: 'placeholder-value', * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). * filter: 'placeholder-value', @@ -6012,7 +6130,7 @@ export namespace documentai_v1 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** - * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */ extraLocationTypes?: string[]; /** diff --git a/src/apis/documentai/v1beta3.ts b/src/apis/documentai/v1beta3.ts index 596e4af549..78b60e95b9 100644 --- a/src/apis/documentai/v1beta3.ts +++ b/src/apis/documentai/v1beta3.ts @@ -5684,7 +5684,7 @@ export namespace documentai_v1beta3 { } /** - * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. + * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. * @example * ```js * // Before running the sample: @@ -5714,7 +5714,7 @@ export namespace documentai_v1beta3 { * * // Do the magic * const res = await documentai.projects.locations.list({ - * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. * extraLocationTypes: 'placeholder-value', * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). * filter: 'placeholder-value', @@ -5854,7 +5854,7 @@ export namespace documentai_v1beta3 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** - * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */ extraLocationTypes?: string[]; /** From bb02c951e0cecc40baa7b71658892e243ec52711 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:38 +0000 Subject: [PATCH 33/69] fix(eventarc): update the API #### eventarc:v1 The following keys were changed: - resources.projects.resources.locations.resources.googleApiSources.methods.delete.parameters.allowMissing.description - resources.projects.resources.locations.resources.googleApiSources.methods.delete.parameters.etag.description --- discovery/eventarc-v1.json | 6 +++--- src/apis/eventarc/v1.ts | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/discovery/eventarc-v1.json b/discovery/eventarc-v1.json index 19fe5e41c6..3af5d6db92 100644 --- a/discovery/eventarc-v1.json +++ b/discovery/eventarc-v1.json @@ -1297,12 +1297,12 @@ ], "parameters": { "allowMissing": { - "description": "Optional. If set to true, and the MessageBus is not found, the request will succeed but no action will be taken on the server.", + "description": "Optional. If set to true, and the GoogleApiSource is not found, the request will succeed but no action will be taken on the server.", "location": "query", "type": "boolean" }, "etag": { - "description": "Optional. If provided, the MessageBus will only be deleted if the etag matches the current etag on the resource.", + "description": "Optional. If provided, the GoogleApiSource will only be deleted if the etag matches the current etag on the resource.", "location": "query", "type": "string" }, @@ -2627,7 +2627,7 @@ } } }, - "revision": "20260424", + "revision": "20260506", "rootUrl": "https://eventarc.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/src/apis/eventarc/v1.ts b/src/apis/eventarc/v1.ts index b25d2d9669..a00ef464b8 100644 --- a/src/apis/eventarc/v1.ts +++ b/src/apis/eventarc/v1.ts @@ -5994,9 +5994,9 @@ export namespace eventarc_v1 { * * // Do the magic * const res = await eventarc.projects.locations.googleApiSources.delete({ - * // Optional. If set to true, and the MessageBus is not found, the request will succeed but no action will be taken on the server. + * // Optional. If set to true, and the GoogleApiSource is not found, the request will succeed but no action will be taken on the server. * allowMissing: 'placeholder-value', - * // Optional. If provided, the MessageBus will only be deleted if the etag matches the current etag on the resource. + * // Optional. If provided, the GoogleApiSource will only be deleted if the etag matches the current etag on the resource. * etag: 'placeholder-value', * // Required. The name of the GoogleApiSource to be deleted. * name: 'projects/my-project/locations/my-location/googleApiSources/my-googleApiSource', @@ -7049,11 +7049,11 @@ export namespace eventarc_v1 { } export interface Params$Resource$Projects$Locations$Googleapisources$Delete extends StandardParameters { /** - * Optional. If set to true, and the MessageBus is not found, the request will succeed but no action will be taken on the server. + * Optional. If set to true, and the GoogleApiSource is not found, the request will succeed but no action will be taken on the server. */ allowMissing?: boolean; /** - * Optional. If provided, the MessageBus will only be deleted if the etag matches the current etag on the resource. + * Optional. If provided, the GoogleApiSource will only be deleted if the etag matches the current etag on the resource. */ etag?: string; /** From 0089c89e2da02fd277763a8e0593c951aaa2d343 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:38 +0000 Subject: [PATCH 34/69] feat(firebaseappdistribution): update the API #### firebaseappdistribution:v1alpha The following keys were changed: - schemas.GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse.properties.errorCode.enum - schemas.GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse.properties.errorCode.enumDescriptions #### firebaseappdistribution:v1 The following keys were added: - schemas.GdataMedia.properties.sha512Hash.description - schemas.GdataMedia.properties.sha512Hash.format - schemas.GdataMedia.properties.sha512Hash.type The following keys were changed: - schemas.GoogleFirebaseAppdistroV1AabInfo.properties.integrationState.enum - schemas.GoogleFirebaseAppdistroV1AabInfo.properties.integrationState.enumDescriptions --- discovery/firebaseappdistribution-v1.json | 13 ++++++++++--- discovery/firebaseappdistribution-v1alpha.json | 8 +++++--- src/apis/firebaseappdistribution/v1.ts | 4 ++++ 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/discovery/firebaseappdistribution-v1.json b/discovery/firebaseappdistribution-v1.json index edfeb5565b..d5401b6299 100644 --- a/discovery/firebaseappdistribution-v1.json +++ b/discovery/firebaseappdistribution-v1.json @@ -946,7 +946,7 @@ } } }, - "revision": "20260430", + "revision": "20260518", "rootUrl": "https://firebaseappdistribution.googleapis.com/", "schemas": { "GdataBlobstore2Info": { @@ -1366,6 +1366,11 @@ "format": "byte", "type": "string" }, + "sha512Hash": { + "description": "Scotty-provided SHA512 hash for an upload.", + "format": "byte", + "type": "string" + }, "timestamp": { "description": "Time at which the media data was last updated, in milliseconds since UNIX epoch", "format": "uint64", @@ -1413,7 +1418,8 @@ "AAB_STATE_UNAVAILABLE", "PLAY_IAS_TERMS_NOT_ACCEPTED", "ADHOC_SHARING_KEY_NOT_GENERATED", - "ADHOC_SHARING_KEY_NOT_REGISTERED" + "ADHOC_SHARING_KEY_NOT_REGISTERED", + "PLAY_ANDROID_DEVELOPER_CONSOLE_ACCOUNT_NOT_FOUND" ], "enumDescriptions": [ "AAB integration state unspecified.", @@ -1424,7 +1430,8 @@ "Play App status is unavailable.", "Play in-app sharing terms not accepted.", "The ad-hoc sharing key has not been generated for this app.", - "The ad-hoc sharing key is not yet registered in ADI for this app." + "The ad-hoc sharing key is not yet registered in Android Developer Verification for this app.", + "The linked Play developer account was not found or is not fully set up in Android Developer Console." ], "type": "string" }, diff --git a/discovery/firebaseappdistribution-v1alpha.json b/discovery/firebaseappdistribution-v1alpha.json index 1531034b06..51918bb6e5 100644 --- a/discovery/firebaseappdistribution-v1alpha.json +++ b/discovery/firebaseappdistribution-v1alpha.json @@ -868,7 +868,7 @@ } } }, - "revision": "20260504", + "revision": "20260518", "rootUrl": "https://firebaseappdistribution.googleapis.com/", "schemas": { "AndroidxCrawlerOutputPoint": { @@ -1711,7 +1711,8 @@ "AAB_NO_APP_WITH_GIVEN_PACKAGE_NAME_IN_ACCOUNT", "AAB_UPLOAD_ERROR", "APP_NOT_FOUND", - "AAB_ADHOC_SHARING_KEY_NOT_REGISTERED" + "AAB_ADHOC_SHARING_KEY_NOT_REGISTERED", + "AAB_ANDROID_DEVELOPER_CONSOLE_ACCOUNT_NOT_FOUND" ], "enumDescriptions": [ "", @@ -1737,7 +1738,8 @@ "", "", "Happens if the Firebase app no longer exists by the time of extraction", - "" + "", + "A corresponding Android Developer Console account for this app's Play Console account was not found." ], "type": "string" }, diff --git a/src/apis/firebaseappdistribution/v1.ts b/src/apis/firebaseappdistribution/v1.ts index 714b1ab095..28be754874 100644 --- a/src/apis/firebaseappdistribution/v1.ts +++ b/src/apis/firebaseappdistribution/v1.ts @@ -447,6 +447,10 @@ export namespace firebaseappdistribution_v1 { * Scotty-provided SHA256 hash for an upload. */ sha256Hash?: string | null; + /** + * Scotty-provided SHA512 hash for an upload. + */ + sha512Hash?: string | null; /** * Time at which the media data was last updated, in milliseconds since UNIX epoch */ From b2a05ffe6a689b3880269872044a9b7189a2468d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:38 +0000 Subject: [PATCH 35/69] feat(firebaseapphosting): update the API #### firebaseapphosting:v1beta The following keys were added: - schemas.Backend.properties.automaticBaseImageUpdatesDisabled.description - schemas.Backend.properties.automaticBaseImageUpdatesDisabled.type - schemas.Backend.properties.runtime.$ref - schemas.Backend.properties.runtime.description - schemas.BackendRuntime.description - schemas.BackendRuntime.id - schemas.BackendRuntime.properties.value.description - schemas.BackendRuntime.properties.value.type - schemas.BackendRuntime.type The following keys were changed: - schemas.RolloutPolicy.properties.ignoredPaths.description - schemas.RolloutPolicy.properties.requiredPaths.description #### firebaseapphosting:v1 The following keys were changed: - schemas.RolloutPolicy.properties.ignoredPaths.description - schemas.RolloutPolicy.properties.requiredPaths.description --- discovery/firebaseapphosting-v1.json | 6 +++--- discovery/firebaseapphosting-v1beta.json | 25 +++++++++++++++++++--- src/apis/firebaseapphosting/v1.ts | 4 ++-- src/apis/firebaseapphosting/v1beta.ts | 27 ++++++++++++++++++++++-- 4 files changed, 52 insertions(+), 10 deletions(-) diff --git a/discovery/firebaseapphosting-v1.json b/discovery/firebaseapphosting-v1.json index aa4ebf9b13..7445f922a0 100644 --- a/discovery/firebaseapphosting-v1.json +++ b/discovery/firebaseapphosting-v1.json @@ -1106,7 +1106,7 @@ } } }, - "revision": "20260423", + "revision": "20260514", "rootUrl": "https://firebaseapphosting.googleapis.com/", "schemas": { "ArchiveSource": { @@ -2552,14 +2552,14 @@ "type": "string" }, "ignoredPaths": { - "description": "Optional. A list of file paths patterns to exclude from triggering a rollout. Patterns in this list take precedence over required_paths. **Note**: All paths must be in the ignored_paths in order for the rollout to be skipped. Limited to 100 paths. Example: ignored_paths: { pattern: \"foo/bar/excluded/*” type: GLOB }", + "description": "Optional. A list of file paths patterns to exclude from triggering a rollout. Patterns in this list take precedence over required_paths. **Note**: All paths must be in the ignored_paths in order for the rollout to be skipped. Limited to 100 paths. Example: ``` ignored_paths: { pattern: \"foo/bar/excluded/*\", type: \"GLOB\" } ```", "items": { "$ref": "Path" }, "type": "array" }, "requiredPaths": { - "description": "Optional. A list of file paths patterns that trigger a build and rollout if at least one of the changed files in the commit are present in this list. This field is optional; the rollout policy will default to triggering on all paths if not populated. Limited to 100 paths. Example: “required_paths: { pattern: \"foo/bar/*” type: GLOB }", + "description": "Optional. A list of file paths patterns that trigger a build and rollout if at least one of the changed files in the commit are present in this list. This field is optional; the rollout policy will default to triggering on all paths if both ignored_paths and required_paths are not populated. Limited to 100 paths. Example: ``` required_paths: { pattern: \"foo/bar/*\", type: \"GLOB\" } ```", "items": { "$ref": "Path" }, diff --git a/discovery/firebaseapphosting-v1beta.json b/discovery/firebaseapphosting-v1beta.json index 95418de4b4..79c2f8a49c 100644 --- a/discovery/firebaseapphosting-v1beta.json +++ b/discovery/firebaseapphosting-v1beta.json @@ -1138,7 +1138,7 @@ } } }, - "revision": "20260427", + "revision": "20260514", "rootUrl": "https://firebaseapphosting.googleapis.com/", "schemas": { "ArchiveSource": { @@ -1184,6 +1184,10 @@ "description": "Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the backend.", "type": "string" }, + "automaticBaseImageUpdatesDisabled": { + "description": "Optional. automatic_base_image_updates_disabled acts as a way for users to opt out of ABIU.", + "type": "boolean" + }, "codebase": { "$ref": "Codebase", "description": "Optional. If specified, the connection to an external source repository to watch for event-driven updates to the backend." @@ -1253,6 +1257,10 @@ "description": "Optional. A field that, if true, indicates that incoming request logs are disabled for this backend. Incoming request logs are enabled by default.", "type": "boolean" }, + "runtime": { + "$ref": "BackendRuntime", + "description": "Optional. The runtime that the backend will be built on. A default base_image will be chosen for a given runtime." + }, "serviceAccount": { "description": "Required. The name of the service account used for Cloud Build and Cloud Run. Should have the role roles/firebaseapphosting.computeRunner or equivalent permissions.", "type": "string" @@ -1290,6 +1298,17 @@ }, "type": "object" }, + "BackendRuntime": { + "description": "Runtime is a string that represents the runtime that is used to build the backend. Users can specify one of the following runtimes: nodejs20, nodejs22, nodejs24, nodejs. Runtime \"nodejs\" means that nodejs version will be determined at build time. If not specified or specified with a value that is not in the list above, the default runtime `nodejs` will be used and Automatic Base Image Updates will be disabled.", + "id": "BackendRuntime", + "properties": { + "value": { + "description": "Optional. The value of the runtime.", + "type": "string" + } + }, + "type": "object" + }, "Build": { "description": "A single build for a backend, at a specific point codebase reference tag and point in time. Encapsulates several resources, including an Artifact Registry container image, a Cloud Build invocation that built the image, and the Cloud Run revision that uses that image.", "id": "Build", @@ -2627,14 +2646,14 @@ "type": "string" }, "ignoredPaths": { - "description": "Optional. A list of file paths patterns to exclude from triggering a rollout. Patterns in this list take precedence over required_paths. **Note**: All paths must be in the ignored_paths in order for the rollout to be skipped. Limited to 100 paths. Example: ignored_paths: { pattern: \"foo/bar/excluded/*” type: GLOB }", + "description": "Optional. A list of file paths patterns to exclude from triggering a rollout. Patterns in this list take precedence over required_paths. **Note**: All paths must be in the ignored_paths in order for the rollout to be skipped. Limited to 100 paths. Example: ``` ignored_paths: { pattern: \"foo/bar/excluded/*\", type: \"GLOB\" } ```", "items": { "$ref": "Path" }, "type": "array" }, "requiredPaths": { - "description": "Optional. A list of file paths patterns that trigger a build and rollout if at least one of the changed files in the commit are present in this list. This field is optional; the rollout policy will default to triggering on all paths if not populated. Limited to 100 paths. Example: “required_paths: { pattern: \"foo/bar/*” type: GLOB }", + "description": "Optional. A list of file paths patterns that trigger a build and rollout if at least one of the changed files in the commit are present in this list. This field is optional; the rollout policy will default to triggering on all paths if both ignored_paths and required_paths are not populated. Limited to 100 paths. Example: ``` required_paths: { pattern: \"foo/bar/*\", type: \"GLOB\" } ```", "items": { "$ref": "Path" }, diff --git a/src/apis/firebaseapphosting/v1.ts b/src/apis/firebaseapphosting/v1.ts index a5278a87d9..0764323a3b 100644 --- a/src/apis/firebaseapphosting/v1.ts +++ b/src/apis/firebaseapphosting/v1.ts @@ -980,11 +980,11 @@ export namespace firebaseapphosting_v1 { */ disabledTime?: string | null; /** - * Optional. A list of file paths patterns to exclude from triggering a rollout. Patterns in this list take precedence over required_paths. **Note**: All paths must be in the ignored_paths in order for the rollout to be skipped. Limited to 100 paths. Example: ignored_paths: { pattern: "foo/bar/excluded/x” type: GLOB \} + * Optional. A list of file paths patterns to exclude from triggering a rollout. Patterns in this list take precedence over required_paths. **Note**: All paths must be in the ignored_paths in order for the rollout to be skipped. Limited to 100 paths. Example: ``` ignored_paths: { pattern: "foo/bar/excluded/x", type: "GLOB" \} ``` */ ignoredPaths?: Schema$Path[]; /** - * Optional. A list of file paths patterns that trigger a build and rollout if at least one of the changed files in the commit are present in this list. This field is optional; the rollout policy will default to triggering on all paths if not populated. Limited to 100 paths. Example: “required_paths: { pattern: "foo/bar/x” type: GLOB \} + * Optional. A list of file paths patterns that trigger a build and rollout if at least one of the changed files in the commit are present in this list. This field is optional; the rollout policy will default to triggering on all paths if both ignored_paths and required_paths are not populated. Limited to 100 paths. Example: ``` required_paths: { pattern: "foo/bar/x", type: "GLOB" \} ``` */ requiredPaths?: Schema$Path[]; } diff --git a/src/apis/firebaseapphosting/v1beta.ts b/src/apis/firebaseapphosting/v1beta.ts index 0538c9094d..3b16905b16 100644 --- a/src/apis/firebaseapphosting/v1beta.ts +++ b/src/apis/firebaseapphosting/v1beta.ts @@ -161,6 +161,10 @@ export namespace firebaseapphosting_v1beta { * Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the backend. */ appId?: string | null; + /** + * Optional. automatic_base_image_updates_disabled acts as a way for users to opt out of ABIU. + */ + automaticBaseImageUpdatesDisabled?: boolean | null; /** * Optional. If specified, the connection to an external source repository to watch for event-driven updates to the backend. */ @@ -213,6 +217,10 @@ export namespace firebaseapphosting_v1beta { * Optional. A field that, if true, indicates that incoming request logs are disabled for this backend. Incoming request logs are enabled by default. */ requestLogsDisabled?: boolean | null; + /** + * Optional. The runtime that the backend will be built on. A default base_image will be chosen for a given runtime. + */ + runtime?: Schema$BackendRuntime; /** * Required. The name of the service account used for Cloud Build and Cloud Run. Should have the role roles/firebaseapphosting.computeRunner or equivalent permissions. */ @@ -234,6 +242,15 @@ export namespace firebaseapphosting_v1beta { */ uri?: string | null; } + /** + * Runtime is a string that represents the runtime that is used to build the backend. Users can specify one of the following runtimes: nodejs20, nodejs22, nodejs24, nodejs. Runtime "nodejs" means that nodejs version will be determined at build time. If not specified or specified with a value that is not in the list above, the default runtime `nodejs` will be used and Automatic Base Image Updates will be disabled. + */ + export interface Schema$BackendRuntime { + /** + * Optional. The value of the runtime. + */ + value?: string | null; + } /** * A single build for a backend, at a specific point codebase reference tag and point in time. Encapsulates several resources, including an Artifact Registry container image, a Cloud Build invocation that built the image, and the Cloud Run revision that uses that image. */ @@ -1001,11 +1018,11 @@ export namespace firebaseapphosting_v1beta { */ disabledTime?: string | null; /** - * Optional. A list of file paths patterns to exclude from triggering a rollout. Patterns in this list take precedence over required_paths. **Note**: All paths must be in the ignored_paths in order for the rollout to be skipped. Limited to 100 paths. Example: ignored_paths: { pattern: "foo/bar/excluded/x” type: GLOB \} + * Optional. A list of file paths patterns to exclude from triggering a rollout. Patterns in this list take precedence over required_paths. **Note**: All paths must be in the ignored_paths in order for the rollout to be skipped. Limited to 100 paths. Example: ``` ignored_paths: { pattern: "foo/bar/excluded/x", type: "GLOB" \} ``` */ ignoredPaths?: Schema$Path[]; /** - * Optional. A list of file paths patterns that trigger a build and rollout if at least one of the changed files in the commit are present in this list. This field is optional; the rollout policy will default to triggering on all paths if not populated. Limited to 100 paths. Example: “required_paths: { pattern: "foo/bar/x” type: GLOB \} + * Optional. A list of file paths patterns that trigger a build and rollout if at least one of the changed files in the commit are present in this list. This field is optional; the rollout policy will default to triggering on all paths if both ignored_paths and required_paths are not populated. Limited to 100 paths. Example: ``` required_paths: { pattern: "foo/bar/x", type: "GLOB" \} ``` */ requiredPaths?: Schema$Path[]; } @@ -1610,6 +1627,7 @@ export namespace firebaseapphosting_v1beta { * // { * // "annotations": {}, * // "appId": "my_appId", + * // "automaticBaseImageUpdatesDisabled": false, * // "codebase": {}, * // "createTime": "my_createTime", * // "deleteTime": "my_deleteTime", @@ -1623,6 +1641,7 @@ export namespace firebaseapphosting_v1beta { * // "overrideEnv": [], * // "reconciling": false, * // "requestLogsDisabled": false, + * // "runtime": {}, * // "serviceAccount": "my_serviceAccount", * // "servingLocality": "my_servingLocality", * // "uid": "my_uid", @@ -1926,6 +1945,7 @@ export namespace firebaseapphosting_v1beta { * // { * // "annotations": {}, * // "appId": "my_appId", + * // "automaticBaseImageUpdatesDisabled": false, * // "codebase": {}, * // "createTime": "my_createTime", * // "deleteTime": "my_deleteTime", @@ -1939,6 +1959,7 @@ export namespace firebaseapphosting_v1beta { * // "overrideEnv": [], * // "reconciling": false, * // "requestLogsDisabled": false, + * // "runtime": {}, * // "serviceAccount": "my_serviceAccount", * // "servingLocality": "my_servingLocality", * // "uid": "my_uid", @@ -2240,6 +2261,7 @@ export namespace firebaseapphosting_v1beta { * // { * // "annotations": {}, * // "appId": "my_appId", + * // "automaticBaseImageUpdatesDisabled": false, * // "codebase": {}, * // "createTime": "my_createTime", * // "deleteTime": "my_deleteTime", @@ -2253,6 +2275,7 @@ export namespace firebaseapphosting_v1beta { * // "overrideEnv": [], * // "reconciling": false, * // "requestLogsDisabled": false, + * // "runtime": {}, * // "serviceAccount": "my_serviceAccount", * // "servingLocality": "my_servingLocality", * // "uid": "my_uid", From 528fb8b9ea162f96e90cb4e6faeebb36b65d1232 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:38 +0000 Subject: [PATCH 36/69] feat(firebaseml): update the API #### firebaseml:v2beta The following keys were added: - schemas.GoogleCloudAiplatformV1beta1FunctionDeclaration.properties.behavior.description - schemas.GoogleCloudAiplatformV1beta1FunctionDeclaration.properties.behavior.enum - schemas.GoogleCloudAiplatformV1beta1FunctionDeclaration.properties.behavior.enumDescriptions - schemas.GoogleCloudAiplatformV1beta1FunctionDeclaration.properties.behavior.type --- discovery/firebaseml-v2beta.json | 16 +++++++++++++++- src/apis/firebaseml/v2beta.ts | 4 ++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/discovery/firebaseml-v2beta.json b/discovery/firebaseml-v2beta.json index b0e856a8b7..fb40c60076 100644 --- a/discovery/firebaseml-v2beta.json +++ b/discovery/firebaseml-v2beta.json @@ -206,7 +206,7 @@ } } }, - "revision": "20260408", + "revision": "20260517", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -925,6 +925,20 @@ "description": "Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.", "id": "GoogleCloudAiplatformV1beta1FunctionDeclaration", "properties": { + "behavior": { + "description": "Optional. Specifies the function Behavior. If not specified, the system keeps the current function call behavior. This field is currently only supported by the BidiGenerateContent method.", + "enum": [ + "UNSPECIFIED", + "BLOCKING", + "NON_BLOCKING" + ], + "enumDescriptions": [ + "This value is unspecified.", + "If set, the system will wait to receive the function response before continuing the conversation.", + "If set, the system will not wait to receive the function response. Instead, it will attempt to handle function responses as they become available while maintaining the conversation between the user and the model." + ], + "type": "string" + }, "description": { "description": "Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.", "type": "string" diff --git a/src/apis/firebaseml/v2beta.ts b/src/apis/firebaseml/v2beta.ts index 3a0eee6f0c..e63e50dd19 100644 --- a/src/apis/firebaseml/v2beta.ts +++ b/src/apis/firebaseml/v2beta.ts @@ -581,6 +581,10 @@ export namespace firebaseml_v2beta { * Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client. */ export interface Schema$GoogleCloudAiplatformV1beta1FunctionDeclaration { + /** + * Optional. Specifies the function Behavior. If not specified, the system keeps the current function call behavior. This field is currently only supported by the BidiGenerateContent method. + */ + behavior?: string | null; /** * Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. */ From e1cc889fa7721d66ee21cd27be7dc24ee82c2019 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:38 +0000 Subject: [PATCH 37/69] fix(firestore): update the API #### firestore:v1 The following keys were changed: - schemas.GoogleFirestoreAdminV1Index.properties.searchIndexOptions.description - schemas.GoogleFirestoreAdminV1SearchGeoSpec.properties.geoJsonIndexingDisabled.description - schemas.GoogleFirestoreAdminV1SearchIndexOptions.properties.textLanguageOverrideFieldPath.description - schemas.GoogleFirestoreAdminV1SearchTextIndexSpec.properties.indexType.enumDescriptions - schemas.GoogleFirestoreAdminV1SearchTextIndexSpec.properties.matchType.enumDescriptions --- discovery/firestore-v1.json | 12 ++++++------ src/apis/firestore/v1.ts | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/discovery/firestore-v1.json b/discovery/firestore-v1.json index 24c91ed508..cfdd743662 100644 --- a/discovery/firestore-v1.json +++ b/discovery/firestore-v1.json @@ -2435,7 +2435,7 @@ } } }, - "revision": "20260427", + "revision": "20260507", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -4185,7 +4185,7 @@ }, "searchIndexOptions": { "$ref": "GoogleFirestoreAdminV1SearchIndexOptions", - "description": "Optional. Options for search indexes that are at the index definition level. This field is only currently supported for indexes with MONGODB_COMPATIBLE_API ApiScope." + "description": "Optional. Options for search indexes that are at the index definition level." }, "shardCount": { "description": "Optional. The number of shards for the index.", @@ -4632,7 +4632,7 @@ "id": "GoogleFirestoreAdminV1SearchGeoSpec", "properties": { "geoJsonIndexingDisabled": { - "description": "Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed.", + "description": "Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed. Firestore GeoPoints are indexed regardless of this value.", "type": "boolean" } }, @@ -4647,7 +4647,7 @@ "type": "string" }, "textLanguageOverrideFieldPath": { - "description": "Optional. The field in the document that specifies which language to use for that specific document. For indexes with MONGODB_COMPATIBLE_API ApiScope: if unspecified, the language is taken from the \"language\" field if it exists or from `text_language` if it does not.", + "description": "Optional. The field in the document that specifies which language to use for that specific document. If unspecified, the language is taken from the \"language\" field if it exists or from `text_language` if it does not.", "type": "string" } }, @@ -4665,7 +4665,7 @@ ], "enumDescriptions": [ "The index type is unspecified. Not a valid option.", - "Field values are tokenized. This is the only way currently supported for MONGODB_COMPATIBLE_API." + "Field values are tokenized." ], "type": "string" }, @@ -4677,7 +4677,7 @@ ], "enumDescriptions": [ "The match type is unspecified. Not a valid option.", - "Match on any indexed field. This is the only way currently supported for MONGODB_COMPATIBLE_API." + "Match on any indexed field." ], "type": "string" } diff --git a/src/apis/firestore/v1.ts b/src/apis/firestore/v1.ts index 1d977ac01c..8134a2b3bf 100644 --- a/src/apis/firestore/v1.ts +++ b/src/apis/firestore/v1.ts @@ -1249,7 +1249,7 @@ export namespace firestore_v1 { */ queryScope?: string | null; /** - * Optional. Options for search indexes that are at the index definition level. This field is only currently supported for indexes with MONGODB_COMPATIBLE_API ApiScope. + * Optional. Options for search indexes that are at the index definition level. */ searchIndexOptions?: Schema$GoogleFirestoreAdminV1SearchIndexOptions; /** @@ -1538,7 +1538,7 @@ export namespace firestore_v1 { */ export interface Schema$GoogleFirestoreAdminV1SearchGeoSpec { /** - * Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed. + * Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed. Firestore GeoPoints are indexed regardless of this value. */ geoJsonIndexingDisabled?: boolean | null; } @@ -1551,7 +1551,7 @@ export namespace firestore_v1 { */ textLanguage?: string | null; /** - * Optional. The field in the document that specifies which language to use for that specific document. For indexes with MONGODB_COMPATIBLE_API ApiScope: if unspecified, the language is taken from the "language" field if it exists or from `text_language` if it does not. + * Optional. The field in the document that specifies which language to use for that specific document. If unspecified, the language is taken from the "language" field if it exists or from `text_language` if it does not. */ textLanguageOverrideFieldPath?: string | null; } From 8d92bc4d4f7c5c215693f76381a6582492d05975 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:38 +0000 Subject: [PATCH 38/69] feat(gkehub)!: update the API BREAKING CHANGE: This release has breaking changes. #### gkehub:v1alpha The following keys were deleted: - schemas.RolloutSequence.properties.state.$ref - schemas.RolloutSequence.properties.state.description - schemas.RolloutSequence.properties.state.readOnly - schemas.RolloutSequenceState.description - schemas.RolloutSequenceState.id - schemas.RolloutSequenceState.properties.lastStateChangeTime.description - schemas.RolloutSequenceState.properties.lastStateChangeTime.format - schemas.RolloutSequenceState.properties.lastStateChangeTime.readOnly - schemas.RolloutSequenceState.properties.lastStateChangeTime.type - schemas.RolloutSequenceState.properties.lifecycleState.description - schemas.RolloutSequenceState.properties.lifecycleState.enum - schemas.RolloutSequenceState.properties.lifecycleState.enumDescriptions - schemas.RolloutSequenceState.properties.lifecycleState.readOnly - schemas.RolloutSequenceState.properties.lifecycleState.type - schemas.RolloutSequenceState.properties.stateReasons.description - schemas.RolloutSequenceState.properties.stateReasons.items.enum - schemas.RolloutSequenceState.properties.stateReasons.items.enumDescriptions - schemas.RolloutSequenceState.properties.stateReasons.items.type - schemas.RolloutSequenceState.properties.stateReasons.readOnly - schemas.RolloutSequenceState.properties.stateReasons.type - schemas.RolloutSequenceState.type The following keys were added: - schemas.OperationalState.description - schemas.OperationalState.id - schemas.OperationalState.properties.reasons.description - schemas.OperationalState.properties.reasons.items.enum - schemas.OperationalState.properties.reasons.items.enumDescriptions - schemas.OperationalState.properties.reasons.items.type - schemas.OperationalState.properties.reasons.readOnly - schemas.OperationalState.properties.reasons.type - schemas.OperationalState.properties.state.description - schemas.OperationalState.properties.state.enum - schemas.OperationalState.properties.state.enumDescriptions - schemas.OperationalState.properties.state.readOnly - schemas.OperationalState.properties.state.type - schemas.OperationalState.properties.stateChangeTime.description - schemas.OperationalState.properties.stateChangeTime.format - schemas.OperationalState.properties.stateChangeTime.readOnly - schemas.OperationalState.properties.stateChangeTime.type - schemas.OperationalState.type - schemas.RolloutSequence.properties.operationalState.$ref - schemas.RolloutSequence.properties.operationalState.description - schemas.RolloutSequence.properties.operationalState.readOnly The following keys were changed: - endpoints #### gkehub:v2alpha The following keys were changed: - endpoints #### gkehub:v1beta The following keys were deleted: - schemas.RolloutSequence.properties.state.$ref - schemas.RolloutSequence.properties.state.description - schemas.RolloutSequence.properties.state.readOnly - schemas.RolloutSequenceState.description - schemas.RolloutSequenceState.id - schemas.RolloutSequenceState.properties.lastStateChangeTime.description - schemas.RolloutSequenceState.properties.lastStateChangeTime.format - schemas.RolloutSequenceState.properties.lastStateChangeTime.readOnly - schemas.RolloutSequenceState.properties.lastStateChangeTime.type - schemas.RolloutSequenceState.properties.lifecycleState.description - schemas.RolloutSequenceState.properties.lifecycleState.enum - schemas.RolloutSequenceState.properties.lifecycleState.enumDescriptions - schemas.RolloutSequenceState.properties.lifecycleState.readOnly - schemas.RolloutSequenceState.properties.lifecycleState.type - schemas.RolloutSequenceState.properties.stateReasons.description - schemas.RolloutSequenceState.properties.stateReasons.items.enum - schemas.RolloutSequenceState.properties.stateReasons.items.enumDescriptions - schemas.RolloutSequenceState.properties.stateReasons.items.type - schemas.RolloutSequenceState.properties.stateReasons.readOnly - schemas.RolloutSequenceState.properties.stateReasons.type - schemas.RolloutSequenceState.type The following keys were added: - schemas.OperationalState.description - schemas.OperationalState.id - schemas.OperationalState.properties.reasons.description - schemas.OperationalState.properties.reasons.items.enum - schemas.OperationalState.properties.reasons.items.enumDescriptions - schemas.OperationalState.properties.reasons.items.type - schemas.OperationalState.properties.reasons.readOnly - schemas.OperationalState.properties.reasons.type - schemas.OperationalState.properties.state.description - schemas.OperationalState.properties.state.enum - schemas.OperationalState.properties.state.enumDescriptions - schemas.OperationalState.properties.state.readOnly - schemas.OperationalState.properties.state.type - schemas.OperationalState.properties.stateChangeTime.description - schemas.OperationalState.properties.stateChangeTime.format - schemas.OperationalState.properties.stateChangeTime.readOnly - schemas.OperationalState.properties.stateChangeTime.type - schemas.OperationalState.type - schemas.RolloutSequence.properties.operationalState.$ref - schemas.RolloutSequence.properties.operationalState.description - schemas.RolloutSequence.properties.operationalState.readOnly The following keys were changed: - endpoints #### gkehub:v1beta1 The following keys were changed: - endpoints #### gkehub:v2beta The following keys were changed: - endpoints #### gkehub:v1 The following keys were changed: - endpoints #### gkehub:v2 The following keys were changed: - endpoints --- discovery/gkehub-v1.json | 32 ++++++- discovery/gkehub-v1alpha.json | 154 ++++++++++++++++++++-------------- discovery/gkehub-v1beta.json | 154 ++++++++++++++++++++-------------- discovery/gkehub-v1beta1.json | 32 ++++++- discovery/gkehub-v2.json | 32 ++++++- discovery/gkehub-v2alpha.json | 32 ++++++- discovery/gkehub-v2beta.json | 32 ++++++- src/apis/gkehub/v1alpha.ts | 48 +++++------ src/apis/gkehub/v1beta.ts | 48 +++++------ 9 files changed, 387 insertions(+), 177 deletions(-) diff --git a/discovery/gkehub-v1.json b/discovery/gkehub-v1.json index e5791be917..0aa2969438 100644 --- a/discovery/gkehub-v1.json +++ b/discovery/gkehub-v1.json @@ -55,6 +55,36 @@ "description": "Regional Endpoint", "endpointUrl": "https://gkehub.us-east7.rep.googleapis.com/", "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west8.rep.googleapis.com/", + "location": "us-west8" } ], "fullyEncodeReservedExpansion": true, @@ -2164,7 +2194,7 @@ } } }, - "revision": "20260426", + "revision": "20260511", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { diff --git a/discovery/gkehub-v1alpha.json b/discovery/gkehub-v1alpha.json index 897775827d..6439b4cb04 100644 --- a/discovery/gkehub-v1alpha.json +++ b/discovery/gkehub-v1alpha.json @@ -55,6 +55,36 @@ "description": "Regional Endpoint", "endpointUrl": "https://gkehub.us-east7.rep.googleapis.com/", "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west8.rep.googleapis.com/", + "location": "us-west8" } ], "fullyEncodeReservedExpansion": true, @@ -2568,7 +2598,7 @@ } } }, - "revision": "20260429", + "revision": "20260511", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -6445,6 +6475,62 @@ }, "type": "object" }, + "OperationalState": { + "description": "Operational state of the Rollout Sequence.", + "id": "OperationalState", + "properties": { + "reasons": { + "description": "Output only. Reasons for the Rollout Sequence state.", + "items": { + "enum": [ + "REASON_UNSPECIFIED", + "FLEET_FEATURE_DELETED_ERROR", + "FLEET_DELETED_ERROR", + "EMPTY_STAGE_WARNING", + "MIXED_RELEASE_CHANNELS_WARNING", + "INTERNAL_ERROR" + ], + "enumDescriptions": [ + "Default unspecified value.", + "A fleet feature is deleted.", + "A fleet is deleted.", + "A stage is empty.", + "Mixed release channels in the sequence.", + "Internal error, for example when host project is soft-deleted." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "state": { + "description": "Output only. State of the Rollout Sequence.", + "enum": [ + "STATE_CODE_UNSPECIFIED", + "ACTIVE", + "WARNING", + "ERROR", + "INITIALIZING" + ], + "enumDescriptions": [ + "The default value. This value is used if the state is omitted.", + "The Rollout Sequence is active.", + "The Rollout Sequence has warnings. It is still functioning but performance may be degraded.", + "The Rollout Sequence has errors and is not functioning.", + "The Rollout Sequence is being initialized." + ], + "readOnly": true, + "type": "string" + }, + "stateChangeTime": { + "description": "Output only. The timestamp at which the operational state was last changed. Used to track how long it has been in the current state.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Origin": { "description": "Origin defines where this MembershipFeatureSpec originated from.", "id": "Origin", @@ -7271,6 +7357,11 @@ "description": "Identifier. Name of the rollout sequence in the format of: projects/{PROJECT_ID}/locations/global/rolloutSequences/{NAME}", "type": "string" }, + "operationalState": { + "$ref": "OperationalState", + "description": "Output only. Operational state of the Rollout Sequence.", + "readOnly": true + }, "stages": { "description": "Required. Ordered list of stages that constitutes this Rollout.", "items": { @@ -7278,11 +7369,6 @@ }, "type": "array" }, - "state": { - "$ref": "RolloutSequenceState", - "description": "Output only. State of the Rollout Sequence as a whole.", - "readOnly": true - }, "uid": { "description": "Output only. Google-generated UUID for this resource. This is unique across all Rollout Sequence resources. If a Rollout Sequence resource is deleted and another resource with the same name is created, it gets a different uid.", "readOnly": true, @@ -7297,62 +7383,6 @@ }, "type": "object" }, - "RolloutSequenceState": { - "description": "State and reasons of the Rollout Sequence.", - "id": "RolloutSequenceState", - "properties": { - "lastStateChangeTime": { - "description": "Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "lifecycleState": { - "description": "Output only. Lifecycle state of the Rollout Sequence.", - "enum": [ - "LIFECYCLE_STATE_UNSPECIFIED", - "LIFECYCLE_STATE_ACTIVE", - "LIFECYCLE_STATE_WARNING", - "LIFECYCLE_STATE_ERROR", - "LIFECYCLE_STATE_INITIALIZING" - ], - "enumDescriptions": [ - "The default value. This value is used if the state is omitted.", - "The Rollout Sequence is active.", - "The Rollout Sequence has warnings.", - "The Rollout Sequence has errors.", - "The Rollout Sequence is being initialized." - ], - "readOnly": true, - "type": "string" - }, - "stateReasons": { - "description": "Output only. StateReason represents the reason for the Rollout Sequence state.", - "items": { - "enum": [ - "STATE_REASON_UNSPECIFIED", - "FLEET_FEATURE_DELETED_ERROR", - "FLEET_DELETED_ERROR", - "EMPTY_STAGE_WARNING", - "MIXED_RELEASE_CHANNELS_WARNING", - "INTERNAL_ERROR" - ], - "enumDescriptions": [ - "Default unspecified value.", - "A fleet feature is deleted.", - "A fleet is deleted.", - "A stage is empty.", - "Mixed release channels in the sequence.", - "Internal error, for example when host project is soft-deleted." - ], - "type": "string" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, "RolloutStage": { "description": "Stage represents a single stage in the Rollout.", "id": "RolloutStage", diff --git a/discovery/gkehub-v1beta.json b/discovery/gkehub-v1beta.json index d5f67b0bab..8a9af47457 100644 --- a/discovery/gkehub-v1beta.json +++ b/discovery/gkehub-v1beta.json @@ -55,6 +55,36 @@ "description": "Regional Endpoint", "endpointUrl": "https://gkehub.us-east7.rep.googleapis.com/", "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west8.rep.googleapis.com/", + "location": "us-west8" } ], "fullyEncodeReservedExpansion": true, @@ -2424,7 +2454,7 @@ } } }, - "revision": "20260429", + "revision": "20260511", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -6054,6 +6084,62 @@ }, "type": "object" }, + "OperationalState": { + "description": "Operational state of the Rollout Sequence.", + "id": "OperationalState", + "properties": { + "reasons": { + "description": "Output only. Reasons for the Rollout Sequence state.", + "items": { + "enum": [ + "REASON_UNSPECIFIED", + "FLEET_FEATURE_DELETED_ERROR", + "FLEET_DELETED_ERROR", + "EMPTY_STAGE_WARNING", + "MIXED_RELEASE_CHANNELS_WARNING", + "INTERNAL_ERROR" + ], + "enumDescriptions": [ + "Default unspecified value.", + "A fleet feature is deleted.", + "A fleet is deleted.", + "A stage is empty.", + "Mixed release channels in the sequence.", + "Internal error, for example when host project is soft-deleted." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "state": { + "description": "Output only. State of the Rollout Sequence.", + "enum": [ + "STATE_CODE_UNSPECIFIED", + "ACTIVE", + "WARNING", + "ERROR", + "INITIALIZING" + ], + "enumDescriptions": [ + "The default value. This value is used if the state is omitted.", + "The Rollout Sequence is active.", + "The Rollout Sequence has warnings. It is still functioning but performance may be degraded.", + "The Rollout Sequence has errors and is not functioning.", + "The Rollout Sequence is being initialized." + ], + "readOnly": true, + "type": "string" + }, + "stateChangeTime": { + "description": "Output only. The timestamp at which the operational state was last changed. Used to track how long it has been in the current state.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Origin": { "description": "Origin defines where this MembershipFeatureSpec originated from.", "id": "Origin", @@ -6880,6 +6966,11 @@ "description": "Identifier. Name of the rollout sequence in the format of: projects/{PROJECT_ID}/locations/global/rolloutSequences/{NAME}", "type": "string" }, + "operationalState": { + "$ref": "OperationalState", + "description": "Output only. Operational state of the Rollout Sequence.", + "readOnly": true + }, "stages": { "description": "Required. Ordered list of stages that constitutes this Rollout.", "items": { @@ -6887,11 +6978,6 @@ }, "type": "array" }, - "state": { - "$ref": "RolloutSequenceState", - "description": "Output only. State of the Rollout Sequence as a whole.", - "readOnly": true - }, "uid": { "description": "Output only. Google-generated UUID for this resource. This is unique across all Rollout Sequence resources. If a Rollout Sequence resource is deleted and another resource with the same name is created, it gets a different uid.", "readOnly": true, @@ -6906,62 +6992,6 @@ }, "type": "object" }, - "RolloutSequenceState": { - "description": "State and reasons of the Rollout Sequence.", - "id": "RolloutSequenceState", - "properties": { - "lastStateChangeTime": { - "description": "Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "lifecycleState": { - "description": "Output only. Lifecycle state of the Rollout Sequence.", - "enum": [ - "LIFECYCLE_STATE_UNSPECIFIED", - "LIFECYCLE_STATE_ACTIVE", - "LIFECYCLE_STATE_WARNING", - "LIFECYCLE_STATE_ERROR", - "LIFECYCLE_STATE_INITIALIZING" - ], - "enumDescriptions": [ - "The default value. This value is used if the state is omitted.", - "The Rollout Sequence is active.", - "The Rollout Sequence has warnings.", - "The Rollout Sequence has errors.", - "The Rollout Sequence is being initialized." - ], - "readOnly": true, - "type": "string" - }, - "stateReasons": { - "description": "Output only. StateReason represents the reason for the Rollout Sequence state.", - "items": { - "enum": [ - "STATE_REASON_UNSPECIFIED", - "FLEET_FEATURE_DELETED_ERROR", - "FLEET_DELETED_ERROR", - "EMPTY_STAGE_WARNING", - "MIXED_RELEASE_CHANNELS_WARNING", - "INTERNAL_ERROR" - ], - "enumDescriptions": [ - "Default unspecified value.", - "A fleet feature is deleted.", - "A fleet is deleted.", - "A stage is empty.", - "Mixed release channels in the sequence.", - "Internal error, for example when host project is soft-deleted." - ], - "type": "string" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, "RolloutStage": { "description": "Stage represents a single stage in the Rollout.", "id": "RolloutStage", diff --git a/discovery/gkehub-v1beta1.json b/discovery/gkehub-v1beta1.json index 63b04f9547..0e61a66810 100644 --- a/discovery/gkehub-v1beta1.json +++ b/discovery/gkehub-v1beta1.json @@ -55,6 +55,36 @@ "description": "Regional Endpoint", "endpointUrl": "https://gkehub.us-east7.rep.googleapis.com/", "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west8.rep.googleapis.com/", + "location": "us-west8" } ], "fullyEncodeReservedExpansion": true, @@ -765,7 +795,7 @@ } } }, - "revision": "20260426", + "revision": "20260511", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "ApplianceCluster": { diff --git a/discovery/gkehub-v2.json b/discovery/gkehub-v2.json index b0da5f3b47..6276e48adc 100644 --- a/discovery/gkehub-v2.json +++ b/discovery/gkehub-v2.json @@ -55,6 +55,36 @@ "description": "Regional Endpoint", "endpointUrl": "https://gkehub.us-east7.rep.googleapis.com/", "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west8.rep.googleapis.com/", + "location": "us-west8" } ], "fullyEncodeReservedExpansion": true, @@ -524,7 +554,7 @@ } } }, - "revision": "20260426", + "revision": "20260511", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { diff --git a/discovery/gkehub-v2alpha.json b/discovery/gkehub-v2alpha.json index 0be04f9396..a981ee3e1b 100644 --- a/discovery/gkehub-v2alpha.json +++ b/discovery/gkehub-v2alpha.json @@ -55,6 +55,36 @@ "description": "Regional Endpoint", "endpointUrl": "https://gkehub.us-east7.rep.googleapis.com/", "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west8.rep.googleapis.com/", + "location": "us-west8" } ], "fullyEncodeReservedExpansion": true, @@ -524,7 +554,7 @@ } } }, - "revision": "20260426", + "revision": "20260511", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { diff --git a/discovery/gkehub-v2beta.json b/discovery/gkehub-v2beta.json index 9d379f0371..7340cd2968 100644 --- a/discovery/gkehub-v2beta.json +++ b/discovery/gkehub-v2beta.json @@ -55,6 +55,36 @@ "description": "Regional Endpoint", "endpointUrl": "https://gkehub.us-east7.rep.googleapis.com/", "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://gkehub.us-west8.rep.googleapis.com/", + "location": "us-west8" } ], "fullyEncodeReservedExpansion": true, @@ -524,7 +554,7 @@ } } }, - "revision": "20260426", + "revision": "20260511", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { diff --git a/src/apis/gkehub/v1alpha.ts b/src/apis/gkehub/v1alpha.ts index 9c556dfc58..3c5590ad2c 100644 --- a/src/apis/gkehub/v1alpha.ts +++ b/src/apis/gkehub/v1alpha.ts @@ -2726,6 +2726,23 @@ export namespace gkehub_v1alpha { */ response?: {[key: string]: any} | null; } + /** + * Operational state of the Rollout Sequence. + */ + export interface Schema$OperationalState { + /** + * Output only. Reasons for the Rollout Sequence state. + */ + reasons?: string[] | null; + /** + * Output only. State of the Rollout Sequence. + */ + state?: string | null; + /** + * Output only. The timestamp at which the operational state was last changed. Used to track how long it has been in the current state. + */ + stateChangeTime?: string | null; + } /** * Represents the metadata of the long-running operation. */ @@ -3271,13 +3288,13 @@ export namespace gkehub_v1alpha { */ name?: string | null; /** - * Required. Ordered list of stages that constitutes this Rollout. + * Output only. Operational state of the Rollout Sequence. */ - stages?: Schema$Stage[]; + operationalState?: Schema$OperationalState; /** - * Output only. State of the Rollout Sequence as a whole. + * Required. Ordered list of stages that constitutes this Rollout. */ - state?: Schema$RolloutSequenceState; + stages?: Schema$Stage[]; /** * Output only. Google-generated UUID for this resource. This is unique across all Rollout Sequence resources. If a Rollout Sequence resource is deleted and another resource with the same name is created, it gets a different uid. */ @@ -3287,23 +3304,6 @@ export namespace gkehub_v1alpha { */ updateTime?: string | null; } - /** - * State and reasons of the Rollout Sequence. - */ - export interface Schema$RolloutSequenceState { - /** - * Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state. - */ - lastStateChangeTime?: string | null; - /** - * Output only. Lifecycle state of the Rollout Sequence. - */ - lifecycleState?: string | null; - /** - * Output only. StateReason represents the reason for the Rollout Sequence state. - */ - stateReasons?: string[] | null; - } /** * Stage represents a single stage in the Rollout. */ @@ -11716,8 +11716,8 @@ export namespace gkehub_v1alpha { * // "ignoredClustersSelector": {}, * // "labels": {}, * // "name": "my_name", + * // "operationalState": {}, * // "stages": [], - * // "state": {}, * // "uid": "my_uid", * // "updateTime": "my_updateTime" * // } @@ -12017,8 +12017,8 @@ export namespace gkehub_v1alpha { * // "ignoredClustersSelector": {}, * // "labels": {}, * // "name": "my_name", + * // "operationalState": {}, * // "stages": [], - * // "state": {}, * // "uid": "my_uid", * // "updateTime": "my_updateTime" * // } @@ -12315,8 +12315,8 @@ export namespace gkehub_v1alpha { * // "ignoredClustersSelector": {}, * // "labels": {}, * // "name": "my_name", + * // "operationalState": {}, * // "stages": [], - * // "state": {}, * // "uid": "my_uid", * // "updateTime": "my_updateTime" * // } diff --git a/src/apis/gkehub/v1beta.ts b/src/apis/gkehub/v1beta.ts index aa7f73c0b6..028472735d 100644 --- a/src/apis/gkehub/v1beta.ts +++ b/src/apis/gkehub/v1beta.ts @@ -2570,6 +2570,23 @@ export namespace gkehub_v1beta { */ response?: {[key: string]: any} | null; } + /** + * Operational state of the Rollout Sequence. + */ + export interface Schema$OperationalState { + /** + * Output only. Reasons for the Rollout Sequence state. + */ + reasons?: string[] | null; + /** + * Output only. State of the Rollout Sequence. + */ + state?: string | null; + /** + * Output only. The timestamp at which the operational state was last changed. Used to track how long it has been in the current state. + */ + stateChangeTime?: string | null; + } /** * Represents the metadata of the long-running operation. */ @@ -3115,13 +3132,13 @@ export namespace gkehub_v1beta { */ name?: string | null; /** - * Required. Ordered list of stages that constitutes this Rollout. + * Output only. Operational state of the Rollout Sequence. */ - stages?: Schema$Stage[]; + operationalState?: Schema$OperationalState; /** - * Output only. State of the Rollout Sequence as a whole. + * Required. Ordered list of stages that constitutes this Rollout. */ - state?: Schema$RolloutSequenceState; + stages?: Schema$Stage[]; /** * Output only. Google-generated UUID for this resource. This is unique across all Rollout Sequence resources. If a Rollout Sequence resource is deleted and another resource with the same name is created, it gets a different uid. */ @@ -3131,23 +3148,6 @@ export namespace gkehub_v1beta { */ updateTime?: string | null; } - /** - * State and reasons of the Rollout Sequence. - */ - export interface Schema$RolloutSequenceState { - /** - * Output only. The timestamp at which the LifecycleState was last changed. Used to track how long it has been in the current state. - */ - lastStateChangeTime?: string | null; - /** - * Output only. Lifecycle state of the Rollout Sequence. - */ - lifecycleState?: string | null; - /** - * Output only. StateReason represents the reason for the Rollout Sequence state. - */ - stateReasons?: string[] | null; - } /** * Stage represents a single stage in the Rollout. */ @@ -10734,8 +10734,8 @@ export namespace gkehub_v1beta { * // "ignoredClustersSelector": {}, * // "labels": {}, * // "name": "my_name", + * // "operationalState": {}, * // "stages": [], - * // "state": {}, * // "uid": "my_uid", * // "updateTime": "my_updateTime" * // } @@ -11035,8 +11035,8 @@ export namespace gkehub_v1beta { * // "ignoredClustersSelector": {}, * // "labels": {}, * // "name": "my_name", + * // "operationalState": {}, * // "stages": [], - * // "state": {}, * // "uid": "my_uid", * // "updateTime": "my_updateTime" * // } @@ -11333,8 +11333,8 @@ export namespace gkehub_v1beta { * // "ignoredClustersSelector": {}, * // "labels": {}, * // "name": "my_name", + * // "operationalState": {}, * // "stages": [], - * // "state": {}, * // "uid": "my_uid", * // "updateTime": "my_updateTime" * // } From 0b204fd520155c9275237a352ea2ee10131ae25c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:38 +0000 Subject: [PATCH 39/69] feat(gmail): update the API #### gmail:v1 The following keys were added: - schemas.BatchModifyMessagesRequest.properties.addClassificationLabels.description - schemas.BatchModifyMessagesRequest.properties.addClassificationLabels.items.$ref - schemas.BatchModifyMessagesRequest.properties.addClassificationLabels.type - schemas.BatchModifyMessagesRequest.properties.removeClassificationLabelIds.description - schemas.BatchModifyMessagesRequest.properties.removeClassificationLabelIds.items.type - schemas.BatchModifyMessagesRequest.properties.removeClassificationLabelIds.type - schemas.ModifyMessageRequest.properties.addClassificationLabels.description - schemas.ModifyMessageRequest.properties.addClassificationLabels.items.$ref - schemas.ModifyMessageRequest.properties.addClassificationLabels.type - schemas.ModifyMessageRequest.properties.removeClassificationLabelIds.description - schemas.ModifyMessageRequest.properties.removeClassificationLabelIds.items.type - schemas.ModifyMessageRequest.properties.removeClassificationLabelIds.type The following keys were changed: - resources.users.resources.messages.methods.batchModify.description - resources.users.resources.messages.methods.modify.description - schemas.Message.properties.classificationLabelValues.description --- discovery/gmail-v1.json | 36 ++++++++++++++++++++++++++++++++---- src/apis/gmail/v1.ts | 26 +++++++++++++++++++++++--- 2 files changed, 55 insertions(+), 7 deletions(-) diff --git a/discovery/gmail-v1.json b/discovery/gmail-v1.json index 564e6e0b22..28abf6171f 100644 --- a/discovery/gmail-v1.json +++ b/discovery/gmail-v1.json @@ -828,7 +828,7 @@ ] }, "batchModify": { - "description": "Modifies the labels on the specified messages.", + "description": "Modifies the labels and the Classification Label values on the specified messages. For administrators modifying messages for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.modify.restricted` scope.", "flatPath": "gmail/v1/users/{userId}/messages/batchModify", "httpMethod": "POST", "id": "gmail.users.messages.batchModify", @@ -1148,7 +1148,7 @@ ] }, "modify": { - "description": "Modifies the labels on the specified message.", + "description": "Modifies the labels and the Classification Label values on the specified message. For administrators modifying message for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.modify.restricted` scope.", "flatPath": "gmail/v1/users/{userId}/messages/{id}/modify", "httpMethod": "POST", "id": "gmail.users.messages.modify", @@ -3077,7 +3077,7 @@ } } }, - "revision": "20260427", + "revision": "20260511", "rootUrl": "https://gmail.googleapis.com/", "schemas": { "AutoForwarding": { @@ -3129,6 +3129,13 @@ "BatchModifyMessagesRequest": { "id": "BatchModifyMessagesRequest", "properties": { + "addClassificationLabels": { + "description": "A list of Classification Label values to add. If a Classification Label with the same label ID is already applied to the message, fields with existing field IDs will be updated and fields with new field IDs will be added. There's a limit of 20 Classification Label values per request. If the message is already classified and the final total number of Classification Label values exceeds the maximum allowed number of Classification Label values per message, the modification fails.", + "items": { + "$ref": "ClassificationLabelValue" + }, + "type": "array" + }, "addLabelIds": { "description": "A list of label IDs to add to messages.", "items": { @@ -3143,6 +3150,13 @@ }, "type": "array" }, + "removeClassificationLabelIds": { + "description": "A list of Classification Label values to remove from messages.", + "items": { + "type": "string" + }, + "type": "array" + }, "removeLabelIds": { "description": "A list of label IDs to remove from messages.", "items": { @@ -3959,7 +3973,7 @@ "id": "Message", "properties": { "classificationLabelValues": { - "description": "Classification Label values on the message. Available Classification Label schemas can be queried using the Google Drive Labels API. Each classification label ID must be unique. If duplicate IDs are provided, only one will be retained, and the selection is arbitrary. Only used for Google Workspace accounts.", + "description": "Classification Label values on the message. Available Classification Label schemas can be queried using the Google Drive Labels API. Each classification label ID must be unique. If duplicate IDs are provided, only one will be retained, and the selection is arbitrary. Only used for Google Workspace accounts. There's a limit of 20 Classification Label values per request. If the Classification Label values exceeds the maximum allowed number, the request fails.", "items": { "$ref": "ClassificationLabelValue" }, @@ -4094,6 +4108,13 @@ "ModifyMessageRequest": { "id": "ModifyMessageRequest", "properties": { + "addClassificationLabels": { + "description": "A list of classification label values to add. If a Classification Label with the same label ID is already applied to the message, fields with existing field IDs will be updated and fields with new field IDs will be added. There's a limit of 20 Classification Label values per request. If the message is already classified and the final total number of Classification Label values exceeds the maximum allowed number of Classification Label values per message, the modification fails.", + "items": { + "$ref": "ClassificationLabelValue" + }, + "type": "array" + }, "addLabelIds": { "description": "A list of IDs of labels to add to this message. You can add up to 100 labels with each update.", "items": { @@ -4101,6 +4122,13 @@ }, "type": "array" }, + "removeClassificationLabelIds": { + "description": "A list of Classification Label values to remove from this message.", + "items": { + "type": "string" + }, + "type": "array" + }, "removeLabelIds": { "description": "A list IDs of labels to remove from this message. You can remove up to 100 labels with each update.", "items": { diff --git a/src/apis/gmail/v1.ts b/src/apis/gmail/v1.ts index 89a0b39223..b12a32c844 100644 --- a/src/apis/gmail/v1.ts +++ b/src/apis/gmail/v1.ts @@ -148,6 +148,10 @@ export namespace gmail_v1 { ids?: string[] | null; } export interface Schema$BatchModifyMessagesRequest { + /** + * A list of Classification Label values to add. If a Classification Label with the same label ID is already applied to the message, fields with existing field IDs will be updated and fields with new field IDs will be added. There's a limit of 20 Classification Label values per request. If the message is already classified and the final total number of Classification Label values exceeds the maximum allowed number of Classification Label values per message, the modification fails. + */ + addClassificationLabels?: Schema$ClassificationLabelValue[]; /** * A list of label IDs to add to messages. */ @@ -156,6 +160,10 @@ export namespace gmail_v1 { * The IDs of the messages to modify. There is a limit of 1000 ids per request. */ ids?: string[] | null; + /** + * A list of Classification Label values to remove from messages. + */ + removeClassificationLabelIds?: string[] | null; /** * A list of label IDs to remove from messages. */ @@ -661,7 +669,7 @@ export namespace gmail_v1 { */ export interface Schema$Message { /** - * Classification Label values on the message. Available Classification Label schemas can be queried using the Google Drive Labels API. Each classification label ID must be unique. If duplicate IDs are provided, only one will be retained, and the selection is arbitrary. Only used for Google Workspace accounts. + * Classification Label values on the message. Available Classification Label schemas can be queried using the Google Drive Labels API. Each classification label ID must be unique. If duplicate IDs are provided, only one will be retained, and the selection is arbitrary. Only used for Google Workspace accounts. There's a limit of 20 Classification Label values per request. If the Classification Label values exceeds the maximum allowed number, the request fails. */ classificationLabelValues?: Schema$ClassificationLabelValue[]; /** @@ -758,10 +766,18 @@ export namespace gmail_v1 { value?: string | null; } export interface Schema$ModifyMessageRequest { + /** + * A list of classification label values to add. If a Classification Label with the same label ID is already applied to the message, fields with existing field IDs will be updated and fields with new field IDs will be added. There's a limit of 20 Classification Label values per request. If the message is already classified and the final total number of Classification Label values exceeds the maximum allowed number of Classification Label values per message, the modification fails. + */ + addClassificationLabels?: Schema$ClassificationLabelValue[]; /** * A list of IDs of labels to add to this message. You can add up to 100 labels with each update. */ addLabelIds?: string[] | null; + /** + * A list of Classification Label values to remove from this message. + */ + removeClassificationLabelIds?: string[] | null; /** * A list IDs of labels to remove from this message. You can remove up to 100 labels with each update. */ @@ -3900,7 +3916,7 @@ export namespace gmail_v1 { } /** - * Modifies the labels on the specified messages. + * Modifies the labels and the Classification Label values on the specified messages. For administrators modifying messages for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.modify.restricted` scope. * @example * ```js * // Before running the sample: @@ -3940,8 +3956,10 @@ export namespace gmail_v1 { * requestBody: { * // request body parameters * // { + * // "addClassificationLabels": [], * // "addLabelIds": [], * // "ids": [], + * // "removeClassificationLabelIds": [], * // "removeLabelIds": [] * // } * }, @@ -4850,7 +4868,7 @@ export namespace gmail_v1 { } /** - * Modifies the labels on the specified message. + * Modifies the labels and the Classification Label values on the specified message. For administrators modifying message for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.modify.restricted` scope. * @example * ```js * // Before running the sample: @@ -4892,7 +4910,9 @@ export namespace gmail_v1 { * requestBody: { * // request body parameters * // { + * // "addClassificationLabels": [], * // "addLabelIds": [], + * // "removeClassificationLabelIds": [], * // "removeLabelIds": [] * // } * }, From 570c9d711a5baa8831b9f0e2a50e4c39b8fd4860 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 40/69] feat(health): update the API #### health:v4 The following keys were added: - auth.oauth2.scopes.https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly.description - auth.oauth2.scopes.https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly.description - auth.oauth2.scopes.https://www.googleapis.com/auth/googlehealth.location.readonly.description - auth.oauth2.scopes.https://www.googleapis.com/auth/googlehealth.profile.readonly.description - auth.oauth2.scopes.https://www.googleapis.com/auth/googlehealth.settings.readonly.description - auth.oauth2.scopes.https://www.googleapis.com/auth/googlehealth.sleep.readonly.description - resources.users.methods.getIdentity.scopes - resources.users.methods.getProfile.scopes - resources.users.methods.getSettings.scopes - resources.users.resources.dataTypes.resources.dataPoints.methods.dailyRollUp.scopes - resources.users.resources.dataTypes.resources.dataPoints.methods.exportExerciseTcx.scopes - resources.users.resources.dataTypes.resources.dataPoints.methods.get.scopes - resources.users.resources.dataTypes.resources.dataPoints.methods.list.scopes - resources.users.resources.dataTypes.resources.dataPoints.methods.reconcile.scopes - resources.users.resources.dataTypes.resources.dataPoints.methods.rollUp.scopes The following keys were changed: - resources.users.resources.dataTypes.resources.dataPoints.methods.exportExerciseTcx.description - resources.users.resources.dataTypes.resources.dataPoints.methods.list.parameters.filter.description - schemas.DailyRollupDataPoint.description - schemas.ExportExerciseTcxResponse.properties.tcxData.description - schemas.HeartRateVariability.properties.rootMeanSquareOfSuccessiveDifferencesMilliseconds.description - schemas.RollupDataPoint.description - schemas.SubscriberConfig.properties.dataTypes.description - schemas.VolumeQuantity.properties.userProvidedUnit.description --- discovery/health-v4.json | 99 +++++++++++++++++++++++++++++++++------- src/apis/health/v4.ts | 70 ++++++++++++++++++++-------- 2 files changed, 134 insertions(+), 35 deletions(-) diff --git a/discovery/health-v4.json b/discovery/health-v4.json index 063324d939..02957b7f5f 100644 --- a/discovery/health-v4.json +++ b/discovery/health-v4.json @@ -4,6 +4,24 @@ "scopes": { "https://www.googleapis.com/auth/cloud-platform": { "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + }, + "https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly": { + "description": "See your Google Health activity and fitness data" + }, + "https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly": { + "description": "See your Google Health health metrics and measurement data" + }, + "https://www.googleapis.com/auth/googlehealth.location.readonly": { + "description": "See exercise GPS location data in Google Health" + }, + "https://www.googleapis.com/auth/googlehealth.profile.readonly": { + "description": "See your Google Health profile data" + }, + "https://www.googleapis.com/auth/googlehealth.settings.readonly": { + "description": "See your Google Health settings" + }, + "https://www.googleapis.com/auth/googlehealth.sleep.readonly": { + "description": "See your Google Health sleep data" } } } @@ -268,7 +286,14 @@ "path": "v4/{+name}", "response": { "$ref": "Identity" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly", + "https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly", + "https://www.googleapis.com/auth/googlehealth.profile.readonly", + "https://www.googleapis.com/auth/googlehealth.settings.readonly", + "https://www.googleapis.com/auth/googlehealth.sleep.readonly" + ] }, "getProfile": { "description": "Returns user Profile details.", @@ -290,7 +315,10 @@ "path": "v4/{+name}", "response": { "$ref": "Profile" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/googlehealth.profile.readonly" + ] }, "getSettings": { "description": "Returns user settings details.", @@ -312,7 +340,10 @@ "path": "v4/{+name}", "response": { "$ref": "Settings" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/googlehealth.settings.readonly" + ] }, "updateProfile": { "description": "Updates the user's profile details.", @@ -455,10 +486,16 @@ }, "response": { "$ref": "DailyRollUpDataPointsResponse" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly", + "https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly", + "https://www.googleapis.com/auth/googlehealth.location.readonly", + "https://www.googleapis.com/auth/googlehealth.sleep.readonly" + ] }, "exportExerciseTcx": { - "description": "Exports exercise data in TCX format. Note: While the Authorization section below states that any one of the listed scopes is accepted, this specific method requires the user to provide both one of the `activity_and_fitness` scopes (`normal` or `readonly`) AND one of the `location` scopes (`normal` or `readonly`) in their access token to succeed.", + "description": "Exports exercise data in TCX format. **IMPORTANT:** HTTP clients must append `?alt=media` to the request URL to download the raw TCX file. Example: `https://health.googleapis.com/v4/users/me/dataTypes/exercise/dataPoints/EXERCISE_ID:exportExerciseTcx?alt=media` Without `alt=media`, the server returns a JSON response (`ExportExerciseTcxResponse`) which is intended primarily for gRPC clients. **Note:** While the Authorization section below states that any one of the listed scopes is accepted, this specific method requires the user to provide both one of the `activity_and_fitness` scopes (`normal` or `readonly`) AND one of the `location` scopes (`normal` or `readonly`) in their access token to succeed.", "flatPath": "v4/users/{usersId}/dataTypes/{dataTypesId}/dataPoints/{dataPointsId}:exportExerciseTcx", "httpMethod": "GET", "id": "health.users.dataTypes.dataPoints.exportExerciseTcx", @@ -483,6 +520,10 @@ "response": { "$ref": "ExportExerciseTcxResponse" }, + "scopes": [ + "https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly", + "https://www.googleapis.com/auth/googlehealth.location.readonly" + ], "supportsMediaDownload": true, "useMediaDownloadService": true }, @@ -506,7 +547,13 @@ "path": "v4/{+name}", "response": { "$ref": "DataPoint" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly", + "https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly", + "https://www.googleapis.com/auth/googlehealth.location.readonly", + "https://www.googleapis.com/auth/googlehealth.sleep.readonly" + ] }, "list": { "description": "Query user health and fitness data points.", @@ -518,7 +565,7 @@ ], "parameters": { "filter": { - "description": "Optional. Filter expression following https://google.aip.dev/160. A time range (either physical or civil) can be specified. The supported filter fields are: - Interval start time: - Pattern: `{interval_data_type}.interval.start_time` - Supported comparison operators: `>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `steps.interval.start_time >= \"2023-11-24T00:00:00Z\" AND steps.interval.start_time < \"2023-11-25T00:00:00Z\"` - `distance.interval.start_time >= \"2024-08-14T12:34:56Z\"` - Interval civil start time: - Pattern: `{interval_data_type}.interval.civil_start_time` - Supported comparison operators: `>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `steps.interval.civil_start_time >= \"2023-11-24\" AND steps.interval.civil_start_time < \"2023-11-25\"` - `distance.interval.civil_start_time >= \"2024-08-14T12:34:56\"` - Sample observation physical time: - Pattern: `{sample_data_type}.sample_time.physical_time` - Supported comparison operators: `>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `weight.sample_time.physical_time >= \"2023-11-24T00:00:00Z\" AND weight.sample_time.physical_time < \"2023-11-25T00:00:00Z\"` - `weight.sample_time.physical_time >= \"2024-08-14T12:34:56Z\"` - Sample observation civil time: - Pattern: `{sample_data_type}.sample_time.civil_time` - Supported comparison operators: `>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `weight.sample_time.civil_time >= \"2023-11-24\" AND weight.sample_time.civil_time < \"2023-11-25\"` - `weight.sample_time.civil_time >= \"2024-08-14T12:34:56\"` - Daily summary date: - Pattern: `{daily_summary_data_type}.date` - Supported comparison operators: `>=`, `<` - Date literal expected in ISO 8601 `YYYY-MM-DD` format - Supported logical operators: `AND` - Example: - `daily_heart_rate_variability.date < \"2024-08-15\"` - Session civil start time (**Excluding Sleep**): - Pattern: `{session_data_type}.interval.civil_start_time` - Supported comparison operators: `>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `exercise.interval.civil_start_time >= \"2023-11-24\" AND exercise.interval.civil_start_time < \"2023-11-25\"` - `exercise.interval.civil_start_time >= \"2024-08-14T12:34:56\"` - Session end time (**Sleep specific**): - Pattern: `sleep.interval.end_time` - Supported comparison operators: `>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.end_time >= \"2023-11-24T00:00:00Z\" AND sleep.interval.end_time < \"2023-11-25T00:00:00Z\"` - Session civil end time (**Sleep specific**): - Pattern: `sleep.interval.civil_end_time` - Supported comparison operators: `>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.civil_end_time >= \"2023-11-24\" AND sleep.interval.civil_end_time < \"2023-11-25\"` Data points in the response will be ordered by the interval start time in descending order.", + "description": "Optional. Filter expression following https://google.aip.dev/160. A time range (either physical or civil) can be specified. The supported filter fields are: - Interval start time: - Pattern: `{interval_data_type}.interval.start_time` - Supported comparison operators: `>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `steps.interval.start_time >= \"2023-11-24T00:00:00Z\" AND steps.interval.start_time < \"2023-11-25T00:00:00Z\"` - `distance.interval.start_time >= \"2024-08-14T12:34:56Z\"` - Interval civil start time: - Pattern: `{interval_data_type}.interval.civil_start_time` - Supported comparison operators: `>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `steps.interval.civil_start_time >= \"2023-11-24\" AND steps.interval.civil_start_time < \"2023-11-25\"` - `distance.interval.civil_start_time >= \"2024-08-14T12:34:56\"` - Sample observation physical time: - Pattern: `{sample_data_type}.sample_time.physical_time` - Supported comparison operators: `>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `weight.sample_time.physical_time >= \"2023-11-24T00:00:00Z\" AND weight.sample_time.physical_time < \"2023-11-25T00:00:00Z\"` - `weight.sample_time.physical_time >= \"2024-08-14T12:34:56Z\"` - Sample observation civil time: - Pattern: `{sample_data_type}.sample_time.civil_time` - Supported comparison operators: `>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `weight.sample_time.civil_time >= \"2023-11-24\" AND weight.sample_time.civil_time < \"2023-11-25\"` - `weight.sample_time.civil_time >= \"2024-08-14T12:34:56\"` - Daily summary date: - Pattern: `{daily_summary_data_type}.date` - Supported comparison operators: `>=`, `<` - Date literal expected in ISO 8601 `YYYY-MM-DD` format - Supported logical operators: `AND` - Example: - `daily_heart_rate_variability.date < \"2024-08-15\"` - Session start time (**ECG specific**): - Pattern: `electrocardiogram.interval.start_time` - Supported comparison operators: `>=` - Timestamp literal expected in RFC-3339 format - Example: - `electrocardiogram.interval.start_time >= \"2024-08-14T12:34:56Z\"` - Note: Only filtering by start time is supported for ECG. Filtering by end time (e.g., `electrocardiogram.interval.end_time`) is not supported. - Session civil start time (**Excluding Sleep**): - Pattern: `{session_data_type}.interval.civil_start_time` - Supported comparison operators: `>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `exercise.interval.civil_start_time >= \"2023-11-24\" AND exercise.interval.civil_start_time < \"2023-11-25\"` - `exercise.interval.civil_start_time >= \"2024-08-14T12:34:56\"` - Session end time (**Sleep specific**): - Pattern: `sleep.interval.end_time` - Supported comparison operators: `>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.end_time >= \"2023-11-24T00:00:00Z\" AND sleep.interval.end_time < \"2023-11-25T00:00:00Z\"` - Session civil end time (**Sleep specific**): - Pattern: `sleep.interval.civil_end_time` - Supported comparison operators: `>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.civil_end_time >= \"2023-11-24\" AND sleep.interval.civil_end_time < \"2023-11-25\"` Data points in the response will be ordered by the interval start time in descending order.", "location": "query", "type": "string" }, @@ -544,7 +591,13 @@ "path": "v4/{+parent}/dataPoints", "response": { "$ref": "ListDataPointsResponse" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly", + "https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly", + "https://www.googleapis.com/auth/googlehealth.location.readonly", + "https://www.googleapis.com/auth/googlehealth.sleep.readonly" + ] }, "patch": { "description": "Updates a single identifiable data point. If a data point with the specified `name` is not found, the request will fail.", @@ -612,7 +665,13 @@ "path": "v4/{+parent}/dataPoints:reconcile", "response": { "$ref": "ReconcileDataPointsResponse" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly", + "https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly", + "https://www.googleapis.com/auth/googlehealth.location.readonly", + "https://www.googleapis.com/auth/googlehealth.sleep.readonly" + ] }, "rollUp": { "description": "Roll up data points over physical time intervals for supported data types.", @@ -637,7 +696,13 @@ }, "response": { "$ref": "RollUpDataPointsResponse" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly", + "https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly", + "https://www.googleapis.com/auth/googlehealth.location.readonly", + "https://www.googleapis.com/auth/googlehealth.sleep.readonly" + ] } } } @@ -646,7 +711,7 @@ } } }, - "revision": "20260503", + "revision": "20260515", "rootUrl": "https://health.googleapis.com/", "schemas": { "ActiveMinutes": { @@ -1249,7 +1314,7 @@ "type": "object" }, "DailyRollupDataPoint": { - "description": "Value of a daily rollup for a single civil time interval (aggregation window)", + "description": "Value of a daily rollup for a single civil time interval (aggregation window) of reconciled data points from all data sources, excluding those data points that are identified as recorded by wearables in intervals when they were not actually worn.", "id": "DailyRollupDataPoint", "properties": { "activeMinutes": { @@ -1929,7 +1994,7 @@ "id": "ExportExerciseTcxResponse", "properties": { "tcxData": { - "description": "Contains the exported TCX data.", + "description": "Contains the exported TCX data. This field is intended for gRPC clients, as media download integration is not supported for gRPC. HTTP clients should instead use the `alt=media` query parameter to download the raw binary TCX file.", "type": "string" } }, @@ -2075,7 +2140,7 @@ "id": "HeartRateVariability", "properties": { "rootMeanSquareOfSuccessiveDifferencesMilliseconds": { - "description": "Optional. The root mean square of successive differences between normal heartbeats. This is a measure of heart rate variability used by Fitbit.", + "description": "Optional. The root mean square of successive differences between normal heartbeats. This is a measure of heart rate variability used by Google Health.", "format": "double", "type": "number" }, @@ -2847,7 +2912,7 @@ "type": "object" }, "RollupDataPoint": { - "description": "Value of a rollup for a single physical time interval (aggregation window)", + "description": "Value of a rollup for a single physical time interval (aggregation window) of reconciled data points from all data sources, excluding those data points that are identified as recorded by wearables in intervals when they were not actually worn.", "id": "RollupDataPoint", "properties": { "activeMinutes": { @@ -3624,7 +3689,7 @@ "id": "SubscriberConfig", "properties": { "dataTypes": { - "description": "Required. Supported data types are: \"altitude\", \"distance\", \"floors\", \"sleep\", \"steps\", \"weight\". Values should be in kebab-case.", + "description": "Required. See [Google Health API data types](https://developers.google.com/health/data-types) for the list of supported data types. Values should be in kebab-case.", "items": { "type": "string" }, @@ -3905,7 +3970,7 @@ "type": "number" }, "userProvidedUnit": { - "description": "Optional. Value representing the user provided unit.", + "description": "Optional. Value representing the user provided unit, used only for user-facing input and display purposes. In the API format, all volume quantities are converted to milliliters.", "enum": [ "VOLUME_UNIT_UNSPECIFIED", "CUP_IMPERIAL", diff --git a/src/apis/health/v4.ts b/src/apis/health/v4.ts index 3b3c41bef6..28e7e4863b 100644 --- a/src/apis/health/v4.ts +++ b/src/apis/health/v4.ts @@ -494,7 +494,7 @@ export namespace health_v4 { calculationMethod?: string | null; } /** - * Value of a daily rollup for a single civil time interval (aggregation window) + * Value of a daily rollup for a single civil time interval (aggregation window) of reconciled data points from all data sources, excluding those data points that are identified as recorded by wearables in intervals when they were not actually worn. */ export interface Schema$DailyRollupDataPoint { /** @@ -1014,7 +1014,7 @@ export namespace health_v4 { */ export interface Schema$ExportExerciseTcxResponse { /** - * Contains the exported TCX data. + * Contains the exported TCX data. This field is intended for gRPC clients, as media download integration is not supported for gRPC. HTTP clients should instead use the `alt=media` query parameter to download the raw binary TCX file. */ tcxData?: string | null; } @@ -1110,7 +1110,7 @@ export namespace health_v4 { */ export interface Schema$HeartRateVariability { /** - * Optional. The root mean square of successive differences between normal heartbeats. This is a measure of heart rate variability used by Fitbit. + * Optional. The root mean square of successive differences between normal heartbeats. This is a measure of heart rate variability used by Google Health. */ rootMeanSquareOfSuccessiveDifferencesMilliseconds?: number | null; /** @@ -1695,7 +1695,7 @@ export namespace health_v4 { beatsPerMinuteMin?: number | null; } /** - * Value of a rollup for a single physical time interval (aggregation window) + * Value of a rollup for a single physical time interval (aggregation window) of reconciled data points from all data sources, excluding those data points that are identified as recorded by wearables in intervals when they were not actually worn. */ export interface Schema$RollupDataPoint { /** @@ -2202,7 +2202,7 @@ export namespace health_v4 { */ export interface Schema$SubscriberConfig { /** - * Required. Supported data types are: "altitude", "distance", "floors", "sleep", "steps", "weight". Values should be in kebab-case. + * Required. See [Google Health API data types](https://developers.google.com/health/data-types) for the list of supported data types. Values should be in kebab-case. */ dataTypes?: string[] | null; /** @@ -2361,7 +2361,7 @@ export namespace health_v4 { */ milliliters?: number | null; /** - * Optional. Value representing the user provided unit. + * Optional. Value representing the user provided unit, used only for user-facing input and display purposes. In the API format, all volume quantities are converted to milliliters. */ userProvidedUnit?: string | null; } @@ -3098,7 +3098,13 @@ export namespace health_v4 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: [], + * scopes: [ + * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly', + * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly', + * 'https://www.googleapis.com/auth/googlehealth.profile.readonly', + * 'https://www.googleapis.com/auth/googlehealth.settings.readonly', + * 'https://www.googleapis.com/auth/googlehealth.sleep.readonly', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -3234,7 +3240,7 @@ export namespace health_v4 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: [], + * scopes: ['https://www.googleapis.com/auth/googlehealth.profile.readonly'], * }); * * // Acquire an auth client, and bind it to all future calls @@ -3373,7 +3379,7 @@ export namespace health_v4 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: [], + * scopes: ['https://www.googleapis.com/auth/googlehealth.settings.readonly'], * }); * * // Acquire an auth client, and bind it to all future calls @@ -4240,7 +4246,12 @@ export namespace health_v4 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: [], + * scopes: [ + * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly', + * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly', + * 'https://www.googleapis.com/auth/googlehealth.location.readonly', + * 'https://www.googleapis.com/auth/googlehealth.sleep.readonly', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -4374,7 +4385,7 @@ export namespace health_v4 { } /** - * Exports exercise data in TCX format. Note: While the Authorization section below states that any one of the listed scopes is accepted, this specific method requires the user to provide both one of the `activity_and_fitness` scopes (`normal` or `readonly`) AND one of the `location` scopes (`normal` or `readonly`) in their access token to succeed. + * Exports exercise data in TCX format. **IMPORTANT:** HTTP clients must append `?alt=media` to the request URL to download the raw TCX file. Example: `https://health.googleapis.com/v4/users/me/dataTypes/exercise/dataPoints/EXERCISE_ID:exportExerciseTcx?alt=media` Without `alt=media`, the server returns a JSON response (`ExportExerciseTcxResponse`) which is intended primarily for gRPC clients. **Note:** While the Authorization section below states that any one of the listed scopes is accepted, this specific method requires the user to provide both one of the `activity_and_fitness` scopes (`normal` or `readonly`) AND one of the `location` scopes (`normal` or `readonly`) in their access token to succeed. * @example * ```js * // Before running the sample: @@ -4395,7 +4406,10 @@ export namespace health_v4 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: [], + * scopes: [ + * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly', + * 'https://www.googleapis.com/auth/googlehealth.location.readonly', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -4539,7 +4553,12 @@ export namespace health_v4 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: [], + * scopes: [ + * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly', + * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly', + * 'https://www.googleapis.com/auth/googlehealth.location.readonly', + * 'https://www.googleapis.com/auth/googlehealth.sleep.readonly', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -4704,7 +4723,12 @@ export namespace health_v4 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: [], + * scopes: [ + * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly', + * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly', + * 'https://www.googleapis.com/auth/googlehealth.location.readonly', + * 'https://www.googleapis.com/auth/googlehealth.sleep.readonly', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -4713,7 +4737,7 @@ export namespace health_v4 { * * // Do the magic * const res = await health.users.dataTypes.dataPoints.list({ - * // Optional. Filter expression following https://google.aip.dev/160. A time range (either physical or civil) can be specified. The supported filter fields are: - Interval start time: - Pattern: `{interval_data_type\}.interval.start_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `steps.interval.start_time \>= "2023-11-24T00:00:00Z" AND steps.interval.start_time < "2023-11-25T00:00:00Z"` - `distance.interval.start_time \>= "2024-08-14T12:34:56Z"` - Interval civil start time: - Pattern: `{interval_data_type\}.interval.civil_start_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `steps.interval.civil_start_time \>= "2023-11-24" AND steps.interval.civil_start_time < "2023-11-25"` - `distance.interval.civil_start_time \>= "2024-08-14T12:34:56"` - Sample observation physical time: - Pattern: `{sample_data_type\}.sample_time.physical_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `weight.sample_time.physical_time \>= "2023-11-24T00:00:00Z" AND weight.sample_time.physical_time < "2023-11-25T00:00:00Z"` - `weight.sample_time.physical_time \>= "2024-08-14T12:34:56Z"` - Sample observation civil time: - Pattern: `{sample_data_type\}.sample_time.civil_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `weight.sample_time.civil_time \>= "2023-11-24" AND weight.sample_time.civil_time < "2023-11-25"` - `weight.sample_time.civil_time \>= "2024-08-14T12:34:56"` - Daily summary date: - Pattern: `{daily_summary_data_type\}.date` - Supported comparison operators: `\>=`, `<` - Date literal expected in ISO 8601 `YYYY-MM-DD` format - Supported logical operators: `AND` - Example: - `daily_heart_rate_variability.date < "2024-08-15"` - Session civil start time (**Excluding Sleep**): - Pattern: `{session_data_type\}.interval.civil_start_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `exercise.interval.civil_start_time \>= "2023-11-24" AND exercise.interval.civil_start_time < "2023-11-25"` - `exercise.interval.civil_start_time \>= "2024-08-14T12:34:56"` - Session end time (**Sleep specific**): - Pattern: `sleep.interval.end_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.end_time \>= "2023-11-24T00:00:00Z" AND sleep.interval.end_time < "2023-11-25T00:00:00Z"` - Session civil end time (**Sleep specific**): - Pattern: `sleep.interval.civil_end_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.civil_end_time \>= "2023-11-24" AND sleep.interval.civil_end_time < "2023-11-25"` Data points in the response will be ordered by the interval start time in descending order. + * // Optional. Filter expression following https://google.aip.dev/160. A time range (either physical or civil) can be specified. The supported filter fields are: - Interval start time: - Pattern: `{interval_data_type\}.interval.start_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `steps.interval.start_time \>= "2023-11-24T00:00:00Z" AND steps.interval.start_time < "2023-11-25T00:00:00Z"` - `distance.interval.start_time \>= "2024-08-14T12:34:56Z"` - Interval civil start time: - Pattern: `{interval_data_type\}.interval.civil_start_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `steps.interval.civil_start_time \>= "2023-11-24" AND steps.interval.civil_start_time < "2023-11-25"` - `distance.interval.civil_start_time \>= "2024-08-14T12:34:56"` - Sample observation physical time: - Pattern: `{sample_data_type\}.sample_time.physical_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `weight.sample_time.physical_time \>= "2023-11-24T00:00:00Z" AND weight.sample_time.physical_time < "2023-11-25T00:00:00Z"` - `weight.sample_time.physical_time \>= "2024-08-14T12:34:56Z"` - Sample observation civil time: - Pattern: `{sample_data_type\}.sample_time.civil_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `weight.sample_time.civil_time \>= "2023-11-24" AND weight.sample_time.civil_time < "2023-11-25"` - `weight.sample_time.civil_time \>= "2024-08-14T12:34:56"` - Daily summary date: - Pattern: `{daily_summary_data_type\}.date` - Supported comparison operators: `\>=`, `<` - Date literal expected in ISO 8601 `YYYY-MM-DD` format - Supported logical operators: `AND` - Example: - `daily_heart_rate_variability.date < "2024-08-15"` - Session start time (**ECG specific**): - Pattern: `electrocardiogram.interval.start_time` - Supported comparison operators: `\>=` - Timestamp literal expected in RFC-3339 format - Example: - `electrocardiogram.interval.start_time \>= "2024-08-14T12:34:56Z"` - Note: Only filtering by start time is supported for ECG. Filtering by end time (e.g., `electrocardiogram.interval.end_time`) is not supported. - Session civil start time (**Excluding Sleep**): - Pattern: `{session_data_type\}.interval.civil_start_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `exercise.interval.civil_start_time \>= "2023-11-24" AND exercise.interval.civil_start_time < "2023-11-25"` - `exercise.interval.civil_start_time \>= "2024-08-14T12:34:56"` - Session end time (**Sleep specific**): - Pattern: `sleep.interval.end_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.end_time \>= "2023-11-24T00:00:00Z" AND sleep.interval.end_time < "2023-11-25T00:00:00Z"` - Session civil end time (**Sleep specific**): - Pattern: `sleep.interval.civil_end_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.civil_end_time \>= "2023-11-24" AND sleep.interval.civil_end_time < "2023-11-25"` Data points in the response will be ordered by the interval start time in descending order. * filter: 'placeholder-value', * // Optional. The maximum number of data points to return. If unspecified, at most 1440 data points will be returned. The maximum page size is 10000; values above that will be truncated accordingly. For `exercise` and `sleep` the default page size is 25. The maximum page size for `exercise` and `sleep` is 25. * pageSize: 'placeholder-value', @@ -5027,7 +5051,12 @@ export namespace health_v4 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: [], + * scopes: [ + * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly', + * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly', + * 'https://www.googleapis.com/auth/googlehealth.location.readonly', + * 'https://www.googleapis.com/auth/googlehealth.sleep.readonly', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -5177,7 +5206,12 @@ export namespace health_v4 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: [], + * scopes: [ + * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly', + * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly', + * 'https://www.googleapis.com/auth/googlehealth.location.readonly', + * 'https://www.googleapis.com/auth/googlehealth.sleep.readonly', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -5361,7 +5395,7 @@ export namespace health_v4 { } export interface Params$Resource$Users$Datatypes$Datapoints$List extends StandardParameters { /** - * Optional. Filter expression following https://google.aip.dev/160. A time range (either physical or civil) can be specified. The supported filter fields are: - Interval start time: - Pattern: `{interval_data_type\}.interval.start_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `steps.interval.start_time \>= "2023-11-24T00:00:00Z" AND steps.interval.start_time < "2023-11-25T00:00:00Z"` - `distance.interval.start_time \>= "2024-08-14T12:34:56Z"` - Interval civil start time: - Pattern: `{interval_data_type\}.interval.civil_start_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `steps.interval.civil_start_time \>= "2023-11-24" AND steps.interval.civil_start_time < "2023-11-25"` - `distance.interval.civil_start_time \>= "2024-08-14T12:34:56"` - Sample observation physical time: - Pattern: `{sample_data_type\}.sample_time.physical_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `weight.sample_time.physical_time \>= "2023-11-24T00:00:00Z" AND weight.sample_time.physical_time < "2023-11-25T00:00:00Z"` - `weight.sample_time.physical_time \>= "2024-08-14T12:34:56Z"` - Sample observation civil time: - Pattern: `{sample_data_type\}.sample_time.civil_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `weight.sample_time.civil_time \>= "2023-11-24" AND weight.sample_time.civil_time < "2023-11-25"` - `weight.sample_time.civil_time \>= "2024-08-14T12:34:56"` - Daily summary date: - Pattern: `{daily_summary_data_type\}.date` - Supported comparison operators: `\>=`, `<` - Date literal expected in ISO 8601 `YYYY-MM-DD` format - Supported logical operators: `AND` - Example: - `daily_heart_rate_variability.date < "2024-08-15"` - Session civil start time (**Excluding Sleep**): - Pattern: `{session_data_type\}.interval.civil_start_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `exercise.interval.civil_start_time \>= "2023-11-24" AND exercise.interval.civil_start_time < "2023-11-25"` - `exercise.interval.civil_start_time \>= "2024-08-14T12:34:56"` - Session end time (**Sleep specific**): - Pattern: `sleep.interval.end_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.end_time \>= "2023-11-24T00:00:00Z" AND sleep.interval.end_time < "2023-11-25T00:00:00Z"` - Session civil end time (**Sleep specific**): - Pattern: `sleep.interval.civil_end_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.civil_end_time \>= "2023-11-24" AND sleep.interval.civil_end_time < "2023-11-25"` Data points in the response will be ordered by the interval start time in descending order. + * Optional. Filter expression following https://google.aip.dev/160. A time range (either physical or civil) can be specified. The supported filter fields are: - Interval start time: - Pattern: `{interval_data_type\}.interval.start_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `steps.interval.start_time \>= "2023-11-24T00:00:00Z" AND steps.interval.start_time < "2023-11-25T00:00:00Z"` - `distance.interval.start_time \>= "2024-08-14T12:34:56Z"` - Interval civil start time: - Pattern: `{interval_data_type\}.interval.civil_start_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `steps.interval.civil_start_time \>= "2023-11-24" AND steps.interval.civil_start_time < "2023-11-25"` - `distance.interval.civil_start_time \>= "2024-08-14T12:34:56"` - Sample observation physical time: - Pattern: `{sample_data_type\}.sample_time.physical_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `weight.sample_time.physical_time \>= "2023-11-24T00:00:00Z" AND weight.sample_time.physical_time < "2023-11-25T00:00:00Z"` - `weight.sample_time.physical_time \>= "2024-08-14T12:34:56Z"` - Sample observation civil time: - Pattern: `{sample_data_type\}.sample_time.civil_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `weight.sample_time.civil_time \>= "2023-11-24" AND weight.sample_time.civil_time < "2023-11-25"` - `weight.sample_time.civil_time \>= "2024-08-14T12:34:56"` - Daily summary date: - Pattern: `{daily_summary_data_type\}.date` - Supported comparison operators: `\>=`, `<` - Date literal expected in ISO 8601 `YYYY-MM-DD` format - Supported logical operators: `AND` - Example: - `daily_heart_rate_variability.date < "2024-08-15"` - Session start time (**ECG specific**): - Pattern: `electrocardiogram.interval.start_time` - Supported comparison operators: `\>=` - Timestamp literal expected in RFC-3339 format - Example: - `electrocardiogram.interval.start_time \>= "2024-08-14T12:34:56Z"` - Note: Only filtering by start time is supported for ECG. Filtering by end time (e.g., `electrocardiogram.interval.end_time`) is not supported. - Session civil start time (**Excluding Sleep**): - Pattern: `{session_data_type\}.interval.civil_start_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `exercise.interval.civil_start_time \>= "2023-11-24" AND exercise.interval.civil_start_time < "2023-11-25"` - `exercise.interval.civil_start_time \>= "2024-08-14T12:34:56"` - Session end time (**Sleep specific**): - Pattern: `sleep.interval.end_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.end_time \>= "2023-11-24T00:00:00Z" AND sleep.interval.end_time < "2023-11-25T00:00:00Z"` - Session civil end time (**Sleep specific**): - Pattern: `sleep.interval.civil_end_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.civil_end_time \>= "2023-11-24" AND sleep.interval.civil_end_time < "2023-11-25"` Data points in the response will be ordered by the interval start time in descending order. */ filter?: string; /** From 9711ce692c3fbd69e77c0a8e5e87367baa2dc684 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 41/69] feat(homegraph): update the API #### homegraph:v1 The following keys were added: - schemas.DeviceMetadata.description - schemas.DeviceMetadata.id - schemas.DeviceMetadata.properties.traitCommitTimestamps.additionalProperties.format - schemas.DeviceMetadata.properties.traitCommitTimestamps.additionalProperties.type - schemas.DeviceMetadata.properties.traitCommitTimestamps.description - schemas.DeviceMetadata.properties.traitCommitTimestamps.type - schemas.DeviceMetadata.type - schemas.QueryRequest.properties.includeDeviceMetadata.description - schemas.QueryRequest.properties.includeDeviceMetadata.type - schemas.QueryResponsePayload.properties.deviceMetadata.additionalProperties.$ref - schemas.QueryResponsePayload.properties.deviceMetadata.description - schemas.QueryResponsePayload.properties.deviceMetadata.type --- discovery/homegraph-v1.json | 28 +++++++++++++++++++++++++++- src/apis/homegraph/v1.ts | 18 ++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/discovery/homegraph-v1.json b/discovery/homegraph-v1.json index aee9d62d94..4325204b06 100644 --- a/discovery/homegraph-v1.json +++ b/discovery/homegraph-v1.json @@ -216,7 +216,7 @@ } } }, - "revision": "20260414", + "revision": "20260508", "rootUrl": "https://homegraph.googleapis.com/", "schemas": { "AgentDeviceId": { @@ -355,6 +355,21 @@ }, "type": "object" }, + "DeviceMetadata": { + "description": "Metadata for traits of a single device.", + "id": "DeviceMetadata", + "properties": { + "traitCommitTimestamps": { + "additionalProperties": { + "format": "google-datetime", + "type": "string" + }, + "description": "Map from the Trait ID (e.g., \"action.devices.traits.OnOff\") to its last Spanner commit timestamp.", + "type": "object" + } + }, + "type": "object" + }, "DeviceNames": { "description": "Identifiers used to describe the device.", "id": "DeviceNames", @@ -472,6 +487,10 @@ "description": "Required. Third-party user ID.", "type": "string" }, + "includeDeviceMetadata": { + "description": "Optional. If true, the response will include device metadata in the device_metadata field.", + "type": "boolean" + }, "inputs": { "description": "Required. Inputs containing third-party device IDs for which to get the device states.", "items": { @@ -530,6 +549,13 @@ "description": "Payload containing device states information.", "id": "QueryResponsePayload", "properties": { + "deviceMetadata": { + "additionalProperties": { + "$ref": "DeviceMetadata" + }, + "description": "Map from the Trait ID (e.g., \"action.devices.traits.OnOff\") to its last Spanner commit timestamp. If a trait has no recorded timestamp, it will be omitted from this map.", + "type": "object" + }, "devices": { "additionalProperties": { "additionalProperties": { diff --git a/src/apis/homegraph/v1.ts b/src/apis/homegraph/v1.ts index adee962687..29d83242ed 100644 --- a/src/apis/homegraph/v1.ts +++ b/src/apis/homegraph/v1.ts @@ -235,6 +235,15 @@ export namespace homegraph_v1 { */ swVersion?: string | null; } + /** + * Metadata for traits of a single device. + */ + export interface Schema$DeviceMetadata { + /** + * Map from the Trait ID (e.g., "action.devices.traits.OnOff") to its last Spanner commit timestamp. + */ + traitCommitTimestamps?: {[key: string]: string} | null; + } /** * Identifiers used to describe the device. */ @@ -320,6 +329,10 @@ export namespace homegraph_v1 { * Required. Third-party user ID. */ agentUserId?: string | null; + /** + * Optional. If true, the response will include device metadata in the device_metadata field. + */ + includeDeviceMetadata?: boolean | null; /** * Required. Inputs containing third-party device IDs for which to get the device states. */ @@ -364,6 +377,10 @@ export namespace homegraph_v1 { * Payload containing device states information. */ export interface Schema$QueryResponsePayload { + /** + * Map from the Trait ID (e.g., "action.devices.traits.OnOff") to its last Spanner commit timestamp. If a trait has no recorded timestamp, it will be omitted from this map. + */ + deviceMetadata?: {[key: string]: Schema$DeviceMetadata} | null; /** * States of the devices. Map of third-party device ID to struct of device states. */ @@ -693,6 +710,7 @@ export namespace homegraph_v1 { * // request body parameters * // { * // "agentUserId": "my_agentUserId", + * // "includeDeviceMetadata": false, * // "inputs": [], * // "requestId": "my_requestId" * // } From 29116cd41005028a4a6e58fbc8f325c4c61bfc57 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 42/69] fix(hypercomputecluster): update the API #### hypercomputecluster:v1 The following keys were changed: - schemas.StorageResource.description --- discovery/hypercomputecluster-v1.json | 4 ++-- src/apis/hypercomputecluster/v1.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discovery/hypercomputecluster-v1.json b/discovery/hypercomputecluster-v1.json index b5909639e6..7e9e5dc17c 100644 --- a/discovery/hypercomputecluster-v1.json +++ b/discovery/hypercomputecluster-v1.json @@ -498,7 +498,7 @@ } } }, - "revision": "20260429", + "revision": "20260506", "rootUrl": "https://hypercomputecluster.googleapis.com/", "schemas": { "BootDisk": { @@ -1793,7 +1793,7 @@ "type": "object" }, "StorageResource": { - "description": "A resource representing a form of persistent storage that is accessible to compute resources in the cluster.", + "description": "A resource representing a form of persistent storage that can be mounted onto compute resources in the cluster.", "id": "StorageResource", "properties": { "bucket": { diff --git a/src/apis/hypercomputecluster/v1.ts b/src/apis/hypercomputecluster/v1.ts index bba0b515b8..f58554b941 100644 --- a/src/apis/hypercomputecluster/v1.ts +++ b/src/apis/hypercomputecluster/v1.ts @@ -1059,7 +1059,7 @@ export namespace hypercomputecluster_v1 { localMount?: string | null; } /** - * A resource representing a form of persistent storage that is accessible to compute resources in the cluster. + * A resource representing a form of persistent storage that can be mounted onto compute resources in the cluster. */ export interface Schema$StorageResource { /** From 20cfbcdafa3dde9a7e901145c96ef2fef3f42261 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 43/69] fix(managedidentities): update the API #### managedidentities:v1 The following keys were changed: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description --- discovery/managedidentities-v1.json | 4 ++-- src/apis/managedidentities/v1.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/discovery/managedidentities-v1.json b/discovery/managedidentities-v1.json index e5f8607d13..3afb7a4f00 100644 --- a/discovery/managedidentities-v1.json +++ b/discovery/managedidentities-v1.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1526,7 +1526,7 @@ } } }, - "revision": "20260414", + "revision": "20260424", "rootUrl": "https://managedidentities.googleapis.com/", "schemas": { "AttachTrustRequest": { diff --git a/src/apis/managedidentities/v1.ts b/src/apis/managedidentities/v1.ts index a0d97ebd7a..2b49b2f19e 100644 --- a/src/apis/managedidentities/v1.ts +++ b/src/apis/managedidentities/v1.ts @@ -1469,7 +1469,7 @@ export namespace managedidentities_v1 { * * // Do the magic * const res = await managedidentities.projects.locations.list({ - * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. * extraLocationTypes: 'placeholder-value', * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). * filter: 'placeholder-value', @@ -1596,7 +1596,7 @@ export namespace managedidentities_v1 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** - * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */ extraLocationTypes?: string[]; /** From aebc4eae6307341f3db35f80bf8ecd20a8b1be3b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 44/69] feat(managedkafka): update the API #### managedkafka:v1 The following keys were added: - schemas.SchemaSubject.description - schemas.SchemaSubject.id - schemas.SchemaSubject.properties.name.description - schemas.SchemaSubject.properties.name.type - schemas.SchemaSubject.properties.versions.description - schemas.SchemaSubject.properties.versions.items.type - schemas.SchemaSubject.properties.versions.type - schemas.SchemaSubject.type --- discovery/managedkafka-v1.json | 20 +++++++++++++++++++- src/apis/managedkafka/v1.ts | 13 +++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/discovery/managedkafka-v1.json b/discovery/managedkafka-v1.json index 4d226ae47a..c421560c49 100644 --- a/discovery/managedkafka-v1.json +++ b/discovery/managedkafka-v1.json @@ -3186,7 +3186,7 @@ } } }, - "revision": "20260423", + "revision": "20260507", "rootUrl": "https://managedkafka.googleapis.com/", "schemas": { "AccessConfig": { @@ -4404,6 +4404,24 @@ }, "type": "object" }, + "SchemaSubject": { + "description": "Subject defines the evolution scope of schemas as a holder of schema versions.", + "id": "SchemaSubject", + "properties": { + "name": { + "description": "Identifier. The name of the subject. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` Subject name {subject} can contain the following: * Up to 255 UTF-8 bytes. * Allowed characters: letters (uppercase or lowercase), numbers, and the following special characters: `.`, `-`, `_`, `+`, `%`, and `~`.", + "type": "string" + }, + "versions": { + "description": "Optional. The versions of the subject.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "SchemaVersion": { "description": "Version of a schema.", "id": "SchemaVersion", diff --git a/src/apis/managedkafka/v1.ts b/src/apis/managedkafka/v1.ts index e9f7ea201d..8cefafb481 100644 --- a/src/apis/managedkafka/v1.ts +++ b/src/apis/managedkafka/v1.ts @@ -937,6 +937,19 @@ export namespace managedkafka_v1 { */ name?: string | null; } + /** + * Subject defines the evolution scope of schemas as a holder of schema versions. + */ + export interface Schema$SchemaSubject { + /** + * Identifier. The name of the subject. Structured like: `projects/{project\}/locations/{location\}/schemaRegistries/{schema_registry\}/subjects/{subject\}` or `projects/{project\}/locations/{location\}/schemaRegistries/{schema_registry\}/contexts/{context\}/subjects/{subject\}` Subject name {subject\} can contain the following: * Up to 255 UTF-8 bytes. * Allowed characters: letters (uppercase or lowercase), numbers, and the following special characters: `.`, `-`, `_`, `+`, `%`, and `~`. + */ + name?: string | null; + /** + * Optional. The versions of the subject. + */ + versions?: string[] | null; + } /** * Version of a schema. */ From db786dcda7001985df9a06d65b4d994e858fcd1d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 45/69] fix(memcache): update the API #### memcache:v1beta2 The following keys were changed: - resources.projects.resources.locations.methods.list.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description #### memcache:v1 The following keys were changed: - resources.projects.resources.locations.methods.list.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description --- discovery/memcache-v1.json | 6 +++--- discovery/memcache-v1beta2.json | 6 +++--- src/apis/memcache/v1.ts | 6 +++--- src/apis/memcache/v1beta2.ts | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/discovery/memcache-v1.json b/discovery/memcache-v1.json index 62a350bca0..c28e0f9c20 100644 --- a/discovery/memcache-v1.json +++ b/discovery/memcache-v1.json @@ -135,7 +135,7 @@ ] }, "list": { - "description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", + "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", "flatPath": "v1/projects/{projectsId}/locations", "httpMethod": "GET", "id": "memcache.projects.locations.list", @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -648,7 +648,7 @@ } } }, - "revision": "20260205", + "revision": "20260517", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { diff --git a/discovery/memcache-v1beta2.json b/discovery/memcache-v1beta2.json index 24c40594d0..a82f532639 100644 --- a/discovery/memcache-v1beta2.json +++ b/discovery/memcache-v1beta2.json @@ -135,7 +135,7 @@ ] }, "list": { - "description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", + "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", "flatPath": "v1beta2/projects/{projectsId}/locations", "httpMethod": "GET", "id": "memcache.projects.locations.list", @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -623,7 +623,7 @@ } } }, - "revision": "20260205", + "revision": "20260517", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { diff --git a/src/apis/memcache/v1.ts b/src/apis/memcache/v1.ts index 1dc438254a..151e9538bc 100644 --- a/src/apis/memcache/v1.ts +++ b/src/apis/memcache/v1.ts @@ -1196,7 +1196,7 @@ export namespace memcache_v1 { } /** - * Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id\}/locations`. This may include public locations as well as private or other locations specifically visible to the project. + * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. * @example * ```js * // Before running the sample: @@ -1226,7 +1226,7 @@ export namespace memcache_v1 { * * // Do the magic * const res = await memcache.projects.locations.list({ - * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. * extraLocationTypes: 'placeholder-value', * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). * filter: 'placeholder-value', @@ -1352,7 +1352,7 @@ export namespace memcache_v1 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** - * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */ extraLocationTypes?: string[]; /** diff --git a/src/apis/memcache/v1beta2.ts b/src/apis/memcache/v1beta2.ts index 0b98f05296..3add84d3f3 100644 --- a/src/apis/memcache/v1beta2.ts +++ b/src/apis/memcache/v1beta2.ts @@ -1217,7 +1217,7 @@ export namespace memcache_v1beta2 { } /** - * Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id\}/locations`. This may include public locations as well as private or other locations specifically visible to the project. + * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. * @example * ```js * // Before running the sample: @@ -1247,7 +1247,7 @@ export namespace memcache_v1beta2 { * * // Do the magic * const res = await memcache.projects.locations.list({ - * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. * extraLocationTypes: 'placeholder-value', * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). * filter: 'placeholder-value', @@ -1373,7 +1373,7 @@ export namespace memcache_v1beta2 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** - * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */ extraLocationTypes?: string[]; /** From 8e3a62d3dc20cb1949d3017b26f61dfdd89b1888 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 46/69] feat(merchantapi): update the API #### merchantapi:accounts_v1 The following keys were changed: - resources.accounts.resources.developerRegistration.methods.registerGcp.description - resources.accounts.resources.developerRegistration.methods.registerGcp.parameters.name.description #### merchantapi:accounts_v1beta The following keys were changed: - resources.accounts.resources.developerRegistration.methods.registerGcp.description - resources.accounts.resources.developerRegistration.methods.registerGcp.parameters.name.description #### merchantapi:products_v1 The following keys were added: - schemas.PickupCost.description - schemas.PickupCost.id - schemas.PickupCost.properties.flatRate.$ref - schemas.PickupCost.properties.flatRate.description - schemas.PickupCost.properties.freeThreshold.$ref - schemas.PickupCost.properties.freeThreshold.description - schemas.PickupCost.type - schemas.Product.properties.archived.description - schemas.Product.properties.archived.readOnly - schemas.Product.properties.archived.type - schemas.ProductAttributes.properties.documentLinks.description - schemas.ProductAttributes.properties.documentLinks.items.type - schemas.ProductAttributes.properties.documentLinks.type - schemas.ProductAttributes.properties.itemGroupTitle.description - schemas.ProductAttributes.properties.itemGroupTitle.type - schemas.ProductAttributes.properties.pickupCost.$ref - schemas.ProductAttributes.properties.pickupCost.description - schemas.ProductAttributes.properties.popularityRank.description - schemas.ProductAttributes.properties.popularityRank.format - schemas.ProductAttributes.properties.popularityRank.type - schemas.ProductAttributes.properties.questionsAndAnswers.description - schemas.ProductAttributes.properties.questionsAndAnswers.items.$ref - schemas.ProductAttributes.properties.questionsAndAnswers.type - schemas.ProductAttributes.properties.relatedProducts.description - schemas.ProductAttributes.properties.relatedProducts.items.$ref - schemas.ProductAttributes.properties.relatedProducts.type - schemas.ProductAttributes.properties.variantOptions.description - schemas.ProductAttributes.properties.variantOptions.items.$ref - schemas.ProductAttributes.properties.variantOptions.type - schemas.QuestionAndAnswer.description - schemas.QuestionAndAnswer.id - schemas.QuestionAndAnswer.properties.answer.description - schemas.QuestionAndAnswer.properties.answer.type - schemas.QuestionAndAnswer.properties.question.description - schemas.QuestionAndAnswer.properties.question.type - schemas.QuestionAndAnswer.type - schemas.RelatedProduct.description - schemas.RelatedProduct.id - schemas.RelatedProduct.properties.id.description - schemas.RelatedProduct.properties.id.type - schemas.RelatedProduct.properties.idType.description - schemas.RelatedProduct.properties.idType.enum - schemas.RelatedProduct.properties.idType.enumDescriptions - schemas.RelatedProduct.properties.idType.type - schemas.RelatedProduct.properties.relationshipType.description - schemas.RelatedProduct.properties.relationshipType.enum - schemas.RelatedProduct.properties.relationshipType.enumDescriptions - schemas.RelatedProduct.properties.relationshipType.type - schemas.RelatedProduct.type - schemas.VariantOption.description - schemas.VariantOption.id - schemas.VariantOption.properties.name.description - schemas.VariantOption.properties.name.type - schemas.VariantOption.properties.value.description - schemas.VariantOption.properties.value.type - schemas.VariantOption.type The following keys were changed: - schemas.Co2Emissions.properties.unit.enumDescriptions - schemas.EnergyConsumption.properties.unit.enumDescriptions - schemas.FuelConsumption.properties.unit.enumDescriptions #### merchantapi:products_v1beta The following keys were added: - schemas.Product.properties.archived.description - schemas.Product.properties.archived.readOnly - schemas.Product.properties.archived.type --- discovery/merchantapi-accounts_v1.json | 6 +- discovery/merchantapi-accounts_v1beta.json | 6 +- discovery/merchantapi-products_v1.json | 148 ++++++++++++++++++++- discovery/merchantapi-products_v1beta.json | 7 +- src/apis/merchantapi/accounts_v1.ts | 6 +- src/apis/merchantapi/accounts_v1beta.ts | 6 +- src/apis/merchantapi/products_v1.ts | 89 +++++++++++++ src/apis/merchantapi/products_v1beta.ts | 5 + 8 files changed, 255 insertions(+), 18 deletions(-) diff --git a/discovery/merchantapi-accounts_v1.json b/discovery/merchantapi-accounts_v1.json index 64660014c5..d64d51c0f2 100644 --- a/discovery/merchantapi-accounts_v1.json +++ b/discovery/merchantapi-accounts_v1.json @@ -607,7 +607,7 @@ ] }, "registerGcp": { - "description": "Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an \"API developer\" and add the \"developer_email\" as a contact with \"API notifications\" email preference on.", + "description": "Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an \"API developer\" and add the \"developer_email\" as a contact with \"API notifications\" email preference on. Restrictions: * The caller account must be authenticated and must not impersonate another account at registration time. Registering for subaccounts is not supported if the caller account is authenticated with the parent or the managing advanced account. * The caller account must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. * [Test accounts](https://developers.google.com/merchant/api/guides/accounts/test-accounts) are not eligible for registration.", "flatPath": "accounts/v1/accounts/{accountsId}/developerRegistration:registerGcp", "httpMethod": "POST", "id": "merchantapi.accounts.developerRegistration.registerGcp", @@ -616,7 +616,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account}/developerRegistration` The {account} used must be the same account where user calling this API method is directly added to.", + "description": "Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account}/developerRegistration` The {account} used must be the same account where user calling this API method is directly added to. Note: The account used must be a production account (can't be a [test account](https://developers.google.com/merchant/api/guides/accounts/test-accounts) ) and must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center.", "location": "path", "pattern": "^accounts/[^/]+/developerRegistration$", "required": true, @@ -2438,7 +2438,7 @@ } } }, - "revision": "20260415", + "revision": "20260512", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "About": { diff --git a/discovery/merchantapi-accounts_v1beta.json b/discovery/merchantapi-accounts_v1beta.json index 03c30efd53..fb68ca2e6f 100644 --- a/discovery/merchantapi-accounts_v1beta.json +++ b/discovery/merchantapi-accounts_v1beta.json @@ -607,7 +607,7 @@ ] }, "registerGcp": { - "description": "Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an \"API developer\" and add the \"developer_email\" as a contact with \"API notifications\" email preference on.", + "description": "Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an \"API developer\" and add the \"developer_email\" as a contact with \"API notifications\" email preference on. Restrictions: * The caller account must be authenticated and must not impersonate another account at registration time. Registering for subaccounts is not supported if the caller account is authenticated with the parent or the managing advanced account. * The caller account must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. * [Test accounts](https://developers.google.com/merchant/api/guides/accounts/test-accounts) are not eligible for registration.", "flatPath": "accounts/v1beta/accounts/{accountsId}/developerRegistration:registerGcp", "httpMethod": "POST", "id": "merchantapi.accounts.developerRegistration.registerGcp", @@ -616,7 +616,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account}/developerRegistration` The {account} used must be the same account where user calling this API method is directly added to.", + "description": "Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account}/developerRegistration` The {account} used must be the same account where user calling this API method is directly added to. Note: The account used must be a production account (can't be a [test account](https://developers.google.com/merchant/api/guides/accounts/test-accounts) ) and must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center.", "location": "path", "pattern": "^accounts/[^/]+/developerRegistration$", "required": true, @@ -2388,7 +2388,7 @@ } } }, - "revision": "20260415", + "revision": "20260512", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "About": { diff --git a/discovery/merchantapi-products_v1.json b/discovery/merchantapi-products_v1.json index 17adcfe76c..f1541f43d5 100644 --- a/discovery/merchantapi-products_v1.json +++ b/discovery/merchantapi-products_v1.json @@ -281,7 +281,7 @@ } } }, - "revision": "20260501", + "revision": "20260520", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "AutomatedDiscounts": { @@ -643,7 +643,7 @@ ], "enumDescriptions": [ "Unspecified unit.", - "Grams per km." + "Grams per kilometer." ], "type": "string" }, @@ -793,7 +793,7 @@ ], "enumDescriptions": [ "Unspecified unit.", - "Kilowatt hours per 100 km." + "Kilowatt hours per 100 kilometers." ], "type": "string" }, @@ -833,8 +833,8 @@ ], "enumDescriptions": [ "Unspecified unit.", - "Liter per 100 km.", - "Kilograms per 100 km." + "Liter per 100 kilometers.", + "Kilograms per 100 kilometers." ], "type": "string" }, @@ -1111,6 +1111,21 @@ }, "type": "object" }, + "PickupCost": { + "description": "The pickup cost of the item.", + "id": "PickupCost", + "properties": { + "flatRate": { + "$ref": "Price", + "description": "Required. The flat rate pickup cost of the item." + }, + "freeThreshold": { + "$ref": "Price", + "description": "Optional. The price threshold above which pickup is free of charge." + } + }, + "type": "object" + }, "Price": { "description": "The price represented as a number and currency.", "id": "Price", @@ -1131,6 +1146,11 @@ "description": "The processed product, built from multiple product inputs after applying rules and supplemental data sources. This processed product matches what is shown in your Merchant Center account. Each product is built from exactly one primary data source product input, and multiple supplemental data source inputs. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved. All fields in the processed product and its sub-messages match the name of their corresponding attribute in the [Product data specification](https://support.google.com/merchants/answer/7052112) with some exceptions.", "id": "Product", "properties": { + "archived": { + "description": "Output only. Determines whether the product is [archived](https://support.google.com/merchants/answer/11909930). To archive or restore your product, visit Merchant Center products page. Learn also more about [offer visibility](https://support.google.com/merchants/answer/12488713).", + "readOnly": true, + "type": "boolean" + }, "automatedDiscounts": { "$ref": "AutomatedDiscounts", "description": "Output only. The automated discounts information for the product.", @@ -1466,6 +1486,13 @@ "format": "double", "type": "number" }, + "documentLinks": { + "description": "Optional. Contains a list of PDF [document URLs](https://support.google.com/merchants/answer/17084656) for the product. Examples are training manuals, user guides, assembly instructions, package inserts, etc. Must start with \"http://\" or \"https://\"), ASCII characters only, and RFC 3986 compliant.", + "items": { + "type": "string" + }, + "type": "array" + }, "electricRange": { "$ref": "Mileage", "description": "The [electric range](https://support.google.com/google-ads/answer/15162232) of the vehicle in miles/kms." @@ -1718,6 +1745,10 @@ "description": "Shared identifier for all variants of the same product.", "type": "string" }, + "itemGroupTitle": { + "description": "Optional. Represents the [title of the product group](https://support.google.com/merchants/answer/17085146) to which this variant product belongs. This can be used along with the [item group id](https://support.google.com/merchants/answer/6324507) attribute. It lets you perform better grouping of variant products, and helps identifying common product characteristics more efficiently.", + "type": "string" + }, "lifestyleImageLinks": { "description": "Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the [Help Center article](https://support.google.com/merchants/answer/9103186) for more information.", "items": { @@ -1872,6 +1903,10 @@ ], "type": "string" }, + "pickupCost": { + "$ref": "PickupCost", + "description": "Optional. The [pickup cost](https://support.google.com/merchants/answer/16988704) for an item when a customer buys it online and picks it up at a store." + }, "pickupMethod": { "description": "The [pickup](https://support.google.com/merchants/answer/14634021) option for the item.", "enum": [ @@ -1916,6 +1951,11 @@ ], "type": "string" }, + "popularityRank": { + "description": "Optional. Indicates the [popularity](https://support.google.com/merchants/answer/17085297) of the product in a merchant's inventory. Using a scale of 0.0 (lowest) to 100.0 (highest).", + "format": "float", + "type": "number" + }, "price": { "$ref": "Price", "description": "Price of the item." @@ -1964,6 +2004,20 @@ }, "type": "array" }, + "questionsAndAnswers": { + "description": "Optional. Contains user-, merchant-, and manufacturer-authored [questions and answers](https://support.google.com/merchants/answer/17085211) about the product. Max 30 question and answer pairs. Max 5000 characters total. Each question can have max 1000 characters. Each answer can have max 1000 characters.", + "items": { + "$ref": "QuestionAndAnswer" + }, + "type": "array" + }, + "relatedProducts": { + "description": "Optional. Specifies how other [products are related](https://support.google.com/merchants/answer/17085213) to this product.", + "items": { + "$ref": "RelatedProduct" + }, + "type": "array" + }, "returnPolicyLabel": { "description": "The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see [Return policy label](https://support.google.com/merchants/answer/9445425).", "type": "string" @@ -2129,6 +2183,13 @@ "$ref": "UnitPricingMeasure", "description": "The measure and dimension of an item." }, + "variantOptions": { + "description": "Optional. Contains the [list of all variant-identifying options](https://support.google.com/merchants/answer/17085214) of this product.", + "items": { + "$ref": "VariantOption" + }, + "type": "array" + }, "vehicleAllInPrice": { "$ref": "Price", "description": "The all-in advertised price for a vehicle, which includes costs for the following – any accessories attached to the vehicle, environmental levies, extra warranty, fuel, freight, pre-delivery inspection (PDI), dealer fees for handling licensing, provincial regulatory fees, miscellaneous dealer charges for security etching and nitrogen tire fill, and factory-to-customer or dealer-to-customer discounts or incentives. See the [Vehicle all-in price](https://support.google.com/google-ads/answer/14156981) for more information." @@ -2653,6 +2714,68 @@ }, "type": "object" }, + "QuestionAndAnswer": { + "description": "The question and answer for the product.", + "id": "QuestionAndAnswer", + "properties": { + "answer": { + "description": "Required. The answer text.", + "type": "string" + }, + "question": { + "description": "Required. The question text.", + "type": "string" + } + }, + "type": "object" + }, + "RelatedProduct": { + "description": "Specifies how other products are related to this product.", + "id": "RelatedProduct", + "properties": { + "id": { + "description": "Required. The identifier of the related product.", + "type": "string" + }, + "idType": { + "description": "Required. The type of the identifier of the related product. For example, [GTIN](https://support.google.com/merchants/answer/6219078) or [product ID](https://support.google.com/merchants/answer/6324405).", + "enum": [ + "ID_TYPE_UNSPECIFIED", + "GTIN", + "ID" + ], + "enumDescriptions": [ + "The identifier type is unspecified.", + "The identifier is a GTIN.", + "The identifier is a product ID in the feed." + ], + "type": "string" + }, + "relationshipType": { + "description": "Required. The type of the relationship between this product and the related product.", + "enum": [ + "RELATIONSHIP_TYPE_UNSPECIFIED", + "PART_OF_SET", + "REQUIRED_PART", + "OFTEN_BOUGHT_WITH", + "SUBSTITUTE", + "DIFFERENT_BRAND", + "ACCESSORY" + ], + "enumDescriptions": [ + "The relationship type is unspecified.", + "Part of a set of products that are often purchased together.", + "Part that is necessary for the product to function, for example a battery for a battery-operated lamp.", + "A product that this product is often purchased together with, for example a phone case with a phone.", + "Product that this product can be substituted for. For example a printer comparable in function to another printer.", + "An identical product sold under a different brand, for example a cheaper house brand.", + "An accessory to this product, for example a side table that matches the style of a couch." + ], + "type": "string" + } + }, + "type": "object" + }, "Shipping": { "description": "The Shipping of the product.", "id": "Shipping", @@ -2886,6 +3009,21 @@ }, "type": "object" }, + "VariantOption": { + "description": "Additional product variants for the product.", + "id": "VariantOption", + "properties": { + "name": { + "description": "Required. The name of the variant. For example, \"Color\", \"Memory\", \"Size\", \"Length\"", + "type": "string" + }, + "value": { + "description": "Required. The value of the variant. For example, \"Red\", \"128GB\", \"XL\", \"100cm\"", + "type": "string" + } + }, + "type": "object" + }, "Warranty": { "description": "The warranty of the vehicle.", "id": "Warranty", diff --git a/discovery/merchantapi-products_v1beta.json b/discovery/merchantapi-products_v1beta.json index b45d6dd7d1..dd367a027c 100644 --- a/discovery/merchantapi-products_v1beta.json +++ b/discovery/merchantapi-products_v1beta.json @@ -281,7 +281,7 @@ } } }, - "revision": "20260419", + "revision": "20260512", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Attributes": { @@ -1240,6 +1240,11 @@ "description": "The processed product, built from multiple product inputs after applying rules and supplemental data sources. This processed product matches what is shown in your Merchant Center account. Each product is built from exactly one primary data source product input, and multiple supplemental data source inputs. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved. All fields in the processed product and its sub-messages match the name of their corresponding attribute in the [Product data specification](https://support.google.com/merchants/answer/7052112) with some exceptions.", "id": "Product", "properties": { + "archived": { + "description": "Output only. Determines whether the product is [archived](https://support.google.com/merchants/answer/11909930). To archive or restore your product, visit Merchant Center products page. Learn also more about [offer visibility](https://support.google.com/merchants/answer/12488713).", + "readOnly": true, + "type": "boolean" + }, "attributes": { "$ref": "Attributes", "description": "Output only. A list of product attributes.", diff --git a/src/apis/merchantapi/accounts_v1.ts b/src/apis/merchantapi/accounts_v1.ts index 31bcc90cfd..da2b4e9caa 100644 --- a/src/apis/merchantapi/accounts_v1.ts +++ b/src/apis/merchantapi/accounts_v1.ts @@ -5131,7 +5131,7 @@ export namespace merchantapi_accounts_v1 { } /** - * Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on. + * Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on. Restrictions: * The caller account must be authenticated and must not impersonate another account at registration time. Registering for subaccounts is not supported if the caller account is authenticated with the parent or the managing advanced account. * The caller account must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. * [Test accounts](https://developers.google.com/merchant/api/guides/accounts/test-accounts) are not eligible for registration. * @example * ```js * // Before running the sample: @@ -5161,7 +5161,7 @@ export namespace merchantapi_accounts_v1 { * * // Do the magic * const res = await merchantapi.accounts.developerRegistration.registerGcp({ - * // Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to. + * // Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to. Note: The account used must be a production account (can't be a [test account](https://developers.google.com/merchant/api/guides/accounts/test-accounts) ) and must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. * name: 'accounts/my-account/developerRegistration', * * // Request body metadata @@ -5433,7 +5433,7 @@ export namespace merchantapi_accounts_v1 { } export interface Params$Resource$Accounts$Developerregistration$Registergcp extends StandardParameters { /** - * Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to. + * Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to. Note: The account used must be a production account (can't be a [test account](https://developers.google.com/merchant/api/guides/accounts/test-accounts) ) and must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. */ name?: string; diff --git a/src/apis/merchantapi/accounts_v1beta.ts b/src/apis/merchantapi/accounts_v1beta.ts index 82cd1018a2..fe8322cd7b 100644 --- a/src/apis/merchantapi/accounts_v1beta.ts +++ b/src/apis/merchantapi/accounts_v1beta.ts @@ -5066,7 +5066,7 @@ export namespace merchantapi_accounts_v1beta { } /** - * Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on. + * Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on. Restrictions: * The caller account must be authenticated and must not impersonate another account at registration time. Registering for subaccounts is not supported if the caller account is authenticated with the parent or the managing advanced account. * The caller account must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. * [Test accounts](https://developers.google.com/merchant/api/guides/accounts/test-accounts) are not eligible for registration. * @example * ```js * // Before running the sample: @@ -5096,7 +5096,7 @@ export namespace merchantapi_accounts_v1beta { * * // Do the magic * const res = await merchantapi.accounts.developerRegistration.registerGcp({ - * // Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to. + * // Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to. Note: The account used must be a production account (can't be a [test account](https://developers.google.com/merchant/api/guides/accounts/test-accounts) ) and must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. * name: 'accounts/my-account/developerRegistration', * * // Request body metadata @@ -5368,7 +5368,7 @@ export namespace merchantapi_accounts_v1beta { } export interface Params$Resource$Accounts$Developerregistration$Registergcp extends StandardParameters { /** - * Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to. + * Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account\}/developerRegistration` The {account\} used must be the same account where user calling this API method is directly added to. Note: The account used must be a production account (can't be a [test account](https://developers.google.com/merchant/api/guides/accounts/test-accounts) ) and must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. */ name?: string; diff --git a/src/apis/merchantapi/products_v1.ts b/src/apis/merchantapi/products_v1.ts index 8558da8a92..d21c5b745e 100644 --- a/src/apis/merchantapi/products_v1.ts +++ b/src/apis/merchantapi/products_v1.ts @@ -480,6 +480,19 @@ export namespace merchantapi_products_v1 { */ value?: string | null; } + /** + * The pickup cost of the item. + */ + export interface Schema$PickupCost { + /** + * Required. The flat rate pickup cost of the item. + */ + flatRate?: Schema$Price; + /** + * Optional. The price threshold above which pickup is free of charge. + */ + freeThreshold?: Schema$Price; + } /** * The price represented as a number and currency. */ @@ -497,6 +510,10 @@ export namespace merchantapi_products_v1 { * The processed product, built from multiple product inputs after applying rules and supplemental data sources. This processed product matches what is shown in your Merchant Center account. Each product is built from exactly one primary data source product input, and multiple supplemental data source inputs. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved. All fields in the processed product and its sub-messages match the name of their corresponding attribute in the [Product data specification](https://support.google.com/merchants/answer/7052112) with some exceptions. */ export interface Schema$Product { + /** + * Output only. Determines whether the product is [archived](https://support.google.com/merchants/answer/11909930). To archive or restore your product, visit Merchant Center products page. Learn also more about [offer visibility](https://support.google.com/merchants/answer/12488713). + */ + archived?: boolean | null; /** * Output only. The automated discounts information for the product. */ @@ -682,6 +699,10 @@ export namespace merchantapi_products_v1 { * Offer margin for dynamic remarketing campaigns. For more information, see [Display ads attribute](https://support.google.com/merchants/answer/6069387). */ displayAdsValue?: number | null; + /** + * Optional. Contains a list of PDF [document URLs](https://support.google.com/merchants/answer/17084656) for the product. Examples are training manuals, user guides, assembly instructions, package inserts, etc. Must start with "http://" or "https://"), ASCII characters only, and RFC 3986 compliant. + */ + documentLinks?: string[] | null; /** * The [electric range](https://support.google.com/google-ads/answer/15162232) of the vehicle in miles/kms. */ @@ -766,6 +787,10 @@ export namespace merchantapi_products_v1 { * Shared identifier for all variants of the same product. */ itemGroupId?: string | null; + /** + * Optional. Represents the [title of the product group](https://support.google.com/merchants/answer/17085146) to which this variant product belongs. This can be used along with the [item group id](https://support.google.com/merchants/answer/6324507) attribute. It lets you perform better grouping of variant products, and helps identifying common product characteristics more efficiently. + */ + itemGroupTitle?: string | null; /** * Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the [Help Center article](https://support.google.com/merchants/answer/9103186) for more information. */ @@ -846,6 +871,10 @@ export namespace merchantapi_products_v1 { * Publication of this item will be temporarily [paused](https://support.google.com/merchants/answer/11909930). */ pause?: string | null; + /** + * Optional. The [pickup cost](https://support.google.com/merchants/answer/16988704) for an item when a customer buys it online and picks it up at a store. + */ + pickupCost?: Schema$PickupCost; /** * The [pickup](https://support.google.com/merchants/answer/14634021) option for the item. */ @@ -854,6 +883,10 @@ export namespace merchantapi_products_v1 { * Item store pickup timeline. For more information, see [Pickup SLA](https://support.google.com/merchants/answer/14635400). */ pickupSla?: string | null; + /** + * Optional. Indicates the [popularity](https://support.google.com/merchants/answer/17085297) of the product in a merchant's inventory. Using a scale of 0.0 (lowest) to 100.0 (highest). + */ + popularityRank?: number | null; /** * Price of the item. */ @@ -890,6 +923,14 @@ export namespace merchantapi_products_v1 { * The unique ID of a promotion. */ promotionIds?: string[] | null; + /** + * Optional. Contains user-, merchant-, and manufacturer-authored [questions and answers](https://support.google.com/merchants/answer/17085211) about the product. Max 30 question and answer pairs. Max 5000 characters total. Each question can have max 1000 characters. Each answer can have max 1000 characters. + */ + questionsAndAnswers?: Schema$QuestionAndAnswer[]; + /** + * Optional. Specifies how other [products are related](https://support.google.com/merchants/answer/17085213) to this product. + */ + relatedProducts?: Schema$RelatedProduct[]; /** * The return label of the product, used to group products in account-level return policies. Max. 100 characters. For more information, see [Return policy label](https://support.google.com/merchants/answer/9445425). */ @@ -990,6 +1031,10 @@ export namespace merchantapi_products_v1 { * The measure and dimension of an item. */ unitPricingMeasure?: Schema$UnitPricingMeasure; + /** + * Optional. Contains the [list of all variant-identifying options](https://support.google.com/merchants/answer/17085214) of this product. + */ + variantOptions?: Schema$VariantOption[]; /** * The all-in advertised price for a vehicle, which includes costs for the following – any accessories attached to the vehicle, environmental levies, extra warranty, fuel, freight, pre-delivery inspection (PDI), dealer fees for handling licensing, provincial regulatory fees, miscellaneous dealer charges for security etching and nitrogen tire fill, and factory-to-customer or dealer-to-customer discounts or incentives. See the [Vehicle all-in price](https://support.google.com/google-ads/answer/14156981) for more information. */ @@ -1298,6 +1343,36 @@ export namespace merchantapi_products_v1 { */ value?: number | null; } + /** + * The question and answer for the product. + */ + export interface Schema$QuestionAndAnswer { + /** + * Required. The answer text. + */ + answer?: string | null; + /** + * Required. The question text. + */ + question?: string | null; + } + /** + * Specifies how other products are related to this product. + */ + export interface Schema$RelatedProduct { + /** + * Required. The identifier of the related product. + */ + id?: string | null; + /** + * Required. The type of the identifier of the related product. For example, [GTIN](https://support.google.com/merchants/answer/6219078) or [product ID](https://support.google.com/merchants/answer/6324405). + */ + idType?: string | null; + /** + * Required. The type of the relationship between this product and the related product. + */ + relationshipType?: string | null; + } /** * The Shipping of the product. */ @@ -1471,6 +1546,19 @@ export namespace merchantapi_products_v1 { */ value?: number | null; } + /** + * Additional product variants for the product. + */ + export interface Schema$VariantOption { + /** + * Required. The name of the variant. For example, "Color", "Memory", "Size", "Length" + */ + name?: string | null; + /** + * Required. The value of the variant. For example, "Red", "128GB", "XL", "100cm" + */ + value?: string | null; + } /** * The warranty of the vehicle. */ @@ -2064,6 +2152,7 @@ export namespace merchantapi_products_v1 { * * // Example response * // { + * // "archived": false, * // "automatedDiscounts": {}, * // "base64EncodedName": "my_base64EncodedName", * // "contentLanguage": "my_contentLanguage", diff --git a/src/apis/merchantapi/products_v1beta.ts b/src/apis/merchantapi/products_v1beta.ts index a6f3ca1cb7..1752ecebc6 100644 --- a/src/apis/merchantapi/products_v1beta.ts +++ b/src/apis/merchantapi/products_v1beta.ts @@ -794,6 +794,10 @@ export namespace merchantapi_products_v1beta { * The processed product, built from multiple product inputs after applying rules and supplemental data sources. This processed product matches what is shown in your Merchant Center account. Each product is built from exactly one primary data source product input, and multiple supplemental data source inputs. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved. All fields in the processed product and its sub-messages match the name of their corresponding attribute in the [Product data specification](https://support.google.com/merchants/answer/7052112) with some exceptions. */ export interface Schema$Product { + /** + * Output only. Determines whether the product is [archived](https://support.google.com/merchants/answer/11909930). To archive or restore your product, visit Merchant Center products page. Learn also more about [offer visibility](https://support.google.com/merchants/answer/12488713). + */ + archived?: boolean | null; /** * Output only. A list of product attributes. */ @@ -1808,6 +1812,7 @@ export namespace merchantapi_products_v1beta { * * // Example response * // { + * // "archived": false, * // "attributes": {}, * // "automatedDiscounts": {}, * // "base64EncodedName": "my_base64EncodedName", From 110e3cd3a38c619a53522f44435ccb473fefd039 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 47/69] feat(migrationcenter): update the API #### migrationcenter:v1alpha1 The following keys were added: - schemas.Asset.properties.awsAthenaWorkGroupDetails.$ref - schemas.Asset.properties.awsAthenaWorkGroupDetails.description - schemas.Asset.properties.awsAthenaWorkGroupDetails.readOnly - schemas.Asset.properties.awsEmrClusterDetails.$ref - schemas.Asset.properties.awsEmrClusterDetails.description - schemas.Asset.properties.awsEmrClusterDetails.readOnly - schemas.Asset.properties.awsFirehoseDetails.$ref - schemas.Asset.properties.awsFirehoseDetails.description - schemas.Asset.properties.awsFirehoseDetails.readOnly - schemas.Asset.properties.awsGlueJobDetails.$ref - schemas.Asset.properties.awsGlueJobDetails.description - schemas.Asset.properties.awsGlueJobDetails.readOnly - schemas.Asset.properties.awsKinesisStreamDetails.$ref - schemas.Asset.properties.awsKinesisStreamDetails.description - schemas.Asset.properties.awsKinesisStreamDetails.readOnly - schemas.AssetFrame.properties.awsAthenaWorkGroupDetails.$ref - schemas.AssetFrame.properties.awsAthenaWorkGroupDetails.description - schemas.AssetFrame.properties.awsEmrClusterDetails.$ref - schemas.AssetFrame.properties.awsEmrClusterDetails.description - schemas.AssetFrame.properties.awsFirehoseDetails.$ref - schemas.AssetFrame.properties.awsFirehoseDetails.description - schemas.AssetFrame.properties.awsGlueJobDetails.$ref - schemas.AssetFrame.properties.awsGlueJobDetails.description - schemas.AssetFrame.properties.awsKinesisStreamDetails.$ref - schemas.AssetFrame.properties.awsKinesisStreamDetails.description - schemas.AwsAthenaWorkGroupDetails.description - schemas.AwsAthenaWorkGroupDetails.id - schemas.AwsAthenaWorkGroupDetails.type - schemas.AwsEmrClusterDetails.description - schemas.AwsEmrClusterDetails.id - schemas.AwsEmrClusterDetails.type - schemas.AwsFirehoseDetails.description - schemas.AwsFirehoseDetails.id - schemas.AwsFirehoseDetails.type - schemas.AwsGlueJobDetails.description - schemas.AwsGlueJobDetails.id - schemas.AwsGlueJobDetails.type - schemas.AwsKinesisStreamDetails.description - schemas.AwsKinesisStreamDetails.id - schemas.AwsKinesisStreamDetails.type --- discovery/migrationcenter-v1alpha1.json | 77 ++++++++++++++++++++++++- src/apis/migrationcenter/v1alpha1.ts | 75 ++++++++++++++++++++++++ 2 files changed, 151 insertions(+), 1 deletion(-) diff --git a/discovery/migrationcenter-v1alpha1.json b/discovery/migrationcenter-v1alpha1.json index 7b44b03b0c..aa7c3a1970 100644 --- a/discovery/migrationcenter-v1alpha1.json +++ b/discovery/migrationcenter-v1alpha1.json @@ -2722,7 +2722,7 @@ } } }, - "revision": "20260423", + "revision": "20260512", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -2968,6 +2968,11 @@ "description": "Output only. Asset information specific for AWS Application Load Balancers.", "readOnly": true }, + "awsAthenaWorkGroupDetails": { + "$ref": "AwsAthenaWorkGroupDetails", + "description": "Output only. Asset information specific for AwsAthenaWorkGroupDetails", + "readOnly": true + }, "awsAutoscalingGroupDetails": { "$ref": "AwsAutoscalingGroupDetails", "description": "Output only. Asset information specific for AwsAutoscalingGroupDetails", @@ -3028,11 +3033,31 @@ "description": "Output only. Asset information specific for AWS Load Balancers.", "readOnly": true }, + "awsEmrClusterDetails": { + "$ref": "AwsEmrClusterDetails", + "description": "Output only. Asset information specific for AwsEmrClusterDetails", + "readOnly": true + }, + "awsFirehoseDetails": { + "$ref": "AwsFirehoseDetails", + "description": "Output only. Asset information specific for AwsFirehoseDetails", + "readOnly": true + }, + "awsGlueJobDetails": { + "$ref": "AwsGlueJobDetails", + "description": "Output only. Asset information specific for AwsGlueJobDetails", + "readOnly": true + }, "awsInternetGatewayDetails": { "$ref": "AwsInternetGatewayDetails", "description": "Output only. Asset information specific for AWS Internet Gateways.", "readOnly": true }, + "awsKinesisStreamDetails": { + "$ref": "AwsKinesisStreamDetails", + "description": "Output only. Asset information specific for AwsKinesisStreamDetails", + "readOnly": true + }, "awsLambdaFunctionDetails": { "$ref": "AwsLambdaFunctionDetails", "description": "Output only. Asset information specific for AWS Lambda functions.", @@ -3187,6 +3212,10 @@ "$ref": "AwsApplicationLoadBalancerDetails", "description": "Optional. Asset information specific for AWS Application Load Balancers." }, + "awsAthenaWorkGroupDetails": { + "$ref": "AwsAthenaWorkGroupDetails", + "description": "Optional. Asset information specific for AwsAthenaWorkGroupDetails" + }, "awsAutoscalingGroupDetails": { "$ref": "AwsAutoscalingGroupDetails", "description": "Optional. Asset information specific for AwsAutoscalingGroupDetails" @@ -3235,10 +3264,26 @@ "$ref": "AwsElbLoadBalancerDetails", "description": "Asset information specific for AWS Load Balancers." }, + "awsEmrClusterDetails": { + "$ref": "AwsEmrClusterDetails", + "description": "Optional. Asset information specific for AwsEmrClusterDetails" + }, + "awsFirehoseDetails": { + "$ref": "AwsFirehoseDetails", + "description": "Optional. Asset information specific for AwsFirehoseDetails" + }, + "awsGlueJobDetails": { + "$ref": "AwsGlueJobDetails", + "description": "Optional. Asset information specific for AwsGlueJobDetails" + }, "awsInternetGatewayDetails": { "$ref": "AwsInternetGatewayDetails", "description": "Optional. Asset information specific for AWS Internet Gateways." }, + "awsKinesisStreamDetails": { + "$ref": "AwsKinesisStreamDetails", + "description": "Optional. Asset information specific for AwsKinesisStreamDetails" + }, "awsLambdaFunctionDetails": { "$ref": "AwsLambdaFunctionDetails", "description": "Asset information specific for AWS Lambda functions." @@ -3548,6 +3593,12 @@ "properties": {}, "type": "object" }, + "AwsAthenaWorkGroupDetails": { + "description": "Contains details for an AWS Athena Work Group asset.", + "id": "AwsAthenaWorkGroupDetails", + "properties": {}, + "type": "object" + }, "AwsAutoscalingGroupDetails": { "description": "Asset information specific for AWS Autoscaling Group.", "id": "AwsAutoscalingGroupDetails", @@ -3649,12 +3700,36 @@ "properties": {}, "type": "object" }, + "AwsEmrClusterDetails": { + "description": "Contains details for an AWS EMR Cluster asset.", + "id": "AwsEmrClusterDetails", + "properties": {}, + "type": "object" + }, + "AwsFirehoseDetails": { + "description": "Contains details for an AWS Firehose asset.", + "id": "AwsFirehoseDetails", + "properties": {}, + "type": "object" + }, + "AwsGlueJobDetails": { + "description": "Contains details for an AWS Glue Job asset.", + "id": "AwsGlueJobDetails", + "properties": {}, + "type": "object" + }, "AwsInternetGatewayDetails": { "description": "Asset information specific for AWS Internet Gateways.", "id": "AwsInternetGatewayDetails", "properties": {}, "type": "object" }, + "AwsKinesisStreamDetails": { + "description": "Contains details for an AWS Kinesis Stream asset.", + "id": "AwsKinesisStreamDetails", + "properties": {}, + "type": "object" + }, "AwsLambdaFunctionDetails": { "description": "Asset information specific for AWS Lambda functions.", "id": "AwsLambdaFunctionDetails", diff --git a/src/apis/migrationcenter/v1alpha1.ts b/src/apis/migrationcenter/v1alpha1.ts index e0ef979d0d..3a42da6b57 100644 --- a/src/apis/migrationcenter/v1alpha1.ts +++ b/src/apis/migrationcenter/v1alpha1.ts @@ -291,6 +291,10 @@ export namespace migrationcenter_v1alpha1 { * Output only. Asset information specific for AWS AppSync GraphQL APIs. */ awsAppSyncGraphqlApiDetails?: Schema$AwsAppSyncGraphqlApiDetails; + /** + * Output only. Asset information specific for AwsAthenaWorkGroupDetails + */ + awsAthenaWorkGroupDetails?: Schema$AwsAthenaWorkGroupDetails; /** * Output only. Asset information specific for AwsAutoscalingGroupDetails */ @@ -339,10 +343,26 @@ export namespace migrationcenter_v1alpha1 { * Output only. Asset information specific for AWS Load Balancers. */ awsElbLoadBalancerDetails?: Schema$AwsElbLoadBalancerDetails; + /** + * Output only. Asset information specific for AwsEmrClusterDetails + */ + awsEmrClusterDetails?: Schema$AwsEmrClusterDetails; + /** + * Output only. Asset information specific for AwsFirehoseDetails + */ + awsFirehoseDetails?: Schema$AwsFirehoseDetails; + /** + * Output only. Asset information specific for AwsGlueJobDetails + */ + awsGlueJobDetails?: Schema$AwsGlueJobDetails; /** * Output only. Asset information specific for AWS Internet Gateways. */ awsInternetGatewayDetails?: Schema$AwsInternetGatewayDetails; + /** + * Output only. Asset information specific for AwsKinesisStreamDetails + */ + awsKinesisStreamDetails?: Schema$AwsKinesisStreamDetails; /** * Output only. Asset information specific for AWS Lambda functions. */ @@ -460,6 +480,10 @@ export namespace migrationcenter_v1alpha1 { * Optional. Asset information specific for AWS AppSync GraphQL APIs. */ awsAppSyncGraphqlApiDetails?: Schema$AwsAppSyncGraphqlApiDetails; + /** + * Optional. Asset information specific for AwsAthenaWorkGroupDetails + */ + awsAthenaWorkGroupDetails?: Schema$AwsAthenaWorkGroupDetails; /** * Optional. Asset information specific for AwsAutoscalingGroupDetails */ @@ -508,10 +532,26 @@ export namespace migrationcenter_v1alpha1 { * Asset information specific for AWS Load Balancers. */ awsElbLoadBalancerDetails?: Schema$AwsElbLoadBalancerDetails; + /** + * Optional. Asset information specific for AwsEmrClusterDetails + */ + awsEmrClusterDetails?: Schema$AwsEmrClusterDetails; + /** + * Optional. Asset information specific for AwsFirehoseDetails + */ + awsFirehoseDetails?: Schema$AwsFirehoseDetails; + /** + * Optional. Asset information specific for AwsGlueJobDetails + */ + awsGlueJobDetails?: Schema$AwsGlueJobDetails; /** * Optional. Asset information specific for AWS Internet Gateways. */ awsInternetGatewayDetails?: Schema$AwsInternetGatewayDetails; + /** + * Optional. Asset information specific for AwsKinesisStreamDetails + */ + awsKinesisStreamDetails?: Schema$AwsKinesisStreamDetails; /** * Asset information specific for AWS Lambda functions. */ @@ -736,6 +776,10 @@ export namespace migrationcenter_v1alpha1 { * Asset information specific for AWS AppSync GraphQL APIs. */ export interface Schema$AwsAppSyncGraphqlApiDetails {} + /** + * Contains details for an AWS Athena Work Group asset. + */ + export interface Schema$AwsAthenaWorkGroupDetails {} /** * Asset information specific for AWS Autoscaling Group. */ @@ -801,10 +845,26 @@ export namespace migrationcenter_v1alpha1 { * Asset information specific for AWS Load Balancers. */ export interface Schema$AwsElbLoadBalancerDetails {} + /** + * Contains details for an AWS EMR Cluster asset. + */ + export interface Schema$AwsEmrClusterDetails {} + /** + * Contains details for an AWS Firehose asset. + */ + export interface Schema$AwsFirehoseDetails {} + /** + * Contains details for an AWS Glue Job asset. + */ + export interface Schema$AwsGlueJobDetails {} /** * Asset information specific for AWS Internet Gateways. */ export interface Schema$AwsInternetGatewayDetails {} + /** + * Contains details for an AWS Kinesis Stream asset. + */ + export interface Schema$AwsKinesisStreamDetails {} /** * Asset information specific for AWS Lambda functions. */ @@ -6420,6 +6480,7 @@ export namespace migrationcenter_v1alpha1 { * // "awsApiGatewayRestApiDetails": {}, * // "awsAppSyncGraphqlApiDetails": {}, * // "awsApplicationLoadBalancerDetails": {}, + * // "awsAthenaWorkGroupDetails": {}, * // "awsAutoscalingGroupDetails": {}, * // "awsBatchComputeEnvironmentDetails": {}, * // "awsCloudFrontDistributionDetails": {}, @@ -6432,7 +6493,11 @@ export namespace migrationcenter_v1alpha1 { * // "awsElasticIpAddressDetails": {}, * // "awsElasticNetworkInterfaceDetails": {}, * // "awsElbLoadBalancerDetails": {}, + * // "awsEmrClusterDetails": {}, + * // "awsFirehoseDetails": {}, + * // "awsGlueJobDetails": {}, * // "awsInternetGatewayDetails": {}, + * // "awsKinesisStreamDetails": {}, * // "awsLambdaFunctionDetails": {}, * // "awsNatGatewayDetails": {}, * // "awsRedshiftDetails": {}, @@ -6752,6 +6817,7 @@ export namespace migrationcenter_v1alpha1 { * // "awsApiGatewayRestApiDetails": {}, * // "awsAppSyncGraphqlApiDetails": {}, * // "awsApplicationLoadBalancerDetails": {}, + * // "awsAthenaWorkGroupDetails": {}, * // "awsAutoscalingGroupDetails": {}, * // "awsBatchComputeEnvironmentDetails": {}, * // "awsCloudFrontDistributionDetails": {}, @@ -6764,7 +6830,11 @@ export namespace migrationcenter_v1alpha1 { * // "awsElasticIpAddressDetails": {}, * // "awsElasticNetworkInterfaceDetails": {}, * // "awsElbLoadBalancerDetails": {}, + * // "awsEmrClusterDetails": {}, + * // "awsFirehoseDetails": {}, + * // "awsGlueJobDetails": {}, * // "awsInternetGatewayDetails": {}, + * // "awsKinesisStreamDetails": {}, * // "awsLambdaFunctionDetails": {}, * // "awsNatGatewayDetails": {}, * // "awsRedshiftDetails": {}, @@ -6801,6 +6871,7 @@ export namespace migrationcenter_v1alpha1 { * // "awsApiGatewayRestApiDetails": {}, * // "awsAppSyncGraphqlApiDetails": {}, * // "awsApplicationLoadBalancerDetails": {}, + * // "awsAthenaWorkGroupDetails": {}, * // "awsAutoscalingGroupDetails": {}, * // "awsBatchComputeEnvironmentDetails": {}, * // "awsCloudFrontDistributionDetails": {}, @@ -6813,7 +6884,11 @@ export namespace migrationcenter_v1alpha1 { * // "awsElasticIpAddressDetails": {}, * // "awsElasticNetworkInterfaceDetails": {}, * // "awsElbLoadBalancerDetails": {}, + * // "awsEmrClusterDetails": {}, + * // "awsFirehoseDetails": {}, + * // "awsGlueJobDetails": {}, * // "awsInternetGatewayDetails": {}, + * // "awsKinesisStreamDetails": {}, * // "awsLambdaFunctionDetails": {}, * // "awsNatGatewayDetails": {}, * // "awsRedshiftDetails": {}, From 371e3c07c94418c1bded0ef7d52fc5f964205434 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 48/69] feat(mybusinessaccountmanagement): update the API #### mybusinessaccountmanagement:v1 The following keys were added: - schemas.TargetLocation.properties.placeId.description - schemas.TargetLocation.properties.placeId.readOnly - schemas.TargetLocation.properties.placeId.type --- discovery/mybusinessaccountmanagement-v1.json | 7 ++++++- src/apis/mybusinessaccountmanagement/v1.ts | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/discovery/mybusinessaccountmanagement-v1.json b/discovery/mybusinessaccountmanagement-v1.json index 5f7a2af51f..a743869ced 100644 --- a/discovery/mybusinessaccountmanagement-v1.json +++ b/discovery/mybusinessaccountmanagement-v1.json @@ -530,7 +530,7 @@ } } }, - "revision": "20260419", + "revision": "20260512", "rootUrl": "https://mybusinessaccountmanagement.googleapis.com/", "schemas": { "AcceptInvitationRequest": { @@ -912,6 +912,11 @@ "locationName": { "description": "The name of the location to which the user is invited.", "type": "string" + }, + "placeId": { + "description": "Output only. The Place ID of the location to which the user is invited. Not always populated.", + "readOnly": true, + "type": "string" } }, "type": "object" diff --git a/src/apis/mybusinessaccountmanagement/v1.ts b/src/apis/mybusinessaccountmanagement/v1.ts index 36b72abdec..337cb19852 100644 --- a/src/apis/mybusinessaccountmanagement/v1.ts +++ b/src/apis/mybusinessaccountmanagement/v1.ts @@ -351,6 +351,10 @@ export namespace mybusinessaccountmanagement_v1 { * The name of the location to which the user is invited. */ locationName?: string | null; + /** + * Output only. The Place ID of the location to which the user is invited. Not always populated. + */ + placeId?: string | null; } /** * Request message for AccessControl.TransferLocation. From 238c7151d296ec06254e580b9489054b72582910 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 49/69] feat(netapp): update the API #### netapp:v1beta1 The following keys were added: - auth.oauth2.scopes.https://www.googleapis.com/auth/cloud-netapp.description - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.description - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.flatPath - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.httpMethod - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.id - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.parameterOrder - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.parameters.name.description - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.parameters.name.location - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.parameters.name.pattern - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.parameters.name.required - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.parameters.name.type - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.path - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.request.$ref - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.response.$ref - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.scopes - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.description - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.flatPath - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.httpMethod - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.id - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.parameterOrder - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.parameters.name.description - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.parameters.name.location - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.parameters.name.pattern - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.parameters.name.required - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.parameters.name.type - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.path - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.request.$ref - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.response.$ref - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.scopes - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.description - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.flatPath - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.httpMethod - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.id - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameterOrder - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.path - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.response.$ref - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.scopes - schemas.Backup.properties.ontapSource.$ref - schemas.Backup.properties.ontapSource.description - schemas.BackupSource.description - schemas.BackupSource.id - schemas.BackupSource.properties.backup.description - schemas.BackupSource.properties.backup.type - schemas.BackupSource.properties.fileList.description - schemas.BackupSource.properties.fileList.items.type - schemas.BackupSource.properties.fileList.type - schemas.BackupSource.type - schemas.ListBackupConfigsResponse.description - schemas.ListBackupConfigsResponse.id - schemas.ListBackupConfigsResponse.properties.nextPageToken.description - schemas.ListBackupConfigsResponse.properties.nextPageToken.type - schemas.ListBackupConfigsResponse.properties.unreachable.description - schemas.ListBackupConfigsResponse.properties.unreachable.items.type - schemas.ListBackupConfigsResponse.properties.unreachable.type - schemas.ListBackupConfigsResponse.properties.volumeBackupConfigs.description - schemas.ListBackupConfigsResponse.properties.volumeBackupConfigs.items.$ref - schemas.ListBackupConfigsResponse.properties.volumeBackupConfigs.type - schemas.ListBackupConfigsResponse.type - schemas.OntapSource.description - schemas.OntapSource.id - schemas.OntapSource.properties.snapshotUuid.description - schemas.OntapSource.properties.snapshotUuid.type - schemas.OntapSource.properties.storagePool.description - schemas.OntapSource.properties.storagePool.type - schemas.OntapSource.properties.volumeUuid.description - schemas.OntapSource.properties.volumeUuid.type - schemas.OntapSource.type - schemas.OntapVolumeTarget.description - schemas.OntapVolumeTarget.id - schemas.OntapVolumeTarget.properties.restoreDestinationPath.description - schemas.OntapVolumeTarget.properties.restoreDestinationPath.type - schemas.OntapVolumeTarget.properties.volumeUuid.description - schemas.OntapVolumeTarget.properties.volumeUuid.type - schemas.OntapVolumeTarget.type - schemas.RestoreVolumeRequest.description - schemas.RestoreVolumeRequest.id - schemas.RestoreVolumeRequest.properties.backupSource.$ref - schemas.RestoreVolumeRequest.properties.backupSource.description - schemas.RestoreVolumeRequest.properties.ontapVolumeTarget.$ref - schemas.RestoreVolumeRequest.properties.ontapVolumeTarget.description - schemas.RestoreVolumeRequest.type - schemas.UpdateBackupConfigRequest.description - schemas.UpdateBackupConfigRequest.id - schemas.UpdateBackupConfigRequest.properties.backupConfig.$ref - schemas.UpdateBackupConfigRequest.properties.backupConfig.description - schemas.UpdateBackupConfigRequest.properties.updateMask.description - schemas.UpdateBackupConfigRequest.properties.updateMask.format - schemas.UpdateBackupConfigRequest.properties.updateMask.type - schemas.UpdateBackupConfigRequest.properties.volumeUuid.description - schemas.UpdateBackupConfigRequest.properties.volumeUuid.type - schemas.UpdateBackupConfigRequest.type - schemas.VolumeBackupConfig.description - schemas.VolumeBackupConfig.id - schemas.VolumeBackupConfig.properties.backupConfig.$ref - schemas.VolumeBackupConfig.properties.backupConfig.description - schemas.VolumeBackupConfig.properties.volumeUuid.description - schemas.VolumeBackupConfig.properties.volumeUuid.type - schemas.VolumeBackupConfig.type The following keys were changed: - resources.projects.resources.locations.resources.backupPolicies.methods.get.scopes - resources.projects.resources.locations.resources.backupPolicies.methods.list.scopes - resources.projects.resources.locations.resources.backupVaults.methods.get.scopes - resources.projects.resources.locations.resources.backupVaults.methods.list.scopes - resources.projects.resources.locations.resources.backupVaults.resources.backups.methods.create.scopes - resources.projects.resources.locations.resources.backupVaults.resources.backups.methods.get.scopes - resources.projects.resources.locations.resources.backupVaults.resources.backups.methods.list.scopes - resources.projects.resources.locations.resources.kmsConfigs.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.storagePools.methods.get.scopes - resources.projects.resources.locations.resources.storagePools.methods.list.scopes - resources.projects.resources.locations.resources.storagePools.resources.ontap.methods.executeOntapDelete.description - resources.projects.resources.locations.resources.storagePools.resources.ontap.methods.executeOntapGet.description - resources.projects.resources.locations.resources.storagePools.resources.ontap.methods.executeOntapPatch.description - resources.projects.resources.locations.resources.storagePools.resources.ontap.methods.executeOntapPost.description - resources.projects.resources.locations.resources.storagePools.resources.ontap.methods.executeOntapPost.parameters.ontapPath.description - resources.projects.resources.locations.resources.volumes.methods.get.scopes - resources.projects.resources.locations.resources.volumes.methods.list.scopes - resources.projects.resources.locations.resources.volumes.resources.snapshots.methods.create.scopes - resources.projects.resources.locations.resources.volumes.resources.snapshots.methods.get.scopes - resources.projects.resources.locations.resources.volumes.resources.snapshots.methods.list.scopes - schemas.Backup.properties.sourceVolume.description - schemas.EstablishVolumePeeringRequest.properties.peerIpAddresses.description - schemas.KmsConfig.properties.name.description - schemas.LargeCapacityConfig.description - schemas.MountOption.properties.protocol.enum - schemas.MountOption.properties.protocol.enumDescriptions - schemas.RestoreParameters.properties.sourceBackup.description - schemas.StoragePool.properties.mode.description - schemas.Volume.properties.protocols.items.enum - schemas.Volume.properties.protocols.items.enumDescriptions #### netapp:v1 The following keys were added: - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.description - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.flatPath - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.httpMethod - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.id - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.parameterOrder - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.parameters.name.description - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.parameters.name.location - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.parameters.name.pattern - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.parameters.name.required - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.parameters.name.type - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.path - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.request.$ref - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.response.$ref - resources.projects.resources.locations.resources.storagePools.methods.restoreVolume.scopes - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.description - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.flatPath - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.httpMethod - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.id - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.parameterOrder - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.parameters.name.description - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.parameters.name.location - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.parameters.name.pattern - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.parameters.name.required - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.parameters.name.type - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.path - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.request.$ref - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.response.$ref - resources.projects.resources.locations.resources.storagePools.methods.updateBackupConfig.scopes - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.description - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.flatPath - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.httpMethod - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.id - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameterOrder - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.path - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.response.$ref - resources.projects.resources.locations.resources.storagePools.resources.backupConfigs.methods.list.scopes - schemas.Backup.properties.ontapSource.$ref - schemas.Backup.properties.ontapSource.description - schemas.BackupSource.description - schemas.BackupSource.id - schemas.BackupSource.properties.backup.description - schemas.BackupSource.properties.backup.type - schemas.BackupSource.properties.fileList.description - schemas.BackupSource.properties.fileList.items.type - schemas.BackupSource.properties.fileList.type - schemas.BackupSource.type - schemas.ListBackupConfigsResponse.description - schemas.ListBackupConfigsResponse.id - schemas.ListBackupConfigsResponse.properties.nextPageToken.description - schemas.ListBackupConfigsResponse.properties.nextPageToken.type - schemas.ListBackupConfigsResponse.properties.unreachable.description - schemas.ListBackupConfigsResponse.properties.unreachable.items.type - schemas.ListBackupConfigsResponse.properties.unreachable.type - schemas.ListBackupConfigsResponse.properties.volumeBackupConfigs.description - schemas.ListBackupConfigsResponse.properties.volumeBackupConfigs.items.$ref - schemas.ListBackupConfigsResponse.properties.volumeBackupConfigs.type - schemas.ListBackupConfigsResponse.type - schemas.OntapSource.description - schemas.OntapSource.id - schemas.OntapSource.properties.snapshotUuid.description - schemas.OntapSource.properties.snapshotUuid.type - schemas.OntapSource.properties.storagePool.description - schemas.OntapSource.properties.storagePool.type - schemas.OntapSource.properties.volumeUuid.description - schemas.OntapSource.properties.volumeUuid.type - schemas.OntapSource.type - schemas.OntapVolumeTarget.description - schemas.OntapVolumeTarget.id - schemas.OntapVolumeTarget.properties.restoreDestinationPath.description - schemas.OntapVolumeTarget.properties.restoreDestinationPath.type - schemas.OntapVolumeTarget.properties.volumeUuid.description - schemas.OntapVolumeTarget.properties.volumeUuid.type - schemas.OntapVolumeTarget.type - schemas.RestoreVolumeRequest.description - schemas.RestoreVolumeRequest.id - schemas.RestoreVolumeRequest.properties.backupSource.$ref - schemas.RestoreVolumeRequest.properties.backupSource.description - schemas.RestoreVolumeRequest.properties.ontapVolumeTarget.$ref - schemas.RestoreVolumeRequest.properties.ontapVolumeTarget.description - schemas.RestoreVolumeRequest.type - schemas.UpdateBackupConfigRequest.description - schemas.UpdateBackupConfigRequest.id - schemas.UpdateBackupConfigRequest.properties.backupConfig.$ref - schemas.UpdateBackupConfigRequest.properties.backupConfig.description - schemas.UpdateBackupConfigRequest.properties.updateMask.description - schemas.UpdateBackupConfigRequest.properties.updateMask.format - schemas.UpdateBackupConfigRequest.properties.updateMask.type - schemas.UpdateBackupConfigRequest.properties.volumeUuid.description - schemas.UpdateBackupConfigRequest.properties.volumeUuid.type - schemas.UpdateBackupConfigRequest.type - schemas.VolumeBackupConfig.description - schemas.VolumeBackupConfig.id - schemas.VolumeBackupConfig.properties.backupConfig.$ref - schemas.VolumeBackupConfig.properties.backupConfig.description - schemas.VolumeBackupConfig.properties.volumeUuid.description - schemas.VolumeBackupConfig.properties.volumeUuid.type - schemas.VolumeBackupConfig.type The following keys were changed: - resources.projects.resources.locations.resources.kmsConfigs.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.storagePools.resources.ontap.methods.executeOntapDelete.description - resources.projects.resources.locations.resources.storagePools.resources.ontap.methods.executeOntapGet.description - resources.projects.resources.locations.resources.storagePools.resources.ontap.methods.executeOntapPatch.description - resources.projects.resources.locations.resources.storagePools.resources.ontap.methods.executeOntapPost.description - resources.projects.resources.locations.resources.storagePools.resources.ontap.methods.executeOntapPost.parameters.ontapPath.description - schemas.Backup.properties.sourceVolume.description - schemas.EstablishVolumePeeringRequest.properties.peerIpAddresses.description - schemas.KmsConfig.properties.name.description - schemas.LargeCapacityConfig.description - schemas.MountOption.properties.protocol.enum - schemas.MountOption.properties.protocol.enumDescriptions - schemas.RestoreParameters.properties.sourceBackup.description - schemas.StoragePool.properties.mode.description - schemas.Volume.properties.protocols.items.enum - schemas.Volume.properties.protocols.items.enumDescriptions --- discovery/netapp-v1.json | 275 ++++++++++++- discovery/netapp-v1beta1.json | 292 +++++++++++++- src/apis/netapp/v1.ts | 651 +++++++++++++++++++++++++++++- src/apis/netapp/v1beta1.ts | 721 ++++++++++++++++++++++++++++++++-- 4 files changed, 1863 insertions(+), 76 deletions(-) diff --git a/discovery/netapp-v1.json b/discovery/netapp-v1.json index c5cc6d059b..1147e8993f 100644 --- a/discovery/netapp-v1.json +++ b/discovery/netapp-v1.json @@ -1406,7 +1406,7 @@ ], "parameters": { "name": { - "description": "Identifier. Name of the KmsConfig. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`", + "description": "Identifier. Name of the `KmsConfig`. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/kmsConfigs/[^/]+$", "required": true, @@ -1753,6 +1753,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "restoreVolume": { + "description": "Restores a backup to an ONTAP-mode volume.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}:restoreVolume", + "httpMethod": "POST", + "id": "netapp.projects.locations.storagePools.restoreVolume", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the ONTAP mode storage pool, in the format of `projects/{project}/locations/{location}/storagePools/{storage_pool}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:restoreVolume", + "request": { + "$ref": "RestoreVolumeRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "switch": { "description": "This operation will switch the active/replica zone for a regional storagePool.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}:switch", @@ -1781,6 +1809,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "updateBackupConfig": { + "description": "Updates the backup configuration for an ONTAP-mode volume.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}:updateBackupConfig", + "httpMethod": "POST", + "id": "netapp.projects.locations.storagePools.updateBackupConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the StoragePool, in the format: projects/{projectNumber}/locations/{locationId}/storagePools/{poolId}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:updateBackupConfig", + "request": { + "$ref": "UpdateBackupConfigRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "validateDirectoryService": { "description": "ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}:validateDirectoryService", @@ -1811,10 +1867,60 @@ } }, "resources": { + "backupConfigs": { + "methods": { + "list": { + "description": "Lists backup configurations for all volumes in an ONTAP-mode Storage Pool.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/backupConfigs", + "httpMethod": "GET", + "id": "netapp.projects.locations.storagePools.backupConfigs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. The standard list filter.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Sort results. Supported values are \"volume_id\" or \"\"", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified or set to 0, a default of 50 will be used.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The next_page_token value to use if there are additional results to retrieve for this list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The ONTAP StoragePool for which to retrieve backup configuration information, in the format `projects/{project}/locations/{location}/storagePools/{storage_pool}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/backupConfigs", + "response": { + "$ref": "ListBackupConfigsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "ontap": { "methods": { "executeOntapDelete": { - "description": "`ExecuteOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool` cluster.", + "description": "`ExecuteOntapDelete` sends the ONTAP `DELETE` request to the `StoragePool` cluster.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/ontap/{ontapId}", "httpMethod": "DELETE", "id": "netapp.projects.locations.storagePools.ontap.executeOntapDelete", @@ -1839,7 +1945,7 @@ ] }, "executeOntapGet": { - "description": "`ExecuteOntapGet` dispatches the ONTAP `GET` request to the `StoragePool` cluster.", + "description": "`ExecuteOntapGet` sends the ONTAP `GET` request to the `StoragePool` cluster.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/ontap/{ontapId}", "httpMethod": "GET", "id": "netapp.projects.locations.storagePools.ontap.executeOntapGet", @@ -1864,7 +1970,7 @@ ] }, "executeOntapPatch": { - "description": "`ExecuteOntapPatch` dispatches the ONTAP `PATCH` request to the `StoragePool` cluster.", + "description": "`ExecuteOntapPatch` sends the ONTAP `PATCH` request to the `StoragePool` cluster.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/ontap/{ontapId}", "httpMethod": "PATCH", "id": "netapp.projects.locations.storagePools.ontap.executeOntapPatch", @@ -1892,7 +1998,7 @@ ] }, "executeOntapPost": { - "description": "`ExecuteOntapPost` dispatches the ONTAP `POST` request to the `StoragePool` cluster.", + "description": "`ExecuteOntapPost` sends the ONTAP `POST` request to the `StoragePool` cluster.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/ontap/{ontapId}", "httpMethod": "POST", "id": "netapp.projects.locations.storagePools.ontap.executeOntapPost", @@ -1901,7 +2007,7 @@ ], "parameters": { "ontapPath": { - "description": "Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`.", + "description": "Required. The path of the ONTAP resource. Format: `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$", "required": true, @@ -2827,7 +2933,7 @@ } } }, - "revision": "20260426", + "revision": "20260518", "rootUrl": "https://netapp.googleapis.com/", "schemas": { "ActiveDirectory": { @@ -3018,6 +3124,10 @@ "description": "Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`.", "type": "string" }, + "ontapSource": { + "$ref": "OntapSource", + "description": "Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided." + }, "satisfiesPzi": { "description": "Output only. Reserved for future use", "readOnly": true, @@ -3033,7 +3143,7 @@ "type": "string" }, "sourceVolume": { - "description": "Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}`", + "description": "The resource name of the volume that this backup belongs to. You must provide either `source_volume` or `ontap_source`. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}`", "type": "string" }, "state": { @@ -3203,6 +3313,24 @@ }, "type": "object" }, + "BackupSource": { + "description": "Represents the backup source of the restore operation.", + "id": "BackupSource", + "properties": { + "backup": { + "description": "Required. The backup resource name.", + "type": "string" + }, + "fileList": { + "description": "Optional. List of files to be restored in the form of their absolute path as in source volume. If provided, only these files will be restored. If not provided, the entire backup will be restored (Full Backup Restore)", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "BackupVault": { "description": "A NetApp BackupVault.", "id": "BackupVault", @@ -3616,7 +3744,7 @@ "type": "string" }, "peerIpAddresses": { - "description": "Optional. List of IPv4 ip addresses to be used for peering.", + "description": "Optional. List of IPv4 IP addresses to be used for peering.", "items": { "type": "string" }, @@ -4002,7 +4130,7 @@ "type": "object" }, "name": { - "description": "Identifier. Name of the KmsConfig. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`", + "description": "Identifier. Name of the `KmsConfig`. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`", "type": "string" }, "serviceAccount": { @@ -4052,7 +4180,7 @@ "type": "object" }, "LargeCapacityConfig": { - "description": "Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 4.8 TiB to 20 PiB, it is composed of multiple internal constituents, and must be created in a large capacity pool.", + "description": "Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 4.8 TiB to 20 PiB; it is composed of multiple internal constituents, and must be created in a large capacity pool.", "id": "LargeCapacityConfig", "properties": { "constituentCount": { @@ -4088,6 +4216,31 @@ }, "type": "object" }, + "ListBackupConfigsResponse": { + "description": "Message for response to listing BackupConfigs in an ONTAP StoragePool.", + "id": "ListBackupConfigsResponse", + "properties": { + "nextPageToken": { + "description": "The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.", + "type": "string" + }, + "unreachable": { + "description": "Unordered list. Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + }, + "volumeBackupConfigs": { + "description": "A list of backup configurations for volumes in the pool.", + "items": { + "$ref": "VolumeBackupConfig" + }, + "type": "array" + } + }, + "type": "object" + }, "ListBackupPoliciesResponse": { "description": "ListBackupPoliciesResponse contains all the backup policies requested.", "id": "ListBackupPoliciesResponse", @@ -4526,20 +4679,56 @@ "NFSV3", "NFSV4", "SMB", - "ISCSI" + "ISCSI", + "NVME" ], "enumDescriptions": [ "Unspecified protocol", "NFS V3 protocol", "NFS V4 protocol", "SMB protocol", - "ISCSI protocol" + "ISCSI protocol", + "NVMe protocol" ], "type": "string" } }, "type": "object" }, + "OntapSource": { + "description": "Represents ONTAP source details.", + "id": "OntapSource", + "properties": { + "snapshotUuid": { + "description": "Optional. The UUID of the ONTAP source snapshot.", + "type": "string" + }, + "storagePool": { + "description": "Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`", + "type": "string" + }, + "volumeUuid": { + "description": "Required. The UUID of the ONTAP source volume.", + "type": "string" + } + }, + "type": "object" + }, + "OntapVolumeTarget": { + "description": "Represents the ONTAP volume target of the restore operation.", + "id": "OntapVolumeTarget", + "properties": { + "restoreDestinationPath": { + "description": "Optional. Absolute directory path in the destination volume.", + "type": "string" + }, + "volumeUuid": { + "description": "Required. The UUID of the ONTAP volume to restore to.", + "type": "string" + } + }, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", @@ -4904,7 +5093,7 @@ "id": "RestoreParameters", "properties": { "sourceBackup": { - "description": "Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup}", + "description": "Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}. Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup}", "type": "string" }, "sourceSnapshot": { @@ -4914,6 +5103,21 @@ }, "type": "object" }, + "RestoreVolumeRequest": { + "description": "Request message for `RestoreVolume` API.", + "id": "RestoreVolumeRequest", + "properties": { + "backupSource": { + "$ref": "BackupSource", + "description": "The backup source of the restore operation." + }, + "ontapVolumeTarget": { + "$ref": "OntapVolumeTarget", + "description": "The ONTAP volume target of the restore operation." + } + }, + "type": "object" + }, "ResumeReplicationRequest": { "description": "ResumeReplicationRequest resumes a stopped replication.", "id": "ResumeReplicationRequest", @@ -5242,7 +5446,7 @@ "type": "boolean" }, "mode": { - "description": "Optional. Mode of the storage pool. This field is used to control whether the user can perform the ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`.", + "description": "Optional. Mode of the storage pool. This field is used to control whether the user can perform ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`.", "enum": [ "MODE_UNSPECIFIED", "DEFAULT", @@ -5488,6 +5692,26 @@ }, "type": "object" }, + "UpdateBackupConfigRequest": { + "description": "Request message for UpdateBackupConfig", + "id": "UpdateBackupConfigRequest", + "properties": { + "backupConfig": { + "$ref": "BackupConfig", + "description": "Required. Backup configuration to apply." + }, + "updateMask": { + "description": "Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.", + "format": "google-fieldmask", + "type": "string" + }, + "volumeUuid": { + "description": "Required. The UUID of the ONTAP-mode volume.", + "type": "string" + } + }, + "type": "object" + }, "UserCommands": { "description": "UserCommands contains the commands to be executed by the customer.", "id": "UserCommands", @@ -5692,14 +5916,16 @@ "NFSV3", "NFSV4", "SMB", - "ISCSI" + "ISCSI", + "NVME" ], "enumDescriptions": [ "Unspecified protocol", "NFS V3 protocol", "NFS V4 protocol", "SMB protocol", - "ISCSI protocol" + "ISCSI protocol", + "NVMe protocol" ], "type": "string" }, @@ -5880,6 +6106,21 @@ }, "type": "object" }, + "VolumeBackupConfig": { + "description": "Backup configuration for a volume in a pool.", + "id": "VolumeBackupConfig", + "properties": { + "backupConfig": { + "$ref": "BackupConfig", + "description": "Backup configuration for the volume." + }, + "volumeUuid": { + "description": "Provides the Ontap UUID of the volume within the pool.", + "type": "string" + } + }, + "type": "object" + }, "WeeklySchedule": { "description": "Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50", "id": "WeeklySchedule", diff --git a/discovery/netapp-v1beta1.json b/discovery/netapp-v1beta1.json index d4d7a433ac..c936005532 100644 --- a/discovery/netapp-v1beta1.json +++ b/discovery/netapp-v1beta1.json @@ -2,6 +2,9 @@ "auth": { "oauth2": { "scopes": { + "https://www.googleapis.com/auth/cloud-netapp": { + "description": "See, edit, configure, and delete your Google Cloud NetApp data and see the email address for your Google Account" + }, "https://www.googleapis.com/auth/cloud-platform": { "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } @@ -649,6 +652,7 @@ "$ref": "BackupPolicy" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -695,6 +699,7 @@ "$ref": "ListBackupPoliciesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -816,6 +821,7 @@ "$ref": "BackupVault" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -862,6 +868,7 @@ "$ref": "ListBackupVaultsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -933,6 +940,7 @@ "$ref": "Operation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -983,6 +991,7 @@ "$ref": "Backup" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -1029,6 +1038,7 @@ "$ref": "ListBackupsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -1406,7 +1416,7 @@ ], "parameters": { "name": { - "description": "Identifier. Name of the KmsConfig. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`", + "description": "Identifier. Name of the `KmsConfig`. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/kmsConfigs/[^/]+$", "required": true, @@ -1670,6 +1680,7 @@ "$ref": "StoragePool" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -1716,6 +1727,7 @@ "$ref": "ListStoragePoolsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -1753,6 +1765,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "restoreVolume": { + "description": "Restores a backup to an ONTAP-mode volume.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}:restoreVolume", + "httpMethod": "POST", + "id": "netapp.projects.locations.storagePools.restoreVolume", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the ONTAP mode storage pool, in the format of `projects/{project}/locations/{location}/storagePools/{storage_pool}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:restoreVolume", + "request": { + "$ref": "RestoreVolumeRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "switch": { "description": "This operation will switch the active/replica zone for a regional storagePool.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}:switch", @@ -1781,6 +1821,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "updateBackupConfig": { + "description": "Updates the backup configuration for an ONTAP-mode volume.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}:updateBackupConfig", + "httpMethod": "POST", + "id": "netapp.projects.locations.storagePools.updateBackupConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the StoragePool, in the format: projects/{projectNumber}/locations/{locationId}/storagePools/{poolId}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:updateBackupConfig", + "request": { + "$ref": "UpdateBackupConfigRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "validateDirectoryService": { "description": "ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}:validateDirectoryService", @@ -1811,10 +1879,60 @@ } }, "resources": { + "backupConfigs": { + "methods": { + "list": { + "description": "Lists backup configurations for all volumes in an ONTAP-mode Storage Pool.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/backupConfigs", + "httpMethod": "GET", + "id": "netapp.projects.locations.storagePools.backupConfigs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. The standard list filter.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Sort results. Supported values are \"volume_id\" or \"\"", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified or set to 0, a default of 50 will be used.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The next_page_token value to use if there are additional results to retrieve for this list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The ONTAP StoragePool for which to retrieve backup configuration information, in the format `projects/{project}/locations/{location}/storagePools/{storage_pool}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/backupConfigs", + "response": { + "$ref": "ListBackupConfigsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "ontap": { "methods": { "executeOntapDelete": { - "description": "`ExecuteOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool` cluster.", + "description": "`ExecuteOntapDelete` sends the ONTAP `DELETE` request to the `StoragePool` cluster.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/ontap/{ontapId}", "httpMethod": "DELETE", "id": "netapp.projects.locations.storagePools.ontap.executeOntapDelete", @@ -1839,7 +1957,7 @@ ] }, "executeOntapGet": { - "description": "`ExecuteOntapGet` dispatches the ONTAP `GET` request to the `StoragePool` cluster.", + "description": "`ExecuteOntapGet` sends the ONTAP `GET` request to the `StoragePool` cluster.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/ontap/{ontapId}", "httpMethod": "GET", "id": "netapp.projects.locations.storagePools.ontap.executeOntapGet", @@ -1864,7 +1982,7 @@ ] }, "executeOntapPatch": { - "description": "`ExecuteOntapPatch` dispatches the ONTAP `PATCH` request to the `StoragePool` cluster.", + "description": "`ExecuteOntapPatch` sends the ONTAP `PATCH` request to the `StoragePool` cluster.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/ontap/{ontapId}", "httpMethod": "PATCH", "id": "netapp.projects.locations.storagePools.ontap.executeOntapPatch", @@ -1892,7 +2010,7 @@ ] }, "executeOntapPost": { - "description": "`ExecuteOntapPost` dispatches the ONTAP `POST` request to the `StoragePool` cluster.", + "description": "`ExecuteOntapPost` sends the ONTAP `POST` request to the `StoragePool` cluster.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}/ontap/{ontapId}", "httpMethod": "POST", "id": "netapp.projects.locations.storagePools.ontap.executeOntapPost", @@ -1901,7 +2019,7 @@ ], "parameters": { "ontapPath": { - "description": "Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`.", + "description": "Required. The path of the ONTAP resource. Format: `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$", "required": true, @@ -2038,6 +2156,7 @@ "$ref": "Volume" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -2084,6 +2203,7 @@ "$ref": "ListVolumesResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -2685,6 +2805,7 @@ "$ref": "Operation" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -2735,6 +2856,7 @@ "$ref": "Snapshot" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -2781,6 +2903,7 @@ "$ref": "ListSnapshotsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/cloud-netapp", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -2827,7 +2950,7 @@ } } }, - "revision": "20260426", + "revision": "20260518", "rootUrl": "https://netapp.googleapis.com/", "schemas": { "ActiveDirectory": { @@ -3018,6 +3141,10 @@ "description": "Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`.", "type": "string" }, + "ontapSource": { + "$ref": "OntapSource", + "description": "Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided." + }, "satisfiesPzi": { "description": "Output only. Reserved for future use", "readOnly": true, @@ -3033,7 +3160,7 @@ "type": "string" }, "sourceVolume": { - "description": "Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id}/locations/{location}/volumes/{volume_id}`", + "description": "The resource name of the volume that this backup belongs to. You must provide either `source_volume` or `ontap_source`. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}`", "type": "string" }, "state": { @@ -3203,6 +3330,24 @@ }, "type": "object" }, + "BackupSource": { + "description": "Represents the backup source of the restore operation.", + "id": "BackupSource", + "properties": { + "backup": { + "description": "Required. The backup resource name.", + "type": "string" + }, + "fileList": { + "description": "Optional. List of files to be restored in the form of their absolute path as in source volume. If provided, only these files will be restored. If not provided, the entire backup will be restored (Full Backup Restore)", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "BackupVault": { "description": "A NetApp BackupVault.", "id": "BackupVault", @@ -3620,7 +3765,7 @@ "type": "string" }, "peerIpAddresses": { - "description": "Optional. List of IPv4 ip addresses to be used for peering.", + "description": "Optional. List of IPv4 IP addresses to be used for peering.", "items": { "type": "string" }, @@ -4006,7 +4151,7 @@ "type": "object" }, "name": { - "description": "Identifier. Name of the KmsConfig. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`", + "description": "Identifier. Name of the `KmsConfig`. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`", "type": "string" }, "serviceAccount": { @@ -4056,7 +4201,7 @@ "type": "object" }, "LargeCapacityConfig": { - "description": "Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 4.8 TiB to 20 PiB, it is composed of multiple internal constituents, and must be created in a large capacity pool.", + "description": "Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 4.8 TiB to 20 PiB; it is composed of multiple internal constituents, and must be created in a large capacity pool.", "id": "LargeCapacityConfig", "properties": { "constituentCount": { @@ -4092,6 +4237,31 @@ }, "type": "object" }, + "ListBackupConfigsResponse": { + "description": "Message for response to listing BackupConfigs in an ONTAP StoragePool.", + "id": "ListBackupConfigsResponse", + "properties": { + "nextPageToken": { + "description": "The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.", + "type": "string" + }, + "unreachable": { + "description": "Unordered list. Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + }, + "volumeBackupConfigs": { + "description": "A list of backup configurations for volumes in the pool.", + "items": { + "$ref": "VolumeBackupConfig" + }, + "type": "array" + } + }, + "type": "object" + }, "ListBackupPoliciesResponse": { "description": "ListBackupPoliciesResponse contains all the backup policies requested.", "id": "ListBackupPoliciesResponse", @@ -4530,20 +4700,56 @@ "NFSV3", "NFSV4", "SMB", - "ISCSI" + "ISCSI", + "NVME" ], "enumDescriptions": [ "Unspecified protocol", "NFS V3 protocol", "NFS V4 protocol", "SMB protocol", - "ISCSI protocol" + "ISCSI protocol", + "NVMe protocol" ], "type": "string" } }, "type": "object" }, + "OntapSource": { + "description": "Represents ONTAP source details.", + "id": "OntapSource", + "properties": { + "snapshotUuid": { + "description": "Optional. The UUID of the ONTAP source snapshot.", + "type": "string" + }, + "storagePool": { + "description": "Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`", + "type": "string" + }, + "volumeUuid": { + "description": "Required. The UUID of the ONTAP source volume.", + "type": "string" + } + }, + "type": "object" + }, + "OntapVolumeTarget": { + "description": "Represents the ONTAP volume target of the restore operation.", + "id": "OntapVolumeTarget", + "properties": { + "restoreDestinationPath": { + "description": "Optional. Absolute directory path in the destination volume.", + "type": "string" + }, + "volumeUuid": { + "description": "Required. The UUID of the ONTAP volume to restore to.", + "type": "string" + } + }, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", @@ -4908,7 +5114,7 @@ "id": "RestoreParameters", "properties": { "sourceBackup": { - "description": "Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id} Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup}", + "description": "Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}. Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup}", "type": "string" }, "sourceSnapshot": { @@ -4918,6 +5124,21 @@ }, "type": "object" }, + "RestoreVolumeRequest": { + "description": "Request message for `RestoreVolume` API.", + "id": "RestoreVolumeRequest", + "properties": { + "backupSource": { + "$ref": "BackupSource", + "description": "The backup source of the restore operation." + }, + "ontapVolumeTarget": { + "$ref": "OntapVolumeTarget", + "description": "The ONTAP volume target of the restore operation." + } + }, + "type": "object" + }, "ResumeReplicationRequest": { "description": "ResumeReplicationRequest resumes a stopped replication.", "id": "ResumeReplicationRequest", @@ -5246,7 +5467,7 @@ "type": "boolean" }, "mode": { - "description": "Optional. Mode of the storage pool. This field is used to control whether the user can perform the ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`.", + "description": "Optional. Mode of the storage pool. This field is used to control whether the user can perform ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`.", "enum": [ "MODE_UNSPECIFIED", "DEFAULT", @@ -5507,6 +5728,26 @@ }, "type": "object" }, + "UpdateBackupConfigRequest": { + "description": "Request message for UpdateBackupConfig", + "id": "UpdateBackupConfigRequest", + "properties": { + "backupConfig": { + "$ref": "BackupConfig", + "description": "Required. Backup configuration to apply." + }, + "updateMask": { + "description": "Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.", + "format": "google-fieldmask", + "type": "string" + }, + "volumeUuid": { + "description": "Required. The UUID of the ONTAP-mode volume.", + "type": "string" + } + }, + "type": "object" + }, "UserCommands": { "description": "UserCommands contains the commands to be executed by the customer.", "id": "UserCommands", @@ -5711,14 +5952,16 @@ "NFSV3", "NFSV4", "SMB", - "ISCSI" + "ISCSI", + "NVME" ], "enumDescriptions": [ "Unspecified protocol", "NFS V3 protocol", "NFS V4 protocol", "SMB protocol", - "ISCSI protocol" + "ISCSI protocol", + "NVMe protocol" ], "type": "string" }, @@ -5899,6 +6142,21 @@ }, "type": "object" }, + "VolumeBackupConfig": { + "description": "Backup configuration for a volume in a pool.", + "id": "VolumeBackupConfig", + "properties": { + "backupConfig": { + "$ref": "BackupConfig", + "description": "Backup configuration for the volume." + }, + "volumeUuid": { + "description": "Provides the Ontap UUID of the volume within the pool.", + "type": "string" + } + }, + "type": "object" + }, "WeeklySchedule": { "description": "Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50", "id": "WeeklySchedule", diff --git a/src/apis/netapp/v1.ts b/src/apis/netapp/v1.ts index 680ab65be2..59cdd11ca8 100644 --- a/src/apis/netapp/v1.ts +++ b/src/apis/netapp/v1.ts @@ -253,6 +253,10 @@ export namespace netapp_v1 { * Identifier. The resource name of the backup. Format: `projects/{project_id\}/locations/{location\}/backupVaults/{backup_vault_id\}/backups/{backup_id\}`. */ name?: string | null; + /** + * Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided. + */ + ontapSource?: Schema$OntapSource; /** * Output only. Reserved for future use */ @@ -266,7 +270,7 @@ export namespace netapp_v1 { */ sourceSnapshot?: string | null; /** - * Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id\}/locations/{location\}/volumes/{volume_id\}` + * The resource name of the volume that this backup belongs to. You must provide either `source_volume` or `ontap_source`. Format: `projects/{project_id\}/locations/{location\}/volumes/{volume_id\}` */ sourceVolume?: string | null; /** @@ -373,6 +377,19 @@ export namespace netapp_v1 { */ weeklyBackupImmutable?: boolean | null; } + /** + * Represents the backup source of the restore operation. + */ + export interface Schema$BackupSource { + /** + * Required. The backup resource name. + */ + backup?: string | null; + /** + * Optional. List of files to be restored in the form of their absolute path as in source volume. If provided, only these files will be restored. If not provided, the entire backup will be restored (Full Backup Restore) + */ + fileList?: string[] | null; + } /** * A NetApp BackupVault. */ @@ -643,7 +660,7 @@ export namespace netapp_v1 { */ peerClusterName?: string | null; /** - * Optional. List of IPv4 ip addresses to be used for peering. + * Optional. List of IPv4 IP addresses to be used for peering. */ peerIpAddresses?: string[] | null; /** @@ -879,7 +896,7 @@ export namespace netapp_v1 { */ labels?: {[key: string]: string} | null; /** - * Identifier. Name of the KmsConfig. Format: `projects/{project\}/locations/{location\}/kmsConfigs/{kms_config\}` + * Identifier. Name of the `KmsConfig`. Format: `projects/{project\}/locations/{location\}/kmsConfigs/{kms_config\}` */ name?: string | null; /** @@ -896,7 +913,7 @@ export namespace netapp_v1 { stateDetails?: string | null; } /** - * Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 4.8 TiB to 20 PiB, it is composed of multiple internal constituents, and must be created in a large capacity pool. + * Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 4.8 TiB to 20 PiB; it is composed of multiple internal constituents, and must be created in a large capacity pool. */ export interface Schema$LargeCapacityConfig { /** @@ -921,6 +938,23 @@ export namespace netapp_v1 { */ unreachable?: string[] | null; } + /** + * Message for response to listing BackupConfigs in an ONTAP StoragePool. + */ + export interface Schema$ListBackupConfigsResponse { + /** + * The token you can use to retrieve the next page of results. Not returned if there are no more results in the list. + */ + nextPageToken?: string | null; + /** + * Unordered list. Locations that could not be reached. + */ + unreachable?: string[] | null; + /** + * A list of backup configurations for volumes in the pool. + */ + volumeBackupConfigs?: Schema$VolumeBackupConfig[]; + } /** * ListBackupPoliciesResponse contains all the backup policies requested. */ @@ -1213,6 +1247,36 @@ export namespace netapp_v1 { */ protocol?: string | null; } + /** + * Represents ONTAP source details. + */ + export interface Schema$OntapSource { + /** + * Optional. The UUID of the ONTAP source snapshot. + */ + snapshotUuid?: string | null; + /** + * Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: `projects/{projects_id\}/locations/{location\}/storagePools/{storage_pool_id\}` + */ + storagePool?: string | null; + /** + * Required. The UUID of the ONTAP source volume. + */ + volumeUuid?: string | null; + } + /** + * Represents the ONTAP volume target of the restore operation. + */ + export interface Schema$OntapVolumeTarget { + /** + * Optional. Absolute directory path in the destination volume. + */ + restoreDestinationPath?: string | null; + /** + * Required. The UUID of the ONTAP volume to restore to. + */ + volumeUuid?: string | null; + } /** * This resource represents a long-running operation that is the result of a network API call. */ @@ -1411,7 +1475,7 @@ export namespace netapp_v1 { */ export interface Schema$RestoreParameters { /** - * Full name of the backup resource. Format for standard backup: projects/{project\}/locations/{location\}/backupVaults/{backup_vault_id\}/backups/{backup_id\} Format for BackupDR backup: projects/{project\}/locations/{location\}/backupVaults/{backup_vault\}/dataSources/{data_source\}/backups/{backup\} + * Full name of the backup resource. Format for standard backup: projects/{project\}/locations/{location\}/backupVaults/{backup_vault_id\}/backups/{backup_id\}. Format for BackupDR backup: projects/{project\}/locations/{location\}/backupVaults/{backup_vault\}/dataSources/{data_source\}/backups/{backup\} */ sourceBackup?: string | null; /** @@ -1419,6 +1483,19 @@ export namespace netapp_v1 { */ sourceSnapshot?: string | null; } + /** + * Request message for `RestoreVolume` API. + */ + export interface Schema$RestoreVolumeRequest { + /** + * The backup source of the restore operation. + */ + backupSource?: Schema$BackupSource; + /** + * The ONTAP volume target of the restore operation. + */ + ontapVolumeTarget?: Schema$OntapVolumeTarget; + } /** * ResumeReplicationRequest resumes a stopped replication. */ @@ -1646,7 +1723,7 @@ export namespace netapp_v1 { */ ldapEnabled?: boolean | null; /** - * Optional. Mode of the storage pool. This field is used to control whether the user can perform the ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`. + * Optional. Mode of the storage pool. This field is used to control whether the user can perform ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`. */ mode?: string | null; /** @@ -1780,6 +1857,23 @@ export namespace netapp_v1 { */ updateTime?: string | null; } + /** + * Request message for UpdateBackupConfig + */ + export interface Schema$UpdateBackupConfigRequest { + /** + * Required. Backup configuration to apply. + */ + backupConfig?: Schema$BackupConfig; + /** + * Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. + */ + updateMask?: string | null; + /** + * Required. The UUID of the ONTAP-mode volume. + */ + volumeUuid?: string | null; + } /** * UserCommands contains the commands to be executed by the customer. */ @@ -2000,6 +2094,19 @@ export namespace netapp_v1 { */ zone?: string | null; } + /** + * Backup configuration for a volume in a pool. + */ + export interface Schema$VolumeBackupConfig { + /** + * Backup configuration for the volume. + */ + backupConfig?: Schema$BackupConfig; + /** + * Provides the Ontap UUID of the volume within the pool. + */ + volumeUuid?: string | null; + } /** * Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50 */ @@ -4956,6 +5063,7 @@ export namespace netapp_v1 { * // "enforcedRetentionEndTime": "my_enforcedRetentionEndTime", * // "labels": {}, * // "name": "my_name", + * // "ontapSource": {}, * // "satisfiesPzi": false, * // "satisfiesPzs": false, * // "sourceSnapshot": "my_sourceSnapshot", @@ -5259,6 +5367,7 @@ export namespace netapp_v1 { * // "enforcedRetentionEndTime": "my_enforcedRetentionEndTime", * // "labels": {}, * // "name": "my_name", + * // "ontapSource": {}, * // "satisfiesPzi": false, * // "satisfiesPzs": false, * // "sourceSnapshot": "my_sourceSnapshot", @@ -5559,6 +5668,7 @@ export namespace netapp_v1 { * // "enforcedRetentionEndTime": "my_enforcedRetentionEndTime", * // "labels": {}, * // "name": "my_name", + * // "ontapSource": {}, * // "satisfiesPzi": false, * // "satisfiesPzs": false, * // "sourceSnapshot": "my_sourceSnapshot", @@ -7325,7 +7435,7 @@ export namespace netapp_v1 { * * // Do the magic * const res = await netapp.projects.locations.kmsConfigs.patch({ - * // Identifier. Name of the KmsConfig. Format: `projects/{project\}/locations/{location\}/kmsConfigs/{kms_config\}` + * // Identifier. Name of the `KmsConfig`. Format: `projects/{project\}/locations/{location\}/kmsConfigs/{kms_config\}` * name: 'projects/my-project/locations/my-location/kmsConfigs/my-kmsConfig', * // Required. Field mask is used to specify the fields to be overwritten in the KmsConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. * updateMask: 'placeholder-value', @@ -7659,7 +7769,7 @@ export namespace netapp_v1 { } export interface Params$Resource$Projects$Locations$Kmsconfigs$Patch extends StandardParameters { /** - * Identifier. Name of the KmsConfig. Format: `projects/{project\}/locations/{location\}/kmsConfigs/{kms_config\}` + * Identifier. Name of the `KmsConfig`. Format: `projects/{project\}/locations/{location\}/kmsConfigs/{kms_config\}` */ name?: string; /** @@ -8296,9 +8406,14 @@ export namespace netapp_v1 { export class Resource$Projects$Locations$Storagepools { context: APIRequestContext; + backupConfigs: Resource$Projects$Locations$Storagepools$Backupconfigs; ontap: Resource$Projects$Locations$Storagepools$Ontap; constructor(context: APIRequestContext) { this.context = context; + this.backupConfigs = + new Resource$Projects$Locations$Storagepools$Backupconfigs( + this.context + ); this.ontap = new Resource$Projects$Locations$Storagepools$Ontap( this.context ); @@ -9123,6 +9238,157 @@ export namespace netapp_v1 { } } + /** + * Restores a backup to an ONTAP-mode volume. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/netapp.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const netapp = google.netapp('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await netapp.projects.locations.storagePools.restoreVolume({ + * // Required. The resource name of the ONTAP mode storage pool, in the format of `projects/{project\}/locations/{location\}/storagePools/{storage_pool\}` + * name: 'projects/my-project/locations/my-location/storagePools/my-storagePool', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "backupSource": {}, + * // "ontapVolumeTarget": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + restoreVolume( + params: Params$Resource$Projects$Locations$Storagepools$Restorevolume, + options: StreamMethodOptions + ): Promise>; + restoreVolume( + params?: Params$Resource$Projects$Locations$Storagepools$Restorevolume, + options?: MethodOptions + ): Promise>; + restoreVolume( + params: Params$Resource$Projects$Locations$Storagepools$Restorevolume, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + restoreVolume( + params: Params$Resource$Projects$Locations$Storagepools$Restorevolume, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + restoreVolume( + params: Params$Resource$Projects$Locations$Storagepools$Restorevolume, + callback: BodyResponseCallback + ): void; + restoreVolume(callback: BodyResponseCallback): void; + restoreVolume( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Storagepools$Restorevolume + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Storagepools$Restorevolume; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Storagepools$Restorevolume; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://netapp.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:restoreVolume').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * This operation will switch the active/replica zone for a regional storagePool. * @example @@ -9267,6 +9533,158 @@ export namespace netapp_v1 { } } + /** + * Updates the backup configuration for an ONTAP-mode volume. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/netapp.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const netapp = google.netapp('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await netapp.projects.locations.storagePools.updateBackupConfig({ + * // Required. The resource name of the StoragePool, in the format: projects/{projectNumber\}/locations/{locationId\}/storagePools/{poolId\} + * name: 'projects/my-project/locations/my-location/storagePools/my-storagePool', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "backupConfig": {}, + * // "updateMask": "my_updateMask", + * // "volumeUuid": "my_volumeUuid" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + updateBackupConfig( + params: Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig, + options: StreamMethodOptions + ): Promise>; + updateBackupConfig( + params?: Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig, + options?: MethodOptions + ): Promise>; + updateBackupConfig( + params: Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + updateBackupConfig( + params: Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + updateBackupConfig( + params: Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig, + callback: BodyResponseCallback + ): void; + updateBackupConfig(callback: BodyResponseCallback): void; + updateBackupConfig( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://netapp.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:updateBackupConfig').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool. * @example @@ -9485,6 +9903,17 @@ export namespace netapp_v1 { */ requestBody?: Schema$StoragePool; } + export interface Params$Resource$Projects$Locations$Storagepools$Restorevolume extends StandardParameters { + /** + * Required. The resource name of the ONTAP mode storage pool, in the format of `projects/{project\}/locations/{location\}/storagePools/{storage_pool\}` + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RestoreVolumeRequest; + } export interface Params$Resource$Projects$Locations$Storagepools$Switch extends StandardParameters { /** * Required. Name of the storage pool @@ -9496,6 +9925,17 @@ export namespace netapp_v1 { */ requestBody?: Schema$SwitchActiveReplicaZoneRequest; } + export interface Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig extends StandardParameters { + /** + * Required. The resource name of the StoragePool, in the format: projects/{projectNumber\}/locations/{locationId\}/storagePools/{poolId\} + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$UpdateBackupConfigRequest; + } export interface Params$Resource$Projects$Locations$Storagepools$Validatedirectoryservice extends StandardParameters { /** * Required. Name of the storage pool @@ -9508,6 +9948,189 @@ export namespace netapp_v1 { requestBody?: Schema$ValidateDirectoryServiceRequest; } + export class Resource$Projects$Locations$Storagepools$Backupconfigs { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists backup configurations for all volumes in an ONTAP-mode Storage Pool. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/netapp.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const netapp = google.netapp('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await netapp.projects.locations.storagePools.backupConfigs.list({ + * // Optional. The standard list filter. + * filter: 'placeholder-value', + * // Optional. Sort results. Supported values are "volume_id" or "" + * orderBy: 'placeholder-value', + * // Optional. The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified or set to 0, a default of 50 will be used. + * pageSize: 'placeholder-value', + * // Optional. The next_page_token value to use if there are additional results to retrieve for this list request. + * pageToken: 'placeholder-value', + * // Required. The ONTAP StoragePool for which to retrieve backup configuration information, in the format `projects/{project\}/locations/{location\}/storagePools/{storage_pool\}`. + * parent: + * 'projects/my-project/locations/my-location/storagePools/my-storagePool', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [], + * // "volumeBackupConfigs": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Storagepools$Backupconfigs$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://netapp.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/backupConfigs').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$Storagepools$Backupconfigs$List extends StandardParameters { + /** + * Optional. The standard list filter. + */ + filter?: string; + /** + * Optional. Sort results. Supported values are "volume_id" or "" + */ + orderBy?: string; + /** + * Optional. The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified or set to 0, a default of 50 will be used. + */ + pageSize?: number; + /** + * Optional. The next_page_token value to use if there are additional results to retrieve for this list request. + */ + pageToken?: string; + /** + * Required. The ONTAP StoragePool for which to retrieve backup configuration information, in the format `projects/{project\}/locations/{location\}/storagePools/{storage_pool\}`. + */ + parent?: string; + } + export class Resource$Projects$Locations$Storagepools$Ontap { context: APIRequestContext; constructor(context: APIRequestContext) { @@ -9515,7 +10138,7 @@ export namespace netapp_v1 { } /** - * `ExecuteOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool` cluster. + * `ExecuteOntapDelete` sends the ONTAP `DELETE` request to the `StoragePool` cluster. * @example * ```js * // Before running the sample: @@ -9656,7 +10279,7 @@ export namespace netapp_v1 { } /** - * `ExecuteOntapGet` dispatches the ONTAP `GET` request to the `StoragePool` cluster. + * `ExecuteOntapGet` sends the ONTAP `GET` request to the `StoragePool` cluster. * @example * ```js * // Before running the sample: @@ -9797,7 +10420,7 @@ export namespace netapp_v1 { } /** - * `ExecuteOntapPatch` dispatches the ONTAP `PATCH` request to the `StoragePool` cluster. + * `ExecuteOntapPatch` sends the ONTAP `PATCH` request to the `StoragePool` cluster. * @example * ```js * // Before running the sample: @@ -9946,7 +10569,7 @@ export namespace netapp_v1 { } /** - * `ExecuteOntapPost` dispatches the ONTAP `POST` request to the `StoragePool` cluster. + * `ExecuteOntapPost` sends the ONTAP `POST` request to the `StoragePool` cluster. * @example * ```js * // Before running the sample: @@ -9977,7 +10600,7 @@ export namespace netapp_v1 { * // Do the magic * const res = * await netapp.projects.locations.storagePools.ontap.executeOntapPost({ - * // Required. The resource path of the ONTAP resource. Format: `projects/{project_number\}/locations/{location_id\}/storagePools/{storage_pool_id\}/ontap/{ontap_resource_path\}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. + * // Required. The path of the ONTAP resource. Format: `projects/{project_number\}/locations/{location_id\}/storagePools/{storage_pool_id\}/ontap/{ontap_resource_path\}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. * ontapPath: * 'projects/my-project/locations/my-location/storagePools/my-storagePool/ontap/.*', * @@ -10120,7 +10743,7 @@ export namespace netapp_v1 { } export interface Params$Resource$Projects$Locations$Storagepools$Ontap$Executeontappost extends StandardParameters { /** - * Required. The resource path of the ONTAP resource. Format: `projects/{project_number\}/locations/{location_id\}/storagePools/{storage_pool_id\}/ontap/{ontap_resource_path\}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. + * Required. The path of the ONTAP resource. Format: `projects/{project_number\}/locations/{location_id\}/storagePools/{storage_pool_id\}/ontap/{ontap_resource_path\}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. */ ontapPath?: string; diff --git a/src/apis/netapp/v1beta1.ts b/src/apis/netapp/v1beta1.ts index e76c8f8e28..e1cfdb1964 100644 --- a/src/apis/netapp/v1beta1.ts +++ b/src/apis/netapp/v1beta1.ts @@ -253,6 +253,10 @@ export namespace netapp_v1beta1 { * Identifier. The resource name of the backup. Format: `projects/{project_id\}/locations/{location\}/backupVaults/{backup_vault_id\}/backups/{backup_id\}`. */ name?: string | null; + /** + * Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided. + */ + ontapSource?: Schema$OntapSource; /** * Output only. Reserved for future use */ @@ -266,7 +270,7 @@ export namespace netapp_v1beta1 { */ sourceSnapshot?: string | null; /** - * Volume full name of this backup belongs to. Either source_volume or ontap_source should be provided. Format: `projects/{projects_id\}/locations/{location\}/volumes/{volume_id\}` + * The resource name of the volume that this backup belongs to. You must provide either `source_volume` or `ontap_source`. Format: `projects/{project_id\}/locations/{location\}/volumes/{volume_id\}` */ sourceVolume?: string | null; /** @@ -373,6 +377,19 @@ export namespace netapp_v1beta1 { */ weeklyBackupImmutable?: boolean | null; } + /** + * Represents the backup source of the restore operation. + */ + export interface Schema$BackupSource { + /** + * Required. The backup resource name. + */ + backup?: string | null; + /** + * Optional. List of files to be restored in the form of their absolute path as in source volume. If provided, only these files will be restored. If not provided, the entire backup will be restored (Full Backup Restore) + */ + fileList?: string[] | null; + } /** * A NetApp BackupVault. */ @@ -647,7 +664,7 @@ export namespace netapp_v1beta1 { */ peerClusterName?: string | null; /** - * Optional. List of IPv4 ip addresses to be used for peering. + * Optional. List of IPv4 IP addresses to be used for peering. */ peerIpAddresses?: string[] | null; /** @@ -883,7 +900,7 @@ export namespace netapp_v1beta1 { */ labels?: {[key: string]: string} | null; /** - * Identifier. Name of the KmsConfig. Format: `projects/{project\}/locations/{location\}/kmsConfigs/{kms_config\}` + * Identifier. Name of the `KmsConfig`. Format: `projects/{project\}/locations/{location\}/kmsConfigs/{kms_config\}` */ name?: string | null; /** @@ -900,7 +917,7 @@ export namespace netapp_v1beta1 { stateDetails?: string | null; } /** - * Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 4.8 TiB to 20 PiB, it is composed of multiple internal constituents, and must be created in a large capacity pool. + * Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 4.8 TiB to 20 PiB; it is composed of multiple internal constituents, and must be created in a large capacity pool. */ export interface Schema$LargeCapacityConfig { /** @@ -925,6 +942,23 @@ export namespace netapp_v1beta1 { */ unreachable?: string[] | null; } + /** + * Message for response to listing BackupConfigs in an ONTAP StoragePool. + */ + export interface Schema$ListBackupConfigsResponse { + /** + * The token you can use to retrieve the next page of results. Not returned if there are no more results in the list. + */ + nextPageToken?: string | null; + /** + * Unordered list. Locations that could not be reached. + */ + unreachable?: string[] | null; + /** + * A list of backup configurations for volumes in the pool. + */ + volumeBackupConfigs?: Schema$VolumeBackupConfig[]; + } /** * ListBackupPoliciesResponse contains all the backup policies requested. */ @@ -1217,6 +1251,36 @@ export namespace netapp_v1beta1 { */ protocol?: string | null; } + /** + * Represents ONTAP source details. + */ + export interface Schema$OntapSource { + /** + * Optional. The UUID of the ONTAP source snapshot. + */ + snapshotUuid?: string | null; + /** + * Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: `projects/{projects_id\}/locations/{location\}/storagePools/{storage_pool_id\}` + */ + storagePool?: string | null; + /** + * Required. The UUID of the ONTAP source volume. + */ + volumeUuid?: string | null; + } + /** + * Represents the ONTAP volume target of the restore operation. + */ + export interface Schema$OntapVolumeTarget { + /** + * Optional. Absolute directory path in the destination volume. + */ + restoreDestinationPath?: string | null; + /** + * Required. The UUID of the ONTAP volume to restore to. + */ + volumeUuid?: string | null; + } /** * This resource represents a long-running operation that is the result of a network API call. */ @@ -1415,7 +1479,7 @@ export namespace netapp_v1beta1 { */ export interface Schema$RestoreParameters { /** - * Full name of the backup resource. Format for standard backup: projects/{project\}/locations/{location\}/backupVaults/{backup_vault_id\}/backups/{backup_id\} Format for BackupDR backup: projects/{project\}/locations/{location\}/backupVaults/{backup_vault\}/dataSources/{data_source\}/backups/{backup\} + * Full name of the backup resource. Format for standard backup: projects/{project\}/locations/{location\}/backupVaults/{backup_vault_id\}/backups/{backup_id\}. Format for BackupDR backup: projects/{project\}/locations/{location\}/backupVaults/{backup_vault\}/dataSources/{data_source\}/backups/{backup\} */ sourceBackup?: string | null; /** @@ -1423,6 +1487,19 @@ export namespace netapp_v1beta1 { */ sourceSnapshot?: string | null; } + /** + * Request message for `RestoreVolume` API. + */ + export interface Schema$RestoreVolumeRequest { + /** + * The backup source of the restore operation. + */ + backupSource?: Schema$BackupSource; + /** + * The ONTAP volume target of the restore operation. + */ + ontapVolumeTarget?: Schema$OntapVolumeTarget; + } /** * ResumeReplicationRequest resumes a stopped replication. */ @@ -1650,7 +1727,7 @@ export namespace netapp_v1beta1 { */ ldapEnabled?: boolean | null; /** - * Optional. Mode of the storage pool. This field is used to control whether the user can perform the ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`. + * Optional. Mode of the storage pool. This field is used to control whether the user can perform ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`. */ mode?: string | null; /** @@ -1788,6 +1865,23 @@ export namespace netapp_v1beta1 { */ updateTime?: string | null; } + /** + * Request message for UpdateBackupConfig + */ + export interface Schema$UpdateBackupConfigRequest { + /** + * Required. Backup configuration to apply. + */ + backupConfig?: Schema$BackupConfig; + /** + * Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. + */ + updateMask?: string | null; + /** + * Required. The UUID of the ONTAP-mode volume. + */ + volumeUuid?: string | null; + } /** * UserCommands contains the commands to be executed by the customer. */ @@ -2008,6 +2102,19 @@ export namespace netapp_v1beta1 { */ zone?: string | null; } + /** + * Backup configuration for a volume in a pool. + */ + export interface Schema$VolumeBackupConfig { + /** + * Backup configuration for the volume. + */ + backupConfig?: Schema$BackupConfig; + /** + * Provides the Ontap UUID of the volume within the pool. + */ + volumeUuid?: string | null; + } /** * Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50 */ @@ -3579,7 +3686,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -3722,7 +3832,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -4409,7 +4522,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -4557,7 +4673,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -4940,7 +5059,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -4967,6 +5089,7 @@ export namespace netapp_v1beta1 { * // "enforcedRetentionEndTime": "my_enforcedRetentionEndTime", * // "labels": {}, * // "name": "my_name", + * // "ontapSource": {}, * // "satisfiesPzi": false, * // "satisfiesPzs": false, * // "sourceSnapshot": "my_sourceSnapshot", @@ -5246,7 +5369,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -5270,6 +5396,7 @@ export namespace netapp_v1beta1 { * // "enforcedRetentionEndTime": "my_enforcedRetentionEndTime", * // "labels": {}, * // "name": "my_name", + * // "ontapSource": {}, * // "satisfiesPzi": false, * // "satisfiesPzs": false, * // "sourceSnapshot": "my_sourceSnapshot", @@ -5395,7 +5522,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -5570,6 +5700,7 @@ export namespace netapp_v1beta1 { * // "enforcedRetentionEndTime": "my_enforcedRetentionEndTime", * // "labels": {}, * // "name": "my_name", + * // "ontapSource": {}, * // "satisfiesPzi": false, * // "satisfiesPzs": false, * // "sourceSnapshot": "my_sourceSnapshot", @@ -7336,7 +7467,7 @@ export namespace netapp_v1beta1 { * * // Do the magic * const res = await netapp.projects.locations.kmsConfigs.patch({ - * // Identifier. Name of the KmsConfig. Format: `projects/{project\}/locations/{location\}/kmsConfigs/{kms_config\}` + * // Identifier. Name of the `KmsConfig`. Format: `projects/{project\}/locations/{location\}/kmsConfigs/{kms_config\}` * name: 'projects/my-project/locations/my-location/kmsConfigs/my-kmsConfig', * // Required. Field mask is used to specify the fields to be overwritten in the KmsConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. * updateMask: 'placeholder-value', @@ -7673,7 +7804,7 @@ export namespace netapp_v1beta1 { } export interface Params$Resource$Projects$Locations$Kmsconfigs$Patch extends StandardParameters { /** - * Identifier. Name of the KmsConfig. Format: `projects/{project\}/locations/{location\}/kmsConfigs/{kms_config\}` + * Identifier. Name of the `KmsConfig`. Format: `projects/{project\}/locations/{location\}/kmsConfigs/{kms_config\}` */ name?: string; /** @@ -8313,9 +8444,14 @@ export namespace netapp_v1beta1 { export class Resource$Projects$Locations$Storagepools { context: APIRequestContext; + backupConfigs: Resource$Projects$Locations$Storagepools$Backupconfigs; ontap: Resource$Projects$Locations$Storagepools$Ontap; constructor(context: APIRequestContext) { this.context = context; + this.backupConfigs = + new Resource$Projects$Locations$Storagepools$Backupconfigs( + this.context + ); this.ontap = new Resource$Projects$Locations$Storagepools$Ontap( this.context ); @@ -8666,7 +8802,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -8834,7 +8973,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -9143,6 +9285,157 @@ export namespace netapp_v1beta1 { } } + /** + * Restores a backup to an ONTAP-mode volume. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/netapp.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const netapp = google.netapp('v1beta1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await netapp.projects.locations.storagePools.restoreVolume({ + * // Required. The resource name of the ONTAP mode storage pool, in the format of `projects/{project\}/locations/{location\}/storagePools/{storage_pool\}` + * name: 'projects/my-project/locations/my-location/storagePools/my-storagePool', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "backupSource": {}, + * // "ontapVolumeTarget": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + restoreVolume( + params: Params$Resource$Projects$Locations$Storagepools$Restorevolume, + options: StreamMethodOptions + ): Promise>; + restoreVolume( + params?: Params$Resource$Projects$Locations$Storagepools$Restorevolume, + options?: MethodOptions + ): Promise>; + restoreVolume( + params: Params$Resource$Projects$Locations$Storagepools$Restorevolume, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + restoreVolume( + params: Params$Resource$Projects$Locations$Storagepools$Restorevolume, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + restoreVolume( + params: Params$Resource$Projects$Locations$Storagepools$Restorevolume, + callback: BodyResponseCallback + ): void; + restoreVolume(callback: BodyResponseCallback): void; + restoreVolume( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Storagepools$Restorevolume + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Storagepools$Restorevolume; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Storagepools$Restorevolume; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://netapp.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+name}:restoreVolume').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * This operation will switch the active/replica zone for a regional storagePool. * @example @@ -9290,6 +9583,158 @@ export namespace netapp_v1beta1 { } } + /** + * Updates the backup configuration for an ONTAP-mode volume. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/netapp.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const netapp = google.netapp('v1beta1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await netapp.projects.locations.storagePools.updateBackupConfig({ + * // Required. The resource name of the StoragePool, in the format: projects/{projectNumber\}/locations/{locationId\}/storagePools/{poolId\} + * name: 'projects/my-project/locations/my-location/storagePools/my-storagePool', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "backupConfig": {}, + * // "updateMask": "my_updateMask", + * // "volumeUuid": "my_volumeUuid" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + updateBackupConfig( + params: Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig, + options: StreamMethodOptions + ): Promise>; + updateBackupConfig( + params?: Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig, + options?: MethodOptions + ): Promise>; + updateBackupConfig( + params: Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + updateBackupConfig( + params: Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + updateBackupConfig( + params: Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig, + callback: BodyResponseCallback + ): void; + updateBackupConfig(callback: BodyResponseCallback): void; + updateBackupConfig( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://netapp.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+name}:updateBackupConfig').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool. * @example @@ -9507,6 +9952,17 @@ export namespace netapp_v1beta1 { */ requestBody?: Schema$StoragePool; } + export interface Params$Resource$Projects$Locations$Storagepools$Restorevolume extends StandardParameters { + /** + * Required. The resource name of the ONTAP mode storage pool, in the format of `projects/{project\}/locations/{location\}/storagePools/{storage_pool\}` + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RestoreVolumeRequest; + } export interface Params$Resource$Projects$Locations$Storagepools$Switch extends StandardParameters { /** * Required. Name of the storage pool @@ -9518,6 +9974,17 @@ export namespace netapp_v1beta1 { */ requestBody?: Schema$SwitchActiveReplicaZoneRequest; } + export interface Params$Resource$Projects$Locations$Storagepools$Updatebackupconfig extends StandardParameters { + /** + * Required. The resource name of the StoragePool, in the format: projects/{projectNumber\}/locations/{locationId\}/storagePools/{poolId\} + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$UpdateBackupConfigRequest; + } export interface Params$Resource$Projects$Locations$Storagepools$Validatedirectoryservice extends StandardParameters { /** * Required. Name of the storage pool @@ -9530,6 +9997,189 @@ export namespace netapp_v1beta1 { requestBody?: Schema$ValidateDirectoryServiceRequest; } + export class Resource$Projects$Locations$Storagepools$Backupconfigs { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists backup configurations for all volumes in an ONTAP-mode Storage Pool. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/netapp.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const netapp = google.netapp('v1beta1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await netapp.projects.locations.storagePools.backupConfigs.list({ + * // Optional. The standard list filter. + * filter: 'placeholder-value', + * // Optional. Sort results. Supported values are "volume_id" or "" + * orderBy: 'placeholder-value', + * // Optional. The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified or set to 0, a default of 50 will be used. + * pageSize: 'placeholder-value', + * // Optional. The next_page_token value to use if there are additional results to retrieve for this list request. + * pageToken: 'placeholder-value', + * // Required. The ONTAP StoragePool for which to retrieve backup configuration information, in the format `projects/{project\}/locations/{location\}/storagePools/{storage_pool\}`. + * parent: + * 'projects/my-project/locations/my-location/storagePools/my-storagePool', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [], + * // "volumeBackupConfigs": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Storagepools$Backupconfigs$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Storagepools$Backupconfigs$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://netapp.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+parent}/backupConfigs').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$Storagepools$Backupconfigs$List extends StandardParameters { + /** + * Optional. The standard list filter. + */ + filter?: string; + /** + * Optional. Sort results. Supported values are "volume_id" or "" + */ + orderBy?: string; + /** + * Optional. The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified or set to 0, a default of 50 will be used. + */ + pageSize?: number; + /** + * Optional. The next_page_token value to use if there are additional results to retrieve for this list request. + */ + pageToken?: string; + /** + * Required. The ONTAP StoragePool for which to retrieve backup configuration information, in the format `projects/{project\}/locations/{location\}/storagePools/{storage_pool\}`. + */ + parent?: string; + } + export class Resource$Projects$Locations$Storagepools$Ontap { context: APIRequestContext; constructor(context: APIRequestContext) { @@ -9537,7 +10187,7 @@ export namespace netapp_v1beta1 { } /** - * `ExecuteOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool` cluster. + * `ExecuteOntapDelete` sends the ONTAP `DELETE` request to the `StoragePool` cluster. * @example * ```js * // Before running the sample: @@ -9681,7 +10331,7 @@ export namespace netapp_v1beta1 { } /** - * `ExecuteOntapGet` dispatches the ONTAP `GET` request to the `StoragePool` cluster. + * `ExecuteOntapGet` sends the ONTAP `GET` request to the `StoragePool` cluster. * @example * ```js * // Before running the sample: @@ -9825,7 +10475,7 @@ export namespace netapp_v1beta1 { } /** - * `ExecuteOntapPatch` dispatches the ONTAP `PATCH` request to the `StoragePool` cluster. + * `ExecuteOntapPatch` sends the ONTAP `PATCH` request to the `StoragePool` cluster. * @example * ```js * // Before running the sample: @@ -9977,7 +10627,7 @@ export namespace netapp_v1beta1 { } /** - * `ExecuteOntapPost` dispatches the ONTAP `POST` request to the `StoragePool` cluster. + * `ExecuteOntapPost` sends the ONTAP `POST` request to the `StoragePool` cluster. * @example * ```js * // Before running the sample: @@ -10008,7 +10658,7 @@ export namespace netapp_v1beta1 { * // Do the magic * const res = * await netapp.projects.locations.storagePools.ontap.executeOntapPost({ - * // Required. The resource path of the ONTAP resource. Format: `projects/{project_number\}/locations/{location_id\}/storagePools/{storage_pool_id\}/ontap/{ontap_resource_path\}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. + * // Required. The path of the ONTAP resource. Format: `projects/{project_number\}/locations/{location_id\}/storagePools/{storage_pool_id\}/ontap/{ontap_resource_path\}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. * ontapPath: * 'projects/my-project/locations/my-location/storagePools/my-storagePool/ontap/.*', * @@ -10154,7 +10804,7 @@ export namespace netapp_v1beta1 { } export interface Params$Resource$Projects$Locations$Storagepools$Ontap$Executeontappost extends StandardParameters { /** - * Required. The resource path of the ONTAP resource. Format: `projects/{project_number\}/locations/{location_id\}/storagePools/{storage_pool_id\}/ontap/{ontap_resource_path\}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. + * Required. The path of the ONTAP resource. Format: `projects/{project_number\}/locations/{location_id\}/storagePools/{storage_pool_id\}/ontap/{ontap_resource_path\}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. */ ontapPath?: string; @@ -10691,7 +11341,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -10868,7 +11521,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -14088,7 +14744,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -14385,7 +15044,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -14525,7 +15187,10 @@ export namespace netapp_v1beta1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-netapp', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], * }); * * // Acquire an auth client, and bind it to all future calls From 4197243898e090e4c296cf8a07fdc54ce677a0c6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 50/69] feat(networkconnectivity): update the API #### networkconnectivity:v1 The following keys were added: - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.flatPath - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.httpMethod - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.id - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.parameterOrder - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.parameters.gatewayAdvertisedRouteId.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.parameters.gatewayAdvertisedRouteId.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.parameters.gatewayAdvertisedRouteId.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.parameters.parent.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.parameters.parent.pattern - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.parameters.parent.required - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.parameters.parent.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.parameters.requestId.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.parameters.requestId.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.parameters.requestId.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.path - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.request.$ref - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.response.$ref - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.create.scopes - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.flatPath - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.httpMethod - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.id - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.parameterOrder - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.parameters.requestId.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.parameters.requestId.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.parameters.requestId.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.path - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.response.$ref - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.delete.scopes - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.flatPath - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.httpMethod - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.id - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.parameterOrder - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.parameters.name.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.parameters.name.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.parameters.name.required - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.parameters.name.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.path - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.response.$ref - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.get.scopes - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.flatPath - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.httpMethod - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.id - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameterOrder - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.path - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.response.$ref - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.list.scopes - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.flatPath - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.httpMethod - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.id - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameterOrder - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameters.name.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameters.name.pattern - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameters.name.required - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameters.name.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameters.requestId.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameters.requestId.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameters.requestId.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameters.updateMask.description - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameters.updateMask.format - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameters.updateMask.location - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.parameters.updateMask.type - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.path - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.request.$ref - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.response.$ref - resources.projects.resources.locations.resources.spokes.resources.gatewayAdvertisedRoutes.methods.patch.scopes - schemas.Gateway.description - schemas.Gateway.id - schemas.Gateway.properties.capacity.description - schemas.Gateway.properties.capacity.enum - schemas.Gateway.properties.capacity.enumDescriptions - schemas.Gateway.properties.capacity.type - schemas.Gateway.properties.cloudRouters.description - schemas.Gateway.properties.cloudRouters.items.type - schemas.Gateway.properties.cloudRouters.readOnly - schemas.Gateway.properties.cloudRouters.type - schemas.Gateway.properties.ipRangeReservations.description - schemas.Gateway.properties.ipRangeReservations.items.$ref - schemas.Gateway.properties.ipRangeReservations.type - schemas.Gateway.properties.sacAttachment.description - schemas.Gateway.properties.sacAttachment.readOnly - schemas.Gateway.properties.sacAttachment.type - schemas.Gateway.type - schemas.GatewayAdvertisedRoute.description - schemas.GatewayAdvertisedRoute.id - schemas.GatewayAdvertisedRoute.properties.createTime.description - schemas.GatewayAdvertisedRoute.properties.createTime.format - schemas.GatewayAdvertisedRoute.properties.createTime.readOnly - schemas.GatewayAdvertisedRoute.properties.createTime.type - schemas.GatewayAdvertisedRoute.properties.description.description - schemas.GatewayAdvertisedRoute.properties.description.type - schemas.GatewayAdvertisedRoute.properties.ipRange.description - schemas.GatewayAdvertisedRoute.properties.ipRange.type - schemas.GatewayAdvertisedRoute.properties.labels.additionalProperties.type - schemas.GatewayAdvertisedRoute.properties.labels.description - schemas.GatewayAdvertisedRoute.properties.labels.type - schemas.GatewayAdvertisedRoute.properties.name.description - schemas.GatewayAdvertisedRoute.properties.name.type - schemas.GatewayAdvertisedRoute.properties.priority.description - schemas.GatewayAdvertisedRoute.properties.priority.format - schemas.GatewayAdvertisedRoute.properties.priority.type - schemas.GatewayAdvertisedRoute.properties.recipient.description - schemas.GatewayAdvertisedRoute.properties.recipient.enum - schemas.GatewayAdvertisedRoute.properties.recipient.enumDescriptions - schemas.GatewayAdvertisedRoute.properties.recipient.type - schemas.GatewayAdvertisedRoute.properties.state.description - schemas.GatewayAdvertisedRoute.properties.state.enum - schemas.GatewayAdvertisedRoute.properties.state.enumDescriptions - schemas.GatewayAdvertisedRoute.properties.state.readOnly - schemas.GatewayAdvertisedRoute.properties.state.type - schemas.GatewayAdvertisedRoute.properties.uniqueId.description - schemas.GatewayAdvertisedRoute.properties.uniqueId.readOnly - schemas.GatewayAdvertisedRoute.properties.uniqueId.type - schemas.GatewayAdvertisedRoute.properties.updateTime.description - schemas.GatewayAdvertisedRoute.properties.updateTime.format - schemas.GatewayAdvertisedRoute.properties.updateTime.readOnly - schemas.GatewayAdvertisedRoute.properties.updateTime.type - schemas.GatewayAdvertisedRoute.type - schemas.IpRangeReservation.description - schemas.IpRangeReservation.id - schemas.IpRangeReservation.properties.ipRange.description - schemas.IpRangeReservation.properties.ipRange.type - schemas.IpRangeReservation.type - schemas.ListGatewayAdvertisedRoutesResponse.description - schemas.ListGatewayAdvertisedRoutesResponse.id - schemas.ListGatewayAdvertisedRoutesResponse.properties.gatewayAdvertisedRoutes.description - schemas.ListGatewayAdvertisedRoutesResponse.properties.gatewayAdvertisedRoutes.items.$ref - schemas.ListGatewayAdvertisedRoutesResponse.properties.gatewayAdvertisedRoutes.type - schemas.ListGatewayAdvertisedRoutesResponse.properties.nextPageToken.description - schemas.ListGatewayAdvertisedRoutesResponse.properties.nextPageToken.type - schemas.ListGatewayAdvertisedRoutesResponse.properties.unreachable.description - schemas.ListGatewayAdvertisedRoutesResponse.properties.unreachable.items.type - schemas.ListGatewayAdvertisedRoutesResponse.properties.unreachable.type - schemas.ListGatewayAdvertisedRoutesResponse.type - schemas.Spoke.properties.gateway.$ref - schemas.Spoke.properties.gateway.description The following keys were changed: - schemas.Hub.properties.presetTopology.enum - schemas.Hub.properties.presetTopology.enumDescriptions - schemas.Spoke.properties.spokeType.enum - schemas.Spoke.properties.spokeType.enumDescriptions - schemas.SpokeTypeCount.properties.spokeType.enum - schemas.SpokeTypeCount.properties.spokeType.enumDescriptions --- discovery/networkconnectivity-v1.json | 366 +++++++++- src/apis/networkconnectivity/v1.ts | 988 ++++++++++++++++++++++++++ 2 files changed, 1351 insertions(+), 3 deletions(-) diff --git a/discovery/networkconnectivity-v1.json b/discovery/networkconnectivity-v1.json index e6e02ffcc3..cd3110a23d 100644 --- a/discovery/networkconnectivity-v1.json +++ b/discovery/networkconnectivity-v1.json @@ -3525,6 +3525,190 @@ "https://www.googleapis.com/auth/cloud-platform" ] } + }, + "resources": { + "gatewayAdvertisedRoutes": { + "methods": { + "create": { + "description": "Create a GatewayAdvertisedRoute", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}/gatewayAdvertisedRoutes", + "httpMethod": "POST", + "id": "networkconnectivity.projects.locations.spokes.gatewayAdvertisedRoutes.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "gatewayAdvertisedRouteId": { + "description": "Required. Unique id for the route to create.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/gatewayAdvertisedRoutes", + "request": { + "$ref": "GatewayAdvertisedRoute" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete a GatewayAdvertisedRoute", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}/gatewayAdvertisedRoutes/{gatewayAdvertisedRoutesId}", + "httpMethod": "DELETE", + "id": "networkconnectivity.projects.locations.spokes.gatewayAdvertisedRoutes.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the gateway advertised route to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+/gatewayAdvertisedRoutes/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get a GatewayAdvertisedRoute", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}/gatewayAdvertisedRoutes/{gatewayAdvertisedRoutesId}", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.spokes.gatewayAdvertisedRoutes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the gateway advertised route to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+/gatewayAdvertisedRoutes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GatewayAdvertisedRoute" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List GatewayAdvertisedRoutes", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}/gatewayAdvertisedRoutes", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.spokes.gatewayAdvertisedRoutes.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "An expression that filters the list of results.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Sort the results by a certain order.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results per page that should be returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListGatewayAdvertisedRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGatewayAdvertisedRoutes` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/gatewayAdvertisedRoutes", + "response": { + "$ref": "ListGatewayAdvertisedRoutesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update a GatewayAdvertisedRoute", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}/gatewayAdvertisedRoutes/{gatewayAdvertisedRoutesId}", + "httpMethod": "PATCH", + "id": "networkconnectivity.projects.locations.spokes.gatewayAdvertisedRoutes.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The name of the gateway advertised route. Route names must be unique and use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke}/gatewayAdvertisedRoutes/{gateway_advertised_route_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+/gatewayAdvertisedRoutes/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. In the case of an update to an existing group, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GatewayAdvertisedRoute" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } } }, "transports": { @@ -3714,7 +3898,7 @@ } } }, - "revision": "20260422", + "revision": "20260514", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AcceptHubSpokeRequest": { @@ -4538,6 +4722,136 @@ }, "type": "object" }, + "Gateway": { + "description": "A gateway that can apply specialized traffic processing.", + "id": "Gateway", + "properties": { + "capacity": { + "description": "Optional. The aggregate processing capacity of this gateway.", + "enum": [ + "GATEWAY_CAPACITY_UNSPECIFIED", + "CAPACITY_1_GBPS", + "CAPACITY_10_GBPS" + ], + "enumDescriptions": [ + "The gateway capacity is unspecified.", + "The gateway has 1 Gbps of aggregate processing capacity", + "The gateway has 10 Gbps of aggregate processing capacity" + ], + "type": "string" + }, + "cloudRouters": { + "description": "Output only. The list of Cloud Routers that are connected to this gateway. Should be in the form: https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/routers/{router}", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "ipRangeReservations": { + "description": "Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure.", + "items": { + "$ref": "IpRangeReservation" + }, + "type": "array" + }, + "sacAttachment": { + "description": "Output only. The URI of the connected SACAttachment. Should be in the form: projects/{project}/locations/{location}/sacAttachments/{sac_attachment}", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GatewayAdvertisedRoute": { + "description": "A gateway advertised route is a route that a gateway spoke advertises somewhere.", + "id": "GatewayAdvertisedRoute", + "properties": { + "createTime": { + "description": "Output only. The time the gateway advertised route was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "An optional description of the gateway advertised route.", + "type": "string" + }, + "ipRange": { + "description": "Immutable. This route's advertised IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).", + "type": "object" + }, + "name": { + "description": "Identifier. The name of the gateway advertised route. Route names must be unique and use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke}/gatewayAdvertisedRoutes/{gateway_advertised_route_id}`", + "type": "string" + }, + "priority": { + "description": "Optional. The priority of this advertised route. You can choose a value from `0` to `65335`. If you don't provide a value, Google Cloud assigns a priority of `100` to the ranges.", + "format": "int32", + "type": "integer" + }, + "recipient": { + "description": "Optional. The recipient of this advertised route.", + "enum": [ + "RECIPIENT_UNSPECIFIED", + "ADVERTISE_TO_HUB" + ], + "enumDescriptions": [ + "No recipient specified. By default routes are advertised to the hub.", + "Advertises a route toward the hub. Other spokes reachable from this spoke will receive the route." + ], + "type": "string" + }, + "state": { + "description": "Output only. The current lifecycle state of this gateway advertised route.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "DELETING", + "ACCEPTING", + "REJECTING", + "UPDATING", + "INACTIVE", + "OBSOLETE", + "FAILED" + ], + "enumDescriptions": [ + "No state information available", + "The resource's create operation is in progress.", + "The resource is active", + "The resource's delete operation is in progress.", + "The resource's accept operation is in progress.", + "The resource's reject operation is in progress.", + "The resource's update operation is in progress.", + "The resource is inactive.", + "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", + "The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." + ], + "readOnly": true, + "type": "string" + }, + "uniqueId": { + "description": "Output only. The Google-generated UUID for the gateway advertised route. This value is unique across all gateway advertised route resources. If a gateway advertised route is deleted and another with the same name is created, the new route is assigned a different `unique_id`.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time the gateway advertised route was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleLongrunningCancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "GoogleLongrunningCancelOperationRequest", @@ -4776,12 +5090,14 @@ "enum": [ "PRESET_TOPOLOGY_UNSPECIFIED", "MESH", - "STAR" + "STAR", + "HYBRID_INSPECTION" ], "enumDescriptions": [ "Preset topology is unspecified. When policy_mode = PRESET, it defaults to MESH.", "Mesh topology is implemented. Group `default` is automatically created. All spokes in the hub are added to group `default`.", - "Star topology is implemented. Two groups, `center` and `edge`, are automatically created along with hub creation. Spokes have to join one of the groups during creation." + "Star topology is implemented. Two groups, `center` and `edge`, are automatically created along with hub creation. Spokes have to join one of the groups during creation.", + "Hybrid inspection has 4 groups ('non-prod', 'prod', 'services', and 'untrusted') that are automatically created along with hub creation." ], "type": "string" }, @@ -5010,6 +5326,17 @@ }, "type": "object" }, + "IpRangeReservation": { + "description": "A list of IP ranges that are reserved for this gateway's internal intfrastructure.", + "id": "IpRangeReservation", + "properties": { + "ipRange": { + "description": "Required. A block of IP addresses used to allocate supporting infrastructure for this gateway. This block must not overlap with subnets in any spokes or peer VPC networks that the gateway can communicate with. Example: \"10.1.2.0/24\"", + "type": "string" + } + }, + "type": "object" + }, "LinkedInterconnectAttachments": { "description": "A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.", "id": "LinkedInterconnectAttachments", @@ -5316,6 +5643,31 @@ }, "type": "object" }, + "ListGatewayAdvertisedRoutesResponse": { + "description": "Response for HubService.ListGatewayAdvertisedRoutes method.", + "id": "ListGatewayAdvertisedRoutesResponse", + "properties": { + "gatewayAdvertisedRoutes": { + "description": "The requested gateway advertised routes.", + "items": { + "$ref": "GatewayAdvertisedRoute" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.", + "type": "string" + }, + "unreachable": { + "description": "Hubs that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ListGroupsResponse": { "description": "Response for HubService.ListGroups method.", "id": "ListGroupsResponse", @@ -7198,6 +7550,10 @@ }, "type": "array" }, + "gateway": { + "$ref": "Gateway", + "description": "Optional. This is a gateway that can apply specialized processing to traffic going through it." + }, "group": { "description": "Optional. The name of the group that this spoke is associated with.", "type": "string" @@ -7253,6 +7609,7 @@ "INTERCONNECT_ATTACHMENT", "ROUTER_APPLIANCE", "VPC_NETWORK", + "GATEWAY", "PRODUCER_VPC_NETWORK" ], "enumDescriptions": [ @@ -7261,6 +7618,7 @@ "Spokes associated with VLAN attachments.", "Spokes associated with router appliance instances.", "Spokes associated with VPC networks.", + "Spokes that are NCC gateways.", "Spokes that are backed by a producer VPC network." ], "readOnly": true, @@ -7438,6 +7796,7 @@ "INTERCONNECT_ATTACHMENT", "ROUTER_APPLIANCE", "VPC_NETWORK", + "GATEWAY", "PRODUCER_VPC_NETWORK" ], "enumDescriptions": [ @@ -7446,6 +7805,7 @@ "Spokes associated with VLAN attachments.", "Spokes associated with router appliance instances.", "Spokes associated with VPC networks.", + "Spokes that are NCC gateways.", "Spokes that are backed by a producer VPC network." ], "readOnly": true, diff --git a/src/apis/networkconnectivity/v1.ts b/src/apis/networkconnectivity/v1.ts index a32449cecc..f9ffc8c0d0 100644 --- a/src/apis/networkconnectivity/v1.ts +++ b/src/apis/networkconnectivity/v1.ts @@ -629,6 +629,72 @@ export namespace networkconnectivity_v1 { */ srcRange?: string | null; } + /** + * A gateway that can apply specialized traffic processing. + */ + export interface Schema$Gateway { + /** + * Optional. The aggregate processing capacity of this gateway. + */ + capacity?: string | null; + /** + * Output only. The list of Cloud Routers that are connected to this gateway. Should be in the form: https://www.googleapis.com/compute/v1/projects/{project\}/regions/{region\}/routers/{router\} + */ + cloudRouters?: string[] | null; + /** + * Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure. + */ + ipRangeReservations?: Schema$IpRangeReservation[]; + /** + * Output only. The URI of the connected SACAttachment. Should be in the form: projects/{project\}/locations/{location\}/sacAttachments/{sac_attachment\} + */ + sacAttachment?: string | null; + } + /** + * A gateway advertised route is a route that a gateway spoke advertises somewhere. + */ + export interface Schema$GatewayAdvertisedRoute { + /** + * Output only. The time the gateway advertised route was created. + */ + createTime?: string | null; + /** + * An optional description of the gateway advertised route. + */ + description?: string | null; + /** + * Immutable. This route's advertised IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`. + */ + ipRange?: string | null; + /** + * Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. The name of the gateway advertised route. Route names must be unique and use the following form: `projects/{project_number\}/locations/{region\}/spokes/{spoke\}/gatewayAdvertisedRoutes/{gateway_advertised_route_id\}` + */ + name?: string | null; + /** + * Optional. The priority of this advertised route. You can choose a value from `0` to `65335`. If you don't provide a value, Google Cloud assigns a priority of `100` to the ranges. + */ + priority?: number | null; + /** + * Optional. The recipient of this advertised route. + */ + recipient?: string | null; + /** + * Output only. The current lifecycle state of this gateway advertised route. + */ + state?: string | null; + /** + * Output only. The Google-generated UUID for the gateway advertised route. This value is unique across all gateway advertised route resources. If a gateway advertised route is deleted and another with the same name is created, the new route is assigned a different `unique_id`. + */ + uniqueId?: string | null; + /** + * Output only. The time the gateway advertised route was last updated. + */ + updateTime?: string | null; + } /** * The request message for Operations.CancelOperation. */ @@ -906,6 +972,15 @@ export namespace networkconnectivity_v1 { */ users?: string[] | null; } + /** + * A list of IP ranges that are reserved for this gateway's internal intfrastructure. + */ + export interface Schema$IpRangeReservation { + /** + * Required. A block of IP addresses used to allocate supporting infrastructure for this gateway. This block must not overlap with subnets in any spokes or peer VPC networks that the gateway can communicate with. Example: "10.1.2.0/24" + */ + ipRange?: string | null; + } /** * A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. */ @@ -1102,6 +1177,23 @@ export namespace networkconnectivity_v1 { */ unreachable?: string[] | null; } + /** + * Response for HubService.ListGatewayAdvertisedRoutes method. + */ + export interface Schema$ListGatewayAdvertisedRoutesResponse { + /** + * The requested gateway advertised routes. + */ + gatewayAdvertisedRoutes?: Schema$GatewayAdvertisedRoute[]; + /** + * The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results. + */ + nextPageToken?: string | null; + /** + * Hubs that could not be reached. + */ + unreachable?: string[] | null; + } /** * Response for HubService.ListGroups method. */ @@ -2339,6 +2431,10 @@ export namespace networkconnectivity_v1 { * Optional. The list of fields waiting for hub administrator's approval. */ fieldPathsPendingUpdate?: string[] | null; + /** + * Optional. This is a gateway that can apply specialized processing to traffic going through it. + */ + gateway?: Schema$Gateway; /** * Optional. The name of the group that this spoke is associated with. */ @@ -17468,8 +17564,13 @@ export namespace networkconnectivity_v1 { export class Resource$Projects$Locations$Spokes { context: APIRequestContext; + gatewayAdvertisedRoutes: Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes; constructor(context: APIRequestContext) { this.context = context; + this.gatewayAdvertisedRoutes = + new Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes( + this.context + ); } /** @@ -17518,6 +17619,7 @@ export namespace networkconnectivity_v1 { * // "description": "my_description", * // "etag": "my_etag", * // "fieldPathsPendingUpdate": [], + * // "gateway": {}, * // "group": "my_group", * // "hub": "my_hub", * // "labels": {}, @@ -17834,6 +17936,7 @@ export namespace networkconnectivity_v1 { * // "description": "my_description", * // "etag": "my_etag", * // "fieldPathsPendingUpdate": [], + * // "gateway": {}, * // "group": "my_group", * // "hub": "my_hub", * // "labels": {}, @@ -18281,6 +18384,7 @@ export namespace networkconnectivity_v1 { * // "description": "my_description", * // "etag": "my_etag", * // "fieldPathsPendingUpdate": [], + * // "gateway": {}, * // "group": "my_group", * // "hub": "my_hub", * // "labels": {}, @@ -18819,6 +18923,890 @@ export namespace networkconnectivity_v1 { requestBody?: Schema$TestIamPermissionsRequest; } + export class Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Create a GatewayAdvertisedRoute + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkconnectivity = google.networkconnectivity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkconnectivity.projects.locations.spokes.gatewayAdvertisedRoutes.create( + * { + * // Required. Unique id for the route to create. + * gatewayAdvertisedRouteId: 'placeholder-value', + * // Required. The parent resource. + * parent: 'projects/my-project/locations/my-location/spokes/my-spoke', + * // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "ipRange": "my_ipRange", + * // "labels": {}, + * // "name": "my_name", + * // "priority": 0, + * // "recipient": "my_recipient", + * // "state": "my_state", + * // "uniqueId": "my_uniqueId", + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkconnectivity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/gatewayAdvertisedRoutes').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Delete a GatewayAdvertisedRoute + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkconnectivity = google.networkconnectivity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkconnectivity.projects.locations.spokes.gatewayAdvertisedRoutes.delete( + * { + * // Required. The name of the gateway advertised route to delete. + * name: 'projects/my-project/locations/my-location/spokes/my-spoke/gatewayAdvertisedRoutes/my-gatewayAdvertisedRoute', + * // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Spokes$Gatewayadvertisedroutes$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Delete, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Delete, + callback: BodyResponseCallback + ): void; + delete( + callback: BodyResponseCallback + ): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkconnectivity.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); + } + } + + /** + * Get a GatewayAdvertisedRoute + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkconnectivity = google.networkconnectivity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkconnectivity.projects.locations.spokes.gatewayAdvertisedRoutes.get( + * { + * // Required. The name of the gateway advertised route to get. + * name: 'projects/my-project/locations/my-location/spokes/my-spoke/gatewayAdvertisedRoutes/my-gatewayAdvertisedRoute', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "ipRange": "my_ipRange", + * // "labels": {}, + * // "name": "my_name", + * // "priority": 0, + * // "recipient": "my_recipient", + * // "state": "my_state", + * // "uniqueId": "my_uniqueId", + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Spokes$Gatewayadvertisedroutes$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkconnectivity.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); + } + } + + /** + * List GatewayAdvertisedRoutes + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkconnectivity = google.networkconnectivity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkconnectivity.projects.locations.spokes.gatewayAdvertisedRoutes.list( + * { + * // An expression that filters the list of results. + * filter: 'placeholder-value', + * // Sort the results by a certain order. + * orderBy: 'placeholder-value', + * // Optional. The maximum number of results per page that should be returned. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListGatewayAdvertisedRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGatewayAdvertisedRoutes` must match the call that provided the page token. + * pageToken: 'placeholder-value', + * // Required. The parent resource's name. + * parent: 'projects/my-project/locations/my-location/spokes/my-spoke', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "gatewayAdvertisedRoutes": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Spokes$Gatewayadvertisedroutes$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkconnectivity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/gatewayAdvertisedRoutes').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 + ); + } + } + + /** + * Update a GatewayAdvertisedRoute + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkconnectivity = google.networkconnectivity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkconnectivity.projects.locations.spokes.gatewayAdvertisedRoutes.patch( + * { + * // Identifier. The name of the gateway advertised route. Route names must be unique and use the following form: `projects/{project_number\}/locations/{region\}/spokes/{spoke\}/gatewayAdvertisedRoutes/{gateway_advertised_route_id\}` + * name: 'projects/my-project/locations/my-location/spokes/my-spoke/gatewayAdvertisedRoutes/my-gatewayAdvertisedRoute', + * // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. In the case of an update to an existing group, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "ipRange": "my_ipRange", + * // "labels": {}, + * // "name": "my_name", + * // "priority": 0, + * // "recipient": "my_recipient", + * // "state": "my_state", + * // "uniqueId": "my_uniqueId", + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkconnectivity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Create extends StandardParameters { + /** + * Required. Unique id for the route to create. + */ + gatewayAdvertisedRouteId?: string; + /** + * Required. The parent resource. + */ + parent?: string; + /** + * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GatewayAdvertisedRoute; + } + export interface Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Delete extends StandardParameters { + /** + * Required. The name of the gateway advertised route to delete. + */ + name?: string; + /** + * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Get extends StandardParameters { + /** + * Required. The name of the gateway advertised route to get. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$List extends StandardParameters { + /** + * An expression that filters the list of results. + */ + filter?: string; + /** + * Sort the results by a certain order. + */ + orderBy?: string; + /** + * Optional. The maximum number of results per page that should be returned. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListGatewayAdvertisedRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGatewayAdvertisedRoutes` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent resource's name. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Spokes$Gatewayadvertisedroutes$Patch extends StandardParameters { + /** + * Identifier. The name of the gateway advertised route. Route names must be unique and use the following form: `projects/{project_number\}/locations/{region\}/spokes/{spoke\}/gatewayAdvertisedRoutes/{gateway_advertised_route_id\}` + */ + name?: string; + /** + * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. In the case of an update to an existing group, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GatewayAdvertisedRoute; + } + export class Resource$Projects$Locations$Transports { context: APIRequestContext; constructor(context: APIRequestContext) { From 8462f71f4b4acdaaabd50c5f54e39f07404fb7bb Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 51/69] feat(networkmanagement): update the API #### networkmanagement:v1beta1 The following keys were added: - schemas.Endpoint.properties.cloudRunJob.description - schemas.Endpoint.properties.cloudRunJob.type The following keys were changed: - schemas.DeliverInfo.properties.target.enum - schemas.DeliverInfo.properties.target.enumDescriptions - schemas.DropInfo.properties.cause.enum - schemas.DropInfo.properties.cause.enumDescriptions #### networkmanagement:v1 The following keys were added: - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.id - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.parameters.networkMonitoringProviderId.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.parameters.networkMonitoringProviderId.location - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.parameters.networkMonitoringProviderId.type - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.parameters.parent.location - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.parameters.parent.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.parameters.parent.required - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.parameters.parent.type - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.path - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.request.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.create.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.id - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.parameters.force.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.parameters.force.location - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.parameters.force.type - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.path - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.delete.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.id - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.parameters.name.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.parameters.name.location - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.parameters.name.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.parameters.name.required - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.parameters.name.type - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.path - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateMonitoringPointConfig.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.id - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.parameters.gcpAccessToken.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.parameters.gcpAccessToken.location - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.parameters.gcpAccessToken.type - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.parameters.name.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.parameters.name.location - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.parameters.name.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.parameters.name.required - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.parameters.name.type - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.path - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.generateProviderAccessToken.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.id - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.parameters.name.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.parameters.name.location - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.parameters.name.required - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.parameters.name.type - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.path - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.get.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.id - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.path - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.methods.list.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.id - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters._password.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters._password.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters._password.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.hostname.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.hostname.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.hostname.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.monitoringPointType.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.monitoringPointType.enum - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.monitoringPointType.enumDescriptions - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.monitoringPointType.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.monitoringPointType.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.ntpServerAddress.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.ntpServerAddress.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.ntpServerAddress.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.ntpServerSecondaryAddress.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.ntpServerSecondaryAddress.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.ntpServerSecondaryAddress.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.parent.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.parent.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.parent.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.parent.required - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.parent.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.dnsServerAddress.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.dnsServerAddress.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.dnsServerAddress.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.dnsServerSecondaryAddress.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.dnsServerSecondaryAddress.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.dnsServerSecondaryAddress.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.domain.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.domain.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.domain.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.gatewayAddress.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.gatewayAddress.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.gatewayAddress.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.ipAddress.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.ipAddress.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.ipAddress.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.netmask.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.netmask.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.staticIpAddress.netmask.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.timeZone.id.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.timeZone.id.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.timeZone.id.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.timeZone.version.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.timeZone.version.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.timeZone.version.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.useDhcp.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.useDhcp.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.parameters.useDhcp.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.path - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadInstallScript.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.id - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.parameters.hostname.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.parameters.hostname.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.parameters.hostname.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.parameters.name.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.parameters.name.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.parameters.name.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.parameters.name.required - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.parameters.name.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.path - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadRecreateInstallScript.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.id - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.parameters.parent.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.parameters.parent.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.parameters.parent.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.parameters.parent.required - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.parameters.parent.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.path - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.downloadServerConnectConfig.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.id - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.parameters.name.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.parameters.name.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.parameters.name.required - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.parameters.name.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.path - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.get.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.id - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.path - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.monitoringPoints.methods.list.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.id - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.parameters.name.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.parameters.name.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.parameters.name.required - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.parameters.name.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.path - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.get.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.id - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.path - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.networkPaths.methods.list.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.id - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.parameters.name.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.parameters.name.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.parameters.name.required - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.parameters.name.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.path - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.get.scopes - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.flatPath - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.httpMethod - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.id - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameterOrder - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.path - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.response.$ref - resources.projects.resources.locations.resources.networkMonitoringProviders.resources.webPaths.methods.list.scopes - schemas.GenerateMonitoringPointConfigResponse.description - schemas.GenerateMonitoringPointConfigResponse.id - schemas.GenerateMonitoringPointConfigResponse.properties.config.additionalProperties.description - schemas.GenerateMonitoringPointConfigResponse.properties.config.additionalProperties.type - schemas.GenerateMonitoringPointConfigResponse.properties.config.description - schemas.GenerateMonitoringPointConfigResponse.properties.config.type - schemas.GenerateMonitoringPointConfigResponse.type - schemas.GenerateProviderAccessTokenResponse.description - schemas.GenerateProviderAccessTokenResponse.id - schemas.GenerateProviderAccessTokenResponse.properties.providerAccessToken.description - schemas.GenerateProviderAccessTokenResponse.properties.providerAccessToken.type - schemas.GenerateProviderAccessTokenResponse.type - schemas.GeoLocation.description - schemas.GeoLocation.id - schemas.GeoLocation.properties.formattedAddress.description - schemas.GeoLocation.properties.formattedAddress.type - schemas.GeoLocation.properties.regionCode.description - schemas.GeoLocation.properties.regionCode.type - schemas.GeoLocation.type - schemas.Host.description - schemas.Host.id - schemas.Host.properties.cloudInstanceId.description - schemas.Host.properties.cloudInstanceId.readOnly - schemas.Host.properties.cloudInstanceId.type - schemas.Host.properties.cloudProjectId.description - schemas.Host.properties.cloudProjectId.readOnly - schemas.Host.properties.cloudProjectId.type - schemas.Host.properties.cloudProvider.description - schemas.Host.properties.cloudProvider.readOnly - schemas.Host.properties.cloudProvider.type - schemas.Host.properties.cloudRegion.description - schemas.Host.properties.cloudRegion.readOnly - schemas.Host.properties.cloudRegion.type - schemas.Host.properties.cloudVirtualNetworkIds.description - schemas.Host.properties.cloudVirtualNetworkIds.items.type - schemas.Host.properties.cloudVirtualNetworkIds.readOnly - schemas.Host.properties.cloudVirtualNetworkIds.type - schemas.Host.properties.cloudZone.description - schemas.Host.properties.cloudZone.readOnly - schemas.Host.properties.cloudZone.type - schemas.Host.properties.os.description - schemas.Host.properties.os.readOnly - schemas.Host.properties.os.type - schemas.Host.type - schemas.HttpBody.description - schemas.HttpBody.id - schemas.HttpBody.properties.contentType.description - schemas.HttpBody.properties.contentType.type - schemas.HttpBody.properties.data.description - schemas.HttpBody.properties.data.format - schemas.HttpBody.properties.data.type - schemas.HttpBody.properties.extensions.description - schemas.HttpBody.properties.extensions.items.additionalProperties.description - schemas.HttpBody.properties.extensions.items.additionalProperties.type - schemas.HttpBody.properties.extensions.items.type - schemas.HttpBody.properties.extensions.type - schemas.HttpBody.type - schemas.ListMonitoringPointsResponse.description - schemas.ListMonitoringPointsResponse.id - schemas.ListMonitoringPointsResponse.properties.monitoringPoints.description - schemas.ListMonitoringPointsResponse.properties.monitoringPoints.items.$ref - schemas.ListMonitoringPointsResponse.properties.monitoringPoints.type - schemas.ListMonitoringPointsResponse.properties.nextPageToken.description - schemas.ListMonitoringPointsResponse.properties.nextPageToken.type - schemas.ListMonitoringPointsResponse.type - schemas.ListNetworkMonitoringProvidersResponse.description - schemas.ListNetworkMonitoringProvidersResponse.id - schemas.ListNetworkMonitoringProvidersResponse.properties.networkMonitoringProviders.description - schemas.ListNetworkMonitoringProvidersResponse.properties.networkMonitoringProviders.items.$ref - schemas.ListNetworkMonitoringProvidersResponse.properties.networkMonitoringProviders.type - schemas.ListNetworkMonitoringProvidersResponse.properties.nextPageToken.description - schemas.ListNetworkMonitoringProvidersResponse.properties.nextPageToken.type - schemas.ListNetworkMonitoringProvidersResponse.type - schemas.ListNetworkPathsResponse.description - schemas.ListNetworkPathsResponse.id - schemas.ListNetworkPathsResponse.properties.networkPaths.description - schemas.ListNetworkPathsResponse.properties.networkPaths.items.$ref - schemas.ListNetworkPathsResponse.properties.networkPaths.type - schemas.ListNetworkPathsResponse.properties.nextPageToken.description - schemas.ListNetworkPathsResponse.properties.nextPageToken.type - schemas.ListNetworkPathsResponse.type - schemas.ListWebPathsResponse.description - schemas.ListWebPathsResponse.id - schemas.ListWebPathsResponse.properties.nextPageToken.description - schemas.ListWebPathsResponse.properties.nextPageToken.type - schemas.ListWebPathsResponse.properties.webPaths.description - schemas.ListWebPathsResponse.properties.webPaths.items.$ref - schemas.ListWebPathsResponse.properties.webPaths.type - schemas.ListWebPathsResponse.type - schemas.MonitoringPoint.description - schemas.MonitoringPoint.id - schemas.MonitoringPoint.properties.autoGeoLocationEnabled.description - schemas.MonitoringPoint.properties.autoGeoLocationEnabled.readOnly - schemas.MonitoringPoint.properties.autoGeoLocationEnabled.type - schemas.MonitoringPoint.properties.connectionStatus.description - schemas.MonitoringPoint.properties.connectionStatus.enum - schemas.MonitoringPoint.properties.connectionStatus.enumDescriptions - schemas.MonitoringPoint.properties.connectionStatus.readOnly - schemas.MonitoringPoint.properties.connectionStatus.type - schemas.MonitoringPoint.properties.createTime.description - schemas.MonitoringPoint.properties.createTime.format - schemas.MonitoringPoint.properties.createTime.readOnly - schemas.MonitoringPoint.properties.createTime.type - schemas.MonitoringPoint.properties.deploymentType.description - schemas.MonitoringPoint.properties.deploymentType.enum - schemas.MonitoringPoint.properties.deploymentType.enumDescriptions - schemas.MonitoringPoint.properties.deploymentType.readOnly - schemas.MonitoringPoint.properties.deploymentType.type - schemas.MonitoringPoint.properties.displayName.description - schemas.MonitoringPoint.properties.displayName.readOnly - schemas.MonitoringPoint.properties.displayName.type - schemas.MonitoringPoint.properties.errors.description - schemas.MonitoringPoint.properties.errors.items.enum - schemas.MonitoringPoint.properties.errors.items.enumDescriptions - schemas.MonitoringPoint.properties.errors.items.type - schemas.MonitoringPoint.properties.errors.readOnly - schemas.MonitoringPoint.properties.errors.type - schemas.MonitoringPoint.properties.geoLocation.$ref - schemas.MonitoringPoint.properties.geoLocation.description - schemas.MonitoringPoint.properties.geoLocation.readOnly - schemas.MonitoringPoint.properties.guid.description - schemas.MonitoringPoint.properties.guid.readOnly - schemas.MonitoringPoint.properties.guid.type - schemas.MonitoringPoint.properties.host.$ref - schemas.MonitoringPoint.properties.host.description - schemas.MonitoringPoint.properties.host.readOnly - schemas.MonitoringPoint.properties.hostname.description - schemas.MonitoringPoint.properties.hostname.readOnly - schemas.MonitoringPoint.properties.hostname.type - schemas.MonitoringPoint.properties.name.description - schemas.MonitoringPoint.properties.name.type - schemas.MonitoringPoint.properties.networkInterfaces.description - schemas.MonitoringPoint.properties.networkInterfaces.items.$ref - schemas.MonitoringPoint.properties.networkInterfaces.readOnly - schemas.MonitoringPoint.properties.networkInterfaces.type - schemas.MonitoringPoint.properties.originatingIp.description - schemas.MonitoringPoint.properties.originatingIp.readOnly - schemas.MonitoringPoint.properties.originatingIp.type - schemas.MonitoringPoint.properties.providerTags.description - schemas.MonitoringPoint.properties.providerTags.items.$ref - schemas.MonitoringPoint.properties.providerTags.readOnly - schemas.MonitoringPoint.properties.providerTags.type - schemas.MonitoringPoint.properties.type.description - schemas.MonitoringPoint.properties.type.readOnly - schemas.MonitoringPoint.properties.type.type - schemas.MonitoringPoint.properties.updateTime.description - schemas.MonitoringPoint.properties.updateTime.format - schemas.MonitoringPoint.properties.updateTime.readOnly - schemas.MonitoringPoint.properties.updateTime.type - schemas.MonitoringPoint.properties.upgradeAvailable.description - schemas.MonitoringPoint.properties.upgradeAvailable.readOnly - schemas.MonitoringPoint.properties.upgradeAvailable.type - schemas.MonitoringPoint.properties.upgradeType.description - schemas.MonitoringPoint.properties.upgradeType.enum - schemas.MonitoringPoint.properties.upgradeType.enumDescriptions - schemas.MonitoringPoint.properties.upgradeType.readOnly - schemas.MonitoringPoint.properties.upgradeType.type - schemas.MonitoringPoint.properties.version.description - schemas.MonitoringPoint.properties.version.readOnly - schemas.MonitoringPoint.properties.version.type - schemas.MonitoringPoint.type - schemas.NetworkInterface.description - schemas.NetworkInterface.id - schemas.NetworkInterface.properties.adapterDescription.description - schemas.NetworkInterface.properties.adapterDescription.readOnly - schemas.NetworkInterface.properties.adapterDescription.type - schemas.NetworkInterface.properties.cidr.description - schemas.NetworkInterface.properties.cidr.readOnly - schemas.NetworkInterface.properties.cidr.type - schemas.NetworkInterface.properties.interfaceName.description - schemas.NetworkInterface.properties.interfaceName.readOnly - schemas.NetworkInterface.properties.interfaceName.type - schemas.NetworkInterface.properties.ipAddress.description - schemas.NetworkInterface.properties.ipAddress.readOnly - schemas.NetworkInterface.properties.ipAddress.type - schemas.NetworkInterface.properties.macAddress.description - schemas.NetworkInterface.properties.macAddress.readOnly - schemas.NetworkInterface.properties.macAddress.type - schemas.NetworkInterface.properties.speed.description - schemas.NetworkInterface.properties.speed.format - schemas.NetworkInterface.properties.speed.readOnly - schemas.NetworkInterface.properties.speed.type - schemas.NetworkInterface.properties.vlanId.description - schemas.NetworkInterface.properties.vlanId.format - schemas.NetworkInterface.properties.vlanId.readOnly - schemas.NetworkInterface.properties.vlanId.type - schemas.NetworkInterface.type - schemas.NetworkMonitoringProvider.description - schemas.NetworkMonitoringProvider.id - schemas.NetworkMonitoringProvider.properties.createTime.description - schemas.NetworkMonitoringProvider.properties.createTime.format - schemas.NetworkMonitoringProvider.properties.createTime.readOnly - schemas.NetworkMonitoringProvider.properties.createTime.type - schemas.NetworkMonitoringProvider.properties.errors.description - schemas.NetworkMonitoringProvider.properties.errors.items.type - schemas.NetworkMonitoringProvider.properties.errors.readOnly - schemas.NetworkMonitoringProvider.properties.errors.type - schemas.NetworkMonitoringProvider.properties.name.description - schemas.NetworkMonitoringProvider.properties.name.readOnly - schemas.NetworkMonitoringProvider.properties.name.type - schemas.NetworkMonitoringProvider.properties.providerType.description - schemas.NetworkMonitoringProvider.properties.providerType.enum - schemas.NetworkMonitoringProvider.properties.providerType.enumDescriptions - schemas.NetworkMonitoringProvider.properties.providerType.type - schemas.NetworkMonitoringProvider.properties.providerUri.description - schemas.NetworkMonitoringProvider.properties.providerUri.readOnly - schemas.NetworkMonitoringProvider.properties.providerUri.type - schemas.NetworkMonitoringProvider.properties.state.description - schemas.NetworkMonitoringProvider.properties.state.enum - schemas.NetworkMonitoringProvider.properties.state.enumDescriptions - schemas.NetworkMonitoringProvider.properties.state.readOnly - schemas.NetworkMonitoringProvider.properties.state.type - schemas.NetworkMonitoringProvider.properties.updateTime.description - schemas.NetworkMonitoringProvider.properties.updateTime.format - schemas.NetworkMonitoringProvider.properties.updateTime.readOnly - schemas.NetworkMonitoringProvider.properties.updateTime.type - schemas.NetworkMonitoringProvider.type - schemas.NetworkPath.description - schemas.NetworkPath.id - schemas.NetworkPath.properties.createTime.description - schemas.NetworkPath.properties.createTime.format - schemas.NetworkPath.properties.createTime.readOnly - schemas.NetworkPath.properties.createTime.type - schemas.NetworkPath.properties.destination.description - schemas.NetworkPath.properties.destination.readOnly - schemas.NetworkPath.properties.destination.type - schemas.NetworkPath.properties.destinationGeoLocation.$ref - schemas.NetworkPath.properties.destinationGeoLocation.description - schemas.NetworkPath.properties.destinationGeoLocation.readOnly - schemas.NetworkPath.properties.destinationMonitoringPointId.description - schemas.NetworkPath.properties.destinationMonitoringPointId.readOnly - schemas.NetworkPath.properties.destinationMonitoringPointId.type - schemas.NetworkPath.properties.displayName.description - schemas.NetworkPath.properties.displayName.readOnly - schemas.NetworkPath.properties.displayName.type - schemas.NetworkPath.properties.dualEnded.description - schemas.NetworkPath.properties.dualEnded.readOnly - schemas.NetworkPath.properties.dualEnded.type - schemas.NetworkPath.properties.monitoringEnabled.description - schemas.NetworkPath.properties.monitoringEnabled.readOnly - schemas.NetworkPath.properties.monitoringEnabled.type - schemas.NetworkPath.properties.monitoringPolicyDisplayName.description - schemas.NetworkPath.properties.monitoringPolicyDisplayName.readOnly - schemas.NetworkPath.properties.monitoringPolicyDisplayName.type - schemas.NetworkPath.properties.monitoringPolicyId.description - schemas.NetworkPath.properties.monitoringPolicyId.readOnly - schemas.NetworkPath.properties.monitoringPolicyId.type - schemas.NetworkPath.properties.monitoringStatus.description - schemas.NetworkPath.properties.monitoringStatus.enum - schemas.NetworkPath.properties.monitoringStatus.enumDescriptions - schemas.NetworkPath.properties.monitoringStatus.readOnly - schemas.NetworkPath.properties.monitoringStatus.type - schemas.NetworkPath.properties.name.description - schemas.NetworkPath.properties.name.type - schemas.NetworkPath.properties.networkProtocol.description - schemas.NetworkPath.properties.networkProtocol.enum - schemas.NetworkPath.properties.networkProtocol.enumDescriptions - schemas.NetworkPath.properties.networkProtocol.readOnly - schemas.NetworkPath.properties.networkProtocol.type - schemas.NetworkPath.properties.providerTags.description - schemas.NetworkPath.properties.providerTags.items.$ref - schemas.NetworkPath.properties.providerTags.readOnly - schemas.NetworkPath.properties.providerTags.type - schemas.NetworkPath.properties.providerUiUri.description - schemas.NetworkPath.properties.providerUiUri.readOnly - schemas.NetworkPath.properties.providerUiUri.type - schemas.NetworkPath.properties.sourceMonitoringPointId.description - schemas.NetworkPath.properties.sourceMonitoringPointId.readOnly - schemas.NetworkPath.properties.sourceMonitoringPointId.type - schemas.NetworkPath.properties.updateTime.description - schemas.NetworkPath.properties.updateTime.format - schemas.NetworkPath.properties.updateTime.readOnly - schemas.NetworkPath.properties.updateTime.type - schemas.NetworkPath.type - schemas.ProviderTag.description - schemas.ProviderTag.id - schemas.ProviderTag.properties.category.description - schemas.ProviderTag.properties.category.readOnly - schemas.ProviderTag.properties.category.type - schemas.ProviderTag.properties.resourceType.description - schemas.ProviderTag.properties.resourceType.enum - schemas.ProviderTag.properties.resourceType.enumDescriptions - schemas.ProviderTag.properties.resourceType.readOnly - schemas.ProviderTag.properties.resourceType.type - schemas.ProviderTag.properties.value.description - schemas.ProviderTag.properties.value.readOnly - schemas.ProviderTag.properties.value.type - schemas.ProviderTag.type - schemas.WebPath.description - schemas.WebPath.id - schemas.WebPath.properties.createTime.description - schemas.WebPath.properties.createTime.format - schemas.WebPath.properties.createTime.readOnly - schemas.WebPath.properties.createTime.type - schemas.WebPath.properties.destination.description - schemas.WebPath.properties.destination.readOnly - schemas.WebPath.properties.destination.type - schemas.WebPath.properties.destinationGeoLocation.$ref - schemas.WebPath.properties.destinationGeoLocation.description - schemas.WebPath.properties.destinationGeoLocation.readOnly - schemas.WebPath.properties.displayName.description - schemas.WebPath.properties.displayName.readOnly - schemas.WebPath.properties.displayName.type - schemas.WebPath.properties.interval.description - schemas.WebPath.properties.interval.format - schemas.WebPath.properties.interval.readOnly - schemas.WebPath.properties.interval.type - schemas.WebPath.properties.monitoringEnabled.description - schemas.WebPath.properties.monitoringEnabled.readOnly - schemas.WebPath.properties.monitoringEnabled.type - schemas.WebPath.properties.monitoringPolicyDisplayName.description - schemas.WebPath.properties.monitoringPolicyDisplayName.readOnly - schemas.WebPath.properties.monitoringPolicyDisplayName.type - schemas.WebPath.properties.monitoringPolicyId.description - schemas.WebPath.properties.monitoringPolicyId.readOnly - schemas.WebPath.properties.monitoringPolicyId.type - schemas.WebPath.properties.monitoringStatus.description - schemas.WebPath.properties.monitoringStatus.enum - schemas.WebPath.properties.monitoringStatus.enumDescriptions - schemas.WebPath.properties.monitoringStatus.readOnly - schemas.WebPath.properties.monitoringStatus.type - schemas.WebPath.properties.name.description - schemas.WebPath.properties.name.type - schemas.WebPath.properties.providerTags.description - schemas.WebPath.properties.providerTags.items.$ref - schemas.WebPath.properties.providerTags.readOnly - schemas.WebPath.properties.providerTags.type - schemas.WebPath.properties.providerUiUri.description - schemas.WebPath.properties.providerUiUri.readOnly - schemas.WebPath.properties.providerUiUri.type - schemas.WebPath.properties.relatedNetworkPathId.description - schemas.WebPath.properties.relatedNetworkPathId.readOnly - schemas.WebPath.properties.relatedNetworkPathId.type - schemas.WebPath.properties.sourceMonitoringPointId.description - schemas.WebPath.properties.sourceMonitoringPointId.readOnly - schemas.WebPath.properties.sourceMonitoringPointId.type - schemas.WebPath.properties.updateTime.description - schemas.WebPath.properties.updateTime.format - schemas.WebPath.properties.updateTime.readOnly - schemas.WebPath.properties.updateTime.type - schemas.WebPath.properties.workflowType.description - schemas.WebPath.properties.workflowType.enum - schemas.WebPath.properties.workflowType.enumDescriptions - schemas.WebPath.properties.workflowType.readOnly - schemas.WebPath.properties.workflowType.type - schemas.WebPath.type The following keys were changed: - schemas.DeliverInfo.properties.target.enum - schemas.DeliverInfo.properties.target.enumDescriptions - schemas.DropInfo.properties.cause.enum - schemas.DropInfo.properties.cause.enumDescriptions --- discovery/networkmanagement-v1.json | 1324 +++++++++- discovery/networkmanagement-v1beta1.json | 20 +- src/apis/networkmanagement/v1.ts | 2985 ++++++++++++++++++++++ src/apis/networkmanagement/v1beta1.ts | 4 + 4 files changed, 4314 insertions(+), 19 deletions(-) diff --git a/discovery/networkmanagement-v1.json b/discovery/networkmanagement-v1.json index 6beedf19a4..1b6897fbc8 100644 --- a/discovery/networkmanagement-v1.json +++ b/discovery/networkmanagement-v1.json @@ -978,6 +978,552 @@ } } }, + "networkMonitoringProviders": { + "methods": { + "create": { + "description": "Creates a NetworkMonitoringProvider resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders", + "httpMethod": "POST", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "networkMonitoringProviderId": { + "description": "Required. The ID to use for the NetworkMonitoringProvider resource, which will become the final component of the NetworkMonitoringProvider resource's name.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: projects/{project}/locations/{location}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/networkMonitoringProviders", + "request": { + "$ref": "NetworkMonitoringProvider" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a NetworkMonitoringProvider resource and all of its child resources.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}", + "httpMethod": "DELETE", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "Optional. If set to true, any nested MonitoringPoints, NetworkPaths and WebPaths resources from this NetworkMonitoringProvider will also be deleted. Otherwise, the request will only work if there are no nested resources.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "generateMonitoringPointConfig": { + "description": "Generates Monitoring Point configuration of a NetworkMonitoringProvider resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}:generateMonitoringPointConfig", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.generateMonitoringPointConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:generateMonitoringPointConfig", + "response": { + "$ref": "GenerateMonitoringPointConfigResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "generateProviderAccessToken": { + "description": "Generates a provider access token for a given Google access token. Provider access token is a short-lived token that is used to access resources in the provider's platform.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}:generateProviderAccessToken", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.generateProviderAccessToken", + "parameterOrder": [ + "name" + ], + "parameters": { + "gcpAccessToken": { + "description": "Required. Google access token.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:generateProviderAccessToken", + "response": { + "$ref": "GenerateProviderAccessTokenResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the NetworkMonitoringProvider resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "NetworkMonitoringProvider" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists NetworkMonitoringProviders for a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of monitoring points to return. The service may return fewer than this value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMonitoringPoints` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/networkMonitoringProviders", + "response": { + "$ref": "ListNetworkMonitoringProvidersResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "monitoringPoints": { + "methods": { + "downloadInstallScript": { + "description": "Downloads an install script for MonitoringPoints for a given network monitoring provider.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}/monitoringPoints:downloadInstallScript", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.downloadInstallScript", + "parameterOrder": [ + "parent" + ], + "parameters": { + "_password": { + "description": "Optional. Password for logging into the MonitoringPoint.", + "location": "query", + "type": "string" + }, + "hostname": { + "description": "Required. The hostname of the MonitoringPoint, e.g. \"test-vm\"", + "location": "query", + "type": "string" + }, + "monitoringPointType": { + "description": "Required. The type of the monitoring point.", + "enum": [ + "MONITORING_POINT_TYPE_UNSPECIFIED", + "CONTAINER", + "KVM", + "VMWARE", + "HELM", + "GCE_VM" + ], + "enumDescriptions": [ + "This value should not be used.", + "Monitoring Point that runs in a Docker container.", + "Monitoring Point that runs in a Kernel-based Virtual Machine (KVM) hypervisor.", + "Monitoring Point that runs in a VMware hypervisor.", + "Monitoring Point that runs on a K8S Helm.", + "Monitoring Point that runs as a startup script in a Compute Engine VM." + ], + "location": "query", + "type": "string" + }, + "ntpServerAddress": { + "description": "Optional. Network Time Protocol a user can configure. If the user omits the field, the default is either NTP servers provided in the DHCP lease or a set of well-known NTP servers pre-configured on the monitoring point. This field can be an IP address or FQDN.", + "location": "query", + "type": "string" + }, + "ntpServerSecondaryAddress": { + "description": "Optional. Second NTP server.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for DownloadInstallScriptRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$", + "required": true, + "type": "string" + }, + "staticIpAddress.dnsServerAddress": { + "description": "Required. DNS server.", + "location": "query", + "type": "string" + }, + "staticIpAddress.dnsServerSecondaryAddress": { + "description": "Optional. Second DNS server.", + "location": "query", + "type": "string" + }, + "staticIpAddress.domain": { + "description": "Optional. Domain name of the MonitoringPoint.", + "location": "query", + "type": "string" + }, + "staticIpAddress.gatewayAddress": { + "description": "Required. Gateway IP address. Example: \"100.80.40.1\".", + "location": "query", + "type": "string" + }, + "staticIpAddress.ipAddress": { + "description": "Required. IP address of the MonitoringPoint.", + "location": "query", + "type": "string" + }, + "staticIpAddress.netmask": { + "description": "Optional. Networkmask and CIDR range. Example: \"255.255.255.0/24\"", + "location": "query", + "type": "string" + }, + "timeZone.id": { + "description": "IANA Time Zone Database time zone. For example \"America/New_York\".", + "location": "query", + "type": "string" + }, + "timeZone.version": { + "description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", + "location": "query", + "type": "string" + }, + "useDhcp": { + "description": "Optional. Dynamic Host Configuration Protocol, is a network management protocol that automatically assigns IP addresses and other network configuration parameters to devices connecting to a network.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/monitoringPoints:downloadInstallScript", + "response": { + "$ref": "HttpBody" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "downloadRecreateInstallScript": { + "description": "Downloads an install script for a specific Container MonitoringPoint.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}/monitoringPoints/{monitoringPointsId}:downloadRecreateInstallScript", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.downloadRecreateInstallScript", + "parameterOrder": [ + "name" + ], + "parameters": { + "hostname": { + "description": "Optional. The hostname of the MonitoringPoint, e.g. \"test-vm\"", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. Resource name of the MonitoringPoint. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/monitoringPoints/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:downloadRecreateInstallScript", + "response": { + "$ref": "HttpBody" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "downloadServerConnectConfig": { + "description": "Downloads the server connect configuration for a given network monitoring provider.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}/monitoringPoints:downloadServerConnectConfig", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.downloadServerConnectConfig", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Parent value for DownloadServerConnectConfigRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/monitoringPoints:downloadServerConnectConfig", + "response": { + "$ref": "HttpBody" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the MonitoringPoint resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}/monitoringPoints/{monitoringPointsId}", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/monitoringPoints/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "MonitoringPoint" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists MonitoringPoints for a given network monitoring provider.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}/monitoringPoints", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of monitoring points to return. The service may return fewer than this value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMonitoringPoints` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListMonitoringPointsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/monitoringPoints", + "response": { + "$ref": "ListMonitoringPointsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "networkPaths": { + "methods": { + "get": { + "description": "Gets the NetworkPath resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}/networkPaths/{networkPathsId}", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.networkPaths.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/networkPaths/{network_path}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/networkPaths/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "NetworkPath" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists NetworkPaths for a given network monitoring provider.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}/networkPaths", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.networkPaths.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of network paths to return. The service may return fewer than this value. If unspecified, at most 20 network pathswill be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListNetworkPaths` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNetworkPaths` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListNetworkPathsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/networkPaths", + "response": { + "$ref": "ListNetworkPathsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "webPaths": { + "methods": { + "get": { + "description": "Gets the WebPath resource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}/webPaths/{webPathsId}", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.webPaths.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource.. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/webPaths/{web_path}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/webPaths/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "WebPath" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists WebPaths for a given network monitoring provider.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkMonitoringProviders/{networkMonitoringProvidersId}/webPaths", + "httpMethod": "GET", + "id": "networkmanagement.projects.locations.networkMonitoringProviders.webPaths.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of web paths to return. The service may return fewer than this value. If unspecified, at most 20 web paths will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListWebPaths` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWebPaths` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListWebPathsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/webPaths", + "response": { + "$ref": "ListWebPathsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "vpcFlowLogsConfigs": { "methods": { "create": { @@ -1237,7 +1783,7 @@ } } }, - "revision": "20260424", + "revision": "20260513", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1764,7 +2310,9 @@ "GOOGLE_MANAGED_SERVICE", "REDIS_INSTANCE", "REDIS_CLUSTER", - "GKE_POD" + "GKE_POD", + "DMS_PRIVATE_CONNECTION", + "DATASTREAM_PRIVATE_CONNECTION" ], "enumDescriptions": [ "Target not specified.", @@ -1785,7 +2333,9 @@ "Target is a Google-managed service. Used only for return traces.", "Target is a Redis Instance.", "Target is a Redis Cluster.", - "Target is a GKE Pod." + "Target is a GKE Pod.", + "Target is a DMS Private Connection. Used only for return traces.", + "Target is a Datastream Private Connection. Used only for return traces." ], "type": "string" } @@ -1853,6 +2403,7 @@ "FORWARDING_RULE_MISMATCH", "FORWARDING_RULE_NO_INSTANCES", "FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK", + "FIREWALL_BLOCKING_LOAD_BALANCER_ENVOY_PROXY_HEALTH_CHECK", "INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS", "INSTANCE_NOT_RUNNING", "GKE_CLUSTER_NOT_RUNNING", @@ -1865,6 +2416,8 @@ "CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS", "DROPPED_INSIDE_GKE_SERVICE", "DROPPED_INSIDE_CLOUD_SQL_SERVICE", + "DROPPED_INSIDE_DMS_PRIVATE_CONNECTION", + "DROPPED_INSIDE_DATASTREAM_PRIVATE_CONNECTION", "GOOGLE_MANAGED_SERVICE_NO_PEERING", "GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT", "GKE_PSC_ENDPOINT_MISSING", @@ -1961,6 +2514,7 @@ "Forwarding rule's protocol and ports do not match the packet header.", "Forwarding rule does not have backends configured.", "Firewalls block the health check probes to the backends and cause the backends to be unavailable for traffic from the load balancer. For more details, see [Health check firewall rules](https://cloud.google.com/load-balancing/docs/health-checks#firewall_rules).", + "Firewalls block health check probes to the Envoy proxies that power this load balancer.", "Matching ingress firewall rules by network tags for packets sent via serverless VPC direct egress is unsupported. Behavior is undefined. https://cloud.google.com/run/docs/configuring/vpc-direct-vpc#limitations", "Packet is sent from or to a Compute Engine instance that is not in a running state.", "Packet sent from or to a GKE cluster that is not in running state.", @@ -1973,6 +2527,8 @@ "Access to the Cloud SQL instance endpoint is not authorized. See [Authorizing with authorized networks](https://cloud.google.com/sql/docs/mysql/authorize-networks) for more details.", "Packet was dropped inside Google Kubernetes Engine Service.", "Packet was dropped inside Cloud SQL Service.", + "Packet was dropped inside DMS Private Connection.", + "Packet was dropped inside Datastream Private Connection.", "Packet was dropped because there is no peering between the originating network and the Google Managed Services Network.", "Packet was dropped because the Google-managed service uses Private Service Connect (PSC), but the PSC endpoint is not found in the project.", "Packet was dropped because the GKE cluster uses Private Service Connect (PSC), but the PSC endpoint is not found in the project.", @@ -2662,6 +3218,47 @@ }, "type": "object" }, + "GenerateMonitoringPointConfigResponse": { + "description": "Message for response for getting Monitoring Point configuration of a NetworkMonitoringProvider resource.", + "id": "GenerateMonitoringPointConfigResponse", + "properties": { + "config": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The Monitoring Point configuration of the provider in JSON format.", + "type": "object" + } + }, + "type": "object" + }, + "GenerateProviderAccessTokenResponse": { + "description": "Message for response for generating an access token for a NetworkMonitoringProvider resource.", + "id": "GenerateProviderAccessTokenResponse", + "properties": { + "providerAccessToken": { + "description": "Provider access token for the NetworkMonitoringProvider resource.", + "type": "string" + } + }, + "type": "object" + }, + "GeoLocation": { + "description": "The geographical location of the MonitoringPoint.", + "id": "GeoLocation", + "properties": { + "formattedAddress": { + "description": "Formatted address.", + "type": "string" + }, + "regionCode": { + "description": "Unicode CLDR region code.", + "type": "string" + } + }, + "type": "object" + }, "GkeNetworkPolicyInfo": { "description": "For display only. Metadata associated with a GKE Network Policy.", "id": "GkeNetworkPolicyInfo", @@ -2766,6 +3363,78 @@ }, "type": "object" }, + "Host": { + "description": "Message describing information about the host.", + "id": "Host", + "properties": { + "cloudInstanceId": { + "description": "Output only. The cloud instance id of the host.", + "readOnly": true, + "type": "string" + }, + "cloudProjectId": { + "description": "Output only. The cloud project id of the host.", + "readOnly": true, + "type": "string" + }, + "cloudProvider": { + "description": "Output only. The cloud provider of the host.", + "readOnly": true, + "type": "string" + }, + "cloudRegion": { + "description": "Output only. The cloud region of the host.", + "readOnly": true, + "type": "string" + }, + "cloudVirtualNetworkIds": { + "description": "Output only. The ids of cloud virtual networks of the host.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "cloudZone": { + "description": "Output only. The cloud zone of the host.", + "readOnly": true, + "type": "string" + }, + "os": { + "description": "Output only. The operating system of the host.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "HttpBody": { + "description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", + "id": "HttpBody", + "properties": { + "contentType": { + "description": "The HTTP Content-Type header value specifying the content type of the body.", + "type": "string" + }, + "data": { + "description": "The HTTP request/response body as raw binary.", + "format": "byte", + "type": "string" + }, + "extensions": { + "description": "Application specific response metadata. Must be set in the first response for streaming APIs.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, "HybridSubnetInfo": { "description": "For display only. Metadata associated with a hybrid subnet.", "id": "HybridSubnetInfo", @@ -3009,6 +3678,60 @@ }, "type": "object" }, + "ListMonitoringPointsResponse": { + "description": "Message for response to listing MonitoringPoints", + "id": "ListMonitoringPointsResponse", + "properties": { + "monitoringPoints": { + "description": "The list of MonitoringPoints.", + "items": { + "$ref": "MonitoringPoint" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + } + }, + "type": "object" + }, + "ListNetworkMonitoringProvidersResponse": { + "description": "Message for response to listing NetworkMonitoringProviders", + "id": "ListNetworkMonitoringProvidersResponse", + "properties": { + "networkMonitoringProviders": { + "description": "The list of NetworkMonitoringProvider", + "items": { + "$ref": "NetworkMonitoringProvider" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + } + }, + "type": "object" + }, + "ListNetworkPathsResponse": { + "description": "Message for response to listing NetworkPaths", + "id": "ListNetworkPathsResponse", + "properties": { + "networkPaths": { + "description": "The list of NetworkPath", + "items": { + "$ref": "NetworkPath" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + } + }, + "type": "object" + }, "ListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "ListOperationsResponse", @@ -3059,6 +3782,24 @@ }, "type": "object" }, + "ListWebPathsResponse": { + "description": "Message for response to listing WebPaths", + "id": "ListWebPathsResponse", + "properties": { + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "webPaths": { + "description": "The list of WebPath.", + "items": { + "$ref": "WebPath" + }, + "type": "array" + } + }, + "type": "object" + }, "LoadBalancerBackend": { "description": "For display only. Metadata associated with a specific load balancer backend.", "id": "LoadBalancerBackend", @@ -3235,23 +3976,185 @@ "additionalProperties": { "type": "string" }, - "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", - "type": "object" + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "MonitoringPoint": { + "description": "Message describing MonitoringPoint resource.", + "id": "MonitoringPoint", + "properties": { + "autoGeoLocationEnabled": { + "description": "Output only. Indicates if automaitic geographic location is enabled for the MonitoringPoint.", + "readOnly": true, + "type": "boolean" + }, + "connectionStatus": { + "description": "Output only. Connection status of the MonitoringPoint.", + "enum": [ + "CONNECTION_STATUS_UNSPECIFIED", + "ONLINE", + "OFFLINE" + ], + "enumDescriptions": [ + "The default value. This value is used if the status is omitted.", + "MonitoringPoint is online.", + "MonitoringPoint is offline." + ], + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the MonitoringPoint was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deploymentType": { + "description": "Output only. The deployment type of the MonitoringPoint.", + "enum": [ + "DEPLOYMENT_TYPE_UNSPECIFIED", + "DOCKER", + "PODMAN", + "HELM" + ], + "enumDescriptions": [ + "The default value. This value is used if the type is omitted.", + "The MonitoringPoint is deployed as a Docker container.", + "The MonitoringPoint is deployed as a Podman container.", + "The MonitoringPoint is deployed as a Helm chart." + ], + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Output only. Display name of the MonitoringPoint.", + "readOnly": true, + "type": "string" + }, + "errors": { + "description": "Output only. The codes of errors detected in the MonitoringPoint.", + "items": { + "enum": [ + "ERROR_CODE_UNSPECIFIED", + "NTP_ERROR", + "UPGRADE_ERROR", + "DOWNLOAD_FAILED" + ], + "enumDescriptions": [ + "The default value. This value is used if the error code is omitted.", + "Error detected in NTP service.", + "Error detected during the upgrade process.", + "Error detected while downloading." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "geoLocation": { + "$ref": "GeoLocation", + "description": "Output only. The geographical location of the MonitoringPoint.", + "readOnly": true + }, + "guid": { + "description": "Output only. The GUID of the MonitoringPoint.", + "readOnly": true, + "type": "string" + }, + "host": { + "$ref": "Host", + "description": "Output only. The host information of the MonitoringPoint.", + "readOnly": true + }, + "hostname": { + "description": "Output only. The hostname of the MonitoringPoint.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point}`", + "type": "string" + }, + "networkInterfaces": { + "description": "Output only. The network interfaces of the MonitoringPoint.", + "items": { + "$ref": "NetworkInterface" + }, + "readOnly": true, + "type": "array" + }, + "originatingIp": { + "description": "Output only. IP address visible when MonitoringPoint connects to the provider.", + "readOnly": true, + "type": "string" + }, + "providerTags": { + "description": "Output only. The provider tags of the MonitoringPoint.", + "items": { + "$ref": "ProviderTag" + }, + "readOnly": true, + "type": "array" }, - "locationId": { - "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": { + "description": "Output only. Deployment type of the MonitoringPoint.", + "readOnly": true, "type": "string" }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata. For example the available capacity at the given location.", - "type": "object" + "updateTime": { + "description": "Output only. The time the MonitoringPoint was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" }, - "name": { - "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "upgradeAvailable": { + "description": "Output only. Indicates if an upgrade is available for the MonitoringPoint.", + "readOnly": true, + "type": "boolean" + }, + "upgradeType": { + "description": "Output only. The type of upgrade available for the MonitoringPoint.", + "enum": [ + "UPGRADE_TYPE_UNSPECIFIED", + "MANUAL", + "MANAGED", + "SCHEDULED", + "AUTO", + "EXTERNAL" + ], + "enumDescriptions": [ + "The default value. This value is used if the upgrade type is omitted.", + "Upgrades are performed manually.", + "Upgrades are managed.", + "Upgrade is scheduled.", + "Upgrades are performed automatically.", + "Upgrades are performed externally." + ], + "readOnly": true, + "type": "string" + }, + "version": { + "description": "Output only. Version of the software running on the MonitoringPoint.", + "readOnly": true, "type": "string" } }, @@ -3383,6 +4286,239 @@ }, "type": "object" }, + "NetworkInterface": { + "description": "Message describing network interfaces.", + "id": "NetworkInterface", + "properties": { + "adapterDescription": { + "description": "Output only. The description of the interface.", + "readOnly": true, + "type": "string" + }, + "cidr": { + "description": "Output only. The IP address of the interface and subnet mask in CIDR format. Examples: 192.168.1.0/24, 2001:db8::/32", + "readOnly": true, + "type": "string" + }, + "interfaceName": { + "description": "Output only. The name of the network interface. Examples: eth0, eno1", + "readOnly": true, + "type": "string" + }, + "ipAddress": { + "description": "Output only. The IP address of the interface.", + "readOnly": true, + "type": "string" + }, + "macAddress": { + "description": "Output only. The MAC address of the interface.", + "readOnly": true, + "type": "string" + }, + "speed": { + "description": "Output only. Speed of the interface in millions of bits per second.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "vlanId": { + "description": "Output only. The id of the VLAN.", + "format": "int64", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "NetworkMonitoringProvider": { + "description": "Message describing NetworkMonitoringProvider resource.", + "id": "NetworkMonitoringProvider", + "properties": { + "createTime": { + "description": "Output only. The time the NetworkMonitoringProvider was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "errors": { + "description": "Output only. The list of error messages detected for the NetworkMonitoringProvider.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "name": { + "description": "Output only. Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}`", + "readOnly": true, + "type": "string" + }, + "providerType": { + "description": "Required. Type of the NetworkMonitoringProvider.", + "enum": [ + "PROVIDER_TYPE_UNSPECIFIED", + "EXTERNAL" + ], + "enumDescriptions": [ + "The default value. This value is used if the type is omitted.", + "External provider." + ], + "type": "string" + }, + "providerUri": { + "description": "Output only. Link to the provider's UI.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. State of the NetworkMonitoringProvider.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVATING", + "ACTIVE", + "SUSPENDING", + "SUSPENDED", + "DELETING", + "DELETED" + ], + "enumDescriptions": [ + "The default value. This value is used if the status is omitted.", + "NetworkMonitoringProvider is being activated.", + "NetworkMonitoringProvider is active.", + "NetworkMonitoringProvider is being suspended.", + "NetworkMonitoringProvider is suspended.", + "NetworkMonitoringProvider is being deleted.", + "NetworkMonitoringProvider is deleted." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time the NetworkMonitoringProvider was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "NetworkPath": { + "description": "Message describing NetworkPath resource.", + "id": "NetworkPath", + "properties": { + "createTime": { + "description": "Output only. The time the NetworkPath was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "destination": { + "description": "Output only. IP address or hostname of the network path destination.", + "readOnly": true, + "type": "string" + }, + "destinationGeoLocation": { + "$ref": "GeoLocation", + "description": "Output only. Geographical location of the destination MonitoringPoint.", + "readOnly": true + }, + "destinationMonitoringPointId": { + "description": "Output only. Provider's UUID of the destination MonitoringPoint. This id may not point to a resource in the Google Cloud.", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Output only. The display name of the network path.", + "readOnly": true, + "type": "string" + }, + "dualEnded": { + "description": "Output only. Indicates if the network path is dual ended. When true, the network path is measured both: from both source to destination, and from destination to source. When false, the network path is measured from the source through the destination back to the source (round trip measurement).", + "readOnly": true, + "type": "boolean" + }, + "monitoringEnabled": { + "description": "Output only. Is monitoring enabled for the network path.", + "readOnly": true, + "type": "boolean" + }, + "monitoringPolicyDisplayName": { + "description": "Output only. Display name of the monitoring policy.", + "readOnly": true, + "type": "string" + }, + "monitoringPolicyId": { + "description": "Output only. ID of monitoring policy.", + "readOnly": true, + "type": "string" + }, + "monitoringStatus": { + "description": "Output only. The monitoring status of the network path.", + "enum": [ + "MONITORING_STATUS_UNSPECIFIED", + "MONITORING", + "POLICY_MISMATCH", + "MONITORING_POINT_OFFLINE", + "DISABLED" + ], + "enumDescriptions": [ + "The default value. This value is used if the status is omitted.", + "Monitoring is enabled.", + "Policy is mismatched.", + "Monitoring point is offline.", + "Monitoring is disabled." + ], + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/networkPaths/{network_path}`", + "type": "string" + }, + "networkProtocol": { + "description": "Output only. The network protocol of the network path.", + "enum": [ + "NETWORK_PROTOCOL_UNSPECIFIED", + "ICMP", + "UDP", + "TCP" + ], + "enumDescriptions": [ + "The default value. This value is used if the network protocol is omitted.", + "ICMP.", + "UDP.", + "TCP." + ], + "readOnly": true, + "type": "string" + }, + "providerTags": { + "description": "Output only. The provider tags of the network path.", + "items": { + "$ref": "ProviderTag" + }, + "readOnly": true, + "type": "array" + }, + "providerUiUri": { + "description": "Output only. Link to provider's UI; link shows the NetworkPath.", + "readOnly": true, + "type": "string" + }, + "sourceMonitoringPointId": { + "description": "Output only. Provider's UUID of the source MonitoringPoint. This id may not point to a resource in the Google Cloud.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time the NetworkPath was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "NgfwPacketInspectionInfo": { "description": "For display only. Metadata associated with a layer 7 packet inspection by the firewall.", "id": "NgfwPacketInspectionInfo", @@ -3589,6 +4725,46 @@ }, "type": "object" }, + "ProviderTag": { + "description": "Message describing the provider tag.", + "id": "ProviderTag", + "properties": { + "category": { + "description": "Output only. The category of the provider tag.", + "readOnly": true, + "type": "string" + }, + "resourceType": { + "description": "Output only. The resource type of the provider tag.", + "enum": [ + "RESOURCE_TYPE_UNSPECIFIED", + "NETWORK_PATH", + "WEB_PATH", + "MONITORING_POLICY", + "MONITORING_POINT", + "MONITORING_POINT_RULE", + "MONITORING_POINT_RULE_AUTO" + ], + "enumDescriptions": [ + "The default value. This value is used if the status is omitted.", + "Network path.", + "Web path.", + "Monitoring policy.", + "Monitoring point.", + "This represents Provider Tag that a user manually assigns to a specific Rule within a Monitoring Policy. It is created when a user saves a Monitoring Policy with custom tags applied to its rules.", + "This represents auto-generated Provider Tags derived from the criteria defined in a Monitoring Point Rule (e.g., Subnet, VLAN, Interface). If \"Auto Network Rule Tagging\" is enabled, the system automatically generates these tags based on the rule's filter values." + ], + "readOnly": true, + "type": "string" + }, + "value": { + "description": "Output only. The value of the provider tag.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "ProxyConnectionInfo": { "description": "For display only. Metadata associated with ProxyConnection.", "id": "ProxyConnectionInfo", @@ -4737,6 +5913,122 @@ } }, "type": "object" + }, + "WebPath": { + "description": "Message describing WebPath resource.", + "id": "WebPath", + "properties": { + "createTime": { + "description": "Output only. The time the WebPath was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "destination": { + "description": "Output only. Web monitoring target.", + "readOnly": true, + "type": "string" + }, + "destinationGeoLocation": { + "$ref": "GeoLocation", + "description": "Output only. Geographical location of the destination.", + "readOnly": true + }, + "displayName": { + "description": "Output only. Display name of the WebPath.", + "readOnly": true, + "type": "string" + }, + "interval": { + "description": "Output only. Monitoring interval.", + "format": "google-duration", + "readOnly": true, + "type": "string" + }, + "monitoringEnabled": { + "description": "Output only. Is monitoring enabled for the WebPath.", + "readOnly": true, + "type": "boolean" + }, + "monitoringPolicyDisplayName": { + "description": "Output only. Display name of the monitoring policy.", + "readOnly": true, + "type": "string" + }, + "monitoringPolicyId": { + "description": "Output only. ID of the monitoring policy.", + "readOnly": true, + "type": "string" + }, + "monitoringStatus": { + "description": "Output only. The monitoring status of the WebPath.", + "enum": [ + "MONITORING_STATUS_UNSPECIFIED", + "MONITORING", + "POLICY_MISMATCH", + "MONITORING_POINT_OFFLINE", + "DISABLED" + ], + "enumDescriptions": [ + "The default value. This value is used if the status is omitted.", + "Monitoring is enabled.", + "Policy is mismatched.", + "Monitoring point is offline.", + "Monitoring is disabled." + ], + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/webPaths/{web_path}`", + "type": "string" + }, + "providerTags": { + "description": "Output only. The provider tags of the web path.", + "items": { + "$ref": "ProviderTag" + }, + "readOnly": true, + "type": "array" + }, + "providerUiUri": { + "description": "Output only. Link to provider's UI; link shows the WebPath.", + "readOnly": true, + "type": "string" + }, + "relatedNetworkPathId": { + "description": "Output only. Provider's UUID of the related NetworkPath.", + "readOnly": true, + "type": "string" + }, + "sourceMonitoringPointId": { + "description": "Output only. ID of the source MonitoringPoint.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time the WebPath was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "workflowType": { + "description": "Output only. The workflow type of the WebPath.", + "enum": [ + "WORKFLOW_TYPE_UNSPECIFIED", + "BROWSER", + "HTTP" + ], + "enumDescriptions": [ + "The default value. This value is used if the status is omitted.", + "Browser.", + "HTTP." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/discovery/networkmanagement-v1beta1.json b/discovery/networkmanagement-v1beta1.json index 6b35f50b0b..58175c2761 100644 --- a/discovery/networkmanagement-v1beta1.json +++ b/discovery/networkmanagement-v1beta1.json @@ -1237,7 +1237,7 @@ } } }, - "revision": "20260424", + "revision": "20260513", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1764,7 +1764,9 @@ "GOOGLE_MANAGED_SERVICE", "REDIS_INSTANCE", "REDIS_CLUSTER", - "GKE_POD" + "GKE_POD", + "DMS_PRIVATE_CONNECTION", + "DATASTREAM_PRIVATE_CONNECTION" ], "enumDescriptions": [ "Target not specified.", @@ -1785,7 +1787,9 @@ "Target is a Google-managed service. Used only for return traces.", "Target is a Redis Instance.", "Target is a Redis Cluster.", - "Target is a GKE Pod." + "Target is a GKE Pod.", + "Target is a DMS Private Connection. Used only for return traces.", + "Target is a Datastream Private Connection. Used only for return traces." ], "type": "string" } @@ -1853,6 +1857,7 @@ "FORWARDING_RULE_MISMATCH", "FORWARDING_RULE_NO_INSTANCES", "FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK", + "FIREWALL_BLOCKING_LOAD_BALANCER_ENVOY_PROXY_HEALTH_CHECK", "INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS", "INSTANCE_NOT_RUNNING", "GKE_CLUSTER_NOT_RUNNING", @@ -1865,6 +1870,8 @@ "CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS", "DROPPED_INSIDE_GKE_SERVICE", "DROPPED_INSIDE_CLOUD_SQL_SERVICE", + "DROPPED_INSIDE_DMS_PRIVATE_CONNECTION", + "DROPPED_INSIDE_DATASTREAM_PRIVATE_CONNECTION", "GOOGLE_MANAGED_SERVICE_NO_PEERING", "GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT", "GKE_PSC_ENDPOINT_MISSING", @@ -1961,6 +1968,7 @@ "Forwarding rule's protocol and ports do not match the packet header.", "Forwarding rule does not have backends configured.", "Firewalls block the health check probes to the backends and cause the backends to be unavailable for traffic from the load balancer. For more details, see [Health check firewall rules](https://cloud.google.com/load-balancing/docs/health-checks#firewall_rules).", + "Firewalls block health check probes to the Envoy proxies that power this load balancer.", "Matching ingress firewall rules by network tags for packets sent via serverless VPC direct egress is unsupported. Behavior is undefined. https://cloud.google.com/run/docs/configuring/vpc-direct-vpc#limitations", "Packet is sent from or to a Compute Engine instance that is not in a running state.", "Packet sent from or to a GKE cluster that is not in running state.", @@ -1973,6 +1981,8 @@ "Access to the Cloud SQL instance endpoint is not authorized. See [Authorizing with authorized networks](https://cloud.google.com/sql/docs/mysql/authorize-networks) for more details.", "Packet was dropped inside Google Kubernetes Engine Service.", "Packet was dropped inside Cloud SQL Service.", + "Packet was dropped inside DMS Private Connection.", + "Packet was dropped inside Datastream Private Connection.", "Packet was dropped because there is no peering between the originating network and the Google Managed Services Network.", "Packet was dropped because the Google-managed service uses Private Service Connect (PSC), but the PSC endpoint is not found in the project.", "Packet was dropped because the GKE cluster uses Private Service Connect (PSC), but the PSC endpoint is not found in the project.", @@ -2230,6 +2240,10 @@ "$ref": "CloudFunctionEndpoint", "description": "A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint." }, + "cloudRunJob": { + "description": "A [Cloud Run](https://cloud.google.com/run) [job](https://docs.cloud.google.com/run/docs/reference/rest/v2/projects.locations.jobs#Job) URI. Applicable only to source endpoint. The format is: projects/{project}/locations/{location}/jobs/{job}", + "type": "string" + }, "cloudRunRevision": { "$ref": "CloudRunRevisionEndpoint", "description": "A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint." diff --git a/src/apis/networkmanagement/v1.ts b/src/apis/networkmanagement/v1.ts index f12d6b5d07..0f84082342 100644 --- a/src/apis/networkmanagement/v1.ts +++ b/src/apis/networkmanagement/v1.ts @@ -801,6 +801,37 @@ export namespace networkmanagement_v1 { */ vip?: string | null; } + /** + * Message for response for getting Monitoring Point configuration of a NetworkMonitoringProvider resource. + */ + export interface Schema$GenerateMonitoringPointConfigResponse { + /** + * The Monitoring Point configuration of the provider in JSON format. + */ + config?: {[key: string]: any} | null; + } + /** + * Message for response for generating an access token for a NetworkMonitoringProvider resource. + */ + export interface Schema$GenerateProviderAccessTokenResponse { + /** + * Provider access token for the NetworkMonitoringProvider resource. + */ + providerAccessToken?: string | null; + } + /** + * The geographical location of the MonitoringPoint. + */ + export interface Schema$GeoLocation { + /** + * Formatted address. + */ + formattedAddress?: string | null; + /** + * Unicode CLDR region code. + */ + regionCode?: string | null; + } /** * For display only. Metadata associated with a Google Kubernetes Engine (GKE) cluster master. */ @@ -886,6 +917,56 @@ export namespace networkmanagement_v1 { */ sourceIp?: string | null; } + /** + * Message describing information about the host. + */ + export interface Schema$Host { + /** + * Output only. The cloud instance id of the host. + */ + cloudInstanceId?: string | null; + /** + * Output only. The cloud project id of the host. + */ + cloudProjectId?: string | null; + /** + * Output only. The cloud provider of the host. + */ + cloudProvider?: string | null; + /** + * Output only. The cloud region of the host. + */ + cloudRegion?: string | null; + /** + * Output only. The ids of cloud virtual networks of the host. + */ + cloudVirtualNetworkIds?: string[] | null; + /** + * Output only. The cloud zone of the host. + */ + cloudZone?: string | null; + /** + * Output only. The operating system of the host. + */ + os?: string | null; + } + /** + * Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; \} service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); \} Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); \} Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged. + */ + export interface Schema$HttpBody { + /** + * The HTTP Content-Type header value specifying the content type of the body. + */ + contentType?: string | null; + /** + * The HTTP request/response body as raw binary. + */ + data?: string | null; + /** + * Application specific response metadata. Must be set in the first response for streaming APIs. + */ + extensions?: Array<{[key: string]: any}> | null; + } /** * For display only. Metadata associated with a hybrid subnet. */ @@ -1050,6 +1131,45 @@ export namespace networkmanagement_v1 { */ nextPageToken?: string | null; } + /** + * Message for response to listing MonitoringPoints + */ + export interface Schema$ListMonitoringPointsResponse { + /** + * The list of MonitoringPoints. + */ + monitoringPoints?: Schema$MonitoringPoint[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * Message for response to listing NetworkMonitoringProviders + */ + export interface Schema$ListNetworkMonitoringProvidersResponse { + /** + * The list of NetworkMonitoringProvider + */ + networkMonitoringProviders?: Schema$NetworkMonitoringProvider[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * Message for response to listing NetworkPaths + */ + export interface Schema$ListNetworkPathsResponse { + /** + * The list of NetworkPath + */ + networkPaths?: Schema$NetworkPath[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } /** * The response message for Operations.ListOperations. */ @@ -1084,6 +1204,19 @@ export namespace networkmanagement_v1 { */ vpcFlowLogsConfigs?: Schema$VpcFlowLogsConfig[]; } + /** + * Message for response to listing WebPaths + */ + export interface Schema$ListWebPathsResponse { + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * The list of WebPath. + */ + webPaths?: Schema$WebPath[]; + } /** * For display only. Metadata associated with a specific load balancer backend. */ @@ -1204,6 +1337,87 @@ export namespace networkmanagement_v1 { */ name?: string | null; } + /** + * Message describing MonitoringPoint resource. + */ + export interface Schema$MonitoringPoint { + /** + * Output only. Indicates if automaitic geographic location is enabled for the MonitoringPoint. + */ + autoGeoLocationEnabled?: boolean | null; + /** + * Output only. Connection status of the MonitoringPoint. + */ + connectionStatus?: string | null; + /** + * Output only. The time the MonitoringPoint was created. + */ + createTime?: string | null; + /** + * Output only. The deployment type of the MonitoringPoint. + */ + deploymentType?: string | null; + /** + * Output only. Display name of the MonitoringPoint. + */ + displayName?: string | null; + /** + * Output only. The codes of errors detected in the MonitoringPoint. + */ + errors?: string[] | null; + /** + * Output only. The geographical location of the MonitoringPoint. + */ + geoLocation?: Schema$GeoLocation; + /** + * Output only. The GUID of the MonitoringPoint. + */ + guid?: string | null; + /** + * Output only. The host information of the MonitoringPoint. + */ + host?: Schema$Host; + /** + * Output only. The hostname of the MonitoringPoint. + */ + hostname?: string | null; + /** + * Identifier. Name of the resource. Format: `projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}/monitoringPoints/{monitoring_point\}` + */ + name?: string | null; + /** + * Output only. The network interfaces of the MonitoringPoint. + */ + networkInterfaces?: Schema$NetworkInterface[]; + /** + * Output only. IP address visible when MonitoringPoint connects to the provider. + */ + originatingIp?: string | null; + /** + * Output only. The provider tags of the MonitoringPoint. + */ + providerTags?: Schema$ProviderTag[]; + /** + * Output only. Deployment type of the MonitoringPoint. + */ + type?: string | null; + /** + * Output only. The time the MonitoringPoint was updated. + */ + updateTime?: string | null; + /** + * Output only. Indicates if an upgrade is available for the MonitoringPoint. + */ + upgradeAvailable?: boolean | null; + /** + * Output only. The type of upgrade available for the MonitoringPoint. + */ + upgradeType?: string | null; + /** + * Output only. Version of the software running on the MonitoringPoint. + */ + version?: string | null; + } /** * For display only. Metadata associated with NAT. */ @@ -1290,6 +1504,141 @@ export namespace networkmanagement_v1 { */ uri?: string | null; } + /** + * Message describing network interfaces. + */ + export interface Schema$NetworkInterface { + /** + * Output only. The description of the interface. + */ + adapterDescription?: string | null; + /** + * Output only. The IP address of the interface and subnet mask in CIDR format. Examples: 192.168.1.0/24, 2001:db8::/32 + */ + cidr?: string | null; + /** + * Output only. The name of the network interface. Examples: eth0, eno1 + */ + interfaceName?: string | null; + /** + * Output only. The IP address of the interface. + */ + ipAddress?: string | null; + /** + * Output only. The MAC address of the interface. + */ + macAddress?: string | null; + /** + * Output only. Speed of the interface in millions of bits per second. + */ + speed?: string | null; + /** + * Output only. The id of the VLAN. + */ + vlanId?: string | null; + } + /** + * Message describing NetworkMonitoringProvider resource. + */ + export interface Schema$NetworkMonitoringProvider { + /** + * Output only. The time the NetworkMonitoringProvider was created. + */ + createTime?: string | null; + /** + * Output only. The list of error messages detected for the NetworkMonitoringProvider. + */ + errors?: string[] | null; + /** + * Output only. Identifier. Name of the resource. Format: `projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}` + */ + name?: string | null; + /** + * Required. Type of the NetworkMonitoringProvider. + */ + providerType?: string | null; + /** + * Output only. Link to the provider's UI. + */ + providerUri?: string | null; + /** + * Output only. State of the NetworkMonitoringProvider. + */ + state?: string | null; + /** + * Output only. The time the NetworkMonitoringProvider was updated. + */ + updateTime?: string | null; + } + /** + * Message describing NetworkPath resource. + */ + export interface Schema$NetworkPath { + /** + * Output only. The time the NetworkPath was created. + */ + createTime?: string | null; + /** + * Output only. IP address or hostname of the network path destination. + */ + destination?: string | null; + /** + * Output only. Geographical location of the destination MonitoringPoint. + */ + destinationGeoLocation?: Schema$GeoLocation; + /** + * Output only. Provider's UUID of the destination MonitoringPoint. This id may not point to a resource in the Google Cloud. + */ + destinationMonitoringPointId?: string | null; + /** + * Output only. The display name of the network path. + */ + displayName?: string | null; + /** + * Output only. Indicates if the network path is dual ended. When true, the network path is measured both: from both source to destination, and from destination to source. When false, the network path is measured from the source through the destination back to the source (round trip measurement). + */ + dualEnded?: boolean | null; + /** + * Output only. Is monitoring enabled for the network path. + */ + monitoringEnabled?: boolean | null; + /** + * Output only. Display name of the monitoring policy. + */ + monitoringPolicyDisplayName?: string | null; + /** + * Output only. ID of monitoring policy. + */ + monitoringPolicyId?: string | null; + /** + * Output only. The monitoring status of the network path. + */ + monitoringStatus?: string | null; + /** + * Identifier. Name of the resource. Format: `projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}/networkPaths/{network_path\}` + */ + name?: string | null; + /** + * Output only. The network protocol of the network path. + */ + networkProtocol?: string | null; + /** + * Output only. The provider tags of the network path. + */ + providerTags?: Schema$ProviderTag[]; + /** + * Output only. Link to provider's UI; link shows the NetworkPath. + */ + providerUiUri?: string | null; + /** + * Output only. Provider's UUID of the source MonitoringPoint. This id may not point to a resource in the Google Cloud. + */ + sourceMonitoringPointId?: string | null; + /** + * Output only. The time the NetworkPath was updated. + */ + updateTime?: string | null; + } /** * For display only. Metadata associated with a layer 7 packet inspection by the firewall. */ @@ -1436,6 +1785,23 @@ export namespace networkmanagement_v1 { */ verifyTime?: string | null; } + /** + * Message describing the provider tag. + */ + export interface Schema$ProviderTag { + /** + * Output only. The category of the provider tag. + */ + category?: string | null; + /** + * Output only. The resource type of the provider tag. + */ + resourceType?: string | null; + /** + * Output only. The value of the provider tag. + */ + value?: string | null; + } /** * For display only. Metadata associated with ProxyConnection. */ @@ -2157,6 +2523,75 @@ export namespace networkmanagement_v1 { */ uri?: string | null; } + /** + * Message describing WebPath resource. + */ + export interface Schema$WebPath { + /** + * Output only. The time the WebPath was created. + */ + createTime?: string | null; + /** + * Output only. Web monitoring target. + */ + destination?: string | null; + /** + * Output only. Geographical location of the destination. + */ + destinationGeoLocation?: Schema$GeoLocation; + /** + * Output only. Display name of the WebPath. + */ + displayName?: string | null; + /** + * Output only. Monitoring interval. + */ + interval?: string | null; + /** + * Output only. Is monitoring enabled for the WebPath. + */ + monitoringEnabled?: boolean | null; + /** + * Output only. Display name of the monitoring policy. + */ + monitoringPolicyDisplayName?: string | null; + /** + * Output only. ID of the monitoring policy. + */ + monitoringPolicyId?: string | null; + /** + * Output only. The monitoring status of the WebPath. + */ + monitoringStatus?: string | null; + /** + * Identifier. Name of the resource. Format: `projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}/webPaths/{web_path\}` + */ + name?: string | null; + /** + * Output only. The provider tags of the web path. + */ + providerTags?: Schema$ProviderTag[]; + /** + * Output only. Link to provider's UI; link shows the WebPath. + */ + providerUiUri?: string | null; + /** + * Output only. Provider's UUID of the related NetworkPath. + */ + relatedNetworkPathId?: string | null; + /** + * Output only. ID of the source MonitoringPoint. + */ + sourceMonitoringPointId?: string | null; + /** + * Output only. The time the WebPath was updated. + */ + updateTime?: string | null; + /** + * Output only. The workflow type of the WebPath. + */ + workflowType?: string | null; + } export class Resource$Organizations { context: APIRequestContext; @@ -4000,10 +4435,15 @@ export namespace networkmanagement_v1 { export class Resource$Projects$Locations { context: APIRequestContext; global: Resource$Projects$Locations$Global; + networkMonitoringProviders: Resource$Projects$Locations$Networkmonitoringproviders; vpcFlowLogsConfigs: Resource$Projects$Locations$Vpcflowlogsconfigs; constructor(context: APIRequestContext) { this.context = context; this.global = new Resource$Projects$Locations$Global(this.context); + this.networkMonitoringProviders = + new Resource$Projects$Locations$Networkmonitoringproviders( + this.context + ); this.vpcFlowLogsConfigs = new Resource$Projects$Locations$Vpcflowlogsconfigs(this.context); } @@ -6462,6 +6902,2551 @@ export namespace networkmanagement_v1 { returnPartialSuccess?: boolean; } + export class Resource$Projects$Locations$Networkmonitoringproviders { + context: APIRequestContext; + monitoringPoints: Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints; + networkPaths: Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths; + webPaths: Resource$Projects$Locations$Networkmonitoringproviders$Webpaths; + constructor(context: APIRequestContext) { + this.context = context; + this.monitoringPoints = + new Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints( + this.context + ); + this.networkPaths = + new Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths( + this.context + ); + this.webPaths = + new Resource$Projects$Locations$Networkmonitoringproviders$Webpaths( + this.context + ); + } + + /** + * Creates a NetworkMonitoringProvider resource. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.create( + * { + * // Required. The ID to use for the NetworkMonitoringProvider resource, which will become the final component of the NetworkMonitoringProvider resource's name. + * networkMonitoringProviderId: 'placeholder-value', + * // Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "errors": [], + * // "name": "my_name", + * // "providerType": "my_providerType", + * // "providerUri": "my_providerUri", + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/networkMonitoringProviders').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a NetworkMonitoringProvider resource and all of its child resources. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.delete( + * { + * // Optional. If set to true, any nested MonitoringPoints, NetworkPaths and WebPaths resources from this NetworkMonitoringProvider will also be deleted. Otherwise, the request will only work if there are no nested resources. + * force: 'placeholder-value', + * // Required. Name of the resource. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + * name: 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Networkmonitoringproviders$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.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); + } + } + + /** + * Generates Monitoring Point configuration of a NetworkMonitoringProvider resource. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.generateMonitoringPointConfig( + * { + * // Required. Name of the resource. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + * name: 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "config": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + generateMonitoringPointConfig( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Generatemonitoringpointconfig, + options: StreamMethodOptions + ): Promise>; + generateMonitoringPointConfig( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Generatemonitoringpointconfig, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + generateMonitoringPointConfig( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Generatemonitoringpointconfig, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + generateMonitoringPointConfig( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Generatemonitoringpointconfig, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + generateMonitoringPointConfig( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Generatemonitoringpointconfig, + callback: BodyResponseCallback + ): void; + generateMonitoringPointConfig( + callback: BodyResponseCallback + ): void; + generateMonitoringPointConfig( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Generatemonitoringpointconfig + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Generatemonitoringpointconfig; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Generatemonitoringpointconfig; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+name}:generateMonitoringPointConfig' + ).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 + ); + } + } + + /** + * Generates a provider access token for a given Google access token. Provider access token is a short-lived token that is used to access resources in the provider's platform. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.generateProviderAccessToken( + * { + * // Required. Google access token. + * gcpAccessToken: 'placeholder-value', + * // Required. Name of the resource. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + * name: 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "providerAccessToken": "my_providerAccessToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + generateProviderAccessToken( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Generateprovideraccesstoken, + options: StreamMethodOptions + ): Promise>; + generateProviderAccessToken( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Generateprovideraccesstoken, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + generateProviderAccessToken( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Generateprovideraccesstoken, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + generateProviderAccessToken( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Generateprovideraccesstoken, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + generateProviderAccessToken( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Generateprovideraccesstoken, + callback: BodyResponseCallback + ): void; + generateProviderAccessToken( + callback: BodyResponseCallback + ): void; + generateProviderAccessToken( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Generateprovideraccesstoken + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Generateprovideraccesstoken; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Generateprovideraccesstoken; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:generateProviderAccessToken').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 + ); + } + } + + /** + * Gets the NetworkMonitoringProvider resource. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.get({ + * // Required. Name of the resource. Format: `projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}` + * name: 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "createTime": "my_createTime", + * // "errors": [], + * // "name": "my_name", + * // "providerType": "my_providerType", + * // "providerUri": "my_providerUri", + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Networkmonitoringproviders$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.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 NetworkMonitoringProviders for a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.list({ + * // Optional. The maximum number of monitoring points to return. The service may return fewer than this value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMonitoringPoints` must match the call that provided the page token. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: `projects/{project\}/locations/{location\}` + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "networkMonitoringProviders": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Networkmonitoringproviders$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/networkMonitoringProviders').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$Networkmonitoringproviders$Create extends StandardParameters { + /** + * Required. The ID to use for the NetworkMonitoringProvider resource, which will become the final component of the NetworkMonitoringProvider resource's name. + */ + networkMonitoringProviderId?: string; + /** + * Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$NetworkMonitoringProvider; + } + export interface Params$Resource$Projects$Locations$Networkmonitoringproviders$Delete extends StandardParameters { + /** + * Optional. If set to true, any nested MonitoringPoints, NetworkPaths and WebPaths resources from this NetworkMonitoringProvider will also be deleted. Otherwise, the request will only work if there are no nested resources. + */ + force?: boolean; + /** + * Required. Name of the resource. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Networkmonitoringproviders$Generatemonitoringpointconfig extends StandardParameters { + /** + * Required. Name of the resource. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Networkmonitoringproviders$Generateprovideraccesstoken extends StandardParameters { + /** + * Required. Google access token. + */ + gcpAccessToken?: string; + /** + * Required. Name of the resource. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Networkmonitoringproviders$Get extends StandardParameters { + /** + * Required. Name of the resource. Format: `projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}` + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Networkmonitoringproviders$List extends StandardParameters { + /** + * Optional. The maximum number of monitoring points to return. The service may return fewer than this value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMonitoringPoints` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: `projects/{project\}/locations/{location\}` + */ + parent?: string; + } + + export class Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Downloads an install script for MonitoringPoints for a given network monitoring provider. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.downloadInstallScript( + * { + * // Required. The hostname of the MonitoringPoint, e.g. "test-vm" + * hostname: 'placeholder-value', + * // Required. The type of the monitoring point. + * monitoringPointType: 'placeholder-value', + * // Optional. Network Time Protocol a user can configure. If the user omits the field, the default is either NTP servers provided in the DHCP lease or a set of well-known NTP servers pre-configured on the monitoring point. This field can be an IP address or FQDN. + * ntpServerAddress: 'placeholder-value', + * // Optional. Second NTP server. + * ntpServerSecondaryAddress: 'placeholder-value', + * // Required. Parent value for DownloadInstallScriptRequest. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + * parent: + * 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider', + * // Required. DNS server. + * 'staticIpAddress.dnsServerAddress': 'placeholder-value', + * // Optional. Second DNS server. + * 'staticIpAddress.dnsServerSecondaryAddress': 'placeholder-value', + * // Optional. Domain name of the MonitoringPoint. + * 'staticIpAddress.domain': 'placeholder-value', + * // Required. Gateway IP address. Example: "100.80.40.1". + * 'staticIpAddress.gatewayAddress': 'placeholder-value', + * // Required. IP address of the MonitoringPoint. + * 'staticIpAddress.ipAddress': 'placeholder-value', + * // Optional. Networkmask and CIDR range. Example: "255.255.255.0/24" + * 'staticIpAddress.netmask': 'placeholder-value', + * // IANA Time Zone Database time zone. For example "America/New_York". + * 'timeZone.id': 'placeholder-value', + * // Optional. IANA Time Zone Database version number. For example "2019a". + * 'timeZone.version': 'placeholder-value', + * // Optional. Dynamic Host Configuration Protocol, is a network management protocol that automatically assigns IP addresses and other network configuration parameters to devices connecting to a network. + * useDhcp: 'placeholder-value', + * // Optional. Password for logging into the MonitoringPoint. + * _password: 'placeholder-value', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "contentType": "my_contentType", + * // "data": "my_data", + * // "extensions": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + downloadInstallScript( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadinstallscript, + options: StreamMethodOptions + ): Promise>; + downloadInstallScript( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadinstallscript, + options?: MethodOptions + ): Promise>; + downloadInstallScript( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadinstallscript, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + downloadInstallScript( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadinstallscript, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + downloadInstallScript( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadinstallscript, + callback: BodyResponseCallback + ): void; + downloadInstallScript( + callback: BodyResponseCallback + ): void; + downloadInstallScript( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadinstallscript + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadinstallscript; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadinstallscript; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+parent}/monitoringPoints:downloadInstallScript' + ).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); + } + } + + /** + * Downloads an install script for a specific Container MonitoringPoint. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.downloadRecreateInstallScript( + * { + * // Optional. The hostname of the MonitoringPoint, e.g. "test-vm" + * hostname: 'placeholder-value', + * // Required. Resource name of the MonitoringPoint. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}/monitoringPoints/{monitoring_point\} + * name: 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider/monitoringPoints/my-monitoringPoint', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "contentType": "my_contentType", + * // "data": "my_data", + * // "extensions": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + downloadRecreateInstallScript( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadrecreateinstallscript, + options: StreamMethodOptions + ): Promise>; + downloadRecreateInstallScript( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadrecreateinstallscript, + options?: MethodOptions + ): Promise>; + downloadRecreateInstallScript( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadrecreateinstallscript, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + downloadRecreateInstallScript( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadrecreateinstallscript, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + downloadRecreateInstallScript( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadrecreateinstallscript, + callback: BodyResponseCallback + ): void; + downloadRecreateInstallScript( + callback: BodyResponseCallback + ): void; + downloadRecreateInstallScript( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadrecreateinstallscript + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadrecreateinstallscript; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadrecreateinstallscript; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+name}:downloadRecreateInstallScript' + ).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); + } + } + + /** + * Downloads the server connect configuration for a given network monitoring provider. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.downloadServerConnectConfig( + * { + * // Required. Parent value for DownloadServerConnectConfigRequest. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + * parent: + * 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "contentType": "my_contentType", + * // "data": "my_data", + * // "extensions": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + downloadServerConnectConfig( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadserverconnectconfig, + options: StreamMethodOptions + ): Promise>; + downloadServerConnectConfig( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadserverconnectconfig, + options?: MethodOptions + ): Promise>; + downloadServerConnectConfig( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadserverconnectconfig, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + downloadServerConnectConfig( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadserverconnectconfig, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + downloadServerConnectConfig( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadserverconnectconfig, + callback: BodyResponseCallback + ): void; + downloadServerConnectConfig( + callback: BodyResponseCallback + ): void; + downloadServerConnectConfig( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadserverconnectconfig + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadserverconnectconfig; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadserverconnectconfig; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/v1/{+parent}/monitoringPoints:downloadServerConnectConfig' + ).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); + } + } + + /** + * Gets the MonitoringPoint resource. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.get( + * { + * // Required. Name of the resource. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}/monitoringPoints/{monitoring_point\} + * name: 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider/monitoringPoints/my-monitoringPoint', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "autoGeoLocationEnabled": false, + * // "connectionStatus": "my_connectionStatus", + * // "createTime": "my_createTime", + * // "deploymentType": "my_deploymentType", + * // "displayName": "my_displayName", + * // "errors": [], + * // "geoLocation": {}, + * // "guid": "my_guid", + * // "host": {}, + * // "hostname": "my_hostname", + * // "name": "my_name", + * // "networkInterfaces": [], + * // "originatingIp": "my_originatingIp", + * // "providerTags": [], + * // "type": "my_type", + * // "updateTime": "my_updateTime", + * // "upgradeAvailable": false, + * // "upgradeType": "my_upgradeType", + * // "version": "my_version" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Networkmonitoringproviders$Monitoringpoints$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.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 MonitoringPoints for a given network monitoring provider. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.list( + * { + * // Optional. The maximum number of monitoring points to return. The service may return fewer than this value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMonitoringPoints` must match the call that provided the page token. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListMonitoringPointsRequest. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + * parent: + * 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "monitoringPoints": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Networkmonitoringproviders$Monitoringpoints$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/monitoringPoints').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$Networkmonitoringproviders$Monitoringpoints$Downloadinstallscript extends StandardParameters { + /** + * Required. The hostname of the MonitoringPoint, e.g. "test-vm" + */ + hostname?: string; + /** + * Required. The type of the monitoring point. + */ + monitoringPointType?: string; + /** + * Optional. Network Time Protocol a user can configure. If the user omits the field, the default is either NTP servers provided in the DHCP lease or a set of well-known NTP servers pre-configured on the monitoring point. This field can be an IP address or FQDN. + */ + ntpServerAddress?: string; + /** + * Optional. Second NTP server. + */ + ntpServerSecondaryAddress?: string; + /** + * Required. Parent value for DownloadInstallScriptRequest. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + */ + parent?: string; + /** + * Required. DNS server. + */ + 'staticIpAddress.dnsServerAddress'?: string; + /** + * Optional. Second DNS server. + */ + 'staticIpAddress.dnsServerSecondaryAddress'?: string; + /** + * Optional. Domain name of the MonitoringPoint. + */ + 'staticIpAddress.domain'?: string; + /** + * Required. Gateway IP address. Example: "100.80.40.1". + */ + 'staticIpAddress.gatewayAddress'?: string; + /** + * Required. IP address of the MonitoringPoint. + */ + 'staticIpAddress.ipAddress'?: string; + /** + * Optional. Networkmask and CIDR range. Example: "255.255.255.0/24" + */ + 'staticIpAddress.netmask'?: string; + /** + * IANA Time Zone Database time zone. For example "America/New_York". + */ + 'timeZone.id'?: string; + /** + * Optional. IANA Time Zone Database version number. For example "2019a". + */ + 'timeZone.version'?: string; + /** + * Optional. Dynamic Host Configuration Protocol, is a network management protocol that automatically assigns IP addresses and other network configuration parameters to devices connecting to a network. + */ + useDhcp?: boolean; + /** + * Optional. Password for logging into the MonitoringPoint. + */ + _password?: string; + } + export interface Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadrecreateinstallscript extends StandardParameters { + /** + * Optional. The hostname of the MonitoringPoint, e.g. "test-vm" + */ + hostname?: string; + /** + * Required. Resource name of the MonitoringPoint. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}/monitoringPoints/{monitoring_point\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Downloadserverconnectconfig extends StandardParameters { + /** + * Required. Parent value for DownloadServerConnectConfigRequest. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$Get extends StandardParameters { + /** + * Required. Name of the resource. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}/monitoringPoints/{monitoring_point\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Networkmonitoringproviders$Monitoringpoints$List extends StandardParameters { + /** + * Optional. The maximum number of monitoring points to return. The service may return fewer than this value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMonitoringPoints` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. Parent value for ListMonitoringPointsRequest. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + */ + parent?: string; + } + + export class Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets the NetworkPath resource. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.networkPaths.get( + * { + * // Required. Name of the resource. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}/networkPaths/{network_path\} + * name: 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider/networkPaths/my-networkPath', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "createTime": "my_createTime", + * // "destination": "my_destination", + * // "destinationGeoLocation": {}, + * // "destinationMonitoringPointId": "my_destinationMonitoringPointId", + * // "displayName": "my_displayName", + * // "dualEnded": false, + * // "monitoringEnabled": false, + * // "monitoringPolicyDisplayName": "my_monitoringPolicyDisplayName", + * // "monitoringPolicyId": "my_monitoringPolicyId", + * // "monitoringStatus": "my_monitoringStatus", + * // "name": "my_name", + * // "networkProtocol": "my_networkProtocol", + * // "providerTags": [], + * // "providerUiUri": "my_providerUiUri", + * // "sourceMonitoringPointId": "my_sourceMonitoringPointId", + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Networkmonitoringproviders$Networkpaths$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.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 NetworkPaths for a given network monitoring provider. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.networkPaths.list( + * { + * // Optional. The maximum number of network paths to return. The service may return fewer than this value. If unspecified, at most 20 network pathswill be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListNetworkPaths` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNetworkPaths` must match the call that provided the page token. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListNetworkPathsRequest. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + * parent: + * 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "networkPaths": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Networkmonitoringproviders$Networkpaths$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/networkPaths').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$Networkmonitoringproviders$Networkpaths$Get extends StandardParameters { + /** + * Required. Name of the resource. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}/networkPaths/{network_path\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Networkmonitoringproviders$Networkpaths$List extends StandardParameters { + /** + * Optional. The maximum number of network paths to return. The service may return fewer than this value. If unspecified, at most 20 network pathswill be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListNetworkPaths` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNetworkPaths` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. Parent value for ListNetworkPathsRequest. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + */ + parent?: string; + } + + export class Resource$Projects$Locations$Networkmonitoringproviders$Webpaths { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets the WebPath resource. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.webPaths.get( + * { + * // Required. Name of the resource.. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}/webPaths/{web_path\} + * name: 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider/webPaths/my-webPath', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "createTime": "my_createTime", + * // "destination": "my_destination", + * // "destinationGeoLocation": {}, + * // "displayName": "my_displayName", + * // "interval": "my_interval", + * // "monitoringEnabled": false, + * // "monitoringPolicyDisplayName": "my_monitoringPolicyDisplayName", + * // "monitoringPolicyId": "my_monitoringPolicyId", + * // "monitoringStatus": "my_monitoringStatus", + * // "name": "my_name", + * // "providerTags": [], + * // "providerUiUri": "my_providerUiUri", + * // "relatedNetworkPathId": "my_relatedNetworkPathId", + * // "sourceMonitoringPointId": "my_sourceMonitoringPointId", + * // "updateTime": "my_updateTime", + * // "workflowType": "my_workflowType" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Networkmonitoringproviders$Webpaths$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.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 WebPaths for a given network monitoring provider. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkmanagement.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkmanagement = google.networkmanagement('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkmanagement.projects.locations.networkMonitoringProviders.webPaths.list( + * { + * // Optional. The maximum number of web paths to return. The service may return fewer than this value. If unspecified, at most 20 web paths will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListWebPaths` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWebPaths` must match the call that provided the page token. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListWebPathsRequest. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + * parent: + * 'projects/my-project/locations/my-location/networkMonitoringProviders/my-networkMonitoringProvider', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "nextPageToken": "my_nextPageToken", + * // "webPaths": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Networkmonitoringproviders$Webpaths$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkmanagement.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/webPaths').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$Networkmonitoringproviders$Webpaths$Get extends StandardParameters { + /** + * Required. Name of the resource.. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\}/webPaths/{web_path\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Networkmonitoringproviders$Webpaths$List extends StandardParameters { + /** + * Optional. The maximum number of web paths to return. The service may return fewer than this value. If unspecified, at most 20 web paths will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListWebPaths` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWebPaths` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. Parent value for ListWebPathsRequest. Format: projects/{project\}/locations/{location\}/networkMonitoringProviders/{network_monitoring_provider\} + */ + parent?: string; + } + export class Resource$Projects$Locations$Vpcflowlogsconfigs { context: APIRequestContext; constructor(context: APIRequestContext) { diff --git a/src/apis/networkmanagement/v1beta1.ts b/src/apis/networkmanagement/v1beta1.ts index c217e9f5cf..d5c53c12f7 100644 --- a/src/apis/networkmanagement/v1beta1.ts +++ b/src/apis/networkmanagement/v1beta1.ts @@ -551,6 +551,10 @@ export namespace networkmanagement_v1beta1 { * A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint. */ cloudFunction?: Schema$CloudFunctionEndpoint; + /** + * A [Cloud Run](https://cloud.google.com/run) [job](https://docs.cloud.google.com/run/docs/reference/rest/v2/projects.locations.jobs#Job) URI. Applicable only to source endpoint. The format is: projects/{project\}/locations/{location\}/jobs/{job\} + */ + cloudRunJob?: string | null; /** * A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint. */ From 0e755aa903225509ac22009e60b438b992c411e4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:39 +0000 Subject: [PATCH 52/69] feat(networksecurity): update the API #### networksecurity:v1beta1 The following keys were added: - resources.organizations.resources.locations.methods.get.description - resources.organizations.resources.locations.methods.get.flatPath - resources.organizations.resources.locations.methods.get.httpMethod - resources.organizations.resources.locations.methods.get.id - resources.organizations.resources.locations.methods.get.parameterOrder - resources.organizations.resources.locations.methods.get.parameters.name.description - resources.organizations.resources.locations.methods.get.parameters.name.location - resources.organizations.resources.locations.methods.get.parameters.name.pattern - resources.organizations.resources.locations.methods.get.parameters.name.required - resources.organizations.resources.locations.methods.get.parameters.name.type - resources.organizations.resources.locations.methods.get.path - resources.organizations.resources.locations.methods.get.response.$ref - resources.organizations.resources.locations.methods.get.scopes - resources.organizations.resources.locations.methods.list.description - resources.organizations.resources.locations.methods.list.flatPath - resources.organizations.resources.locations.methods.list.httpMethod - resources.organizations.resources.locations.methods.list.id - resources.organizations.resources.locations.methods.list.parameterOrder - resources.organizations.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.organizations.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.organizations.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.organizations.resources.locations.methods.list.parameters.extraLocationTypes.type - resources.organizations.resources.locations.methods.list.parameters.filter.description - resources.organizations.resources.locations.methods.list.parameters.filter.location - resources.organizations.resources.locations.methods.list.parameters.filter.type - resources.organizations.resources.locations.methods.list.parameters.name.description - resources.organizations.resources.locations.methods.list.parameters.name.location - resources.organizations.resources.locations.methods.list.parameters.name.pattern - resources.organizations.resources.locations.methods.list.parameters.name.required - resources.organizations.resources.locations.methods.list.parameters.name.type - resources.organizations.resources.locations.methods.list.parameters.pageSize.description - resources.organizations.resources.locations.methods.list.parameters.pageSize.format - resources.organizations.resources.locations.methods.list.parameters.pageSize.location - resources.organizations.resources.locations.methods.list.parameters.pageSize.type - resources.organizations.resources.locations.methods.list.parameters.pageToken.description - resources.organizations.resources.locations.methods.list.parameters.pageToken.location - resources.organizations.resources.locations.methods.list.parameters.pageToken.type - resources.organizations.resources.locations.methods.list.path - resources.organizations.resources.locations.methods.list.response.$ref - resources.organizations.resources.locations.methods.list.scopes - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.description - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.flatPath - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.httpMethod - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.id - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.parameterOrder - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.parameters.resource.description - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.parameters.resource.location - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.parameters.resource.pattern - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.parameters.resource.required - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.parameters.resource.type - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.path - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.request.$ref - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.response.$ref - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.scopes - schemas.AuthzPolicy.properties.networkRules.description - schemas.AuthzPolicy.properties.networkRules.items.$ref - schemas.AuthzPolicy.properties.networkRules.type - schemas.AuthzPolicyAuthzRuleToRequestOperation.properties.snis.description - schemas.AuthzPolicyAuthzRuleToRequestOperation.properties.snis.items.$ref - schemas.AuthzPolicyAuthzRuleToRequestOperation.properties.snis.type The following keys were changed: - schemas.FirewallEndpoint.properties.associatedNetworks.description #### networksecurity:v1 The following keys were added: - resources.organizations.resources.locations.methods.get.description - resources.organizations.resources.locations.methods.get.flatPath - resources.organizations.resources.locations.methods.get.httpMethod - resources.organizations.resources.locations.methods.get.id - resources.organizations.resources.locations.methods.get.parameterOrder - resources.organizations.resources.locations.methods.get.parameters.name.description - resources.organizations.resources.locations.methods.get.parameters.name.location - resources.organizations.resources.locations.methods.get.parameters.name.pattern - resources.organizations.resources.locations.methods.get.parameters.name.required - resources.organizations.resources.locations.methods.get.parameters.name.type - resources.organizations.resources.locations.methods.get.path - resources.organizations.resources.locations.methods.get.response.$ref - resources.organizations.resources.locations.methods.get.scopes - resources.organizations.resources.locations.methods.list.description - resources.organizations.resources.locations.methods.list.flatPath - resources.organizations.resources.locations.methods.list.httpMethod - resources.organizations.resources.locations.methods.list.id - resources.organizations.resources.locations.methods.list.parameterOrder - resources.organizations.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.organizations.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.organizations.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.organizations.resources.locations.methods.list.parameters.extraLocationTypes.type - resources.organizations.resources.locations.methods.list.parameters.filter.description - resources.organizations.resources.locations.methods.list.parameters.filter.location - resources.organizations.resources.locations.methods.list.parameters.filter.type - resources.organizations.resources.locations.methods.list.parameters.name.description - resources.organizations.resources.locations.methods.list.parameters.name.location - resources.organizations.resources.locations.methods.list.parameters.name.pattern - resources.organizations.resources.locations.methods.list.parameters.name.required - resources.organizations.resources.locations.methods.list.parameters.name.type - resources.organizations.resources.locations.methods.list.parameters.pageSize.description - resources.organizations.resources.locations.methods.list.parameters.pageSize.format - resources.organizations.resources.locations.methods.list.parameters.pageSize.location - resources.organizations.resources.locations.methods.list.parameters.pageSize.type - resources.organizations.resources.locations.methods.list.parameters.pageToken.description - resources.organizations.resources.locations.methods.list.parameters.pageToken.location - resources.organizations.resources.locations.methods.list.parameters.pageToken.type - resources.organizations.resources.locations.methods.list.path - resources.organizations.resources.locations.methods.list.response.$ref - resources.organizations.resources.locations.methods.list.scopes - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.description - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.flatPath - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.httpMethod - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.id - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.parameterOrder - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.parameters.resource.description - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.parameters.resource.location - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.parameters.resource.pattern - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.parameters.resource.required - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.parameters.resource.type - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.path - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.request.$ref - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.response.$ref - resources.organizations.resources.locations.resources.addressGroups.methods.testIamPermissions.scopes - resources.projects.resources.locations.resources.sacAttachments.methods.create.description - resources.projects.resources.locations.resources.sacAttachments.methods.create.flatPath - resources.projects.resources.locations.resources.sacAttachments.methods.create.httpMethod - resources.projects.resources.locations.resources.sacAttachments.methods.create.id - resources.projects.resources.locations.resources.sacAttachments.methods.create.parameterOrder - resources.projects.resources.locations.resources.sacAttachments.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.sacAttachments.methods.create.parameters.parent.location - resources.projects.resources.locations.resources.sacAttachments.methods.create.parameters.parent.pattern - resources.projects.resources.locations.resources.sacAttachments.methods.create.parameters.parent.required - resources.projects.resources.locations.resources.sacAttachments.methods.create.parameters.parent.type - resources.projects.resources.locations.resources.sacAttachments.methods.create.parameters.requestId.description - resources.projects.resources.locations.resources.sacAttachments.methods.create.parameters.requestId.location - resources.projects.resources.locations.resources.sacAttachments.methods.create.parameters.requestId.type - resources.projects.resources.locations.resources.sacAttachments.methods.create.parameters.sacAttachmentId.description - resources.projects.resources.locations.resources.sacAttachments.methods.create.parameters.sacAttachmentId.location - resources.projects.resources.locations.resources.sacAttachments.methods.create.parameters.sacAttachmentId.type - resources.projects.resources.locations.resources.sacAttachments.methods.create.path - resources.projects.resources.locations.resources.sacAttachments.methods.create.request.$ref - resources.projects.resources.locations.resources.sacAttachments.methods.create.response.$ref - resources.projects.resources.locations.resources.sacAttachments.methods.create.scopes - resources.projects.resources.locations.resources.sacAttachments.methods.delete.description - resources.projects.resources.locations.resources.sacAttachments.methods.delete.flatPath - resources.projects.resources.locations.resources.sacAttachments.methods.delete.httpMethod - resources.projects.resources.locations.resources.sacAttachments.methods.delete.id - resources.projects.resources.locations.resources.sacAttachments.methods.delete.parameterOrder - resources.projects.resources.locations.resources.sacAttachments.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.sacAttachments.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.sacAttachments.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.sacAttachments.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.sacAttachments.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.sacAttachments.methods.delete.parameters.requestId.description - resources.projects.resources.locations.resources.sacAttachments.methods.delete.parameters.requestId.location - resources.projects.resources.locations.resources.sacAttachments.methods.delete.parameters.requestId.type - resources.projects.resources.locations.resources.sacAttachments.methods.delete.path - resources.projects.resources.locations.resources.sacAttachments.methods.delete.response.$ref - resources.projects.resources.locations.resources.sacAttachments.methods.delete.scopes - resources.projects.resources.locations.resources.sacAttachments.methods.get.description - resources.projects.resources.locations.resources.sacAttachments.methods.get.flatPath - resources.projects.resources.locations.resources.sacAttachments.methods.get.httpMethod - resources.projects.resources.locations.resources.sacAttachments.methods.get.id - resources.projects.resources.locations.resources.sacAttachments.methods.get.parameterOrder - resources.projects.resources.locations.resources.sacAttachments.methods.get.parameters.name.description - resources.projects.resources.locations.resources.sacAttachments.methods.get.parameters.name.location - resources.projects.resources.locations.resources.sacAttachments.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.sacAttachments.methods.get.parameters.name.required - resources.projects.resources.locations.resources.sacAttachments.methods.get.parameters.name.type - resources.projects.resources.locations.resources.sacAttachments.methods.get.path - resources.projects.resources.locations.resources.sacAttachments.methods.get.response.$ref - resources.projects.resources.locations.resources.sacAttachments.methods.get.scopes - resources.projects.resources.locations.resources.sacAttachments.methods.list.description - resources.projects.resources.locations.resources.sacAttachments.methods.list.flatPath - resources.projects.resources.locations.resources.sacAttachments.methods.list.httpMethod - resources.projects.resources.locations.resources.sacAttachments.methods.list.id - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameterOrder - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.sacAttachments.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.sacAttachments.methods.list.path - resources.projects.resources.locations.resources.sacAttachments.methods.list.response.$ref - resources.projects.resources.locations.resources.sacAttachments.methods.list.scopes - resources.projects.resources.locations.resources.sacRealms.methods.create.description - resources.projects.resources.locations.resources.sacRealms.methods.create.flatPath - resources.projects.resources.locations.resources.sacRealms.methods.create.httpMethod - resources.projects.resources.locations.resources.sacRealms.methods.create.id - resources.projects.resources.locations.resources.sacRealms.methods.create.parameterOrder - resources.projects.resources.locations.resources.sacRealms.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.sacRealms.methods.create.parameters.parent.location - resources.projects.resources.locations.resources.sacRealms.methods.create.parameters.parent.pattern - resources.projects.resources.locations.resources.sacRealms.methods.create.parameters.parent.required - resources.projects.resources.locations.resources.sacRealms.methods.create.parameters.parent.type - resources.projects.resources.locations.resources.sacRealms.methods.create.parameters.requestId.description - resources.projects.resources.locations.resources.sacRealms.methods.create.parameters.requestId.location - resources.projects.resources.locations.resources.sacRealms.methods.create.parameters.requestId.type - resources.projects.resources.locations.resources.sacRealms.methods.create.parameters.sacRealmId.description - resources.projects.resources.locations.resources.sacRealms.methods.create.parameters.sacRealmId.location - resources.projects.resources.locations.resources.sacRealms.methods.create.parameters.sacRealmId.type - resources.projects.resources.locations.resources.sacRealms.methods.create.path - resources.projects.resources.locations.resources.sacRealms.methods.create.request.$ref - resources.projects.resources.locations.resources.sacRealms.methods.create.response.$ref - resources.projects.resources.locations.resources.sacRealms.methods.create.scopes - resources.projects.resources.locations.resources.sacRealms.methods.delete.description - resources.projects.resources.locations.resources.sacRealms.methods.delete.flatPath - resources.projects.resources.locations.resources.sacRealms.methods.delete.httpMethod - resources.projects.resources.locations.resources.sacRealms.methods.delete.id - resources.projects.resources.locations.resources.sacRealms.methods.delete.parameterOrder - resources.projects.resources.locations.resources.sacRealms.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.sacRealms.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.sacRealms.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.sacRealms.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.sacRealms.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.sacRealms.methods.delete.parameters.requestId.description - resources.projects.resources.locations.resources.sacRealms.methods.delete.parameters.requestId.location - resources.projects.resources.locations.resources.sacRealms.methods.delete.parameters.requestId.type - resources.projects.resources.locations.resources.sacRealms.methods.delete.path - resources.projects.resources.locations.resources.sacRealms.methods.delete.response.$ref - resources.projects.resources.locations.resources.sacRealms.methods.delete.scopes - resources.projects.resources.locations.resources.sacRealms.methods.get.description - resources.projects.resources.locations.resources.sacRealms.methods.get.flatPath - resources.projects.resources.locations.resources.sacRealms.methods.get.httpMethod - resources.projects.resources.locations.resources.sacRealms.methods.get.id - resources.projects.resources.locations.resources.sacRealms.methods.get.parameterOrder - resources.projects.resources.locations.resources.sacRealms.methods.get.parameters.name.description - resources.projects.resources.locations.resources.sacRealms.methods.get.parameters.name.location - resources.projects.resources.locations.resources.sacRealms.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.sacRealms.methods.get.parameters.name.required - resources.projects.resources.locations.resources.sacRealms.methods.get.parameters.name.type - resources.projects.resources.locations.resources.sacRealms.methods.get.path - resources.projects.resources.locations.resources.sacRealms.methods.get.response.$ref - resources.projects.resources.locations.resources.sacRealms.methods.get.scopes - resources.projects.resources.locations.resources.sacRealms.methods.list.description - resources.projects.resources.locations.resources.sacRealms.methods.list.flatPath - resources.projects.resources.locations.resources.sacRealms.methods.list.httpMethod - resources.projects.resources.locations.resources.sacRealms.methods.list.id - resources.projects.resources.locations.resources.sacRealms.methods.list.parameterOrder - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.sacRealms.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.sacRealms.methods.list.path - resources.projects.resources.locations.resources.sacRealms.methods.list.response.$ref - resources.projects.resources.locations.resources.sacRealms.methods.list.scopes - schemas.AuthzPolicy.properties.networkRules.description - schemas.AuthzPolicy.properties.networkRules.items.$ref - schemas.AuthzPolicy.properties.networkRules.type - schemas.AuthzPolicyAuthzRuleToRequestOperation.properties.snis.description - schemas.AuthzPolicyAuthzRuleToRequestOperation.properties.snis.items.$ref - schemas.AuthzPolicyAuthzRuleToRequestOperation.properties.snis.type - schemas.ListSACAttachmentsResponse.description - schemas.ListSACAttachmentsResponse.id - schemas.ListSACAttachmentsResponse.properties.nextPageToken.description - schemas.ListSACAttachmentsResponse.properties.nextPageToken.type - schemas.ListSACAttachmentsResponse.properties.sacAttachments.description - schemas.ListSACAttachmentsResponse.properties.sacAttachments.items.$ref - schemas.ListSACAttachmentsResponse.properties.sacAttachments.type - schemas.ListSACAttachmentsResponse.properties.unreachable.description - schemas.ListSACAttachmentsResponse.properties.unreachable.items.type - schemas.ListSACAttachmentsResponse.properties.unreachable.type - schemas.ListSACAttachmentsResponse.type - schemas.ListSACRealmsResponse.description - schemas.ListSACRealmsResponse.id - schemas.ListSACRealmsResponse.properties.nextPageToken.description - schemas.ListSACRealmsResponse.properties.nextPageToken.type - schemas.ListSACRealmsResponse.properties.sacRealms.description - schemas.ListSACRealmsResponse.properties.sacRealms.items.$ref - schemas.ListSACRealmsResponse.properties.sacRealms.type - schemas.ListSACRealmsResponse.properties.unreachable.description - schemas.ListSACRealmsResponse.properties.unreachable.items.type - schemas.ListSACRealmsResponse.properties.unreachable.type - schemas.ListSACRealmsResponse.type - schemas.SACAttachment.description - schemas.SACAttachment.id - schemas.SACAttachment.properties.createTime.description - schemas.SACAttachment.properties.createTime.format - schemas.SACAttachment.properties.createTime.readOnly - schemas.SACAttachment.properties.createTime.type - schemas.SACAttachment.properties.labels.additionalProperties.type - schemas.SACAttachment.properties.labels.description - schemas.SACAttachment.properties.labels.type - schemas.SACAttachment.properties.name.description - schemas.SACAttachment.properties.name.type - schemas.SACAttachment.properties.nccGateway.description - schemas.SACAttachment.properties.nccGateway.type - schemas.SACAttachment.properties.sacRealm.description - schemas.SACAttachment.properties.sacRealm.type - schemas.SACAttachment.properties.state.description - schemas.SACAttachment.properties.state.enum - schemas.SACAttachment.properties.state.enumDescriptions - schemas.SACAttachment.properties.state.readOnly - schemas.SACAttachment.properties.state.type - schemas.SACAttachment.properties.updateTime.description - schemas.SACAttachment.properties.updateTime.format - schemas.SACAttachment.properties.updateTime.readOnly - schemas.SACAttachment.properties.updateTime.type - schemas.SACAttachment.type - schemas.SACRealm.description - schemas.SACRealm.id - schemas.SACRealm.properties.createTime.description - schemas.SACRealm.properties.createTime.format - schemas.SACRealm.properties.createTime.readOnly - schemas.SACRealm.properties.createTime.type - schemas.SACRealm.properties.labels.additionalProperties.type - schemas.SACRealm.properties.labels.description - schemas.SACRealm.properties.labels.type - schemas.SACRealm.properties.name.description - schemas.SACRealm.properties.name.type - schemas.SACRealm.properties.pairingKey.$ref - schemas.SACRealm.properties.pairingKey.description - schemas.SACRealm.properties.pairingKey.readOnly - schemas.SACRealm.properties.securityService.description - schemas.SACRealm.properties.securityService.enum - schemas.SACRealm.properties.securityService.enumDescriptions - schemas.SACRealm.properties.securityService.type - schemas.SACRealm.properties.state.description - schemas.SACRealm.properties.state.enum - schemas.SACRealm.properties.state.enumDescriptions - schemas.SACRealm.properties.state.readOnly - schemas.SACRealm.properties.state.type - schemas.SACRealm.properties.updateTime.description - schemas.SACRealm.properties.updateTime.format - schemas.SACRealm.properties.updateTime.readOnly - schemas.SACRealm.properties.updateTime.type - schemas.SACRealm.type - schemas.SACRealmPairingKey.description - schemas.SACRealmPairingKey.id - schemas.SACRealmPairingKey.properties.expireTime.description - schemas.SACRealmPairingKey.properties.expireTime.format - schemas.SACRealmPairingKey.properties.expireTime.readOnly - schemas.SACRealmPairingKey.properties.expireTime.type - schemas.SACRealmPairingKey.properties.key.description - schemas.SACRealmPairingKey.properties.key.readOnly - schemas.SACRealmPairingKey.properties.key.type - schemas.SACRealmPairingKey.type The following keys were changed: - schemas.FirewallEndpoint.properties.associatedNetworks.description --- discovery/networksecurity-v1.json | 595 +- discovery/networksecurity-v1beta1.json | 120 +- src/apis/networksecurity/v1.ts | 19131 +++++++++++++---------- src/apis/networksecurity/v1beta1.ts | 502 +- 4 files changed, 11745 insertions(+), 8603 deletions(-) diff --git a/discovery/networksecurity-v1.json b/discovery/networksecurity-v1.json index 3521b5714f..23ef990e7f 100644 --- a/discovery/networksecurity-v1.json +++ b/discovery/networksecurity-v1.json @@ -108,6 +108,80 @@ "organizations": { "resources": { "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "networksecurity.organizations.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", + "flatPath": "v1/organizations/{organizationsId}/locations", + "httpMethod": "GET", + "id": "networksecurity.organizations.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "extraLocationTypes": { + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", + "location": "query", + "repeated": true, + "type": "string" + }, + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^organizations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { "addressGroups": { "methods": { @@ -403,6 +477,34 @@ "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/organizations/{organizationsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:testIamPermissions", + "httpMethod": "POST", + "id": "networksecurity.organizations.locations.addressGroups.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/addressGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "GoogleIamV1TestIamPermissionsRequest" + }, + "response": { + "$ref": "GoogleIamV1TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -4846,6 +4948,292 @@ } } }, + "sacAttachments": { + "methods": { + "create": { + "description": "Creates a new SACAttachment in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sacAttachments", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.sacAttachments.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent, in the form `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "sacAttachmentId": { + "description": "Required. ID of the created attachment. The ID must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/sacAttachments", + "request": { + "$ref": "SACAttachment" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes the specified attachment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sacAttachments/{sacAttachmentsId}", + "httpMethod": "DELETE", + "id": "networksecurity.projects.locations.sacAttachments.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource, in the form `projects/{project}/locations/{location}/sacAttachments/{sac_attachment}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/sacAttachments/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Returns the specified attachment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sacAttachments/{sacAttachmentsId}", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.sacAttachments.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource, in the form `projects/{project}/locations/{location}/sacAttachments/{sac_attachment}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/sacAttachments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "SACAttachment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists SACAttachments in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sacAttachments", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.sacAttachments.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of results.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Sort the results by a certain order.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, in the form `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/sacAttachments", + "response": { + "$ref": "ListSACAttachmentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "sacRealms": { + "methods": { + "create": { + "description": "Creates a new SACRealm in a given project.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sacRealms", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.sacRealms.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent, in the form `projects/{project}/locations/global`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "sacRealmId": { + "description": "Required. ID of the created realm. The ID must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/sacRealms", + "request": { + "$ref": "SACRealm" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes the specified realm.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sacRealms/{sacRealmsId}", + "httpMethod": "DELETE", + "id": "networksecurity.projects.locations.sacRealms.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource, in the form `projects/{project}/locations/global/sacRealms/{sacRealm}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/sacRealms/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Returns the specified realm.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sacRealms/{sacRealmsId}", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.sacRealms.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource, in the form `projects/{project}/locations/global/sacRealms/{sacRealm}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/sacRealms/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "SACRealm" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists SACRealms in a given project.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sacRealms", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.sacRealms.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of results.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Sort the results by a certain order.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, in the form `projects/{project}/locations/global`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/sacRealms", + "response": { + "$ref": "ListSACRealmsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "securityProfileGroups": { "methods": { "create": { @@ -5743,7 +6131,7 @@ } } }, - "revision": "20260426", + "revision": "20260518", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AddAddressGroupItemsRequest": { @@ -6002,6 +6390,13 @@ "description": "Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`.", "type": "string" }, + "networkRules": { + "description": "Optional. A list of authorization network rules to match against the incoming request. A policy match occurs when at least one network rule matches the request. At least one network rule is required for Allow or Deny Action if no HTTP rules are provided. Network rules are mutually exclusive with HTTP rules. Limited to 5 rules.", + "items": { + "$ref": "AuthzPolicyAuthzRule" + }, + "type": "array" + }, "policyProfile": { "description": "Optional. Immutable. Defines the type of authorization being performed. If not specified, `REQUEST_AUTHZ` is applied. This field cannot be changed once AuthzPolicy is created.", "enum": [ @@ -6265,6 +6660,13 @@ "$ref": "AuthzPolicyAuthzRuleStringMatch" }, "type": "array" + }, + "snis": { + "description": "Optional. A list of SNIs to match against. The match can be one of exact, prefix, suffix, or contains (substring match). If there is no SNI (i.e. plaintext HTTP traffic), the request will be denied. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 SNIs per Authorization Policy.", + "items": { + "$ref": "AuthzPolicyAuthzRuleStringMatch" + }, + "type": "array" } }, "type": "object" @@ -6675,7 +7077,7 @@ "properties": { "associatedNetworks": { "deprecated": true, - "description": "Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.", + "description": "Output only. Deprecated: List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.", "items": { "type": "string" }, @@ -8096,6 +8498,56 @@ }, "type": "object" }, + "ListSACAttachmentsResponse": { + "description": "Response for `ListSACAttachments` method.", + "id": "ListSACAttachmentsResponse", + "properties": { + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "sacAttachments": { + "description": "The list of SACAttachments.", + "items": { + "$ref": "SACAttachment" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListSACRealmsResponse": { + "description": "Response for `ListSACRealms` method.", + "id": "ListSACRealmsResponse", + "properties": { + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "sacRealms": { + "description": "The list of SACRealms.", + "items": { + "$ref": "SACRealm" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ListSecurityProfileGroupsResponse": { "description": "Response returned by the ListSecurityProfileGroups method.", "id": "ListSecurityProfileGroupsResponse", @@ -8882,6 +9334,145 @@ }, "type": "object" }, + "SACAttachment": { + "description": "Represents a Secure Access Connect (SAC) attachment resource. A Secure Access Connect attachment enables NCC Gateway to process traffic with an SSE product.", + "id": "SACAttachment", + "properties": { + "createTime": { + "description": "Output only. Timestamp when the attachment was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Optional list of labels applied to the resource.", + "type": "object" + }, + "name": { + "description": "Identifier. Resource name, in the form `projects/{project}/locations/{location}/sacAttachments/{sac_attachment}`.", + "type": "string" + }, + "nccGateway": { + "description": "Required. NCC Gateway associated with the attachment. This can be input as an ID or a full resource name. The output always has the form `projects/{project_number}/locations/{location}/spokes/{ncc_gateway}`.", + "type": "string" + }, + "sacRealm": { + "description": "Required. SAC Realm which owns the attachment. This can be input as an ID or a full resource name. The output always has the form `projects/{project_number}/locations/{location}/sacRealms/{sac_realm}`.", + "type": "string" + }, + "state": { + "description": "Output only. State of the attachment.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING_PARTNER_ATTACHMENT", + "PARTNER_ATTACHED", + "PARTNER_DETACHED" + ], + "enumDescriptions": [ + "No state specified. This should not be used.", + "Has never been attached to a partner.", + "Currently attached to a partner.", + "Was once attached to a partner but has been detached." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Timestamp when the attachment was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "SACRealm": { + "description": "Represents a Secure Access Connect (SAC) realm resource. A Secure Access Connect realm establishes a connection between your Google Cloud project and an SSE service.", + "id": "SACRealm", + "properties": { + "createTime": { + "description": "Output only. Timestamp when the realm was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Optional list of labels applied to the resource.", + "type": "object" + }, + "name": { + "description": "Identifier. Resource name, in the form `projects/{project}/locations/global/sacRealms/{sacRealm}`.", + "type": "string" + }, + "pairingKey": { + "$ref": "SACRealmPairingKey", + "description": "Output only. Key to be shared with SSE service provider during pairing.", + "readOnly": true + }, + "securityService": { + "description": "Immutable. SSE service provider associated with the realm.", + "enum": [ + "SECURITY_SERVICE_UNSPECIFIED", + "PALO_ALTO_PRISMA_ACCESS" + ], + "enumDescriptions": [ + "The default value. This value is used if the state is omitted.", + "[Palo Alto Networks Prisma Access](https://www.paloaltonetworks.com/sase/access)." + ], + "type": "string" + }, + "state": { + "description": "Output only. State of the realm.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING_PARTNER_ATTACHMENT", + "PARTNER_ATTACHED", + "PARTNER_DETACHED", + "KEY_EXPIRED" + ], + "enumDescriptions": [ + "No state specified. This should not be used.", + "Has never been attached to a partner. Used only for Prisma Access.", + "Currently attached to a partner.", + "Was once attached to a partner but has been detached.", + "Is not attached to a partner and has an expired pairing key. Used only for Prisma Access." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Timestamp when the realm was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "SACRealmPairingKey": { + "description": "Key to be shared with SSE service provider to establish global handshake.", + "id": "SACRealmPairingKey", + "properties": { + "expireTime": { + "description": "Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "key": { + "description": "Output only. Key value.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "SecurityProfile": { "description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes.", "id": "SecurityProfile", diff --git a/discovery/networksecurity-v1beta1.json b/discovery/networksecurity-v1beta1.json index 8e8ead30ee..cb6b2f9dc3 100644 --- a/discovery/networksecurity-v1beta1.json +++ b/discovery/networksecurity-v1beta1.json @@ -108,6 +108,80 @@ "organizations": { "resources": { "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "networksecurity.organizations.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", + "flatPath": "v1beta1/organizations/{organizationsId}/locations", + "httpMethod": "GET", + "id": "networksecurity.organizations.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "extraLocationTypes": { + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", + "location": "query", + "repeated": true, + "type": "string" + }, + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^organizations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { "addressGroups": { "methods": { @@ -403,6 +477,34 @@ "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": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:testIamPermissions", + "httpMethod": "POST", + "id": "networksecurity.organizations.locations.addressGroups.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/addressGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+resource}:testIamPermissions", + "request": { + "$ref": "GoogleIamV1TestIamPermissionsRequest" + }, + "response": { + "$ref": "GoogleIamV1TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -6029,7 +6131,7 @@ } } }, - "revision": "20260426", + "revision": "20260518", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AddAddressGroupItemsRequest": { @@ -6288,6 +6390,13 @@ "description": "Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`.", "type": "string" }, + "networkRules": { + "description": "Optional. A list of authorization network rules to match against the incoming request. A policy match occurs when at least one network rule matches the request. At least one network rule is required for Allow or Deny Action if no HTTP rules are provided. Network rules are mutually exclusive with HTTP rules. Limited to 5 rules.", + "items": { + "$ref": "AuthzPolicyAuthzRule" + }, + "type": "array" + }, "policyProfile": { "description": "Optional. Immutable. Defines the type of authorization being performed. If not specified, `REQUEST_AUTHZ` is applied. This field cannot be changed once AuthzPolicy is created.", "enum": [ @@ -6551,6 +6660,13 @@ "$ref": "AuthzPolicyAuthzRuleStringMatch" }, "type": "array" + }, + "snis": { + "description": "Optional. A list of SNIs to match against. The match can be one of exact, prefix, suffix, or contains (substring match). If there is no SNI (i.e. plaintext HTTP traffic), the request will be denied. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 SNIs per Authorization Policy.", + "items": { + "$ref": "AuthzPolicyAuthzRuleStringMatch" + }, + "type": "array" } }, "type": "object" @@ -6961,7 +7077,7 @@ "properties": { "associatedNetworks": { "deprecated": true, - "description": "Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.", + "description": "Output only. Deprecated: List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.", "items": { "type": "string" }, diff --git a/src/apis/networksecurity/v1.ts b/src/apis/networksecurity/v1.ts index 9a6dae4d6a..6b225879de 100644 --- a/src/apis/networksecurity/v1.ts +++ b/src/apis/networksecurity/v1.ts @@ -262,6 +262,10 @@ export namespace networksecurity_v1 { * Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. */ name?: string | null; + /** + * Optional. A list of authorization network rules to match against the incoming request. A policy match occurs when at least one network rule matches the request. At least one network rule is required for Allow or Deny Action if no HTTP rules are provided. Network rules are mutually exclusive with HTTP rules. Limited to 5 rules. + */ + networkRules?: Schema$AuthzPolicyAuthzRule[]; /** * Optional. Immutable. Defines the type of authorization being performed. If not specified, `REQUEST_AUTHZ` is applied. This field cannot be changed once AuthzPolicy is created. */ @@ -445,6 +449,10 @@ export namespace networksecurity_v1 { * Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method. */ paths?: Schema$AuthzPolicyAuthzRuleStringMatch[]; + /** + * Optional. A list of SNIs to match against. The match can be one of exact, prefix, suffix, or contains (substring match). If there is no SNI (i.e. plaintext HTTP traffic), the request will be denied. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 SNIs per Authorization Policy. + */ + snis?: Schema$AuthzPolicyAuthzRuleStringMatch[]; } /** * Describes a set of HTTP headers to match against. @@ -722,7 +730,7 @@ export namespace networksecurity_v1 { */ export interface Schema$FirewallEndpoint { /** - * Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project\}/global/networks/{name\}. + * Output only. Deprecated: List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project\}/global/networks/{name\}. */ associatedNetworks?: string[] | null; /** @@ -1637,6 +1645,40 @@ export namespace networksecurity_v1 { */ unreachable?: string[] | null; } + /** + * Response for `ListSACAttachments` method. + */ + export interface Schema$ListSACAttachmentsResponse { + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * The list of SACAttachments. + */ + sacAttachments?: Schema$SACAttachment[]; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Response for `ListSACRealms` method. + */ + export interface Schema$ListSACRealmsResponse { + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * The list of SACRealms. + */ + sacRealms?: Schema$SACRealm[]; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } /** * Response returned by the ListSecurityProfileGroups method. */ @@ -2102,6 +2144,85 @@ export namespace networksecurity_v1 { */ sources?: Schema$Source[]; } + /** + * Represents a Secure Access Connect (SAC) attachment resource. A Secure Access Connect attachment enables NCC Gateway to process traffic with an SSE product. + */ + export interface Schema$SACAttachment { + /** + * Output only. Timestamp when the attachment was created. + */ + createTime?: string | null; + /** + * Optional. Optional list of labels applied to the resource. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. Resource name, in the form `projects/{project\}/locations/{location\}/sacAttachments/{sac_attachment\}`. + */ + name?: string | null; + /** + * Required. NCC Gateway associated with the attachment. This can be input as an ID or a full resource name. The output always has the form `projects/{project_number\}/locations/{location\}/spokes/{ncc_gateway\}`. + */ + nccGateway?: string | null; + /** + * Required. SAC Realm which owns the attachment. This can be input as an ID or a full resource name. The output always has the form `projects/{project_number\}/locations/{location\}/sacRealms/{sac_realm\}`. + */ + sacRealm?: string | null; + /** + * Output only. State of the attachment. + */ + state?: string | null; + /** + * Output only. Timestamp when the attachment was last updated. + */ + updateTime?: string | null; + } + /** + * Represents a Secure Access Connect (SAC) realm resource. A Secure Access Connect realm establishes a connection between your Google Cloud project and an SSE service. + */ + export interface Schema$SACRealm { + /** + * Output only. Timestamp when the realm was created. + */ + createTime?: string | null; + /** + * Optional. Optional list of labels applied to the resource. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. Resource name, in the form `projects/{project\}/locations/global/sacRealms/{sacRealm\}`. + */ + name?: string | null; + /** + * Output only. Key to be shared with SSE service provider during pairing. + */ + pairingKey?: Schema$SACRealmPairingKey; + /** + * Immutable. SSE service provider associated with the realm. + */ + securityService?: string | null; + /** + * Output only. State of the realm. + */ + state?: string | null; + /** + * Output only. Timestamp when the realm was last updated. + */ + updateTime?: string | null; + } + /** + * Key to be shared with SSE service provider to establish global handshake. + */ + export interface Schema$SACRealmPairingKey { + /** + * Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation. + */ + expireTime?: string | null; + /** + * Output only. Key value. + */ + key?: string | null; + } /** * SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. */ @@ -2457,16 +2578,9 @@ export namespace networksecurity_v1 { this.securityProfiles = new Resource$Organizations$Locations$Securityprofiles(this.context); } - } - - export class Resource$Organizations$Locations$Addressgroups { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Adds items to an address group. + * Gets information about a location. * @example * ```js * // Before running the sample: @@ -2495,30 +2609,19 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.organizations.locations.addressGroups.addItems({ - * // Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. - * addressGroup: - * 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "items": [], - * // "requestId": "my_requestId" - * // } - * }, - * }); + * const res = await networksecurity.organizations.locations.get({ + * // Resource name for the location. + * name: 'organizations/my-organization/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, + * // "displayName": "my_displayName", + * // "labels": {}, + * // "locationId": "my_locationId", * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "name": "my_name" * // } * } * @@ -2534,54 +2637,53 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - addItems( - params: Params$Resource$Organizations$Locations$Addressgroups$Additems, + get( + params: Params$Resource$Organizations$Locations$Get, options: StreamMethodOptions ): Promise>; - addItems( - params?: Params$Resource$Organizations$Locations$Addressgroups$Additems, + get( + params?: Params$Resource$Organizations$Locations$Get, options?: MethodOptions - ): Promise>; - addItems( - params: Params$Resource$Organizations$Locations$Addressgroups$Additems, + ): Promise>; + get( + params: Params$Resource$Organizations$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - addItems( - params: Params$Resource$Organizations$Locations$Addressgroups$Additems, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Organizations$Locations$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - addItems( - params: Params$Resource$Organizations$Locations$Addressgroups$Additems, - callback: BodyResponseCallback + get( + params: Params$Resource$Organizations$Locations$Get, + callback: BodyResponseCallback ): void; - addItems(callback: BodyResponseCallback): void; - addItems( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Addressgroups$Additems - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Addressgroups$Additems; + {}) as Params$Resource$Organizations$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Organizations$Locations$Addressgroups$Additems; + params = {} as Params$Resource$Organizations$Locations$Get; options = {}; } @@ -2595,32 +2697,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+addressGroup}:addItems').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['addressGroup'], - pathParams: ['addressGroup'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Clones items from one address group to another. + * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. * @example * ```js * // Before running the sample: @@ -2649,30 +2748,24 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.organizations.locations.addressGroups.cloneItems({ - * // Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. - * addressGroup: - * 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "requestId": "my_requestId", - * // "sourceAddressGroup": "my_sourceAddressGroup" - * // } - * }, - * }); + * const res = await networksecurity.organizations.locations.list({ + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. + * extraLocationTypes: 'placeholder-value', + * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + * filter: 'placeholder-value', + * // The resource that owns the locations collection, if applicable. + * name: 'organizations/my-organization', + * // The maximum number of results to return. If not set, the service selects a default. + * pageSize: 'placeholder-value', + * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + * pageToken: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "locations": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -2688,54 +2781,55 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - cloneItems( - params: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, + list( + params: Params$Resource$Organizations$Locations$List, options: StreamMethodOptions ): Promise>; - cloneItems( - params?: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, + list( + params?: Params$Resource$Organizations$Locations$List, options?: MethodOptions - ): Promise>; - cloneItems( - params: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, + ): Promise>; + list( + params: Params$Resource$Organizations$Locations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - cloneItems( - params: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Organizations$Locations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - cloneItems( - params: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, - callback: BodyResponseCallback + list( + params: Params$Resource$Organizations$Locations$List, + callback: BodyResponseCallback ): void; - cloneItems(callback: BodyResponseCallback): void; - cloneItems( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Addressgroups$Cloneitems - | BodyResponseCallback + | Params$Resource$Organizations$Locations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Addressgroups$Cloneitems; + {}) as Params$Resource$Organizations$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Organizations$Locations$Addressgroups$Cloneitems; + params = {} as Params$Resource$Organizations$Locations$List; options = {}; } @@ -2749,32 +2843,68 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+addressGroup}:cloneItems').replace( + url: (rootUrl + '/v1/{+name}/locations').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['addressGroup'], - pathParams: ['addressGroup'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Organizations$Locations$Get extends StandardParameters { /** - * Creates a new address group in a given project and location. + * Resource name for the location. + */ + name?: string; + } + export interface Params$Resource$Organizations$Locations$List extends StandardParameters { + /** + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. + */ + extraLocationTypes?: string[]; + /** + * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + */ + filter?: string; + /** + * The resource that owns the locations collection, if applicable. + */ + name?: string; + /** + * The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + } + + export class Resource$Organizations$Locations$Addressgroups { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Adds items to an address group. * @example * ```js * // Before running the sample: @@ -2804,28 +2934,17 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.addressGroups.create({ - * // Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". - * addressGroupId: 'placeholder-value', - * // Required. The parent resource of the AddressGroup. Must be in the format `projects/x/locations/{location\}`. - * parent: 'organizations/my-organization/locations/my-location', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', + * await networksecurity.organizations.locations.addressGroups.addItems({ + * // Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + * addressGroup: + * 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', * * // Request body metadata * requestBody: { * // request body parameters * // { - * // "capacity": 0, - * // "createTime": "my_createTime", - * // "description": "my_description", * // "items": [], - * // "labels": {}, - * // "name": "my_name", - * // "purpose": [], - * // "selfLink": "my_selfLink", - * // "type": "my_type", - * // "updateTime": "my_updateTime" + * // "requestId": "my_requestId" * // } * }, * }); @@ -2853,32 +2972,32 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Organizations$Locations$Addressgroups$Create, + addItems( + params: Params$Resource$Organizations$Locations$Addressgroups$Additems, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Organizations$Locations$Addressgroups$Create, + addItems( + params?: Params$Resource$Organizations$Locations$Addressgroups$Additems, options?: MethodOptions ): Promise>; - create( - params: Params$Resource$Organizations$Locations$Addressgroups$Create, + addItems( + params: Params$Resource$Organizations$Locations$Addressgroups$Additems, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Organizations$Locations$Addressgroups$Create, + addItems( + params: Params$Resource$Organizations$Locations$Addressgroups$Additems, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Organizations$Locations$Addressgroups$Create, + addItems( + params: Params$Resource$Organizations$Locations$Addressgroups$Additems, callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + addItems(callback: BodyResponseCallback): void; + addItems( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Addressgroups$Create + | Params$Resource$Organizations$Locations$Addressgroups$Additems | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -2894,13 +3013,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Addressgroups$Create; + {}) as Params$Resource$Organizations$Locations$Addressgroups$Additems; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Addressgroups$Create; + {} as Params$Resource$Organizations$Locations$Addressgroups$Additems; options = {}; } @@ -2914,7 +3033,7 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/addressGroups').replace( + url: (rootUrl + '/v1/{+addressGroup}:addItems').replace( /([^:]\/)\/+/g, '$1' ), @@ -2924,8 +3043,8 @@ export namespace networksecurity_v1 { options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['addressGroup'], + pathParams: ['addressGroup'], context: this.context, }; if (callback) { @@ -2939,7 +3058,7 @@ export namespace networksecurity_v1 { } /** - * Deletes an address group. + * Clones items from one address group to another. * @example * ```js * // Before running the sample: @@ -2969,11 +3088,19 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.addressGroups.delete({ - * // Required. A name of the AddressGroup to delete. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. - * name: 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', + * await networksecurity.organizations.locations.addressGroups.cloneItems({ + * // Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + * addressGroup: + * 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "requestId": "my_requestId", + * // "sourceAddressGroup": "my_sourceAddressGroup" + * // } + * }, * }); * console.log(res.data); * @@ -2999,32 +3126,32 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Addressgroups$Delete, + cloneItems( + params: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Organizations$Locations$Addressgroups$Delete, + cloneItems( + params?: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Organizations$Locations$Addressgroups$Delete, + cloneItems( + params: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Organizations$Locations$Addressgroups$Delete, + cloneItems( + params: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Organizations$Locations$Addressgroups$Delete, + cloneItems( + params: Params$Resource$Organizations$Locations$Addressgroups$Cloneitems, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + cloneItems(callback: BodyResponseCallback): void; + cloneItems( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Addressgroups$Delete + | Params$Resource$Organizations$Locations$Addressgroups$Cloneitems | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -3040,13 +3167,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Addressgroups$Delete; + {}) as Params$Resource$Organizations$Locations$Addressgroups$Cloneitems; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Addressgroups$Delete; + {} as Params$Resource$Organizations$Locations$Addressgroups$Cloneitems; options = {}; } @@ -3060,15 +3187,18 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+addressGroup}:cloneItems').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['addressGroup'], + pathParams: ['addressGroup'], context: this.context, }; if (callback) { @@ -3082,7 +3212,7 @@ export namespace networksecurity_v1 { } /** - * Gets details of a single address group. + * Creates a new address group in a given project and location. * @example * ```js * // Before running the sample: @@ -3111,24 +3241,41 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.organizations.locations.addressGroups.get({ - * // Required. A name of the AddressGroup to get. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. - * name: 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', - * }); + * const res = + * await networksecurity.organizations.locations.addressGroups.create({ + * // Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". + * addressGroupId: 'placeholder-value', + * // Required. The parent resource of the AddressGroup. Must be in the format `projects/x/locations/{location\}`. + * parent: 'organizations/my-organization/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "capacity": 0, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "items": [], + * // "labels": {}, + * // "name": "my_name", + * // "purpose": [], + * // "selfLink": "my_selfLink", + * // "type": "my_type", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "capacity": 0, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "items": [], - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "purpose": [], - * // "selfLink": "my_selfLink", - * // "type": "my_type", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -3144,54 +3291,54 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Addressgroups$Get, + create( + params: Params$Resource$Organizations$Locations$Addressgroups$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Organizations$Locations$Addressgroups$Get, + create( + params?: Params$Resource$Organizations$Locations$Addressgroups$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Organizations$Locations$Addressgroups$Get, + ): Promise>; + create( + params: Params$Resource$Organizations$Locations$Addressgroups$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Organizations$Locations$Addressgroups$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Organizations$Locations$Addressgroups$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Organizations$Locations$Addressgroups$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Organizations$Locations$Addressgroups$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Addressgroups$Get - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Addressgroups$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Addressgroups$Get; + {}) as Params$Resource$Organizations$Locations$Addressgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Addressgroups$Get; + {} as Params$Resource$Organizations$Locations$Addressgroups$Create; options = {}; } @@ -3205,29 +3352,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/addressGroups').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists address groups in a given project and location. + * Deletes an address group. * @example * ```js * // Before running the sample: @@ -3256,23 +3406,22 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.organizations.locations.addressGroups.list({ - * // Maximum number of AddressGroups to return per call. - * pageSize: 'placeholder-value', - * // The value returned by the last `ListAddressGroupsResponse` Indicates that this is a continuation of a prior `ListAddressGroups` call, and that the system should return the next page of data. - * pageToken: 'placeholder-value', - * // Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/x/locations/{location\}`. - * parent: 'organizations/my-organization/locations/my-location', - * // Optional. If true, allow partial responses for multi-regional Aggregated List requests. - * returnPartialSuccess: 'placeholder-value', - * }); + * const res = + * await networksecurity.organizations.locations.addressGroups.delete({ + * // Required. A name of the AddressGroup to delete. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. + * name: 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "addressGroups": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -3288,58 +3437,54 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Addressgroups$List, + delete( + params: Params$Resource$Organizations$Locations$Addressgroups$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Organizations$Locations$Addressgroups$List, + delete( + params?: Params$Resource$Organizations$Locations$Addressgroups$Delete, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Organizations$Locations$Addressgroups$List, + ): Promise>; + delete( + params: Params$Resource$Organizations$Locations$Addressgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Organizations$Locations$Addressgroups$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Organizations$Locations$Addressgroups$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Organizations$Locations$Addressgroups$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Organizations$Locations$Addressgroups$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Addressgroups$List - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Addressgroups$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Addressgroups$List; + {}) as Params$Resource$Organizations$Locations$Addressgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Addressgroups$List; + {} as Params$Resource$Organizations$Locations$Addressgroups$Delete; options = {}; } @@ -3353,32 +3498,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/addressGroups').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists references of an address group. + * Gets details of a single address group. * @example * ```js * // Before running the sample: @@ -3407,22 +3549,24 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.organizations.locations.addressGroups.listReferences({ - * // Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. - * addressGroup: - * 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', - * // The maximum number of references to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's next_page_token to determine if there are more AddressGroupUsers left to be queried. - * pageSize: 'placeholder-value', - * // The next_page_token value returned from a previous List request, if any. - * pageToken: 'placeholder-value', - * }); + * const res = await networksecurity.organizations.locations.addressGroups.get({ + * // Required. A name of the AddressGroup to get. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. + * name: 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', + * }); * console.log(res.data); * * // Example response * // { - * // "addressGroupReferences": [], - * // "nextPageToken": "my_nextPageToken" + * // "capacity": 0, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "items": [], + * // "labels": {}, + * // "name": "my_name", + * // "purpose": [], + * // "selfLink": "my_selfLink", + * // "type": "my_type", + * // "updateTime": "my_updateTime" * // } * } * @@ -3438,62 +3582,54 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - listReferences( - params: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, + get( + params: Params$Resource$Organizations$Locations$Addressgroups$Get, options: StreamMethodOptions ): Promise>; - listReferences( - params?: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, + get( + params?: Params$Resource$Organizations$Locations$Addressgroups$Get, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - listReferences( - params: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, + ): Promise>; + get( + params: Params$Resource$Organizations$Locations$Addressgroups$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - listReferences( - params: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - listReferences( - params: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, - callback: BodyResponseCallback + get( + params: Params$Resource$Organizations$Locations$Addressgroups$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - listReferences( - callback: BodyResponseCallback + get( + params: Params$Resource$Organizations$Locations$Addressgroups$Get, + callback: BodyResponseCallback ): void; - listReferences( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Addressgroups$Listreferences - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Addressgroups$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Addressgroups$Listreferences; + {}) as Params$Resource$Organizations$Locations$Addressgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Addressgroups$Listreferences; + {} as Params$Resource$Organizations$Locations$Addressgroups$Get; options = {}; } @@ -3507,34 +3643,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+addressGroup}:listReferences').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['addressGroup'], - pathParams: ['addressGroup'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates parameters of an address group. + * Lists address groups in a given project and location. * @example * ```js * // Before running the sample: @@ -3563,42 +3694,23 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.organizations.locations.addressGroups.patch( - * { - * // Required. Name of the AddressGroup resource. It matches pattern `projects/x/locations/{location\}/addressGroups/`. - * name: 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "capacity": 0, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "items": [], - * // "labels": {}, - * // "name": "my_name", - * // "purpose": [], - * // "selfLink": "my_selfLink", - * // "type": "my_type", - * // "updateTime": "my_updateTime" - * // } - * }, - * }, - * ); + * const res = await networksecurity.organizations.locations.addressGroups.list({ + * // Maximum number of AddressGroups to return per call. + * pageSize: 'placeholder-value', + * // The value returned by the last `ListAddressGroupsResponse` Indicates that this is a continuation of a prior `ListAddressGroups` call, and that the system should return the next page of data. + * pageToken: 'placeholder-value', + * // Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/x/locations/{location\}`. + * parent: 'organizations/my-organization/locations/my-location', + * // Optional. If true, allow partial responses for multi-regional Aggregated List requests. + * returnPartialSuccess: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "addressGroups": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -3614,54 +3726,58 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Organizations$Locations$Addressgroups$Patch, + list( + params: Params$Resource$Organizations$Locations$Addressgroups$List, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Organizations$Locations$Addressgroups$Patch, + list( + params?: Params$Resource$Organizations$Locations$Addressgroups$List, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Organizations$Locations$Addressgroups$Patch, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + ): Promise>; + list( + params: Params$Resource$Organizations$Locations$Addressgroups$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Organizations$Locations$Addressgroups$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Organizations$Locations$Addressgroups$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Organizations$Locations$Addressgroups$Patch, - callback: BodyResponseCallback + list( + params: Params$Resource$Organizations$Locations$Addressgroups$List, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Addressgroups$Patch - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Addressgroups$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Addressgroups$Patch; + {}) as Params$Resource$Organizations$Locations$Addressgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Addressgroups$Patch; + {} as Params$Resource$Organizations$Locations$Addressgroups$List; options = {}; } @@ -3675,29 +3791,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: (rootUrl + '/v1/{+parent}/addressGroups').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Removes items from an address group. + * Lists references of an address group. * @example * ```js * // Before running the sample: @@ -3727,29 +3846,21 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.addressGroups.removeItems({ - * // Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + * await networksecurity.organizations.locations.addressGroups.listReferences({ + * // Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. * addressGroup: * 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "items": [], - * // "requestId": "my_requestId" - * // } - * }, + * // The maximum number of references to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's next_page_token to determine if there are more AddressGroupUsers left to be queried. + * pageSize: 'placeholder-value', + * // The next_page_token value returned from a previous List request, if any. + * pageToken: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "addressGroupReferences": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -3765,54 +3876,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - removeItems( - params: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, + listReferences( + params: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, options: StreamMethodOptions ): Promise>; - removeItems( - params?: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, + listReferences( + params?: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, options?: MethodOptions - ): Promise>; - removeItems( - params: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, + ): Promise< + GaxiosResponseWithHTTP2 + >; + listReferences( + params: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - removeItems( - params: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + listReferences( + params: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - removeItems( - params: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, - callback: BodyResponseCallback + listReferences( + params: Params$Resource$Organizations$Locations$Addressgroups$Listreferences, + callback: BodyResponseCallback ): void; - removeItems(callback: BodyResponseCallback): void; - removeItems( + listReferences( + callback: BodyResponseCallback + ): void; + listReferences( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Addressgroups$Removeitems - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Addressgroups$Listreferences + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Addressgroups$Removeitems; + {}) as Params$Resource$Organizations$Locations$Addressgroups$Listreferences; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Addressgroups$Removeitems; + {} as Params$Resource$Organizations$Locations$Addressgroups$Listreferences; options = {}; } @@ -3826,11 +3945,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+addressGroup}:removeItems').replace( + url: (rootUrl + '/v1/{+addressGroup}:listReferences').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options @@ -3841,144 +3960,182 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } - } - - export interface Params$Resource$Organizations$Locations$Addressgroups$Additems extends StandardParameters { - /** - * Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. - */ - addressGroup?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$AddAddressGroupItemsRequest; - } - export interface Params$Resource$Organizations$Locations$Addressgroups$Cloneitems extends StandardParameters { - /** - * Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. - */ - addressGroup?: string; /** - * Request body metadata - */ - requestBody?: Schema$CloneAddressGroupItemsRequest; - } - export interface Params$Resource$Organizations$Locations$Addressgroups$Create extends StandardParameters { - /** - * Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". - */ - addressGroupId?: string; - /** - * Required. The parent resource of the AddressGroup. Must be in the format `projects/x/locations/{location\}`. + * Updates parameters of an address group. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await networksecurity.organizations.locations.addressGroups.patch( + * { + * // Required. Name of the AddressGroup resource. It matches pattern `projects/x/locations/{location\}/addressGroups/`. + * name: 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "capacity": 0, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "items": [], + * // "labels": {}, + * // "name": "my_name", + * // "purpose": [], + * // "selfLink": "my_selfLink", + * // "type": "my_type", + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$AddressGroup; - } - export interface Params$Resource$Organizations$Locations$Addressgroups$Delete extends StandardParameters { - /** - * Required. A name of the AddressGroup to delete. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Organizations$Locations$Addressgroups$Get extends StandardParameters { - /** - * Required. A name of the AddressGroup to get. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. - */ - name?: string; - } - export interface Params$Resource$Organizations$Locations$Addressgroups$List extends StandardParameters { - /** - * Maximum number of AddressGroups to return per call. - */ - pageSize?: number; - /** - * The value returned by the last `ListAddressGroupsResponse` Indicates that this is a continuation of a prior `ListAddressGroups` call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/x/locations/{location\}`. - */ - parent?: string; - /** - * Optional. If true, allow partial responses for multi-regional Aggregated List requests. - */ - returnPartialSuccess?: boolean; - } - export interface Params$Resource$Organizations$Locations$Addressgroups$Listreferences extends StandardParameters { - /** - * Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. - */ - addressGroup?: string; - /** - * The maximum number of references to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's next_page_token to determine if there are more AddressGroupUsers left to be queried. - */ - pageSize?: number; - /** - * The next_page_token value returned from a previous List request, if any. - */ - pageToken?: string; - } - export interface Params$Resource$Organizations$Locations$Addressgroups$Patch extends StandardParameters { - /** - * Required. Name of the AddressGroup resource. It matches pattern `projects/x/locations/{location\}/addressGroups/`. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; + patch( + params: Params$Resource$Organizations$Locations$Addressgroups$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Organizations$Locations$Addressgroups$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Organizations$Locations$Addressgroups$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Organizations$Locations$Addressgroups$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Organizations$Locations$Addressgroups$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Organizations$Locations$Addressgroups$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Organizations$Locations$Addressgroups$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; - /** - * Request body metadata - */ - requestBody?: Schema$AddressGroup; - } - export interface Params$Resource$Organizations$Locations$Addressgroups$Removeitems extends StandardParameters { - /** - * Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. - */ - addressGroup?: string; + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Organizations$Locations$Addressgroups$Patch; + options = {}; + } - /** - * Request body metadata - */ - requestBody?: Schema$RemoveAddressGroupItemsRequest; - } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } - export class Resource$Organizations$Locations$Firewallendpoints { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + const rootUrl = + options.rootUrl || 'https://networksecurity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } } /** - * Creates a new FirewallEndpoint in a given organization and location. + * Removes items from an address group. * @example * ```js * // Before running the sample: @@ -4008,31 +4165,17 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.firewallEndpoints.create({ - * // Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC. - * firewallEndpointId: 'placeholder-value', - * // Required. Value for parent. - * parent: 'organizations/my-organization/locations/my-location', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', + * await networksecurity.organizations.locations.addressGroups.removeItems({ + * // Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + * addressGroup: + * 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', * * // Request body metadata * requestBody: { * // request body parameters * // { - * // "associatedNetworks": [], - * // "associations": [], - * // "billingProjectId": "my_billingProjectId", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "endpointSettings": {}, - * // "labels": {}, - * // "name": "my_name", - * // "reconciling": false, - * // "satisfiesPzi": false, - * // "satisfiesPzs": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" + * // "items": [], + * // "requestId": "my_requestId" * // } * }, * }); @@ -4060,32 +4203,32 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Create, + removeItems( + params: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Organizations$Locations$Firewallendpoints$Create, + removeItems( + params?: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, options?: MethodOptions ): Promise>; - create( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Create, + removeItems( + params: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Create, + removeItems( + params: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Create, + removeItems( + params: Params$Resource$Organizations$Locations$Addressgroups$Removeitems, callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + removeItems(callback: BodyResponseCallback): void; + removeItems( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Firewallendpoints$Create + | Params$Resource$Organizations$Locations$Addressgroups$Removeitems | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -4101,13 +4244,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Create; + {}) as Params$Resource$Organizations$Locations$Addressgroups$Removeitems; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Firewallendpoints$Create; + {} as Params$Resource$Organizations$Locations$Addressgroups$Removeitems; options = {}; } @@ -4121,7 +4264,7 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/firewallEndpoints').replace( + url: (rootUrl + '/v1/{+addressGroup}:removeItems').replace( /([^:]\/)\/+/g, '$1' ), @@ -4131,8 +4274,8 @@ export namespace networksecurity_v1 { options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['addressGroup'], + pathParams: ['addressGroup'], context: this.context, }; if (callback) { @@ -4146,7 +4289,7 @@ export namespace networksecurity_v1 { } /** - * Deletes a single org Endpoint. + * 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. * @example * ```js * // Before running the sample: @@ -4176,21 +4319,26 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.firewallEndpoints.delete({ - * // Required. Name of the resource - * name: 'organizations/my-organization/locations/my-location/firewallEndpoints/my-firewallEndpoint', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * }); + * await networksecurity.organizations.locations.addressGroups.testIamPermissions( + * { + * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "permissions": [] * // } * } * @@ -4206,54 +4354,62 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Firewallendpoints$Delete, + testIamPermissions( + params: Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, + testIamPermissions( + params?: Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, + ): Promise< + GaxiosResponseWithHTTP2 + >; + testIamPermissions( + params: Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Firewallendpoints$Delete - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Delete; + {}) as Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Firewallendpoints$Delete; + {} as Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions; options = {}; } @@ -4267,29 +4423,172 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } + } + export interface Params$Resource$Organizations$Locations$Addressgroups$Additems extends StandardParameters { /** - * Gets details of a single org Endpoint. + * Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + */ + addressGroup?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AddAddressGroupItemsRequest; + } + export interface Params$Resource$Organizations$Locations$Addressgroups$Cloneitems extends StandardParameters { + /** + * Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + */ + addressGroup?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CloneAddressGroupItemsRequest; + } + export interface Params$Resource$Organizations$Locations$Addressgroups$Create extends StandardParameters { + /** + * Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". + */ + addressGroupId?: string; + /** + * Required. The parent resource of the AddressGroup. Must be in the format `projects/x/locations/{location\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AddressGroup; + } + export interface Params$Resource$Organizations$Locations$Addressgroups$Delete extends StandardParameters { + /** + * Required. A name of the AddressGroup to delete. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Organizations$Locations$Addressgroups$Get extends StandardParameters { + /** + * Required. A name of the AddressGroup to get. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. + */ + name?: string; + } + export interface Params$Resource$Organizations$Locations$Addressgroups$List extends StandardParameters { + /** + * Maximum number of AddressGroups to return per call. + */ + pageSize?: number; + /** + * The value returned by the last `ListAddressGroupsResponse` Indicates that this is a continuation of a prior `ListAddressGroups` call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/x/locations/{location\}`. + */ + parent?: string; + /** + * Optional. If true, allow partial responses for multi-regional Aggregated List requests. + */ + returnPartialSuccess?: boolean; + } + export interface Params$Resource$Organizations$Locations$Addressgroups$Listreferences extends StandardParameters { + /** + * Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + */ + addressGroup?: string; + /** + * The maximum number of references to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's next_page_token to determine if there are more AddressGroupUsers left to be queried. + */ + pageSize?: number; + /** + * The next_page_token value returned from a previous List request, if any. + */ + pageToken?: string; + } + export interface Params$Resource$Organizations$Locations$Addressgroups$Patch extends StandardParameters { + /** + * Required. Name of the AddressGroup resource. It matches pattern `projects/x/locations/{location\}/addressGroups/`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AddressGroup; + } + export interface Params$Resource$Organizations$Locations$Addressgroups$Removeitems extends StandardParameters { + /** + * Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + */ + addressGroup?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RemoveAddressGroupItemsRequest; + } + export interface Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleIamV1TestIamPermissionsRequest; + } + + export class Resource$Organizations$Locations$Firewallendpoints { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new FirewallEndpoint in a given organization and location. * @example * ```js * // Before running the sample: @@ -4319,27 +4618,43 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.firewallEndpoints.get({ - * // Required. Name of the resource - * name: 'organizations/my-organization/locations/my-location/firewallEndpoints/my-firewallEndpoint', + * await networksecurity.organizations.locations.firewallEndpoints.create({ + * // Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC. + * firewallEndpointId: 'placeholder-value', + * // Required. Value for parent. + * parent: 'organizations/my-organization/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "associatedNetworks": [], + * // "associations": [], + * // "billingProjectId": "my_billingProjectId", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "endpointSettings": {}, + * // "labels": {}, + * // "name": "my_name", + * // "reconciling": false, + * // "satisfiesPzi": false, + * // "satisfiesPzs": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "associatedNetworks": [], - * // "associations": [], - * // "billingProjectId": "my_billingProjectId", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "endpointSettings": {}, - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "reconciling": false, - * // "satisfiesPzi": false, - * // "satisfiesPzs": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -4355,54 +4670,54 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Firewallendpoints$Get, + create( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Organizations$Locations$Firewallendpoints$Get, - options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Get, + create( + params?: Params$Resource$Organizations$Locations$Firewallendpoints$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Firewallendpoints$Get - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Firewallendpoints$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Get; + {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Firewallendpoints$Get; + {} as Params$Resource$Organizations$Locations$Firewallendpoints$Create; options = {}; } @@ -4416,29 +4731,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/firewallEndpoints').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists FirewallEndpoints in a given organization and location. + * Deletes a single org Endpoint. * @example * ```js * // Before running the sample: @@ -4468,25 +4786,21 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.firewallEndpoints.list({ - * // Optional. Filtering results - * filter: 'placeholder-value', - * // Hint for how to order the results - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - * pageSize: 'placeholder-value', - * // A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. Parent value for ListEndpointsRequest - * parent: 'organizations/my-organization/locations/my-location', + * await networksecurity.organizations.locations.firewallEndpoints.delete({ + * // Required. Name of the resource + * name: 'organizations/my-organization/locations/my-location/firewallEndpoints/my-firewallEndpoint', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "firewallEndpoints": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -4502,58 +4816,54 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Firewallendpoints$List, + delete( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Organizations$Locations$Firewallendpoints$List, + delete( + params?: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Organizations$Locations$Firewallendpoints$List, + ): Promise>; + delete( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Organizations$Locations$Firewallendpoints$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Organizations$Locations$Firewallendpoints$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Firewallendpoints$List - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Firewallendpoints$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Firewallendpoints$List; + {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Firewallendpoints$List; + {} as Params$Resource$Organizations$Locations$Firewallendpoints$Delete; options = {}; } @@ -4567,34 +4877,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/firewallEndpoints').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Update a single org Endpoint. + * Gets details of a single org Endpoint. * @example * ```js * // Before running the sample: @@ -4624,43 +4929,27 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.firewallEndpoints.patch({ - * // Immutable. Identifier. Name of resource. + * await networksecurity.organizations.locations.firewallEndpoints.get({ + * // Required. Name of the resource * name: 'organizations/my-organization/locations/my-location/firewallEndpoints/my-firewallEndpoint', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "associatedNetworks": [], - * // "associations": [], - * // "billingProjectId": "my_billingProjectId", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "endpointSettings": {}, - * // "labels": {}, - * // "name": "my_name", - * // "reconciling": false, - * // "satisfiesPzi": false, - * // "satisfiesPzs": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "associatedNetworks": [], + * // "associations": [], + * // "billingProjectId": "my_billingProjectId", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "endpointSettings": {}, + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "reconciling": false, + * // "satisfiesPzi": false, + * // "satisfiesPzs": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" * // } * } * @@ -4676,54 +4965,54 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, + get( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Get, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, + get( + params?: Params$Resource$Organizations$Locations$Firewallendpoints$Get, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, + ): Promise>; + get( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, - callback: BodyResponseCallback + get( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Get, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Firewallendpoints$Patch - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Firewallendpoints$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Patch; + {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Firewallendpoints$Patch; + {} as Params$Resource$Organizations$Locations$Firewallendpoints$Get; options = {}; } @@ -4738,7 +5027,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -4749,101 +5038,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - export interface Params$Resource$Organizations$Locations$Firewallendpoints$Create extends StandardParameters { - /** - * Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC. - */ - firewallEndpointId?: string; /** - * Required. Value for parent. - */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$FirewallEndpoint; - } - export interface Params$Resource$Organizations$Locations$Firewallendpoints$Delete extends StandardParameters { - /** - * Required. Name of the resource - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Organizations$Locations$Firewallendpoints$Get extends StandardParameters { - /** - * Required. Name of the resource - */ - name?: string; - } - export interface Params$Resource$Organizations$Locations$Firewallendpoints$List extends StandardParameters { - /** - * Optional. Filtering results - */ - filter?: string; - /** - * Hint for how to order the results - */ - orderBy?: string; - /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - */ - pageSize?: number; - /** - * A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. Parent value for ListEndpointsRequest - */ - parent?: string; - } - export interface Params$Resource$Organizations$Locations$Firewallendpoints$Patch extends StandardParameters { - /** - * Immutable. Identifier. Name of resource. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$FirewallEndpoint; - } - - export class Resource$Organizations$Locations$Operations { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. + * Lists FirewallEndpoints in a given organization and location. * @example * ```js * // Before running the sample: @@ -4872,20 +5077,27 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.organizations.locations.operations.cancel({ - * // The name of the operation resource to be cancelled. - * name: 'organizations/my-organization/locations/my-location/operations/my-operation', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // {} - * }, - * }); + * const res = + * await networksecurity.organizations.locations.firewallEndpoints.list({ + * // Optional. Filtering results + * filter: 'placeholder-value', + * // Hint for how to order the results + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + * pageSize: 'placeholder-value', + * // A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListEndpointsRequest + * parent: 'organizations/my-organization/locations/my-location', + * }); * console.log(res.data); * * // Example response - * // {} + * // { + * // "firewallEndpoints": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] + * // } * } * * main().catch(e => { @@ -4900,54 +5112,58 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - cancel( - params: Params$Resource$Organizations$Locations$Operations$Cancel, + list( + params: Params$Resource$Organizations$Locations$Firewallendpoints$List, options: StreamMethodOptions ): Promise>; - cancel( - params?: Params$Resource$Organizations$Locations$Operations$Cancel, + list( + params?: Params$Resource$Organizations$Locations$Firewallendpoints$List, options?: MethodOptions - ): Promise>; - cancel( - params: Params$Resource$Organizations$Locations$Operations$Cancel, + ): Promise>; + list( + params: Params$Resource$Organizations$Locations$Firewallendpoints$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - cancel( - params: Params$Resource$Organizations$Locations$Operations$Cancel, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Organizations$Locations$Firewallendpoints$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - cancel( - params: Params$Resource$Organizations$Locations$Operations$Cancel, - callback: BodyResponseCallback + list( + params: Params$Resource$Organizations$Locations$Firewallendpoints$List, + callback: BodyResponseCallback ): void; - cancel(callback: BodyResponseCallback): void; - cancel( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Operations$Cancel - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Firewallendpoints$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Operations$Cancel; + {}) as Params$Resource$Organizations$Locations$Firewallendpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Operations$Cancel; + {} as Params$Resource$Organizations$Locations$Firewallendpoints$List; options = {}; } @@ -4961,29 +5177,34 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), - method: 'POST', + url: (rootUrl + '/v1/{+parent}/firewallEndpoints').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + * Update a single org Endpoint. * @example * ```js * // Before running the sample: @@ -5012,14 +5233,45 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.organizations.locations.operations.delete({ - * // The name of the operation resource to be deleted. - * name: 'organizations/my-organization/locations/my-location/operations/my-operation', - * }); + * const res = + * await networksecurity.organizations.locations.firewallEndpoints.patch({ + * // Immutable. Identifier. Name of resource. + * name: 'organizations/my-organization/locations/my-location/firewallEndpoints/my-firewallEndpoint', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "associatedNetworks": [], + * // "associations": [], + * // "billingProjectId": "my_billingProjectId", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "endpointSettings": {}, + * // "labels": {}, + * // "name": "my_name", + * // "reconciling": false, + * // "satisfiesPzi": false, + * // "satisfiesPzs": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); * console.log(res.data); * * // Example response - * // {} + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } * } * * main().catch(e => { @@ -5034,54 +5286,54 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Operations$Delete, + patch( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Organizations$Locations$Operations$Delete, + patch( + params?: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Organizations$Locations$Operations$Delete, + ): Promise>; + patch( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Organizations$Locations$Operations$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Organizations$Locations$Operations$Delete, - callback: BodyResponseCallback + patch( + params: Params$Resource$Organizations$Locations$Firewallendpoints$Patch, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Operations$Delete - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Firewallendpoints$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Operations$Delete; + {}) as Params$Resource$Organizations$Locations$Firewallendpoints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Operations$Delete; + {} as Params$Resource$Organizations$Locations$Firewallendpoints$Patch; options = {}; } @@ -5096,7 +5348,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'PATCH', apiVersion: '', }, options @@ -5107,17 +5359,101 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Organizations$Locations$Firewallendpoints$Create extends StandardParameters { /** - * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + * Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC. + */ + firewallEndpointId?: string; + /** + * Required. Value for parent. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FirewallEndpoint; + } + export interface Params$Resource$Organizations$Locations$Firewallendpoints$Delete extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Organizations$Locations$Firewallendpoints$Get extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + } + export interface Params$Resource$Organizations$Locations$Firewallendpoints$List extends StandardParameters { + /** + * Optional. Filtering results + */ + filter?: string; + /** + * Hint for how to order the results + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. Parent value for ListEndpointsRequest + */ + parent?: string; + } + export interface Params$Resource$Organizations$Locations$Firewallendpoints$Patch extends StandardParameters { + /** + * Immutable. Identifier. Name of resource. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FirewallEndpoint; + } + + export class Resource$Organizations$Locations$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. * @example * ```js * // Before running the sample: @@ -5146,20 +5482,20 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.organizations.locations.operations.get({ - * // The name of the operation resource. + * const res = await networksecurity.organizations.locations.operations.cancel({ + * // The name of the operation resource to be cancelled. * name: 'organizations/my-organization/locations/my-location/operations/my-operation', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // {} + * }, * }); * console.log(res.data); * * // Example response - * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} - * // } + * // {} * } * * main().catch(e => { @@ -5174,53 +5510,54 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Operations$Get, + cancel( + params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Organizations$Locations$Operations$Get, + cancel( + params?: Params$Resource$Organizations$Locations$Operations$Cancel, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Organizations$Locations$Operations$Get, + ): Promise>; + cancel( + params: Params$Resource$Organizations$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Organizations$Locations$Operations$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + cancel( + params: Params$Resource$Organizations$Locations$Operations$Cancel, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Organizations$Locations$Operations$Get, - callback: BodyResponseCallback + cancel( + params: Params$Resource$Organizations$Locations$Operations$Cancel, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + cancel(callback: BodyResponseCallback): void; + cancel( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Operations$Get - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Operations$Cancel + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Operations$Get; + {}) as Params$Resource$Organizations$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Organizations$Locations$Operations$Get; + params = + {} as Params$Resource$Organizations$Locations$Operations$Cancel; options = {}; } @@ -5234,8 +5571,8 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', apiVersion: '', }, options @@ -5246,17 +5583,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. + * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. * @example * ```js * // Before running the sample: @@ -5285,26 +5622,14 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.organizations.locations.operations.list({ - * // The standard list filter. - * filter: 'placeholder-value', - * // The name of the operation's parent resource. - * name: 'organizations/my-organization/locations/my-location', - * // The standard list page size. - * pageSize: 'placeholder-value', - * // The standard list page token. - * pageToken: 'placeholder-value', - * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. - * returnPartialSuccess: 'placeholder-value', + * const res = await networksecurity.organizations.locations.operations.delete({ + * // The name of the operation resource to be deleted. + * name: 'organizations/my-organization/locations/my-location/operations/my-operation', * }); * console.log(res.data); * * // Example response - * // { - * // "nextPageToken": "my_nextPageToken", - * // "operations": [], - * // "unreachable": [] - * // } + * // {} * } * * main().catch(e => { @@ -5319,55 +5644,54 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Operations$List, + delete( + params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Organizations$Locations$Operations$List, + delete( + params?: Params$Resource$Organizations$Locations$Operations$Delete, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Organizations$Locations$Operations$List, + ): Promise>; + delete( + params: Params$Resource$Organizations$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Organizations$Locations$Operations$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Organizations$Locations$Operations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Organizations$Locations$Operations$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Organizations$Locations$Operations$Delete, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Operations$List - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Operations$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Operations$List; + {}) as Params$Resource$Organizations$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Organizations$Locations$Operations$List; + params = + {} as Params$Resource$Organizations$Locations$Operations$Delete; options = {}; } @@ -5381,11 +5705,8 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}/operations').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options @@ -5396,70 +5717,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - export interface Params$Resource$Organizations$Locations$Operations$Cancel extends StandardParameters { /** - * The name of the operation resource to be cancelled. - */ - name?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$CancelOperationRequest; - } - export interface Params$Resource$Organizations$Locations$Operations$Delete extends StandardParameters { - /** - * The name of the operation resource to be deleted. - */ - name?: string; - } - export interface Params$Resource$Organizations$Locations$Operations$Get extends StandardParameters { - /** - * The name of the operation resource. - */ - name?: string; - } - export interface Params$Resource$Organizations$Locations$Operations$List extends StandardParameters { - /** - * The standard list filter. - */ - filter?: string; - /** - * The name of the operation's parent resource. - */ - name?: string; - /** - * The standard list page size. - */ - pageSize?: number; - /** - * The standard list page token. - */ - pageToken?: string; - /** - * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. - */ - returnPartialSuccess?: boolean; - } - - export class Resource$Organizations$Locations$Securityprofilegroups { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Creates a new SecurityProfileGroup in a given organization and location. + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. * @example * ```js * // Before running the sample: @@ -5488,31 +5756,10 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.organizations.locations.securityProfileGroups.create({ - * // Required. The parent resource of the SecurityProfileGroup. Must be in the format `projects|organizations/x/locations/{location\}`. - * parent: 'organizations/my-organization/locations/my-location', - * // Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1". - * securityProfileGroupId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "customInterceptProfile": "my_customInterceptProfile", - * // "customMirroringProfile": "my_customMirroringProfile", - * // "dataPathId": "my_dataPathId", - * // "description": "my_description", - * // "etag": "my_etag", - * // "labels": {}, - * // "name": "my_name", - * // "threatPreventionProfile": "my_threatPreventionProfile", - * // "updateTime": "my_updateTime", - * // "urlFilteringProfile": "my_urlFilteringProfile" - * // } - * }, - * }); + * const res = await networksecurity.organizations.locations.operations.get({ + * // The name of the operation resource. + * name: 'organizations/my-organization/locations/my-location/operations/my-operation', + * }); * console.log(res.data); * * // Example response @@ -5537,32 +5784,32 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, + get( + params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, + get( + params?: Params$Resource$Organizations$Locations$Operations$Get, options?: MethodOptions ): Promise>; - create( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, + get( + params: Params$Resource$Organizations$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, + get( + params: Params$Resource$Organizations$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, + get( + params: Params$Resource$Organizations$Locations$Operations$Get, callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Securityprofilegroups$Create + | Params$Resource$Organizations$Locations$Operations$Get | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -5578,13 +5825,12 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Create; + {}) as Params$Resource$Organizations$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Organizations$Locations$Securityprofilegroups$Create; + params = {} as Params$Resource$Organizations$Locations$Operations$Get; options = {}; } @@ -5598,18 +5844,15 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/securityProfileGroups').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { @@ -5623,7 +5866,7 @@ export namespace networksecurity_v1 { } /** - * Deletes a single SecurityProfileGroup. + * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. * @example * ```js * // Before running the sample: @@ -5652,22 +5895,25 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.organizations.locations.securityProfileGroups.delete({ - * // Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. - * etag: 'placeholder-value', - * // Required. A name of the SecurityProfileGroup to delete. Must be in the format `projects|organizations/x/locations/{location\}/securityProfileGroups/{security_profile_group\}`. - * name: 'organizations/my-organization/locations/my-location/securityProfileGroups/my-securityProfileGroup', - * }); + * const res = await networksecurity.organizations.locations.operations.list({ + * // The standard list filter. + * filter: 'placeholder-value', + * // The name of the operation's parent resource. + * name: 'organizations/my-organization/locations/my-location', + * // The standard list page size. + * pageSize: 'placeholder-value', + * // The standard list page token. + * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "nextPageToken": "my_nextPageToken", + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -5683,54 +5929,55 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Securityprofilegroups$Delete, + list( + params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, + list( + params?: Params$Resource$Organizations$Locations$Operations$List, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, + ): Promise>; + list( + params: Params$Resource$Organizations$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Organizations$Locations$Operations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, - callback: BodyResponseCallback + list( + params: Params$Resource$Organizations$Locations$Operations$List, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Securityprofilegroups$Delete - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Operations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Delete; + {}) as Params$Resource$Organizations$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Organizations$Locations$Securityprofilegroups$Delete; + params = {} as Params$Resource$Organizations$Locations$Operations$List; options = {}; } @@ -5744,8 +5991,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+name}/operations').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options @@ -5756,166 +6006,70 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Organizations$Locations$Operations$Cancel extends StandardParameters { /** - * Gets details of a single SecurityProfileGroup. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const networksecurity = google.networksecurity('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networksecurity.organizations.locations.securityProfileGroups.get({ - * // Required. A name of the SecurityProfileGroup to get. Must be in the format `projects|organizations/x/locations/{location\}/securityProfileGroups/{security_profile_group\}`. - * name: 'organizations/my-organization/locations/my-location/securityProfileGroups/my-securityProfileGroup', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "createTime": "my_createTime", - * // "customInterceptProfile": "my_customInterceptProfile", - * // "customMirroringProfile": "my_customMirroringProfile", - * // "dataPathId": "my_dataPathId", - * // "description": "my_description", - * // "etag": "my_etag", - * // "labels": {}, - * // "name": "my_name", - * // "threatPreventionProfile": "my_threatPreventionProfile", - * // "updateTime": "my_updateTime", - * // "urlFilteringProfile": "my_urlFilteringProfile" - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @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. + * The name of the operation resource to be cancelled. */ - get( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, - options: StreamMethodOptions - ): Promise>; - get( - params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, - options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, - callback: BodyResponseCallback - ): void; - get(callback: BodyResponseCallback): void; - get( - paramsOrCallback?: - | Params$Resource$Organizations$Locations$Securityprofilegroups$Get - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Get; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Organizations$Locations$Securityprofilegroups$Get; - options = {}; - } + name?: string; - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } + /** + * Request body metadata + */ + requestBody?: Schema$CancelOperationRequest; + } + export interface Params$Resource$Organizations$Locations$Operations$Delete extends StandardParameters { + /** + * The name of the operation resource to be deleted. + */ + name?: string; + } + export interface Params$Resource$Organizations$Locations$Operations$Get extends StandardParameters { + /** + * The name of the operation resource. + */ + name?: string; + } + export interface Params$Resource$Organizations$Locations$Operations$List extends StandardParameters { + /** + * The standard list filter. + */ + filter?: string; + /** + * The name of the operation's parent resource. + */ + name?: string; + /** + * The standard list page size. + */ + pageSize?: number; + /** + * The standard list page token. + */ + pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; + } - const rootUrl = - options.rootUrl || 'https://networksecurity.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); - } + export class Resource$Organizations$Locations$Securityprofilegroups { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; } /** - * Lists SecurityProfileGroups in a given organization and location. + * Creates a new SecurityProfileGroup in a given organization and location. * @example * ```js * // Before running the sample: @@ -5945,20 +6099,39 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.securityProfileGroups.list({ - * // Optional. Maximum number of SecurityProfileGroups to return per call. - * pageSize: 'placeholder-value', - * // Optional. The value returned by the last `ListSecurityProfileGroupsResponse` Indicates that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the system should return the next page of data. - * pageToken: 'placeholder-value', - * // Required. The project or organization and location from which the SecurityProfileGroups should be listed, specified in the format `projects|organizations/x/locations/{location\}`. + * await networksecurity.organizations.locations.securityProfileGroups.create({ + * // Required. The parent resource of the SecurityProfileGroup. Must be in the format `projects|organizations/x/locations/{location\}`. * parent: 'organizations/my-organization/locations/my-location', + * // Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1". + * securityProfileGroupId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "customInterceptProfile": "my_customInterceptProfile", + * // "customMirroringProfile": "my_customMirroringProfile", + * // "dataPathId": "my_dataPathId", + * // "description": "my_description", + * // "etag": "my_etag", + * // "labels": {}, + * // "name": "my_name", + * // "threatPreventionProfile": "my_threatPreventionProfile", + * // "updateTime": "my_updateTime", + * // "urlFilteringProfile": "my_urlFilteringProfile" + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "nextPageToken": "my_nextPageToken", - * // "securityProfileGroups": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -5974,62 +6147,54 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Securityprofilegroups$List, + create( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Organizations$Locations$Securityprofilegroups$List, + create( + params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$List, + ): Promise>; + create( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$List, - callback: BodyResponseCallback + create( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + create( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Create, + callback: BodyResponseCallback ): void; - list( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Securityprofilegroups$List - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Securityprofilegroups$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$List; + {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Securityprofilegroups$List; + {} as Params$Resource$Organizations$Locations$Securityprofilegroups$Create; options = {}; } @@ -6047,7 +6212,7 @@ export namespace networksecurity_v1 { /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options @@ -6058,19 +6223,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single SecurityProfileGroup. + * Deletes a single SecurityProfileGroup. * @example * ```js * // Before running the sample: @@ -6100,29 +6263,11 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.securityProfileGroups.patch({ - * // Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/x/locations/{location\}/securityProfileGroups/{security_profile_group\}`. + * await networksecurity.organizations.locations.securityProfileGroups.delete({ + * // Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. + * etag: 'placeholder-value', + * // Required. A name of the SecurityProfileGroup to delete. Must be in the format `projects|organizations/x/locations/{location\}/securityProfileGroups/{security_profile_group\}`. * name: 'organizations/my-organization/locations/my-location/securityProfileGroups/my-securityProfileGroup', - * // Required. Field mask is used to specify the fields to be overwritten in the SecurityProfileGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "customInterceptProfile": "my_customInterceptProfile", - * // "customMirroringProfile": "my_customMirroringProfile", - * // "dataPathId": "my_dataPathId", - * // "description": "my_description", - * // "etag": "my_etag", - * // "labels": {}, - * // "name": "my_name", - * // "threatPreventionProfile": "my_threatPreventionProfile", - * // "updateTime": "my_updateTime", - * // "urlFilteringProfile": "my_urlFilteringProfile" - * // } - * }, * }); * console.log(res.data); * @@ -6148,32 +6293,32 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, + delete( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, + delete( + params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, options?: MethodOptions ): Promise>; - patch( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, + delete( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, + delete( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, + delete( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Delete, callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Securityprofilegroups$Patch + | Params$Resource$Organizations$Locations$Securityprofilegroups$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -6189,13 +6334,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Patch; + {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Securityprofilegroups$Patch; + {} as Params$Resource$Organizations$Locations$Securityprofilegroups$Delete; options = {}; } @@ -6210,7 +6355,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'DELETE', apiVersion: '', }, options @@ -6229,77 +6374,9 @@ export namespace networksecurity_v1 { return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Organizations$Locations$Securityprofilegroups$Create extends StandardParameters { - /** - * Required. The parent resource of the SecurityProfileGroup. Must be in the format `projects|organizations/x/locations/{location\}`. - */ - parent?: string; - /** - * Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1". - */ - securityProfileGroupId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SecurityProfileGroup; - } - export interface Params$Resource$Organizations$Locations$Securityprofilegroups$Delete extends StandardParameters { - /** - * Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. - */ - etag?: string; - /** - * Required. A name of the SecurityProfileGroup to delete. Must be in the format `projects|organizations/x/locations/{location\}/securityProfileGroups/{security_profile_group\}`. - */ - name?: string; - } - export interface Params$Resource$Organizations$Locations$Securityprofilegroups$Get extends StandardParameters { - /** - * Required. A name of the SecurityProfileGroup to get. Must be in the format `projects|organizations/x/locations/{location\}/securityProfileGroups/{security_profile_group\}`. - */ - name?: string; - } - export interface Params$Resource$Organizations$Locations$Securityprofilegroups$List extends StandardParameters { - /** - * Optional. Maximum number of SecurityProfileGroups to return per call. - */ - pageSize?: number; - /** - * Optional. The value returned by the last `ListSecurityProfileGroupsResponse` Indicates that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project or organization and location from which the SecurityProfileGroups should be listed, specified in the format `projects|organizations/x/locations/{location\}`. - */ - parent?: string; - } - export interface Params$Resource$Organizations$Locations$Securityprofilegroups$Patch extends StandardParameters { - /** - * Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/x/locations/{location\}/securityProfileGroups/{security_profile_group\}`. - */ - name?: string; - /** - * Required. Field mask is used to specify the fields to be overwritten in the SecurityProfileGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SecurityProfileGroup; - } - - export class Resource$Organizations$Locations$Securityprofiles { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a new SecurityProfile in a given organization and location. + * Gets details of a single SecurityProfileGroup. * @example * ```js * // Before running the sample: @@ -6329,39 +6406,25 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.securityProfiles.create({ - * // Required. The parent resource of the SecurityProfile. Must be in the format `projects|organizations/x/locations/{location\}`. - * parent: 'organizations/my-organization/locations/my-location', - * // Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile1". - * securityProfileId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "customInterceptProfile": {}, - * // "customMirroringProfile": {}, - * // "description": "my_description", - * // "etag": "my_etag", - * // "labels": {}, - * // "name": "my_name", - * // "threatPreventionProfile": {}, - * // "type": "my_type", - * // "updateTime": "my_updateTime", - * // "urlFilteringProfile": {} - * // } - * }, + * await networksecurity.organizations.locations.securityProfileGroups.get({ + * // Required. A name of the SecurityProfileGroup to get. Must be in the format `projects|organizations/x/locations/{location\}/securityProfileGroups/{security_profile_group\}`. + * name: 'organizations/my-organization/locations/my-location/securityProfileGroups/my-securityProfileGroup', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "createTime": "my_createTime", + * // "customInterceptProfile": "my_customInterceptProfile", + * // "customMirroringProfile": "my_customMirroringProfile", + * // "dataPathId": "my_dataPathId", + * // "description": "my_description", + * // "etag": "my_etag", + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "threatPreventionProfile": "my_threatPreventionProfile", + * // "updateTime": "my_updateTime", + * // "urlFilteringProfile": "my_urlFilteringProfile" * // } * } * @@ -6377,54 +6440,56 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Organizations$Locations$Securityprofiles$Create, + get( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Organizations$Locations$Securityprofiles$Create, + get( + params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Organizations$Locations$Securityprofiles$Create, + ): Promise>; + get( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Organizations$Locations$Securityprofiles$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Organizations$Locations$Securityprofiles$Create, - callback: BodyResponseCallback + get( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Get, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Securityprofiles$Create - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Securityprofilegroups$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Securityprofiles$Create; + {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Securityprofiles$Create; + {} as Params$Resource$Organizations$Locations$Securityprofilegroups$Get; options = {}; } @@ -6438,32 +6503,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/securityProfiles').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes a single SecurityProfile. + * Lists SecurityProfileGroups in a given organization and location. * @example * ```js * // Before running the sample: @@ -6493,21 +6555,20 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.securityProfiles.delete({ - * // Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. - * etag: 'placeholder-value', - * // Required. A name of the SecurityProfile to delete. Must be in the format `projects|organizations/x/locations/{location\}/securityProfiles/{security_profile_id\}`. - * name: 'organizations/my-organization/locations/my-location/securityProfiles/my-securityProfile', + * await networksecurity.organizations.locations.securityProfileGroups.list({ + * // Optional. Maximum number of SecurityProfileGroups to return per call. + * pageSize: 'placeholder-value', + * // Optional. The value returned by the last `ListSecurityProfileGroupsResponse` Indicates that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the system should return the next page of data. + * pageToken: 'placeholder-value', + * // Required. The project or organization and location from which the SecurityProfileGroups should be listed, specified in the format `projects|organizations/x/locations/{location\}`. + * parent: 'organizations/my-organization/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "nextPageToken": "my_nextPageToken", + * // "securityProfileGroups": [] * // } * } * @@ -6523,54 +6584,62 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Securityprofiles$Delete, + list( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$List, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Organizations$Locations$Securityprofiles$Delete, + list( + params?: Params$Resource$Organizations$Locations$Securityprofilegroups$List, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Organizations$Locations$Securityprofiles$Delete, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Organizations$Locations$Securityprofiles$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Organizations$Locations$Securityprofiles$Delete, - callback: BodyResponseCallback + list( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$List, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Securityprofiles$Delete - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Securityprofilegroups$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Securityprofiles$Delete; + {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Securityprofiles$Delete; + {} as Params$Resource$Organizations$Locations$Securityprofilegroups$List; options = {}; } @@ -6584,29 +6653,34 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+parent}/securityProfileGroups').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Gets details of a single SecurityProfile. + * Updates the parameters of a single SecurityProfileGroup. * @example * ```js * // Before running the sample: @@ -6636,25 +6710,39 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.securityProfiles.get({ - * // Required. A name of the SecurityProfile to get. Must be in the format `projects|organizations/x/locations/{location\}/securityProfiles/{security_profile_id\}`. - * name: 'organizations/my-organization/locations/my-location/securityProfiles/my-securityProfile', + * await networksecurity.organizations.locations.securityProfileGroups.patch({ + * // Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/x/locations/{location\}/securityProfileGroups/{security_profile_group\}`. + * name: 'organizations/my-organization/locations/my-location/securityProfileGroups/my-securityProfileGroup', + * // Required. Field mask is used to specify the fields to be overwritten in the SecurityProfileGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "customInterceptProfile": "my_customInterceptProfile", + * // "customMirroringProfile": "my_customMirroringProfile", + * // "dataPathId": "my_dataPathId", + * // "description": "my_description", + * // "etag": "my_etag", + * // "labels": {}, + * // "name": "my_name", + * // "threatPreventionProfile": "my_threatPreventionProfile", + * // "updateTime": "my_updateTime", + * // "urlFilteringProfile": "my_urlFilteringProfile" + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", - * // "customInterceptProfile": {}, - * // "customMirroringProfile": {}, - * // "description": "my_description", - * // "etag": "my_etag", - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "threatPreventionProfile": {}, - * // "type": "my_type", - * // "updateTime": "my_updateTime", - * // "urlFilteringProfile": {} + * // "response": {} * // } * } * @@ -6670,54 +6758,54 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Securityprofiles$Get, + patch( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Organizations$Locations$Securityprofiles$Get, + patch( + params?: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Organizations$Locations$Securityprofiles$Get, + ): Promise>; + patch( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Organizations$Locations$Securityprofiles$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Organizations$Locations$Securityprofiles$Get, - callback: BodyResponseCallback + patch( + params: Params$Resource$Organizations$Locations$Securityprofilegroups$Patch, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Securityprofiles$Get - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Securityprofilegroups$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Securityprofiles$Get; + {}) as Params$Resource$Organizations$Locations$Securityprofilegroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Securityprofiles$Get; + {} as Params$Resource$Organizations$Locations$Securityprofilegroups$Patch; options = {}; } @@ -6732,7 +6820,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options @@ -6743,17 +6831,85 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Organizations$Locations$Securityprofilegroups$Create extends StandardParameters { /** - * Lists SecurityProfiles in a given organization and location. + * Required. The parent resource of the SecurityProfileGroup. Must be in the format `projects|organizations/x/locations/{location\}`. + */ + parent?: string; + /** + * Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1". + */ + securityProfileGroupId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SecurityProfileGroup; + } + export interface Params$Resource$Organizations$Locations$Securityprofilegroups$Delete extends StandardParameters { + /** + * Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. + */ + etag?: string; + /** + * Required. A name of the SecurityProfileGroup to delete. Must be in the format `projects|organizations/x/locations/{location\}/securityProfileGroups/{security_profile_group\}`. + */ + name?: string; + } + export interface Params$Resource$Organizations$Locations$Securityprofilegroups$Get extends StandardParameters { + /** + * Required. A name of the SecurityProfileGroup to get. Must be in the format `projects|organizations/x/locations/{location\}/securityProfileGroups/{security_profile_group\}`. + */ + name?: string; + } + export interface Params$Resource$Organizations$Locations$Securityprofilegroups$List extends StandardParameters { + /** + * Optional. Maximum number of SecurityProfileGroups to return per call. + */ + pageSize?: number; + /** + * Optional. The value returned by the last `ListSecurityProfileGroupsResponse` Indicates that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project or organization and location from which the SecurityProfileGroups should be listed, specified in the format `projects|organizations/x/locations/{location\}`. + */ + parent?: string; + } + export interface Params$Resource$Organizations$Locations$Securityprofilegroups$Patch extends StandardParameters { + /** + * Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/x/locations/{location\}/securityProfileGroups/{security_profile_group\}`. + */ + name?: string; + /** + * Required. Field mask is used to specify the fields to be overwritten in the SecurityProfileGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SecurityProfileGroup; + } + + export class Resource$Organizations$Locations$Securityprofiles { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new SecurityProfile in a given organization and location. * @example * ```js * // Before running the sample: @@ -6783,20 +6939,39 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.securityProfiles.list({ - * // Optional. Maximum number of SecurityProfiles to return per call. - * pageSize: 'placeholder-value', - * // Optional. The value returned by the last `ListSecurityProfilesResponse` Indicates that this is a continuation of a prior `ListSecurityProfiles` call, and that the system should return the next page of data. - * pageToken: 'placeholder-value', - * // Required. The project or organization and location from which the SecurityProfiles should be listed, specified in the format `projects|organizations/x/locations/{location\}`. + * await networksecurity.organizations.locations.securityProfiles.create({ + * // Required. The parent resource of the SecurityProfile. Must be in the format `projects|organizations/x/locations/{location\}`. * parent: 'organizations/my-organization/locations/my-location', + * // Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile1". + * securityProfileId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "customInterceptProfile": {}, + * // "customMirroringProfile": {}, + * // "description": "my_description", + * // "etag": "my_etag", + * // "labels": {}, + * // "name": "my_name", + * // "threatPreventionProfile": {}, + * // "type": "my_type", + * // "updateTime": "my_updateTime", + * // "urlFilteringProfile": {} + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "nextPageToken": "my_nextPageToken", - * // "securityProfiles": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -6812,58 +6987,54 @@ export namespace networksecurity_v1 { * @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$Organizations$Locations$Securityprofiles$List, + create( + params: Params$Resource$Organizations$Locations$Securityprofiles$Create, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Organizations$Locations$Securityprofiles$List, + create( + params?: Params$Resource$Organizations$Locations$Securityprofiles$Create, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Organizations$Locations$Securityprofiles$List, + ): Promise>; + create( + params: Params$Resource$Organizations$Locations$Securityprofiles$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Organizations$Locations$Securityprofiles$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Organizations$Locations$Securityprofiles$List, - callback: BodyResponseCallback + create( + params: Params$Resource$Organizations$Locations$Securityprofiles$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + create( + params: Params$Resource$Organizations$Locations$Securityprofiles$Create, + callback: BodyResponseCallback ): void; - list( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Securityprofiles$List - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Securityprofiles$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Securityprofiles$List; + {}) as Params$Resource$Organizations$Locations$Securityprofiles$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Securityprofiles$List; + {} as Params$Resource$Organizations$Locations$Securityprofiles$Create; options = {}; } @@ -6881,7 +7052,7 @@ export namespace networksecurity_v1 { /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options @@ -6892,19 +7063,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single SecurityProfile. + * Deletes a single SecurityProfile. * @example * ```js * // Before running the sample: @@ -6934,29 +7103,11 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.organizations.locations.securityProfiles.patch({ - * // Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern `projects|organizations/x/locations/{location\}/securityProfiles/{security_profile\}`. + * await networksecurity.organizations.locations.securityProfiles.delete({ + * // Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. + * etag: 'placeholder-value', + * // Required. A name of the SecurityProfile to delete. Must be in the format `projects|organizations/x/locations/{location\}/securityProfiles/{security_profile_id\}`. * name: 'organizations/my-organization/locations/my-location/securityProfiles/my-securityProfile', - * // Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "customInterceptProfile": {}, - * // "customMirroringProfile": {}, - * // "description": "my_description", - * // "etag": "my_etag", - * // "labels": {}, - * // "name": "my_name", - * // "threatPreventionProfile": {}, - * // "type": "my_type", - * // "updateTime": "my_updateTime", - * // "urlFilteringProfile": {} - * // } - * }, * }); * console.log(res.data); * @@ -6982,32 +7133,32 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Organizations$Locations$Securityprofiles$Patch, + delete( + params: Params$Resource$Organizations$Locations$Securityprofiles$Delete, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Organizations$Locations$Securityprofiles$Patch, + delete( + params?: Params$Resource$Organizations$Locations$Securityprofiles$Delete, options?: MethodOptions ): Promise>; - patch( - params: Params$Resource$Organizations$Locations$Securityprofiles$Patch, + delete( + params: Params$Resource$Organizations$Locations$Securityprofiles$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Organizations$Locations$Securityprofiles$Patch, + delete( + params: Params$Resource$Organizations$Locations$Securityprofiles$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Organizations$Locations$Securityprofiles$Patch, + delete( + params: Params$Resource$Organizations$Locations$Securityprofiles$Delete, callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Organizations$Locations$Securityprofiles$Patch + | Params$Resource$Organizations$Locations$Securityprofiles$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -7023,13 +7174,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Organizations$Locations$Securityprofiles$Patch; + {}) as Params$Resource$Organizations$Locations$Securityprofiles$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Organizations$Locations$Securityprofiles$Patch; + {} as Params$Resource$Organizations$Locations$Securityprofiles$Delete; options = {}; } @@ -7044,7 +7195,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'DELETE', apiVersion: '', }, options @@ -7063,166 +7214,156 @@ export namespace networksecurity_v1 { return createAPIRequest(parameters); } } - } - export interface Params$Resource$Organizations$Locations$Securityprofiles$Create extends StandardParameters { - /** - * Required. The parent resource of the SecurityProfile. Must be in the format `projects|organizations/x/locations/{location\}`. - */ - parent?: string; /** - * Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile1". + * Gets details of a single SecurityProfile. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.organizations.locations.securityProfiles.get({ + * // Required. A name of the SecurityProfile to get. Must be in the format `projects|organizations/x/locations/{location\}/securityProfiles/{security_profile_id\}`. + * name: 'organizations/my-organization/locations/my-location/securityProfiles/my-securityProfile', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "createTime": "my_createTime", + * // "customInterceptProfile": {}, + * // "customMirroringProfile": {}, + * // "description": "my_description", + * // "etag": "my_etag", + * // "labels": {}, + * // "name": "my_name", + * // "threatPreventionProfile": {}, + * // "type": "my_type", + * // "updateTime": "my_updateTime", + * // "urlFilteringProfile": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. */ - securityProfileId?: string; + get( + params: Params$Resource$Organizations$Locations$Securityprofiles$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Organizations$Locations$Securityprofiles$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Organizations$Locations$Securityprofiles$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Organizations$Locations$Securityprofiles$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Organizations$Locations$Securityprofiles$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Organizations$Locations$Securityprofiles$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Organizations$Locations$Securityprofiles$Get; + let options = (optionsOrCallback || {}) as MethodOptions; - /** - * Request body metadata - */ - requestBody?: Schema$SecurityProfile; - } - export interface Params$Resource$Organizations$Locations$Securityprofiles$Delete extends StandardParameters { - /** - * Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. - */ - etag?: string; - /** - * Required. A name of the SecurityProfile to delete. Must be in the format `projects|organizations/x/locations/{location\}/securityProfiles/{security_profile_id\}`. - */ - name?: string; - } - export interface Params$Resource$Organizations$Locations$Securityprofiles$Get extends StandardParameters { - /** - * Required. A name of the SecurityProfile to get. Must be in the format `projects|organizations/x/locations/{location\}/securityProfiles/{security_profile_id\}`. - */ - name?: string; - } - export interface Params$Resource$Organizations$Locations$Securityprofiles$List extends StandardParameters { - /** - * Optional. Maximum number of SecurityProfiles to return per call. - */ - pageSize?: number; - /** - * Optional. The value returned by the last `ListSecurityProfilesResponse` Indicates that this is a continuation of a prior `ListSecurityProfiles` call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project or organization and location from which the SecurityProfiles should be listed, specified in the format `projects|organizations/x/locations/{location\}`. - */ - parent?: string; - } - export interface Params$Resource$Organizations$Locations$Securityprofiles$Patch extends StandardParameters { - /** - * Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern `projects|organizations/x/locations/{location\}/securityProfiles/{security_profile\}`. - */ - name?: string; - /** - * Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SecurityProfile; - } + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Organizations$Locations$Securityprofiles$Get; + options = {}; + } - export class Resource$Projects { - context: APIRequestContext; - locations: Resource$Projects$Locations; - constructor(context: APIRequestContext) { - this.context = context; - this.locations = new Resource$Projects$Locations(this.context); - } - } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } - export class Resource$Projects$Locations { - context: APIRequestContext; - addressGroups: Resource$Projects$Locations$Addressgroups; - authorizationPolicies: Resource$Projects$Locations$Authorizationpolicies; - authzPolicies: Resource$Projects$Locations$Authzpolicies; - backendAuthenticationConfigs: Resource$Projects$Locations$Backendauthenticationconfigs; - clientTlsPolicies: Resource$Projects$Locations$Clienttlspolicies; - dnsThreatDetectors: Resource$Projects$Locations$Dnsthreatdetectors; - firewallEndpointAssociations: Resource$Projects$Locations$Firewallendpointassociations; - firewallEndpoints: Resource$Projects$Locations$Firewallendpoints; - gatewaySecurityPolicies: Resource$Projects$Locations$Gatewaysecuritypolicies; - interceptDeploymentGroups: Resource$Projects$Locations$Interceptdeploymentgroups; - interceptDeployments: Resource$Projects$Locations$Interceptdeployments; - interceptEndpointGroupAssociations: Resource$Projects$Locations$Interceptendpointgroupassociations; - interceptEndpointGroups: Resource$Projects$Locations$Interceptendpointgroups; - mirroringDeploymentGroups: Resource$Projects$Locations$Mirroringdeploymentgroups; - mirroringDeployments: Resource$Projects$Locations$Mirroringdeployments; - mirroringEndpointGroupAssociations: Resource$Projects$Locations$Mirroringendpointgroupassociations; - mirroringEndpointGroups: Resource$Projects$Locations$Mirroringendpointgroups; - operations: Resource$Projects$Locations$Operations; - securityProfileGroups: Resource$Projects$Locations$Securityprofilegroups; - securityProfiles: Resource$Projects$Locations$Securityprofiles; - serverTlsPolicies: Resource$Projects$Locations$Servertlspolicies; - tlsInspectionPolicies: Resource$Projects$Locations$Tlsinspectionpolicies; - urlLists: Resource$Projects$Locations$Urllists; - constructor(context: APIRequestContext) { - this.context = context; - this.addressGroups = new Resource$Projects$Locations$Addressgroups( - this.context - ); - this.authorizationPolicies = - new Resource$Projects$Locations$Authorizationpolicies(this.context); - this.authzPolicies = new Resource$Projects$Locations$Authzpolicies( - this.context - ); - this.backendAuthenticationConfigs = - new Resource$Projects$Locations$Backendauthenticationconfigs( - this.context - ); - this.clientTlsPolicies = - new Resource$Projects$Locations$Clienttlspolicies(this.context); - this.dnsThreatDetectors = - new Resource$Projects$Locations$Dnsthreatdetectors(this.context); - this.firewallEndpointAssociations = - new Resource$Projects$Locations$Firewallendpointassociations( - this.context - ); - this.firewallEndpoints = - new Resource$Projects$Locations$Firewallendpoints(this.context); - this.gatewaySecurityPolicies = - new Resource$Projects$Locations$Gatewaysecuritypolicies(this.context); - this.interceptDeploymentGroups = - new Resource$Projects$Locations$Interceptdeploymentgroups(this.context); - this.interceptDeployments = - new Resource$Projects$Locations$Interceptdeployments(this.context); - this.interceptEndpointGroupAssociations = - new Resource$Projects$Locations$Interceptendpointgroupassociations( - this.context - ); - this.interceptEndpointGroups = - new Resource$Projects$Locations$Interceptendpointgroups(this.context); - this.mirroringDeploymentGroups = - new Resource$Projects$Locations$Mirroringdeploymentgroups(this.context); - this.mirroringDeployments = - new Resource$Projects$Locations$Mirroringdeployments(this.context); - this.mirroringEndpointGroupAssociations = - new Resource$Projects$Locations$Mirroringendpointgroupassociations( - this.context + const rootUrl = + options.rootUrl || 'https://networksecurity.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 ); - this.mirroringEndpointGroups = - new Resource$Projects$Locations$Mirroringendpointgroups(this.context); - this.operations = new Resource$Projects$Locations$Operations( - this.context - ); - this.securityProfileGroups = - new Resource$Projects$Locations$Securityprofilegroups(this.context); - this.securityProfiles = new Resource$Projects$Locations$Securityprofiles( - this.context - ); - this.serverTlsPolicies = - new Resource$Projects$Locations$Servertlspolicies(this.context); - this.tlsInspectionPolicies = - new Resource$Projects$Locations$Tlsinspectionpolicies(this.context); - this.urlLists = new Resource$Projects$Locations$Urllists(this.context); + } else { + return createAPIRequest(parameters); + } } /** - * Gets information about a location. + * Lists SecurityProfiles in a given organization and location. * @example * ```js * // Before running the sample: @@ -7251,19 +7392,21 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.get({ - * // Resource name for the location. - * name: 'projects/my-project/locations/my-location', - * }); + * const res = + * await networksecurity.organizations.locations.securityProfiles.list({ + * // Optional. Maximum number of SecurityProfiles to return per call. + * pageSize: 'placeholder-value', + * // Optional. The value returned by the last `ListSecurityProfilesResponse` Indicates that this is a continuation of a prior `ListSecurityProfiles` call, and that the system should return the next page of data. + * pageToken: 'placeholder-value', + * // Required. The project or organization and location from which the SecurityProfiles should be listed, specified in the format `projects|organizations/x/locations/{location\}`. + * parent: 'organizations/my-organization/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "displayName": "my_displayName", - * // "labels": {}, - * // "locationId": "my_locationId", - * // "metadata": {}, - * // "name": "my_name" + * // "nextPageToken": "my_nextPageToken", + * // "securityProfiles": [] * // } * } * @@ -7279,53 +7422,58 @@ export namespace networksecurity_v1 { * @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$Get, + list( + params: Params$Resource$Organizations$Locations$Securityprofiles$List, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Get, + list( + params?: Params$Resource$Organizations$Locations$Securityprofiles$List, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Get, + ): Promise>; + list( + params: Params$Resource$Organizations$Locations$Securityprofiles$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Organizations$Locations$Securityprofiles$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Get, - callback: BodyResponseCallback + list( + params: Params$Resource$Organizations$Locations$Securityprofiles$List, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Get - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Securityprofiles$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Get; + {}) as Params$Resource$Organizations$Locations$Securityprofiles$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Get; + params = + {} as Params$Resource$Organizations$Locations$Securityprofiles$List; options = {}; } @@ -7339,29 +7487,34 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+parent}/securityProfiles').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. + * Updates the parameters of a single SecurityProfile. * @example * ```js * // Before running the sample: @@ -7390,24 +7543,40 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.list({ - * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. - * extraLocationTypes: 'placeholder-value', - * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). - * filter: 'placeholder-value', - * // The resource that owns the locations collection, if applicable. - * name: 'projects/my-project', - * // The maximum number of results to return. If not set, the service selects a default. - * pageSize: 'placeholder-value', - * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. - * pageToken: 'placeholder-value', - * }); + * const res = + * await networksecurity.organizations.locations.securityProfiles.patch({ + * // Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern `projects|organizations/x/locations/{location\}/securityProfiles/{security_profile\}`. + * name: 'organizations/my-organization/locations/my-location/securityProfiles/my-securityProfile', + * // Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "customInterceptProfile": {}, + * // "customMirroringProfile": {}, + * // "description": "my_description", + * // "etag": "my_etag", + * // "labels": {}, + * // "name": "my_name", + * // "threatPreventionProfile": {}, + * // "type": "my_type", + * // "updateTime": "my_updateTime", + * // "urlFilteringProfile": {} + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "locations": [], - * // "nextPageToken": "my_nextPageToken" + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -7423,55 +7592,54 @@ export namespace networksecurity_v1 { * @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$List, + patch( + params: Params$Resource$Organizations$Locations$Securityprofiles$Patch, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$List, + patch( + params?: Params$Resource$Organizations$Locations$Securityprofiles$Patch, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$List, + ): Promise>; + patch( + params: Params$Resource$Organizations$Locations$Securityprofiles$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Organizations$Locations$Securityprofiles$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$List, - callback: BodyResponseCallback + patch( + params: Params$Resource$Organizations$Locations$Securityprofiles$Patch, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$List - | BodyResponseCallback + | Params$Resource$Organizations$Locations$Securityprofiles$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$List; + {}) as Params$Resource$Organizations$Locations$Securityprofiles$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$List; + params = + {} as Params$Resource$Organizations$Locations$Securityprofiles$Patch; options = {}; } @@ -7485,11 +7653,8 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}/locations').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options @@ -7500,53 +7665,180 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Get extends StandardParameters { + export interface Params$Resource$Organizations$Locations$Securityprofiles$Create extends StandardParameters { /** - * Resource name for the location. + * Required. The parent resource of the SecurityProfile. Must be in the format `projects|organizations/x/locations/{location\}`. */ - name?: string; + parent?: string; + /** + * Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile1". + */ + securityProfileId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SecurityProfile; } - export interface Params$Resource$Projects$Locations$List extends StandardParameters { + export interface Params$Resource$Organizations$Locations$Securityprofiles$Delete extends StandardParameters { /** - * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. + * Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. */ - extraLocationTypes?: string[]; + etag?: string; /** - * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + * Required. A name of the SecurityProfile to delete. Must be in the format `projects|organizations/x/locations/{location\}/securityProfiles/{security_profile_id\}`. */ - filter?: string; + name?: string; + } + export interface Params$Resource$Organizations$Locations$Securityprofiles$Get extends StandardParameters { /** - * The resource that owns the locations collection, if applicable. + * Required. A name of the SecurityProfile to get. Must be in the format `projects|organizations/x/locations/{location\}/securityProfiles/{security_profile_id\}`. */ name?: string; + } + export interface Params$Resource$Organizations$Locations$Securityprofiles$List extends StandardParameters { /** - * The maximum number of results to return. If not set, the service selects a default. + * Optional. Maximum number of SecurityProfiles to return per call. */ pageSize?: number; /** - * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + * Optional. The value returned by the last `ListSecurityProfilesResponse` Indicates that this is a continuation of a prior `ListSecurityProfiles` call, and that the system should return the next page of data. */ pageToken?: string; + /** + * Required. The project or organization and location from which the SecurityProfiles should be listed, specified in the format `projects|organizations/x/locations/{location\}`. + */ + parent?: string; } + export interface Params$Resource$Organizations$Locations$Securityprofiles$Patch extends StandardParameters { + /** + * Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern `projects|organizations/x/locations/{location\}/securityProfiles/{security_profile\}`. + */ + name?: string; + /** + * Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. + */ + updateMask?: string; - export class Resource$Projects$Locations$Addressgroups { + /** + * Request body metadata + */ + requestBody?: Schema$SecurityProfile; + } + + export class Resource$Projects { + context: APIRequestContext; + locations: Resource$Projects$Locations; + constructor(context: APIRequestContext) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + + export class Resource$Projects$Locations { context: APIRequestContext; + addressGroups: Resource$Projects$Locations$Addressgroups; + authorizationPolicies: Resource$Projects$Locations$Authorizationpolicies; + authzPolicies: Resource$Projects$Locations$Authzpolicies; + backendAuthenticationConfigs: Resource$Projects$Locations$Backendauthenticationconfigs; + clientTlsPolicies: Resource$Projects$Locations$Clienttlspolicies; + dnsThreatDetectors: Resource$Projects$Locations$Dnsthreatdetectors; + firewallEndpointAssociations: Resource$Projects$Locations$Firewallendpointassociations; + firewallEndpoints: Resource$Projects$Locations$Firewallendpoints; + gatewaySecurityPolicies: Resource$Projects$Locations$Gatewaysecuritypolicies; + interceptDeploymentGroups: Resource$Projects$Locations$Interceptdeploymentgroups; + interceptDeployments: Resource$Projects$Locations$Interceptdeployments; + interceptEndpointGroupAssociations: Resource$Projects$Locations$Interceptendpointgroupassociations; + interceptEndpointGroups: Resource$Projects$Locations$Interceptendpointgroups; + mirroringDeploymentGroups: Resource$Projects$Locations$Mirroringdeploymentgroups; + mirroringDeployments: Resource$Projects$Locations$Mirroringdeployments; + mirroringEndpointGroupAssociations: Resource$Projects$Locations$Mirroringendpointgroupassociations; + mirroringEndpointGroups: Resource$Projects$Locations$Mirroringendpointgroups; + operations: Resource$Projects$Locations$Operations; + sacAttachments: Resource$Projects$Locations$Sacattachments; + sacRealms: Resource$Projects$Locations$Sacrealms; + securityProfileGroups: Resource$Projects$Locations$Securityprofilegroups; + securityProfiles: Resource$Projects$Locations$Securityprofiles; + serverTlsPolicies: Resource$Projects$Locations$Servertlspolicies; + tlsInspectionPolicies: Resource$Projects$Locations$Tlsinspectionpolicies; + urlLists: Resource$Projects$Locations$Urllists; constructor(context: APIRequestContext) { this.context = context; + this.addressGroups = new Resource$Projects$Locations$Addressgroups( + this.context + ); + this.authorizationPolicies = + new Resource$Projects$Locations$Authorizationpolicies(this.context); + this.authzPolicies = new Resource$Projects$Locations$Authzpolicies( + this.context + ); + this.backendAuthenticationConfigs = + new Resource$Projects$Locations$Backendauthenticationconfigs( + this.context + ); + this.clientTlsPolicies = + new Resource$Projects$Locations$Clienttlspolicies(this.context); + this.dnsThreatDetectors = + new Resource$Projects$Locations$Dnsthreatdetectors(this.context); + this.firewallEndpointAssociations = + new Resource$Projects$Locations$Firewallendpointassociations( + this.context + ); + this.firewallEndpoints = + new Resource$Projects$Locations$Firewallendpoints(this.context); + this.gatewaySecurityPolicies = + new Resource$Projects$Locations$Gatewaysecuritypolicies(this.context); + this.interceptDeploymentGroups = + new Resource$Projects$Locations$Interceptdeploymentgroups(this.context); + this.interceptDeployments = + new Resource$Projects$Locations$Interceptdeployments(this.context); + this.interceptEndpointGroupAssociations = + new Resource$Projects$Locations$Interceptendpointgroupassociations( + this.context + ); + this.interceptEndpointGroups = + new Resource$Projects$Locations$Interceptendpointgroups(this.context); + this.mirroringDeploymentGroups = + new Resource$Projects$Locations$Mirroringdeploymentgroups(this.context); + this.mirroringDeployments = + new Resource$Projects$Locations$Mirroringdeployments(this.context); + this.mirroringEndpointGroupAssociations = + new Resource$Projects$Locations$Mirroringendpointgroupassociations( + this.context + ); + this.mirroringEndpointGroups = + new Resource$Projects$Locations$Mirroringendpointgroups(this.context); + this.operations = new Resource$Projects$Locations$Operations( + this.context + ); + this.sacAttachments = new Resource$Projects$Locations$Sacattachments( + this.context + ); + this.sacRealms = new Resource$Projects$Locations$Sacrealms(this.context); + this.securityProfileGroups = + new Resource$Projects$Locations$Securityprofilegroups(this.context); + this.securityProfiles = new Resource$Projects$Locations$Securityprofiles( + this.context + ); + this.serverTlsPolicies = + new Resource$Projects$Locations$Servertlspolicies(this.context); + this.tlsInspectionPolicies = + new Resource$Projects$Locations$Tlsinspectionpolicies(this.context); + this.urlLists = new Resource$Projects$Locations$Urllists(this.context); } /** - * Adds items to an address group. + * Gets information about a location. * @example * ```js * // Before running the sample: @@ -7575,29 +7867,19 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.addressGroups.addItems({ - * // Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. - * addressGroup: - * 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "items": [], - * // "requestId": "my_requestId" - * // } - * }, - * }); - * console.log(res.data); + * const res = await networksecurity.projects.locations.get({ + * // Resource name for the location. + * name: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, + * // "displayName": "my_displayName", + * // "labels": {}, + * // "locationId": "my_locationId", * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "name": "my_name" * // } * } * @@ -7613,54 +7895,53 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - addItems( - params: Params$Resource$Projects$Locations$Addressgroups$Additems, + get( + params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions ): Promise>; - addItems( - params?: Params$Resource$Projects$Locations$Addressgroups$Additems, + get( + params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions - ): Promise>; - addItems( - params: Params$Resource$Projects$Locations$Addressgroups$Additems, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - addItems( - params: Params$Resource$Projects$Locations$Addressgroups$Additems, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - addItems( - params: Params$Resource$Projects$Locations$Addressgroups$Additems, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Get, + callback: BodyResponseCallback ): void; - addItems(callback: BodyResponseCallback): void; - addItems( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Addressgroups$Additems - | BodyResponseCallback + | Params$Resource$Projects$Locations$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Addressgroups$Additems; + {}) as Params$Resource$Projects$Locations$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Addressgroups$Additems; + params = {} as Params$Resource$Projects$Locations$Get; options = {}; } @@ -7674,32 +7955,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+addressGroup}:addItems').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['addressGroup'], - pathParams: ['addressGroup'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Clones items from one address group to another. + * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. * @example * ```js * // Before running the sample: @@ -7728,31 +8006,24 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.addressGroups.cloneItems( - * { - * // Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. - * addressGroup: - * 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "requestId": "my_requestId", - * // "sourceAddressGroup": "my_sourceAddressGroup" - * // } - * }, - * }, - * ); + * const res = await networksecurity.projects.locations.list({ + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. + * extraLocationTypes: 'placeholder-value', + * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + * filter: 'placeholder-value', + * // The resource that owns the locations collection, if applicable. + * name: 'projects/my-project', + * // The maximum number of results to return. If not set, the service selects a default. + * pageSize: 'placeholder-value', + * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + * pageToken: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "locations": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -7768,54 +8039,55 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - cloneItems( - params: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, + list( + params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions ): Promise>; - cloneItems( - params?: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, + list( + params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): Promise>; - cloneItems( - params: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - cloneItems( - params: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - cloneItems( - params: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$List, + callback: BodyResponseCallback ): void; - cloneItems(callback: BodyResponseCallback): void; - cloneItems( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Addressgroups$Cloneitems - | BodyResponseCallback + | Params$Resource$Projects$Locations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Addressgroups$Cloneitems; + {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Addressgroups$Cloneitems; + params = {} as Params$Resource$Projects$Locations$List; options = {}; } @@ -7829,32 +8101,68 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+addressGroup}:cloneItems').replace( + url: (rootUrl + '/v1/{+name}/locations').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['addressGroup'], - pathParams: ['addressGroup'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Get extends StandardParameters { /** - * Creates a new address group in a given project and location. + * Resource name for the location. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$List extends StandardParameters { + /** + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. + */ + extraLocationTypes?: string[]; + /** + * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + */ + filter?: string; + /** + * The resource that owns the locations collection, if applicable. + */ + name?: string; + /** + * The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + } + + export class Resource$Projects$Locations$Addressgroups { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Adds items to an address group. * @example * ```js * // Before running the sample: @@ -7883,28 +8191,17 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.addressGroups.create({ - * // Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". - * addressGroupId: 'placeholder-value', - * // Required. The parent resource of the AddressGroup. Must be in the format `projects/x/locations/{location\}`. - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', + * const res = await networksecurity.projects.locations.addressGroups.addItems({ + * // Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + * addressGroup: + * 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', * * // Request body metadata * requestBody: { * // request body parameters * // { - * // "capacity": 0, - * // "createTime": "my_createTime", - * // "description": "my_description", * // "items": [], - * // "labels": {}, - * // "name": "my_name", - * // "purpose": [], - * // "selfLink": "my_selfLink", - * // "type": "my_type", - * // "updateTime": "my_updateTime" + * // "requestId": "my_requestId" * // } * }, * }); @@ -7932,32 +8229,32 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Addressgroups$Create, + addItems( + params: Params$Resource$Projects$Locations$Addressgroups$Additems, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Addressgroups$Create, + addItems( + params?: Params$Resource$Projects$Locations$Addressgroups$Additems, options?: MethodOptions ): Promise>; - create( - params: Params$Resource$Projects$Locations$Addressgroups$Create, + addItems( + params: Params$Resource$Projects$Locations$Addressgroups$Additems, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Addressgroups$Create, + addItems( + params: Params$Resource$Projects$Locations$Addressgroups$Additems, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Addressgroups$Create, + addItems( + params: Params$Resource$Projects$Locations$Addressgroups$Additems, callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Addressgroups$Create + addItems(callback: BodyResponseCallback): void; + addItems( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Addressgroups$Additems | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -7973,12 +8270,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Addressgroups$Create; + {}) as Params$Resource$Projects$Locations$Addressgroups$Additems; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Addressgroups$Create; + params = + {} as Params$Resource$Projects$Locations$Addressgroups$Additems; options = {}; } @@ -7992,7 +8290,7 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/addressGroups').replace( + url: (rootUrl + '/v1/{+addressGroup}:addItems').replace( /([^:]\/)\/+/g, '$1' ), @@ -8002,8 +8300,8 @@ export namespace networksecurity_v1 { options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['addressGroup'], + pathParams: ['addressGroup'], context: this.context, }; if (callback) { @@ -8017,7 +8315,7 @@ export namespace networksecurity_v1 { } /** - * Deletes a single address group. + * Clones items from one address group to another. * @example * ```js * // Before running the sample: @@ -8046,12 +8344,22 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.addressGroups.delete({ - * // Required. A name of the AddressGroup to delete. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. - * name: 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * }); + * const res = await networksecurity.projects.locations.addressGroups.cloneItems( + * { + * // Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + * addressGroup: + * 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "requestId": "my_requestId", + * // "sourceAddressGroup": "my_sourceAddressGroup" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response @@ -8076,32 +8384,32 @@ export namespace networksecurity_v1 { * @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$Addressgroups$Delete, + cloneItems( + params: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Addressgroups$Delete, + cloneItems( + params?: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Addressgroups$Delete, + cloneItems( + params: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Addressgroups$Delete, + cloneItems( + params: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Addressgroups$Delete, + cloneItems( + params: Params$Resource$Projects$Locations$Addressgroups$Cloneitems, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + cloneItems(callback: BodyResponseCallback): void; + cloneItems( paramsOrCallback?: - | Params$Resource$Projects$Locations$Addressgroups$Delete + | Params$Resource$Projects$Locations$Addressgroups$Cloneitems | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -8117,12 +8425,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Addressgroups$Delete; + {}) as Params$Resource$Projects$Locations$Addressgroups$Cloneitems; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Addressgroups$Delete; + params = + {} as Params$Resource$Projects$Locations$Addressgroups$Cloneitems; options = {}; } @@ -8136,15 +8445,18 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+addressGroup}:cloneItems').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['addressGroup'], + pathParams: ['addressGroup'], context: this.context, }; if (callback) { @@ -8158,7 +8470,7 @@ export namespace networksecurity_v1 { } /** - * Gets details of a single address group. + * Creates a new address group in a given project and location. * @example * ```js * // Before running the sample: @@ -8187,24 +8499,40 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.addressGroups.get({ - * // Required. A name of the AddressGroup to get. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. - * name: 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', + * const res = await networksecurity.projects.locations.addressGroups.create({ + * // Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". + * addressGroupId: 'placeholder-value', + * // Required. The parent resource of the AddressGroup. Must be in the format `projects/x/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "capacity": 0, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "items": [], + * // "labels": {}, + * // "name": "my_name", + * // "purpose": [], + * // "selfLink": "my_selfLink", + * // "type": "my_type", + * // "updateTime": "my_updateTime" + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "capacity": 0, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "items": [], - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "purpose": [], - * // "selfLink": "my_selfLink", - * // "type": "my_type", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -8220,53 +8548,53 @@ export namespace networksecurity_v1 { * @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$Addressgroups$Get, + create( + params: Params$Resource$Projects$Locations$Addressgroups$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Addressgroups$Get, + create( + params?: Params$Resource$Projects$Locations$Addressgroups$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Addressgroups$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Addressgroups$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Addressgroups$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Addressgroups$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Addressgroups$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Addressgroups$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Addressgroups$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Addressgroups$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Addressgroups$Get; + {}) as Params$Resource$Projects$Locations$Addressgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Addressgroups$Get; + params = {} as Params$Resource$Projects$Locations$Addressgroups$Create; options = {}; } @@ -8280,29 +8608,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/addressGroups').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * Deletes a single address group. * @example * ```js * // Before running the sample: @@ -8331,22 +8662,21 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.addressGroups.getIamPolicy({ - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', - * }); + * const res = await networksecurity.projects.locations.addressGroups.delete({ + * // Required. A name of the AddressGroup to delete. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. + * name: 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -8362,56 +8692,53 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, + delete( + params: Params$Resource$Projects$Locations$Addressgroups$Delete, options: StreamMethodOptions ): Promise>; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, + delete( + params?: Params$Resource$Projects$Locations$Addressgroups$Delete, options?: MethodOptions - ): Promise>; - getIamPolicy( - params: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Addressgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Addressgroups$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getIamPolicy( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Addressgroups$Delete, + callback: BodyResponseCallback ): void; - getIamPolicy( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Addressgroups$Getiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Addressgroups$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Addressgroups$Getiampolicy; + {}) as Params$Resource$Projects$Locations$Addressgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Addressgroups$Getiampolicy; + params = {} as Params$Resource$Projects$Locations$Addressgroups$Delete; options = {}; } @@ -8425,32 +8752,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists address groups in a given project and location. + * Gets details of a single address group. * @example * ```js * // Before running the sample: @@ -8479,23 +8803,24 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.addressGroups.list({ - * // Maximum number of AddressGroups to return per call. - * pageSize: 'placeholder-value', - * // The value returned by the last `ListAddressGroupsResponse` Indicates that this is a continuation of a prior `ListAddressGroups` call, and that the system should return the next page of data. - * pageToken: 'placeholder-value', - * // Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/x/locations/{location\}`. - * parent: 'projects/my-project/locations/my-location', - * // Optional. If true, allow partial responses for multi-regional Aggregated List requests. - * returnPartialSuccess: 'placeholder-value', + * const res = await networksecurity.projects.locations.addressGroups.get({ + * // Required. A name of the AddressGroup to get. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. + * name: 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', * }); * console.log(res.data); * * // Example response * // { - * // "addressGroups": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "capacity": 0, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "items": [], + * // "labels": {}, + * // "name": "my_name", + * // "purpose": [], + * // "selfLink": "my_selfLink", + * // "type": "my_type", + * // "updateTime": "my_updateTime" * // } * } * @@ -8511,57 +8836,53 @@ export namespace networksecurity_v1 { * @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$Addressgroups$List, + get( + params: Params$Resource$Projects$Locations$Addressgroups$Get, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Addressgroups$List, + get( + params?: Params$Resource$Projects$Locations$Addressgroups$Get, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Addressgroups$List, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Addressgroups$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Addressgroups$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Addressgroups$List, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Addressgroups$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Addressgroups$Get, + callback: BodyResponseCallback ): void; - list( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Addressgroups$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Addressgroups$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Addressgroups$List; + {}) as Params$Resource$Projects$Locations$Addressgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Addressgroups$List; + params = {} as Params$Resource$Projects$Locations$Addressgroups$Get; options = {}; } @@ -8575,32 +8896,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/addressGroups').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists references of an address group. + * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. * @example * ```js * // Before running the sample: @@ -8630,21 +8948,21 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.addressGroups.listReferences({ - * // Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. - * addressGroup: + * await networksecurity.projects.locations.addressGroups.getIamPolicy({ + * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * 'options.requestedPolicyVersion': 'placeholder-value', + * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: * 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', - * // The maximum number of references to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's next_page_token to determine if there are more AddressGroupUsers left to be queried. - * pageSize: 'placeholder-value', - * // The next_page_token value returned from a previous List request, if any. - * pageToken: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "addressGroupReferences": [], - * // "nextPageToken": "my_nextPageToken" + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 * // } * } * @@ -8660,62 +8978,56 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - listReferences( - params: Params$Resource$Projects$Locations$Addressgroups$Listreferences, + getIamPolicy( + params: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, options: StreamMethodOptions ): Promise>; - listReferences( - params?: Params$Resource$Projects$Locations$Addressgroups$Listreferences, + getIamPolicy( + params?: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - listReferences( - params: Params$Resource$Projects$Locations$Addressgroups$Listreferences, + ): Promise>; + getIamPolicy( + params: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - listReferences( - params: Params$Resource$Projects$Locations$Addressgroups$Listreferences, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + getIamPolicy( + params: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - listReferences( - params: Params$Resource$Projects$Locations$Addressgroups$Listreferences, - callback: BodyResponseCallback + getIamPolicy( + params: Params$Resource$Projects$Locations$Addressgroups$Getiampolicy, + callback: BodyResponseCallback ): void; - listReferences( - callback: BodyResponseCallback + getIamPolicy( + callback: BodyResponseCallback ): void; - listReferences( + getIamPolicy( paramsOrCallback?: - | Params$Resource$Projects$Locations$Addressgroups$Listreferences - | BodyResponseCallback + | Params$Resource$Projects$Locations$Addressgroups$Getiampolicy + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Addressgroups$Listreferences; + {}) as Params$Resource$Projects$Locations$Addressgroups$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Addressgroups$Listreferences; + {} as Params$Resource$Projects$Locations$Addressgroups$Getiampolicy; options = {}; } @@ -8729,7 +9041,7 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+addressGroup}:listReferences').replace( + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( /([^:]\/)\/+/g, '$1' ), @@ -8739,24 +9051,22 @@ export namespace networksecurity_v1 { options ), params, - requiredParams: ['addressGroup'], - pathParams: ['addressGroup'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single address group. + * Lists address groups in a given project and location. * @example * ```js * // Before running the sample: @@ -8785,40 +9095,23 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.addressGroups.patch({ - * // Required. Name of the AddressGroup resource. It matches pattern `projects/x/locations/{location\}/addressGroups/`. - * name: 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "capacity": 0, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "items": [], - * // "labels": {}, - * // "name": "my_name", - * // "purpose": [], - * // "selfLink": "my_selfLink", - * // "type": "my_type", - * // "updateTime": "my_updateTime" - * // } - * }, + * const res = await networksecurity.projects.locations.addressGroups.list({ + * // Maximum number of AddressGroups to return per call. + * pageSize: 'placeholder-value', + * // The value returned by the last `ListAddressGroupsResponse` Indicates that this is a continuation of a prior `ListAddressGroups` call, and that the system should return the next page of data. + * pageToken: 'placeholder-value', + * // Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/x/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * // Optional. If true, allow partial responses for multi-regional Aggregated List requests. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "addressGroups": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -8834,53 +9127,57 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Addressgroups$Patch, + list( + params: Params$Resource$Projects$Locations$Addressgroups$List, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Addressgroups$Patch, + list( + params?: Params$Resource$Projects$Locations$Addressgroups$List, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Addressgroups$Patch, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Addressgroups$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Addressgroups$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Addressgroups$Patch, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Addressgroups$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + list( + params: Params$Resource$Projects$Locations$Addressgroups$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Addressgroups$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Addressgroups$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Addressgroups$Patch; + {}) as Params$Resource$Projects$Locations$Addressgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Addressgroups$Patch; + params = {} as Params$Resource$Projects$Locations$Addressgroups$List; options = {}; } @@ -8894,29 +9191,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: (rootUrl + '/v1/{+parent}/addressGroups').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Removes items from an address group. + * Lists references of an address group. * @example * ```js * // Before running the sample: @@ -8946,29 +9246,21 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.addressGroups.removeItems({ - * // Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + * await networksecurity.projects.locations.addressGroups.listReferences({ + * // Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. * addressGroup: * 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "items": [], - * // "requestId": "my_requestId" - * // } - * }, + * // The maximum number of references to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's next_page_token to determine if there are more AddressGroupUsers left to be queried. + * pageSize: 'placeholder-value', + * // The next_page_token value returned from a previous List request, if any. + * pageToken: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "addressGroupReferences": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -8984,54 +9276,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - removeItems( - params: Params$Resource$Projects$Locations$Addressgroups$Removeitems, + listReferences( + params: Params$Resource$Projects$Locations$Addressgroups$Listreferences, options: StreamMethodOptions ): Promise>; - removeItems( - params?: Params$Resource$Projects$Locations$Addressgroups$Removeitems, + listReferences( + params?: Params$Resource$Projects$Locations$Addressgroups$Listreferences, options?: MethodOptions - ): Promise>; - removeItems( - params: Params$Resource$Projects$Locations$Addressgroups$Removeitems, + ): Promise< + GaxiosResponseWithHTTP2 + >; + listReferences( + params: Params$Resource$Projects$Locations$Addressgroups$Listreferences, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - removeItems( - params: Params$Resource$Projects$Locations$Addressgroups$Removeitems, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + listReferences( + params: Params$Resource$Projects$Locations$Addressgroups$Listreferences, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - removeItems( - params: Params$Resource$Projects$Locations$Addressgroups$Removeitems, - callback: BodyResponseCallback + listReferences( + params: Params$Resource$Projects$Locations$Addressgroups$Listreferences, + callback: BodyResponseCallback ): void; - removeItems(callback: BodyResponseCallback): void; - removeItems( + listReferences( + callback: BodyResponseCallback + ): void; + listReferences( paramsOrCallback?: - | Params$Resource$Projects$Locations$Addressgroups$Removeitems - | BodyResponseCallback + | Params$Resource$Projects$Locations$Addressgroups$Listreferences + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Addressgroups$Removeitems; + {}) as Params$Resource$Projects$Locations$Addressgroups$Listreferences; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Addressgroups$Removeitems; + {} as Params$Resource$Projects$Locations$Addressgroups$Listreferences; options = {}; } @@ -9045,11 +9345,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+addressGroup}:removeItems').replace( + url: (rootUrl + '/v1/{+addressGroup}:listReferences').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options @@ -9060,17 +9360,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Updates the parameters of a single address group. * @example * ```js * // Before running the sample: @@ -9099,29 +9401,40 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.addressGroups.setIamPolicy({ - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', + * const res = await networksecurity.projects.locations.addressGroups.patch({ + * // Required. Name of the AddressGroup resource. It matches pattern `projects/x/locations/{location\}/addressGroups/`. + * name: 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" - * // } - * }, - * }); + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "capacity": 0, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "items": [], + * // "labels": {}, + * // "name": "my_name", + * // "purpose": [], + * // "selfLink": "my_selfLink", + * // "type": "my_type", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -9137,56 +9450,53 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, + patch( + params: Params$Resource$Projects$Locations$Addressgroups$Patch, options: StreamMethodOptions ): Promise>; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, + patch( + params?: Params$Resource$Projects$Locations$Addressgroups$Patch, options?: MethodOptions - ): Promise>; - setIamPolicy( - params: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Addressgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Addressgroups$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Addressgroups$Patch, + callback: BodyResponseCallback ): void; - setIamPolicy( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Addressgroups$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Addressgroups$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Addressgroups$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Addressgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Addressgroups$Setiampolicy; + params = {} as Params$Resource$Projects$Locations$Addressgroups$Patch; options = {}; } @@ -9200,32 +9510,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + 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. + * Removes items from an address group. * @example * ```js * // Before running the sample: @@ -9255,16 +9562,17 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.addressGroups.testIamPermissions({ - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: + * await networksecurity.projects.locations.addressGroups.removeItems({ + * // Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + * addressGroup: * 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', * * // Request body metadata * requestBody: { * // request body parameters * // { - * // "permissions": [] + * // "items": [], + * // "requestId": "my_requestId" * // } * }, * }); @@ -9272,7 +9580,11 @@ export namespace networksecurity_v1 { * * // Example response * // { - * // "permissions": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -9288,62 +9600,54 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, + removeItems( + params: Params$Resource$Projects$Locations$Addressgroups$Removeitems, options: StreamMethodOptions ): Promise>; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, + removeItems( + params?: Params$Resource$Projects$Locations$Addressgroups$Removeitems, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - testIamPermissions( - params: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, + ): Promise>; + removeItems( + params: Params$Resource$Projects$Locations$Addressgroups$Removeitems, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, - callback: BodyResponseCallback + removeItems( + params: Params$Resource$Projects$Locations$Addressgroups$Removeitems, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + removeItems( + params: Params$Resource$Projects$Locations$Addressgroups$Removeitems, + callback: BodyResponseCallback ): void; - testIamPermissions( + removeItems(callback: BodyResponseCallback): void; + removeItems( paramsOrCallback?: - | Params$Resource$Projects$Locations$Addressgroups$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Addressgroups$Removeitems + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Addressgroups$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Addressgroups$Removeitems; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Addressgroups$Testiampermissions; + {} as Params$Resource$Projects$Locations$Addressgroups$Removeitems; options = {}; } @@ -9357,7 +9661,7 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + url: (rootUrl + '/v1/{+addressGroup}:removeItems').replace( /([^:]\/)\/+/g, '$1' ), @@ -9367,84 +9671,396 @@ export namespace networksecurity_v1 { options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['addressGroup'], + pathParams: ['addressGroup'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } - } - export interface Params$Resource$Projects$Locations$Addressgroups$Additems extends StandardParameters { /** - * Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.projects.locations.addressGroups.setIamPolicy({ + * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "policy": {}, + * // "updateMask": "my_updateMask" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. */ - addressGroup?: string; + setIamPolicy( + params: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, + options: StreamMethodOptions + ): Promise>; + setIamPolicy( + params?: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, + options?: MethodOptions + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Addressgroups$Setiampolicy, + callback: BodyResponseCallback + ): void; + setIamPolicy( + callback: BodyResponseCallback + ): void; + setIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Addressgroups$Setiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Addressgroups$Setiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; - /** - * Request body metadata - */ - requestBody?: Schema$AddAddressGroupItemsRequest; - } - export interface Params$Resource$Projects$Locations$Addressgroups$Cloneitems extends StandardParameters { - /** - * Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. - */ - addressGroup?: string; + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Addressgroups$Setiampolicy; + options = {}; + } - /** - * Request body metadata - */ - requestBody?: Schema$CloneAddressGroupItemsRequest; - } - export interface Params$Resource$Projects$Locations$Addressgroups$Create extends StandardParameters { - /** - * Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". - */ - addressGroupId?: string; - /** - * Required. The parent resource of the AddressGroup. Must be in the format `projects/x/locations/{location\}`. - */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } - /** - * Request body metadata - */ - requestBody?: Schema$AddressGroup; - } - export interface Params$Resource$Projects$Locations$Addressgroups$Delete extends StandardParameters { - /** - * Required. A name of the AddressGroup to delete. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Addressgroups$Get extends StandardParameters { - /** - * Required. A name of the AddressGroup to get. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Addressgroups$Getiampolicy extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ + const rootUrl = + options.rootUrl || 'https://networksecurity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + 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. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.projects.locations.addressGroups.testIamPermissions({ + * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/addressGroups/my-addressGroup', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + testIamPermissions( + params: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + testIamPermissions( + params: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Locations$Addressgroups$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Addressgroups$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Addressgroups$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Addressgroups$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networksecurity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + } + + export interface Params$Resource$Projects$Locations$Addressgroups$Additems extends StandardParameters { + /** + * Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + */ + addressGroup?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AddAddressGroupItemsRequest; + } + export interface Params$Resource$Projects$Locations$Addressgroups$Cloneitems extends StandardParameters { + /** + * Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/x/locations/{location\}/addressGroups/x`. + */ + addressGroup?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CloneAddressGroupItemsRequest; + } + export interface Params$Resource$Projects$Locations$Addressgroups$Create extends StandardParameters { + /** + * Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". + */ + addressGroupId?: string; + /** + * Required. The parent resource of the AddressGroup. Must be in the format `projects/x/locations/{location\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AddressGroup; + } + export interface Params$Resource$Projects$Locations$Addressgroups$Delete extends StandardParameters { + /** + * Required. A name of the AddressGroup to delete. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Addressgroups$Get extends StandardParameters { + /** + * Required. A name of the AddressGroup to get. Must be in the format `projects/x/locations/{location\}/addressGroups/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Addressgroups$Getiampolicy extends StandardParameters { + /** + * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ 'options.requestedPolicyVersion'?: number; /** * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. @@ -9519,31 +10135,780 @@ export namespace networksecurity_v1 { */ resource?: string; - /** - * Request body metadata - */ - requestBody?: Schema$GoogleIamV1SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Addressgroups$Testiampermissions extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; + /** + * Request body metadata + */ + requestBody?: Schema$GoogleIamV1SetIamPolicyRequest; + } + export interface Params$Resource$Projects$Locations$Addressgroups$Testiampermissions extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleIamV1TestIamPermissionsRequest; + } + + export class Resource$Projects$Locations$Authorizationpolicies { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new AuthorizationPolicy in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.projects.locations.authorizationPolicies.create({ + * // Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". + * authorizationPolicyId: 'placeholder-value', + * // Required. The parent resource of the AuthorizationPolicy. Must be in the format `projects/{project\}/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "action": "my_action", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "name": "my_name", + * // "rules": [], + * // "updateTime": "my_updateTime" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Authorizationpolicies$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Authorizationpolicies$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Authorizationpolicies$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networksecurity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/authorizationPolicies').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single AuthorizationPolicy. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.projects.locations.authorizationPolicies.delete({ + * // Required. A name of the AuthorizationPolicy to delete. Must be in the format `projects/{project\}/locations/{location\}/authorizationPolicies/x`. + * name: 'projects/my-project/locations/my-location/authorizationPolicies/my-authorizationPolicie', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Authorizationpolicies$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Authorizationpolicies$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Authorizationpolicies$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networksecurity.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 AuthorizationPolicy. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.projects.locations.authorizationPolicies.get({ + * // Required. A name of the AuthorizationPolicy to get. Must be in the format `projects/{project\}/locations/{location\}/authorizationPolicies/x`. + * name: 'projects/my-project/locations/my-location/authorizationPolicies/my-authorizationPolicie', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "action": "my_action", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "name": "my_name", + * // "rules": [], + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Authorizationpolicies$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Authorizationpolicies$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Authorizationpolicies$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Authorizationpolicies$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networksecurity.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); + } + } + + /** + * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.projects.locations.authorizationPolicies.getIamPolicy( + * { + * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * 'options.requestedPolicyVersion': 'placeholder-value', + * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/authorizationPolicies/my-authorizationPolicie', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + getIamPolicy( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, + options: StreamMethodOptions + ): Promise>; + getIamPolicy( + params?: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, + options?: MethodOptions + ): Promise>; + getIamPolicy( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, + callback: BodyResponseCallback + ): void; + getIamPolicy( + callback: BodyResponseCallback + ): void; + getIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networksecurity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists AuthorizationPolicies in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.projects.locations.authorizationPolicies.list({ + * // Maximum number of AuthorizationPolicies to return per call. + * pageSize: 'placeholder-value', + * // The value returned by the last `ListAuthorizationPoliciesResponse` Indicates that this is a continuation of a prior `ListAuthorizationPolicies` call, and that the system should return the next page of data. + * pageToken: 'placeholder-value', + * // Required. The project and location from which the AuthorizationPolicies should be listed, specified in the format `projects/{project\}/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "authorizationPolicies": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Authorizationpolicies$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Authorizationpolicies$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Authorizationpolicies$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Authorizationpolicies$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Authorizationpolicies$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Authorizationpolicies$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Authorizationpolicies$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Authorizationpolicies$List; + options = {}; + } - /** - * Request body metadata - */ - requestBody?: Schema$GoogleIamV1TestIamPermissionsRequest; - } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } - export class Resource$Projects$Locations$Authorizationpolicies { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + const rootUrl = + options.rootUrl || 'https://networksecurity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/authorizationPolicies').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 + ); + } } /** - * Creates a new AuthorizationPolicy in a given project and location. + * Updates the parameters of a single AuthorizationPolicy. * @example * ```js * // Before running the sample: @@ -9573,11 +10938,11 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.authorizationPolicies.create({ - * // Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". - * authorizationPolicyId: 'placeholder-value', - * // Required. The parent resource of the AuthorizationPolicy. Must be in the format `projects/{project\}/locations/{location\}`. - * parent: 'projects/my-project/locations/my-location', + * await networksecurity.projects.locations.authorizationPolicies.patch({ + * // Required. Name of the AuthorizationPolicy resource. It matches pattern `projects/{project\}/locations/{location\}/authorizationPolicies/`. + * name: 'projects/my-project/locations/my-location/authorizationPolicies/my-authorizationPolicie', + * // Optional. Field mask is used to specify the fields to be overwritten in the AuthorizationPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', * * // Request body metadata * requestBody: { @@ -9617,32 +10982,32 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Create, + patch( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Authorizationpolicies$Create, + patch( + params?: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, options?: MethodOptions ): Promise>; - create( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Create, + patch( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Create, + patch( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Create, + patch( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizationpolicies$Create + | Params$Resource$Projects$Locations$Authorizationpolicies$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -9658,13 +11023,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Create; + {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizationpolicies$Create; + {} as Params$Resource$Projects$Locations$Authorizationpolicies$Patch; options = {}; } @@ -9678,18 +11043,15 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/authorizationPolicies').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { @@ -9703,7 +11065,7 @@ export namespace networksecurity_v1 { } /** - * Deletes a single AuthorizationPolicy. + * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. * @example * ```js * // Before running the sample: @@ -9733,19 +11095,30 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.authorizationPolicies.delete({ - * // Required. A name of the AuthorizationPolicy to delete. Must be in the format `projects/{project\}/locations/{location\}/authorizationPolicies/x`. - * name: 'projects/my-project/locations/my-location/authorizationPolicies/my-authorizationPolicie', - * }); + * await networksecurity.projects.locations.authorizationPolicies.setIamPolicy( + * { + * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/authorizationPolicies/my-authorizationPolicie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "policy": {}, + * // "updateMask": "my_updateMask" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 * // } * } * @@ -9761,54 +11134,56 @@ export namespace networksecurity_v1 { * @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$Authorizationpolicies$Delete, + setIamPolicy( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, + setIamPolicy( + params?: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + setIamPolicy( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Delete, - callback: BodyResponseCallback + setIamPolicy( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + setIamPolicy( + callback: BodyResponseCallback + ): void; + setIamPolicy( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizationpolicies$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Delete; + {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizationpolicies$Delete; + {} as Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy; options = {}; } @@ -9822,29 +11197,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets details of a single AuthorizationPolicy. + * 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. * @example * ```js * // Before running the sample: @@ -9872,23 +11250,28 @@ export namespace networksecurity_v1 { * const authClient = await auth.getClient(); * google.options({auth: authClient}); * - * // Do the magic - * const res = - * await networksecurity.projects.locations.authorizationPolicies.get({ - * // Required. A name of the AuthorizationPolicy to get. Must be in the format `projects/{project\}/locations/{location\}/authorizationPolicies/x`. - * name: 'projects/my-project/locations/my-location/authorizationPolicies/my-authorizationPolicie', - * }); + * // Do the magic + * const res = + * await networksecurity.projects.locations.authorizationPolicies.testIamPermissions( + * { + * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/authorizationPolicies/my-authorizationPolicie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "action": "my_action", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "name": "my_name", - * // "rules": [], - * // "updateTime": "my_updateTime" + * // "permissions": [] * // } * } * @@ -9904,54 +11287,62 @@ export namespace networksecurity_v1 { * @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$Authorizationpolicies$Get, + testIamPermissions( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Authorizationpolicies$Get, + testIamPermissions( + params?: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Get, + ): Promise< + GaxiosResponseWithHTTP2 + >; + testIamPermissions( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Get, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizationpolicies$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Get; + {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizationpolicies$Get; + {} as Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions; options = {}; } @@ -9965,29 +11356,130 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } + } + + export interface Params$Resource$Projects$Locations$Authorizationpolicies$Create extends StandardParameters { + /** + * Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". + */ + authorizationPolicyId?: string; + /** + * Required. The parent resource of the AuthorizationPolicy. Must be in the format `projects/{project\}/locations/{location\}`. + */ + parent?: string; /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * Request body metadata + */ + requestBody?: Schema$AuthorizationPolicy; + } + export interface Params$Resource$Projects$Locations$Authorizationpolicies$Delete extends StandardParameters { + /** + * Required. A name of the AuthorizationPolicy to delete. Must be in the format `projects/{project\}/locations/{location\}/authorizationPolicies/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Authorizationpolicies$Get extends StandardParameters { + /** + * Required. A name of the AuthorizationPolicy to get. Must be in the format `projects/{project\}/locations/{location\}/authorizationPolicies/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy extends StandardParameters { + /** + * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + 'options.requestedPolicyVersion'?: number; + /** + * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + } + export interface Params$Resource$Projects$Locations$Authorizationpolicies$List extends StandardParameters { + /** + * Maximum number of AuthorizationPolicies to return per call. + */ + pageSize?: number; + /** + * The value returned by the last `ListAuthorizationPoliciesResponse` Indicates that this is a continuation of a prior `ListAuthorizationPolicies` call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project and location from which the AuthorizationPolicies should be listed, specified in the format `projects/{project\}/locations/{location\}`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Authorizationpolicies$Patch extends StandardParameters { + /** + * Required. Name of the AuthorizationPolicy resource. It matches pattern `projects/{project\}/locations/{location\}/authorizationPolicies/`. + */ + name?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the AuthorizationPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AuthorizationPolicy; + } + export interface Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleIamV1SetIamPolicyRequest; + } + export interface Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleIamV1TestIamPermissionsRequest; + } + + export class Resource$Projects$Locations$Authzpolicies { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new AuthzPolicy in a given project and location. * @example * ```js * // Before running the sample: @@ -10016,24 +11508,41 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.authorizationPolicies.getIamPolicy( - * { - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/authorizationPolicies/my-authorizationPolicie', - * }, - * ); + * const res = await networksecurity.projects.locations.authzPolicies.create({ + * // Required. User-provided ID of the `AuthzPolicy` resource to be created. + * authzPolicyId: 'placeholder-value', + * // Required. The parent resource of the `AuthzPolicy` resource. Must be in the format `projects/{project\}/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "action": "my_action", + * // "createTime": "my_createTime", + * // "customProvider": {}, + * // "description": "my_description", + * // "httpRules": [], + * // "labels": {}, + * // "name": "my_name", + * // "networkRules": [], + * // "policyProfile": "my_policyProfile", + * // "target": {}, + * // "updateTime": "my_updateTime" + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -10049,56 +11558,53 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, + create( + params: Params$Resource$Projects$Locations$Authzpolicies$Create, options: StreamMethodOptions ): Promise>; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, + create( + params?: Params$Resource$Projects$Locations$Authzpolicies$Create, options?: MethodOptions - ): Promise>; - getIamPolicy( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Authzpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Authzpolicies$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getIamPolicy( - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Authzpolicies$Create, + callback: BodyResponseCallback ): void; - getIamPolicy( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authzpolicies$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy; + {}) as Params$Resource$Projects$Locations$Authzpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy; + params = {} as Params$Resource$Projects$Locations$Authzpolicies$Create; options = {}; } @@ -10112,32 +11618,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( + url: (rootUrl + '/v1/{+parent}/authzPolicies').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists AuthorizationPolicies in a given project and location. + * Deletes a single AuthzPolicy. * @example * ```js * // Before running the sample: @@ -10166,21 +11672,21 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.authorizationPolicies.list({ - * // Maximum number of AuthorizationPolicies to return per call. - * pageSize: 'placeholder-value', - * // The value returned by the last `ListAuthorizationPoliciesResponse` Indicates that this is a continuation of a prior `ListAuthorizationPolicies` call, and that the system should return the next page of data. - * pageToken: 'placeholder-value', - * // Required. The project and location from which the AuthorizationPolicies should be listed, specified in the format `projects/{project\}/locations/{location\}`. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = await networksecurity.projects.locations.authzPolicies.delete({ + * // Required. The name of the `AuthzPolicy` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. + * name: 'projects/my-project/locations/my-location/authzPolicies/my-authzPolicie', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "authorizationPolicies": [], - * // "nextPageToken": "my_nextPageToken" + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -10196,62 +11702,53 @@ export namespace networksecurity_v1 { * @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$Authorizationpolicies$List, + delete( + params: Params$Resource$Projects$Locations$Authzpolicies$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Authorizationpolicies$List, + delete( + params?: Params$Resource$Projects$Locations$Authzpolicies$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Authorizationpolicies$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Authzpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Authorizationpolicies$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Authorizationpolicies$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Authzpolicies$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Authzpolicies$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizationpolicies$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authzpolicies$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizationpolicies$List; + {}) as Params$Resource$Projects$Locations$Authzpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Authorizationpolicies$List; + params = {} as Params$Resource$Projects$Locations$Authzpolicies$Delete; options = {}; } @@ -10265,34 +11762,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/authorizationPolicies').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single AuthorizationPolicy. + * Gets details of a single AuthzPolicy. * @example * ```js * // Before running the sample: @@ -10321,36 +11813,25 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.authorizationPolicies.patch({ - * // Required. Name of the AuthorizationPolicy resource. It matches pattern `projects/{project\}/locations/{location\}/authorizationPolicies/`. - * name: 'projects/my-project/locations/my-location/authorizationPolicies/my-authorizationPolicie', - * // Optional. Field mask is used to specify the fields to be overwritten in the AuthorizationPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "action": "my_action", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "name": "my_name", - * // "rules": [], - * // "updateTime": "my_updateTime" - * // } - * }, - * }); + * const res = await networksecurity.projects.locations.authzPolicies.get({ + * // Required. A name of the `AuthzPolicy` resource to get. Must be in the format `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. + * name: 'projects/my-project/locations/my-location/authzPolicies/my-authzPolicie', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "action": "my_action", + * // "createTime": "my_createTime", + * // "customProvider": {}, + * // "description": "my_description", + * // "httpRules": [], + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "networkRules": [], + * // "policyProfile": "my_policyProfile", + * // "target": {}, + * // "updateTime": "my_updateTime" * // } * } * @@ -10366,54 +11847,53 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, + get( + params: Params$Resource$Projects$Locations$Authzpolicies$Get, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, + get( + params?: Params$Resource$Projects$Locations$Authzpolicies$Get, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Authzpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Authzpolicies$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Patch, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Authzpolicies$Get, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizationpolicies$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authzpolicies$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Patch; + {}) as Params$Resource$Projects$Locations$Authzpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Authorizationpolicies$Patch; + params = {} as Params$Resource$Projects$Locations$Authzpolicies$Get; options = {}; } @@ -10428,7 +11908,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -10439,17 +11919,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. * @example * ```js * // Before running the sample: @@ -10473,28 +11953,19 @@ export namespace networksecurity_v1 { * scopes: ['https://www.googleapis.com/auth/cloud-platform'], * }); * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networksecurity.projects.locations.authorizationPolicies.setIamPolicy( - * { - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/authorizationPolicies/my-authorizationPolicie', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" - * // } - * }, - * }, - * ); + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.projects.locations.authzPolicies.getIamPolicy({ + * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * 'options.requestedPolicyVersion': 'placeholder-value', + * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/authzPolicies/my-authzPolicie', + * }); * console.log(res.data); * * // Example response @@ -10518,34 +11989,34 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, + getIamPolicy( + params: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, options: StreamMethodOptions ): Promise>; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, + getIamPolicy( + params?: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, options?: MethodOptions ): Promise>; - setIamPolicy( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, + getIamPolicy( + params: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, + getIamPolicy( + params: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy, + getIamPolicy( + params: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, callback: BodyResponseCallback ): void; - setIamPolicy( + getIamPolicy( callback: BodyResponseCallback ): void; - setIamPolicy( + getIamPolicy( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy + | Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -10561,13 +12032,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy; + {} as Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy; options = {}; } @@ -10581,11 +12052,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options @@ -10606,7 +12077,7 @@ export namespace networksecurity_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. + * Lists AuthzPolicies in a given project and location. * @example * ```js * // Before running the sample: @@ -10635,27 +12106,25 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.authorizationPolicies.testIamPermissions( - * { - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/authorizationPolicies/my-authorizationPolicie', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "permissions": [] - * // } - * }, - * }, - * ); + * const res = await networksecurity.projects.locations.authzPolicies.list({ + * // Optional. Filtering results. + * filter: 'placeholder-value', + * // Optional. Hint for how to order the results. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results that the server returns. + * pageToken: 'placeholder-value', + * // Required. The project and location from which the `AuthzPolicy` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "permissions": [] + * // "authzPolicies": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -10671,62 +12140,57 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, + list( + params: Params$Resource$Projects$Locations$Authzpolicies$List, options: StreamMethodOptions ): Promise>; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, + list( + params?: Params$Resource$Projects$Locations$Authzpolicies$List, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - testIamPermissions( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Authzpolicies$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, + list( + params: Params$Resource$Projects$Locations$Authzpolicies$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Authzpolicies$List, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + list( + callback: BodyResponseCallback ): void; - testIamPermissions( + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authzpolicies$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Authzpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions; + params = {} as Params$Resource$Projects$Locations$Authzpolicies$List; options = {}; } @@ -10738,132 +12202,34 @@ export namespace networksecurity_v1 { const rootUrl = options.rootUrl || 'https://networksecurity.googleapis.com/'; const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest( - parameters - ); - } - } - } - - export interface Params$Resource$Projects$Locations$Authorizationpolicies$Create extends StandardParameters { - /** - * Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". - */ - authorizationPolicyId?: string; - /** - * Required. The parent resource of the AuthorizationPolicy. Must be in the format `projects/{project\}/locations/{location\}`. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$AuthorizationPolicy; - } - export interface Params$Resource$Projects$Locations$Authorizationpolicies$Delete extends StandardParameters { - /** - * Required. A name of the AuthorizationPolicy to delete. Must be in the format `projects/{project\}/locations/{location\}/authorizationPolicies/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Authorizationpolicies$Get extends StandardParameters { - /** - * Required. A name of the AuthorizationPolicy to get. Must be in the format `projects/{project\}/locations/{location\}/authorizationPolicies/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Authorizationpolicies$Getiampolicy extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Authorizationpolicies$List extends StandardParameters { - /** - * Maximum number of AuthorizationPolicies to return per call. - */ - pageSize?: number; - /** - * The value returned by the last `ListAuthorizationPoliciesResponse` Indicates that this is a continuation of a prior `ListAuthorizationPolicies` call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project and location from which the AuthorizationPolicies should be listed, specified in the format `projects/{project\}/locations/{location\}`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Authorizationpolicies$Patch extends StandardParameters { - /** - * Required. Name of the AuthorizationPolicy resource. It matches pattern `projects/{project\}/locations/{location\}/authorizationPolicies/`. - */ - name?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the AuthorizationPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$AuthorizationPolicy; - } - export interface Params$Resource$Projects$Locations$Authorizationpolicies$Setiampolicy extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleIamV1SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Authorizationpolicies$Testiampermissions extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleIamV1TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Authzpolicies { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/authzPolicies').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); + } } /** - * Creates a new AuthzPolicy in a given project and location. + * Updates the parameters of a single AuthzPolicy. * @example * ```js * // Before running the sample: @@ -10892,13 +12258,13 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.authzPolicies.create({ - * // Required. User-provided ID of the `AuthzPolicy` resource to be created. - * authzPolicyId: 'placeholder-value', - * // Required. The parent resource of the `AuthzPolicy` resource. Must be in the format `projects/{project\}/locations/{location\}`. - * parent: 'projects/my-project/locations/my-location', + * const res = await networksecurity.projects.locations.authzPolicies.patch({ + * // Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. + * name: 'projects/my-project/locations/my-location/authzPolicies/my-authzPolicie', * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). * requestId: 'placeholder-value', + * // Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. + * updateMask: 'placeholder-value', * * // Request body metadata * requestBody: { @@ -10911,6 +12277,7 @@ export namespace networksecurity_v1 { * // "httpRules": [], * // "labels": {}, * // "name": "my_name", + * // "networkRules": [], * // "policyProfile": "my_policyProfile", * // "target": {}, * // "updateTime": "my_updateTime" @@ -10941,32 +12308,32 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Authzpolicies$Create, + patch( + params: Params$Resource$Projects$Locations$Authzpolicies$Patch, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Authzpolicies$Create, + patch( + params?: Params$Resource$Projects$Locations$Authzpolicies$Patch, options?: MethodOptions ): Promise>; - create( - params: Params$Resource$Projects$Locations$Authzpolicies$Create, + patch( + params: Params$Resource$Projects$Locations$Authzpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Authzpolicies$Create, + patch( + params: Params$Resource$Projects$Locations$Authzpolicies$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Authzpolicies$Create, + patch( + params: Params$Resource$Projects$Locations$Authzpolicies$Patch, callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authzpolicies$Create + | Params$Resource$Projects$Locations$Authzpolicies$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -10982,12 +12349,12 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authzpolicies$Create; + {}) as Params$Resource$Projects$Locations$Authzpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Authzpolicies$Create; + params = {} as Params$Resource$Projects$Locations$Authzpolicies$Patch; options = {}; } @@ -11001,7 +12368,159 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/authzPolicies').replace( + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.projects.locations.authzPolicies.setIamPolicy({ + * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/authzPolicies/my-authzPolicie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "policy": {}, + * // "updateMask": "my_updateMask" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + setIamPolicy( + params: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, + options: StreamMethodOptions + ): Promise>; + setIamPolicy( + params?: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, + options?: MethodOptions + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, + callback: BodyResponseCallback + ): void; + setIamPolicy( + callback: BodyResponseCallback + ): void; + setIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networksecurity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( /([^:]\/)\/+/g, '$1' ), @@ -11011,22 +12530,22 @@ export namespace networksecurity_v1 { options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes a single AuthzPolicy. + * 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. * @example * ```js * // Before running the sample: @@ -11055,21 +12574,25 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.authzPolicies.delete({ - * // Required. The name of the `AuthzPolicy` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. - * name: 'projects/my-project/locations/my-location/authzPolicies/my-authzPolicie', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * }); + * const res = + * await networksecurity.projects.locations.authzPolicies.testIamPermissions({ + * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/authzPolicies/my-authzPolicie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); * console.log(res.data); * * // Example response - * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // { + * // "permissions": [] * // } * } * @@ -11085,53 +12608,62 @@ export namespace networksecurity_v1 { * @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$Authzpolicies$Delete, + testIamPermissions( + params: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Authzpolicies$Delete, + testIamPermissions( + params?: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Authzpolicies$Delete, + ): Promise< + GaxiosResponseWithHTTP2 + >; + testIamPermissions( + params: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Authzpolicies$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Authzpolicies$Delete, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authzpolicies$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authzpolicies$Delete; + {}) as Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Authzpolicies$Delete; + params = + {} as Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions; options = {}; } @@ -11145,29 +12677,150 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } + } + export interface Params$Resource$Projects$Locations$Authzpolicies$Create extends StandardParameters { /** - * Gets details of a single AuthzPolicy. + * Required. User-provided ID of the `AuthzPolicy` resource to be created. + */ + authzPolicyId?: string; + /** + * Required. The parent resource of the `AuthzPolicy` resource. Must be in the format `projects/{project\}/locations/{location\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AuthzPolicy; + } + export interface Params$Resource$Projects$Locations$Authzpolicies$Delete extends StandardParameters { + /** + * Required. The name of the `AuthzPolicy` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Authzpolicies$Get extends StandardParameters { + /** + * Required. A name of the `AuthzPolicy` resource to get. Must be in the format `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy extends StandardParameters { + /** + * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + 'options.requestedPolicyVersion'?: number; + /** + * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + } + export interface Params$Resource$Projects$Locations$Authzpolicies$List extends StandardParameters { + /** + * Optional. Filtering results. + */ + filter?: string; + /** + * Optional. Hint for how to order the results. + */ + orderBy?: string; + /** + * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results that the server returns. + */ + pageToken?: string; + /** + * Required. The project and location from which the `AuthzPolicy` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Authzpolicies$Patch extends StandardParameters { + /** + * Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AuthzPolicy; + } + export interface Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleIamV1SetIamPolicyRequest; + } + export interface Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleIamV1TestIamPermissionsRequest; + } + + export class Resource$Projects$Locations$Backendauthenticationconfigs { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new BackendAuthenticationConfig in a given project and location. * @example * ```js * // Before running the sample: @@ -11196,24 +12849,40 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.authzPolicies.get({ - * // Required. A name of the `AuthzPolicy` resource to get. Must be in the format `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. - * name: 'projects/my-project/locations/my-location/authzPolicies/my-authzPolicie', - * }); + * const res = + * await networksecurity.projects.locations.backendAuthenticationConfigs.create( + * { + * // Required. Short name of the BackendAuthenticationConfig resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "backend-auth-config". + * backendAuthenticationConfigId: 'placeholder-value', + * // Required. The parent resource of the BackendAuthenticationConfig. Must be in the format `projects/x/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "clientCertificate": "my_clientCertificate", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "labels": {}, + * // "name": "my_name", + * // "trustConfig": "my_trustConfig", + * // "updateTime": "my_updateTime", + * // "wellKnownRoots": "my_wellKnownRoots" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "action": "my_action", - * // "createTime": "my_createTime", - * // "customProvider": {}, - * // "description": "my_description", - * // "httpRules": [], - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "policyProfile": "my_policyProfile", - * // "target": {}, - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -11229,53 +12898,54 @@ export namespace networksecurity_v1 { * @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$Authzpolicies$Get, + create( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Authzpolicies$Get, + create( + params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Authzpolicies$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Authzpolicies$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Authzpolicies$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authzpolicies$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authzpolicies$Get; + {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Authzpolicies$Get; + params = + {} as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create; options = {}; } @@ -11289,29 +12959,31 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: ( + rootUrl + '/v1/{+parent}/backendAuthenticationConfigs' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * Deletes a single BackendAuthenticationConfig to BackendAuthenticationConfig. * @example * ```js * // Before running the sample: @@ -11341,21 +13013,23 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.authzPolicies.getIamPolicy({ - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/authzPolicies/my-authzPolicie', - * }); + * await networksecurity.projects.locations.backendAuthenticationConfigs.delete( + * { + * // Optional. Etag of the resource. If this is provided, it must match the server's etag. + * etag: 'placeholder-value', + * // Required. A name of the BackendAuthenticationConfig to delete. Must be in the format `projects/x/locations/{location\}/backendAuthenticationConfigs/x`. + * name: 'projects/my-project/locations/my-location/backendAuthenticationConfigs/my-backendAuthenticationConfig', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -11371,56 +13045,54 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, + delete( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete, options: StreamMethodOptions ): Promise>; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, + delete( + params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete, options?: MethodOptions - ): Promise>; - getIamPolicy( - params: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getIamPolicy( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete, + callback: BodyResponseCallback ): void; - getIamPolicy( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy; + {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy; + {} as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete; options = {}; } @@ -11434,32 +13106,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists AuthzPolicies in a given project and location. + * Gets details of a single BackendAuthenticationConfig to BackendAuthenticationConfig. * @example * ```js * // Before running the sample: @@ -11488,25 +13157,24 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.authzPolicies.list({ - * // Optional. Filtering results. - * filter: 'placeholder-value', - * // Optional. Hint for how to order the results. - * orderBy: 'placeholder-value', - * // Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results that the server returns. - * pageToken: 'placeholder-value', - * // Required. The project and location from which the `AuthzPolicy` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = + * await networksecurity.projects.locations.backendAuthenticationConfigs.get({ + * // Required. A name of the BackendAuthenticationConfig to get. Must be in the format `projects/x/locations/{location\}/backendAuthenticationConfigs/x`. + * name: 'projects/my-project/locations/my-location/backendAuthenticationConfigs/my-backendAuthenticationConfig', + * }); * console.log(res.data); * * // Example response * // { - * // "authzPolicies": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "clientCertificate": "my_clientCertificate", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "labels": {}, + * // "name": "my_name", + * // "trustConfig": "my_trustConfig", + * // "updateTime": "my_updateTime", + * // "wellKnownRoots": "my_wellKnownRoots" * // } * } * @@ -11522,57 +13190,58 @@ export namespace networksecurity_v1 { * @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$Authzpolicies$List, + get( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Authzpolicies$List, + get( + params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Authzpolicies$List, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Authzpolicies$List, + get( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Authzpolicies$List, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + get( + callback: BodyResponseCallback ): void; - list( + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authzpolicies$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authzpolicies$List; + {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Authzpolicies$List; + params = + {} as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get; options = {}; } @@ -11586,32 +13255,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/authzPolicies').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single AuthzPolicy. + * Lists BackendAuthenticationConfigs in a given project and location. * @example * ```js * // Before running the sample: @@ -11640,40 +13306,22 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.authzPolicies.patch({ - * // Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. - * name: 'projects/my-project/locations/my-location/authzPolicies/my-authzPolicie', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "action": "my_action", - * // "createTime": "my_createTime", - * // "customProvider": {}, - * // "description": "my_description", - * // "httpRules": [], - * // "labels": {}, - * // "name": "my_name", - * // "policyProfile": "my_policyProfile", - * // "target": {}, - * // "updateTime": "my_updateTime" - * // } - * }, - * }); + * const res = + * await networksecurity.projects.locations.backendAuthenticationConfigs.list({ + * // Maximum number of BackendAuthenticationConfigs to return per call. + * pageSize: 'placeholder-value', + * // The value returned by the last `ListBackendAuthenticationConfigsResponse` Indicates that this is a continuation of a prior `ListBackendAuthenticationConfigs` call, and that the system should return the next page of data. + * pageToken: 'placeholder-value', + * // Required. The project and location from which the BackendAuthenticationConfigs should be listed, specified in the format `projects/x/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "backendAuthenticationConfigs": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -11689,53 +13337,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Authzpolicies$Patch, + list( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Authzpolicies$Patch, + list( + params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Authzpolicies$Patch, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Authzpolicies$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Authzpolicies$Patch, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authzpolicies$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Backendauthenticationconfigs$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authzpolicies$Patch; + {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Authzpolicies$Patch; + params = + {} as Params$Resource$Projects$Locations$Backendauthenticationconfigs$List; options = {}; } @@ -11749,29 +13406,33 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: ( + rootUrl + '/v1/{+parent}/backendAuthenticationConfigs' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Updates the parameters of a single BackendAuthenticationConfig to BackendAuthenticationConfig. * @example * ```js * // Before running the sample: @@ -11801,28 +13462,39 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.authzPolicies.setIamPolicy({ - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/authzPolicies/my-authzPolicie', + * await networksecurity.projects.locations.backendAuthenticationConfigs.patch( + * { + * // Required. Name of the BackendAuthenticationConfig resource. It matches the pattern `projects/x/locations/{location\}/backendAuthenticationConfigs/{backend_authentication_config\}` + * name: 'projects/my-project/locations/my-location/backendAuthenticationConfigs/my-backendAuthenticationConfig', + * // Optional. Field mask is used to specify the fields to be overwritten in the BackendAuthenticationConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" - * // } + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "clientCertificate": "my_clientCertificate", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "labels": {}, + * // "name": "my_name", + * // "trustConfig": "my_trustConfig", + * // "updateTime": "my_updateTime", + * // "wellKnownRoots": "my_wellKnownRoots" + * // } + * }, * }, - * }); + * ); * console.log(res.data); * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -11838,56 +13510,54 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, + patch( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, options: StreamMethodOptions ): Promise>; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, + patch( + params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, options?: MethodOptions - ): Promise>; - setIamPolicy( - params: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, + callback: BodyResponseCallback ): void; - setIamPolicy( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy; + {} as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch; options = {}; } @@ -11901,32 +13571,97 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + + export interface Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create extends StandardParameters { + /** + * Required. Short name of the BackendAuthenticationConfig resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "backend-auth-config". + */ + backendAuthenticationConfigId?: string; + /** + * Required. The parent resource of the BackendAuthenticationConfig. Must be in the format `projects/x/locations/{location\}`. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$BackendAuthenticationConfig; + } + export interface Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete extends StandardParameters { + /** + * Optional. Etag of the resource. If this is provided, it must match the server's etag. + */ + etag?: string; + /** + * Required. A name of the BackendAuthenticationConfig to delete. Must be in the format `projects/x/locations/{location\}/backendAuthenticationConfigs/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get extends StandardParameters { + /** + * Required. A name of the BackendAuthenticationConfig to get. Must be in the format `projects/x/locations/{location\}/backendAuthenticationConfigs/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backendauthenticationconfigs$List extends StandardParameters { + /** + * Maximum number of BackendAuthenticationConfigs to return per call. + */ + pageSize?: number; + /** + * The value returned by the last `ListBackendAuthenticationConfigsResponse` Indicates that this is a continuation of a prior `ListBackendAuthenticationConfigs` call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project and location from which the BackendAuthenticationConfigs should be listed, specified in the format `projects/x/locations/{location\}`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch extends StandardParameters { + /** + * Required. Name of the BackendAuthenticationConfig resource. It matches the pattern `projects/x/locations/{location\}/backendAuthenticationConfigs/{backend_authentication_config\}` + */ + name?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the BackendAuthenticationConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$BackendAuthenticationConfig; + } + + export class Resource$Projects$Locations$Clienttlspolicies { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } /** - * 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. + * Creates a new ClientTlsPolicy in a given project and location. * @example * ```js * // Before running the sample: @@ -11955,25 +13690,38 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.authzPolicies.testIamPermissions({ - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/authzPolicies/my-authzPolicie', + * const res = await networksecurity.projects.locations.clientTlsPolicies.create( + * { + * // Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "client_mtls_policy". + * clientTlsPolicyId: 'placeholder-value', + * // Required. The parent resource of the ClientTlsPolicy. Must be in the format `projects/x/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', * * // Request body metadata * requestBody: { * // request body parameters * // { - * // "permissions": [] + * // "clientCertificate": {}, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "name": "my_name", + * // "serverValidationCa": [], + * // "sni": "my_sni", + * // "updateTime": "my_updateTime" * // } * }, - * }); + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "permissions": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -11989,62 +13737,54 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, + create( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Create, options: StreamMethodOptions ): Promise>; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, + create( + params?: Params$Resource$Projects$Locations$Clienttlspolicies$Create, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - testIamPermissions( - params: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Create, + callback: BodyResponseCallback ): void; - testIamPermissions( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Clienttlspolicies$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions; + {} as Params$Resource$Projects$Locations$Clienttlspolicies$Create; options = {}; } @@ -12058,7 +13798,7 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + url: (rootUrl + '/v1/{+parent}/clientTlsPolicies').replace( /([^:]\/)\/+/g, '$1' ), @@ -12068,140 +13808,22 @@ export namespace networksecurity_v1 { options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Authzpolicies$Create extends StandardParameters { - /** - * Required. User-provided ID of the `AuthzPolicy` resource to be created. - */ - authzPolicyId?: string; - /** - * Required. The parent resource of the `AuthzPolicy` resource. Must be in the format `projects/{project\}/locations/{location\}`. - */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$AuthzPolicy; - } - export interface Params$Resource$Projects$Locations$Authzpolicies$Delete extends StandardParameters { - /** - * Required. The name of the `AuthzPolicy` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Authzpolicies$Get extends StandardParameters { - /** - * Required. A name of the `AuthzPolicy` resource to get. Must be in the format `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Authzpolicies$Getiampolicy extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Authzpolicies$List extends StandardParameters { - /** - * Optional. Filtering results. - */ - filter?: string; - /** - * Optional. Hint for how to order the results. - */ - orderBy?: string; - /** - * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. - */ - pageSize?: number; - /** - * Optional. A token identifying a page of results that the server returns. - */ - pageToken?: string; - /** - * Required. The project and location from which the `AuthzPolicy` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Authzpolicies$Patch extends StandardParameters { - /** - * Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$AuthzPolicy; - } - export interface Params$Resource$Projects$Locations$Authzpolicies$Setiampolicy extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleIamV1SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Authzpolicies$Testiampermissions extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleIamV1TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Backendauthenticationconfigs { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a new BackendAuthenticationConfig in a given project and location. + * Deletes a single ClientTlsPolicy. * @example * ```js * // Before running the sample: @@ -12230,31 +13852,12 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.backendAuthenticationConfigs.create( - * { - * // Required. Short name of the BackendAuthenticationConfig resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "backend-auth-config". - * backendAuthenticationConfigId: 'placeholder-value', - * // Required. The parent resource of the BackendAuthenticationConfig. Must be in the format `projects/x/locations/{location\}`. - * parent: 'projects/my-project/locations/my-location', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "clientCertificate": "my_clientCertificate", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "labels": {}, - * // "name": "my_name", - * // "trustConfig": "my_trustConfig", - * // "updateTime": "my_updateTime", - * // "wellKnownRoots": "my_wellKnownRoots" - * // } - * }, - * }, - * ); + * const res = await networksecurity.projects.locations.clientTlsPolicies.delete( + * { + * // Required. A name of the ClientTlsPolicy to delete. Must be in the format `projects/x/locations/{location\}/clientTlsPolicies/x`. + * name: 'projects/my-project/locations/my-location/clientTlsPolicies/my-clientTlsPolicie', + * }, + * ); * console.log(res.data); * * // Example response @@ -12279,32 +13882,32 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, + delete( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, + delete( + params?: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, options?: MethodOptions ): Promise>; - create( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, + delete( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, + delete( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create, + delete( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create + | Params$Resource$Projects$Locations$Clienttlspolicies$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -12320,13 +13923,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create; + {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create; + {} as Params$Resource$Projects$Locations$Clienttlspolicies$Delete; options = {}; } @@ -12340,17 +13943,15 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+parent}/backendAuthenticationConfigs' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { @@ -12364,7 +13965,7 @@ export namespace networksecurity_v1 { } /** - * Deletes a single BackendAuthenticationConfig to BackendAuthenticationConfig. + * Gets details of a single ClientTlsPolicy. * @example * ```js * // Before running the sample: @@ -12393,24 +13994,22 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.backendAuthenticationConfigs.delete( - * { - * // Optional. Etag of the resource. If this is provided, it must match the server's etag. - * etag: 'placeholder-value', - * // Required. A name of the BackendAuthenticationConfig to delete. Must be in the format `projects/x/locations/{location\}/backendAuthenticationConfigs/x`. - * name: 'projects/my-project/locations/my-location/backendAuthenticationConfigs/my-backendAuthenticationConfig', - * }, - * ); + * const res = await networksecurity.projects.locations.clientTlsPolicies.get({ + * // Required. A name of the ClientTlsPolicy to get. Must be in the format `projects/x/locations/{location\}/clientTlsPolicies/x`. + * name: 'projects/my-project/locations/my-location/clientTlsPolicies/my-clientTlsPolicie', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "clientCertificate": {}, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "serverValidationCa": [], + * // "sni": "my_sni", + * // "updateTime": "my_updateTime" * // } * } * @@ -12426,54 +14025,53 @@ export namespace networksecurity_v1 { * @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$Backendauthenticationconfigs$Delete, + get( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Get, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete, + get( + params?: Params$Resource$Projects$Locations$Clienttlspolicies$Get, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Get, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Clienttlspolicies$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete; + {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete; + params = {} as Params$Resource$Projects$Locations$Clienttlspolicies$Get; options = {}; } @@ -12488,7 +14086,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'GET', apiVersion: '', }, options @@ -12499,17 +14097,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets details of a single BackendAuthenticationConfig to BackendAuthenticationConfig. + * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. * @example * ```js * // Before running the sample: @@ -12539,23 +14137,21 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.backendAuthenticationConfigs.get({ - * // Required. A name of the BackendAuthenticationConfig to get. Must be in the format `projects/x/locations/{location\}/backendAuthenticationConfigs/x`. - * name: 'projects/my-project/locations/my-location/backendAuthenticationConfigs/my-backendAuthenticationConfig', + * await networksecurity.projects.locations.clientTlsPolicies.getIamPolicy({ + * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * 'options.requestedPolicyVersion': 'placeholder-value', + * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/clientTlsPolicies/my-clientTlsPolicie', * }); * console.log(res.data); * * // Example response * // { - * // "clientCertificate": "my_clientCertificate", - * // "createTime": "my_createTime", - * // "description": "my_description", + * // "auditConfigs": [], + * // "bindings": [], * // "etag": "my_etag", - * // "labels": {}, - * // "name": "my_name", - * // "trustConfig": "my_trustConfig", - * // "updateTime": "my_updateTime", - * // "wellKnownRoots": "my_wellKnownRoots" + * // "version": 0 * // } * } * @@ -12571,58 +14167,56 @@ export namespace networksecurity_v1 { * @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$Backendauthenticationconfigs$Get, + getIamPolicy( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get, + getIamPolicy( + params?: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get, + ): Promise>; + getIamPolicy( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + getIamPolicy( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get, - callback: BodyResponseCallback + getIamPolicy( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, + callback: BodyResponseCallback ): void; - get( - callback: BodyResponseCallback + getIamPolicy( + callback: BodyResponseCallback ): void; - get( + getIamPolicy( paramsOrCallback?: - | Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get; + {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get; + {} as Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy; options = {}; } @@ -12636,29 +14230,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists BackendAuthenticationConfigs in a given project and location. + * Lists ClientTlsPolicies in a given project and location. * @example * ```js * // Before running the sample: @@ -12687,22 +14284,20 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.backendAuthenticationConfigs.list({ - * // Maximum number of BackendAuthenticationConfigs to return per call. - * pageSize: 'placeholder-value', - * // The value returned by the last `ListBackendAuthenticationConfigsResponse` Indicates that this is a continuation of a prior `ListBackendAuthenticationConfigs` call, and that the system should return the next page of data. - * pageToken: 'placeholder-value', - * // Required. The project and location from which the BackendAuthenticationConfigs should be listed, specified in the format `projects/x/locations/{location\}`. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = await networksecurity.projects.locations.clientTlsPolicies.list({ + * // Maximum number of ClientTlsPolicies to return per call. + * pageSize: 'placeholder-value', + * // The value returned by the last `ListClientTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListClientTlsPolicies` call, and that the system should return the next page of data. + * pageToken: 'placeholder-value', + * // Required. The project and location from which the ClientTlsPolicies should be listed, specified in the format `projects/x/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "backendAuthenticationConfigs": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "clientTlsPolicies": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -12719,61 +14314,57 @@ export namespace networksecurity_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, + params: Params$Resource$Projects$Locations$Clienttlspolicies$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, + params?: Params$Resource$Projects$Locations$Clienttlspolicies$List, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; + ): Promise>; list( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, + params: Params$Resource$Projects$Locations$Clienttlspolicies$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, + params: Params$Resource$Projects$Locations$Clienttlspolicies$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Clienttlspolicies$List, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Backendauthenticationconfigs$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Clienttlspolicies$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$List; + {}) as Params$Resource$Projects$Locations$Clienttlspolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Backendauthenticationconfigs$List; + {} as Params$Resource$Projects$Locations$Clienttlspolicies$List; options = {}; } @@ -12787,9 +14378,10 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+parent}/backendAuthenticationConfigs' - ).replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+parent}/clientTlsPolicies').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', apiVersion: '', }, @@ -12801,19 +14393,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } /** - * Updates the parameters of a single BackendAuthenticationConfig to BackendAuthenticationConfig. + * Updates the parameters of a single ClientTlsPolicy. * @example * ```js * // Before running the sample: @@ -12842,31 +14434,27 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.backendAuthenticationConfigs.patch( - * { - * // Required. Name of the BackendAuthenticationConfig resource. It matches the pattern `projects/x/locations/{location\}/backendAuthenticationConfigs/{backend_authentication_config\}` - * name: 'projects/my-project/locations/my-location/backendAuthenticationConfigs/my-backendAuthenticationConfig', - * // Optional. Field mask is used to specify the fields to be overwritten in the BackendAuthenticationConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', + * const res = await networksecurity.projects.locations.clientTlsPolicies.patch({ + * // Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/{project\}/locations/{location\}/clientTlsPolicies/{client_tls_policy\}` + * name: 'projects/my-project/locations/my-location/clientTlsPolicies/my-clientTlsPolicie', + * // Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "clientCertificate": "my_clientCertificate", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "labels": {}, - * // "name": "my_name", - * // "trustConfig": "my_trustConfig", - * // "updateTime": "my_updateTime", - * // "wellKnownRoots": "my_wellKnownRoots" - * // } - * }, - * }, - * ); + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "clientCertificate": {}, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "name": "my_name", + * // "serverValidationCa": [], + * // "sni": "my_sni", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); * console.log(res.data); * * // Example response @@ -12892,31 +14480,31 @@ export namespace networksecurity_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ patch( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, + params: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, options: StreamMethodOptions ): Promise>; patch( - params?: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, + params?: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, options?: MethodOptions ): Promise>; patch( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, + params: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, + params: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch, + params: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, callback: BodyResponseCallback ): void; patch(callback: BodyResponseCallback): void; patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch + | Params$Resource$Projects$Locations$Clienttlspolicies$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -12932,13 +14520,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch; + {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch; + {} as Params$Resource$Projects$Locations$Clienttlspolicies$Patch; options = {}; } @@ -12972,77 +14560,164 @@ export namespace networksecurity_v1 { return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Backendauthenticationconfigs$Create extends StandardParameters { - /** - * Required. Short name of the BackendAuthenticationConfig resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "backend-auth-config". - */ - backendAuthenticationConfigId?: string; - /** - * Required. The parent resource of the BackendAuthenticationConfig. Must be in the format `projects/x/locations/{location\}`. - */ - parent?: string; /** - * Request body metadata - */ - requestBody?: Schema$BackendAuthenticationConfig; - } - export interface Params$Resource$Projects$Locations$Backendauthenticationconfigs$Delete extends StandardParameters { - /** - * Optional. Etag of the resource. If this is provided, it must match the server's etag. - */ - etag?: string; - /** - * Required. A name of the BackendAuthenticationConfig to delete. Must be in the format `projects/x/locations/{location\}/backendAuthenticationConfigs/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Backendauthenticationconfigs$Get extends StandardParameters { - /** - * Required. A name of the BackendAuthenticationConfig to get. Must be in the format `projects/x/locations/{location\}/backendAuthenticationConfigs/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Backendauthenticationconfigs$List extends StandardParameters { - /** - * Maximum number of BackendAuthenticationConfigs to return per call. - */ - pageSize?: number; - /** - * The value returned by the last `ListBackendAuthenticationConfigsResponse` Indicates that this is a continuation of a prior `ListBackendAuthenticationConfigs` call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project and location from which the BackendAuthenticationConfigs should be listed, specified in the format `projects/x/locations/{location\}`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Backendauthenticationconfigs$Patch extends StandardParameters { - /** - * Required. Name of the BackendAuthenticationConfig resource. It matches the pattern `projects/x/locations/{location\}/backendAuthenticationConfigs/{backend_authentication_config\}` - */ - name?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the BackendAuthenticationConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.projects.locations.clientTlsPolicies.setIamPolicy({ + * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/clientTlsPolicies/my-clientTlsPolicie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "policy": {}, + * // "updateMask": "my_updateMask" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. */ - updateMask?: string; + setIamPolicy( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, + options: StreamMethodOptions + ): Promise>; + setIamPolicy( + params?: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, + options?: MethodOptions + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, + callback: BodyResponseCallback + ): void; + setIamPolicy( + callback: BodyResponseCallback + ): void; + setIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; - /** - * Request body metadata - */ - requestBody?: Schema$BackendAuthenticationConfig; - } + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy; + options = {}; + } - export class Resource$Projects$Locations$Clienttlspolicies { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networksecurity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } } /** - * Creates a new ClientTlsPolicy in a given project and location. + * 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. * @example * ```js * // Before running the sample: @@ -13071,38 +14746,27 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.clientTlsPolicies.create( - * { - * // Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "client_mtls_policy". - * clientTlsPolicyId: 'placeholder-value', - * // Required. The parent resource of the ClientTlsPolicy. Must be in the format `projects/x/locations/{location\}`. - * parent: 'projects/my-project/locations/my-location', + * const res = + * await networksecurity.projects.locations.clientTlsPolicies.testIamPermissions( + * { + * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/clientTlsPolicies/my-clientTlsPolicie', * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "clientCertificate": {}, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "name": "my_name", - * // "serverValidationCa": [], - * // "sni": "my_sni", - * // "updateTime": "my_updateTime" - * // } + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, * }, - * }, - * ); + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "permissions": [] * // } * } * @@ -13118,54 +14782,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Create, + testIamPermissions( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Clienttlspolicies$Create, + testIamPermissions( + params?: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + testIamPermissions( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Create, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( paramsOrCallback?: - | Params$Resource$Projects$Locations$Clienttlspolicies$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Create; + {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Clienttlspolicies$Create; + {} as Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions; options = {}; } @@ -13179,7 +14851,7 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/clientTlsPolicies').replace( + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( /([^:]\/)\/+/g, '$1' ), @@ -13189,22 +14861,120 @@ export namespace networksecurity_v1 { options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } + } + export interface Params$Resource$Projects$Locations$Clienttlspolicies$Create extends StandardParameters { /** - * Deletes a single ClientTlsPolicy. + * Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "client_mtls_policy". + */ + clientTlsPolicyId?: string; + /** + * Required. The parent resource of the ClientTlsPolicy. Must be in the format `projects/x/locations/{location\}`. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ClientTlsPolicy; + } + export interface Params$Resource$Projects$Locations$Clienttlspolicies$Delete extends StandardParameters { + /** + * Required. A name of the ClientTlsPolicy to delete. Must be in the format `projects/x/locations/{location\}/clientTlsPolicies/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Clienttlspolicies$Get extends StandardParameters { + /** + * Required. A name of the ClientTlsPolicy to get. Must be in the format `projects/x/locations/{location\}/clientTlsPolicies/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy extends StandardParameters { + /** + * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + 'options.requestedPolicyVersion'?: number; + /** + * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + } + export interface Params$Resource$Projects$Locations$Clienttlspolicies$List extends StandardParameters { + /** + * Maximum number of ClientTlsPolicies to return per call. + */ + pageSize?: number; + /** + * The value returned by the last `ListClientTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListClientTlsPolicies` call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project and location from which the ClientTlsPolicies should be listed, specified in the format `projects/x/locations/{location\}`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Clienttlspolicies$Patch extends StandardParameters { + /** + * Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/{project\}/locations/{location\}/clientTlsPolicies/{client_tls_policy\}` + */ + name?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ClientTlsPolicy; + } + export interface Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleIamV1SetIamPolicyRequest; + } + export interface Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleIamV1TestIamPermissionsRequest; + } + + export class Resource$Projects$Locations$Dnsthreatdetectors { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new DnsThreatDetector in a given project and location. * @example * ```js * // Before running the sample: @@ -13233,21 +15003,36 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.clientTlsPolicies.delete( - * { - * // Required. A name of the ClientTlsPolicy to delete. Must be in the format `projects/x/locations/{location\}/clientTlsPolicies/x`. - * name: 'projects/my-project/locations/my-location/clientTlsPolicies/my-clientTlsPolicie', - * }, - * ); + * const res = + * await networksecurity.projects.locations.dnsThreatDetectors.create({ + * // Optional. The ID of the requesting DnsThreatDetector object. If this field is not supplied, the service generates an identifier. + * dnsThreatDetectorId: 'placeholder-value', + * // Required. The value for the parent of the DnsThreatDetector resource. + * parent: 'projects/my-project/locations/my-location', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "excludedNetworks": [], + * // "labels": {}, + * // "name": "my_name", + * // "provider": "my_provider", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "createTime": "my_createTime", + * // "excludedNetworks": [], + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "provider": "my_provider", + * // "updateTime": "my_updateTime" * // } * } * @@ -13263,54 +15048,54 @@ export namespace networksecurity_v1 { * @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$Clienttlspolicies$Delete, + create( + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Create, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, + create( + params?: Params$Resource$Projects$Locations$Dnsthreatdetectors$Create, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Delete, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Create, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Clienttlspolicies$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Dnsthreatdetectors$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Delete; + {}) as Params$Resource$Projects$Locations$Dnsthreatdetectors$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Clienttlspolicies$Delete; + {} as Params$Resource$Projects$Locations$Dnsthreatdetectors$Create; options = {}; } @@ -13324,29 +15109,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+parent}/dnsThreatDetectors').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets details of a single ClientTlsPolicy. + * Deletes a single DnsThreatDetector. * @example * ```js * // Before running the sample: @@ -13375,23 +15163,15 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.clientTlsPolicies.get({ - * // Required. A name of the ClientTlsPolicy to get. Must be in the format `projects/x/locations/{location\}/clientTlsPolicies/x`. - * name: 'projects/my-project/locations/my-location/clientTlsPolicies/my-clientTlsPolicie', - * }); + * const res = + * await networksecurity.projects.locations.dnsThreatDetectors.delete({ + * // Required. Name of the DnsThreatDetector resource. + * name: 'projects/my-project/locations/my-location/dnsThreatDetectors/my-dnsThreatDetector', + * }); * console.log(res.data); * * // Example response - * // { - * // "clientCertificate": {}, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "name": "my_name", - * // "serverValidationCa": [], - * // "sni": "my_sni", - * // "updateTime": "my_updateTime" - * // } + * // {} * } * * main().catch(e => { @@ -13406,53 +15186,54 @@ export namespace networksecurity_v1 { * @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$Clienttlspolicies$Get, + delete( + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Clienttlspolicies$Get, + delete( + params?: Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Get, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Get, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Clienttlspolicies$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Get; + {}) as Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Clienttlspolicies$Get; + params = + {} as Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete; options = {}; } @@ -13467,7 +15248,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'DELETE', apiVersion: '', }, options @@ -13478,17 +15259,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * Gets the details of a single DnsThreatDetector. * @example * ```js * // Before running the sample: @@ -13517,22 +15298,20 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.clientTlsPolicies.getIamPolicy({ - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/clientTlsPolicies/my-clientTlsPolicie', - * }); + * const res = await networksecurity.projects.locations.dnsThreatDetectors.get({ + * // Required. Name of the DnsThreatDetector resource. + * name: 'projects/my-project/locations/my-location/dnsThreatDetectors/my-dnsThreatDetector', + * }); * console.log(res.data); * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "createTime": "my_createTime", + * // "excludedNetworks": [], + * // "labels": {}, + * // "name": "my_name", + * // "provider": "my_provider", + * // "updateTime": "my_updateTime" * // } * } * @@ -13548,56 +15327,54 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, + get( + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Get, options: StreamMethodOptions ): Promise>; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, + get( + params?: Params$Resource$Projects$Locations$Dnsthreatdetectors$Get, options?: MethodOptions - ): Promise>; - getIamPolicy( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getIamPolicy( - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Get, + callback: BodyResponseCallback ): void; - getIamPolicy( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Dnsthreatdetectors$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy; + {}) as Params$Resource$Projects$Locations$Dnsthreatdetectors$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy; + {} as Params$Resource$Projects$Locations$Dnsthreatdetectors$Get; options = {}; } @@ -13611,32 +15388,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists ClientTlsPolicies in a given project and location. + * Lists DnsThreatDetectors in a given project and location. * @example * ```js * // Before running the sample: @@ -13665,20 +15439,21 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.clientTlsPolicies.list({ - * // Maximum number of ClientTlsPolicies to return per call. + * const res = await networksecurity.projects.locations.dnsThreatDetectors.list({ + * // Optional. The requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default. * pageSize: 'placeholder-value', - * // The value returned by the last `ListClientTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListClientTlsPolicies` call, and that the system should return the next page of data. + * // Optional. A page token received from a previous `ListDnsThreatDetectorsRequest` call. Provide this to retrieve the subsequent page. * pageToken: 'placeholder-value', - * // Required. The project and location from which the ClientTlsPolicies should be listed, specified in the format `projects/x/locations/{location\}`. + * // Required. The parent value for `ListDnsThreatDetectorsRequest`. * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "clientTlsPolicies": [], - * // "nextPageToken": "my_nextPageToken" + * // "dnsThreatDetectors": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -13695,57 +15470,57 @@ export namespace networksecurity_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Clienttlspolicies$List, + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Clienttlspolicies$List, + params?: Params$Resource$Projects$Locations$Dnsthreatdetectors$List, options?: MethodOptions - ): Promise>; + ): Promise>; list( - params: Params$Resource$Projects$Locations$Clienttlspolicies$List, + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Clienttlspolicies$List, + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Clienttlspolicies$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$List, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Clienttlspolicies$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Dnsthreatdetectors$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Clienttlspolicies$List; + {}) as Params$Resource$Projects$Locations$Dnsthreatdetectors$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Clienttlspolicies$List; + {} as Params$Resource$Projects$Locations$Dnsthreatdetectors$List; options = {}; } @@ -13759,7 +15534,7 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/clientTlsPolicies').replace( + url: (rootUrl + '/v1/{+parent}/dnsThreatDetectors').replace( /([^:]\/)\/+/g, '$1' ), @@ -13774,19 +15549,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } /** - * Updates the parameters of a single ClientTlsPolicy. + * Updates a single DnsThreatDetector. * @example * ```js * // Before running the sample: @@ -13815,36 +15590,37 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.clientTlsPolicies.patch({ - * // Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/{project\}/locations/{location\}/clientTlsPolicies/{client_tls_policy\}` - * name: 'projects/my-project/locations/my-location/clientTlsPolicies/my-clientTlsPolicie', - * // Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', + * const res = await networksecurity.projects.locations.dnsThreatDetectors.patch( + * { + * // Immutable. Identifier. Name of the DnsThreatDetector resource. + * name: 'projects/my-project/locations/my-location/dnsThreatDetectors/my-dnsThreatDetector', + * // Optional. The field mask is used to specify the fields to be overwritten in the DnsThreatDetector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not provided then all fields present in the request will be overwritten. + * updateMask: 'placeholder-value', * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "clientCertificate": {}, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "name": "my_name", - * // "serverValidationCa": [], - * // "sni": "my_sni", - * // "updateTime": "my_updateTime" - * // } + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "excludedNetworks": [], + * // "labels": {}, + * // "name": "my_name", + * // "provider": "my_provider", + * // "updateTime": "my_updateTime" + * // } + * }, * }, - * }); + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "createTime": "my_createTime", + * // "excludedNetworks": [], + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "provider": "my_provider", + * // "updateTime": "my_updateTime" * // } * } * @@ -13861,53 +15637,53 @@ export namespace networksecurity_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ patch( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch, options: StreamMethodOptions ): Promise>; patch( - params?: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, + params?: Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch, options?: MethodOptions - ): Promise>; + ): Promise>; patch( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Patch, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; + patch(callback: BodyResponseCallback): void; patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Clienttlspolicies$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Patch; + {}) as Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Clienttlspolicies$Patch; + {} as Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch; options = {}; } @@ -13933,17 +15709,81 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Dnsthreatdetectors$Create extends StandardParameters { /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Optional. The ID of the requesting DnsThreatDetector object. If this field is not supplied, the service generates an identifier. + */ + dnsThreatDetectorId?: string; + /** + * Required. The value for the parent of the DnsThreatDetector resource. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$DnsThreatDetector; + } + export interface Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete extends StandardParameters { + /** + * Required. Name of the DnsThreatDetector resource. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Dnsthreatdetectors$Get extends StandardParameters { + /** + * Required. Name of the DnsThreatDetector resource. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Dnsthreatdetectors$List extends StandardParameters { + /** + * Optional. The requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default. + */ + pageSize?: number; + /** + * Optional. A page token received from a previous `ListDnsThreatDetectorsRequest` call. Provide this to retrieve the subsequent page. + */ + pageToken?: string; + /** + * Required. The parent value for `ListDnsThreatDetectorsRequest`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch extends StandardParameters { + /** + * Immutable. Identifier. Name of the DnsThreatDetector resource. + */ + name?: string; + /** + * Optional. The field mask is used to specify the fields to be overwritten in the DnsThreatDetector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not provided then all fields present in the request will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$DnsThreatDetector; + } + + export class Resource$Projects$Locations$Firewallendpointassociations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new FirewallEndpointAssociation in a given project and location. * @example * ```js * // Before running the sample: @@ -13973,28 +15813,42 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.clientTlsPolicies.setIamPolicy({ - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/clientTlsPolicies/my-clientTlsPolicie', + * await networksecurity.projects.locations.firewallEndpointAssociations.create( + * { + * // Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC. + * firewallEndpointAssociationId: 'placeholder-value', + * // Required. Value for parent. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" - * // } + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "disabled": false, + * // "firewallEndpoint": "my_firewallEndpoint", + * // "labels": {}, + * // "name": "my_name", + * // "network": "my_network", + * // "reconciling": false, + * // "state": "my_state", + * // "tlsInspectionPolicy": "my_tlsInspectionPolicy", + * // "updateTime": "my_updateTime" + * // } + * }, * }, - * }); + * ); * console.log(res.data); * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -14010,56 +15864,54 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, + create( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, options: StreamMethodOptions ): Promise>; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, + create( + params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, options?: MethodOptions - ): Promise>; - setIamPolicy( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, + callback: BodyResponseCallback ): void; - setIamPolicy( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Firewallendpointassociations$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy; + {} as Params$Resource$Projects$Locations$Firewallendpointassociations$Create; options = {}; } @@ -14073,32 +15925,31 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: ( + rootUrl + '/v1/{+parent}/firewallEndpointAssociations' + ).replace(/([^:]\/)\/+/g, '$1'), method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + 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. + * Deletes a single FirewallEndpointAssociation. * @example * ```js * // Before running the sample: @@ -14128,26 +15979,23 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.clientTlsPolicies.testIamPermissions( + * await networksecurity.projects.locations.firewallEndpointAssociations.delete( * { - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/clientTlsPolicies/my-clientTlsPolicie', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "permissions": [] - * // } - * }, + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/firewallEndpointAssociations/my-firewallEndpointAssociation', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', * }, * ); * console.log(res.data); * * // Example response * // { - * // "permissions": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -14163,62 +16011,54 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, + delete( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, options: StreamMethodOptions ): Promise>; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, + delete( + params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - testIamPermissions( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, + callback: BodyResponseCallback ): void; - testIamPermissions( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Firewallendpointassociations$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions; + {} as Params$Resource$Projects$Locations$Firewallendpointassociations$Delete; options = {}; } @@ -14232,130 +16072,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Clienttlspolicies$Create extends StandardParameters { - /** - * Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "client_mtls_policy". - */ - clientTlsPolicyId?: string; - /** - * Required. The parent resource of the ClientTlsPolicy. Must be in the format `projects/x/locations/{location\}`. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$ClientTlsPolicy; - } - export interface Params$Resource$Projects$Locations$Clienttlspolicies$Delete extends StandardParameters { - /** - * Required. A name of the ClientTlsPolicy to delete. Must be in the format `projects/x/locations/{location\}/clientTlsPolicies/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Clienttlspolicies$Get extends StandardParameters { - /** - * Required. A name of the ClientTlsPolicy to get. Must be in the format `projects/x/locations/{location\}/clientTlsPolicies/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Clienttlspolicies$Getiampolicy extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Clienttlspolicies$List extends StandardParameters { - /** - * Maximum number of ClientTlsPolicies to return per call. - */ - pageSize?: number; - /** - * The value returned by the last `ListClientTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListClientTlsPolicies` call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project and location from which the ClientTlsPolicies should be listed, specified in the format `projects/x/locations/{location\}`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Clienttlspolicies$Patch extends StandardParameters { - /** - * Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/{project\}/locations/{location\}/clientTlsPolicies/{client_tls_policy\}` - */ - name?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$ClientTlsPolicy; - } - export interface Params$Resource$Projects$Locations$Clienttlspolicies$Setiampolicy extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleIamV1SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Clienttlspolicies$Testiampermissions extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GoogleIamV1TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Dnsthreatdetectors { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a new DnsThreatDetector in a given project and location. + * Gets details of a single FirewallEndpointAssociation. * @example * ```js * // Before running the sample: @@ -14385,34 +16124,23 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.dnsThreatDetectors.create({ - * // Optional. The ID of the requesting DnsThreatDetector object. If this field is not supplied, the service generates an identifier. - * dnsThreatDetectorId: 'placeholder-value', - * // Required. The value for the parent of the DnsThreatDetector resource. - * parent: 'projects/my-project/locations/my-location', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "excludedNetworks": [], - * // "labels": {}, - * // "name": "my_name", - * // "provider": "my_provider", - * // "updateTime": "my_updateTime" - * // } - * }, + * await networksecurity.projects.locations.firewallEndpointAssociations.get({ + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/firewallEndpointAssociations/my-firewallEndpointAssociation', * }); * console.log(res.data); * * // Example response * // { * // "createTime": "my_createTime", - * // "excludedNetworks": [], + * // "disabled": false, + * // "firewallEndpoint": "my_firewallEndpoint", * // "labels": {}, * // "name": "my_name", - * // "provider": "my_provider", + * // "network": "my_network", + * // "reconciling": false, + * // "state": "my_state", + * // "tlsInspectionPolicy": "my_tlsInspectionPolicy", * // "updateTime": "my_updateTime" * // } * } @@ -14429,54 +16157,58 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Create, + get( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Dnsthreatdetectors$Create, + get( + params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Create, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Create, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + get( + callback: BodyResponseCallback + ): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Dnsthreatdetectors$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Firewallendpointassociations$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Dnsthreatdetectors$Create; + {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Dnsthreatdetectors$Create; + {} as Params$Resource$Projects$Locations$Firewallendpointassociations$Get; options = {}; } @@ -14490,32 +16222,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/dnsThreatDetectors').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes a single DnsThreatDetector. + * Lists Associations in a given project and location. * @example * ```js * // Before running the sample: @@ -14545,14 +16274,26 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.dnsThreatDetectors.delete({ - * // Required. Name of the DnsThreatDetector resource. - * name: 'projects/my-project/locations/my-location/dnsThreatDetectors/my-dnsThreatDetector', + * await networksecurity.projects.locations.firewallEndpointAssociations.list({ + * // Optional. Filtering results + * filter: 'placeholder-value', + * // Hint for how to order the results + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + * pageSize: 'placeholder-value', + * // A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListAssociationsRequest + * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response - * // {} + * // { + * // "firewallEndpointAssociations": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] + * // } * } * * main().catch(e => { @@ -14567,54 +16308,62 @@ export namespace networksecurity_v1 { * @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$Dnsthreatdetectors$Delete, + list( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$List, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete, + list( + params?: Params$Resource$Projects$Locations$Firewallendpointassociations$List, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$List, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Firewallendpointassociations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete; + {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete; + {} as Params$Resource$Projects$Locations$Firewallendpointassociations$List; options = {}; } @@ -14628,29 +16377,33 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: ( + rootUrl + '/v1/{+parent}/firewallEndpointAssociations' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Gets the details of a single DnsThreatDetector. + * Update a single FirewallEndpointAssociation. * @example * ```js * // Before running the sample: @@ -14679,20 +16432,43 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.dnsThreatDetectors.get({ - * // Required. Name of the DnsThreatDetector resource. - * name: 'projects/my-project/locations/my-location/dnsThreatDetectors/my-dnsThreatDetector', - * }); + * const res = + * await networksecurity.projects.locations.firewallEndpointAssociations.patch( + * { + * // Immutable. Identifier. name of resource + * name: 'projects/my-project/locations/my-location/firewallEndpointAssociations/my-firewallEndpointAssociation', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Required. Field mask is used to specify the fields to be overwritten in the Association resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "disabled": false, + * // "firewallEndpoint": "my_firewallEndpoint", + * // "labels": {}, + * // "name": "my_name", + * // "network": "my_network", + * // "reconciling": false, + * // "state": "my_state", + * // "tlsInspectionPolicy": "my_tlsInspectionPolicy", + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", - * // "excludedNetworks": [], - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "provider": "my_provider", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -14708,54 +16484,54 @@ export namespace networksecurity_v1 { * @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$Dnsthreatdetectors$Get, + patch( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Dnsthreatdetectors$Get, + patch( + params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Get, + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Get, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Dnsthreatdetectors$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Firewallendpointassociations$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Dnsthreatdetectors$Get; + {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Dnsthreatdetectors$Get; + {} as Params$Resource$Projects$Locations$Firewallendpointassociations$Patch; options = {}; } @@ -14770,7 +16546,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options @@ -14781,17 +16557,101 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Firewallendpointassociations$Create extends StandardParameters { /** - * Lists DnsThreatDetectors in a given project and location. + * Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC. + */ + firewallEndpointAssociationId?: string; + /** + * Required. Value for parent. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FirewallEndpointAssociation; + } + export interface Params$Resource$Projects$Locations$Firewallendpointassociations$Delete extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Firewallendpointassociations$Get extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Firewallendpointassociations$List extends StandardParameters { + /** + * Optional. Filtering results + */ + filter?: string; + /** + * Hint for how to order the results + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. Parent value for ListAssociationsRequest + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Firewallendpointassociations$Patch extends StandardParameters { + /** + * Immutable. Identifier. name of resource + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Required. Field mask is used to specify the fields to be overwritten in the Association resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FirewallEndpointAssociation; + } + + export class Resource$Projects$Locations$Firewallendpoints { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new FirewallEndpoint in a given project and location. * @example * ```js * // Before running the sample: @@ -14820,21 +16680,45 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.dnsThreatDetectors.list({ - * // Optional. The requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default. - * pageSize: 'placeholder-value', - * // Optional. A page token received from a previous `ListDnsThreatDetectorsRequest` call. Provide this to retrieve the subsequent page. - * pageToken: 'placeholder-value', - * // Required. The parent value for `ListDnsThreatDetectorsRequest`. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = await networksecurity.projects.locations.firewallEndpoints.create( + * { + * // Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC. + * firewallEndpointId: 'placeholder-value', + * // Required. Value for parent. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "associatedNetworks": [], + * // "associations": [], + * // "billingProjectId": "my_billingProjectId", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "endpointSettings": {}, + * // "labels": {}, + * // "name": "my_name", + * // "reconciling": false, + * // "satisfiesPzi": false, + * // "satisfiesPzs": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "dnsThreatDetectors": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -14850,58 +16734,54 @@ export namespace networksecurity_v1 { * @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$Dnsthreatdetectors$List, + create( + params: Params$Resource$Projects$Locations$Firewallendpoints$Create, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Dnsthreatdetectors$List, + create( + params?: Params$Resource$Projects$Locations$Firewallendpoints$Create, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$List, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Firewallendpoints$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$List, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Firewallendpoints$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Firewallendpoints$Create, + callback: BodyResponseCallback ): void; - list( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Dnsthreatdetectors$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Firewallendpoints$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Dnsthreatdetectors$List; + {}) as Params$Resource$Projects$Locations$Firewallendpoints$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Dnsthreatdetectors$List; + {} as Params$Resource$Projects$Locations$Firewallendpoints$Create; options = {}; } @@ -14915,11 +16795,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/dnsThreatDetectors').replace( + url: (rootUrl + '/v1/{+parent}/firewallEndpoints').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options @@ -14930,19 +16810,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates a single DnsThreatDetector. + * Deletes a single project Endpoint. * @example * ```js * // Before running the sample: @@ -14971,37 +16849,23 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.dnsThreatDetectors.patch( + * const res = await networksecurity.projects.locations.firewallEndpoints.delete( * { - * // Immutable. Identifier. Name of the DnsThreatDetector resource. - * name: 'projects/my-project/locations/my-location/dnsThreatDetectors/my-dnsThreatDetector', - * // Optional. The field mask is used to specify the fields to be overwritten in the DnsThreatDetector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not provided then all fields present in the request will be overwritten. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "excludedNetworks": [], - * // "labels": {}, - * // "name": "my_name", - * // "provider": "my_provider", - * // "updateTime": "my_updateTime" - * // } - * }, + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/firewallEndpoints/my-firewallEndpoint', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', * }, * ); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", - * // "excludedNetworks": [], - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "provider": "my_provider", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -15017,54 +16881,54 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch, + delete( + params: Params$Resource$Projects$Locations$Firewallendpoints$Delete, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch, + delete( + params?: Params$Resource$Projects$Locations$Firewallendpoints$Delete, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Firewallendpoints$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Firewallendpoints$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Firewallendpoints$Delete, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Firewallendpoints$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch; + {}) as Params$Resource$Projects$Locations$Firewallendpoints$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch; + {} as Params$Resource$Projects$Locations$Firewallendpoints$Delete; options = {}; } @@ -15079,7 +16943,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'DELETE', apiVersion: '', }, options @@ -15090,81 +16954,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Dnsthreatdetectors$Create extends StandardParameters { - /** - * Optional. The ID of the requesting DnsThreatDetector object. If this field is not supplied, the service generates an identifier. - */ - dnsThreatDetectorId?: string; - /** - * Required. The value for the parent of the DnsThreatDetector resource. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$DnsThreatDetector; - } - export interface Params$Resource$Projects$Locations$Dnsthreatdetectors$Delete extends StandardParameters { - /** - * Required. Name of the DnsThreatDetector resource. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Dnsthreatdetectors$Get extends StandardParameters { - /** - * Required. Name of the DnsThreatDetector resource. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Dnsthreatdetectors$List extends StandardParameters { - /** - * Optional. The requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default. - */ - pageSize?: number; - /** - * Optional. A page token received from a previous `ListDnsThreatDetectorsRequest` call. Provide this to retrieve the subsequent page. - */ - pageToken?: string; - /** - * Required. The parent value for `ListDnsThreatDetectorsRequest`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Dnsthreatdetectors$Patch extends StandardParameters { - /** - * Immutable. Identifier. Name of the DnsThreatDetector resource. - */ - name?: string; - /** - * Optional. The field mask is used to specify the fields to be overwritten in the DnsThreatDetector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not provided then all fields present in the request will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$DnsThreatDetector; - } - - export class Resource$Projects$Locations$Firewallendpointassociations { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a new FirewallEndpointAssociation in a given project and location. + * Gets details of a single project Endpoint. * @example * ```js * // Before running the sample: @@ -15193,43 +16993,27 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.firewallEndpointAssociations.create( - * { - * // Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC. - * firewallEndpointAssociationId: 'placeholder-value', - * // Required. Value for parent. - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "disabled": false, - * // "firewallEndpoint": "my_firewallEndpoint", - * // "labels": {}, - * // "name": "my_name", - * // "network": "my_network", - * // "reconciling": false, - * // "state": "my_state", - * // "tlsInspectionPolicy": "my_tlsInspectionPolicy", - * // "updateTime": "my_updateTime" - * // } - * }, - * }, - * ); + * const res = await networksecurity.projects.locations.firewallEndpoints.get({ + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/firewallEndpoints/my-firewallEndpoint', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "associatedNetworks": [], + * // "associations": [], + * // "billingProjectId": "my_billingProjectId", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "endpointSettings": {}, + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "reconciling": false, + * // "satisfiesPzi": false, + * // "satisfiesPzs": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" * // } * } * @@ -15245,54 +17029,53 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, + get( + params: Params$Resource$Projects$Locations$Firewallendpoints$Get, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, + get( + params?: Params$Resource$Projects$Locations$Firewallendpoints$Get, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Firewallendpoints$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Firewallendpoints$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Create, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Firewallendpoints$Get, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Firewallendpointassociations$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Firewallendpoints$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Create; + {}) as Params$Resource$Projects$Locations$Firewallendpoints$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Firewallendpointassociations$Create; + params = {} as Params$Resource$Projects$Locations$Firewallendpoints$Get; options = {}; } @@ -15306,31 +17089,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+parent}/firewallEndpointAssociations' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes a single FirewallEndpointAssociation. + * Lists FirewallEndpoints in a given project and location. * @example * ```js * // Before running the sample: @@ -15359,24 +17140,25 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.firewallEndpointAssociations.delete( - * { - * // Required. Name of the resource - * name: 'projects/my-project/locations/my-location/firewallEndpointAssociations/my-firewallEndpointAssociation', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * }, - * ); + * const res = await networksecurity.projects.locations.firewallEndpoints.list({ + * // Optional. Filtering results + * filter: 'placeholder-value', + * // Hint for how to order the results + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + * pageSize: 'placeholder-value', + * // A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListEndpointsRequest + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "firewallEndpoints": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -15392,54 +17174,58 @@ export namespace networksecurity_v1 { * @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$Firewallendpointassociations$Delete, + list( + params: Params$Resource$Projects$Locations$Firewallendpoints$List, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, + list( + params?: Params$Resource$Projects$Locations$Firewallendpoints$List, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Firewallendpoints$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Firewallendpoints$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Firewallendpoints$List, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Delete, - callback: BodyResponseCallback + list( + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Firewallendpointassociations$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Firewallendpoints$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Delete; + {}) as Params$Resource$Projects$Locations$Firewallendpoints$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Firewallendpointassociations$Delete; + {} as Params$Resource$Projects$Locations$Firewallendpoints$List; options = {}; } @@ -15453,29 +17239,34 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+parent}/firewallEndpoints').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Gets details of a single FirewallEndpointAssociation. + * Update a single project Endpoint. * @example * ```js * // Before running the sample: @@ -15504,25 +17295,43 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.firewallEndpointAssociations.get({ - * // Required. Name of the resource - * name: 'projects/my-project/locations/my-location/firewallEndpointAssociations/my-firewallEndpointAssociation', - * }); + * const res = await networksecurity.projects.locations.firewallEndpoints.patch({ + * // Immutable. Identifier. Name of resource. + * name: 'projects/my-project/locations/my-location/firewallEndpoints/my-firewallEndpoint', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "associatedNetworks": [], + * // "associations": [], + * // "billingProjectId": "my_billingProjectId", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "endpointSettings": {}, + * // "labels": {}, + * // "name": "my_name", + * // "reconciling": false, + * // "satisfiesPzi": false, + * // "satisfiesPzs": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", - * // "disabled": false, - * // "firewallEndpoint": "my_firewallEndpoint", - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "network": "my_network", - * // "reconciling": false, - * // "state": "my_state", - * // "tlsInspectionPolicy": "my_tlsInspectionPolicy", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -15538,58 +17347,54 @@ export namespace networksecurity_v1 { * @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$Firewallendpointassociations$Get, + patch( + params: Params$Resource$Projects$Locations$Firewallendpoints$Patch, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, + patch( + params?: Params$Resource$Projects$Locations$Firewallendpoints$Patch, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Firewallendpoints$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Get, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Firewallendpoints$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Firewallendpoints$Patch, + callback: BodyResponseCallback ): void; - get( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Firewallendpointassociations$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Firewallendpoints$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Get; + {}) as Params$Resource$Projects$Locations$Firewallendpoints$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Firewallendpointassociations$Get; + {} as Params$Resource$Projects$Locations$Firewallendpoints$Patch; options = {}; } @@ -15604,7 +17409,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options @@ -15615,17 +17420,106 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Firewallendpoints$Create extends StandardParameters { /** - * Lists Associations in a given project and location. + * Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC. + */ + firewallEndpointId?: string; + /** + * Required. Value for parent. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FirewallEndpoint; + } + export interface Params$Resource$Projects$Locations$Firewallendpoints$Delete extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Firewallendpoints$Get extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Firewallendpoints$List extends StandardParameters { + /** + * Optional. Filtering results + */ + filter?: string; + /** + * Hint for how to order the results + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. Parent value for ListEndpointsRequest + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Firewallendpoints$Patch extends StandardParameters { + /** + * Immutable. Identifier. Name of resource. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FirewallEndpoint; + } + + export class Resource$Projects$Locations$Gatewaysecuritypolicies { + context: APIRequestContext; + rules: Resource$Projects$Locations$Gatewaysecuritypolicies$Rules; + constructor(context: APIRequestContext) { + this.context = context; + this.rules = + new Resource$Projects$Locations$Gatewaysecuritypolicies$Rules( + this.context + ); + } + + /** + * Creates a new GatewaySecurityPolicy in a given project and location. * @example * ```js * // Before running the sample: @@ -15655,25 +17549,33 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.firewallEndpointAssociations.list({ - * // Optional. Filtering results - * filter: 'placeholder-value', - * // Hint for how to order the results - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - * pageSize: 'placeholder-value', - * // A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. Parent value for ListAssociationsRequest + * await networksecurity.projects.locations.gatewaySecurityPolicies.create({ + * // Required. Short name of the GatewaySecurityPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "gateway_security_policy1". + * gatewaySecurityPolicyId: 'placeholder-value', + * // Required. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project\}/locations/{location\}`. * parent: 'projects/my-project/locations/my-location', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "name": "my_name", + * // "tlsInspectionPolicy": "my_tlsInspectionPolicy", + * // "updateTime": "my_updateTime" + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "firewallEndpointAssociations": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -15689,62 +17591,54 @@ export namespace networksecurity_v1 { * @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$Firewallendpointassociations$List, + create( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Firewallendpointassociations$List, + create( + params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$List, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$List, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, + callback: BodyResponseCallback ): void; - list( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Firewallendpointassociations$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$List; + {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Firewallendpointassociations$List; + {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create; options = {}; } @@ -15758,10 +17652,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+parent}/firewallEndpointAssociations' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/gatewaySecurityPolicies').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options @@ -15772,19 +17667,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Update a single FirewallEndpointAssociation. + * Deletes a single GatewaySecurityPolicy. * @example * ```js * // Before running the sample: @@ -15814,33 +17707,10 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.firewallEndpointAssociations.patch( - * { - * // Immutable. Identifier. name of resource - * name: 'projects/my-project/locations/my-location/firewallEndpointAssociations/my-firewallEndpointAssociation', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Required. Field mask is used to specify the fields to be overwritten in the Association resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "disabled": false, - * // "firewallEndpoint": "my_firewallEndpoint", - * // "labels": {}, - * // "name": "my_name", - * // "network": "my_network", - * // "reconciling": false, - * // "state": "my_state", - * // "tlsInspectionPolicy": "my_tlsInspectionPolicy", - * // "updateTime": "my_updateTime" - * // } - * }, - * }, - * ); + * await networksecurity.projects.locations.gatewaySecurityPolicies.delete({ + * // Required. A name of the GatewaySecurityPolicy to delete. Must be in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/x`. + * name: 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie', + * }); * console.log(res.data); * * // Example response @@ -15865,32 +17735,32 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, + delete( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, + delete( + params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, options?: MethodOptions ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, + delete( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, + delete( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Firewallendpointassociations$Patch, + delete( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Firewallendpointassociations$Patch + | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -15906,133 +17776,49 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Firewallendpointassociations$Patch; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Firewallendpointassociations$Patch; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networksecurity.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Firewallendpointassociations$Create extends StandardParameters { - /** - * Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC. - */ - firewallEndpointAssociationId?: string; - /** - * Required. Value for parent. - */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$FirewallEndpointAssociation; - } - export interface Params$Resource$Projects$Locations$Firewallendpointassociations$Delete extends StandardParameters { - /** - * Required. Name of the resource - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Firewallendpointassociations$Get extends StandardParameters { - /** - * Required. Name of the resource - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Firewallendpointassociations$List extends StandardParameters { - /** - * Optional. Filtering results - */ - filter?: string; - /** - * Hint for how to order the results - */ - orderBy?: string; - /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - */ - pageSize?: number; - /** - * A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. Parent value for ListAssociationsRequest - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Firewallendpointassociations$Patch extends StandardParameters { - /** - * Immutable. Identifier. name of resource - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Required. Field mask is used to specify the fields to be overwritten in the Association resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; + {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; - /** - * Request body metadata - */ - requestBody?: Schema$FirewallEndpointAssociation; - } + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete; + options = {}; + } - export class Resource$Projects$Locations$Firewallendpoints { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networksecurity.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); + } } /** - * Creates a new FirewallEndpoint in a given project and location. + * Gets details of a single GatewaySecurityPolicy. * @example * ```js * // Before running the sample: @@ -16061,45 +17847,20 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.firewallEndpoints.create( - * { - * // Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC. - * firewallEndpointId: 'placeholder-value', - * // Required. Value for parent. - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "associatedNetworks": [], - * // "associations": [], - * // "billingProjectId": "my_billingProjectId", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "endpointSettings": {}, - * // "labels": {}, - * // "name": "my_name", - * // "reconciling": false, - * // "satisfiesPzi": false, - * // "satisfiesPzs": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, - * }, - * ); + * const res = + * await networksecurity.projects.locations.gatewaySecurityPolicies.get({ + * // Required. A name of the GatewaySecurityPolicy to get. Must be in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/x`. + * name: 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "createTime": "my_createTime", + * // "description": "my_description", * // "name": "my_name", - * // "response": {} + * // "tlsInspectionPolicy": "my_tlsInspectionPolicy", + * // "updateTime": "my_updateTime" * // } * } * @@ -16115,54 +17876,56 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Firewallendpoints$Create, + get( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Firewallendpoints$Create, + get( + params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Firewallendpoints$Create, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Firewallendpoints$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Firewallendpoints$Create, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Firewallendpoints$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Firewallendpoints$Create; + {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Firewallendpoints$Create; + {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get; options = {}; } @@ -16176,32 +17939,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/firewallEndpoints').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes a single project Endpoint. + * Lists GatewaySecurityPolicies in a given project and location. * @example * ```js * // Before running the sample: @@ -16230,23 +17990,22 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.firewallEndpoints.delete( - * { - * // Required. Name of the resource - * name: 'projects/my-project/locations/my-location/firewallEndpoints/my-firewallEndpoint', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * }, - * ); + * const res = + * await networksecurity.projects.locations.gatewaySecurityPolicies.list({ + * // Maximum number of GatewaySecurityPolicies to return per call. + * pageSize: 'placeholder-value', + * // The value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and that the system should return the next page of data. + * pageToken: 'placeholder-value', + * // Required. The project and location from which the GatewaySecurityPolicies should be listed, specified in the format `projects/{project\}/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "gatewaySecurityPolicies": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -16262,54 +18021,62 @@ export namespace networksecurity_v1 { * @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$Firewallendpoints$Delete, + list( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Firewallendpoints$Delete, + list( + params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Firewallendpoints$Delete, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Firewallendpoints$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Firewallendpoints$Delete, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Firewallendpoints$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Firewallendpoints$Delete; + {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Firewallendpoints$Delete; + {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List; options = {}; } @@ -16323,29 +18090,34 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+parent}/gatewaySecurityPolicies').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Gets details of a single project Endpoint. + * Updates the parameters of a single GatewaySecurityPolicy. * @example * ```js * // Before running the sample: @@ -16373,28 +18145,35 @@ export namespace networksecurity_v1 { * const authClient = await auth.getClient(); * google.options({auth: authClient}); * - * // Do the magic - * const res = await networksecurity.projects.locations.firewallEndpoints.get({ - * // Required. Name of the resource - * name: 'projects/my-project/locations/my-location/firewallEndpoints/my-firewallEndpoint', - * }); + * // Do the magic + * const res = + * await networksecurity.projects.locations.gatewaySecurityPolicies.patch({ + * // Required. Name of the resource. Name is of the form projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gateway_security_policy\} gateway_security_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$). + * name: 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie', + * // Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "name": "my_name", + * // "tlsInspectionPolicy": "my_tlsInspectionPolicy", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "associatedNetworks": [], - * // "associations": [], - * // "billingProjectId": "my_billingProjectId", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "endpointSettings": {}, - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "reconciling": false, - * // "satisfiesPzi": false, - * // "satisfiesPzs": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -16410,53 +18189,54 @@ export namespace networksecurity_v1 { * @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$Firewallendpoints$Get, + patch( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Firewallendpoints$Get, + patch( + params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Firewallendpoints$Get, + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Firewallendpoints$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Firewallendpoints$Get, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Firewallendpoints$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Firewallendpoints$Get; + {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Firewallendpoints$Get; + params = + {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch; options = {}; } @@ -16471,7 +18251,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options @@ -16482,17 +18262,81 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create extends StandardParameters { /** - * Lists FirewallEndpoints in a given project and location. + * Required. Short name of the GatewaySecurityPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "gateway_security_policy1". + */ + gatewaySecurityPolicyId?: string; + /** + * Required. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project\}/locations/{location\}`. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GatewaySecurityPolicy; + } + export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete extends StandardParameters { + /** + * Required. A name of the GatewaySecurityPolicy to delete. Must be in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get extends StandardParameters { + /** + * Required. A name of the GatewaySecurityPolicy to get. Must be in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List extends StandardParameters { + /** + * Maximum number of GatewaySecurityPolicies to return per call. + */ + pageSize?: number; + /** + * The value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project and location from which the GatewaySecurityPolicies should be listed, specified in the format `projects/{project\}/locations/{location\}`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch extends StandardParameters { + /** + * Required. Name of the resource. Name is of the form projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gateway_security_policy\} gateway_security_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$). + */ + name?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GatewaySecurityPolicy; + } + + export class Resource$Projects$Locations$Gatewaysecuritypolicies$Rules { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new GatewaySecurityPolicy in a given project and location. * @example * ```js * // Before running the sample: @@ -16521,25 +18365,42 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.firewallEndpoints.list({ - * // Optional. Filtering results - * filter: 'placeholder-value', - * // Hint for how to order the results - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - * pageSize: 'placeholder-value', - * // A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. Parent value for ListEndpointsRequest - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = + * await networksecurity.projects.locations.gatewaySecurityPolicies.rules.create( + * { + * // The ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. + * gatewaySecurityPolicyRuleId: 'placeholder-value', + * // Required. The parent where this rule will be created. Format : projects/{project\}/location/{location\}/gatewaySecurityPolicies/x + * parent: + * 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "applicationMatcher": "my_applicationMatcher", + * // "basicProfile": "my_basicProfile", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "enabled": false, + * // "name": "my_name", + * // "priority": 0, + * // "sessionMatcher": "my_sessionMatcher", + * // "tlsInspectionEnabled": false, + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "firewallEndpoints": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -16555,58 +18416,54 @@ export namespace networksecurity_v1 { * @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$Firewallendpoints$List, + create( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Firewallendpoints$List, + create( + params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Firewallendpoints$List, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Firewallendpoints$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Firewallendpoints$List, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, + callback: BodyResponseCallback ): void; - list( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Firewallendpoints$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Firewallendpoints$List; + {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Firewallendpoints$List; + {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create; options = {}; } @@ -16620,11 +18477,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/firewallEndpoints').replace( + url: (rootUrl + '/v1/{+parent}/rules').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options @@ -16635,19 +18492,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Update a single project Endpoint. + * Deletes a single GatewaySecurityPolicyRule. * @example * ```js * // Before running the sample: @@ -16676,34 +18531,13 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.firewallEndpoints.patch({ - * // Immutable. Identifier. Name of resource. - * name: 'projects/my-project/locations/my-location/firewallEndpoints/my-firewallEndpoint', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "associatedNetworks": [], - * // "associations": [], - * // "billingProjectId": "my_billingProjectId", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "endpointSettings": {}, - * // "labels": {}, - * // "name": "my_name", - * // "reconciling": false, - * // "satisfiesPzi": false, - * // "satisfiesPzs": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, - * }); + * const res = + * await networksecurity.projects.locations.gatewaySecurityPolicies.rules.delete( + * { + * // Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gatewaySecurityPolicy\}/rules/x`. + * name: 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie/rules/my-rule', + * }, + * ); * console.log(res.data); * * // Example response @@ -16728,32 +18562,32 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Firewallendpoints$Patch, + delete( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Firewallendpoints$Patch, + delete( + params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, options?: MethodOptions ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Firewallendpoints$Patch, + delete( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Firewallendpoints$Patch, + delete( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Firewallendpoints$Patch, + delete( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Firewallendpoints$Patch + | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -16769,13 +18603,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Firewallendpoints$Patch; + {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Firewallendpoints$Patch; + {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete; options = {}; } @@ -16790,7 +18624,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'DELETE', apiVersion: '', }, options @@ -16809,98 +18643,157 @@ export namespace networksecurity_v1 { return createAPIRequest(parameters); } } - } - export interface Params$Resource$Projects$Locations$Firewallendpoints$Create extends StandardParameters { - /** - * Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC. - */ - firewallEndpointId?: string; - /** - * Required. Value for parent. - */ - parent?: string; /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Gets details of a single GatewaySecurityPolicyRule. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.projects.locations.gatewaySecurityPolicies.rules.get({ + * // Required. The name of the GatewaySecurityPolicyRule to retrieve. Format: projects/{project\}/location/{location\}/gatewaySecurityPolicies/x/rules/x + * name: 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie/rules/my-rule', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "applicationMatcher": "my_applicationMatcher", + * // "basicProfile": "my_basicProfile", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "enabled": false, + * // "name": "my_name", + * // "priority": 0, + * // "sessionMatcher": "my_sessionMatcher", + * // "tlsInspectionEnabled": false, + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. */ - requestId?: string; + get( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get; + let options = (optionsOrCallback || {}) as MethodOptions; - /** - * Request body metadata - */ - requestBody?: Schema$FirewallEndpoint; - } - export interface Params$Resource$Projects$Locations$Firewallendpoints$Delete extends StandardParameters { - /** - * Required. Name of the resource - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Firewallendpoints$Get extends StandardParameters { - /** - * Required. Name of the resource - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Firewallendpoints$List extends StandardParameters { - /** - * Optional. Filtering results - */ - filter?: string; - /** - * Hint for how to order the results - */ - orderBy?: string; - /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - */ - pageSize?: number; - /** - * A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. Parent value for ListEndpointsRequest - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Firewallendpoints$Patch extends StandardParameters { - /** - * Immutable. Identifier. Name of resource. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get; + options = {}; + } - /** - * Request body metadata - */ - requestBody?: Schema$FirewallEndpoint; - } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } - export class Resource$Projects$Locations$Gatewaysecuritypolicies { - context: APIRequestContext; - rules: Resource$Projects$Locations$Gatewaysecuritypolicies$Rules; - constructor(context: APIRequestContext) { - this.context = context; - this.rules = - new Resource$Projects$Locations$Gatewaysecuritypolicies$Rules( - this.context + const rootUrl = + options.rootUrl || 'https://networksecurity.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); + } } /** - * Creates a new GatewaySecurityPolicy in a given project and location. + * Lists GatewaySecurityPolicyRules in a given project and location. * @example * ```js * // Before running the sample: @@ -16930,33 +18823,24 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.gatewaySecurityPolicies.create({ - * // Required. Short name of the GatewaySecurityPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "gateway_security_policy1". - * gatewaySecurityPolicyId: 'placeholder-value', - * // Required. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project\}/locations/{location\}`. - * parent: 'projects/my-project/locations/my-location', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "name": "my_name", - * // "tlsInspectionPolicy": "my_tlsInspectionPolicy", - * // "updateTime": "my_updateTime" - * // } + * await networksecurity.projects.locations.gatewaySecurityPolicies.rules.list( + * { + * // Maximum number of GatewaySecurityPolicyRules to return per call. + * pageSize: 'placeholder-value', + * // The value returned by the last 'ListGatewaySecurityPolicyRulesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicyRules' call, and that the system should return the next page of data. + * pageToken: 'placeholder-value', + * // Required. The project, location and GatewaySecurityPolicy from which the GatewaySecurityPolicyRules should be listed, specified in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gatewaySecurityPolicy\}`. + * parent: + * 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie', * }, - * }); + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "gatewaySecurityPolicyRules": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -16972,54 +18856,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, + list( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, + list( + params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create; + {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create; + {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List; options = {}; } @@ -17033,11 +18925,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/gatewaySecurityPolicies').replace( + url: (rootUrl + '/v1/{+parent}/rules').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options @@ -17048,17 +18940,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Deletes a single GatewaySecurityPolicy. + * Updates the parameters of a single GatewaySecurityPolicyRule. * @example * ```js * // Before running the sample: @@ -17088,10 +18982,31 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.gatewaySecurityPolicies.delete({ - * // Required. A name of the GatewaySecurityPolicy to delete. Must be in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/x`. - * name: 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie', - * }); + * await networksecurity.projects.locations.gatewaySecurityPolicies.rules.patch( + * { + * // Required. Immutable. Name of the resource. ame is the full resource name so projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gateway_security_policy\}/rules/{rule\} rule should match the pattern: (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$). + * name: 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie/rules/my-rule', + * // Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "applicationMatcher": "my_applicationMatcher", + * // "basicProfile": "my_basicProfile", + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "enabled": false, + * // "name": "my_name", + * // "priority": 0, + * // "sessionMatcher": "my_sessionMatcher", + * // "tlsInspectionEnabled": false, + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response @@ -17116,32 +19031,32 @@ export namespace networksecurity_v1 { * @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$Gatewaysecuritypolicies$Delete, + patch( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, + patch( + params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, + patch( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, + patch( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete, + patch( + params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete + | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -17157,13 +19072,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete; + {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete; + {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch; options = {}; } @@ -17178,7 +19093,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'PATCH', apiVersion: '', }, options @@ -17197,9 +19112,73 @@ export namespace networksecurity_v1 { return createAPIRequest(parameters); } } + } + + export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create extends StandardParameters { + /** + * The ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. + */ + gatewaySecurityPolicyRuleId?: string; + /** + * Required. The parent where this rule will be created. Format : projects/{project\}/location/{location\}/gatewaySecurityPolicies/x + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GatewaySecurityPolicyRule; + } + export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete extends StandardParameters { + /** + * Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gatewaySecurityPolicy\}/rules/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get extends StandardParameters { + /** + * Required. The name of the GatewaySecurityPolicyRule to retrieve. Format: projects/{project\}/location/{location\}/gatewaySecurityPolicies/x/rules/x + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List extends StandardParameters { + /** + * Maximum number of GatewaySecurityPolicyRules to return per call. + */ + pageSize?: number; + /** + * The value returned by the last 'ListGatewaySecurityPolicyRulesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicyRules' call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project, location and GatewaySecurityPolicy from which the GatewaySecurityPolicyRules should be listed, specified in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gatewaySecurityPolicy\}`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch extends StandardParameters { + /** + * Required. Immutable. Name of the resource. ame is the full resource name so projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gateway_security_policy\}/rules/{rule\} rule should match the pattern: (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$). + */ + name?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GatewaySecurityPolicyRule; + } + + export class Resource$Projects$Locations$Interceptdeploymentgroups { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } /** - * Gets details of a single GatewaySecurityPolicy. + * Creates a deployment group in a given project and location. See https://google.aip.dev/133. * @example * ```js * // Before running the sample: @@ -17229,19 +19208,41 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.gatewaySecurityPolicies.get({ - * // Required. A name of the GatewaySecurityPolicy to get. Must be in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/x`. - * name: 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie', + * await networksecurity.projects.locations.interceptDeploymentGroups.create({ + * // Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. + * interceptDeploymentGroupId: 'placeholder-value', + * // Required. The parent resource where this deployment group will be created. Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "connectedEndpointGroups": [], + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "locations": [], + * // "name": "my_name", + * // "nestedDeployments": [], + * // "network": "my_network", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", - * // "description": "my_description", + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "tlsInspectionPolicy": "my_tlsInspectionPolicy", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -17257,56 +19258,54 @@ export namespace networksecurity_v1 { * @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$Gatewaysecuritypolicies$Get, + create( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, + create( + params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get; + {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get; + {} as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create; options = {}; } @@ -17320,29 +19319,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/interceptDeploymentGroups').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists GatewaySecurityPolicies in a given project and location. + * Deletes a deployment group. See https://google.aip.dev/135. * @example * ```js * // Before running the sample: @@ -17372,21 +19374,21 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.gatewaySecurityPolicies.list({ - * // Maximum number of GatewaySecurityPolicies to return per call. - * pageSize: 'placeholder-value', - * // The value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and that the system should return the next page of data. - * pageToken: 'placeholder-value', - * // Required. The project and location from which the GatewaySecurityPolicies should be listed, specified in the format `projects/{project\}/locations/{location\}`. - * parent: 'projects/my-project/locations/my-location', + * await networksecurity.projects.locations.interceptDeploymentGroups.delete({ + * // Required. The deployment group to delete. + * name: 'projects/my-project/locations/my-location/interceptDeploymentGroups/my-interceptDeploymentGroup', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "gatewaySecurityPolicies": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -17402,62 +19404,54 @@ export namespace networksecurity_v1 { * @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$Gatewaysecuritypolicies$List, + delete( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, + delete( + params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List; + {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List; + {} as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete; options = {}; } @@ -17471,34 +19465,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/gatewaySecurityPolicies').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single GatewaySecurityPolicy. + * Gets a specific deployment group. See https://google.aip.dev/131. * @example * ```js * // Before running the sample: @@ -17528,33 +19517,25 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.gatewaySecurityPolicies.patch({ - * // Required. Name of the resource. Name is of the form projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gateway_security_policy\} gateway_security_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$). - * name: 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie', - * // Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "name": "my_name", - * // "tlsInspectionPolicy": "my_tlsInspectionPolicy", - * // "updateTime": "my_updateTime" - * // } - * }, + * await networksecurity.projects.locations.interceptDeploymentGroups.get({ + * // Required. The name of the deployment group to retrieve. Format: projects/{project\}/locations/{location\}/interceptDeploymentGroups/{intercept_deployment_group\} + * name: 'projects/my-project/locations/my-location/interceptDeploymentGroups/my-interceptDeploymentGroup', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "connectedEndpointGroups": [], + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "locations": [], * // "name": "my_name", - * // "response": {} + * // "nestedDeployments": [], + * // "network": "my_network", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" * // } * } * @@ -17570,54 +19551,56 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, + get( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, + get( + params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch; + {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch; + {} as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get; options = {}; } @@ -17632,7 +19615,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -17643,81 +19626,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Create extends StandardParameters { - /** - * Required. Short name of the GatewaySecurityPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "gateway_security_policy1". - */ - gatewaySecurityPolicyId?: string; - /** - * Required. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project\}/locations/{location\}`. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GatewaySecurityPolicy; - } - export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Delete extends StandardParameters { - /** - * Required. A name of the GatewaySecurityPolicy to delete. Must be in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Get extends StandardParameters { - /** - * Required. A name of the GatewaySecurityPolicy to get. Must be in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$List extends StandardParameters { - /** - * Maximum number of GatewaySecurityPolicies to return per call. - */ - pageSize?: number; - /** - * The value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project and location from which the GatewaySecurityPolicies should be listed, specified in the format `projects/{project\}/locations/{location\}`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Patch extends StandardParameters { - /** - * Required. Name of the resource. Name is of the form projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gateway_security_policy\} gateway_security_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$). - */ - name?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GatewaySecurityPolicy; - } - - export class Resource$Projects$Locations$Gatewaysecuritypolicies$Rules { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a new GatewaySecurityPolicy in a given project and location. + * Lists deployment groups in a given project and location. See https://google.aip.dev/132. * @example * ```js * // Before running the sample: @@ -17747,41 +19666,24 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.gatewaySecurityPolicies.rules.create( - * { - * // The ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. - * gatewaySecurityPolicyRuleId: 'placeholder-value', - * // Required. The parent where this rule will be created. Format : projects/{project\}/location/{location\}/gatewaySecurityPolicies/x - * parent: - * 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "applicationMatcher": "my_applicationMatcher", - * // "basicProfile": "my_basicProfile", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "enabled": false, - * // "name": "my_name", - * // "priority": 0, - * // "sessionMatcher": "my_sessionMatcher", - * // "tlsInspectionEnabled": false, - * // "updateTime": "my_updateTime" - * // } - * }, - * }, - * ); + * await networksecurity.projects.locations.interceptDeploymentGroups.list({ + * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + * filter: 'placeholder-value', + * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListInterceptDeploymentGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptDeploymentGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + * pageToken: 'placeholder-value', + * // Required. The parent, which owns this collection of deployment groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "interceptDeploymentGroups": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -17797,54 +19699,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, + list( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, + list( + params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptdeploymentgroups$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create; + {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create; + {} as Params$Resource$Projects$Locations$Interceptdeploymentgroups$List; options = {}; } @@ -17858,11 +19768,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/rules').replace( + url: (rootUrl + '/v1/{+parent}/interceptDeploymentGroups').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options @@ -17873,17 +19783,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Deletes a single GatewaySecurityPolicyRule. + * Updates a deployment group. See https://google.aip.dev/134. * @example * ```js * // Before running the sample: @@ -17913,12 +19825,32 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.gatewaySecurityPolicies.rules.delete( - * { - * // Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gatewaySecurityPolicy\}/rules/x`. - * name: 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie/rules/my-rule', + * await networksecurity.projects.locations.interceptDeploymentGroups.patch({ + * // Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details. + * name: 'projects/my-project/locations/my-location/interceptDeploymentGroups/my-interceptDeploymentGroup', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * // Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. `description`; *not* `intercept_deployment_group.description`). See https://google.aip.dev/161 for more details. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "connectedEndpointGroups": [], + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "locations": [], + * // "name": "my_name", + * // "nestedDeployments": [], + * // "network": "my_network", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } * }, - * ); + * }); * console.log(res.data); * * // Example response @@ -17943,32 +19875,32 @@ export namespace networksecurity_v1 { * @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$Gatewaysecuritypolicies$Rules$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, options: StreamMethodOptions - ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete + | Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -17984,13 +19916,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete; + {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete; + {} as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch; options = {}; } @@ -18005,7 +19937,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'PATCH', apiVersion: '', }, options @@ -18024,9 +19956,93 @@ export namespace networksecurity_v1 { return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create extends StandardParameters { /** - * Gets details of a single GatewaySecurityPolicyRule. + * Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. + */ + interceptDeploymentGroupId?: string; + /** + * Required. The parent resource where this deployment group will be created. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$InterceptDeploymentGroup; + } + export interface Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete extends StandardParameters { + /** + * Required. The deployment group to delete. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get extends StandardParameters { + /** + * Required. The name of the deployment group to retrieve. Format: projects/{project\}/locations/{location\}/interceptDeploymentGroups/{intercept_deployment_group\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Interceptdeploymentgroups$List extends StandardParameters { + /** + * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + */ + filter?: string; + /** + * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListInterceptDeploymentGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptDeploymentGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of deployment groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch extends StandardParameters { + /** + * Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + /** + * Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. `description`; *not* `intercept_deployment_group.description`). See https://google.aip.dev/161 for more details. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$InterceptDeploymentGroup; + } + + export class Resource$Projects$Locations$Interceptdeployments { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a deployment in a given project and location. See https://google.aip.dev/133. * @example * ```js * // Before running the sample: @@ -18056,24 +20072,39 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.gatewaySecurityPolicies.rules.get({ - * // Required. The name of the GatewaySecurityPolicyRule to retrieve. Format: projects/{project\}/location/{location\}/gatewaySecurityPolicies/x/rules/x - * name: 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie/rules/my-rule', + * await networksecurity.projects.locations.interceptDeployments.create({ + * // Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name. + * interceptDeploymentId: 'placeholder-value', + * // Required. The parent resource where this deployment will be created. Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "forwardingRule": "my_forwardingRule", + * // "interceptDeploymentGroup": "my_interceptDeploymentGroup", + * // "labels": {}, + * // "name": "my_name", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "applicationMatcher": "my_applicationMatcher", - * // "basicProfile": "my_basicProfile", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "enabled": false, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "priority": 0, - * // "sessionMatcher": "my_sessionMatcher", - * // "tlsInspectionEnabled": false, - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -18089,56 +20120,54 @@ export namespace networksecurity_v1 { * @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$Gatewaysecuritypolicies$Rules$Get, + create( + params: Params$Resource$Projects$Locations$Interceptdeployments$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, + create( + params?: Params$Resource$Projects$Locations$Interceptdeployments$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Interceptdeployments$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Interceptdeployments$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Interceptdeployments$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptdeployments$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get; + {}) as Params$Resource$Projects$Locations$Interceptdeployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get; + {} as Params$Resource$Projects$Locations$Interceptdeployments$Create; options = {}; } @@ -18152,29 +20181,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/interceptDeployments').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists GatewaySecurityPolicyRules in a given project and location. + * Deletes a deployment. See https://google.aip.dev/135. * @example * ```js * // Before running the sample: @@ -18204,24 +20236,21 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.gatewaySecurityPolicies.rules.list( - * { - * // Maximum number of GatewaySecurityPolicyRules to return per call. - * pageSize: 'placeholder-value', - * // The value returned by the last 'ListGatewaySecurityPolicyRulesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicyRules' call, and that the system should return the next page of data. - * pageToken: 'placeholder-value', - * // Required. The project, location and GatewaySecurityPolicy from which the GatewaySecurityPolicyRules should be listed, specified in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gatewaySecurityPolicy\}`. - * parent: - * 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie', - * }, - * ); + * await networksecurity.projects.locations.interceptDeployments.delete({ + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/interceptDeployments/my-interceptDeployment', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "gatewaySecurityPolicyRules": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -18237,62 +20266,54 @@ export namespace networksecurity_v1 { * @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$Gatewaysecuritypolicies$Rules$List, + delete( + params: Params$Resource$Projects$Locations$Interceptdeployments$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, + delete( + params?: Params$Resource$Projects$Locations$Interceptdeployments$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Interceptdeployments$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Interceptdeployments$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Interceptdeployments$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptdeployments$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List; + {}) as Params$Resource$Projects$Locations$Interceptdeployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List; + {} as Params$Resource$Projects$Locations$Interceptdeployments$Delete; options = {}; } @@ -18306,34 +20327,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/rules').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single GatewaySecurityPolicyRule. + * Gets a specific deployment. See https://google.aip.dev/131. * @example * ```js * // Before running the sample: @@ -18362,41 +20378,25 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.gatewaySecurityPolicies.rules.patch( - * { - * // Required. Immutable. Name of the resource. ame is the full resource name so projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gateway_security_policy\}/rules/{rule\} rule should match the pattern: (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$). - * name: 'projects/my-project/locations/my-location/gatewaySecurityPolicies/my-gatewaySecurityPolicie/rules/my-rule', - * // Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "applicationMatcher": "my_applicationMatcher", - * // "basicProfile": "my_basicProfile", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "enabled": false, - * // "name": "my_name", - * // "priority": 0, - * // "sessionMatcher": "my_sessionMatcher", - * // "tlsInspectionEnabled": false, - * // "updateTime": "my_updateTime" - * // } - * }, - * }, - * ); + * const res = await networksecurity.projects.locations.interceptDeployments.get( + * { + * // Required. The name of the deployment to retrieve. Format: projects/{project\}/locations/{location\}/interceptDeployments/{intercept_deployment\} + * name: 'projects/my-project/locations/my-location/interceptDeployments/my-interceptDeployment', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "forwardingRule": "my_forwardingRule", + * // "interceptDeploymentGroup": "my_interceptDeploymentGroup", + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" * // } * } * @@ -18412,54 +20412,54 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, + get( + params: Params$Resource$Projects$Locations$Interceptdeployments$Get, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, + get( + params?: Params$Resource$Projects$Locations$Interceptdeployments$Get, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Interceptdeployments$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Interceptdeployments$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Interceptdeployments$Get, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptdeployments$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch; + {}) as Params$Resource$Projects$Locations$Interceptdeployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch; + {} as Params$Resource$Projects$Locations$Interceptdeployments$Get; options = {}; } @@ -18474,7 +20474,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -18485,81 +20485,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Create extends StandardParameters { - /** - * The ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. - */ - gatewaySecurityPolicyRuleId?: string; - /** - * Required. The parent where this rule will be created. Format : projects/{project\}/location/{location\}/gatewaySecurityPolicies/x - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GatewaySecurityPolicyRule; - } - export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Delete extends StandardParameters { - /** - * Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gatewaySecurityPolicy\}/rules/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Get extends StandardParameters { - /** - * Required. The name of the GatewaySecurityPolicyRule to retrieve. Format: projects/{project\}/location/{location\}/gatewaySecurityPolicies/x/rules/x - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$List extends StandardParameters { - /** - * Maximum number of GatewaySecurityPolicyRules to return per call. - */ - pageSize?: number; - /** - * The value returned by the last 'ListGatewaySecurityPolicyRulesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicyRules' call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project, location and GatewaySecurityPolicy from which the GatewaySecurityPolicyRules should be listed, specified in the format `projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gatewaySecurityPolicy\}`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Gatewaysecuritypolicies$Rules$Patch extends StandardParameters { - /** - * Required. Immutable. Name of the resource. ame is the full resource name so projects/{project\}/locations/{location\}/gatewaySecurityPolicies/{gateway_security_policy\}/rules/{rule\} rule should match the pattern: (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$). - */ - name?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GatewaySecurityPolicyRule; - } - - export class Resource$Projects$Locations$Interceptdeploymentgroups { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a deployment group in a given project and location. See https://google.aip.dev/133. + * Lists deployments in a given project and location. See https://google.aip.dev/132. * @example * ```js * // Before running the sample: @@ -18589,41 +20525,25 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptDeploymentGroups.create({ - * // Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. - * interceptDeploymentGroupId: 'placeholder-value', - * // Required. The parent resource where this deployment group will be created. Format: projects/{project\}/locations/{location\} - * parent: 'projects/my-project/locations/my-location', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "connectedEndpointGroups": [], - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "locations": [], - * // "name": "my_name", - * // "nestedDeployments": [], - * // "network": "my_network", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, + * await networksecurity.projects.locations.interceptDeployments.list({ + * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + * filter: 'placeholder-value', + * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListInterceptDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptDeployments` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + * pageToken: 'placeholder-value', + * // Required. The parent, which owns this collection of deployments. Example: `projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132 for more details. + * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "interceptDeployments": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -18639,54 +20559,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, + list( + params: Params$Resource$Projects$Locations$Interceptdeployments$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, + list( + params?: Params$Resource$Projects$Locations$Interceptdeployments$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Interceptdeployments$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Interceptdeployments$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Interceptdeployments$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptdeployments$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create; + {}) as Params$Resource$Projects$Locations$Interceptdeployments$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create; + {} as Params$Resource$Projects$Locations$Interceptdeployments$List; options = {}; } @@ -18700,11 +20628,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/interceptDeploymentGroups').replace( + url: (rootUrl + '/v1/{+parent}/interceptDeployments').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options @@ -18715,17 +20643,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Deletes a deployment group. See https://google.aip.dev/135. + * Updates a deployment. See https://google.aip.dev/134. * @example * ```js * // Before running the sample: @@ -18755,11 +20685,29 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptDeploymentGroups.delete({ - * // Required. The deployment group to delete. - * name: 'projects/my-project/locations/my-location/interceptDeploymentGroups/my-interceptDeploymentGroup', + * await networksecurity.projects.locations.interceptDeployments.patch({ + * // Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See https://google.aip.dev/122 for more details. + * name: 'projects/my-project/locations/my-location/interceptDeployments/my-interceptDeployment', * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. * requestId: 'placeholder-value', + * // Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. `description`; *not* `intercept_deployment.description`). See https://google.aip.dev/161 for more details. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "forwardingRule": "my_forwardingRule", + * // "interceptDeploymentGroup": "my_interceptDeploymentGroup", + * // "labels": {}, + * // "name": "my_name", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, * }); * console.log(res.data); * @@ -18785,32 +20733,32 @@ export namespace networksecurity_v1 { * @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$Interceptdeploymentgroups$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptdeployments$Patch, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, + patch( + params?: Params$Resource$Projects$Locations$Interceptdeployments$Patch, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptdeployments$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptdeployments$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptdeployments$Patch, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete + | Params$Resource$Projects$Locations$Interceptdeployments$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -18826,13 +20774,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete; + {}) as Params$Resource$Projects$Locations$Interceptdeployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete; + {} as Params$Resource$Projects$Locations$Interceptdeployments$Patch; options = {}; } @@ -18847,7 +20795,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'PATCH', apiVersion: '', }, options @@ -18866,9 +20814,93 @@ export namespace networksecurity_v1 { return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Interceptdeployments$Create extends StandardParameters { /** - * Gets a specific deployment group. See https://google.aip.dev/131. + * Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name. + */ + interceptDeploymentId?: string; + /** + * Required. The parent resource where this deployment will be created. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$InterceptDeployment; + } + export interface Params$Resource$Projects$Locations$Interceptdeployments$Delete extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Interceptdeployments$Get extends StandardParameters { + /** + * Required. The name of the deployment to retrieve. Format: projects/{project\}/locations/{location\}/interceptDeployments/{intercept_deployment\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Interceptdeployments$List extends StandardParameters { + /** + * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + */ + filter?: string; + /** + * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListInterceptDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptDeployments` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of deployments. Example: `projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132 for more details. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Interceptdeployments$Patch extends StandardParameters { + /** + * Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See https://google.aip.dev/122 for more details. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + /** + * Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. `description`; *not* `intercept_deployment.description`). See https://google.aip.dev/161 for more details. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$InterceptDeployment; + } + + export class Resource$Projects$Locations$Interceptendpointgroupassociations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates an association in a given project and location. See https://google.aip.dev/133. * @example * ```js * // Before running the sample: @@ -18898,25 +20930,43 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptDeploymentGroups.get({ - * // Required. The name of the deployment group to retrieve. Format: projects/{project\}/locations/{location\}/interceptDeploymentGroups/{intercept_deployment_group\} - * name: 'projects/my-project/locations/my-location/interceptDeploymentGroups/my-interceptDeploymentGroup', - * }); - * console.log(res.data); + * await networksecurity.projects.locations.interceptEndpointGroupAssociations.create( + * { + * // Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. + * interceptEndpointGroupAssociationId: 'placeholder-value', + * // Required. The parent resource where this association will be created. Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', * - * // Example response - * // { - * // "connectedEndpointGroups": [], - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "locations": [], + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "interceptEndpointGroup": "my_interceptEndpointGroup", + * // "labels": {}, + * // "locations": [], + * // "locationsDetails": [], + * // "name": "my_name", + * // "network": "my_network", + * // "networkCookie": 0, + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "nestedDeployments": [], - * // "network": "my_network", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -18932,56 +20982,54 @@ export namespace networksecurity_v1 { * @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$Interceptdeploymentgroups$Get, + create( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, + create( + params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get; + {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get; + {} as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create; options = {}; } @@ -18995,29 +21043,31 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: ( + rootUrl + '/v1/{+parent}/interceptEndpointGroupAssociations' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists deployment groups in a given project and location. See https://google.aip.dev/132. + * Deletes an association. See https://google.aip.dev/135. * @example * ```js * // Before running the sample: @@ -19047,24 +21097,23 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptDeploymentGroups.list({ - * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - * filter: 'placeholder-value', - * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - * pageSize: 'placeholder-value', - * // Optional. A page token, received from a previous `ListInterceptDeploymentGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptDeploymentGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - * pageToken: 'placeholder-value', - * // Required. The parent, which owns this collection of deployment groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. - * parent: 'projects/my-project/locations/my-location', - * }); + * await networksecurity.projects.locations.interceptEndpointGroupAssociations.delete( + * { + * // Required. The association to delete. + * name: 'projects/my-project/locations/my-location/interceptEndpointGroupAssociations/my-interceptEndpointGroupAssociation', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "interceptDeploymentGroups": [], - * // "nextPageToken": "my_nextPageToken" + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -19080,62 +21129,54 @@ export namespace networksecurity_v1 { * @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$Interceptdeploymentgroups$List, + delete( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, + delete( + params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptdeploymentgroups$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$List; + {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptdeploymentgroups$List; + {} as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete; options = {}; } @@ -19149,34 +21190,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/interceptDeploymentGroups').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates a deployment group. See https://google.aip.dev/134. + * Gets a specific association. See https://google.aip.dev/131. * @example * ```js * // Before running the sample: @@ -19206,41 +21242,27 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptDeploymentGroups.patch({ - * // Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details. - * name: 'projects/my-project/locations/my-location/interceptDeploymentGroups/my-interceptDeploymentGroup', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * // Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. `description`; *not* `intercept_deployment_group.description`). See https://google.aip.dev/161 for more details. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "connectedEndpointGroups": [], - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "locations": [], - * // "name": "my_name", - * // "nestedDeployments": [], - * // "network": "my_network", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } + * await networksecurity.projects.locations.interceptEndpointGroupAssociations.get( + * { + * // Required. The name of the association to retrieve. Format: projects/{project\}/locations/{location\}/interceptEndpointGroupAssociations/{intercept_endpoint_group_association\} + * name: 'projects/my-project/locations/my-location/interceptEndpointGroupAssociations/my-interceptEndpointGroupAssociation', * }, - * }); + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "createTime": "my_createTime", + * // "interceptEndpointGroup": "my_interceptEndpointGroup", + * // "labels": {}, + * // "locations": [], + * // "locationsDetails": [], * // "name": "my_name", - * // "response": {} + * // "network": "my_network", + * // "networkCookie": 0, + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" * // } * } * @@ -19256,54 +21278,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, + get( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, + get( + params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch; + {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch; + {} as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get; options = {}; } @@ -19318,7 +21348,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -19329,101 +21359,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } - } - - export interface Params$Resource$Projects$Locations$Interceptdeploymentgroups$Create extends StandardParameters { - /** - * Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. - */ - interceptDeploymentGroupId?: string; - /** - * Required. The parent resource where this deployment group will be created. Format: projects/{project\}/locations/{location\} - */ - parent?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InterceptDeploymentGroup; - } - export interface Params$Resource$Projects$Locations$Interceptdeploymentgroups$Delete extends StandardParameters { - /** - * Required. The deployment group to delete. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Interceptdeploymentgroups$Get extends StandardParameters { - /** - * Required. The name of the deployment group to retrieve. Format: projects/{project\}/locations/{location\}/interceptDeploymentGroups/{intercept_deployment_group\} - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Interceptdeploymentgroups$List extends StandardParameters { - /** - * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - */ - filter?: string; - /** - * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - */ - orderBy?: string; - /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - */ - pageSize?: number; - /** - * Optional. A page token, received from a previous `ListInterceptDeploymentGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptDeploymentGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - */ - pageToken?: string; - /** - * Required. The parent, which owns this collection of deployment groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Interceptdeploymentgroups$Patch extends StandardParameters { - /** - * Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - /** - * Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. `description`; *not* `intercept_deployment_group.description`). See https://google.aip.dev/161 for more details. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InterceptDeploymentGroup; - } - - export class Resource$Projects$Locations$Interceptdeployments { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a deployment in a given project and location. See https://google.aip.dev/133. + * Lists associations in a given project and location. See https://google.aip.dev/132. * @example * ```js * // Before running the sample: @@ -19453,39 +21401,26 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptDeployments.create({ - * // Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name. - * interceptDeploymentId: 'placeholder-value', - * // Required. The parent resource where this deployment will be created. Format: projects/{project\}/locations/{location\} - * parent: 'projects/my-project/locations/my-location', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "forwardingRule": "my_forwardingRule", - * // "interceptDeploymentGroup": "my_interceptDeploymentGroup", - * // "labels": {}, - * // "name": "my_name", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } + * await networksecurity.projects.locations.interceptEndpointGroupAssociations.list( + * { + * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + * filter: 'placeholder-value', + * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + * pageToken: 'placeholder-value', + * // Required. The parent, which owns this collection of associations. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + * parent: 'projects/my-project/locations/my-location', * }, - * }); + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "interceptEndpointGroupAssociations": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -19501,54 +21436,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Interceptdeployments$Create, + list( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Interceptdeployments$Create, + list( + params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Interceptdeployments$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Interceptdeployments$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Interceptdeployments$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptdeployments$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptdeployments$Create; + {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptdeployments$Create; + {} as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List; options = {}; } @@ -19562,11 +21505,10 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/interceptDeployments').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: ( + rootUrl + '/v1/{+parent}/interceptEndpointGroupAssociations' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options @@ -19577,17 +21519,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Deletes a deployment. See https://google.aip.dev/135. + * Updates an association. See https://google.aip.dev/134. * @example * ```js * // Before running the sample: @@ -19617,12 +21561,34 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptDeployments.delete({ - * // Required. Name of the resource - * name: 'projects/my-project/locations/my-location/interceptDeployments/my-interceptDeployment', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * }); + * await networksecurity.projects.locations.interceptEndpointGroupAssociations.patch( + * { + * // Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details. + * name: 'projects/my-project/locations/my-location/interceptEndpointGroupAssociations/my-interceptEndpointGroupAssociation', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * // Optional. The list of fields to update. Fields are specified relative to the association (e.g. `description`; *not* `intercept_endpoint_group_association.description`). See https://google.aip.dev/161 for more details. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "interceptEndpointGroup": "my_interceptEndpointGroup", + * // "labels": {}, + * // "locations": [], + * // "locationsDetails": [], + * // "name": "my_name", + * // "network": "my_network", + * // "networkCookie": 0, + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response @@ -19647,32 +21613,32 @@ export namespace networksecurity_v1 { * @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$Interceptdeployments$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Interceptdeployments$Delete, + patch( + params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Interceptdeployments$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Interceptdeployments$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Interceptdeployments$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptdeployments$Delete + | Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -19688,13 +21654,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptdeployments$Delete; + {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptdeployments$Delete; + {} as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch; options = {}; } @@ -19709,7 +21675,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'PATCH', apiVersion: '', }, options @@ -19728,9 +21694,93 @@ export namespace networksecurity_v1 { return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create extends StandardParameters { /** - * Gets a specific deployment. See https://google.aip.dev/131. + * Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. + */ + interceptEndpointGroupAssociationId?: string; + /** + * Required. The parent resource where this association will be created. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$InterceptEndpointGroupAssociation; + } + export interface Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete extends StandardParameters { + /** + * Required. The association to delete. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get extends StandardParameters { + /** + * Required. The name of the association to retrieve. Format: projects/{project\}/locations/{location\}/interceptEndpointGroupAssociations/{intercept_endpoint_group_association\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List extends StandardParameters { + /** + * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + */ + filter?: string; + /** + * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of associations. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch extends StandardParameters { + /** + * Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + /** + * Optional. The list of fields to update. Fields are specified relative to the association (e.g. `description`; *not* `intercept_endpoint_group_association.description`). See https://google.aip.dev/161 for more details. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$InterceptEndpointGroupAssociation; + } + + export class Resource$Projects$Locations$Interceptendpointgroups { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates an endpoint group in a given project and location. See https://google.aip.dev/133. * @example * ```js * // Before running the sample: @@ -19759,25 +21809,41 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.interceptDeployments.get( - * { - * // Required. The name of the deployment to retrieve. Format: projects/{project\}/locations/{location\}/interceptDeployments/{intercept_deployment\} - * name: 'projects/my-project/locations/my-location/interceptDeployments/my-interceptDeployment', - * }, - * ); + * const res = + * await networksecurity.projects.locations.interceptEndpointGroups.create({ + * // Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. + * interceptEndpointGroupId: 'placeholder-value', + * // Required. The parent resource where this endpoint group will be created. Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "associations": [], + * // "connectedDeploymentGroup": {}, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "interceptDeploymentGroup": "my_interceptDeploymentGroup", + * // "labels": {}, + * // "name": "my_name", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "forwardingRule": "my_forwardingRule", - * // "interceptDeploymentGroup": "my_interceptDeploymentGroup", - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -19793,54 +21859,54 @@ export namespace networksecurity_v1 { * @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$Interceptdeployments$Get, + create( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Interceptdeployments$Get, + create( + params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Interceptdeployments$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Interceptdeployments$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Interceptdeployments$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptdeployments$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptendpointgroups$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptdeployments$Get; + {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptdeployments$Get; + {} as Params$Resource$Projects$Locations$Interceptendpointgroups$Create; options = {}; } @@ -19854,29 +21920,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/interceptEndpointGroups').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists deployments in a given project and location. See https://google.aip.dev/132. + * Deletes an endpoint group. See https://google.aip.dev/135. * @example * ```js * // Before running the sample: @@ -19906,25 +21975,21 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptDeployments.list({ - * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - * filter: 'placeholder-value', - * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - * pageSize: 'placeholder-value', - * // Optional. A page token, received from a previous `ListInterceptDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptDeployments` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - * pageToken: 'placeholder-value', - * // Required. The parent, which owns this collection of deployments. Example: `projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132 for more details. - * parent: 'projects/my-project/locations/my-location', + * await networksecurity.projects.locations.interceptEndpointGroups.delete({ + * // Required. The endpoint group to delete. + * name: 'projects/my-project/locations/my-location/interceptEndpointGroups/my-interceptEndpointGroup', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "interceptDeployments": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -19940,62 +22005,54 @@ export namespace networksecurity_v1 { * @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$Interceptdeployments$List, + delete( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Interceptdeployments$List, + delete( + params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Interceptdeployments$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Interceptdeployments$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Interceptdeployments$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptdeployments$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptendpointgroups$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptdeployments$List; + {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptdeployments$List; + {} as Params$Resource$Projects$Locations$Interceptendpointgroups$Delete; options = {}; } @@ -20009,34 +22066,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/interceptDeployments').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates a deployment. See https://google.aip.dev/134. + * Gets a specific endpoint group. See https://google.aip.dev/131. * @example * ```js * // Before running the sample: @@ -20066,39 +22118,24 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptDeployments.patch({ - * // Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See https://google.aip.dev/122 for more details. - * name: 'projects/my-project/locations/my-location/interceptDeployments/my-interceptDeployment', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * // Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. `description`; *not* `intercept_deployment.description`). See https://google.aip.dev/161 for more details. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "forwardingRule": "my_forwardingRule", - * // "interceptDeploymentGroup": "my_interceptDeploymentGroup", - * // "labels": {}, - * // "name": "my_name", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, + * await networksecurity.projects.locations.interceptEndpointGroups.get({ + * // Required. The name of the endpoint group to retrieve. Format: projects/{project\}/locations/{location\}/interceptEndpointGroups/{intercept_endpoint_group\} + * name: 'projects/my-project/locations/my-location/interceptEndpointGroups/my-interceptEndpointGroup', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "associations": [], + * // "connectedDeploymentGroup": {}, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "interceptDeploymentGroup": "my_interceptDeploymentGroup", + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" * // } * } * @@ -20114,54 +22151,56 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Interceptdeployments$Patch, + get( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Interceptdeployments$Patch, + get( + params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Interceptdeployments$Patch, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Interceptdeployments$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Interceptdeployments$Patch, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptdeployments$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptendpointgroups$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptdeployments$Patch; + {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptdeployments$Patch; + {} as Params$Resource$Projects$Locations$Interceptendpointgroups$Get; options = {}; } @@ -20176,112 +22215,28 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Interceptdeployments$Create extends StandardParameters { - /** - * Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name. - */ - interceptDeploymentId?: string; - /** - * Required. The parent resource where this deployment will be created. Format: projects/{project\}/locations/{location\} - */ - parent?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InterceptDeployment; - } - export interface Params$Resource$Projects$Locations$Interceptdeployments$Delete extends StandardParameters { - /** - * Required. Name of the resource - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Interceptdeployments$Get extends StandardParameters { - /** - * Required. The name of the deployment to retrieve. Format: projects/{project\}/locations/{location\}/interceptDeployments/{intercept_deployment\} - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Interceptdeployments$List extends StandardParameters { - /** - * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - */ - filter?: string; - /** - * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - */ - orderBy?: string; - /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - */ - pageSize?: number; - /** - * Optional. A page token, received from a previous `ListInterceptDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptDeployments` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - */ - pageToken?: string; - /** - * Required. The parent, which owns this collection of deployments. Example: `projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132 for more details. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Interceptdeployments$Patch extends StandardParameters { - /** - * Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See https://google.aip.dev/122 for more details. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - /** - * Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. `description`; *not* `intercept_deployment.description`). See https://google.aip.dev/161 for more details. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InterceptDeployment; - } - - export class Resource$Projects$Locations$Interceptendpointgroupassociations { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } } /** - * Creates an association in a given project and location. See https://google.aip.dev/133. + * Lists endpoint groups in a given project and location. See https://google.aip.dev/132. * @example * ```js * // Before running the sample: @@ -20311,43 +22266,24 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptEndpointGroupAssociations.create( - * { - * // Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. - * interceptEndpointGroupAssociationId: 'placeholder-value', - * // Required. The parent resource where this association will be created. Format: projects/{project\}/locations/{location\} - * parent: 'projects/my-project/locations/my-location', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "interceptEndpointGroup": "my_interceptEndpointGroup", - * // "labels": {}, - * // "locations": [], - * // "locationsDetails": [], - * // "name": "my_name", - * // "network": "my_network", - * // "networkCookie": 0, - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, - * }, - * ); + * await networksecurity.projects.locations.interceptEndpointGroups.list({ + * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + * filter: 'placeholder-value', + * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + * pageToken: 'placeholder-value', + * // Required. The parent, which owns this collection of endpoint groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "interceptEndpointGroups": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -20363,54 +22299,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, + list( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, + list( + params?: Params$Resource$Projects$Locations$Interceptendpointgroups$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Interceptendpointgroups$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create; + {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create; + {} as Params$Resource$Projects$Locations$Interceptendpointgroups$List; options = {}; } @@ -20424,10 +22368,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+parent}/interceptEndpointGroupAssociations' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'POST', + url: (rootUrl + '/v1/{+parent}/interceptEndpointGroups').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options @@ -20438,17 +22383,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Deletes an association. See https://google.aip.dev/135. + * Updates an endpoint group. See https://google.aip.dev/134. * @example * ```js * // Before running the sample: @@ -20478,14 +22425,31 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptEndpointGroupAssociations.delete( - * { - * // Required. The association to delete. - * name: 'projects/my-project/locations/my-location/interceptEndpointGroupAssociations/my-interceptEndpointGroupAssociation', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', + * await networksecurity.projects.locations.interceptEndpointGroups.patch({ + * // Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/interceptEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details. + * name: 'projects/my-project/locations/my-location/interceptEndpointGroups/my-interceptEndpointGroup', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * // Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. `description`; *not* `intercept_endpoint_group.description`). See https://google.aip.dev/161 for more details. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "associations": [], + * // "connectedDeploymentGroup": {}, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "interceptDeploymentGroup": "my_interceptDeploymentGroup", + * // "labels": {}, + * // "name": "my_name", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } * }, - * ); + * }); * console.log(res.data); * * // Example response @@ -20510,32 +22474,32 @@ export namespace networksecurity_v1 { * @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$Interceptendpointgroupassociations$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, + patch( + params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete, + patch( + params: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete + | Params$Resource$Projects$Locations$Interceptendpointgroups$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -20551,49 +22515,133 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete; + {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete; + {} as Params$Resource$Projects$Locations$Interceptendpointgroups$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; options = {}; } - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } + const rootUrl = + options.rootUrl || 'https://networksecurity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Interceptendpointgroups$Create extends StandardParameters { + /** + * Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. + */ + interceptEndpointGroupId?: string; + /** + * Required. The parent resource where this endpoint group will be created. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$InterceptEndpointGroup; + } + export interface Params$Resource$Projects$Locations$Interceptendpointgroups$Delete extends StandardParameters { + /** + * Required. The endpoint group to delete. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Interceptendpointgroups$Get extends StandardParameters { + /** + * Required. The name of the endpoint group to retrieve. Format: projects/{project\}/locations/{location\}/interceptEndpointGroups/{intercept_endpoint_group\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Interceptendpointgroups$List extends StandardParameters { + /** + * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + */ + filter?: string; + /** + * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of endpoint groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Interceptendpointgroups$Patch extends StandardParameters { + /** + * Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/interceptEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + /** + * Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. `description`; *not* `intercept_endpoint_group.description`). See https://google.aip.dev/161 for more details. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$InterceptEndpointGroup; + } - const rootUrl = - options.rootUrl || 'https://networksecurity.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); - } + export class Resource$Projects$Locations$Mirroringdeploymentgroups { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; } /** - * Gets a specific association. See https://google.aip.dev/131. + * Creates a deployment group in a given project and location. See https://google.aip.dev/133. * @example * ```js * // Before running the sample: @@ -20623,27 +22671,41 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptEndpointGroupAssociations.get( - * { - * // Required. The name of the association to retrieve. Format: projects/{project\}/locations/{location\}/interceptEndpointGroupAssociations/{intercept_endpoint_group_association\} - * name: 'projects/my-project/locations/my-location/interceptEndpointGroupAssociations/my-interceptEndpointGroupAssociation', + * await networksecurity.projects.locations.mirroringDeploymentGroups.create({ + * // Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. + * mirroringDeploymentGroupId: 'placeholder-value', + * // Required. The parent resource where this deployment group will be created. Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "connectedEndpointGroups": [], + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "locations": [], + * // "name": "my_name", + * // "nestedDeployments": [], + * // "network": "my_network", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } * }, - * ); + * }); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", - * // "interceptEndpointGroup": "my_interceptEndpointGroup", - * // "labels": {}, - * // "locations": [], - * // "locationsDetails": [], + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "network": "my_network", - * // "networkCookie": 0, - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -20659,62 +22721,54 @@ export namespace networksecurity_v1 { * @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$Interceptendpointgroupassociations$Get, + create( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, + create( + params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - get( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, + callback: BodyResponseCallback ): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get; + {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get; + {} as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create; options = {}; } @@ -20728,31 +22782,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/mirroringDeploymentGroups').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Lists associations in a given project and location. See https://google.aip.dev/132. + * Deletes a deployment group. See https://google.aip.dev/135. * @example * ```js * // Before running the sample: @@ -20782,26 +22837,21 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptEndpointGroupAssociations.list( - * { - * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - * filter: 'placeholder-value', - * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - * pageSize: 'placeholder-value', - * // Optional. A page token, received from a previous `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - * pageToken: 'placeholder-value', - * // Required. The parent, which owns this collection of associations. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. - * parent: 'projects/my-project/locations/my-location', - * }, - * ); + * await networksecurity.projects.locations.mirroringDeploymentGroups.delete({ + * // Required. The deployment group to delete. + * name: 'projects/my-project/locations/my-location/mirroringDeploymentGroups/my-mirroringDeploymentGroup', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "interceptEndpointGroupAssociations": [], - * // "nextPageToken": "my_nextPageToken" + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -20817,62 +22867,54 @@ export namespace networksecurity_v1 { * @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$Interceptendpointgroupassociations$List, + delete( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, + delete( + params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List, - callback: BodyResponseCallback - ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( + delete( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List; + {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List; + {} as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete; options = {}; } @@ -20886,33 +22928,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+parent}/interceptEndpointGroupAssociations' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates an association. See https://google.aip.dev/134. + * Gets a specific deployment group. See https://google.aip.dev/131. * @example * ```js * // Before running the sample: @@ -20942,43 +22980,25 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptEndpointGroupAssociations.patch( - * { - * // Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details. - * name: 'projects/my-project/locations/my-location/interceptEndpointGroupAssociations/my-interceptEndpointGroupAssociation', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * // Optional. The list of fields to update. Fields are specified relative to the association (e.g. `description`; *not* `intercept_endpoint_group_association.description`). See https://google.aip.dev/161 for more details. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "interceptEndpointGroup": "my_interceptEndpointGroup", - * // "labels": {}, - * // "locations": [], - * // "locationsDetails": [], - * // "name": "my_name", - * // "network": "my_network", - * // "networkCookie": 0, - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, - * }, - * ); + * await networksecurity.projects.locations.mirroringDeploymentGroups.get({ + * // Required. The name of the deployment group to retrieve. Format: projects/{project\}/locations/{location\}/mirroringDeploymentGroups/{mirroring_deployment_group\} + * name: 'projects/my-project/locations/my-location/mirroringDeploymentGroups/my-mirroringDeploymentGroup', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "connectedEndpointGroups": [], + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "locations": [], * // "name": "my_name", - * // "response": {} + * // "nestedDeployments": [], + * // "network": "my_network", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" * // } * } * @@ -20994,54 +23014,56 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, + get( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, + get( + params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch; + {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch; + {} as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get; options = {}; } @@ -21056,7 +23078,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -21067,101 +23089,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Create extends StandardParameters { - /** - * Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. - */ - interceptEndpointGroupAssociationId?: string; - /** - * Required. The parent resource where this association will be created. Format: projects/{project\}/locations/{location\} - */ - parent?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InterceptEndpointGroupAssociation; - } - export interface Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Delete extends StandardParameters { - /** - * Required. The association to delete. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Get extends StandardParameters { - /** - * Required. The name of the association to retrieve. Format: projects/{project\}/locations/{location\}/interceptEndpointGroupAssociations/{intercept_endpoint_group_association\} - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Interceptendpointgroupassociations$List extends StandardParameters { - /** - * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - */ - filter?: string; - /** - * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - */ - orderBy?: string; - /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - */ - pageSize?: number; - /** - * Optional. A page token, received from a previous `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - */ - pageToken?: string; - /** - * Required. The parent, which owns this collection of associations. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Interceptendpointgroupassociations$Patch extends StandardParameters { - /** - * Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - /** - * Optional. The list of fields to update. Fields are specified relative to the association (e.g. `description`; *not* `intercept_endpoint_group_association.description`). See https://google.aip.dev/161 for more details. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InterceptEndpointGroupAssociation; - } - - export class Resource$Projects$Locations$Interceptendpointgroups { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates an endpoint group in a given project and location. See https://google.aip.dev/133. + * Lists deployment groups in a given project and location. See https://google.aip.dev/132. * @example * ```js * // Before running the sample: @@ -21191,40 +23129,24 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptEndpointGroups.create({ - * // Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. - * interceptEndpointGroupId: 'placeholder-value', - * // Required. The parent resource where this endpoint group will be created. Format: projects/{project\}/locations/{location\} - * parent: 'projects/my-project/locations/my-location', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "associations": [], - * // "connectedDeploymentGroup": {}, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "interceptDeploymentGroup": "my_interceptDeploymentGroup", - * // "labels": {}, - * // "name": "my_name", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, + * await networksecurity.projects.locations.mirroringDeploymentGroups.list({ + * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + * filter: 'placeholder-value', + * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListMirroringDeploymentGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringDeploymentGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + * pageToken: 'placeholder-value', + * // Required. The parent, which owns this collection of deployment groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "mirroringDeploymentGroups": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -21240,54 +23162,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, + list( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, + list( + params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptendpointgroups$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Create; + {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptendpointgroups$Create; + {} as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List; options = {}; } @@ -21301,11 +23231,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/interceptEndpointGroups').replace( + url: (rootUrl + '/v1/{+parent}/mirroringDeploymentGroups').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options @@ -21316,17 +23246,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Deletes an endpoint group. See https://google.aip.dev/135. + * Updates a deployment group. See https://google.aip.dev/134. * @example * ```js * // Before running the sample: @@ -21356,11 +23288,31 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptEndpointGroups.delete({ - * // Required. The endpoint group to delete. - * name: 'projects/my-project/locations/my-location/interceptEndpointGroups/my-interceptEndpointGroup', + * await networksecurity.projects.locations.mirroringDeploymentGroups.patch({ + * // Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details. + * name: 'projects/my-project/locations/my-location/mirroringDeploymentGroups/my-mirroringDeploymentGroup', * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. * requestId: 'placeholder-value', + * // Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. `description`; *not* `mirroring_deployment_group.description`). See https://google.aip.dev/161 for more details. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "connectedEndpointGroups": [], + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "locations": [], + * // "name": "my_name", + * // "nestedDeployments": [], + * // "network": "my_network", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, * }); * console.log(res.data); * @@ -21386,32 +23338,32 @@ export namespace networksecurity_v1 { * @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$Interceptendpointgroups$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, + patch( + params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptendpointgroups$Delete + | Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -21427,13 +23379,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Delete; + {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptendpointgroups$Delete; + {} as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch; options = {}; } @@ -21448,7 +23400,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'PATCH', apiVersion: '', }, options @@ -21467,9 +23419,93 @@ export namespace networksecurity_v1 { return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create extends StandardParameters { /** - * Gets a specific endpoint group. See https://google.aip.dev/131. + * Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. + */ + mirroringDeploymentGroupId?: string; + /** + * Required. The parent resource where this deployment group will be created. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$MirroringDeploymentGroup; + } + export interface Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete extends StandardParameters { + /** + * Required. The deployment group to delete. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get extends StandardParameters { + /** + * Required. The name of the deployment group to retrieve. Format: projects/{project\}/locations/{location\}/mirroringDeploymentGroups/{mirroring_deployment_group\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List extends StandardParameters { + /** + * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + */ + filter?: string; + /** + * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListMirroringDeploymentGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringDeploymentGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of deployment groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch extends StandardParameters { + /** + * Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + /** + * Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. `description`; *not* `mirroring_deployment_group.description`). See https://google.aip.dev/161 for more details. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$MirroringDeploymentGroup; + } + + export class Resource$Projects$Locations$Mirroringdeployments { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a deployment in a given project and location. See https://google.aip.dev/133. * @example * ```js * // Before running the sample: @@ -21499,24 +23535,39 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptEndpointGroups.get({ - * // Required. The name of the endpoint group to retrieve. Format: projects/{project\}/locations/{location\}/interceptEndpointGroups/{intercept_endpoint_group\} - * name: 'projects/my-project/locations/my-location/interceptEndpointGroups/my-interceptEndpointGroup', + * await networksecurity.projects.locations.mirroringDeployments.create({ + * // Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name. + * mirroringDeploymentId: 'placeholder-value', + * // Required. The parent resource where this deployment will be created. Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "forwardingRule": "my_forwardingRule", + * // "labels": {}, + * // "mirroringDeploymentGroup": "my_mirroringDeploymentGroup", + * // "name": "my_name", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "associations": [], - * // "connectedDeploymentGroup": {}, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "interceptDeploymentGroup": "my_interceptDeploymentGroup", - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -21532,56 +23583,54 @@ export namespace networksecurity_v1 { * @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$Interceptendpointgroups$Get, + create( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, + create( + params?: Params$Resource$Projects$Locations$Mirroringdeployments$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptendpointgroups$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringdeployments$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Get; + {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptendpointgroups$Get; + {} as Params$Resource$Projects$Locations$Mirroringdeployments$Create; options = {}; } @@ -21595,29 +23644,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/mirroringDeployments').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists endpoint groups in a given project and location. See https://google.aip.dev/132. + * Deletes a deployment. See https://google.aip.dev/135. * @example * ```js * // Before running the sample: @@ -21647,24 +23699,21 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.interceptEndpointGroups.list({ - * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - * filter: 'placeholder-value', - * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - * pageSize: 'placeholder-value', - * // Optional. A page token, received from a previous `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - * pageToken: 'placeholder-value', - * // Required. The parent, which owns this collection of endpoint groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. - * parent: 'projects/my-project/locations/my-location', + * await networksecurity.projects.locations.mirroringDeployments.delete({ + * // Required. Name of the resource + * name: 'projects/my-project/locations/my-location/mirroringDeployments/my-mirroringDeployment', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "interceptEndpointGroups": [], - * // "nextPageToken": "my_nextPageToken" + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -21680,62 +23729,54 @@ export namespace networksecurity_v1 { * @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$Interceptendpointgroups$List, + delete( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Interceptendpointgroups$List, + delete( + params?: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptendpointgroups$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringdeployments$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$List; + {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptendpointgroups$List; + {} as Params$Resource$Projects$Locations$Mirroringdeployments$Delete; options = {}; } @@ -21749,34 +23790,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/interceptEndpointGroups').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates an endpoint group. See https://google.aip.dev/134. + * Gets a specific deployment. See https://google.aip.dev/131. * @example * ```js * // Before running the sample: @@ -21805,41 +23841,25 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.interceptEndpointGroups.patch({ - * // Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/interceptEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details. - * name: 'projects/my-project/locations/my-location/interceptEndpointGroups/my-interceptEndpointGroup', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * // Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. `description`; *not* `intercept_endpoint_group.description`). See https://google.aip.dev/161 for more details. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "associations": [], - * // "connectedDeploymentGroup": {}, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "interceptDeploymentGroup": "my_interceptDeploymentGroup", - * // "labels": {}, - * // "name": "my_name", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, - * }); + * const res = await networksecurity.projects.locations.mirroringDeployments.get( + * { + * // Required. The name of the deployment to retrieve. Format: projects/{project\}/locations/{location\}/mirroringDeployments/{mirroring_deployment\} + * name: 'projects/my-project/locations/my-location/mirroringDeployments/my-mirroringDeployment', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "forwardingRule": "my_forwardingRule", + * // "labels": {}, + * // "mirroringDeploymentGroup": "my_mirroringDeploymentGroup", * // "name": "my_name", - * // "response": {} + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" * // } * } * @@ -21855,54 +23875,54 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, + get( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Get, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, + get( + params?: Params$Resource$Projects$Locations$Mirroringdeployments$Get, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Interceptendpointgroups$Patch, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Get, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Interceptendpointgroups$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringdeployments$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Interceptendpointgroups$Patch; + {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Interceptendpointgroups$Patch; + {} as Params$Resource$Projects$Locations$Mirroringdeployments$Get; options = {}; } @@ -21917,7 +23937,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -21928,101 +23948,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Interceptendpointgroups$Create extends StandardParameters { - /** - * Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. - */ - interceptEndpointGroupId?: string; - /** - * Required. The parent resource where this endpoint group will be created. Format: projects/{project\}/locations/{location\} - */ - parent?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InterceptEndpointGroup; - } - export interface Params$Resource$Projects$Locations$Interceptendpointgroups$Delete extends StandardParameters { - /** - * Required. The endpoint group to delete. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Interceptendpointgroups$Get extends StandardParameters { - /** - * Required. The name of the endpoint group to retrieve. Format: projects/{project\}/locations/{location\}/interceptEndpointGroups/{intercept_endpoint_group\} - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Interceptendpointgroups$List extends StandardParameters { - /** - * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - */ - filter?: string; - /** - * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - */ - orderBy?: string; - /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - */ - pageSize?: number; - /** - * Optional. A page token, received from a previous `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - */ - pageToken?: string; - /** - * Required. The parent, which owns this collection of endpoint groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Interceptendpointgroups$Patch extends StandardParameters { - /** - * Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/interceptEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - /** - * Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. `description`; *not* `intercept_endpoint_group.description`). See https://google.aip.dev/161 for more details. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InterceptEndpointGroup; - } - - export class Resource$Projects$Locations$Mirroringdeploymentgroups { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a deployment group in a given project and location. See https://google.aip.dev/133. + * Lists deployments in a given project and location. See https://google.aip.dev/132. * @example * ```js * // Before running the sample: @@ -22052,41 +23988,25 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.mirroringDeploymentGroups.create({ - * // Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. - * mirroringDeploymentGroupId: 'placeholder-value', - * // Required. The parent resource where this deployment group will be created. Format: projects/{project\}/locations/{location\} + * await networksecurity.projects.locations.mirroringDeployments.list({ + * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + * filter: 'placeholder-value', + * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListMirroringDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringDeployments` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + * pageToken: 'placeholder-value', + * // Required. The parent, which owns this collection of deployments. Example: `projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132 for more details. * parent: 'projects/my-project/locations/my-location', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "connectedEndpointGroups": [], - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "locations": [], - * // "name": "my_name", - * // "nestedDeployments": [], - * // "network": "my_network", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "mirroringDeployments": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -22102,54 +24022,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, + list( + params: Params$Resource$Projects$Locations$Mirroringdeployments$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, + list( + params?: Params$Resource$Projects$Locations$Mirroringdeployments$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Mirroringdeployments$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Mirroringdeployments$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Mirroringdeployments$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringdeployments$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create; + {}) as Params$Resource$Projects$Locations$Mirroringdeployments$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create; + {} as Params$Resource$Projects$Locations$Mirroringdeployments$List; options = {}; } @@ -22163,11 +24091,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/mirroringDeploymentGroups').replace( + url: (rootUrl + '/v1/{+parent}/mirroringDeployments').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options @@ -22178,17 +24106,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Deletes a deployment group. See https://google.aip.dev/135. + * Updates a deployment. See https://google.aip.dev/134. * @example * ```js * // Before running the sample: @@ -22218,11 +24148,29 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.mirroringDeploymentGroups.delete({ - * // Required. The deployment group to delete. - * name: 'projects/my-project/locations/my-location/mirroringDeploymentGroups/my-mirroringDeploymentGroup', + * await networksecurity.projects.locations.mirroringDeployments.patch({ + * // Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`. See https://google.aip.dev/122 for more details. + * name: 'projects/my-project/locations/my-location/mirroringDeployments/my-mirroringDeployment', * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. * requestId: 'placeholder-value', + * // Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. `description`; *not* `mirroring_deployment.description`). See https://google.aip.dev/161 for more details. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "forwardingRule": "my_forwardingRule", + * // "labels": {}, + * // "mirroringDeploymentGroup": "my_mirroringDeploymentGroup", + * // "name": "my_name", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, * }); * console.log(res.data); * @@ -22248,32 +24196,32 @@ export namespace networksecurity_v1 { * @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$Mirroringdeploymentgroups$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, + patch( + params?: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete + | Params$Resource$Projects$Locations$Mirroringdeployments$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -22289,13 +24237,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete; + {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete; + {} as Params$Resource$Projects$Locations$Mirroringdeployments$Patch; options = {}; } @@ -22310,7 +24258,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'PATCH', apiVersion: '', }, options @@ -22329,9 +24277,93 @@ export namespace networksecurity_v1 { return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Mirroringdeployments$Create extends StandardParameters { /** - * Gets a specific deployment group. See https://google.aip.dev/131. + * Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name. + */ + mirroringDeploymentId?: string; + /** + * Required. The parent resource where this deployment will be created. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$MirroringDeployment; + } + export interface Params$Resource$Projects$Locations$Mirroringdeployments$Delete extends StandardParameters { + /** + * Required. Name of the resource + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Mirroringdeployments$Get extends StandardParameters { + /** + * Required. The name of the deployment to retrieve. Format: projects/{project\}/locations/{location\}/mirroringDeployments/{mirroring_deployment\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Mirroringdeployments$List extends StandardParameters { + /** + * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + */ + filter?: string; + /** + * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListMirroringDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringDeployments` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of deployments. Example: `projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132 for more details. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Mirroringdeployments$Patch extends StandardParameters { + /** + * Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`. See https://google.aip.dev/122 for more details. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + /** + * Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. `description`; *not* `mirroring_deployment.description`). See https://google.aip.dev/161 for more details. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$MirroringDeployment; + } + + export class Resource$Projects$Locations$Mirroringendpointgroupassociations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates an association in a given project and location. See https://google.aip.dev/133. * @example * ```js * // Before running the sample: @@ -22361,25 +24393,42 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.mirroringDeploymentGroups.get({ - * // Required. The name of the deployment group to retrieve. Format: projects/{project\}/locations/{location\}/mirroringDeploymentGroups/{mirroring_deployment_group\} - * name: 'projects/my-project/locations/my-location/mirroringDeploymentGroups/my-mirroringDeploymentGroup', - * }); + * await networksecurity.projects.locations.mirroringEndpointGroupAssociations.create( + * { + * // Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. + * mirroringEndpointGroupAssociationId: 'placeholder-value', + * // Required. The parent resource where this association will be created. Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "labels": {}, + * // "locations": [], + * // "locationsDetails": [], + * // "mirroringEndpointGroup": "my_mirroringEndpointGroup", + * // "name": "my_name", + * // "network": "my_network", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "connectedEndpointGroups": [], - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "locations": [], + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "nestedDeployments": [], - * // "network": "my_network", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -22395,56 +24444,54 @@ export namespace networksecurity_v1 { * @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$Mirroringdeploymentgroups$Get, + create( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, + create( + params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get; + {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get; + {} as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create; options = {}; } @@ -22458,29 +24505,31 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: ( + rootUrl + '/v1/{+parent}/mirroringEndpointGroupAssociations' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists deployment groups in a given project and location. See https://google.aip.dev/132. + * Deletes an association. See https://google.aip.dev/135. * @example * ```js * // Before running the sample: @@ -22510,24 +24559,23 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.mirroringDeploymentGroups.list({ - * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - * filter: 'placeholder-value', - * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - * pageSize: 'placeholder-value', - * // Optional. A page token, received from a previous `ListMirroringDeploymentGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringDeploymentGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - * pageToken: 'placeholder-value', - * // Required. The parent, which owns this collection of deployment groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. - * parent: 'projects/my-project/locations/my-location', - * }); + * await networksecurity.projects.locations.mirroringEndpointGroupAssociations.delete( + * { + * // Required. The association to delete. + * name: 'projects/my-project/locations/my-location/mirroringEndpointGroupAssociations/my-mirroringEndpointGroupAssociation', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "mirroringDeploymentGroups": [], - * // "nextPageToken": "my_nextPageToken" + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -22543,62 +24591,54 @@ export namespace networksecurity_v1 { * @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$Mirroringdeploymentgroups$List, + delete( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, + delete( + params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List; + {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List; + {} as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete; options = {}; } @@ -22612,34 +24652,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/mirroringDeploymentGroups').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates a deployment group. See https://google.aip.dev/134. + * Gets a specific association. See https://google.aip.dev/131. * @example * ```js * // Before running the sample: @@ -22669,41 +24704,26 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.mirroringDeploymentGroups.patch({ - * // Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details. - * name: 'projects/my-project/locations/my-location/mirroringDeploymentGroups/my-mirroringDeploymentGroup', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * // Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. `description`; *not* `mirroring_deployment_group.description`). See https://google.aip.dev/161 for more details. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "connectedEndpointGroups": [], - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "locations": [], - * // "name": "my_name", - * // "nestedDeployments": [], - * // "network": "my_network", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } + * await networksecurity.projects.locations.mirroringEndpointGroupAssociations.get( + * { + * // Required. The name of the association to retrieve. Format: projects/{project\}/locations/{location\}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association\} + * name: 'projects/my-project/locations/my-location/mirroringEndpointGroupAssociations/my-mirroringEndpointGroupAssociation', * }, - * }); + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "createTime": "my_createTime", + * // "labels": {}, + * // "locations": [], + * // "locationsDetails": [], + * // "mirroringEndpointGroup": "my_mirroringEndpointGroup", * // "name": "my_name", - * // "response": {} + * // "network": "my_network", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" * // } * } * @@ -22719,54 +24739,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, + get( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, + get( + params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, + ): Promise< + GaxiosResponseWithHTTP2 + >; + get( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get( + callback: BodyResponseCallback + ): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch; + {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch; + {} as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get; options = {}; } @@ -22781,7 +24809,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -22792,101 +24820,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } - } - - export interface Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Create extends StandardParameters { - /** - * Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. - */ - mirroringDeploymentGroupId?: string; - /** - * Required. The parent resource where this deployment group will be created. Format: projects/{project\}/locations/{location\} - */ - parent?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$MirroringDeploymentGroup; - } - export interface Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Delete extends StandardParameters { - /** - * Required. The deployment group to delete. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Get extends StandardParameters { - /** - * Required. The name of the deployment group to retrieve. Format: projects/{project\}/locations/{location\}/mirroringDeploymentGroups/{mirroring_deployment_group\} - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Mirroringdeploymentgroups$List extends StandardParameters { - /** - * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - */ - filter?: string; - /** - * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - */ - orderBy?: string; - /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - */ - pageSize?: number; - /** - * Optional. A page token, received from a previous `ListMirroringDeploymentGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringDeploymentGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - */ - pageToken?: string; - /** - * Required. The parent, which owns this collection of deployment groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Mirroringdeploymentgroups$Patch extends StandardParameters { - /** - * Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - /** - * Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. `description`; *not* `mirroring_deployment_group.description`). See https://google.aip.dev/161 for more details. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$MirroringDeploymentGroup; - } - - export class Resource$Projects$Locations$Mirroringdeployments { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a deployment in a given project and location. See https://google.aip.dev/133. + * Lists associations in a given project and location. See https://google.aip.dev/132. * @example * ```js * // Before running the sample: @@ -22913,42 +24859,29 @@ export namespace networksecurity_v1 { * // Acquire an auth client, and bind it to all future calls * const authClient = await auth.getClient(); * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networksecurity.projects.locations.mirroringDeployments.create({ - * // Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name. - * mirroringDeploymentId: 'placeholder-value', - * // Required. The parent resource where this deployment will be created. Format: projects/{project\}/locations/{location\} - * parent: 'projects/my-project/locations/my-location', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "forwardingRule": "my_forwardingRule", - * // "labels": {}, - * // "mirroringDeploymentGroup": "my_mirroringDeploymentGroup", - * // "name": "my_name", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } + * + * // Do the magic + * const res = + * await networksecurity.projects.locations.mirroringEndpointGroupAssociations.list( + * { + * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + * filter: 'placeholder-value', + * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + * pageToken: 'placeholder-value', + * // Required. The parent, which owns this collection of associations. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + * parent: 'projects/my-project/locations/my-location', * }, - * }); + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "mirroringEndpointGroupAssociations": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -22964,54 +24897,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Create, + list( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Mirroringdeployments$Create, + list( + params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringdeployments$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Create; + {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Mirroringdeployments$Create; + {} as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List; options = {}; } @@ -23025,11 +24966,10 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/mirroringDeployments').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: ( + rootUrl + '/v1/{+parent}/mirroringEndpointGroupAssociations' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options @@ -23040,17 +24980,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Deletes a deployment. See https://google.aip.dev/135. + * Updates an association. See https://google.aip.dev/134. * @example * ```js * // Before running the sample: @@ -23080,12 +25022,33 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.mirroringDeployments.delete({ - * // Required. Name of the resource - * name: 'projects/my-project/locations/my-location/mirroringDeployments/my-mirroringDeployment', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * }); + * await networksecurity.projects.locations.mirroringEndpointGroupAssociations.patch( + * { + * // Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details. + * name: 'projects/my-project/locations/my-location/mirroringEndpointGroupAssociations/my-mirroringEndpointGroupAssociation', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * // Optional. The list of fields to update. Fields are specified relative to the association (e.g. `description`; *not* `mirroring_endpoint_group_association.description`). See https://google.aip.dev/161 for more details. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "labels": {}, + * // "locations": [], + * // "locationsDetails": [], + * // "mirroringEndpointGroup": "my_mirroringEndpointGroup", + * // "name": "my_name", + * // "network": "my_network", + * // "reconciling": false, + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response @@ -23110,32 +25073,32 @@ export namespace networksecurity_v1 { * @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$Mirroringdeployments$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, + patch( + params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringdeployments$Delete + | Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -23151,13 +25114,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Delete; + {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Mirroringdeployments$Delete; + {} as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch; options = {}; } @@ -23172,7 +25135,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'PATCH', apiVersion: '', }, options @@ -23191,9 +25154,93 @@ export namespace networksecurity_v1 { return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create extends StandardParameters { /** - * Gets a specific deployment. See https://google.aip.dev/131. + * Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. + */ + mirroringEndpointGroupAssociationId?: string; + /** + * Required. The parent resource where this association will be created. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$MirroringEndpointGroupAssociation; + } + export interface Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete extends StandardParameters { + /** + * Required. The association to delete. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get extends StandardParameters { + /** + * Required. The name of the association to retrieve. Format: projects/{project\}/locations/{location\}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List extends StandardParameters { + /** + * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + */ + filter?: string; + /** + * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of associations. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch extends StandardParameters { + /** + * Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + /** + * Optional. The list of fields to update. Fields are specified relative to the association (e.g. `description`; *not* `mirroring_endpoint_group_association.description`). See https://google.aip.dev/161 for more details. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$MirroringEndpointGroupAssociation; + } + + export class Resource$Projects$Locations$Mirroringendpointgroups { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates an endpoint group in a given project and location. See https://google.aip.dev/133. * @example * ```js * // Before running the sample: @@ -23221,26 +25268,43 @@ export namespace networksecurity_v1 { * const authClient = await auth.getClient(); * google.options({auth: authClient}); * - * // Do the magic - * const res = await networksecurity.projects.locations.mirroringDeployments.get( - * { - * // Required. The name of the deployment to retrieve. Format: projects/{project\}/locations/{location\}/mirroringDeployments/{mirroring_deployment\} - * name: 'projects/my-project/locations/my-location/mirroringDeployments/my-mirroringDeployment', - * }, - * ); + * // Do the magic + * const res = + * await networksecurity.projects.locations.mirroringEndpointGroups.create({ + * // Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. + * mirroringEndpointGroupId: 'placeholder-value', + * // Required. The parent resource where this endpoint group will be created. Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "associations": [], + * // "connectedDeploymentGroups": [], + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "mirroringDeploymentGroup": "my_mirroringDeploymentGroup", + * // "name": "my_name", + * // "reconciling": false, + * // "state": "my_state", + * // "type": "my_type", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "forwardingRule": "my_forwardingRule", - * // "labels": {}, - * // "mirroringDeploymentGroup": "my_mirroringDeploymentGroup", + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -23256,54 +25320,54 @@ export namespace networksecurity_v1 { * @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$Mirroringdeployments$Get, + create( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Mirroringdeployments$Get, + create( + params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringdeployments$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringendpointgroups$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Get; + {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Mirroringdeployments$Get; + {} as Params$Resource$Projects$Locations$Mirroringendpointgroups$Create; options = {}; } @@ -23317,29 +25381,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/mirroringEndpointGroups').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists deployments in a given project and location. See https://google.aip.dev/132. + * Deletes an endpoint group. See https://google.aip.dev/135. * @example * ```js * // Before running the sample: @@ -23369,25 +25436,21 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.mirroringDeployments.list({ - * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - * filter: 'placeholder-value', - * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - * pageSize: 'placeholder-value', - * // Optional. A page token, received from a previous `ListMirroringDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringDeployments` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - * pageToken: 'placeholder-value', - * // Required. The parent, which owns this collection of deployments. Example: `projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132 for more details. - * parent: 'projects/my-project/locations/my-location', + * await networksecurity.projects.locations.mirroringEndpointGroups.delete({ + * // Required. The endpoint group to delete. + * name: 'projects/my-project/locations/my-location/mirroringEndpointGroups/my-mirroringEndpointGroup', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "mirroringDeployments": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -23403,62 +25466,54 @@ export namespace networksecurity_v1 { * @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$Mirroringdeployments$List, + delete( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Mirroringdeployments$List, + delete( + params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Mirroringdeployments$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Mirroringdeployments$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Mirroringdeployments$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringdeployments$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringdeployments$List; + {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Mirroringdeployments$List; + {} as Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete; options = {}; } @@ -23472,34 +25527,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/mirroringDeployments').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates a deployment. See https://google.aip.dev/134. + * Gets a specific endpoint group. See https://google.aip.dev/131. * @example * ```js * // Before running the sample: @@ -23529,39 +25579,25 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.mirroringDeployments.patch({ - * // Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`. See https://google.aip.dev/122 for more details. - * name: 'projects/my-project/locations/my-location/mirroringDeployments/my-mirroringDeployment', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * // Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. `description`; *not* `mirroring_deployment.description`). See https://google.aip.dev/161 for more details. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "forwardingRule": "my_forwardingRule", - * // "labels": {}, - * // "mirroringDeploymentGroup": "my_mirroringDeploymentGroup", - * // "name": "my_name", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, + * await networksecurity.projects.locations.mirroringEndpointGroups.get({ + * // Required. The name of the endpoint group to retrieve. Format: projects/{project\}/locations/{location\}/mirroringEndpointGroups/{mirroring_endpoint_group\} + * name: 'projects/my-project/locations/my-location/mirroringEndpointGroups/my-mirroringEndpointGroup', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "associations": [], + * // "connectedDeploymentGroups": [], + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "mirroringDeploymentGroup": "my_mirroringDeploymentGroup", * // "name": "my_name", - * // "response": {} + * // "reconciling": false, + * // "state": "my_state", + * // "type": "my_type", + * // "updateTime": "my_updateTime" * // } * } * @@ -23577,54 +25613,56 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, + get( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, + get( + params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Mirroringdeployments$Patch, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringdeployments$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringendpointgroups$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringdeployments$Patch; + {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Mirroringdeployments$Patch; + {} as Params$Resource$Projects$Locations$Mirroringendpointgroups$Get; options = {}; } @@ -23639,7 +25677,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -23650,101 +25688,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Mirroringdeployments$Create extends StandardParameters { - /** - * Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name. - */ - mirroringDeploymentId?: string; - /** - * Required. The parent resource where this deployment will be created. Format: projects/{project\}/locations/{location\} - */ - parent?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$MirroringDeployment; - } - export interface Params$Resource$Projects$Locations$Mirroringdeployments$Delete extends StandardParameters { - /** - * Required. Name of the resource - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Mirroringdeployments$Get extends StandardParameters { - /** - * Required. The name of the deployment to retrieve. Format: projects/{project\}/locations/{location\}/mirroringDeployments/{mirroring_deployment\} - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Mirroringdeployments$List extends StandardParameters { - /** - * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - */ - filter?: string; - /** - * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - */ - orderBy?: string; - /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - */ - pageSize?: number; - /** - * Optional. A page token, received from a previous `ListMirroringDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringDeployments` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - */ - pageToken?: string; - /** - * Required. The parent, which owns this collection of deployments. Example: `projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132 for more details. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Mirroringdeployments$Patch extends StandardParameters { - /** - * Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`. See https://google.aip.dev/122 for more details. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - /** - * Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. `description`; *not* `mirroring_deployment.description`). See https://google.aip.dev/161 for more details. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$MirroringDeployment; - } - - export class Resource$Projects$Locations$Mirroringendpointgroupassociations { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates an association in a given project and location. See https://google.aip.dev/133. + * Lists endpoint groups in a given project and location. See https://google.aip.dev/132. * @example * ```js * // Before running the sample: @@ -23774,42 +25728,24 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.mirroringEndpointGroupAssociations.create( - * { - * // Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. - * mirroringEndpointGroupAssociationId: 'placeholder-value', - * // Required. The parent resource where this association will be created. Format: projects/{project\}/locations/{location\} - * parent: 'projects/my-project/locations/my-location', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "labels": {}, - * // "locations": [], - * // "locationsDetails": [], - * // "mirroringEndpointGroup": "my_mirroringEndpointGroup", - * // "name": "my_name", - * // "network": "my_network", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, - * }, - * ); + * await networksecurity.projects.locations.mirroringEndpointGroups.list({ + * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + * filter: 'placeholder-value', + * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + * pageToken: 'placeholder-value', + * // Required. The parent, which owns this collection of endpoint groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "mirroringEndpointGroups": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -23825,54 +25761,62 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, + list( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, + list( + params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Mirroringendpointgroups$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create; + {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create; + {} as Params$Resource$Projects$Locations$Mirroringendpointgroups$List; options = {}; } @@ -23886,10 +25830,11 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+parent}/mirroringEndpointGroupAssociations' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'POST', + url: (rootUrl + '/v1/{+parent}/mirroringEndpointGroups').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options @@ -23900,17 +25845,19 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Deletes an association. See https://google.aip.dev/135. + * Updates an endpoint group. See https://google.aip.dev/134. * @example * ```js * // Before running the sample: @@ -23940,14 +25887,32 @@ export namespace networksecurity_v1 { * * // Do the magic * const res = - * await networksecurity.projects.locations.mirroringEndpointGroupAssociations.delete( - * { - * // Required. The association to delete. - * name: 'projects/my-project/locations/my-location/mirroringEndpointGroupAssociations/my-mirroringEndpointGroupAssociation', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', + * await networksecurity.projects.locations.mirroringEndpointGroups.patch({ + * // Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details. + * name: 'projects/my-project/locations/my-location/mirroringEndpointGroups/my-mirroringEndpointGroup', + * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * requestId: 'placeholder-value', + * // Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. `description`; *not* `mirroring_endpoint_group.description`). See https://google.aip.dev/161 for more details. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "associations": [], + * // "connectedDeploymentGroups": [], + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "labels": {}, + * // "mirroringDeploymentGroup": "my_mirroringDeploymentGroup", + * // "name": "my_name", + * // "reconciling": false, + * // "state": "my_state", + * // "type": "my_type", + * // "updateTime": "my_updateTime" + * // } * }, - * ); + * }); * console.log(res.data); * * // Example response @@ -23972,32 +25937,32 @@ export namespace networksecurity_v1 { * @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$Mirroringendpointgroupassociations$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, + patch( + params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete, + patch( + params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete + | Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -24013,13 +25978,13 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete; + {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete; + {} as Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch; options = {}; } @@ -24034,7 +25999,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'PATCH', apiVersion: '', }, options @@ -24053,9 +26018,93 @@ export namespace networksecurity_v1 { return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Mirroringendpointgroups$Create extends StandardParameters { /** - * Gets a specific association. See https://google.aip.dev/131. + * Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. + */ + mirroringEndpointGroupId?: string; + /** + * Required. The parent resource where this endpoint group will be created. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$MirroringEndpointGroup; + } + export interface Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete extends StandardParameters { + /** + * Required. The endpoint group to delete. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Mirroringendpointgroups$Get extends StandardParameters { + /** + * Required. The name of the endpoint group to retrieve. Format: projects/{project\}/locations/{location\}/mirroringEndpointGroups/{mirroring_endpoint_group\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Mirroringendpointgroups$List extends StandardParameters { + /** + * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + */ + filter?: string; + /** + * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of endpoint groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch extends StandardParameters { + /** + * Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details. + */ + name?: string; + /** + * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + */ + requestId?: string; + /** + * Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. `description`; *not* `mirroring_endpoint_group.description`). See https://google.aip.dev/161 for more details. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$MirroringEndpointGroup; + } + + export class Resource$Projects$Locations$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. * @example * ```js * // Before running the sample: @@ -24084,28 +26133,20 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.mirroringEndpointGroupAssociations.get( - * { - * // Required. The name of the association to retrieve. Format: projects/{project\}/locations/{location\}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association\} - * name: 'projects/my-project/locations/my-location/mirroringEndpointGroupAssociations/my-mirroringEndpointGroupAssociation', - * }, - * ); + * const res = await networksecurity.projects.locations.operations.cancel({ + * // The name of the operation resource to be cancelled. + * name: 'projects/my-project/locations/my-location/operations/my-operation', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // {} + * }, + * }); * console.log(res.data); * * // Example response - * // { - * // "createTime": "my_createTime", - * // "labels": {}, - * // "locations": [], - * // "locationsDetails": [], - * // "mirroringEndpointGroup": "my_mirroringEndpointGroup", - * // "name": "my_name", - * // "network": "my_network", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } + * // {} * } * * main().catch(e => { @@ -24120,62 +26161,53 @@ export namespace networksecurity_v1 { * @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$Mirroringendpointgroupassociations$Get, + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, + cancel( + params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - get( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, + ): Promise>; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get, - callback: BodyResponseCallback + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - callback: BodyResponseCallback + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + callback: BodyResponseCallback ): void; - get( + cancel(callback: BodyResponseCallback): void; + cancel( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Operations$Cancel + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get; + {}) as Params$Resource$Projects$Locations$Operations$Cancel; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get; + params = {} as Params$Resource$Projects$Locations$Operations$Cancel; options = {}; } @@ -24189,8 +26221,8 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', apiVersion: '', }, options @@ -24201,19 +26233,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Lists associations in a given project and location. See https://google.aip.dev/132. + * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. * @example * ```js * // Before running the sample: @@ -24242,28 +26272,14 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.mirroringEndpointGroupAssociations.list( - * { - * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - * filter: 'placeholder-value', - * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - * pageSize: 'placeholder-value', - * // Optional. A page token, received from a previous `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - * pageToken: 'placeholder-value', - * // Required. The parent, which owns this collection of associations. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. - * parent: 'projects/my-project/locations/my-location', - * }, - * ); + * const res = await networksecurity.projects.locations.operations.delete({ + * // The name of the operation resource to be deleted. + * name: 'projects/my-project/locations/my-location/operations/my-operation', + * }); * console.log(res.data); - * - * // Example response - * // { - * // "mirroringEndpointGroupAssociations": [], - * // "nextPageToken": "my_nextPageToken" - * // } + * + * // Example response + * // {} * } * * main().catch(e => { @@ -24278,62 +26294,53 @@ export namespace networksecurity_v1 { * @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$Mirroringendpointgroupassociations$List, + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, + delete( + params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Operations$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List; + {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List; + params = {} as Params$Resource$Projects$Locations$Operations$Delete; options = {}; } @@ -24347,33 +26354,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+parent}/mirroringEndpointGroupAssociations' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates an association. See https://google.aip.dev/134. + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. * @example * ```js * // Before running the sample: @@ -24402,34 +26405,10 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.mirroringEndpointGroupAssociations.patch( - * { - * // Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details. - * name: 'projects/my-project/locations/my-location/mirroringEndpointGroupAssociations/my-mirroringEndpointGroupAssociation', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * // Optional. The list of fields to update. Fields are specified relative to the association (e.g. `description`; *not* `mirroring_endpoint_group_association.description`). See https://google.aip.dev/161 for more details. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "labels": {}, - * // "locations": [], - * // "locationsDetails": [], - * // "mirroringEndpointGroup": "my_mirroringEndpointGroup", - * // "name": "my_name", - * // "network": "my_network", - * // "reconciling": false, - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, - * }, - * ); + * const res = await networksecurity.projects.locations.operations.get({ + * // The name of the operation resource. + * name: 'projects/my-project/locations/my-location/operations/my-operation', + * }); * console.log(res.data); * * // Example response @@ -24454,174 +26433,89 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, + get( + params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, + get( + params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, + get( + params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, + get( + params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch, + get( + params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch + | Params$Resource$Projects$Locations$Operations$Get | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networksecurity.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Create extends StandardParameters { - /** - * Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. - */ - mirroringEndpointGroupAssociationId?: string; - /** - * Required. The parent resource where this association will be created. Format: projects/{project\}/locations/{location\} - */ - parent?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$MirroringEndpointGroupAssociation; - } - export interface Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Delete extends StandardParameters { - /** - * Required. The association to delete. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Get extends StandardParameters { - /** - * Required. The name of the association to retrieve. Format: projects/{project\}/locations/{location\}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association\} - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$List extends StandardParameters { - /** - * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - */ - filter?: string; - /** - * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - */ - orderBy?: string; - /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - */ - pageSize?: number; - /** - * Optional. A page token, received from a previous `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - */ - pageToken?: string; - /** - * Required. The parent, which owns this collection of associations. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Mirroringendpointgroupassociations$Patch extends StandardParameters { - /** - * Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - /** - * Optional. The list of fields to update. Fields are specified relative to the association (e.g. `description`; *not* `mirroring_endpoint_group_association.description`). See https://google.aip.dev/161 for more details. - */ - updateMask?: string; + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; - /** - * Request body metadata - */ - requestBody?: Schema$MirroringEndpointGroupAssociation; - } + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Get; + options = {}; + } - export class Resource$Projects$Locations$Mirroringendpointgroups { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networksecurity.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); + } } /** - * Creates an endpoint group in a given project and location. See https://google.aip.dev/133. + * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. * @example * ```js * // Before running the sample: @@ -24650,42 +26544,25 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.mirroringEndpointGroups.create({ - * // Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. - * mirroringEndpointGroupId: 'placeholder-value', - * // Required. The parent resource where this endpoint group will be created. Format: projects/{project\}/locations/{location\} - * parent: 'projects/my-project/locations/my-location', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "associations": [], - * // "connectedDeploymentGroups": [], - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "mirroringDeploymentGroup": "my_mirroringDeploymentGroup", - * // "name": "my_name", - * // "reconciling": false, - * // "state": "my_state", - * // "type": "my_type", - * // "updateTime": "my_updateTime" - * // } - * }, - * }); + * const res = await networksecurity.projects.locations.operations.list({ + * // The standard list filter. + * filter: 'placeholder-value', + * // The name of the operation's parent resource. + * name: 'projects/my-project/locations/my-location', + * // The standard list page size. + * pageSize: 'placeholder-value', + * // The standard list page token. + * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "nextPageToken": "my_nextPageToken", + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -24701,54 +26578,55 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, + list( + params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, + list( + params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Operations$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringendpointgroups$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Operations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Create; + {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Mirroringendpointgroups$Create; + params = {} as Params$Resource$Projects$Locations$Operations$List; options = {}; } @@ -24762,32 +26640,85 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/mirroringEndpointGroups').replace( + url: (rootUrl + '/v1/{+name}/operations').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters { /** - * Deletes an endpoint group. See https://google.aip.dev/135. + * The name of the operation resource to be cancelled. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CancelOperationRequest; + } + export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters { + /** + * The name of the operation resource to be deleted. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters { + /** + * The name of the operation resource. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters { + /** + * The standard list filter. + */ + filter?: string; + /** + * The name of the operation's parent resource. + */ + name?: string; + /** + * The standard list page size. + */ + pageSize?: number; + /** + * The standard list page token. + */ + pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; + } + + export class Resource$Projects$Locations$Sacattachments { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new SACAttachment in a given project and location. * @example * ```js * // Before running the sample: @@ -24816,13 +26747,28 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.mirroringEndpointGroups.delete({ - * // Required. The endpoint group to delete. - * name: 'projects/my-project/locations/my-location/mirroringEndpointGroups/my-mirroringEndpointGroup', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * }); + * const res = await networksecurity.projects.locations.sacAttachments.create({ + * // Required. The parent, in the form `projects/{project\}/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Required. ID of the created attachment. The ID must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + * sacAttachmentId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "labels": {}, + * // "name": "my_name", + * // "nccGateway": "my_nccGateway", + * // "sacRealm": "my_sacRealm", + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } + * }, + * }); * console.log(res.data); * * // Example response @@ -24847,32 +26793,32 @@ export namespace networksecurity_v1 { * @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$Mirroringendpointgroups$Delete, + create( + params: Params$Resource$Projects$Locations$Sacattachments$Create, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, + create( + params?: Params$Resource$Projects$Locations$Sacattachments$Create, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, + create( + params: Params$Resource$Projects$Locations$Sacattachments$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, + create( + params: Params$Resource$Projects$Locations$Sacattachments$Create, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete, + create( + params: Params$Resource$Projects$Locations$Sacattachments$Create, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete + | Params$Resource$Projects$Locations$Sacattachments$Create | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -24888,13 +26834,12 @@ export namespace networksecurity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete; + {}) as Params$Resource$Projects$Locations$Sacattachments$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete; + params = {} as Params$Resource$Projects$Locations$Sacattachments$Create; options = {}; } @@ -24908,15 +26853,18 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+parent}/sacAttachments').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { @@ -24930,7 +26878,7 @@ export namespace networksecurity_v1 { } /** - * Gets a specific endpoint group. See https://google.aip.dev/131. + * Deletes the specified attachment. * @example * ```js * // Before running the sample: @@ -24959,26 +26907,21 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.mirroringEndpointGroups.get({ - * // Required. The name of the endpoint group to retrieve. Format: projects/{project\}/locations/{location\}/mirroringEndpointGroups/{mirroring_endpoint_group\} - * name: 'projects/my-project/locations/my-location/mirroringEndpointGroups/my-mirroringEndpointGroup', - * }); + * const res = await networksecurity.projects.locations.sacAttachments.delete({ + * // Required. Name of the resource, in the form `projects/{project\}/locations/{location\}/sacAttachments/{sac_attachment\}`. + * name: 'projects/my-project/locations/my-location/sacAttachments/my-sacAttachment', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "associations": [], - * // "connectedDeploymentGroups": [], - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "mirroringDeploymentGroup": "my_mirroringDeploymentGroup", + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "reconciling": false, - * // "state": "my_state", - * // "type": "my_type", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -24994,56 +26937,53 @@ export namespace networksecurity_v1 { * @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$Mirroringendpointgroups$Get, + delete( + params: Params$Resource$Projects$Locations$Sacattachments$Delete, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, + delete( + params?: Params$Resource$Projects$Locations$Sacattachments$Delete, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Sacattachments$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Sacattachments$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Get, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Sacattachments$Delete, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringendpointgroups$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Sacattachments$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Get; + {}) as Params$Resource$Projects$Locations$Sacattachments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Mirroringendpointgroups$Get; + params = {} as Params$Resource$Projects$Locations$Sacattachments$Delete; options = {}; } @@ -25058,7 +26998,7 @@ export namespace networksecurity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'DELETE', apiVersion: '', }, options @@ -25069,17 +27009,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists endpoint groups in a given project and location. See https://google.aip.dev/132. + * Returns the specified attachment. * @example * ```js * // Before running the sample: @@ -25108,25 +27048,21 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.mirroringEndpointGroups.list({ - * // Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. - * filter: 'placeholder-value', - * // Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. - * pageSize: 'placeholder-value', - * // Optional. A page token, received from a previous `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. - * pageToken: 'placeholder-value', - * // Required. The parent, which owns this collection of endpoint groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = await networksecurity.projects.locations.sacAttachments.get({ + * // Required. Name of the resource, in the form `projects/{project\}/locations/{location\}/sacAttachments/{sac_attachment\}`. + * name: 'projects/my-project/locations/my-location/sacAttachments/my-sacAttachment', + * }); * console.log(res.data); * * // Example response * // { - * // "mirroringEndpointGroups": [], - * // "nextPageToken": "my_nextPageToken" + * // "createTime": "my_createTime", + * // "labels": {}, + * // "name": "my_name", + * // "nccGateway": "my_nccGateway", + * // "sacRealm": "my_sacRealm", + * // "state": "my_state", + * // "updateTime": "my_updateTime" * // } * } * @@ -25142,62 +27078,53 @@ export namespace networksecurity_v1 { * @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$Mirroringendpointgroups$List, + get( + params: Params$Resource$Projects$Locations$Sacattachments$Get, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, + get( + params?: Params$Resource$Projects$Locations$Sacattachments$Get, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Sacattachments$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$List, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Sacattachments$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Sacattachments$Get, + callback: BodyResponseCallback ): void; - list( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringendpointgroups$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Sacattachments$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$List; + {}) as Params$Resource$Projects$Locations$Sacattachments$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Mirroringendpointgroups$List; + params = {} as Params$Resource$Projects$Locations$Sacattachments$Get; options = {}; } @@ -25211,34 +27138,29 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/mirroringEndpointGroups').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates an endpoint group. See https://google.aip.dev/134. + * Lists SACAttachments in a given project and location. * @example * ```js * // Before running the sample: @@ -25267,42 +27189,25 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networksecurity.projects.locations.mirroringEndpointGroups.patch({ - * // Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details. - * name: 'projects/my-project/locations/my-location/mirroringEndpointGroups/my-mirroringEndpointGroup', - * // Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - * requestId: 'placeholder-value', - * // Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. `description`; *not* `mirroring_endpoint_group.description`). See https://google.aip.dev/161 for more details. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "associations": [], - * // "connectedDeploymentGroups": [], - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "labels": {}, - * // "mirroringDeploymentGroup": "my_mirroringDeploymentGroup", - * // "name": "my_name", - * // "reconciling": false, - * // "state": "my_state", - * // "type": "my_type", - * // "updateTime": "my_updateTime" - * // } - * }, - * }); + * const res = await networksecurity.projects.locations.sacAttachments.list({ + * // Optional. An expression that filters the list of results. + * filter: 'placeholder-value', + * // Optional. Sort the results by a certain order. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent, in the form `projects/{project\}/locations/{location\}`. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "nextPageToken": "my_nextPageToken", + * // "sacAttachments": [], + * // "unreachable": [] * // } * } * @@ -25318,54 +27223,57 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, + list( + params: Params$Resource$Projects$Locations$Sacattachments$List, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, + list( + params?: Params$Resource$Projects$Locations$Sacattachments$List, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Sacattachments$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Sacattachments$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Sacattachments$List, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Sacattachments$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch; + {}) as Params$Resource$Projects$Locations$Sacattachments$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch; + params = {} as Params$Resource$Projects$Locations$Sacattachments$List; options = {}; } @@ -25379,113 +27287,97 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: (rootUrl + '/v1/{+parent}/sacAttachments').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } - } - } - - export interface Params$Resource$Projects$Locations$Mirroringendpointgroups$Create extends StandardParameters { - /** - * Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. - */ - mirroringEndpointGroupId?: string; + } + } + + export interface Params$Resource$Projects$Locations$Sacattachments$Create extends StandardParameters { /** - * Required. The parent resource where this endpoint group will be created. Format: projects/{project\}/locations/{location\} + * Required. The parent, in the form `projects/{project\}/locations/{location\}`. */ parent?: string; /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: string; + /** + * Required. ID of the created attachment. The ID must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + sacAttachmentId?: string; /** * Request body metadata */ - requestBody?: Schema$MirroringEndpointGroup; + requestBody?: Schema$SACAttachment; } - export interface Params$Resource$Projects$Locations$Mirroringendpointgroups$Delete extends StandardParameters { + export interface Params$Resource$Projects$Locations$Sacattachments$Delete extends StandardParameters { /** - * Required. The endpoint group to delete. + * Required. Name of the resource, in the form `projects/{project\}/locations/{location\}/sacAttachments/{sac_attachment\}`. */ name?: string; /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: string; } - export interface Params$Resource$Projects$Locations$Mirroringendpointgroups$Get extends StandardParameters { + export interface Params$Resource$Projects$Locations$Sacattachments$Get extends StandardParameters { /** - * Required. The name of the endpoint group to retrieve. Format: projects/{project\}/locations/{location\}/mirroringEndpointGroups/{mirroring_endpoint_group\} + * Required. Name of the resource, in the form `projects/{project\}/locations/{location\}/sacAttachments/{sac_attachment\}`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Mirroringendpointgroups$List extends StandardParameters { + export interface Params$Resource$Projects$Locations$Sacattachments$List extends StandardParameters { /** - * Optional. Filter expression. See https://google.aip.dev/160#filtering for more details. + * Optional. An expression that filters the list of results. */ filter?: string; /** - * Optional. Sort expression. See https://google.aip.dev/132#ordering for more details. + * Optional. Sort the results by a certain order. */ orderBy?: string; /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details. + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */ pageSize?: number; /** - * Optional. A page token, received from a previous `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details. + * Optional. A token identifying a page of results the server should return. */ pageToken?: string; /** - * Required. The parent, which owns this collection of endpoint groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details. + * Required. The parent, in the form `projects/{project\}/locations/{location\}`. */ parent?: string; } - export interface Params$Resource$Projects$Locations$Mirroringendpointgroups$Patch extends StandardParameters { - /** - * Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details. - */ - name?: string; - /** - * Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details. - */ - requestId?: string; - /** - * Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. `description`; *not* `mirroring_endpoint_group.description`). See https://google.aip.dev/161 for more details. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$MirroringEndpointGroup; - } - export class Resource$Projects$Locations$Operations { + export class Resource$Projects$Locations$Sacrealms { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. + * Creates a new SACRealm in a given project. * @example * ```js * // Before running the sample: @@ -25514,20 +27406,38 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.operations.cancel({ - * // The name of the operation resource to be cancelled. - * name: 'projects/my-project/locations/my-location/operations/my-operation', + * const res = await networksecurity.projects.locations.sacRealms.create({ + * // Required. The parent, in the form `projects/{project\}/locations/global`. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Required. ID of the created realm. The ID must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + * sacRealmId: 'placeholder-value', * * // Request body metadata * requestBody: { * // request body parameters - * // {} + * // { + * // "createTime": "my_createTime", + * // "labels": {}, + * // "name": "my_name", + * // "pairingKey": {}, + * // "securityService": "my_securityService", + * // "state": "my_state", + * // "updateTime": "my_updateTime" + * // } * }, * }); * console.log(res.data); * * // Example response - * // {} + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } * } * * main().catch(e => { @@ -25542,53 +27452,53 @@ export namespace networksecurity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, + create( + params: Params$Resource$Projects$Locations$Sacrealms$Create, options: StreamMethodOptions ): Promise>; - cancel( - params?: Params$Resource$Projects$Locations$Operations$Cancel, + create( + params?: Params$Resource$Projects$Locations$Sacrealms$Create, options?: MethodOptions - ): Promise>; - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Sacrealms$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Sacrealms$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Sacrealms$Create, + callback: BodyResponseCallback ): void; - cancel(callback: BodyResponseCallback): void; - cancel( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Operations$Cancel - | BodyResponseCallback + | Params$Resource$Projects$Locations$Sacrealms$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Operations$Cancel; + {}) as Params$Resource$Projects$Locations$Sacrealms$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Operations$Cancel; + params = {} as Params$Resource$Projects$Locations$Sacrealms$Create; options = {}; } @@ -25602,29 +27512,32 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+parent}/sacRealms').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + * Deletes the specified realm. * @example * ```js * // Before running the sample: @@ -25653,14 +27566,22 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.operations.delete({ - * // The name of the operation resource to be deleted. - * name: 'projects/my-project/locations/my-location/operations/my-operation', + * const res = await networksecurity.projects.locations.sacRealms.delete({ + * // Required. Name of the resource, in the form `projects/{project\}/locations/global/sacRealms/{sacRealm\}`. + * name: 'projects/my-project/locations/my-location/sacRealms/my-sacRealm', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', * }); * console.log(res.data); * * // Example response - * // {} + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } * } * * main().catch(e => { @@ -25676,52 +27597,52 @@ export namespace networksecurity_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ delete( - params: Params$Resource$Projects$Locations$Operations$Delete, + params: Params$Resource$Projects$Locations$Sacrealms$Delete, options: StreamMethodOptions ): Promise>; delete( - params?: Params$Resource$Projects$Locations$Operations$Delete, + params?: Params$Resource$Projects$Locations$Sacrealms$Delete, options?: MethodOptions - ): Promise>; + ): Promise>; delete( - params: Params$Resource$Projects$Locations$Operations$Delete, + params: Params$Resource$Projects$Locations$Sacrealms$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Operations$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Sacrealms$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Operations$Delete, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Sacrealms$Delete, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; + delete(callback: BodyResponseCallback): void; delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Operations$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Sacrealms$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Operations$Delete; + {}) as Params$Resource$Projects$Locations$Sacrealms$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Operations$Delete; + params = {} as Params$Resource$Projects$Locations$Sacrealms$Delete; options = {}; } @@ -25747,17 +27668,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + * Returns the specified realm. * @example * ```js * // Before running the sample: @@ -25786,19 +27707,21 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.operations.get({ - * // The name of the operation resource. - * name: 'projects/my-project/locations/my-location/operations/my-operation', + * const res = await networksecurity.projects.locations.sacRealms.get({ + * // Required. Name of the resource, in the form `projects/{project\}/locations/global/sacRealms/{sacRealm\}`. + * name: 'projects/my-project/locations/my-location/sacRealms/my-sacRealm', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "createTime": "my_createTime", + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "pairingKey": {}, + * // "securityService": "my_securityService", + * // "state": "my_state", + * // "updateTime": "my_updateTime" * // } * } * @@ -25815,52 +27738,52 @@ export namespace networksecurity_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Operations$Get, + params: Params$Resource$Projects$Locations$Sacrealms$Get, options: StreamMethodOptions ): Promise>; get( - params?: Params$Resource$Projects$Locations$Operations$Get, + params?: Params$Resource$Projects$Locations$Sacrealms$Get, options?: MethodOptions - ): Promise>; + ): Promise>; get( - params: Params$Resource$Projects$Locations$Operations$Get, + params: Params$Resource$Projects$Locations$Sacrealms$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Operations$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Sacrealms$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Operations$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Sacrealms$Get, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Operations$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Sacrealms$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Operations$Get; + {}) as Params$Resource$Projects$Locations$Sacrealms$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Operations$Get; + params = {} as Params$Resource$Projects$Locations$Sacrealms$Get; options = {}; } @@ -25886,17 +27809,17 @@ export namespace networksecurity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. + * Lists SACRealms in a given project. * @example * ```js * // Before running the sample: @@ -25925,24 +27848,24 @@ export namespace networksecurity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networksecurity.projects.locations.operations.list({ - * // The standard list filter. + * const res = await networksecurity.projects.locations.sacRealms.list({ + * // Optional. An expression that filters the list of results. * filter: 'placeholder-value', - * // The name of the operation's parent resource. - * name: 'projects/my-project/locations/my-location', - * // The standard list page size. + * // Optional. Sort the results by a certain order. + * orderBy: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. * pageSize: 'placeholder-value', - * // The standard list page token. + * // Optional. A token identifying a page of results the server should return. * pageToken: 'placeholder-value', - * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. - * returnPartialSuccess: 'placeholder-value', + * // Required. The parent, in the form `projects/{project\}/locations/global`. + * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [], + * // "sacRealms": [], * // "unreachable": [] * // } * } @@ -25960,54 +27883,54 @@ export namespace networksecurity_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Operations$List, + params: Params$Resource$Projects$Locations$Sacrealms$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Operations$List, + params?: Params$Resource$Projects$Locations$Sacrealms$List, options?: MethodOptions - ): Promise>; + ): Promise>; list( - params: Params$Resource$Projects$Locations$Operations$List, + params: Params$Resource$Projects$Locations$Sacrealms$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Operations$List, + params: Params$Resource$Projects$Locations$Sacrealms$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Operations$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Sacrealms$List, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; + list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Operations$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Sacrealms$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Operations$List; + {}) as Params$Resource$Projects$Locations$Sacrealms$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Operations$List; + params = {} as Params$Resource$Projects$Locations$Sacrealms$List; options = {}; } @@ -26021,7 +27944,7 @@ export namespace networksecurity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}/operations').replace( + url: (rootUrl + '/v1/{+parent}/sacRealms').replace( /([^:]\/)\/+/g, '$1' ), @@ -26031,65 +27954,77 @@ export namespace networksecurity_v1 { options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters { + export interface Params$Resource$Projects$Locations$Sacrealms$Create extends StandardParameters { /** - * The name of the operation resource to be cancelled. + * Required. The parent, in the form `projects/{project\}/locations/global`. */ - name?: string; + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Required. ID of the created realm. The ID must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + sacRealmId?: string; /** * Request body metadata */ - requestBody?: Schema$CancelOperationRequest; + requestBody?: Schema$SACRealm; } - export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters { + export interface Params$Resource$Projects$Locations$Sacrealms$Delete extends StandardParameters { /** - * The name of the operation resource to be deleted. + * Required. Name of the resource, in the form `projects/{project\}/locations/global/sacRealms/{sacRealm\}`. */ name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; } - export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters { + export interface Params$Resource$Projects$Locations$Sacrealms$Get extends StandardParameters { /** - * The name of the operation resource. + * Required. Name of the resource, in the form `projects/{project\}/locations/global/sacRealms/{sacRealm\}`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters { + export interface Params$Resource$Projects$Locations$Sacrealms$List extends StandardParameters { /** - * The standard list filter. + * Optional. An expression that filters the list of results. */ filter?: string; /** - * The name of the operation's parent resource. + * Optional. Sort the results by a certain order. */ - name?: string; + orderBy?: string; /** - * The standard list page size. + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */ pageSize?: number; /** - * The standard list page token. + * Optional. A token identifying a page of results the server should return. */ pageToken?: string; /** - * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * Required. The parent, in the form `projects/{project\}/locations/global`. */ - returnPartialSuccess?: boolean; + parent?: string; } export class Resource$Projects$Locations$Securityprofilegroups { diff --git a/src/apis/networksecurity/v1beta1.ts b/src/apis/networksecurity/v1beta1.ts index 16e2b829fb..4fd908a33d 100644 --- a/src/apis/networksecurity/v1beta1.ts +++ b/src/apis/networksecurity/v1beta1.ts @@ -262,6 +262,10 @@ export namespace networksecurity_v1beta1 { * Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project\}/locations/{location\}/authzPolicies/{authz_policy\}`. */ name?: string | null; + /** + * Optional. A list of authorization network rules to match against the incoming request. A policy match occurs when at least one network rule matches the request. At least one network rule is required for Allow or Deny Action if no HTTP rules are provided. Network rules are mutually exclusive with HTTP rules. Limited to 5 rules. + */ + networkRules?: Schema$AuthzPolicyAuthzRule[]; /** * Optional. Immutable. Defines the type of authorization being performed. If not specified, `REQUEST_AUTHZ` is applied. This field cannot be changed once AuthzPolicy is created. */ @@ -445,6 +449,10 @@ export namespace networksecurity_v1beta1 { * Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method. */ paths?: Schema$AuthzPolicyAuthzRuleStringMatch[]; + /** + * Optional. A list of SNIs to match against. The match can be one of exact, prefix, suffix, or contains (substring match). If there is no SNI (i.e. plaintext HTTP traffic), the request will be denied. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 SNIs per Authorization Policy. + */ + snis?: Schema$AuthzPolicyAuthzRuleStringMatch[]; } /** * Describes a set of HTTP headers to match against. @@ -722,7 +730,7 @@ export namespace networksecurity_v1beta1 { */ export interface Schema$FirewallEndpoint { /** - * Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project\}/global/networks/{name\}. + * Output only. Deprecated: List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project\}/global/networks/{name\}. */ associatedNetworks?: string[] | null; /** @@ -2616,6 +2624,323 @@ export namespace networksecurity_v1beta1 { this.securityProfiles = new Resource$Organizations$Locations$Securityprofiles(this.context); } + + /** + * Gets information about a location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1beta1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await networksecurity.organizations.locations.get({ + * // Resource name for the location. + * name: 'organizations/my-organization/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "displayName": "my_displayName", + * // "labels": {}, + * // "locationId": "my_locationId", + * // "metadata": {}, + * // "name": "my_name" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Organizations$Locations$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Organizations$Locations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Organizations$Locations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Organizations$Locations$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Organizations$Locations$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Organizations$Locations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Organizations$Locations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Organizations$Locations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networksecurity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+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 information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1beta1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await networksecurity.organizations.locations.list({ + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. + * extraLocationTypes: 'placeholder-value', + * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + * filter: 'placeholder-value', + * // The resource that owns the locations collection, if applicable. + * name: 'organizations/my-organization', + * // The maximum number of results to return. If not set, the service selects a default. + * pageSize: 'placeholder-value', + * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + * pageToken: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "locations": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Organizations$Locations$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Organizations$Locations$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Organizations$Locations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Organizations$Locations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Organizations$Locations$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Organizations$Locations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Organizations$Locations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Organizations$Locations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networksecurity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+name}/locations').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); + } + } + } + + export interface Params$Resource$Organizations$Locations$Get extends StandardParameters { + /** + * Resource name for the location. + */ + name?: string; + } + export interface Params$Resource$Organizations$Locations$List extends StandardParameters { + /** + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. + */ + extraLocationTypes?: string[]; + /** + * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + */ + filter?: string; + /** + * The resource that owns the locations collection, if applicable. + */ + name?: string; + /** + * The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; } export class Resource$Organizations$Locations$Addressgroups { @@ -4008,6 +4333,167 @@ export namespace networksecurity_v1beta1 { 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. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networksecurity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networksecurity = google.networksecurity('v1beta1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networksecurity.organizations.locations.addressGroups.testIamPermissions( + * { + * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'organizations/my-organization/locations/my-location/addressGroups/my-addressGroup', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + testIamPermissions( + params: Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + testIamPermissions( + params: Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networksecurity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } } export interface Params$Resource$Organizations$Locations$Addressgroups$Additems extends StandardParameters { @@ -4129,6 +4615,17 @@ export namespace networksecurity_v1beta1 { */ requestBody?: Schema$RemoveAddressGroupItemsRequest; } + export interface Params$Resource$Organizations$Locations$Addressgroups$Testiampermissions extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleIamV1TestIamPermissionsRequest; + } export class Resource$Organizations$Locations$Firewallendpoints { context: APIRequestContext; @@ -11079,6 +11576,7 @@ export namespace networksecurity_v1beta1 { * // "httpRules": [], * // "labels": {}, * // "name": "my_name", + * // "networkRules": [], * // "policyProfile": "my_policyProfile", * // "target": {}, * // "updateTime": "my_updateTime" @@ -11379,6 +11877,7 @@ export namespace networksecurity_v1beta1 { * // "httpRules": [], * // "labels": {}, * // "name": "my_name", + * // "networkRules": [], * // "policyProfile": "my_policyProfile", * // "target": {}, * // "updateTime": "my_updateTime" @@ -11827,6 +12326,7 @@ export namespace networksecurity_v1beta1 { * // "httpRules": [], * // "labels": {}, * // "name": "my_name", + * // "networkRules": [], * // "policyProfile": "my_policyProfile", * // "target": {}, * // "updateTime": "my_updateTime" From ad99fced0915f13288de8398e99f4d73ddfed3b0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:40 +0000 Subject: [PATCH 53/69] feat(networkservices)!: update the API BREAKING CHANGE: This release has breaking changes. #### networkservices:v1beta1 The following keys were deleted: - schemas.AgentGatewaySelfManaged.properties.resourceUris.description - schemas.AgentGatewaySelfManaged.properties.resourceUris.items.type - schemas.AgentGatewaySelfManaged.properties.resourceUris.type The following keys were changed: - schemas.WasmPlugin.properties.kmsKeyName.description - schemas.WasmPlugin.properties.kmsKeyVersion.description --- discovery/networkservices-v1beta1.json | 13 +++---------- src/apis/networkservices/v1beta1.ts | 8 ++------ 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/discovery/networkservices-v1beta1.json b/discovery/networkservices-v1beta1.json index 906ea22a01..125aa0340a 100644 --- a/discovery/networkservices-v1beta1.json +++ b/discovery/networkservices-v1beta1.json @@ -3277,7 +3277,7 @@ } } }, - "revision": "20260424", + "revision": "20260513", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AgentGateway": { @@ -3458,13 +3458,6 @@ "resourceUri": { "description": "Optional. A supported Google Cloud networking proxy in the Project and Location", "type": "string" - }, - "resourceUris": { - "description": "Optional. List of supported Google Cloud networking proxies in the Project and Location. resource_uris is mutually exclusive with resource_uri.", - "items": { - "type": "string" - }, - "type": "array" } }, "type": "object" @@ -6410,11 +6403,11 @@ "type": "string" }, "kmsKeyName": { - "description": "Optional. The name of the customer managed Cloud KMS key to be used to encrypt the `WasmPlugin` image (provided by image_uri) and configuration (provided by plugin_config_data or plugin_config_uri) that are stored by the `Service Extensions` product at rest. Format: \"projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}\" By default, Google Cloud automatically encrypts all data at rest using Google-owned and Google-managed encryption keys. If you need ownership and control of the keys that protect your data at rest, you can specify a customer-managed encryption key (CMEK) to encrypt your `WasmPlugin` data. For more information, see [Using customer-managed encryption keys](https://cloud.google.com/kms/docs/cmek). ", + "description": "Optional. The name of the customer-managed [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) to be used to encrypt the `WasmPlugin` image (provided by image_uri) and configuration (provided by plugin_config_data or plugin_config_uri) that are stored by the `Service Extensions` product at rest. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}` By default, Google Cloud automatically encrypts all data at rest using Google-owned and Google-managed encryption keys. If you need ownership and control of the keys that protect your data at rest, you can specify a customer-managed encryption key (CMEK) to encrypt your `WasmPlugin` data. For more information, see [Using customer-managed encryption keys](https://cloud.google.com/service-extensions/docs/cmek).", "type": "string" }, "kmsKeyVersion": { - "description": "Output only. The name of the specific CryptoKeyVersion used to encrypt the `WasmPlugin` data, if the kms_key_name field is set. Format: \"projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}\" This is a read-only field. `WasmPlugin` data is automatically encrypted using the most recent `CryptoKeyVersion` of the `CryptoKey` provided in the `kms_key_name` field. See [Cloud KMS resources](https://cloud.google.com/kms/docs/resource-hierarchy) for more information.", + "description": "Output only. The name of the specific [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) used to encrypt the `WasmPlugin` data, if the kms_key_name field is set. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}` This is a read-only field. `WasmPlugin` data is automatically encrypted using the most recent `CryptoKeyVersion` of the `CryptoKey` provided in the `kms_key_name` field. See [Cloud KMS resources](https://cloud.google.com/kms/docs/resource-hierarchy) for more information.", "readOnly": true, "type": "string" }, diff --git a/src/apis/networkservices/v1beta1.ts b/src/apis/networkservices/v1beta1.ts index b2fe88a8da..13254acc7f 100644 --- a/src/apis/networkservices/v1beta1.ts +++ b/src/apis/networkservices/v1beta1.ts @@ -250,10 +250,6 @@ export namespace networkservices_v1beta1 { * Optional. A supported Google Cloud networking proxy in the Project and Location */ resourceUri?: string | null; - /** - * Optional. List of supported Google Cloud networking proxies in the Project and Location. resource_uris is mutually exclusive with resource_uri. - */ - resourceUris?: string[] | null; } /** * `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision. @@ -2255,11 +2251,11 @@ export namespace networkservices_v1beta1 { */ description?: string | null; /** - * Optional. The name of the customer managed Cloud KMS key to be used to encrypt the `WasmPlugin` image (provided by image_uri) and configuration (provided by plugin_config_data or plugin_config_uri) that are stored by the `Service Extensions` product at rest. Format: "projects/{project\}/locations/{location\}/keyRings/{keyring\}/cryptoKeys/{key\}" By default, Google Cloud automatically encrypts all data at rest using Google-owned and Google-managed encryption keys. If you need ownership and control of the keys that protect your data at rest, you can specify a customer-managed encryption key (CMEK) to encrypt your `WasmPlugin` data. For more information, see [Using customer-managed encryption keys](https://cloud.google.com/kms/docs/cmek). + * Optional. The name of the customer-managed [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) to be used to encrypt the `WasmPlugin` image (provided by image_uri) and configuration (provided by plugin_config_data or plugin_config_uri) that are stored by the `Service Extensions` product at rest. Format: `projects/{project\}/locations/{location\}/keyRings/{keyring\}/cryptoKeys/{key\}` By default, Google Cloud automatically encrypts all data at rest using Google-owned and Google-managed encryption keys. If you need ownership and control of the keys that protect your data at rest, you can specify a customer-managed encryption key (CMEK) to encrypt your `WasmPlugin` data. For more information, see [Using customer-managed encryption keys](https://cloud.google.com/service-extensions/docs/cmek). */ kmsKeyName?: string | null; /** - * Output only. The name of the specific CryptoKeyVersion used to encrypt the `WasmPlugin` data, if the kms_key_name field is set. Format: "projects/{project\}/locations/{location\}/keyRings/{keyring\}/cryptoKeys/{key\}/cryptoKeyVersions/{version\}" This is a read-only field. `WasmPlugin` data is automatically encrypted using the most recent `CryptoKeyVersion` of the `CryptoKey` provided in the `kms_key_name` field. See [Cloud KMS resources](https://cloud.google.com/kms/docs/resource-hierarchy) for more information. + * Output only. The name of the specific [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) used to encrypt the `WasmPlugin` data, if the kms_key_name field is set. Format: `projects/{project\}/locations/{location\}/keyRings/{keyring\}/cryptoKeys/{key\}/cryptoKeyVersions/{version\}` This is a read-only field. `WasmPlugin` data is automatically encrypted using the most recent `CryptoKeyVersion` of the `CryptoKey` provided in the `kms_key_name` field. See [Cloud KMS resources](https://cloud.google.com/kms/docs/resource-hierarchy) for more information. */ kmsKeyVersion?: string | null; /** From 74cb11279f067fb54995b5be1614e6c1058d494b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:40 +0000 Subject: [PATCH 54/69] feat(notebooks): update the API #### notebooks:v2 The following keys were added: - schemas.UpgradeInstanceRequest.properties.imageFamily.description - schemas.UpgradeInstanceRequest.properties.imageFamily.type The following keys were changed: - resources.projects.resources.locations.methods.list.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - schemas.AcceleratorConfig.properties.type.enum - schemas.AcceleratorConfig.properties.type.enumDescriptions --- discovery/notebooks-v2.json | 19 +++++++++++++------ src/apis/notebooks/v2.ts | 17 ++++++++++++----- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/discovery/notebooks-v2.json b/discovery/notebooks-v2.json index 6516ed9362..227e079c2d 100644 --- a/discovery/notebooks-v2.json +++ b/discovery/notebooks-v2.json @@ -135,7 +135,7 @@ ] }, "list": { - "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", + "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", "flatPath": "v2/projects/{projectsId}/locations", "httpMethod": "GET", "id": "notebooks.projects.locations.list", @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -971,7 +971,7 @@ } } }, - "revision": "20260401", + "revision": "20260521", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1000,7 +1000,8 @@ "NVIDIA_TESLA_T4_VWS", "NVIDIA_TESLA_P100_VWS", "NVIDIA_TESLA_P4_VWS", - "NVIDIA_B200" + "NVIDIA_B200", + "NVIDIA_RTX6000" ], "enumDescriptions": [ "Accelerator type is not specified.", @@ -1017,7 +1018,8 @@ "Accelerator type is NVIDIA Tesla T4 Virtual Workstations.", "Accelerator type is NVIDIA Tesla P100 Virtual Workstations.", "Accelerator type is NVIDIA Tesla P4 Virtual Workstations.", - "Accelerator type is NVIDIA B200." + "Accelerator type is NVIDIA B200.", + "NVIDIA RTX 6000." ], "type": "string" } @@ -2309,7 +2311,12 @@ "UpgradeInstanceRequest": { "description": "Request for upgrading a notebook instance", "id": "UpgradeInstanceRequest", - "properties": {}, + "properties": { + "imageFamily": { + "description": "Optional. The Compute Engine image family resource name to upgrade to. Format: `projects/{project_id}/global/images/family/{image_family}` If specified, the instance will be upgraded to the latest image in the specified image family, allowing upgrades across image families. If not specified, the instance will be upgraded to the latest image in its current image family.", + "type": "string" + } + }, "type": "object" }, "UpgradeInstanceSystemRequest": { diff --git a/src/apis/notebooks/v2.ts b/src/apis/notebooks/v2.ts index d70b9f17c5..82b9a3aa46 100644 --- a/src/apis/notebooks/v2.ts +++ b/src/apis/notebooks/v2.ts @@ -1003,7 +1003,12 @@ export namespace notebooks_v2 { /** * Request for upgrading a notebook instance */ - export interface Schema$UpgradeInstanceRequest {} + export interface Schema$UpgradeInstanceRequest { + /** + * Optional. The Compute Engine image family resource name to upgrade to. Format: `projects/{project_id\}/global/images/family/{image_family\}` If specified, the instance will be upgraded to the latest image in the specified image family, allowing upgrades across image families. If not specified, the instance will be upgraded to the latest image in its current image family. + */ + imageFamily?: string | null; + } /** * Request for upgrading a notebook instance from within the VM */ @@ -1191,7 +1196,7 @@ export namespace notebooks_v2 { } /** - * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. + * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. * @example * ```js * // Before running the sample: @@ -1221,7 +1226,7 @@ export namespace notebooks_v2 { * * // Do the magic * const res = await notebooks.projects.locations.list({ - * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. * extraLocationTypes: 'placeholder-value', * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). * filter: 'placeholder-value', @@ -1347,7 +1352,7 @@ export namespace notebooks_v2 { } export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** - * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */ extraLocationTypes?: string[]; /** @@ -4413,7 +4418,9 @@ export namespace notebooks_v2 { * // Request body metadata * requestBody: { * // request body parameters - * // {} + * // { + * // "imageFamily": "my_imageFamily" + * // } * }, * }); * console.log(res.data); From 218d63a75cf4d8b2f5953dfa51581344d2059f3a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:40 +0000 Subject: [PATCH 55/69] feat(ondemandscanning): update the API #### ondemandscanning:v1beta1 The following keys were added: - schemas.CVSS.properties.attackComplexity.description - schemas.CVSS.properties.attackRequirements.description - schemas.CVSS.properties.attackRequirements.enum - schemas.CVSS.properties.attackRequirements.enumDescriptions - schemas.CVSS.properties.attackRequirements.type - schemas.CVSS.properties.authentication.description - schemas.CVSS.properties.availabilityImpact.description - schemas.CVSS.properties.confidentialityImpact.description - schemas.CVSS.properties.integrityImpact.description - schemas.CVSS.properties.privilegesRequired.description - schemas.CVSS.properties.scope.description - schemas.CVSS.properties.subsequentSystemAvailabilityImpact.description - schemas.CVSS.properties.subsequentSystemAvailabilityImpact.enum - schemas.CVSS.properties.subsequentSystemAvailabilityImpact.enumDescriptions - schemas.CVSS.properties.subsequentSystemAvailabilityImpact.type - schemas.CVSS.properties.subsequentSystemConfidentialityImpact.description - schemas.CVSS.properties.subsequentSystemConfidentialityImpact.enum - schemas.CVSS.properties.subsequentSystemConfidentialityImpact.enumDescriptions - schemas.CVSS.properties.subsequentSystemConfidentialityImpact.type - schemas.CVSS.properties.subsequentSystemIntegrityImpact.description - schemas.CVSS.properties.subsequentSystemIntegrityImpact.enum - schemas.CVSS.properties.subsequentSystemIntegrityImpact.enumDescriptions - schemas.CVSS.properties.subsequentSystemIntegrityImpact.type - schemas.CVSS.properties.userInteraction.description - schemas.CVSS.properties.vulnerableSystemAvailabilityImpact.description - schemas.CVSS.properties.vulnerableSystemAvailabilityImpact.enum - schemas.CVSS.properties.vulnerableSystemAvailabilityImpact.enumDescriptions - schemas.CVSS.properties.vulnerableSystemAvailabilityImpact.type - schemas.CVSS.properties.vulnerableSystemConfidentialityImpact.description - schemas.CVSS.properties.vulnerableSystemConfidentialityImpact.enum - schemas.CVSS.properties.vulnerableSystemConfidentialityImpact.enumDescriptions - schemas.CVSS.properties.vulnerableSystemConfidentialityImpact.type - schemas.CVSS.properties.vulnerableSystemIntegrityImpact.description - schemas.CVSS.properties.vulnerableSystemIntegrityImpact.enum - schemas.CVSS.properties.vulnerableSystemIntegrityImpact.enumDescriptions - schemas.CVSS.properties.vulnerableSystemIntegrityImpact.type The following keys were changed: - schemas.CVSS.properties.attackComplexity.enumDescriptions - schemas.CVSS.properties.attackVector.description - schemas.CVSS.properties.attackVector.enumDescriptions - schemas.CVSS.properties.authentication.enumDescriptions - schemas.CVSS.properties.availabilityImpact.enumDescriptions - schemas.CVSS.properties.confidentialityImpact.enumDescriptions - schemas.CVSS.properties.integrityImpact.enumDescriptions - schemas.CVSS.properties.privilegesRequired.enumDescriptions - schemas.CVSS.properties.scope.enumDescriptions - schemas.CVSS.properties.userInteraction.enum - schemas.CVSS.properties.userInteraction.enumDescriptions - schemas.VulnerabilityOccurrence.properties.cvssVersion.enum - schemas.VulnerabilityOccurrence.properties.cvssVersion.enumDescriptions #### ondemandscanning:v1 The following keys were added: - schemas.CVSS.properties.attackComplexity.description - schemas.CVSS.properties.attackRequirements.description - schemas.CVSS.properties.attackRequirements.enum - schemas.CVSS.properties.attackRequirements.enumDescriptions - schemas.CVSS.properties.attackRequirements.type - schemas.CVSS.properties.authentication.description - schemas.CVSS.properties.availabilityImpact.description - schemas.CVSS.properties.confidentialityImpact.description - schemas.CVSS.properties.integrityImpact.description - schemas.CVSS.properties.privilegesRequired.description - schemas.CVSS.properties.scope.description - schemas.CVSS.properties.subsequentSystemAvailabilityImpact.description - schemas.CVSS.properties.subsequentSystemAvailabilityImpact.enum - schemas.CVSS.properties.subsequentSystemAvailabilityImpact.enumDescriptions - schemas.CVSS.properties.subsequentSystemAvailabilityImpact.type - schemas.CVSS.properties.subsequentSystemConfidentialityImpact.description - schemas.CVSS.properties.subsequentSystemConfidentialityImpact.enum - schemas.CVSS.properties.subsequentSystemConfidentialityImpact.enumDescriptions - schemas.CVSS.properties.subsequentSystemConfidentialityImpact.type - schemas.CVSS.properties.subsequentSystemIntegrityImpact.description - schemas.CVSS.properties.subsequentSystemIntegrityImpact.enum - schemas.CVSS.properties.subsequentSystemIntegrityImpact.enumDescriptions - schemas.CVSS.properties.subsequentSystemIntegrityImpact.type - schemas.CVSS.properties.userInteraction.description - schemas.CVSS.properties.vulnerableSystemAvailabilityImpact.description - schemas.CVSS.properties.vulnerableSystemAvailabilityImpact.enum - schemas.CVSS.properties.vulnerableSystemAvailabilityImpact.enumDescriptions - schemas.CVSS.properties.vulnerableSystemAvailabilityImpact.type - schemas.CVSS.properties.vulnerableSystemConfidentialityImpact.description - schemas.CVSS.properties.vulnerableSystemConfidentialityImpact.enum - schemas.CVSS.properties.vulnerableSystemConfidentialityImpact.enumDescriptions - schemas.CVSS.properties.vulnerableSystemConfidentialityImpact.type - schemas.CVSS.properties.vulnerableSystemIntegrityImpact.description - schemas.CVSS.properties.vulnerableSystemIntegrityImpact.enum - schemas.CVSS.properties.vulnerableSystemIntegrityImpact.enumDescriptions - schemas.CVSS.properties.vulnerableSystemIntegrityImpact.type The following keys were changed: - schemas.CVSS.properties.attackComplexity.enumDescriptions - schemas.CVSS.properties.attackVector.description - schemas.CVSS.properties.attackVector.enumDescriptions - schemas.CVSS.properties.authentication.enumDescriptions - schemas.CVSS.properties.availabilityImpact.enumDescriptions - schemas.CVSS.properties.confidentialityImpact.enumDescriptions - schemas.CVSS.properties.integrityImpact.enumDescriptions - schemas.CVSS.properties.privilegesRequired.enumDescriptions - schemas.CVSS.properties.scope.enumDescriptions - schemas.CVSS.properties.userInteraction.enum - schemas.CVSS.properties.userInteraction.enumDescriptions - schemas.VulnerabilityOccurrence.properties.cvssVersion.enum - schemas.VulnerabilityOccurrence.properties.cvssVersion.enumDescriptions --- discovery/ondemandscanning-v1.json | 244 +++++++++++++++++++----- discovery/ondemandscanning-v1beta1.json | 244 +++++++++++++++++++----- src/apis/ondemandscanning/v1.ts | 54 +++++- src/apis/ondemandscanning/v1beta1.ts | 54 +++++- 4 files changed, 498 insertions(+), 98 deletions(-) diff --git a/discovery/ondemandscanning-v1.json b/discovery/ondemandscanning-v1.json index eaff1c3020..6ff812609a 100644 --- a/discovery/ondemandscanning-v1.json +++ b/discovery/ondemandscanning-v1.json @@ -344,7 +344,7 @@ } } }, - "revision": "20260504", + "revision": "20260511", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AISkillAnalysisOccurrence": { @@ -740,6 +740,7 @@ "id": "CVSS", "properties": { "attackComplexity": { + "description": "Attack Complexity (AC). Defined in CVSS v2, v3, v4.", "enum": [ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", @@ -747,15 +748,29 @@ "ATTACK_COMPLEXITY_MEDIUM" ], "enumDescriptions": [ - "", - "", - "", - "" + "Unspecified.", + "Low attack complexity (AC:L). Defined in CVSS v2, v3, v4.", + "High attack complexity (AC:H). Defined in CVSS v2, v3, v4.", + "Medium attack complexity (AC:M). Defined in CVSS v2." + ], + "type": "string" + }, + "attackRequirements": { + "description": "Attack Requirements (AT). Defined in CVSS v4.", + "enum": [ + "ATTACK_REQUIREMENTS_UNSPECIFIED", + "ATTACK_REQUIREMENTS_NONE", + "ATTACK_REQUIREMENTS_PRESENT" + ], + "enumDescriptions": [ + "Unspecified.", + "No attack requirements (AT:N). Defined in CVSS v4.", + "Attack requirements: Present (AT:P). Defined in CVSS v4." ], "type": "string" }, "attackVector": { - "description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.", + "description": "Attack Vector (AV). Defined in CVSS v2, v3, v4.", "enum": [ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", @@ -764,15 +779,16 @@ "ATTACK_VECTOR_PHYSICAL" ], "enumDescriptions": [ - "", - "", - "", - "", - "" + "Unspecified.", + "Attack Vector: Network (AV:N). Defined in CVSS v2, v3, v4.", + "Attack Vector: Adjacent (AV:A). Defined in CVSS v2, v3, v4.", + "Attack Vector: Local (AV:L). Defined in CVSS v2, v3, v4.", + "Attack Vector: Physical (AV:P). Defined in CVSS v3, v4." ], "type": "string" }, "authentication": { + "description": "Authentication (Au). Defined in CVSS v2.", "enum": [ "AUTHENTICATION_UNSPECIFIED", "AUTHENTICATION_MULTIPLE", @@ -780,14 +796,15 @@ "AUTHENTICATION_NONE" ], "enumDescriptions": [ - "", - "", - "", - "" + "Unspecified.", + "Multiple authentication required (Au:M). Defined in CVSS v2.", + "Single authentication required (Au:S). Defined in CVSS v2.", + "No authentication required (Au:N). Defined in CVSS v2." ], "type": "string" }, "availabilityImpact": { + "description": "Availability Impact (A). Defined in CVSS v2, v3.", "enum": [ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", @@ -797,12 +814,12 @@ "IMPACT_COMPLETE" ], "enumDescriptions": [ - "", - "", - "", - "", - "", - "" + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." ], "type": "string" }, @@ -812,6 +829,7 @@ "type": "number" }, "confidentialityImpact": { + "description": "Confidentiality Impact (C). Defined in CVSS v2, v3.", "enum": [ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", @@ -821,12 +839,12 @@ "IMPACT_COMPLETE" ], "enumDescriptions": [ - "", - "", - "", - "", - "", - "" + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." ], "type": "string" }, @@ -839,6 +857,7 @@ "type": "number" }, "integrityImpact": { + "description": "Integrity Impact (I). Defined in CVSS v2, v3.", "enum": [ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", @@ -848,16 +867,17 @@ "IMPACT_COMPLETE" ], "enumDescriptions": [ - "", - "", - "", - "", - "", - "" + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." ], "type": "string" }, "privilegesRequired": { + "description": "Privileges Required (PR). Defined in CVSS v3, v4.", "enum": [ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", @@ -865,36 +885,162 @@ "PRIVILEGES_REQUIRED_HIGH" ], "enumDescriptions": [ - "", - "", - "", - "" + "Unspecified.", + "No privileges required (PR:N). Defined in CVSS v3, v4.", + "Low privileges required (PR:L). Defined in CVSS v3, v4.", + "High privileges required (PR:H). Defined in CVSS v3, v4." ], "type": "string" }, "scope": { + "description": "Scope (S). Defined in CVSS v3.", "enum": [ "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" ], "enumDescriptions": [ - "", - "", - "" + "Unspecified.", + "Scope: Unchanged (S:U). Defined in CVSS v3.", + "Scope: Changed (S:C). Defined in CVSS v3." + ], + "type": "string" + }, + "subsequentSystemAvailabilityImpact": { + "description": "Subsequent System Availability Impact (SA). Defined in CVSS v4.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" + ], + "enumDescriptions": [ + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." + ], + "type": "string" + }, + "subsequentSystemConfidentialityImpact": { + "description": "Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" + ], + "enumDescriptions": [ + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." + ], + "type": "string" + }, + "subsequentSystemIntegrityImpact": { + "description": "Subsequent System Integrity Impact (SI). Defined in CVSS v4.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" + ], + "enumDescriptions": [ + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." ], "type": "string" }, "userInteraction": { + "description": "User Interaction (UI). Defined in CVSS v3, v4.", "enum": [ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", - "USER_INTERACTION_REQUIRED" + "USER_INTERACTION_REQUIRED", + "USER_INTERACTION_PASSIVE", + "USER_INTERACTION_ACTIVE" ], "enumDescriptions": [ - "", - "", - "" + "Unspecified.", + "No user interaction required (UI:N). Defined in CVSS v3, v4.", + "User interaction required (UI:R). Defined in CVSS v3.", + "Passive user interaction required (UI:P). Defined in CVSS v4.", + "Active user interaction required (UI:A). Defined in CVSS v4." + ], + "type": "string" + }, + "vulnerableSystemAvailabilityImpact": { + "description": "Vulnerable System Availability Impact (VA). Defined in CVSS v4.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" + ], + "enumDescriptions": [ + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." + ], + "type": "string" + }, + "vulnerableSystemConfidentialityImpact": { + "description": "Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" + ], + "enumDescriptions": [ + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." + ], + "type": "string" + }, + "vulnerableSystemIntegrityImpact": { + "description": "Vulnerable System Integrity Impact (VI). Defined in CVSS v4.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" + ], + "enumDescriptions": [ + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." ], "type": "string" } @@ -3267,12 +3413,14 @@ "enum": [ "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", - "CVSS_VERSION_3" + "CVSS_VERSION_3", + "CVSS_VERSION_4" ], "enumDescriptions": [ - "", - "", - "" + "Unspecified.", + "CVSS v2.", + "CVSS v3.", + "CVSS v4." ], "type": "string" }, diff --git a/discovery/ondemandscanning-v1beta1.json b/discovery/ondemandscanning-v1beta1.json index 26e2b9a673..00b971f52f 100644 --- a/discovery/ondemandscanning-v1beta1.json +++ b/discovery/ondemandscanning-v1beta1.json @@ -344,7 +344,7 @@ } } }, - "revision": "20260504", + "revision": "20260511", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AISkillAnalysisOccurrence": { @@ -735,6 +735,7 @@ "id": "CVSS", "properties": { "attackComplexity": { + "description": "Attack Complexity (AC). Defined in CVSS v2, v3, v4.", "enum": [ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", @@ -742,15 +743,29 @@ "ATTACK_COMPLEXITY_MEDIUM" ], "enumDescriptions": [ - "", - "", - "", - "" + "Unspecified.", + "Low attack complexity (AC:L). Defined in CVSS v2, v3, v4.", + "High attack complexity (AC:H). Defined in CVSS v2, v3, v4.", + "Medium attack complexity (AC:M). Defined in CVSS v2." + ], + "type": "string" + }, + "attackRequirements": { + "description": "Attack Requirements (AT). Defined in CVSS v4.", + "enum": [ + "ATTACK_REQUIREMENTS_UNSPECIFIED", + "ATTACK_REQUIREMENTS_NONE", + "ATTACK_REQUIREMENTS_PRESENT" + ], + "enumDescriptions": [ + "Unspecified.", + "No attack requirements (AT:N). Defined in CVSS v4.", + "Attack requirements: Present (AT:P). Defined in CVSS v4." ], "type": "string" }, "attackVector": { - "description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.", + "description": "Attack Vector (AV). Defined in CVSS v2, v3, v4.", "enum": [ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", @@ -759,15 +774,16 @@ "ATTACK_VECTOR_PHYSICAL" ], "enumDescriptions": [ - "", - "", - "", - "", - "" + "Unspecified.", + "Attack Vector: Network (AV:N). Defined in CVSS v2, v3, v4.", + "Attack Vector: Adjacent (AV:A). Defined in CVSS v2, v3, v4.", + "Attack Vector: Local (AV:L). Defined in CVSS v2, v3, v4.", + "Attack Vector: Physical (AV:P). Defined in CVSS v3, v4." ], "type": "string" }, "authentication": { + "description": "Authentication (Au). Defined in CVSS v2.", "enum": [ "AUTHENTICATION_UNSPECIFIED", "AUTHENTICATION_MULTIPLE", @@ -775,14 +791,15 @@ "AUTHENTICATION_NONE" ], "enumDescriptions": [ - "", - "", - "", - "" + "Unspecified.", + "Multiple authentication required (Au:M). Defined in CVSS v2.", + "Single authentication required (Au:S). Defined in CVSS v2.", + "No authentication required (Au:N). Defined in CVSS v2." ], "type": "string" }, "availabilityImpact": { + "description": "Availability Impact (A). Defined in CVSS v2, v3.", "enum": [ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", @@ -792,12 +809,12 @@ "IMPACT_COMPLETE" ], "enumDescriptions": [ - "", - "", - "", - "", - "", - "" + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." ], "type": "string" }, @@ -807,6 +824,7 @@ "type": "number" }, "confidentialityImpact": { + "description": "Confidentiality Impact (C). Defined in CVSS v2, v3.", "enum": [ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", @@ -816,12 +834,12 @@ "IMPACT_COMPLETE" ], "enumDescriptions": [ - "", - "", - "", - "", - "", - "" + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." ], "type": "string" }, @@ -834,6 +852,7 @@ "type": "number" }, "integrityImpact": { + "description": "Integrity Impact (I). Defined in CVSS v2, v3.", "enum": [ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", @@ -843,16 +862,17 @@ "IMPACT_COMPLETE" ], "enumDescriptions": [ - "", - "", - "", - "", - "", - "" + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." ], "type": "string" }, "privilegesRequired": { + "description": "Privileges Required (PR). Defined in CVSS v3, v4.", "enum": [ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", @@ -860,36 +880,162 @@ "PRIVILEGES_REQUIRED_HIGH" ], "enumDescriptions": [ - "", - "", - "", - "" + "Unspecified.", + "No privileges required (PR:N). Defined in CVSS v3, v4.", + "Low privileges required (PR:L). Defined in CVSS v3, v4.", + "High privileges required (PR:H). Defined in CVSS v3, v4." ], "type": "string" }, "scope": { + "description": "Scope (S). Defined in CVSS v3.", "enum": [ "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" ], "enumDescriptions": [ - "", - "", - "" + "Unspecified.", + "Scope: Unchanged (S:U). Defined in CVSS v3.", + "Scope: Changed (S:C). Defined in CVSS v3." + ], + "type": "string" + }, + "subsequentSystemAvailabilityImpact": { + "description": "Subsequent System Availability Impact (SA). Defined in CVSS v4.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" + ], + "enumDescriptions": [ + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." + ], + "type": "string" + }, + "subsequentSystemConfidentialityImpact": { + "description": "Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" + ], + "enumDescriptions": [ + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." + ], + "type": "string" + }, + "subsequentSystemIntegrityImpact": { + "description": "Subsequent System Integrity Impact (SI). Defined in CVSS v4.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" + ], + "enumDescriptions": [ + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." ], "type": "string" }, "userInteraction": { + "description": "User Interaction (UI). Defined in CVSS v3, v4.", "enum": [ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", - "USER_INTERACTION_REQUIRED" + "USER_INTERACTION_REQUIRED", + "USER_INTERACTION_PASSIVE", + "USER_INTERACTION_ACTIVE" ], "enumDescriptions": [ - "", - "", - "" + "Unspecified.", + "No user interaction required (UI:N). Defined in CVSS v3, v4.", + "User interaction required (UI:R). Defined in CVSS v3.", + "Passive user interaction required (UI:P). Defined in CVSS v4.", + "Active user interaction required (UI:A). Defined in CVSS v4." + ], + "type": "string" + }, + "vulnerableSystemAvailabilityImpact": { + "description": "Vulnerable System Availability Impact (VA). Defined in CVSS v4.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" + ], + "enumDescriptions": [ + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." + ], + "type": "string" + }, + "vulnerableSystemConfidentialityImpact": { + "description": "Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" + ], + "enumDescriptions": [ + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." + ], + "type": "string" + }, + "vulnerableSystemIntegrityImpact": { + "description": "Vulnerable System Integrity Impact (VI). Defined in CVSS v4.", + "enum": [ + "IMPACT_UNSPECIFIED", + "IMPACT_HIGH", + "IMPACT_LOW", + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" + ], + "enumDescriptions": [ + "Unspecified.", + "High impact (H). Defined in CVSS v3, v4.", + "Low impact (L). Defined in CVSS v3, v4.", + "No impact (N). Defined in CVSS v2, v3, v4.", + "Partial impact (P). Defined in CVSS v2.", + "Complete impact (C). Defined in CVSS v2." ], "type": "string" } @@ -3262,12 +3408,14 @@ "enum": [ "CVSS_VERSION_UNSPECIFIED", "CVSS_VERSION_2", - "CVSS_VERSION_3" + "CVSS_VERSION_3", + "CVSS_VERSION_4" ], "enumDescriptions": [ - "", - "", - "" + "Unspecified.", + "CVSS v2.", + "CVSS v3.", + "CVSS v4." ], "type": "string" }, diff --git a/src/apis/ondemandscanning/v1.ts b/src/apis/ondemandscanning/v1.ts index 926a0257ad..27fbe4fd1d 100644 --- a/src/apis/ondemandscanning/v1.ts +++ b/src/apis/ondemandscanning/v1.ts @@ -496,24 +496,76 @@ export namespace ondemandscanning_v1 { * Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version. */ export interface Schema$CVSS { + /** + * Attack Complexity (AC). Defined in CVSS v2, v3, v4. + */ attackComplexity?: string | null; /** - * Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. + * Attack Requirements (AT). Defined in CVSS v4. + */ + attackRequirements?: string | null; + /** + * Attack Vector (AV). Defined in CVSS v2, v3, v4. */ attackVector?: string | null; + /** + * Authentication (Au). Defined in CVSS v2. + */ authentication?: string | null; + /** + * Availability Impact (A). Defined in CVSS v2, v3. + */ availabilityImpact?: string | null; /** * The base score is a function of the base metric scores. */ baseScore?: number | null; + /** + * Confidentiality Impact (C). Defined in CVSS v2, v3. + */ confidentialityImpact?: string | null; exploitabilityScore?: number | null; impactScore?: number | null; + /** + * Integrity Impact (I). Defined in CVSS v2, v3. + */ integrityImpact?: string | null; + /** + * Privileges Required (PR). Defined in CVSS v3, v4. + */ privilegesRequired?: string | null; + /** + * Scope (S). Defined in CVSS v3. + */ scope?: string | null; + /** + * Subsequent System Availability Impact (SA). Defined in CVSS v4. + */ + subsequentSystemAvailabilityImpact?: string | null; + /** + * Subsequent System Confidentiality Impact (SC). Defined in CVSS v4. + */ + subsequentSystemConfidentialityImpact?: string | null; + /** + * Subsequent System Integrity Impact (SI). Defined in CVSS v4. + */ + subsequentSystemIntegrityImpact?: string | null; + /** + * User Interaction (UI). Defined in CVSS v3, v4. + */ userInteraction?: string | null; + /** + * Vulnerable System Availability Impact (VA). Defined in CVSS v4. + */ + vulnerableSystemAvailabilityImpact?: string | null; + /** + * Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4. + */ + vulnerableSystemConfidentialityImpact?: string | null; + /** + * Vulnerable System Integrity Impact (VI). Defined in CVSS v4. + */ + vulnerableSystemIntegrityImpact?: string | null; } /** * The period during which some deployable was active in a runtime. diff --git a/src/apis/ondemandscanning/v1beta1.ts b/src/apis/ondemandscanning/v1beta1.ts index ce7a7d3789..7bd2938918 100644 --- a/src/apis/ondemandscanning/v1beta1.ts +++ b/src/apis/ondemandscanning/v1beta1.ts @@ -492,24 +492,76 @@ export namespace ondemandscanning_v1beta1 { * Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version. */ export interface Schema$CVSS { + /** + * Attack Complexity (AC). Defined in CVSS v2, v3, v4. + */ attackComplexity?: string | null; /** - * Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. + * Attack Requirements (AT). Defined in CVSS v4. + */ + attackRequirements?: string | null; + /** + * Attack Vector (AV). Defined in CVSS v2, v3, v4. */ attackVector?: string | null; + /** + * Authentication (Au). Defined in CVSS v2. + */ authentication?: string | null; + /** + * Availability Impact (A). Defined in CVSS v2, v3. + */ availabilityImpact?: string | null; /** * The base score is a function of the base metric scores. */ baseScore?: number | null; + /** + * Confidentiality Impact (C). Defined in CVSS v2, v3. + */ confidentialityImpact?: string | null; exploitabilityScore?: number | null; impactScore?: number | null; + /** + * Integrity Impact (I). Defined in CVSS v2, v3. + */ integrityImpact?: string | null; + /** + * Privileges Required (PR). Defined in CVSS v3, v4. + */ privilegesRequired?: string | null; + /** + * Scope (S). Defined in CVSS v3. + */ scope?: string | null; + /** + * Subsequent System Availability Impact (SA). Defined in CVSS v4. + */ + subsequentSystemAvailabilityImpact?: string | null; + /** + * Subsequent System Confidentiality Impact (SC). Defined in CVSS v4. + */ + subsequentSystemConfidentialityImpact?: string | null; + /** + * Subsequent System Integrity Impact (SI). Defined in CVSS v4. + */ + subsequentSystemIntegrityImpact?: string | null; + /** + * User Interaction (UI). Defined in CVSS v3, v4. + */ userInteraction?: string | null; + /** + * Vulnerable System Availability Impact (VA). Defined in CVSS v4. + */ + vulnerableSystemAvailabilityImpact?: string | null; + /** + * Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4. + */ + vulnerableSystemConfidentialityImpact?: string | null; + /** + * Vulnerable System Integrity Impact (VI). Defined in CVSS v4. + */ + vulnerableSystemIntegrityImpact?: string | null; } /** * The period during which some deployable was active in a runtime. From 8112f62027e4b82cbd5289410997bb79066a980c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:40 +0000 Subject: [PATCH 56/69] feat(oracledatabase): update the API #### oracledatabase:v1 The following keys were added: - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.flatPath - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.httpMethod - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.id - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.parameterOrder - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.parameters.goldengateConnectionAssignmentId.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.parameters.goldengateConnectionAssignmentId.location - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.parameters.goldengateConnectionAssignmentId.type - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.parameters.parent.location - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.parameters.parent.pattern - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.parameters.parent.required - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.parameters.parent.type - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.parameters.requestId.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.parameters.requestId.location - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.parameters.requestId.type - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.path - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.request.$ref - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.response.$ref - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.create.scopes - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.flatPath - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.httpMethod - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.id - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.parameterOrder - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.parameters.requestId.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.parameters.requestId.location - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.parameters.requestId.type - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.path - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.response.$ref - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.delete.scopes - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.flatPath - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.httpMethod - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.id - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.parameterOrder - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.parameters.name.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.parameters.name.location - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.parameters.name.required - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.parameters.name.type - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.path - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.response.$ref - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.get.scopes - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.flatPath - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.httpMethod - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.id - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameterOrder - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.path - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.response.$ref - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.list.scopes - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.flatPath - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.httpMethod - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.id - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.parameterOrder - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.parameters.name.description - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.parameters.name.location - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.parameters.name.required - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.parameters.name.type - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.path - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.request.$ref - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.response.$ref - resources.projects.resources.locations.resources.goldengateConnectionAssignments.methods.test.scopes - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.description - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.flatPath - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.httpMethod - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.id - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.parameterOrder - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.parameters.name.description - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.parameters.name.location - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.parameters.name.required - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.parameters.name.type - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.path - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.response.$ref - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.get.scopes - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.description - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.flatPath - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.httpMethod - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.id - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameterOrder - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.path - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.response.$ref - resources.projects.resources.locations.resources.goldengateConnectionTypes.methods.list.scopes - resources.projects.resources.locations.resources.goldengateConnections.methods.create.description - resources.projects.resources.locations.resources.goldengateConnections.methods.create.flatPath - resources.projects.resources.locations.resources.goldengateConnections.methods.create.httpMethod - resources.projects.resources.locations.resources.goldengateConnections.methods.create.id - resources.projects.resources.locations.resources.goldengateConnections.methods.create.parameterOrder - resources.projects.resources.locations.resources.goldengateConnections.methods.create.parameters.goldengateConnectionId.description - resources.projects.resources.locations.resources.goldengateConnections.methods.create.parameters.goldengateConnectionId.location - resources.projects.resources.locations.resources.goldengateConnections.methods.create.parameters.goldengateConnectionId.type - resources.projects.resources.locations.resources.goldengateConnections.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.goldengateConnections.methods.create.parameters.parent.location - resources.projects.resources.locations.resources.goldengateConnections.methods.create.parameters.parent.pattern - resources.projects.resources.locations.resources.goldengateConnections.methods.create.parameters.parent.required - resources.projects.resources.locations.resources.goldengateConnections.methods.create.parameters.parent.type - resources.projects.resources.locations.resources.goldengateConnections.methods.create.parameters.requestId.description - resources.projects.resources.locations.resources.goldengateConnections.methods.create.parameters.requestId.location - resources.projects.resources.locations.resources.goldengateConnections.methods.create.parameters.requestId.type - resources.projects.resources.locations.resources.goldengateConnections.methods.create.path - resources.projects.resources.locations.resources.goldengateConnections.methods.create.request.$ref - resources.projects.resources.locations.resources.goldengateConnections.methods.create.response.$ref - resources.projects.resources.locations.resources.goldengateConnections.methods.create.scopes - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.description - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.flatPath - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.httpMethod - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.id - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.parameterOrder - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.parameters.requestId.description - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.parameters.requestId.location - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.parameters.requestId.type - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.path - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.response.$ref - resources.projects.resources.locations.resources.goldengateConnections.methods.delete.scopes - resources.projects.resources.locations.resources.goldengateConnections.methods.get.description - resources.projects.resources.locations.resources.goldengateConnections.methods.get.flatPath - resources.projects.resources.locations.resources.goldengateConnections.methods.get.httpMethod - resources.projects.resources.locations.resources.goldengateConnections.methods.get.id - resources.projects.resources.locations.resources.goldengateConnections.methods.get.parameterOrder - resources.projects.resources.locations.resources.goldengateConnections.methods.get.parameters.name.description - resources.projects.resources.locations.resources.goldengateConnections.methods.get.parameters.name.location - resources.projects.resources.locations.resources.goldengateConnections.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateConnections.methods.get.parameters.name.required - resources.projects.resources.locations.resources.goldengateConnections.methods.get.parameters.name.type - resources.projects.resources.locations.resources.goldengateConnections.methods.get.path - resources.projects.resources.locations.resources.goldengateConnections.methods.get.response.$ref - resources.projects.resources.locations.resources.goldengateConnections.methods.get.scopes - resources.projects.resources.locations.resources.goldengateConnections.methods.list.description - resources.projects.resources.locations.resources.goldengateConnections.methods.list.flatPath - resources.projects.resources.locations.resources.goldengateConnections.methods.list.httpMethod - resources.projects.resources.locations.resources.goldengateConnections.methods.list.id - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameterOrder - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.goldengateConnections.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.goldengateConnections.methods.list.path - resources.projects.resources.locations.resources.goldengateConnections.methods.list.response.$ref - resources.projects.resources.locations.resources.goldengateConnections.methods.list.scopes - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.description - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.flatPath - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.httpMethod - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.id - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.parameterOrder - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.parameters.name.description - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.parameters.name.location - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.parameters.name.required - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.parameters.name.type - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.path - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.response.$ref - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.get.scopes - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.description - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.flatPath - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.httpMethod - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.id - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameterOrder - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.path - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.response.$ref - resources.projects.resources.locations.resources.goldengateDeploymentEnvironments.methods.list.scopes - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.description - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.flatPath - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.httpMethod - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.id - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.parameterOrder - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.parameters.name.description - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.parameters.name.location - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.parameters.name.required - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.parameters.name.type - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.path - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.response.$ref - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.get.scopes - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.description - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.flatPath - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.httpMethod - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.id - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameterOrder - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.path - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.response.$ref - resources.projects.resources.locations.resources.goldengateDeploymentTypes.methods.list.scopes - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.description - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.flatPath - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.httpMethod - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.id - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.parameterOrder - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.parameters.name.description - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.parameters.name.location - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.parameters.name.required - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.parameters.name.type - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.path - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.response.$ref - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.get.scopes - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.description - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.flatPath - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.httpMethod - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.id - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameterOrder - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.path - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.response.$ref - resources.projects.resources.locations.resources.goldengateDeploymentVersions.methods.list.scopes - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.flatPath - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.httpMethod - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.id - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.parameterOrder - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.parameters.goldengateDeploymentId.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.parameters.goldengateDeploymentId.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.parameters.goldengateDeploymentId.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.parameters.parent.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.parameters.parent.pattern - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.parameters.parent.required - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.parameters.parent.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.parameters.requestId.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.parameters.requestId.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.parameters.requestId.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.path - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.request.$ref - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.response.$ref - resources.projects.resources.locations.resources.goldengateDeployments.methods.create.scopes - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.flatPath - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.httpMethod - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.id - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.parameterOrder - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.parameters.requestId.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.parameters.requestId.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.parameters.requestId.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.path - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.response.$ref - resources.projects.resources.locations.resources.goldengateDeployments.methods.delete.scopes - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.flatPath - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.httpMethod - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.id - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.parameterOrder - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.parameters.name.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.parameters.name.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.parameters.name.required - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.parameters.name.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.path - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.response.$ref - resources.projects.resources.locations.resources.goldengateDeployments.methods.get.scopes - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.flatPath - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.httpMethod - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.id - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameterOrder - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.path - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.response.$ref - resources.projects.resources.locations.resources.goldengateDeployments.methods.list.scopes - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.flatPath - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.httpMethod - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.id - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.parameterOrder - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.parameters.name.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.parameters.name.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.parameters.name.required - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.parameters.name.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.path - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.request.$ref - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.response.$ref - resources.projects.resources.locations.resources.goldengateDeployments.methods.start.scopes - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.flatPath - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.httpMethod - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.id - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.parameterOrder - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.parameters.name.description - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.parameters.name.location - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.parameters.name.pattern - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.parameters.name.required - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.parameters.name.type - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.path - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.request.$ref - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.response.$ref - resources.projects.resources.locations.resources.goldengateDeployments.methods.stop.scopes - schemas.AmazonS3IcebergStorage.description - schemas.AmazonS3IcebergStorage.id - schemas.AmazonS3IcebergStorage.properties.accessKeyId.description - schemas.AmazonS3IcebergStorage.properties.accessKeyId.type - schemas.AmazonS3IcebergStorage.properties.bucket.description - schemas.AmazonS3IcebergStorage.properties.bucket.type - schemas.AmazonS3IcebergStorage.properties.endpoint.description - schemas.AmazonS3IcebergStorage.properties.endpoint.type - schemas.AmazonS3IcebergStorage.properties.region.description - schemas.AmazonS3IcebergStorage.properties.region.type - schemas.AmazonS3IcebergStorage.properties.schemeType.description - schemas.AmazonS3IcebergStorage.properties.schemeType.enum - schemas.AmazonS3IcebergStorage.properties.schemeType.enumDescriptions - schemas.AmazonS3IcebergStorage.properties.schemeType.type - schemas.AmazonS3IcebergStorage.properties.secretAccessKeySecret.description - schemas.AmazonS3IcebergStorage.properties.secretAccessKeySecret.type - schemas.AmazonS3IcebergStorage.type - schemas.AzureDataLakeStorageIcebergStorage.description - schemas.AzureDataLakeStorageIcebergStorage.id - schemas.AzureDataLakeStorageIcebergStorage.properties.accountKeySecret.description - schemas.AzureDataLakeStorageIcebergStorage.properties.accountKeySecret.type - schemas.AzureDataLakeStorageIcebergStorage.properties.azureAccount.description - schemas.AzureDataLakeStorageIcebergStorage.properties.azureAccount.type - schemas.AzureDataLakeStorageIcebergStorage.properties.container.description - schemas.AzureDataLakeStorageIcebergStorage.properties.container.type - schemas.AzureDataLakeStorageIcebergStorage.properties.endpoint.description - schemas.AzureDataLakeStorageIcebergStorage.properties.endpoint.type - schemas.AzureDataLakeStorageIcebergStorage.type - schemas.DeploymentDiagnosticData.description - schemas.DeploymentDiagnosticData.id - schemas.DeploymentDiagnosticData.properties.bucket.description - schemas.DeploymentDiagnosticData.properties.bucket.readOnly - schemas.DeploymentDiagnosticData.properties.bucket.type - schemas.DeploymentDiagnosticData.properties.diagnosticEndTime.description - schemas.DeploymentDiagnosticData.properties.diagnosticEndTime.format - schemas.DeploymentDiagnosticData.properties.diagnosticEndTime.readOnly - schemas.DeploymentDiagnosticData.properties.diagnosticEndTime.type - schemas.DeploymentDiagnosticData.properties.diagnosticStartTime.description - schemas.DeploymentDiagnosticData.properties.diagnosticStartTime.format - schemas.DeploymentDiagnosticData.properties.diagnosticStartTime.readOnly - schemas.DeploymentDiagnosticData.properties.diagnosticStartTime.type - schemas.DeploymentDiagnosticData.properties.diagnosticState.description - schemas.DeploymentDiagnosticData.properties.diagnosticState.enum - schemas.DeploymentDiagnosticData.properties.diagnosticState.enumDescriptions - schemas.DeploymentDiagnosticData.properties.diagnosticState.readOnly - schemas.DeploymentDiagnosticData.properties.diagnosticState.type - schemas.DeploymentDiagnosticData.properties.namespace.description - schemas.DeploymentDiagnosticData.properties.namespace.readOnly - schemas.DeploymentDiagnosticData.properties.namespace.type - schemas.DeploymentDiagnosticData.properties.object.description - schemas.DeploymentDiagnosticData.properties.object.readOnly - schemas.DeploymentDiagnosticData.properties.object.type - schemas.DeploymentDiagnosticData.type - schemas.GlueIcebergCatalog.description - schemas.GlueIcebergCatalog.id - schemas.GlueIcebergCatalog.properties.glueId.description - schemas.GlueIcebergCatalog.properties.glueId.type - schemas.GlueIcebergCatalog.type - schemas.GoldengateAmazonKinesisConnectionProperties.description - schemas.GoldengateAmazonKinesisConnectionProperties.id - schemas.GoldengateAmazonKinesisConnectionProperties.properties.accessKeyId.description - schemas.GoldengateAmazonKinesisConnectionProperties.properties.accessKeyId.type - schemas.GoldengateAmazonKinesisConnectionProperties.properties.awsRegion.description - schemas.GoldengateAmazonKinesisConnectionProperties.properties.awsRegion.type - schemas.GoldengateAmazonKinesisConnectionProperties.properties.endpoint.description - schemas.GoldengateAmazonKinesisConnectionProperties.properties.endpoint.type - schemas.GoldengateAmazonKinesisConnectionProperties.properties.secretAccessKeySecret.description - schemas.GoldengateAmazonKinesisConnectionProperties.properties.secretAccessKeySecret.type - schemas.GoldengateAmazonKinesisConnectionProperties.properties.technologyType.description - schemas.GoldengateAmazonKinesisConnectionProperties.properties.technologyType.type - schemas.GoldengateAmazonKinesisConnectionProperties.type - schemas.GoldengateAmazonRedshiftConnectionProperties.description - schemas.GoldengateAmazonRedshiftConnectionProperties.id - schemas.GoldengateAmazonRedshiftConnectionProperties.properties.connectionUrl.description - schemas.GoldengateAmazonRedshiftConnectionProperties.properties.connectionUrl.type - schemas.GoldengateAmazonRedshiftConnectionProperties.properties.password.description - schemas.GoldengateAmazonRedshiftConnectionProperties.properties.password.type - schemas.GoldengateAmazonRedshiftConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateAmazonRedshiftConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateAmazonRedshiftConnectionProperties.properties.technologyType.description - schemas.GoldengateAmazonRedshiftConnectionProperties.properties.technologyType.type - schemas.GoldengateAmazonRedshiftConnectionProperties.properties.username.description - schemas.GoldengateAmazonRedshiftConnectionProperties.properties.username.type - schemas.GoldengateAmazonRedshiftConnectionProperties.type - schemas.GoldengateAmazonS3ConnectionProperties.description - schemas.GoldengateAmazonS3ConnectionProperties.id - schemas.GoldengateAmazonS3ConnectionProperties.properties.accessKeyId.description - schemas.GoldengateAmazonS3ConnectionProperties.properties.accessKeyId.type - schemas.GoldengateAmazonS3ConnectionProperties.properties.endpoint.description - schemas.GoldengateAmazonS3ConnectionProperties.properties.endpoint.type - schemas.GoldengateAmazonS3ConnectionProperties.properties.region.description - schemas.GoldengateAmazonS3ConnectionProperties.properties.region.type - schemas.GoldengateAmazonS3ConnectionProperties.properties.secretAccessKeySecret.description - schemas.GoldengateAmazonS3ConnectionProperties.properties.secretAccessKeySecret.type - schemas.GoldengateAmazonS3ConnectionProperties.properties.technologyType.description - schemas.GoldengateAmazonS3ConnectionProperties.properties.technologyType.type - schemas.GoldengateAmazonS3ConnectionProperties.type - schemas.GoldengateAzureDataLakeStorageConnectionProperties.description - schemas.GoldengateAzureDataLakeStorageConnectionProperties.id - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.account.description - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.account.type - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.accountKeySecret.description - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.accountKeySecret.type - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.authenticationType.description - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.authenticationType.enum - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.authenticationType.enumDescriptions - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.authenticationType.type - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.azureAuthorityHost.description - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.azureAuthorityHost.type - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.azureTenantId.description - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.azureTenantId.type - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.clientId.description - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.clientId.type - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.clientSecret.description - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.clientSecret.type - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.endpoint.description - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.endpoint.type - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.sasTokenSecret.description - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.sasTokenSecret.type - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.technologyType.description - schemas.GoldengateAzureDataLakeStorageConnectionProperties.properties.technologyType.type - schemas.GoldengateAzureDataLakeStorageConnectionProperties.type - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.description - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.id - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.properties.connectionString.description - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.properties.connectionString.type - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.properties.password.description - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.properties.password.type - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.properties.technologyType.description - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.properties.technologyType.type - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.properties.username.description - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.properties.username.type - schemas.GoldengateAzureSynapseAnalyticsConnectionProperties.type - schemas.GoldengateBackupSchedule.description - schemas.GoldengateBackupSchedule.id - schemas.GoldengateBackupSchedule.properties.backupScheduledTime.description - schemas.GoldengateBackupSchedule.properties.backupScheduledTime.format - schemas.GoldengateBackupSchedule.properties.backupScheduledTime.readOnly - schemas.GoldengateBackupSchedule.properties.backupScheduledTime.type - schemas.GoldengateBackupSchedule.properties.bucket.description - schemas.GoldengateBackupSchedule.properties.bucket.readOnly - schemas.GoldengateBackupSchedule.properties.bucket.type - schemas.GoldengateBackupSchedule.properties.compartmentId.description - schemas.GoldengateBackupSchedule.properties.compartmentId.readOnly - schemas.GoldengateBackupSchedule.properties.compartmentId.type - schemas.GoldengateBackupSchedule.properties.frequencyBackupScheduled.description - schemas.GoldengateBackupSchedule.properties.frequencyBackupScheduled.enum - schemas.GoldengateBackupSchedule.properties.frequencyBackupScheduled.enumDescriptions - schemas.GoldengateBackupSchedule.properties.frequencyBackupScheduled.readOnly - schemas.GoldengateBackupSchedule.properties.frequencyBackupScheduled.type - schemas.GoldengateBackupSchedule.properties.metadataOnly.description - schemas.GoldengateBackupSchedule.properties.metadataOnly.readOnly - schemas.GoldengateBackupSchedule.properties.metadataOnly.type - schemas.GoldengateBackupSchedule.properties.namespace.description - schemas.GoldengateBackupSchedule.properties.namespace.readOnly - schemas.GoldengateBackupSchedule.properties.namespace.type - schemas.GoldengateBackupSchedule.type - schemas.GoldengateConnection.description - schemas.GoldengateConnection.id - schemas.GoldengateConnection.properties.createTime.description - schemas.GoldengateConnection.properties.createTime.format - schemas.GoldengateConnection.properties.createTime.readOnly - schemas.GoldengateConnection.properties.createTime.type - schemas.GoldengateConnection.properties.entitlementId.description - schemas.GoldengateConnection.properties.entitlementId.readOnly - schemas.GoldengateConnection.properties.entitlementId.type - schemas.GoldengateConnection.properties.gcpOracleZone.description - schemas.GoldengateConnection.properties.gcpOracleZone.type - schemas.GoldengateConnection.properties.labels.additionalProperties.type - schemas.GoldengateConnection.properties.labels.description - schemas.GoldengateConnection.properties.labels.type - schemas.GoldengateConnection.properties.name.description - schemas.GoldengateConnection.properties.name.type - schemas.GoldengateConnection.properties.ociUrl.description - schemas.GoldengateConnection.properties.ociUrl.readOnly - schemas.GoldengateConnection.properties.ociUrl.type - schemas.GoldengateConnection.properties.odbNetwork.description - schemas.GoldengateConnection.properties.odbNetwork.type - schemas.GoldengateConnection.properties.odbSubnet.description - schemas.GoldengateConnection.properties.odbSubnet.type - schemas.GoldengateConnection.properties.properties.$ref - schemas.GoldengateConnection.properties.properties.description - schemas.GoldengateConnection.type - schemas.GoldengateConnectionAssignment.description - schemas.GoldengateConnectionAssignment.id - schemas.GoldengateConnectionAssignment.properties.createTime.description - schemas.GoldengateConnectionAssignment.properties.createTime.format - schemas.GoldengateConnectionAssignment.properties.createTime.readOnly - schemas.GoldengateConnectionAssignment.properties.createTime.type - schemas.GoldengateConnectionAssignment.properties.displayName.description - schemas.GoldengateConnectionAssignment.properties.displayName.type - schemas.GoldengateConnectionAssignment.properties.entitlementId.description - schemas.GoldengateConnectionAssignment.properties.entitlementId.readOnly - schemas.GoldengateConnectionAssignment.properties.entitlementId.type - schemas.GoldengateConnectionAssignment.properties.labels.additionalProperties.type - schemas.GoldengateConnectionAssignment.properties.labels.description - schemas.GoldengateConnectionAssignment.properties.labels.type - schemas.GoldengateConnectionAssignment.properties.name.description - schemas.GoldengateConnectionAssignment.properties.name.type - schemas.GoldengateConnectionAssignment.properties.properties.$ref - schemas.GoldengateConnectionAssignment.properties.properties.description - schemas.GoldengateConnectionAssignment.type - schemas.GoldengateConnectionAssignmentProperties.description - schemas.GoldengateConnectionAssignmentProperties.id - schemas.GoldengateConnectionAssignmentProperties.properties.alias.description - schemas.GoldengateConnectionAssignmentProperties.properties.alias.readOnly - schemas.GoldengateConnectionAssignmentProperties.properties.alias.type - schemas.GoldengateConnectionAssignmentProperties.properties.goldengateConnection.description - schemas.GoldengateConnectionAssignmentProperties.properties.goldengateConnection.type - schemas.GoldengateConnectionAssignmentProperties.properties.goldengateDeployment.description - schemas.GoldengateConnectionAssignmentProperties.properties.goldengateDeployment.type - schemas.GoldengateConnectionAssignmentProperties.properties.ocid.description - schemas.GoldengateConnectionAssignmentProperties.properties.ocid.readOnly - schemas.GoldengateConnectionAssignmentProperties.properties.ocid.type - schemas.GoldengateConnectionAssignmentProperties.properties.state.description - schemas.GoldengateConnectionAssignmentProperties.properties.state.enum - schemas.GoldengateConnectionAssignmentProperties.properties.state.enumDescriptions - schemas.GoldengateConnectionAssignmentProperties.properties.state.readOnly - schemas.GoldengateConnectionAssignmentProperties.properties.state.type - schemas.GoldengateConnectionAssignmentProperties.type - schemas.GoldengateConnectionProperties.description - schemas.GoldengateConnectionProperties.id - schemas.GoldengateConnectionProperties.properties.amazonKinesisConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.amazonKinesisConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.amazonRedshiftConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.amazonRedshiftConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.amazonS3ConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.amazonS3ConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.azureDataLakeStorageConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.azureDataLakeStorageConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.azureSynapseAnalyticsConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.azureSynapseAnalyticsConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.connectionType.description - schemas.GoldengateConnectionProperties.properties.connectionType.enum - schemas.GoldengateConnectionProperties.properties.connectionType.enumDescriptions - schemas.GoldengateConnectionProperties.properties.connectionType.type - schemas.GoldengateConnectionProperties.properties.databricksConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.databricksConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.db2ConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.db2ConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.description.description - schemas.GoldengateConnectionProperties.properties.description.type - schemas.GoldengateConnectionProperties.properties.displayName.description - schemas.GoldengateConnectionProperties.properties.displayName.type - schemas.GoldengateConnectionProperties.properties.elasticsearchConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.elasticsearchConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.genericConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.genericConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.goldengateConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.goldengateConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.googleBigQueryConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.googleBigQueryConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.googleCloudStorageConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.googleCloudStorageConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.googlePubsubConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.googlePubsubConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.hdfsConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.hdfsConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.icebergConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.icebergConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.ingressIpAddresses.description - schemas.GoldengateConnectionProperties.properties.ingressIpAddresses.items.type - schemas.GoldengateConnectionProperties.properties.ingressIpAddresses.readOnly - schemas.GoldengateConnectionProperties.properties.ingressIpAddresses.type - schemas.GoldengateConnectionProperties.properties.javaMessageServiceConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.javaMessageServiceConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.kafkaConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.kafkaConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.kafkaSchemaRegistryConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.kafkaSchemaRegistryConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.lifecycleDetails.description - schemas.GoldengateConnectionProperties.properties.lifecycleDetails.readOnly - schemas.GoldengateConnectionProperties.properties.lifecycleDetails.type - schemas.GoldengateConnectionProperties.properties.lifecycleState.description - schemas.GoldengateConnectionProperties.properties.lifecycleState.enum - schemas.GoldengateConnectionProperties.properties.lifecycleState.enumDescriptions - schemas.GoldengateConnectionProperties.properties.lifecycleState.readOnly - schemas.GoldengateConnectionProperties.properties.lifecycleState.type - schemas.GoldengateConnectionProperties.properties.microsoftFabricConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.microsoftFabricConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.microsoftSqlserverConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.microsoftSqlserverConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.mongodbConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.mongodbConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.mysqlConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.mysqlConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.ociObjectStorageConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.ociObjectStorageConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.ocid.description - schemas.GoldengateConnectionProperties.properties.ocid.readOnly - schemas.GoldengateConnectionProperties.properties.ocid.type - schemas.GoldengateConnectionProperties.properties.oracleAiDataPlatformConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.oracleAiDataPlatformConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.oracleConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.oracleConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.oracleNosqlConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.oracleNosqlConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.postgresqlConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.postgresqlConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.redisConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.redisConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.routingMethod.description - schemas.GoldengateConnectionProperties.properties.routingMethod.enum - schemas.GoldengateConnectionProperties.properties.routingMethod.enumDescriptions - schemas.GoldengateConnectionProperties.properties.routingMethod.type - schemas.GoldengateConnectionProperties.properties.snowflakeConnectionProperties.$ref - schemas.GoldengateConnectionProperties.properties.snowflakeConnectionProperties.description - schemas.GoldengateConnectionProperties.properties.updateTime.description - schemas.GoldengateConnectionProperties.properties.updateTime.format - schemas.GoldengateConnectionProperties.properties.updateTime.readOnly - schemas.GoldengateConnectionProperties.properties.updateTime.type - schemas.GoldengateConnectionProperties.type - schemas.GoldengateConnectionType.description - schemas.GoldengateConnectionType.id - schemas.GoldengateConnectionType.properties.connectionType.description - schemas.GoldengateConnectionType.properties.connectionType.enum - schemas.GoldengateConnectionType.properties.connectionType.enumDescriptions - schemas.GoldengateConnectionType.properties.connectionType.readOnly - schemas.GoldengateConnectionType.properties.connectionType.type - schemas.GoldengateConnectionType.properties.name.description - schemas.GoldengateConnectionType.properties.name.type - schemas.GoldengateConnectionType.properties.technologyTypes.description - schemas.GoldengateConnectionType.properties.technologyTypes.items.type - schemas.GoldengateConnectionType.properties.technologyTypes.readOnly - schemas.GoldengateConnectionType.properties.technologyTypes.type - schemas.GoldengateConnectionType.type - schemas.GoldengateDatabricksConnectionProperties.description - schemas.GoldengateDatabricksConnectionProperties.id - schemas.GoldengateDatabricksConnectionProperties.properties.authenticationType.description - schemas.GoldengateDatabricksConnectionProperties.properties.authenticationType.enum - schemas.GoldengateDatabricksConnectionProperties.properties.authenticationType.enumDescriptions - schemas.GoldengateDatabricksConnectionProperties.properties.authenticationType.type - schemas.GoldengateDatabricksConnectionProperties.properties.clientId.description - schemas.GoldengateDatabricksConnectionProperties.properties.clientId.type - schemas.GoldengateDatabricksConnectionProperties.properties.clientSecret.description - schemas.GoldengateDatabricksConnectionProperties.properties.clientSecret.type - schemas.GoldengateDatabricksConnectionProperties.properties.connectionUrl.description - schemas.GoldengateDatabricksConnectionProperties.properties.connectionUrl.type - schemas.GoldengateDatabricksConnectionProperties.properties.password.description - schemas.GoldengateDatabricksConnectionProperties.properties.password.type - schemas.GoldengateDatabricksConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateDatabricksConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateDatabricksConnectionProperties.properties.storageCredential.description - schemas.GoldengateDatabricksConnectionProperties.properties.storageCredential.type - schemas.GoldengateDatabricksConnectionProperties.properties.technologyType.description - schemas.GoldengateDatabricksConnectionProperties.properties.technologyType.type - schemas.GoldengateDatabricksConnectionProperties.type - schemas.GoldengateDb2ConnectionProperties.description - schemas.GoldengateDb2ConnectionProperties.id - schemas.GoldengateDb2ConnectionProperties.properties.additionalAttributes.description - schemas.GoldengateDb2ConnectionProperties.properties.additionalAttributes.items.$ref - schemas.GoldengateDb2ConnectionProperties.properties.additionalAttributes.type - schemas.GoldengateDb2ConnectionProperties.properties.database.description - schemas.GoldengateDb2ConnectionProperties.properties.database.type - schemas.GoldengateDb2ConnectionProperties.properties.host.description - schemas.GoldengateDb2ConnectionProperties.properties.host.type - schemas.GoldengateDb2ConnectionProperties.properties.password.description - schemas.GoldengateDb2ConnectionProperties.properties.password.type - schemas.GoldengateDb2ConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateDb2ConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateDb2ConnectionProperties.properties.port.description - schemas.GoldengateDb2ConnectionProperties.properties.port.format - schemas.GoldengateDb2ConnectionProperties.properties.port.type - schemas.GoldengateDb2ConnectionProperties.properties.securityProtocol.description - schemas.GoldengateDb2ConnectionProperties.properties.securityProtocol.enum - schemas.GoldengateDb2ConnectionProperties.properties.securityProtocol.enumDescriptions - schemas.GoldengateDb2ConnectionProperties.properties.securityProtocol.type - schemas.GoldengateDb2ConnectionProperties.properties.sslClientKeystashFile.description - schemas.GoldengateDb2ConnectionProperties.properties.sslClientKeystashFile.type - schemas.GoldengateDb2ConnectionProperties.properties.sslClientKeystoredbFile.description - schemas.GoldengateDb2ConnectionProperties.properties.sslClientKeystoredbFile.type - schemas.GoldengateDb2ConnectionProperties.properties.sslServerCertificateFile.description - schemas.GoldengateDb2ConnectionProperties.properties.sslServerCertificateFile.type - schemas.GoldengateDb2ConnectionProperties.properties.technologyType.description - schemas.GoldengateDb2ConnectionProperties.properties.technologyType.type - schemas.GoldengateDb2ConnectionProperties.properties.username.description - schemas.GoldengateDb2ConnectionProperties.properties.username.type - schemas.GoldengateDb2ConnectionProperties.type - schemas.GoldengateDeployment.description - schemas.GoldengateDeployment.id - schemas.GoldengateDeployment.properties.createTime.description - schemas.GoldengateDeployment.properties.createTime.format - schemas.GoldengateDeployment.properties.createTime.readOnly - schemas.GoldengateDeployment.properties.createTime.type - schemas.GoldengateDeployment.properties.displayName.description - schemas.GoldengateDeployment.properties.displayName.type - schemas.GoldengateDeployment.properties.entitlementId.description - schemas.GoldengateDeployment.properties.entitlementId.readOnly - schemas.GoldengateDeployment.properties.entitlementId.type - schemas.GoldengateDeployment.properties.gcpOracleZone.description - schemas.GoldengateDeployment.properties.gcpOracleZone.type - schemas.GoldengateDeployment.properties.labels.additionalProperties.type - schemas.GoldengateDeployment.properties.labels.description - schemas.GoldengateDeployment.properties.labels.type - schemas.GoldengateDeployment.properties.name.description - schemas.GoldengateDeployment.properties.name.type - schemas.GoldengateDeployment.properties.ociUrl.description - schemas.GoldengateDeployment.properties.ociUrl.readOnly - schemas.GoldengateDeployment.properties.ociUrl.type - schemas.GoldengateDeployment.properties.odbNetwork.description - schemas.GoldengateDeployment.properties.odbNetwork.type - schemas.GoldengateDeployment.properties.odbSubnet.description - schemas.GoldengateDeployment.properties.odbSubnet.type - schemas.GoldengateDeployment.properties.properties.$ref - schemas.GoldengateDeployment.properties.properties.description - schemas.GoldengateDeployment.type - schemas.GoldengateDeploymentEnvironment.description - schemas.GoldengateDeploymentEnvironment.id - schemas.GoldengateDeploymentEnvironment.properties.autoScalingEnabled.description - schemas.GoldengateDeploymentEnvironment.properties.autoScalingEnabled.readOnly - schemas.GoldengateDeploymentEnvironment.properties.autoScalingEnabled.type - schemas.GoldengateDeploymentEnvironment.properties.category.description - schemas.GoldengateDeploymentEnvironment.properties.category.enum - schemas.GoldengateDeploymentEnvironment.properties.category.enumDescriptions - schemas.GoldengateDeploymentEnvironment.properties.category.readOnly - schemas.GoldengateDeploymentEnvironment.properties.category.type - schemas.GoldengateDeploymentEnvironment.properties.defaultCpuCoreCount.description - schemas.GoldengateDeploymentEnvironment.properties.defaultCpuCoreCount.format - schemas.GoldengateDeploymentEnvironment.properties.defaultCpuCoreCount.readOnly - schemas.GoldengateDeploymentEnvironment.properties.defaultCpuCoreCount.type - schemas.GoldengateDeploymentEnvironment.properties.displayName.description - schemas.GoldengateDeploymentEnvironment.properties.displayName.type - schemas.GoldengateDeploymentEnvironment.properties.environmentType.description - schemas.GoldengateDeploymentEnvironment.properties.environmentType.enum - schemas.GoldengateDeploymentEnvironment.properties.environmentType.enumDescriptions - schemas.GoldengateDeploymentEnvironment.properties.environmentType.readOnly - schemas.GoldengateDeploymentEnvironment.properties.environmentType.type - schemas.GoldengateDeploymentEnvironment.properties.maxCpuCoreCount.description - schemas.GoldengateDeploymentEnvironment.properties.maxCpuCoreCount.format - schemas.GoldengateDeploymentEnvironment.properties.maxCpuCoreCount.readOnly - schemas.GoldengateDeploymentEnvironment.properties.maxCpuCoreCount.type - schemas.GoldengateDeploymentEnvironment.properties.memoryGbPerCpuCore.description - schemas.GoldengateDeploymentEnvironment.properties.memoryGbPerCpuCore.format - schemas.GoldengateDeploymentEnvironment.properties.memoryGbPerCpuCore.readOnly - schemas.GoldengateDeploymentEnvironment.properties.memoryGbPerCpuCore.type - schemas.GoldengateDeploymentEnvironment.properties.minCpuCoreCount.description - schemas.GoldengateDeploymentEnvironment.properties.minCpuCoreCount.format - schemas.GoldengateDeploymentEnvironment.properties.minCpuCoreCount.readOnly - schemas.GoldengateDeploymentEnvironment.properties.minCpuCoreCount.type - schemas.GoldengateDeploymentEnvironment.properties.name.description - schemas.GoldengateDeploymentEnvironment.properties.name.type - schemas.GoldengateDeploymentEnvironment.properties.networkBandwidthGbpsPerCpuCore.description - schemas.GoldengateDeploymentEnvironment.properties.networkBandwidthGbpsPerCpuCore.format - schemas.GoldengateDeploymentEnvironment.properties.networkBandwidthGbpsPerCpuCore.readOnly - schemas.GoldengateDeploymentEnvironment.properties.networkBandwidthGbpsPerCpuCore.type - schemas.GoldengateDeploymentEnvironment.properties.storageUsageLimitGbPerCpuCore.description - schemas.GoldengateDeploymentEnvironment.properties.storageUsageLimitGbPerCpuCore.format - schemas.GoldengateDeploymentEnvironment.properties.storageUsageLimitGbPerCpuCore.readOnly - schemas.GoldengateDeploymentEnvironment.properties.storageUsageLimitGbPerCpuCore.type - schemas.GoldengateDeploymentEnvironment.type - schemas.GoldengateDeploymentLock.description - schemas.GoldengateDeploymentLock.id - schemas.GoldengateDeploymentLock.properties.compartmentId.description - schemas.GoldengateDeploymentLock.properties.compartmentId.readOnly - schemas.GoldengateDeploymentLock.properties.compartmentId.type - schemas.GoldengateDeploymentLock.properties.createTime.description - schemas.GoldengateDeploymentLock.properties.createTime.format - schemas.GoldengateDeploymentLock.properties.createTime.readOnly - schemas.GoldengateDeploymentLock.properties.createTime.type - schemas.GoldengateDeploymentLock.properties.message.description - schemas.GoldengateDeploymentLock.properties.message.readOnly - schemas.GoldengateDeploymentLock.properties.message.type - schemas.GoldengateDeploymentLock.properties.relatedResourceId.description - schemas.GoldengateDeploymentLock.properties.relatedResourceId.readOnly - schemas.GoldengateDeploymentLock.properties.relatedResourceId.type - schemas.GoldengateDeploymentLock.properties.type.description - schemas.GoldengateDeploymentLock.properties.type.enum - schemas.GoldengateDeploymentLock.properties.type.enumDescriptions - schemas.GoldengateDeploymentLock.properties.type.readOnly - schemas.GoldengateDeploymentLock.properties.type.type - schemas.GoldengateDeploymentLock.type - schemas.GoldengateDeploymentProperties.description - schemas.GoldengateDeploymentProperties.id - schemas.GoldengateDeploymentProperties.properties.backupSchedule.$ref - schemas.GoldengateDeploymentProperties.properties.backupSchedule.description - schemas.GoldengateDeploymentProperties.properties.backupSchedule.readOnly - schemas.GoldengateDeploymentProperties.properties.category.description - schemas.GoldengateDeploymentProperties.properties.category.enum - schemas.GoldengateDeploymentProperties.properties.category.enumDescriptions - schemas.GoldengateDeploymentProperties.properties.category.readOnly - schemas.GoldengateDeploymentProperties.properties.category.type - schemas.GoldengateDeploymentProperties.properties.cpuCoreCount.description - schemas.GoldengateDeploymentProperties.properties.cpuCoreCount.format - schemas.GoldengateDeploymentProperties.properties.cpuCoreCount.type - schemas.GoldengateDeploymentProperties.properties.deploymentBackupId.description - schemas.GoldengateDeploymentProperties.properties.deploymentBackupId.readOnly - schemas.GoldengateDeploymentProperties.properties.deploymentBackupId.type - schemas.GoldengateDeploymentProperties.properties.deploymentDiagnosticData.$ref - schemas.GoldengateDeploymentProperties.properties.deploymentDiagnosticData.description - schemas.GoldengateDeploymentProperties.properties.deploymentDiagnosticData.readOnly - schemas.GoldengateDeploymentProperties.properties.deploymentRole.description - schemas.GoldengateDeploymentProperties.properties.deploymentRole.enum - schemas.GoldengateDeploymentProperties.properties.deploymentRole.enumDescriptions - schemas.GoldengateDeploymentProperties.properties.deploymentRole.readOnly - schemas.GoldengateDeploymentProperties.properties.deploymentRole.type - schemas.GoldengateDeploymentProperties.properties.deploymentType.description - schemas.GoldengateDeploymentProperties.properties.deploymentType.type - schemas.GoldengateDeploymentProperties.properties.deploymentUrl.description - schemas.GoldengateDeploymentProperties.properties.deploymentUrl.readOnly - schemas.GoldengateDeploymentProperties.properties.deploymentUrl.type - schemas.GoldengateDeploymentProperties.properties.description.description - schemas.GoldengateDeploymentProperties.properties.description.type - schemas.GoldengateDeploymentProperties.properties.environmentType.description - schemas.GoldengateDeploymentProperties.properties.environmentType.type - schemas.GoldengateDeploymentProperties.properties.fqdn.description - schemas.GoldengateDeploymentProperties.properties.fqdn.readOnly - schemas.GoldengateDeploymentProperties.properties.fqdn.type - schemas.GoldengateDeploymentProperties.properties.healthy.description - schemas.GoldengateDeploymentProperties.properties.healthy.readOnly - schemas.GoldengateDeploymentProperties.properties.healthy.type - schemas.GoldengateDeploymentProperties.properties.ingressIps.description - schemas.GoldengateDeploymentProperties.properties.ingressIps.items.$ref - schemas.GoldengateDeploymentProperties.properties.ingressIps.readOnly - schemas.GoldengateDeploymentProperties.properties.ingressIps.type - schemas.GoldengateDeploymentProperties.properties.isAutoScalingEnabled.description - schemas.GoldengateDeploymentProperties.properties.isAutoScalingEnabled.type - schemas.GoldengateDeploymentProperties.properties.isLatestVersion.description - schemas.GoldengateDeploymentProperties.properties.isLatestVersion.readOnly - schemas.GoldengateDeploymentProperties.properties.isLatestVersion.type - schemas.GoldengateDeploymentProperties.properties.isPublic.description - schemas.GoldengateDeploymentProperties.properties.isPublic.readOnly - schemas.GoldengateDeploymentProperties.properties.isPublic.type - schemas.GoldengateDeploymentProperties.properties.isStorageUtilizationLimitExceeded.description - schemas.GoldengateDeploymentProperties.properties.isStorageUtilizationLimitExceeded.readOnly - schemas.GoldengateDeploymentProperties.properties.isStorageUtilizationLimitExceeded.type - schemas.GoldengateDeploymentProperties.properties.lastBackupScheduleTime.description - schemas.GoldengateDeploymentProperties.properties.lastBackupScheduleTime.format - schemas.GoldengateDeploymentProperties.properties.lastBackupScheduleTime.readOnly - schemas.GoldengateDeploymentProperties.properties.lastBackupScheduleTime.type - schemas.GoldengateDeploymentProperties.properties.licenseModel.description - schemas.GoldengateDeploymentProperties.properties.licenseModel.enum - schemas.GoldengateDeploymentProperties.properties.licenseModel.enumDescriptions - schemas.GoldengateDeploymentProperties.properties.licenseModel.type - schemas.GoldengateDeploymentProperties.properties.lifecycleDetails.description - schemas.GoldengateDeploymentProperties.properties.lifecycleDetails.readOnly - schemas.GoldengateDeploymentProperties.properties.lifecycleDetails.type - schemas.GoldengateDeploymentProperties.properties.lifecycleState.description - schemas.GoldengateDeploymentProperties.properties.lifecycleState.enum - schemas.GoldengateDeploymentProperties.properties.lifecycleState.enumDescriptions - schemas.GoldengateDeploymentProperties.properties.lifecycleState.readOnly - schemas.GoldengateDeploymentProperties.properties.lifecycleState.type - schemas.GoldengateDeploymentProperties.properties.lifecycleSubState.description - schemas.GoldengateDeploymentProperties.properties.lifecycleSubState.enum - schemas.GoldengateDeploymentProperties.properties.lifecycleSubState.enumDescriptions - schemas.GoldengateDeploymentProperties.properties.lifecycleSubState.readOnly - schemas.GoldengateDeploymentProperties.properties.lifecycleSubState.type - schemas.GoldengateDeploymentProperties.properties.loadBalancerId.description - schemas.GoldengateDeploymentProperties.properties.loadBalancerId.readOnly - schemas.GoldengateDeploymentProperties.properties.loadBalancerId.type - schemas.GoldengateDeploymentProperties.properties.loadBalancerSubnetId.description - schemas.GoldengateDeploymentProperties.properties.loadBalancerSubnetId.readOnly - schemas.GoldengateDeploymentProperties.properties.loadBalancerSubnetId.type - schemas.GoldengateDeploymentProperties.properties.locks.description - schemas.GoldengateDeploymentProperties.properties.locks.items.$ref - schemas.GoldengateDeploymentProperties.properties.locks.readOnly - schemas.GoldengateDeploymentProperties.properties.locks.type - schemas.GoldengateDeploymentProperties.properties.maintenanceConfig.$ref - schemas.GoldengateDeploymentProperties.properties.maintenanceConfig.description - schemas.GoldengateDeploymentProperties.properties.maintenanceWindow.$ref - schemas.GoldengateDeploymentProperties.properties.maintenanceWindow.description - schemas.GoldengateDeploymentProperties.properties.nextBackupScheduleTime.description - schemas.GoldengateDeploymentProperties.properties.nextBackupScheduleTime.format - schemas.GoldengateDeploymentProperties.properties.nextBackupScheduleTime.readOnly - schemas.GoldengateDeploymentProperties.properties.nextBackupScheduleTime.type - schemas.GoldengateDeploymentProperties.properties.nextMaintenanceActionType.description - schemas.GoldengateDeploymentProperties.properties.nextMaintenanceActionType.enum - schemas.GoldengateDeploymentProperties.properties.nextMaintenanceActionType.enumDescriptions - schemas.GoldengateDeploymentProperties.properties.nextMaintenanceActionType.readOnly - schemas.GoldengateDeploymentProperties.properties.nextMaintenanceActionType.type - schemas.GoldengateDeploymentProperties.properties.nextMaintenanceDescription.description - schemas.GoldengateDeploymentProperties.properties.nextMaintenanceDescription.readOnly - schemas.GoldengateDeploymentProperties.properties.nextMaintenanceDescription.type - schemas.GoldengateDeploymentProperties.properties.nextMaintenanceTime.description - schemas.GoldengateDeploymentProperties.properties.nextMaintenanceTime.format - schemas.GoldengateDeploymentProperties.properties.nextMaintenanceTime.readOnly - schemas.GoldengateDeploymentProperties.properties.nextMaintenanceTime.type - schemas.GoldengateDeploymentProperties.properties.nsgIds.description - schemas.GoldengateDeploymentProperties.properties.nsgIds.items.type - schemas.GoldengateDeploymentProperties.properties.nsgIds.readOnly - schemas.GoldengateDeploymentProperties.properties.nsgIds.type - schemas.GoldengateDeploymentProperties.properties.ocid.description - schemas.GoldengateDeploymentProperties.properties.ocid.readOnly - schemas.GoldengateDeploymentProperties.properties.ocid.type - schemas.GoldengateDeploymentProperties.properties.oggData.$ref - schemas.GoldengateDeploymentProperties.properties.oggData.description - schemas.GoldengateDeploymentProperties.properties.oggVersionSupportEndTime.description - schemas.GoldengateDeploymentProperties.properties.oggVersionSupportEndTime.format - schemas.GoldengateDeploymentProperties.properties.oggVersionSupportEndTime.readOnly - schemas.GoldengateDeploymentProperties.properties.oggVersionSupportEndTime.type - schemas.GoldengateDeploymentProperties.properties.placements.description - schemas.GoldengateDeploymentProperties.properties.placements.items.$ref - schemas.GoldengateDeploymentProperties.properties.placements.readOnly - schemas.GoldengateDeploymentProperties.properties.placements.type - schemas.GoldengateDeploymentProperties.properties.privateIpAddress.description - schemas.GoldengateDeploymentProperties.properties.privateIpAddress.readOnly - schemas.GoldengateDeploymentProperties.properties.privateIpAddress.type - schemas.GoldengateDeploymentProperties.properties.publicIpAddress.description - schemas.GoldengateDeploymentProperties.properties.publicIpAddress.readOnly - schemas.GoldengateDeploymentProperties.properties.publicIpAddress.type - schemas.GoldengateDeploymentProperties.properties.roleChangeTime.description - schemas.GoldengateDeploymentProperties.properties.roleChangeTime.format - schemas.GoldengateDeploymentProperties.properties.roleChangeTime.readOnly - schemas.GoldengateDeploymentProperties.properties.roleChangeTime.type - schemas.GoldengateDeploymentProperties.properties.storageUtilizationBytes.description - schemas.GoldengateDeploymentProperties.properties.storageUtilizationBytes.format - schemas.GoldengateDeploymentProperties.properties.storageUtilizationBytes.readOnly - schemas.GoldengateDeploymentProperties.properties.storageUtilizationBytes.type - schemas.GoldengateDeploymentProperties.properties.updateTime.description - schemas.GoldengateDeploymentProperties.properties.updateTime.format - schemas.GoldengateDeploymentProperties.properties.updateTime.readOnly - schemas.GoldengateDeploymentProperties.properties.updateTime.type - schemas.GoldengateDeploymentProperties.properties.upgradeRequiredTime.description - schemas.GoldengateDeploymentProperties.properties.upgradeRequiredTime.format - schemas.GoldengateDeploymentProperties.properties.upgradeRequiredTime.readOnly - schemas.GoldengateDeploymentProperties.properties.upgradeRequiredTime.type - schemas.GoldengateDeploymentProperties.type - schemas.GoldengateDeploymentType.description - schemas.GoldengateDeploymentType.id - schemas.GoldengateDeploymentType.properties.category.description - schemas.GoldengateDeploymentType.properties.category.enum - schemas.GoldengateDeploymentType.properties.category.enumDescriptions - schemas.GoldengateDeploymentType.properties.category.readOnly - schemas.GoldengateDeploymentType.properties.category.type - schemas.GoldengateDeploymentType.properties.connectionTypes.description - schemas.GoldengateDeploymentType.properties.connectionTypes.items.type - schemas.GoldengateDeploymentType.properties.connectionTypes.readOnly - schemas.GoldengateDeploymentType.properties.connectionTypes.type - schemas.GoldengateDeploymentType.properties.defaultUsername.description - schemas.GoldengateDeploymentType.properties.defaultUsername.readOnly - schemas.GoldengateDeploymentType.properties.defaultUsername.type - schemas.GoldengateDeploymentType.properties.deploymentType.description - schemas.GoldengateDeploymentType.properties.deploymentType.enum - schemas.GoldengateDeploymentType.properties.deploymentType.enumDescriptions - schemas.GoldengateDeploymentType.properties.deploymentType.readOnly - schemas.GoldengateDeploymentType.properties.deploymentType.type - schemas.GoldengateDeploymentType.properties.displayName.description - schemas.GoldengateDeploymentType.properties.displayName.readOnly - schemas.GoldengateDeploymentType.properties.displayName.type - schemas.GoldengateDeploymentType.properties.name.description - schemas.GoldengateDeploymentType.properties.name.type - schemas.GoldengateDeploymentType.properties.oggVersion.description - schemas.GoldengateDeploymentType.properties.oggVersion.readOnly - schemas.GoldengateDeploymentType.properties.oggVersion.type - schemas.GoldengateDeploymentType.properties.sourceTechnologies.description - schemas.GoldengateDeploymentType.properties.sourceTechnologies.items.type - schemas.GoldengateDeploymentType.properties.sourceTechnologies.readOnly - schemas.GoldengateDeploymentType.properties.sourceTechnologies.type - schemas.GoldengateDeploymentType.properties.supportedCapabilities.description - schemas.GoldengateDeploymentType.properties.supportedCapabilities.items.type - schemas.GoldengateDeploymentType.properties.supportedCapabilities.readOnly - schemas.GoldengateDeploymentType.properties.supportedCapabilities.type - schemas.GoldengateDeploymentType.properties.supportedTechnologiesUrl.description - schemas.GoldengateDeploymentType.properties.supportedTechnologiesUrl.readOnly - schemas.GoldengateDeploymentType.properties.supportedTechnologiesUrl.type - schemas.GoldengateDeploymentType.properties.targetTechnologies.description - schemas.GoldengateDeploymentType.properties.targetTechnologies.items.type - schemas.GoldengateDeploymentType.properties.targetTechnologies.readOnly - schemas.GoldengateDeploymentType.properties.targetTechnologies.type - schemas.GoldengateDeploymentType.type - schemas.GoldengateDeploymentVersion.description - schemas.GoldengateDeploymentVersion.id - schemas.GoldengateDeploymentVersion.properties.name.description - schemas.GoldengateDeploymentVersion.properties.name.type - schemas.GoldengateDeploymentVersion.properties.ocid.description - schemas.GoldengateDeploymentVersion.properties.ocid.readOnly - schemas.GoldengateDeploymentVersion.properties.ocid.type - schemas.GoldengateDeploymentVersion.properties.properties.$ref - schemas.GoldengateDeploymentVersion.properties.properties.description - schemas.GoldengateDeploymentVersion.properties.properties.readOnly - schemas.GoldengateDeploymentVersion.type - schemas.GoldengateDeploymentVersionProperties.description - schemas.GoldengateDeploymentVersionProperties.id - schemas.GoldengateDeploymentVersionProperties.properties.deploymentType.description - schemas.GoldengateDeploymentVersionProperties.properties.deploymentType.enum - schemas.GoldengateDeploymentVersionProperties.properties.deploymentType.enumDescriptions - schemas.GoldengateDeploymentVersionProperties.properties.deploymentType.readOnly - schemas.GoldengateDeploymentVersionProperties.properties.deploymentType.type - schemas.GoldengateDeploymentVersionProperties.properties.oggVersion.description - schemas.GoldengateDeploymentVersionProperties.properties.oggVersion.readOnly - schemas.GoldengateDeploymentVersionProperties.properties.oggVersion.type - schemas.GoldengateDeploymentVersionProperties.properties.releaseTime.description - schemas.GoldengateDeploymentVersionProperties.properties.releaseTime.format - schemas.GoldengateDeploymentVersionProperties.properties.releaseTime.readOnly - schemas.GoldengateDeploymentVersionProperties.properties.releaseTime.type - schemas.GoldengateDeploymentVersionProperties.properties.releaseType.description - schemas.GoldengateDeploymentVersionProperties.properties.releaseType.enum - schemas.GoldengateDeploymentVersionProperties.properties.releaseType.enumDescriptions - schemas.GoldengateDeploymentVersionProperties.properties.releaseType.readOnly - schemas.GoldengateDeploymentVersionProperties.properties.releaseType.type - schemas.GoldengateDeploymentVersionProperties.properties.securityFix.description - schemas.GoldengateDeploymentVersionProperties.properties.securityFix.type - schemas.GoldengateDeploymentVersionProperties.properties.supportEndTime.description - schemas.GoldengateDeploymentVersionProperties.properties.supportEndTime.format - schemas.GoldengateDeploymentVersionProperties.properties.supportEndTime.readOnly - schemas.GoldengateDeploymentVersionProperties.properties.supportEndTime.type - schemas.GoldengateDeploymentVersionProperties.type - schemas.GoldengateElasticsearchConnectionProperties.description - schemas.GoldengateElasticsearchConnectionProperties.id - schemas.GoldengateElasticsearchConnectionProperties.properties.authenticationType.description - schemas.GoldengateElasticsearchConnectionProperties.properties.authenticationType.enum - schemas.GoldengateElasticsearchConnectionProperties.properties.authenticationType.enumDescriptions - schemas.GoldengateElasticsearchConnectionProperties.properties.authenticationType.type - schemas.GoldengateElasticsearchConnectionProperties.properties.fingerprint.description - schemas.GoldengateElasticsearchConnectionProperties.properties.fingerprint.type - schemas.GoldengateElasticsearchConnectionProperties.properties.password.description - schemas.GoldengateElasticsearchConnectionProperties.properties.password.type - schemas.GoldengateElasticsearchConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateElasticsearchConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateElasticsearchConnectionProperties.properties.securityProtocol.description - schemas.GoldengateElasticsearchConnectionProperties.properties.securityProtocol.enum - schemas.GoldengateElasticsearchConnectionProperties.properties.securityProtocol.enumDescriptions - schemas.GoldengateElasticsearchConnectionProperties.properties.securityProtocol.type - schemas.GoldengateElasticsearchConnectionProperties.properties.servers.description - schemas.GoldengateElasticsearchConnectionProperties.properties.servers.type - schemas.GoldengateElasticsearchConnectionProperties.properties.technologyType.description - schemas.GoldengateElasticsearchConnectionProperties.properties.technologyType.type - schemas.GoldengateElasticsearchConnectionProperties.properties.username.description - schemas.GoldengateElasticsearchConnectionProperties.properties.username.type - schemas.GoldengateElasticsearchConnectionProperties.type - schemas.GoldengateGenericConnectionProperties.description - schemas.GoldengateGenericConnectionProperties.id - schemas.GoldengateGenericConnectionProperties.properties.host.description - schemas.GoldengateGenericConnectionProperties.properties.host.type - schemas.GoldengateGenericConnectionProperties.properties.technologyType.description - schemas.GoldengateGenericConnectionProperties.properties.technologyType.type - schemas.GoldengateGenericConnectionProperties.type - schemas.GoldengateGoldengateConnectionProperties.description - schemas.GoldengateGoldengateConnectionProperties.id - schemas.GoldengateGoldengateConnectionProperties.properties.goldengateDeploymentId.description - schemas.GoldengateGoldengateConnectionProperties.properties.goldengateDeploymentId.type - schemas.GoldengateGoldengateConnectionProperties.properties.host.description - schemas.GoldengateGoldengateConnectionProperties.properties.host.type - schemas.GoldengateGoldengateConnectionProperties.properties.password.description - schemas.GoldengateGoldengateConnectionProperties.properties.password.type - schemas.GoldengateGoldengateConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateGoldengateConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateGoldengateConnectionProperties.properties.port.description - schemas.GoldengateGoldengateConnectionProperties.properties.port.format - schemas.GoldengateGoldengateConnectionProperties.properties.port.type - schemas.GoldengateGoldengateConnectionProperties.properties.technologyType.description - schemas.GoldengateGoldengateConnectionProperties.properties.technologyType.type - schemas.GoldengateGoldengateConnectionProperties.properties.username.description - schemas.GoldengateGoldengateConnectionProperties.properties.username.type - schemas.GoldengateGoldengateConnectionProperties.type - schemas.GoldengateGoogleBigQueryConnectionProperties.description - schemas.GoldengateGoogleBigQueryConnectionProperties.id - schemas.GoldengateGoogleBigQueryConnectionProperties.properties.serviceAccountKeyFile.description - schemas.GoldengateGoogleBigQueryConnectionProperties.properties.serviceAccountKeyFile.type - schemas.GoldengateGoogleBigQueryConnectionProperties.properties.technologyType.description - schemas.GoldengateGoogleBigQueryConnectionProperties.properties.technologyType.type - schemas.GoldengateGoogleBigQueryConnectionProperties.type - schemas.GoldengateGoogleCloudStorageConnectionProperties.description - schemas.GoldengateGoogleCloudStorageConnectionProperties.id - schemas.GoldengateGoogleCloudStorageConnectionProperties.properties.serviceAccountKeyFile.description - schemas.GoldengateGoogleCloudStorageConnectionProperties.properties.serviceAccountKeyFile.type - schemas.GoldengateGoogleCloudStorageConnectionProperties.properties.technologyType.description - schemas.GoldengateGoogleCloudStorageConnectionProperties.properties.technologyType.type - schemas.GoldengateGoogleCloudStorageConnectionProperties.type - schemas.GoldengateGooglePubsubConnectionProperties.description - schemas.GoldengateGooglePubsubConnectionProperties.id - schemas.GoldengateGooglePubsubConnectionProperties.properties.serviceAccountKeyFile.description - schemas.GoldengateGooglePubsubConnectionProperties.properties.serviceAccountKeyFile.type - schemas.GoldengateGooglePubsubConnectionProperties.properties.technologyType.description - schemas.GoldengateGooglePubsubConnectionProperties.properties.technologyType.type - schemas.GoldengateGooglePubsubConnectionProperties.type - schemas.GoldengateGroupToRolesMapping.description - schemas.GoldengateGroupToRolesMapping.id - schemas.GoldengateGroupToRolesMapping.properties.administratorGroupId.description - schemas.GoldengateGroupToRolesMapping.properties.administratorGroupId.readOnly - schemas.GoldengateGroupToRolesMapping.properties.administratorGroupId.type - schemas.GoldengateGroupToRolesMapping.properties.operatorGroupId.description - schemas.GoldengateGroupToRolesMapping.properties.operatorGroupId.readOnly - schemas.GoldengateGroupToRolesMapping.properties.operatorGroupId.type - schemas.GoldengateGroupToRolesMapping.properties.securityGroupId.description - schemas.GoldengateGroupToRolesMapping.properties.securityGroupId.readOnly - schemas.GoldengateGroupToRolesMapping.properties.securityGroupId.type - schemas.GoldengateGroupToRolesMapping.properties.userGroupId.description - schemas.GoldengateGroupToRolesMapping.properties.userGroupId.readOnly - schemas.GoldengateGroupToRolesMapping.properties.userGroupId.type - schemas.GoldengateGroupToRolesMapping.type - schemas.GoldengateHdfsConnectionProperties.description - schemas.GoldengateHdfsConnectionProperties.id - schemas.GoldengateHdfsConnectionProperties.properties.coreSiteXml.description - schemas.GoldengateHdfsConnectionProperties.properties.coreSiteXml.type - schemas.GoldengateHdfsConnectionProperties.properties.technologyType.description - schemas.GoldengateHdfsConnectionProperties.properties.technologyType.type - schemas.GoldengateHdfsConnectionProperties.type - schemas.GoldengateIcebergConnectionProperties.description - schemas.GoldengateIcebergConnectionProperties.id - schemas.GoldengateIcebergConnectionProperties.properties.catalog.$ref - schemas.GoldengateIcebergConnectionProperties.properties.catalog.description - schemas.GoldengateIcebergConnectionProperties.properties.storage.$ref - schemas.GoldengateIcebergConnectionProperties.properties.storage.description - schemas.GoldengateIcebergConnectionProperties.properties.technologyType.description - schemas.GoldengateIcebergConnectionProperties.properties.technologyType.type - schemas.GoldengateIcebergConnectionProperties.type - schemas.GoldengateJavaMessageServiceConnectionProperties.description - schemas.GoldengateJavaMessageServiceConnectionProperties.id - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.authenticationType.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.authenticationType.enum - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.authenticationType.enumDescriptions - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.authenticationType.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.connectionFactory.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.connectionFactory.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.connectionUrl.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.connectionUrl.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.jndiConnectionFactory.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.jndiConnectionFactory.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.jndiInitialContextFactory.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.jndiInitialContextFactory.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.jndiProviderUrl.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.jndiProviderUrl.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.jndiSecurityCredentialsSecret.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.jndiSecurityCredentialsSecret.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.jndiSecurityPrincipal.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.jndiSecurityPrincipal.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.keyStoreFile.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.keyStoreFile.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.keyStorePassword.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.keyStorePassword.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.keyStorePasswordSecretVersion.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.keyStorePasswordSecretVersion.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.password.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.password.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.securityProtocol.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.securityProtocol.enum - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.securityProtocol.enumDescriptions - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.securityProtocol.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.sslKeyPassword.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.sslKeyPassword.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.sslKeyPasswordSecretVersion.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.sslKeyPasswordSecretVersion.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.technologyType.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.technologyType.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.trustStoreFile.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.trustStoreFile.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.trustStorePassword.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.trustStorePassword.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.trustStorePasswordSecretVersion.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.trustStorePasswordSecretVersion.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.useJndi.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.useJndi.type - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.username.description - schemas.GoldengateJavaMessageServiceConnectionProperties.properties.username.type - schemas.GoldengateJavaMessageServiceConnectionProperties.type - schemas.GoldengateKafkaConnectionProperties.description - schemas.GoldengateKafkaConnectionProperties.id - schemas.GoldengateKafkaConnectionProperties.properties.bootstrapServers.description - schemas.GoldengateKafkaConnectionProperties.properties.bootstrapServers.items.$ref - schemas.GoldengateKafkaConnectionProperties.properties.bootstrapServers.type - schemas.GoldengateKafkaConnectionProperties.properties.clusterId.description - schemas.GoldengateKafkaConnectionProperties.properties.clusterId.type - schemas.GoldengateKafkaConnectionProperties.properties.consumerPropertiesFile.description - schemas.GoldengateKafkaConnectionProperties.properties.consumerPropertiesFile.type - schemas.GoldengateKafkaConnectionProperties.properties.keyStoreFile.description - schemas.GoldengateKafkaConnectionProperties.properties.keyStoreFile.type - schemas.GoldengateKafkaConnectionProperties.properties.keyStorePassword.description - schemas.GoldengateKafkaConnectionProperties.properties.keyStorePassword.type - schemas.GoldengateKafkaConnectionProperties.properties.keyStorePasswordSecretVersion.description - schemas.GoldengateKafkaConnectionProperties.properties.keyStorePasswordSecretVersion.type - schemas.GoldengateKafkaConnectionProperties.properties.password.description - schemas.GoldengateKafkaConnectionProperties.properties.password.type - schemas.GoldengateKafkaConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateKafkaConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateKafkaConnectionProperties.properties.producerPropertiesFile.description - schemas.GoldengateKafkaConnectionProperties.properties.producerPropertiesFile.type - schemas.GoldengateKafkaConnectionProperties.properties.securityProtocol.description - schemas.GoldengateKafkaConnectionProperties.properties.securityProtocol.enum - schemas.GoldengateKafkaConnectionProperties.properties.securityProtocol.enumDescriptions - schemas.GoldengateKafkaConnectionProperties.properties.securityProtocol.type - schemas.GoldengateKafkaConnectionProperties.properties.sslKeyPassword.description - schemas.GoldengateKafkaConnectionProperties.properties.sslKeyPassword.type - schemas.GoldengateKafkaConnectionProperties.properties.sslKeyPasswordSecretVersion.description - schemas.GoldengateKafkaConnectionProperties.properties.sslKeyPasswordSecretVersion.type - schemas.GoldengateKafkaConnectionProperties.properties.streamPoolId.description - schemas.GoldengateKafkaConnectionProperties.properties.streamPoolId.type - schemas.GoldengateKafkaConnectionProperties.properties.technologyType.description - schemas.GoldengateKafkaConnectionProperties.properties.technologyType.type - schemas.GoldengateKafkaConnectionProperties.properties.trustStoreFile.description - schemas.GoldengateKafkaConnectionProperties.properties.trustStoreFile.type - schemas.GoldengateKafkaConnectionProperties.properties.trustStorePassword.description - schemas.GoldengateKafkaConnectionProperties.properties.trustStorePassword.type - schemas.GoldengateKafkaConnectionProperties.properties.trustStorePasswordSecretVersion.description - schemas.GoldengateKafkaConnectionProperties.properties.trustStorePasswordSecretVersion.type - schemas.GoldengateKafkaConnectionProperties.properties.useResourcePrincipal.description - schemas.GoldengateKafkaConnectionProperties.properties.useResourcePrincipal.type - schemas.GoldengateKafkaConnectionProperties.properties.username.description - schemas.GoldengateKafkaConnectionProperties.properties.username.type - schemas.GoldengateKafkaConnectionProperties.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.id - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.authenticationType.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.authenticationType.enum - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.authenticationType.enumDescriptions - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.authenticationType.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.keyStoreFile.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.keyStoreFile.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.keyStorePassword.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.keyStorePassword.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.keyStorePasswordSecretVersion.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.keyStorePasswordSecretVersion.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.password.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.password.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.sslKeyPassword.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.sslKeyPassword.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.sslKeyPasswordSecretVersion.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.sslKeyPasswordSecretVersion.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.technologyType.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.technologyType.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.trustStoreFile.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.trustStoreFile.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.trustStorePassword.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.trustStorePassword.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.trustStorePasswordSecretVersion.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.trustStorePasswordSecretVersion.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.url.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.url.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.username.description - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.properties.username.type - schemas.GoldengateKafkaSchemaRegistryConnectionProperties.type - schemas.GoldengateMaintenanceConfig.description - schemas.GoldengateMaintenanceConfig.id - schemas.GoldengateMaintenanceConfig.properties.bundleReleaseUpgradePeriodDays.description - schemas.GoldengateMaintenanceConfig.properties.bundleReleaseUpgradePeriodDays.format - schemas.GoldengateMaintenanceConfig.properties.bundleReleaseUpgradePeriodDays.type - schemas.GoldengateMaintenanceConfig.properties.interimReleaseUpgradePeriodDays.description - schemas.GoldengateMaintenanceConfig.properties.interimReleaseUpgradePeriodDays.format - schemas.GoldengateMaintenanceConfig.properties.interimReleaseUpgradePeriodDays.type - schemas.GoldengateMaintenanceConfig.properties.isInterimReleaseAutoUpgradeEnabled.description - schemas.GoldengateMaintenanceConfig.properties.isInterimReleaseAutoUpgradeEnabled.type - schemas.GoldengateMaintenanceConfig.properties.majorReleaseUpgradePeriodDays.description - schemas.GoldengateMaintenanceConfig.properties.majorReleaseUpgradePeriodDays.format - schemas.GoldengateMaintenanceConfig.properties.majorReleaseUpgradePeriodDays.type - schemas.GoldengateMaintenanceConfig.properties.securityPatchUpgradePeriodDays.description - schemas.GoldengateMaintenanceConfig.properties.securityPatchUpgradePeriodDays.format - schemas.GoldengateMaintenanceConfig.properties.securityPatchUpgradePeriodDays.type - schemas.GoldengateMaintenanceConfig.type - schemas.GoldengateMaintenanceWindow.description - schemas.GoldengateMaintenanceWindow.id - schemas.GoldengateMaintenanceWindow.properties.day.description - schemas.GoldengateMaintenanceWindow.properties.day.enum - schemas.GoldengateMaintenanceWindow.properties.day.enumDescriptions - schemas.GoldengateMaintenanceWindow.properties.day.type - schemas.GoldengateMaintenanceWindow.properties.startHour.description - schemas.GoldengateMaintenanceWindow.properties.startHour.format - schemas.GoldengateMaintenanceWindow.properties.startHour.type - schemas.GoldengateMaintenanceWindow.type - schemas.GoldengateMicrosoftFabricConnectionProperties.description - schemas.GoldengateMicrosoftFabricConnectionProperties.id - schemas.GoldengateMicrosoftFabricConnectionProperties.properties.clientId.description - schemas.GoldengateMicrosoftFabricConnectionProperties.properties.clientId.type - schemas.GoldengateMicrosoftFabricConnectionProperties.properties.clientSecret.description - schemas.GoldengateMicrosoftFabricConnectionProperties.properties.clientSecret.type - schemas.GoldengateMicrosoftFabricConnectionProperties.properties.endpoint.description - schemas.GoldengateMicrosoftFabricConnectionProperties.properties.endpoint.type - schemas.GoldengateMicrosoftFabricConnectionProperties.properties.technologyType.description - schemas.GoldengateMicrosoftFabricConnectionProperties.properties.technologyType.type - schemas.GoldengateMicrosoftFabricConnectionProperties.properties.tenantId.description - schemas.GoldengateMicrosoftFabricConnectionProperties.properties.tenantId.type - schemas.GoldengateMicrosoftFabricConnectionProperties.type - schemas.GoldengateMicrosoftSqlserverConnectionProperties.description - schemas.GoldengateMicrosoftSqlserverConnectionProperties.id - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.additionalAttributes.description - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.additionalAttributes.items.$ref - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.additionalAttributes.type - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.database.description - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.database.type - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.host.description - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.host.type - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.password.description - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.password.type - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.port.description - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.port.format - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.port.type - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.securityProtocol.description - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.securityProtocol.enum - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.securityProtocol.enumDescriptions - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.securityProtocol.type - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.serverCertificateValidationRequired.description - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.serverCertificateValidationRequired.type - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.sslCaFile.description - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.sslCaFile.type - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.technologyType.description - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.technologyType.type - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.username.description - schemas.GoldengateMicrosoftSqlserverConnectionProperties.properties.username.type - schemas.GoldengateMicrosoftSqlserverConnectionProperties.type - schemas.GoldengateMongodbConnectionProperties.description - schemas.GoldengateMongodbConnectionProperties.id - schemas.GoldengateMongodbConnectionProperties.properties.connectionString.description - schemas.GoldengateMongodbConnectionProperties.properties.connectionString.type - schemas.GoldengateMongodbConnectionProperties.properties.databaseId.description - schemas.GoldengateMongodbConnectionProperties.properties.databaseId.type - schemas.GoldengateMongodbConnectionProperties.properties.password.description - schemas.GoldengateMongodbConnectionProperties.properties.password.type - schemas.GoldengateMongodbConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateMongodbConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateMongodbConnectionProperties.properties.securityProtocol.description - schemas.GoldengateMongodbConnectionProperties.properties.securityProtocol.enum - schemas.GoldengateMongodbConnectionProperties.properties.securityProtocol.enumDescriptions - schemas.GoldengateMongodbConnectionProperties.properties.securityProtocol.type - schemas.GoldengateMongodbConnectionProperties.properties.technologyType.description - schemas.GoldengateMongodbConnectionProperties.properties.technologyType.type - schemas.GoldengateMongodbConnectionProperties.properties.tlsCaFile.description - schemas.GoldengateMongodbConnectionProperties.properties.tlsCaFile.type - schemas.GoldengateMongodbConnectionProperties.properties.tlsCertificateKeyFile.description - schemas.GoldengateMongodbConnectionProperties.properties.tlsCertificateKeyFile.type - schemas.GoldengateMongodbConnectionProperties.properties.tlsCertificateKeyFilePassword.description - schemas.GoldengateMongodbConnectionProperties.properties.tlsCertificateKeyFilePassword.type - schemas.GoldengateMongodbConnectionProperties.properties.tlsCertificateKeyFilePasswordSecretVersion.description - schemas.GoldengateMongodbConnectionProperties.properties.tlsCertificateKeyFilePasswordSecretVersion.type - schemas.GoldengateMongodbConnectionProperties.properties.username.description - schemas.GoldengateMongodbConnectionProperties.properties.username.type - schemas.GoldengateMongodbConnectionProperties.type - schemas.GoldengateMysqlConnectionProperties.description - schemas.GoldengateMysqlConnectionProperties.id - schemas.GoldengateMysqlConnectionProperties.properties.additionalAttributes.description - schemas.GoldengateMysqlConnectionProperties.properties.additionalAttributes.items.$ref - schemas.GoldengateMysqlConnectionProperties.properties.additionalAttributes.type - schemas.GoldengateMysqlConnectionProperties.properties.database.description - schemas.GoldengateMysqlConnectionProperties.properties.database.type - schemas.GoldengateMysqlConnectionProperties.properties.dbSystemId.description - schemas.GoldengateMysqlConnectionProperties.properties.dbSystemId.type - schemas.GoldengateMysqlConnectionProperties.properties.host.description - schemas.GoldengateMysqlConnectionProperties.properties.host.type - schemas.GoldengateMysqlConnectionProperties.properties.password.description - schemas.GoldengateMysqlConnectionProperties.properties.password.type - schemas.GoldengateMysqlConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateMysqlConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateMysqlConnectionProperties.properties.port.description - schemas.GoldengateMysqlConnectionProperties.properties.port.format - schemas.GoldengateMysqlConnectionProperties.properties.port.type - schemas.GoldengateMysqlConnectionProperties.properties.securityProtocol.description - schemas.GoldengateMysqlConnectionProperties.properties.securityProtocol.enum - schemas.GoldengateMysqlConnectionProperties.properties.securityProtocol.enumDescriptions - schemas.GoldengateMysqlConnectionProperties.properties.securityProtocol.type - schemas.GoldengateMysqlConnectionProperties.properties.sslCaFile.description - schemas.GoldengateMysqlConnectionProperties.properties.sslCaFile.type - schemas.GoldengateMysqlConnectionProperties.properties.sslCertFile.description - schemas.GoldengateMysqlConnectionProperties.properties.sslCertFile.type - schemas.GoldengateMysqlConnectionProperties.properties.sslCrlFile.description - schemas.GoldengateMysqlConnectionProperties.properties.sslCrlFile.type - schemas.GoldengateMysqlConnectionProperties.properties.sslKeyFile.description - schemas.GoldengateMysqlConnectionProperties.properties.sslKeyFile.type - schemas.GoldengateMysqlConnectionProperties.properties.sslMode.description - schemas.GoldengateMysqlConnectionProperties.properties.sslMode.enum - schemas.GoldengateMysqlConnectionProperties.properties.sslMode.enumDescriptions - schemas.GoldengateMysqlConnectionProperties.properties.sslMode.type - schemas.GoldengateMysqlConnectionProperties.properties.technologyType.description - schemas.GoldengateMysqlConnectionProperties.properties.technologyType.type - schemas.GoldengateMysqlConnectionProperties.properties.username.description - schemas.GoldengateMysqlConnectionProperties.properties.username.type - schemas.GoldengateMysqlConnectionProperties.type - schemas.GoldengateOciObjectStorageConnectionProperties.description - schemas.GoldengateOciObjectStorageConnectionProperties.id - schemas.GoldengateOciObjectStorageConnectionProperties.properties.privateKeyFile.description - schemas.GoldengateOciObjectStorageConnectionProperties.properties.privateKeyFile.type - schemas.GoldengateOciObjectStorageConnectionProperties.properties.privateKeyPassphraseSecret.description - schemas.GoldengateOciObjectStorageConnectionProperties.properties.privateKeyPassphraseSecret.type - schemas.GoldengateOciObjectStorageConnectionProperties.properties.publicKeyFingerprint.description - schemas.GoldengateOciObjectStorageConnectionProperties.properties.publicKeyFingerprint.type - schemas.GoldengateOciObjectStorageConnectionProperties.properties.region.description - schemas.GoldengateOciObjectStorageConnectionProperties.properties.region.type - schemas.GoldengateOciObjectStorageConnectionProperties.properties.technologyType.description - schemas.GoldengateOciObjectStorageConnectionProperties.properties.technologyType.type - schemas.GoldengateOciObjectStorageConnectionProperties.properties.tenancyId.description - schemas.GoldengateOciObjectStorageConnectionProperties.properties.tenancyId.type - schemas.GoldengateOciObjectStorageConnectionProperties.properties.useResourcePrincipal.description - schemas.GoldengateOciObjectStorageConnectionProperties.properties.useResourcePrincipal.type - schemas.GoldengateOciObjectStorageConnectionProperties.properties.userId.description - schemas.GoldengateOciObjectStorageConnectionProperties.properties.userId.type - schemas.GoldengateOciObjectStorageConnectionProperties.type - schemas.GoldengateOggDeployment.description - schemas.GoldengateOggDeployment.id - schemas.GoldengateOggDeployment.properties.adminPassword.description - schemas.GoldengateOggDeployment.properties.adminPassword.type - schemas.GoldengateOggDeployment.properties.adminPasswordSecretVersion.description - schemas.GoldengateOggDeployment.properties.adminPasswordSecretVersion.type - schemas.GoldengateOggDeployment.properties.adminUsername.description - schemas.GoldengateOggDeployment.properties.adminUsername.type - schemas.GoldengateOggDeployment.properties.certificate.description - schemas.GoldengateOggDeployment.properties.certificate.readOnly - schemas.GoldengateOggDeployment.properties.certificate.type - schemas.GoldengateOggDeployment.properties.credentialStore.description - schemas.GoldengateOggDeployment.properties.credentialStore.enum - schemas.GoldengateOggDeployment.properties.credentialStore.enumDescriptions - schemas.GoldengateOggDeployment.properties.credentialStore.readOnly - schemas.GoldengateOggDeployment.properties.credentialStore.type - schemas.GoldengateOggDeployment.properties.deployment.description - schemas.GoldengateOggDeployment.properties.deployment.type - schemas.GoldengateOggDeployment.properties.groupRolesMapping.$ref - schemas.GoldengateOggDeployment.properties.groupRolesMapping.description - schemas.GoldengateOggDeployment.properties.groupRolesMapping.readOnly - schemas.GoldengateOggDeployment.properties.identityDomainId.description - schemas.GoldengateOggDeployment.properties.identityDomainId.readOnly - schemas.GoldengateOggDeployment.properties.identityDomainId.type - schemas.GoldengateOggDeployment.properties.oggVersion.description - schemas.GoldengateOggDeployment.properties.oggVersion.type - schemas.GoldengateOggDeployment.properties.passwordSecretId.description - schemas.GoldengateOggDeployment.properties.passwordSecretId.readOnly - schemas.GoldengateOggDeployment.properties.passwordSecretId.type - schemas.GoldengateOggDeployment.type - schemas.GoldengateOracleAIDataPlatformConnectionProperties.description - schemas.GoldengateOracleAIDataPlatformConnectionProperties.id - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.connectionUrl.description - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.connectionUrl.type - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.privateKeyFile.description - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.privateKeyFile.type - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.privateKeyPassphraseSecret.description - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.privateKeyPassphraseSecret.type - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.publicKeyFingerprint.description - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.publicKeyFingerprint.type - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.region.description - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.region.type - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.technologyType.description - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.technologyType.type - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.tenancyId.description - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.tenancyId.type - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.useResourcePrincipal.description - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.useResourcePrincipal.type - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.userId.description - schemas.GoldengateOracleAIDataPlatformConnectionProperties.properties.userId.type - schemas.GoldengateOracleAIDataPlatformConnectionProperties.type - schemas.GoldengateOracleConnectionProperties.description - schemas.GoldengateOracleConnectionProperties.id - schemas.GoldengateOracleConnectionProperties.properties.authenticationMode.description - schemas.GoldengateOracleConnectionProperties.properties.authenticationMode.enum - schemas.GoldengateOracleConnectionProperties.properties.authenticationMode.enumDescriptions - schemas.GoldengateOracleConnectionProperties.properties.authenticationMode.type - schemas.GoldengateOracleConnectionProperties.properties.connectionString.description - schemas.GoldengateOracleConnectionProperties.properties.connectionString.type - schemas.GoldengateOracleConnectionProperties.properties.gcpOracleDatabaseId.description - schemas.GoldengateOracleConnectionProperties.properties.gcpOracleDatabaseId.type - schemas.GoldengateOracleConnectionProperties.properties.password.description - schemas.GoldengateOracleConnectionProperties.properties.password.type - schemas.GoldengateOracleConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateOracleConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateOracleConnectionProperties.properties.sessionMode.description - schemas.GoldengateOracleConnectionProperties.properties.sessionMode.enum - schemas.GoldengateOracleConnectionProperties.properties.sessionMode.enumDescriptions - schemas.GoldengateOracleConnectionProperties.properties.sessionMode.type - schemas.GoldengateOracleConnectionProperties.properties.technologyType.description - schemas.GoldengateOracleConnectionProperties.properties.technologyType.type - schemas.GoldengateOracleConnectionProperties.properties.username.description - schemas.GoldengateOracleConnectionProperties.properties.username.type - schemas.GoldengateOracleConnectionProperties.properties.walletFile.description - schemas.GoldengateOracleConnectionProperties.properties.walletFile.type - schemas.GoldengateOracleConnectionProperties.type - schemas.GoldengateOracleNosqlConnectionProperties.description - schemas.GoldengateOracleNosqlConnectionProperties.id - schemas.GoldengateOracleNosqlConnectionProperties.properties.privateKeyFile.description - schemas.GoldengateOracleNosqlConnectionProperties.properties.privateKeyFile.type - schemas.GoldengateOracleNosqlConnectionProperties.properties.privateKeyPassphraseSecret.description - schemas.GoldengateOracleNosqlConnectionProperties.properties.privateKeyPassphraseSecret.type - schemas.GoldengateOracleNosqlConnectionProperties.properties.publicKeyFingerprint.description - schemas.GoldengateOracleNosqlConnectionProperties.properties.publicKeyFingerprint.type - schemas.GoldengateOracleNosqlConnectionProperties.properties.region.description - schemas.GoldengateOracleNosqlConnectionProperties.properties.region.type - schemas.GoldengateOracleNosqlConnectionProperties.properties.technologyType.description - schemas.GoldengateOracleNosqlConnectionProperties.properties.technologyType.type - schemas.GoldengateOracleNosqlConnectionProperties.properties.tenancyId.description - schemas.GoldengateOracleNosqlConnectionProperties.properties.tenancyId.type - schemas.GoldengateOracleNosqlConnectionProperties.properties.useResourcePrincipal.description - schemas.GoldengateOracleNosqlConnectionProperties.properties.useResourcePrincipal.type - schemas.GoldengateOracleNosqlConnectionProperties.properties.userId.description - schemas.GoldengateOracleNosqlConnectionProperties.properties.userId.type - schemas.GoldengateOracleNosqlConnectionProperties.type - schemas.GoldengatePlacement.description - schemas.GoldengatePlacement.id - schemas.GoldengatePlacement.properties.availabilityDomain.description - schemas.GoldengatePlacement.properties.availabilityDomain.readOnly - schemas.GoldengatePlacement.properties.availabilityDomain.type - schemas.GoldengatePlacement.properties.faultDomain.description - schemas.GoldengatePlacement.properties.faultDomain.readOnly - schemas.GoldengatePlacement.properties.faultDomain.type - schemas.GoldengatePlacement.type - schemas.GoldengatePostgresqlConnectionProperties.description - schemas.GoldengatePostgresqlConnectionProperties.id - schemas.GoldengatePostgresqlConnectionProperties.properties.additionalAttributes.description - schemas.GoldengatePostgresqlConnectionProperties.properties.additionalAttributes.items.$ref - schemas.GoldengatePostgresqlConnectionProperties.properties.additionalAttributes.type - schemas.GoldengatePostgresqlConnectionProperties.properties.database.description - schemas.GoldengatePostgresqlConnectionProperties.properties.database.type - schemas.GoldengatePostgresqlConnectionProperties.properties.dbSystemId.description - schemas.GoldengatePostgresqlConnectionProperties.properties.dbSystemId.type - schemas.GoldengatePostgresqlConnectionProperties.properties.host.description - schemas.GoldengatePostgresqlConnectionProperties.properties.host.type - schemas.GoldengatePostgresqlConnectionProperties.properties.password.description - schemas.GoldengatePostgresqlConnectionProperties.properties.password.type - schemas.GoldengatePostgresqlConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengatePostgresqlConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengatePostgresqlConnectionProperties.properties.port.description - schemas.GoldengatePostgresqlConnectionProperties.properties.port.format - schemas.GoldengatePostgresqlConnectionProperties.properties.port.type - schemas.GoldengatePostgresqlConnectionProperties.properties.securityProtocol.description - schemas.GoldengatePostgresqlConnectionProperties.properties.securityProtocol.enum - schemas.GoldengatePostgresqlConnectionProperties.properties.securityProtocol.enumDescriptions - schemas.GoldengatePostgresqlConnectionProperties.properties.securityProtocol.type - schemas.GoldengatePostgresqlConnectionProperties.properties.sslCaFile.description - schemas.GoldengatePostgresqlConnectionProperties.properties.sslCaFile.type - schemas.GoldengatePostgresqlConnectionProperties.properties.sslCertFile.description - schemas.GoldengatePostgresqlConnectionProperties.properties.sslCertFile.type - schemas.GoldengatePostgresqlConnectionProperties.properties.sslCrlFile.description - schemas.GoldengatePostgresqlConnectionProperties.properties.sslCrlFile.type - schemas.GoldengatePostgresqlConnectionProperties.properties.sslKeyFile.description - schemas.GoldengatePostgresqlConnectionProperties.properties.sslKeyFile.type - schemas.GoldengatePostgresqlConnectionProperties.properties.sslMode.description - schemas.GoldengatePostgresqlConnectionProperties.properties.sslMode.enum - schemas.GoldengatePostgresqlConnectionProperties.properties.sslMode.enumDescriptions - schemas.GoldengatePostgresqlConnectionProperties.properties.sslMode.type - schemas.GoldengatePostgresqlConnectionProperties.properties.technologyType.description - schemas.GoldengatePostgresqlConnectionProperties.properties.technologyType.type - schemas.GoldengatePostgresqlConnectionProperties.properties.username.description - schemas.GoldengatePostgresqlConnectionProperties.properties.username.type - schemas.GoldengatePostgresqlConnectionProperties.type - schemas.GoldengateRedisConnectionProperties.description - schemas.GoldengateRedisConnectionProperties.id - schemas.GoldengateRedisConnectionProperties.properties.authenticationType.description - schemas.GoldengateRedisConnectionProperties.properties.authenticationType.enum - schemas.GoldengateRedisConnectionProperties.properties.authenticationType.enumDescriptions - schemas.GoldengateRedisConnectionProperties.properties.authenticationType.type - schemas.GoldengateRedisConnectionProperties.properties.keyStoreFile.description - schemas.GoldengateRedisConnectionProperties.properties.keyStoreFile.type - schemas.GoldengateRedisConnectionProperties.properties.keyStorePassword.description - schemas.GoldengateRedisConnectionProperties.properties.keyStorePassword.type - schemas.GoldengateRedisConnectionProperties.properties.keyStorePasswordSecretVersion.description - schemas.GoldengateRedisConnectionProperties.properties.keyStorePasswordSecretVersion.type - schemas.GoldengateRedisConnectionProperties.properties.password.description - schemas.GoldengateRedisConnectionProperties.properties.password.type - schemas.GoldengateRedisConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateRedisConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateRedisConnectionProperties.properties.redisClusterId.description - schemas.GoldengateRedisConnectionProperties.properties.redisClusterId.type - schemas.GoldengateRedisConnectionProperties.properties.securityProtocol.description - schemas.GoldengateRedisConnectionProperties.properties.securityProtocol.enum - schemas.GoldengateRedisConnectionProperties.properties.securityProtocol.enumDescriptions - schemas.GoldengateRedisConnectionProperties.properties.securityProtocol.type - schemas.GoldengateRedisConnectionProperties.properties.servers.description - schemas.GoldengateRedisConnectionProperties.properties.servers.type - schemas.GoldengateRedisConnectionProperties.properties.technologyType.description - schemas.GoldengateRedisConnectionProperties.properties.technologyType.type - schemas.GoldengateRedisConnectionProperties.properties.trustStoreFile.description - schemas.GoldengateRedisConnectionProperties.properties.trustStoreFile.type - schemas.GoldengateRedisConnectionProperties.properties.trustStorePassword.description - schemas.GoldengateRedisConnectionProperties.properties.trustStorePassword.type - schemas.GoldengateRedisConnectionProperties.properties.trustStorePasswordSecretVersion.description - schemas.GoldengateRedisConnectionProperties.properties.trustStorePasswordSecretVersion.type - schemas.GoldengateRedisConnectionProperties.properties.username.description - schemas.GoldengateRedisConnectionProperties.properties.username.type - schemas.GoldengateRedisConnectionProperties.type - schemas.GoldengateSnowflakeConnectionProperties.description - schemas.GoldengateSnowflakeConnectionProperties.id - schemas.GoldengateSnowflakeConnectionProperties.properties.authenticationType.description - schemas.GoldengateSnowflakeConnectionProperties.properties.authenticationType.enum - schemas.GoldengateSnowflakeConnectionProperties.properties.authenticationType.enumDescriptions - schemas.GoldengateSnowflakeConnectionProperties.properties.authenticationType.type - schemas.GoldengateSnowflakeConnectionProperties.properties.connectionUrl.description - schemas.GoldengateSnowflakeConnectionProperties.properties.connectionUrl.type - schemas.GoldengateSnowflakeConnectionProperties.properties.password.description - schemas.GoldengateSnowflakeConnectionProperties.properties.password.type - schemas.GoldengateSnowflakeConnectionProperties.properties.passwordSecretVersion.description - schemas.GoldengateSnowflakeConnectionProperties.properties.passwordSecretVersion.type - schemas.GoldengateSnowflakeConnectionProperties.properties.privateKeyFile.description - schemas.GoldengateSnowflakeConnectionProperties.properties.privateKeyFile.type - schemas.GoldengateSnowflakeConnectionProperties.properties.privateKeyPassphraseSecret.description - schemas.GoldengateSnowflakeConnectionProperties.properties.privateKeyPassphraseSecret.type - schemas.GoldengateSnowflakeConnectionProperties.properties.technologyType.description - schemas.GoldengateSnowflakeConnectionProperties.properties.technologyType.type - schemas.GoldengateSnowflakeConnectionProperties.properties.username.description - schemas.GoldengateSnowflakeConnectionProperties.properties.username.type - schemas.GoldengateSnowflakeConnectionProperties.type - schemas.GoogleCloudStorageIcebergStorage.description - schemas.GoogleCloudStorageIcebergStorage.id - schemas.GoogleCloudStorageIcebergStorage.properties.bucket.description - schemas.GoogleCloudStorageIcebergStorage.properties.bucket.type - schemas.GoogleCloudStorageIcebergStorage.properties.projectId.description - schemas.GoogleCloudStorageIcebergStorage.properties.projectId.type - schemas.GoogleCloudStorageIcebergStorage.properties.serviceAccountKeyFile.description - schemas.GoogleCloudStorageIcebergStorage.properties.serviceAccountKeyFile.type - schemas.GoogleCloudStorageIcebergStorage.type - schemas.IcebergCatalog.description - schemas.IcebergCatalog.id - schemas.IcebergCatalog.properties.catalogType.description - schemas.IcebergCatalog.properties.catalogType.enum - schemas.IcebergCatalog.properties.catalogType.enumDescriptions - schemas.IcebergCatalog.properties.catalogType.type - schemas.IcebergCatalog.properties.glueIcebergCatalog.$ref - schemas.IcebergCatalog.properties.glueIcebergCatalog.description - schemas.IcebergCatalog.properties.nessieIcebergCatalog.$ref - schemas.IcebergCatalog.properties.nessieIcebergCatalog.description - schemas.IcebergCatalog.properties.polarisIcebergCatalog.$ref - schemas.IcebergCatalog.properties.polarisIcebergCatalog.description - schemas.IcebergCatalog.properties.restIcebergCatalog.$ref - schemas.IcebergCatalog.properties.restIcebergCatalog.description - schemas.IcebergCatalog.type - schemas.IcebergStorage.description - schemas.IcebergStorage.id - schemas.IcebergStorage.properties.amazonS3IcebergStorage.$ref - schemas.IcebergStorage.properties.amazonS3IcebergStorage.description - schemas.IcebergStorage.properties.azureDataLakeStorageIcebergStorage.$ref - schemas.IcebergStorage.properties.azureDataLakeStorageIcebergStorage.description - schemas.IcebergStorage.properties.googleCloudStorageIcebergStorage.$ref - schemas.IcebergStorage.properties.googleCloudStorageIcebergStorage.description - schemas.IcebergStorage.properties.storageType.description - schemas.IcebergStorage.properties.storageType.enum - schemas.IcebergStorage.properties.storageType.enumDescriptions - schemas.IcebergStorage.properties.storageType.type - schemas.IcebergStorage.type - schemas.IngressIp.description - schemas.IngressIp.id - schemas.IngressIp.properties.ingressIpAddress.description - schemas.IngressIp.properties.ingressIpAddress.readOnly - schemas.IngressIp.properties.ingressIpAddress.type - schemas.IngressIp.type - schemas.KafkaBootstrapServer.description - schemas.KafkaBootstrapServer.id - schemas.KafkaBootstrapServer.properties.host.description - schemas.KafkaBootstrapServer.properties.host.type - schemas.KafkaBootstrapServer.properties.port.description - schemas.KafkaBootstrapServer.properties.port.format - schemas.KafkaBootstrapServer.properties.port.type - schemas.KafkaBootstrapServer.properties.privateIpAddress.description - schemas.KafkaBootstrapServer.properties.privateIpAddress.type - schemas.KafkaBootstrapServer.type - schemas.ListGoldengateConnectionAssignmentsResponse.description - schemas.ListGoldengateConnectionAssignmentsResponse.id - schemas.ListGoldengateConnectionAssignmentsResponse.properties.goldengateConnectionAssignments.description - schemas.ListGoldengateConnectionAssignmentsResponse.properties.goldengateConnectionAssignments.items.$ref - schemas.ListGoldengateConnectionAssignmentsResponse.properties.goldengateConnectionAssignments.type - schemas.ListGoldengateConnectionAssignmentsResponse.properties.nextPageToken.description - schemas.ListGoldengateConnectionAssignmentsResponse.properties.nextPageToken.type - schemas.ListGoldengateConnectionAssignmentsResponse.properties.unreachable.description - schemas.ListGoldengateConnectionAssignmentsResponse.properties.unreachable.items.type - schemas.ListGoldengateConnectionAssignmentsResponse.properties.unreachable.type - schemas.ListGoldengateConnectionAssignmentsResponse.type - schemas.ListGoldengateConnectionTypesResponse.description - schemas.ListGoldengateConnectionTypesResponse.id - schemas.ListGoldengateConnectionTypesResponse.properties.goldengateConnectionTypes.description - schemas.ListGoldengateConnectionTypesResponse.properties.goldengateConnectionTypes.items.$ref - schemas.ListGoldengateConnectionTypesResponse.properties.goldengateConnectionTypes.type - schemas.ListGoldengateConnectionTypesResponse.properties.nextPageToken.description - schemas.ListGoldengateConnectionTypesResponse.properties.nextPageToken.type - schemas.ListGoldengateConnectionTypesResponse.properties.unreachable.description - schemas.ListGoldengateConnectionTypesResponse.properties.unreachable.items.type - schemas.ListGoldengateConnectionTypesResponse.properties.unreachable.type - schemas.ListGoldengateConnectionTypesResponse.type - schemas.ListGoldengateConnectionsResponse.description - schemas.ListGoldengateConnectionsResponse.id - schemas.ListGoldengateConnectionsResponse.properties.goldengateConnections.description - schemas.ListGoldengateConnectionsResponse.properties.goldengateConnections.items.$ref - schemas.ListGoldengateConnectionsResponse.properties.goldengateConnections.type - schemas.ListGoldengateConnectionsResponse.properties.nextPageToken.description - schemas.ListGoldengateConnectionsResponse.properties.nextPageToken.type - schemas.ListGoldengateConnectionsResponse.properties.unreachable.description - schemas.ListGoldengateConnectionsResponse.properties.unreachable.items.type - schemas.ListGoldengateConnectionsResponse.properties.unreachable.type - schemas.ListGoldengateConnectionsResponse.type - schemas.ListGoldengateDeploymentEnvironmentsResponse.description - schemas.ListGoldengateDeploymentEnvironmentsResponse.id - schemas.ListGoldengateDeploymentEnvironmentsResponse.properties.goldengateDeploymentEnvironments.description - schemas.ListGoldengateDeploymentEnvironmentsResponse.properties.goldengateDeploymentEnvironments.items.$ref - schemas.ListGoldengateDeploymentEnvironmentsResponse.properties.goldengateDeploymentEnvironments.type - schemas.ListGoldengateDeploymentEnvironmentsResponse.properties.nextPageToken.description - schemas.ListGoldengateDeploymentEnvironmentsResponse.properties.nextPageToken.type - schemas.ListGoldengateDeploymentEnvironmentsResponse.properties.unreachable.description - schemas.ListGoldengateDeploymentEnvironmentsResponse.properties.unreachable.items.type - schemas.ListGoldengateDeploymentEnvironmentsResponse.properties.unreachable.type - schemas.ListGoldengateDeploymentEnvironmentsResponse.type - schemas.ListGoldengateDeploymentTypesResponse.description - schemas.ListGoldengateDeploymentTypesResponse.id - schemas.ListGoldengateDeploymentTypesResponse.properties.goldengateDeploymentTypes.description - schemas.ListGoldengateDeploymentTypesResponse.properties.goldengateDeploymentTypes.items.$ref - schemas.ListGoldengateDeploymentTypesResponse.properties.goldengateDeploymentTypes.type - schemas.ListGoldengateDeploymentTypesResponse.properties.nextPageToken.description - schemas.ListGoldengateDeploymentTypesResponse.properties.nextPageToken.type - schemas.ListGoldengateDeploymentTypesResponse.properties.unreachable.description - schemas.ListGoldengateDeploymentTypesResponse.properties.unreachable.items.type - schemas.ListGoldengateDeploymentTypesResponse.properties.unreachable.type - schemas.ListGoldengateDeploymentTypesResponse.type - schemas.ListGoldengateDeploymentVersionsResponse.description - schemas.ListGoldengateDeploymentVersionsResponse.id - schemas.ListGoldengateDeploymentVersionsResponse.properties.goldengateDeploymentVersions.description - schemas.ListGoldengateDeploymentVersionsResponse.properties.goldengateDeploymentVersions.items.$ref - schemas.ListGoldengateDeploymentVersionsResponse.properties.goldengateDeploymentVersions.type - schemas.ListGoldengateDeploymentVersionsResponse.properties.nextPageToken.description - schemas.ListGoldengateDeploymentVersionsResponse.properties.nextPageToken.type - schemas.ListGoldengateDeploymentVersionsResponse.properties.unreachable.description - schemas.ListGoldengateDeploymentVersionsResponse.properties.unreachable.items.type - schemas.ListGoldengateDeploymentVersionsResponse.properties.unreachable.type - schemas.ListGoldengateDeploymentVersionsResponse.type - schemas.ListGoldengateDeploymentsResponse.description - schemas.ListGoldengateDeploymentsResponse.id - schemas.ListGoldengateDeploymentsResponse.properties.goldengateDeployments.description - schemas.ListGoldengateDeploymentsResponse.properties.goldengateDeployments.items.$ref - schemas.ListGoldengateDeploymentsResponse.properties.goldengateDeployments.type - schemas.ListGoldengateDeploymentsResponse.properties.nextPageToken.description - schemas.ListGoldengateDeploymentsResponse.properties.nextPageToken.type - schemas.ListGoldengateDeploymentsResponse.properties.unreachable.description - schemas.ListGoldengateDeploymentsResponse.properties.unreachable.items.type - schemas.ListGoldengateDeploymentsResponse.properties.unreachable.type - schemas.ListGoldengateDeploymentsResponse.type - schemas.NameValuePair.description - schemas.NameValuePair.id - schemas.NameValuePair.properties.key.description - schemas.NameValuePair.properties.key.type - schemas.NameValuePair.properties.value.description - schemas.NameValuePair.properties.value.type - schemas.NameValuePair.type - schemas.NessieIcebergCatalog.description - schemas.NessieIcebergCatalog.id - schemas.NessieIcebergCatalog.properties.branch.description - schemas.NessieIcebergCatalog.properties.branch.type - schemas.NessieIcebergCatalog.properties.uri.description - schemas.NessieIcebergCatalog.properties.uri.type - schemas.NessieIcebergCatalog.type - schemas.PolarisIcebergCatalog.description - schemas.PolarisIcebergCatalog.id - schemas.PolarisIcebergCatalog.properties.clientId.description - schemas.PolarisIcebergCatalog.properties.clientId.type - schemas.PolarisIcebergCatalog.properties.clientSecret.description - schemas.PolarisIcebergCatalog.properties.clientSecret.type - schemas.PolarisIcebergCatalog.properties.polarisCatalog.description - schemas.PolarisIcebergCatalog.properties.polarisCatalog.type - schemas.PolarisIcebergCatalog.properties.principalRole.description - schemas.PolarisIcebergCatalog.properties.principalRole.type - schemas.PolarisIcebergCatalog.properties.uri.description - schemas.PolarisIcebergCatalog.properties.uri.type - schemas.PolarisIcebergCatalog.type - schemas.RestIcebergCatalog.description - schemas.RestIcebergCatalog.id - schemas.RestIcebergCatalog.properties.properties.description - schemas.RestIcebergCatalog.properties.properties.type - schemas.RestIcebergCatalog.properties.uri.description - schemas.RestIcebergCatalog.properties.uri.type - schemas.RestIcebergCatalog.type - schemas.StartGoldengateDeploymentRequest.description - schemas.StartGoldengateDeploymentRequest.id - schemas.StartGoldengateDeploymentRequest.type - schemas.StopGoldengateDeploymentRequest.description - schemas.StopGoldengateDeploymentRequest.id - schemas.StopGoldengateDeploymentRequest.type - schemas.TestConnectionAssignmentError.description - schemas.TestConnectionAssignmentError.id - schemas.TestConnectionAssignmentError.properties.action.description - schemas.TestConnectionAssignmentError.properties.action.type - schemas.TestConnectionAssignmentError.properties.code.description - schemas.TestConnectionAssignmentError.properties.code.type - schemas.TestConnectionAssignmentError.properties.issue.description - schemas.TestConnectionAssignmentError.properties.issue.type - schemas.TestConnectionAssignmentError.properties.message.description - schemas.TestConnectionAssignmentError.properties.message.type - schemas.TestConnectionAssignmentError.type - schemas.TestGoldengateConnectionAssignmentRequest.description - schemas.TestGoldengateConnectionAssignmentRequest.id - schemas.TestGoldengateConnectionAssignmentRequest.properties.type.description - schemas.TestGoldengateConnectionAssignmentRequest.properties.type.enum - schemas.TestGoldengateConnectionAssignmentRequest.properties.type.enumDescriptions - schemas.TestGoldengateConnectionAssignmentRequest.properties.type.type - schemas.TestGoldengateConnectionAssignmentRequest.type - schemas.TestGoldengateConnectionAssignmentResponse.description - schemas.TestGoldengateConnectionAssignmentResponse.id - schemas.TestGoldengateConnectionAssignmentResponse.properties.error.$ref - schemas.TestGoldengateConnectionAssignmentResponse.properties.error.description - schemas.TestGoldengateConnectionAssignmentResponse.properties.errors.description - schemas.TestGoldengateConnectionAssignmentResponse.properties.errors.items.$ref - schemas.TestGoldengateConnectionAssignmentResponse.properties.errors.type - schemas.TestGoldengateConnectionAssignmentResponse.properties.resultType.description - schemas.TestGoldengateConnectionAssignmentResponse.properties.resultType.enum - schemas.TestGoldengateConnectionAssignmentResponse.properties.resultType.enumDescriptions - schemas.TestGoldengateConnectionAssignmentResponse.properties.resultType.type - schemas.TestGoldengateConnectionAssignmentResponse.type --- discovery/oracledatabase-v1.json | 9650 +++++++++++++++------ src/apis/oracledatabase/v1.ts | 13140 +++++++++++++++++++++-------- 2 files changed, 16637 insertions(+), 6153 deletions(-) diff --git a/discovery/oracledatabase-v1.json b/discovery/oracledatabase-v1.json index 0a323a2f08..27b9e45ef0 100644 --- a/discovery/oracledatabase-v1.json +++ b/discovery/oracledatabase-v1.json @@ -2013,38 +2013,38 @@ } } }, - "odbNetworks": { + "goldengateConnectionAssignments": { "methods": { "create": { - "description": "Creates a new ODB Network in a given project and location.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks", + "description": "Creates a new GoldengateConnectionAssignment in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateConnectionAssignments", "httpMethod": "POST", - "id": "oracledatabase.projects.locations.odbNetworks.create", + "id": "oracledatabase.projects.locations.goldengateConnectionAssignments.create", "parameterOrder": [ "parent" ], "parameters": { - "odbNetworkId": { - "description": "Required. The ID of the OdbNetwork to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.", + "goldengateConnectionAssignmentId": { + "description": "Required. The ID of the GoldengateConnectionAssignment to create.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The parent value for the OdbNetwork in the following format: projects/{project}/locations/{location}.", + "description": "Required. The parent resource where this GoldengateConnectionAssignment will be created. Format: projects/{project}/locations/{location}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "requestId": { - "description": "Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" } }, - "path": "v1/{+parent}/odbNetworks", + "path": "v1/{+parent}/goldengateConnectionAssignments", "request": { - "$ref": "OdbNetwork" + "$ref": "GoldengateConnectionAssignment" }, "response": { "$ref": "Operation" @@ -2054,23 +2054,23 @@ ] }, "delete": { - "description": "Deletes a single ODB Network.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks/{odbNetworksId}", + "description": "Deletes a single GoldengateConnectionAssignment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateConnectionAssignments/{goldengateConnectionAssignmentsId}", "httpMethod": "DELETE", - "id": "oracledatabase.projects.locations.odbNetworks.delete", + "id": "oracledatabase.projects.locations.goldengateConnectionAssignments.delete", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "Required. The name of the resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.", + "description": "Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{project}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment}", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$", "required": true, "type": "string" }, "requestId": { - "description": "Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" } @@ -2084,344 +2084,169 @@ ] }, "get": { - "description": "Gets details of a single ODB Network.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks/{odbNetworksId}", + "description": "Gets details of a single GoldengateConnectionAssignment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateConnectionAssignments/{goldengateConnectionAssignmentsId}", "httpMethod": "GET", - "id": "oracledatabase.projects.locations.odbNetworks.get", + "id": "oracledatabase.projects.locations.goldengateConnectionAssignments.get", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "Required. The name of the OdbNetwork in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.", + "description": "Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/{project}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment}", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$", "required": true, "type": "string" } }, "path": "v1/{+name}", "response": { - "$ref": "OdbNetwork" + "$ref": "GoldengateConnectionAssignment" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, "list": { - "description": "Lists the ODB Networks in a given project and location.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks", + "description": "Lists GoldengateConnectionAssignments in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateConnectionAssignments", "httpMethod": "GET", - "id": "oracledatabase.projects.locations.odbNetworks.list", + "id": "oracledatabase.projects.locations.goldengateConnectionAssignments.list", "parameterOrder": [ "parent" ], "parameters": { "filter": { - "description": "Optional. An expression for filtering the results of the request.", + "description": "Optional. A filter expression that filters GoldengateConnectionAssignments listed in the response.", "location": "query", "type": "string" }, "orderBy": { - "description": "Optional. An expression for ordering the results of the request.", + "description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"DESC\" after a field name for descending.", "location": "query", "type": "string" }, "pageSize": { - "description": "Optional. The maximum number of items to return. If unspecified, at most 50 ODB Networks will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "description": "Optional. The maximum number of GoldengateConnectionAssignments to return. The service may return fewer than this value. If unspecified, at most 50 GoldengateConnectionAssignments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Optional. A token identifying a page of results the server should return.", + "description": "Optional. A page token, received from a previous `ListGoldengateConnectionAssignments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGoldengateConnectionAssignments` must match the call that provided the page token.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The parent value for the ODB Network in the following format: projects/{project}/locations/{location}.", + "description": "Required. The parent value for the GoldengateConnectionAssignments. Format: projects/{project}/locations/{location}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" } }, - "path": "v1/{+parent}/odbNetworks", + "path": "v1/{+parent}/goldengateConnectionAssignments", "response": { - "$ref": "ListOdbNetworksResponse" + "$ref": "ListGoldengateConnectionAssignmentsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - } - }, - "resources": { - "odbSubnets": { - "methods": { - "create": { - "description": "Creates a new ODB Subnet in a given ODB Network.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks/{odbNetworksId}/odbSubnets", - "httpMethod": "POST", - "id": "oracledatabase.projects.locations.odbNetworks.odbSubnets.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "odbSubnetId": { - "description": "Required. The ID of the OdbSubnet to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/odbSubnets", - "request": { - "$ref": "OdbSubnet" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a single ODB Subnet.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks/{odbNetworksId}/odbSubnets/{odbSubnetsId}", - "httpMethod": "DELETE", - "id": "oracledatabase.projects.locations.odbNetworks.odbSubnets.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbSubnets/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "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 ODB Subnet.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks/{odbNetworksId}/odbSubnets/{odbSubnetsId}", - "httpMethod": "GET", - "id": "oracledatabase.projects.locations.odbNetworks.odbSubnets.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbSubnets/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "OdbSubnet" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists all the ODB Subnets in a given ODB Network.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks/{odbNetworksId}/odbSubnets", - "httpMethod": "GET", - "id": "oracledatabase.projects.locations.odbNetworks.odbSubnets.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. An expression for filtering the results of the request.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. An expression for ordering the results of the request.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. The maximum number of items to return. If unspecified, at most 50 ODB Networks will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A token identifying a page of results the server should return.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/odbSubnets", - "response": { - "$ref": "ListOdbSubnetsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + }, + "test": { + "description": "Tests a single GoldengateConnectionAssignment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateConnectionAssignments/{goldengateConnectionAssignmentsId}:test", "httpMethod": "POST", - "id": "oracledatabase.projects.locations.operations.cancel", + "id": "oracledatabase.projects.locations.goldengateConnectionAssignments.test", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "The name of the operation resource to be cancelled.", + "description": "Required. Name of the connection assignment for which to test connection. projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$", "required": true, "type": "string" } }, - "path": "v1/{+name}:cancel", + "path": "v1/{+name}:test", "request": { - "$ref": "CancelOperationRequest" + "$ref": "TestGoldengateConnectionAssignmentRequest" }, "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "oracledatabase.projects.locations.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Empty" + "$ref": "TestGoldengateConnectionAssignmentResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, + } + } + }, + "goldengateConnectionTypes": { + "methods": { "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "description": "Gets details of a single GoldengateConnectionType.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateConnectionTypes/{goldengateConnectionTypesId}", "httpMethod": "GET", - "id": "oracledatabase.projects.locations.operations.get", + "id": "oracledatabase.projects.locations.goldengateConnectionTypes.get", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "The name of the operation resource.", + "description": "Required. Name of the resource in the format: projects/{project}/locations/{location}/goldengateConnectionTypes/{goldengate_connection_type}", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateConnectionTypes/[^/]+$", "required": true, "type": "string" } }, "path": "v1/{+name}", "response": { - "$ref": "Operation" + "$ref": "GoldengateConnectionType" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "description": "Lists GoldengateConnectionTypes in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateConnectionTypes", "httpMethod": "GET", - "id": "oracledatabase.projects.locations.operations.list", + "id": "oracledatabase.projects.locations.goldengateConnectionTypes.list", "parameterOrder": [ - "name" + "parent" ], "parameters": { "filter": { - "description": "The standard list filter.", + "description": "Optional. An expression for filtering the results of the request. The connection_type field must be specified in the format: `connection_type=\"ORACLE\"`.", "location": "query", "type": "string" }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, "pageSize": { - "description": "The standard list page size.", + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "The standard list page token.", + "description": "Optional. A token identifying a page of results the server should return.", "location": "query", "type": "string" }, - "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", - "location": "query", - "type": "boolean" + "parent": { + "description": "Required. Parent value for ListGoldengateConnectionTypesRequest Format: projects/{project}/locations/{location}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" } }, - "path": "v1/{+name}/operations", + "path": "v1/{+parent}/goldengateConnectionTypes", "response": { - "$ref": "ListOperationsResponse" + "$ref": "ListGoldengateConnectionTypesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" @@ -2429,1884 +2254,5426 @@ } } }, - "pluggableDatabases": { + "goldengateConnections": { "methods": { + "create": { + "description": "Creates a new GoldengateConnection in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateConnections", + "httpMethod": "POST", + "id": "oracledatabase.projects.locations.goldengateConnections.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "goldengateConnectionId": { + "description": "Required. The ID of the GoldengateConnection to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The value for parent of the GoldengateConnection in the following format: projects/{project}/locations/{location}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/goldengateConnections", + "request": { + "$ref": "GoldengateConnection" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single GoldengateConnection.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateConnections/{goldengateConnectionsId}", + "httpMethod": "DELETE", + "id": "oracledatabase.projects.locations.goldengateConnections.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the GoldengateConnection in the following format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "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 PluggableDatabase.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pluggableDatabases/{pluggableDatabasesId}", + "description": "Gets details of a single GoldengateConnection.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateConnections/{goldengateConnectionsId}", "httpMethod": "GET", - "id": "oracledatabase.projects.locations.pluggableDatabases.get", + "id": "oracledatabase.projects.locations.goldengateConnections.get", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "Required. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database}", + "description": "Required. The name of the GoldengateConnection in the following format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/pluggableDatabases/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$", "required": true, "type": "string" } }, "path": "v1/{+name}", "response": { - "$ref": "PluggableDatabase" + "$ref": "GoldengateConnection" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, "list": { - "description": "Lists all the PluggableDatabases for the given project, location and Container Database.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pluggableDatabases", + "description": "Lists all the GoldengateConnections for the given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateConnections", "httpMethod": "GET", - "id": "oracledatabase.projects.locations.pluggableDatabases.list", + "id": "oracledatabase.projects.locations.goldengateConnections.list", "parameterOrder": [ "parent" ], "parameters": { "filter": { - "description": "Optional. An expression for filtering the results of the request. List for pluggable databases is supported only with a valid container database (full resource name) filter in this format: `database=\"projects/{project}/locations/{location}/databases/{database}\"`", + "description": "Optional. An expression for filtering the results of the request.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. An expression for ordering the results of the request.", "location": "query", "type": "string" }, "pageSize": { - "description": "Optional. The maximum number of PluggableDatabases to return. The service may return fewer than this value.", + "description": "Optional. The maximum number of items to return. If unspecified, at most 50 GoldengateConnections will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Optional. A page token, received from a previous `ListPluggableDatabases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPluggableDatabases` must match the call that provided the page token.", + "description": "Optional. A page token, received from a previous ListGoldengateConnections call. Provide this to retrieve the subsequent page.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of PluggableDatabases. Format: projects/{project}/locations/{location}", + "description": "Required. The parent value for GoldengateConnections in the following format: projects/{project}/locations/{location}.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" } }, - "path": "v1/{+parent}/pluggableDatabases", + "path": "v1/{+parent}/goldengateConnections", "response": { - "$ref": "ListPluggableDatabasesResponse" + "$ref": "ListGoldengateConnectionsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] } } - } - } - } - } - } - }, - "revision": "20260427", - "rootUrl": "https://oracledatabase.googleapis.com/", - "schemas": { - "AllConnectionStrings": { - "description": "A list of all connection strings that can be used to connect to the Autonomous Database.", - "id": "AllConnectionStrings", - "properties": { - "high": { - "description": "Output only. The database service provides the highest level of resources to each SQL statement.", - "readOnly": true, - "type": "string" - }, - "low": { - "description": "Output only. The database service provides the least level of resources to each SQL statement.", - "readOnly": true, - "type": "string" - }, - "medium": { - "description": "Output only. The database service provides a lower level of resources to each SQL statement.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "AutonomousDatabase": { - "description": "Details of the Autonomous Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/", - "id": "AutonomousDatabase", - "properties": { - "adminPassword": { - "description": "Optional. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.", - "type": "string" - }, - "adminPasswordSecretVersion": { - "description": "Optional. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.", - "type": "string" - }, - "cidr": { - "description": "Optional. Immutable. The subnet CIDR range for the Autonomous Database.", - "type": "string" - }, - "createTime": { - "description": "Output only. The date and time that the Autonomous Database was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "database": { - "description": "Optional. Immutable. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.", - "type": "string" - }, - "disasterRecoverySupportedLocations": { - "description": "Output only. List of supported GCP region to clone the Autonomous Database for disaster recovery. Format: `project/{project}/locations/{location}`.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "displayName": { - "description": "Optional. Immutable. The display name for the Autonomous Database. The name does not have to be unique within your project.", - "type": "string" - }, - "entitlementId": { - "description": "Output only. The ID of the subscription entitlement associated with the Autonomous Database.", - "readOnly": true, - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. The labels or tags associated with the Autonomous Database.", - "type": "object" - }, - "name": { - "description": "Identifier. The name of the Autonomous Database resource in the following format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}", - "type": "string" - }, - "network": { - "description": "Optional. Immutable. The name of the VPC network used by the Autonomous Database in the following format: projects/{project}/global/networks/{network}", - "type": "string" - }, - "odbNetwork": { - "description": "Optional. Immutable. The name of the OdbNetwork associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.", - "type": "string" - }, - "odbSubnet": { - "description": "Optional. Immutable. The name of the OdbSubnet associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", - "type": "string" - }, - "peerAutonomousDatabases": { - "description": "Output only. The peer Autonomous Database names of the given Autonomous Database.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "properties": { - "$ref": "AutonomousDatabaseProperties", - "description": "Optional. The properties of the Autonomous Database." - }, - "sourceConfig": { - "$ref": "SourceConfig", - "description": "Optional. Immutable. The source Autonomous Database configuration for the standby Autonomous Database. The source Autonomous Database is configured while creating the Peer Autonomous Database and can't be updated after creation." - } - }, - "type": "object" - }, - "AutonomousDatabaseApex": { - "description": "Oracle APEX Application Development. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseApex", - "id": "AutonomousDatabaseApex", - "properties": { - "apexVersion": { - "description": "Output only. The Oracle APEX Application Development version.", - "readOnly": true, - "type": "string" - }, - "ordsVersion": { - "description": "Output only. The Oracle REST Data Services (ORDS) version.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "AutonomousDatabaseBackup": { - "description": "Details of the Autonomous Database Backup resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseBackup/", - "id": "AutonomousDatabaseBackup", - "properties": { - "autonomousDatabase": { - "description": "Required. The name of the Autonomous Database resource for which the backup is being created. Format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}", - "type": "string" - }, - "displayName": { - "description": "Optional. User friendly name for the Backup. The name does not have to be unique.", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. labels or tags associated with the resource.", - "type": "object" - }, - "name": { - "description": "Identifier. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup}", - "type": "string" - }, - "properties": { - "$ref": "AutonomousDatabaseBackupProperties", - "description": "Optional. Various properties of the backup." - } - }, - "type": "object" - }, - "AutonomousDatabaseBackupProperties": { - "description": "Properties of the Autonomous Database Backup resource.", - "id": "AutonomousDatabaseBackupProperties", - "properties": { - "availableTillTime": { - "description": "Output only. Timestamp until when the backup will be available.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "compartmentId": { - "description": "Output only. The OCID of the compartment.", - "readOnly": true, - "type": "string" - }, - "databaseSizeTb": { - "description": "Output only. The quantity of data in the database, in terabytes.", + }, + "goldengateDeploymentEnvironments": { + "methods": { + "get": { + "description": "Gets details of a single GoldengateDeploymentEnvironment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateDeploymentEnvironments/{goldengateDeploymentEnvironmentsId}", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.goldengateDeploymentEnvironments.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource with the format: projects/{project}/locations/{location}/goldengateDeploymentEnvironments/{goldengate_deployment_environment}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateDeploymentEnvironments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoldengateDeploymentEnvironment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists GoldengateDeploymentEnvironments in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateDeploymentEnvironments", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.goldengateDeploymentEnvironments.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of items to return. If unspecified, at most 50 deployment environments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. Format: projects/{project}/locations/{location}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/goldengateDeploymentEnvironments", + "response": { + "$ref": "ListGoldengateDeploymentEnvironmentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "goldengateDeploymentTypes": { + "methods": { + "get": { + "description": "Gets details of a single GoldenGateDeploymentType.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateDeploymentTypes/{goldengateDeploymentTypesId}", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.goldengateDeploymentTypes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the GoldengateDeploymentType to retrieve. Format: projects/{project}/locations/{location}/goldengateDeploymentTypes/{goldengate_deployment_type}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateDeploymentTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoldengateDeploymentType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists GoldenGateDeploymentTypes in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateDeploymentTypes", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.goldengateDeploymentTypes.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression for filtering the results of the request. Either the deployment_type and ogg_version fields must be specified in the format: `deployment_type=\"DATABASE_ORACLE\"` or `ogg_version=\"version\"`. Allowed values for deployment_type are: `DATABASE_ORACLE`, `BIGDATA`, `DATABASE_MICROSOFT_SQLSERVER`, `DATABASE_MYSQL`, `DATABASE_POSTGRESQL`, `DATABASE_DB2ZOS`, `DATABASE_DB2I`, `GGSA`, `DATA_TRANSFORMS`.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource. Format: projects/{project}/locations/{location}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/goldengateDeploymentTypes", + "response": { + "$ref": "ListGoldengateDeploymentTypesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "goldengateDeploymentVersions": { + "methods": { + "get": { + "description": "Gets details of a single GoldengateDeploymentVersion.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateDeploymentVersions/{goldengateDeploymentVersionsId}", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.goldengateDeploymentVersions.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the GoldengateDeploymentVersion to retrieve. Format: projects/{project}/locations/{location}/goldengateDeploymentVersions/{goldengate_deployment_version}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateDeploymentVersions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoldengateDeploymentVersion" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists GoldengateDeploymentVersions in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateDeploymentVersions", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.goldengateDeploymentVersions.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression for filtering the results of the request. Either the deployment_id and deployment_type fields must be specified in the format: `deployment_id=\"id\"` or `deployment_type=\"DATABASE_ORACLE\"`.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: projects/{project}/locations/{location}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/goldengateDeploymentVersions", + "response": { + "$ref": "ListGoldengateDeploymentVersionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "goldengateDeployments": { + "methods": { + "create": { + "description": "Creates a new GoldengateDeployment in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateDeployments", + "httpMethod": "POST", + "id": "oracledatabase.projects.locations.goldengateDeployments.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "goldengateDeploymentId": { + "description": "Required. The ID of the GoldengateDeployment to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The value for parent of the GoldengateDeployment in the following format: projects/{project}/locations/{location}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/goldengateDeployments", + "request": { + "$ref": "GoldengateDeployment" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single GoldengateDeployment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateDeployments/{goldengateDeploymentsId}", + "httpMethod": "DELETE", + "id": "oracledatabase.projects.locations.goldengateDeployments.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the GoldengateDeployment in the following format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "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 GoldengateDeployment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateDeployments/{goldengateDeploymentsId}", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.goldengateDeployments.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the GoldengateDeployment in the following format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoldengateDeployment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists all the GoldengateDeployments for the given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateDeployments", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.goldengateDeployments.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression for filtering the results of the request.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. An expression for ordering the results of the request.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of items to return. If unspecified, at most 50 GoldengateDeployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous ListGoldengateDeployments call. Provide this to retrieve the subsequent page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent value for GoldengateDeployments in the following format: projects/{project}/locations/{location}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/goldengateDeployments", + "response": { + "$ref": "ListGoldengateDeploymentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "start": { + "description": "Starts a single GoldengateDeployment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateDeployments/{goldengateDeploymentsId}:start", + "httpMethod": "POST", + "id": "oracledatabase.projects.locations.goldengateDeployments.start", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Goldengate Deployment in the following format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:start", + "request": { + "$ref": "StartGoldengateDeploymentRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "stop": { + "description": "Stops a single GoldengateDeployment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/goldengateDeployments/{goldengateDeploymentsId}:stop", + "httpMethod": "POST", + "id": "oracledatabase.projects.locations.goldengateDeployments.stop", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Goldengate Deployment in the following format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:stop", + "request": { + "$ref": "StopGoldengateDeploymentRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "odbNetworks": { + "methods": { + "create": { + "description": "Creates a new ODB Network in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks", + "httpMethod": "POST", + "id": "oracledatabase.projects.locations.odbNetworks.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "odbNetworkId": { + "description": "Required. The ID of the OdbNetwork to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent value for the OdbNetwork in the following format: projects/{project}/locations/{location}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/odbNetworks", + "request": { + "$ref": "OdbNetwork" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single ODB Network.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks/{odbNetworksId}", + "httpMethod": "DELETE", + "id": "oracledatabase.projects.locations.odbNetworks.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "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 ODB Network.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks/{odbNetworksId}", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.odbNetworks.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the OdbNetwork in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "OdbNetwork" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists the ODB Networks in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.odbNetworks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression for filtering the results of the request.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. An expression for ordering the results of the request.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of items to return. If unspecified, at most 50 ODB Networks will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent value for the ODB Network in the following format: projects/{project}/locations/{location}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/odbNetworks", + "response": { + "$ref": "ListOdbNetworksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "odbSubnets": { + "methods": { + "create": { + "description": "Creates a new ODB Subnet in a given ODB Network.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks/{odbNetworksId}/odbSubnets", + "httpMethod": "POST", + "id": "oracledatabase.projects.locations.odbNetworks.odbSubnets.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "odbSubnetId": { + "description": "Required. The ID of the OdbSubnet to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/odbSubnets", + "request": { + "$ref": "OdbSubnet" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single ODB Subnet.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks/{odbNetworksId}/odbSubnets/{odbSubnetsId}", + "httpMethod": "DELETE", + "id": "oracledatabase.projects.locations.odbNetworks.odbSubnets.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbSubnets/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "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 ODB Subnet.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks/{odbNetworksId}/odbSubnets/{odbSubnetsId}", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.odbNetworks.odbSubnets.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbSubnets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "OdbSubnet" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists all the ODB Subnets in a given ODB Network.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/odbNetworks/{odbNetworksId}/odbSubnets", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.odbNetworks.odbSubnets.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression for filtering the results of the request.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. An expression for ordering the results of the request.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of items to return. If unspecified, at most 50 ODB Networks will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/odbSubnets", + "response": { + "$ref": "ListOdbSubnetsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "oracledatabase.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "oracledatabase.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "pluggableDatabases": { + "methods": { + "get": { + "description": "Gets details of a single PluggableDatabase.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pluggableDatabases/{pluggableDatabasesId}", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.pluggableDatabases.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/pluggableDatabases/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "PluggableDatabase" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists all the PluggableDatabases for the given project, location and Container Database.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pluggableDatabases", + "httpMethod": "GET", + "id": "oracledatabase.projects.locations.pluggableDatabases.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression for filtering the results of the request. List for pluggable databases is supported only with a valid container database (full resource name) filter in this format: `database=\"projects/{project}/locations/{location}/databases/{database}\"`", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of PluggableDatabases to return. The service may return fewer than this value.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListPluggableDatabases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPluggableDatabases` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of PluggableDatabases. Format: projects/{project}/locations/{location}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/pluggableDatabases", + "response": { + "$ref": "ListPluggableDatabasesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20260512", + "rootUrl": "https://oracledatabase.googleapis.com/", + "schemas": { + "AllConnectionStrings": { + "description": "A list of all connection strings that can be used to connect to the Autonomous Database.", + "id": "AllConnectionStrings", + "properties": { + "high": { + "description": "Output only. The database service provides the highest level of resources to each SQL statement.", + "readOnly": true, + "type": "string" + }, + "low": { + "description": "Output only. The database service provides the least level of resources to each SQL statement.", + "readOnly": true, + "type": "string" + }, + "medium": { + "description": "Output only. The database service provides a lower level of resources to each SQL statement.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "AmazonS3IcebergStorage": { + "description": "The Amazon S3 Iceberg storage.", + "id": "AmazonS3IcebergStorage", + "properties": { + "accessKeyId": { + "description": "Required. The access key ID of Amazon S3.", + "type": "string" + }, + "bucket": { + "description": "Required. The bucket of Amazon S3.", + "type": "string" + }, + "endpoint": { + "description": "Optional. The endpoint of Amazon S3.", + "type": "string" + }, + "region": { + "description": "Required. The region of Amazon S3.", + "type": "string" + }, + "schemeType": { + "description": "Required. The scheme type of Amazon S3.", + "enum": [ + "SCHEME_TYPE_UNSPECIFIED", + "S3", + "S3A" + ], + "enumDescriptions": [ + "Scheme type not specified.", + "S3 scheme.", + "S3A scheme." + ], + "type": "string" + }, + "secretAccessKeySecret": { + "description": "Optional. The secret access key of Amazon S3.", + "type": "string" + } + }, + "type": "object" + }, + "AutonomousDatabase": { + "description": "Details of the Autonomous Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/", + "id": "AutonomousDatabase", + "properties": { + "adminPassword": { + "description": "Optional. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.", + "type": "string" + }, + "adminPasswordSecretVersion": { + "description": "Optional. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.", + "type": "string" + }, + "cidr": { + "description": "Optional. Immutable. The subnet CIDR range for the Autonomous Database.", + "type": "string" + }, + "createTime": { + "description": "Output only. The date and time that the Autonomous Database was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "database": { + "description": "Optional. Immutable. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.", + "type": "string" + }, + "disasterRecoverySupportedLocations": { + "description": "Output only. List of supported GCP region to clone the Autonomous Database for disaster recovery. Format: `project/{project}/locations/{location}`.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "displayName": { + "description": "Optional. Immutable. The display name for the Autonomous Database. The name does not have to be unique within your project.", + "type": "string" + }, + "entitlementId": { + "description": "Output only. The ID of the subscription entitlement associated with the Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The labels or tags associated with the Autonomous Database.", + "type": "object" + }, + "name": { + "description": "Identifier. The name of the Autonomous Database resource in the following format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}", + "type": "string" + }, + "network": { + "description": "Optional. Immutable. The name of the VPC network used by the Autonomous Database in the following format: projects/{project}/global/networks/{network}", + "type": "string" + }, + "odbNetwork": { + "description": "Optional. Immutable. The name of the OdbNetwork associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.", + "type": "string" + }, + "odbSubnet": { + "description": "Optional. Immutable. The name of the OdbSubnet associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", + "type": "string" + }, + "peerAutonomousDatabases": { + "description": "Output only. The peer Autonomous Database names of the given Autonomous Database.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "properties": { + "$ref": "AutonomousDatabaseProperties", + "description": "Optional. The properties of the Autonomous Database." + }, + "sourceConfig": { + "$ref": "SourceConfig", + "description": "Optional. Immutable. The source Autonomous Database configuration for the standby Autonomous Database. The source Autonomous Database is configured while creating the Peer Autonomous Database and can't be updated after creation." + } + }, + "type": "object" + }, + "AutonomousDatabaseApex": { + "description": "Oracle APEX Application Development. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseApex", + "id": "AutonomousDatabaseApex", + "properties": { + "apexVersion": { + "description": "Output only. The Oracle APEX Application Development version.", + "readOnly": true, + "type": "string" + }, + "ordsVersion": { + "description": "Output only. The Oracle REST Data Services (ORDS) version.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "AutonomousDatabaseBackup": { + "description": "Details of the Autonomous Database Backup resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseBackup/", + "id": "AutonomousDatabaseBackup", + "properties": { + "autonomousDatabase": { + "description": "Required. The name of the Autonomous Database resource for which the backup is being created. Format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}", + "type": "string" + }, + "displayName": { + "description": "Optional. User friendly name for the Backup. The name does not have to be unique.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. labels or tags associated with the resource.", + "type": "object" + }, + "name": { + "description": "Identifier. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup}", + "type": "string" + }, + "properties": { + "$ref": "AutonomousDatabaseBackupProperties", + "description": "Optional. Various properties of the backup." + } + }, + "type": "object" + }, + "AutonomousDatabaseBackupProperties": { + "description": "Properties of the Autonomous Database Backup resource.", + "id": "AutonomousDatabaseBackupProperties", + "properties": { + "availableTillTime": { + "description": "Output only. Timestamp until when the backup will be available.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "compartmentId": { + "description": "Output only. The OCID of the compartment.", + "readOnly": true, + "type": "string" + }, + "databaseSizeTb": { + "description": "Output only. The quantity of data in the database, in terabytes.", + "format": "float", + "readOnly": true, + "type": "number" + }, + "dbVersion": { + "description": "Output only. A valid Oracle Database version for Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The date and time the backup completed.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "isAutomaticBackup": { + "description": "Output only. Indicates if the backup is automatic or user initiated.", + "readOnly": true, + "type": "boolean" + }, + "isLongTermBackup": { + "description": "Output only. Indicates if the backup is long term backup.", + "readOnly": true, + "type": "boolean" + }, + "isRestorable": { + "description": "Output only. Indicates if the backup can be used to restore the Autonomous Database.", + "readOnly": true, + "type": "boolean" + }, + "keyStoreId": { + "description": "Optional. The OCID of the key store of Oracle Vault.", + "type": "string" + }, + "keyStoreWallet": { + "description": "Optional. The wallet name for Oracle Key Vault.", + "type": "string" + }, + "kmsKeyId": { + "description": "Optional. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.", + "type": "string" + }, + "kmsKeyVersionId": { + "description": "Optional. The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.", + "type": "string" + }, + "lifecycleDetails": { + "description": "Output only. Additional information about the current lifecycle state.", + "readOnly": true, + "type": "string" + }, + "lifecycleState": { + "description": "Output only. The lifecycle state of the backup.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "DELETING", + "DELETED", + "FAILED", + "UPDATING" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Indicates that the resource is in creating state.", + "Indicates that the resource is in active state.", + "Indicates that the resource is in deleting state.", + "Indicates that the resource is in deleted state.", + "Indicates that the resource is in failed state.", + "Indicates that the resource is in updating state." + ], + "readOnly": true, + "type": "string" + }, + "ocid": { + "description": "Output only. OCID of the Autonomous Database backup. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle", + "readOnly": true, + "type": "string" + }, + "retentionPeriodDays": { + "description": "Optional. Retention period in days for the backup.", + "format": "int32", + "type": "integer" + }, + "sizeTb": { + "description": "Output only. The backup size in terabytes.", + "format": "float", + "readOnly": true, + "type": "number" + }, + "startTime": { + "description": "Output only. The date and time the backup started.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "type": { + "description": "Output only. The type of the backup.", + "enum": [ + "TYPE_UNSPECIFIED", + "INCREMENTAL", + "FULL", + "LONG_TERM" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Incremental backups.", + "Full backups.", + "Long term backups." + ], + "readOnly": true, + "type": "string" + }, + "vaultId": { + "description": "Optional. The OCID of the vault.", + "type": "string" + } + }, + "type": "object" + }, + "AutonomousDatabaseCharacterSet": { + "description": "Details of the Autonomous Database character set resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/", + "id": "AutonomousDatabaseCharacterSet", + "properties": { + "characterSet": { + "description": "Output only. The character set name for the Autonomous Database which is the ID in the resource name.", + "readOnly": true, + "type": "string" + }, + "characterSetType": { + "description": "Output only. The character set type for the Autonomous Database.", + "enum": [ + "CHARACTER_SET_TYPE_UNSPECIFIED", + "DATABASE", + "NATIONAL" + ], + "enumDescriptions": [ + "Character set type is not specified.", + "Character set type is set to database.", + "Character set type is set to national." + ], + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The name of the Autonomous Database Character Set resource in the following format: projects/{project}/locations/{region}/autonomousDatabaseCharacterSets/{autonomous_database_character_set}", + "type": "string" + } + }, + "type": "object" + }, + "AutonomousDatabaseConnectionStrings": { + "description": "The connection string used to connect to the Autonomous Database. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionStrings", + "id": "AutonomousDatabaseConnectionStrings", + "properties": { + "allConnectionStrings": { + "$ref": "AllConnectionStrings", + "description": "Output only. Returns all connection strings that can be used to connect to the Autonomous Database.", + "readOnly": true + }, + "dedicated": { + "description": "Output only. The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.", + "readOnly": true, + "type": "string" + }, + "high": { + "description": "Output only. The database service provides the highest level of resources to each SQL statement.", + "readOnly": true, + "type": "string" + }, + "low": { + "description": "Output only. The database service provides the least level of resources to each SQL statement.", + "readOnly": true, + "type": "string" + }, + "medium": { + "description": "Output only. The database service provides a lower level of resources to each SQL statement.", + "readOnly": true, + "type": "string" + }, + "profiles": { + "description": "Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.", + "items": { + "$ref": "DatabaseConnectionStringProfile" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "AutonomousDatabaseConnectionUrls": { + "description": "The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionUrls", + "id": "AutonomousDatabaseConnectionUrls", + "properties": { + "apexUri": { + "description": "Output only. Oracle Application Express (APEX) URL.", + "readOnly": true, + "type": "string" + }, + "databaseTransformsUri": { + "description": "Output only. The URL of the Database Transforms for the Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "graphStudioUri": { + "description": "Output only. The URL of the Graph Studio for the Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "machineLearningNotebookUri": { + "description": "Output only. The URL of the Oracle Machine Learning (OML) Notebook for the Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "machineLearningUserManagementUri": { + "description": "Output only. The URL of Machine Learning user management the Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "mongoDbUri": { + "description": "Output only. The URL of the MongoDB API for the Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "ordsUri": { + "description": "Output only. The Oracle REST Data Services (ORDS) URL of the Web Access for the Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "sqlDevWebUri": { + "description": "Output only. The URL of the Oracle SQL Developer Web for the Autonomous Database.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "AutonomousDatabaseProperties": { + "description": "The properties of an Autonomous Database.", + "id": "AutonomousDatabaseProperties", + "properties": { + "actualUsedDataStorageSizeTb": { + "description": "Output only. The amount of storage currently being used for user and system data, in terabytes.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "allocatedStorageSizeTb": { + "description": "Output only. The amount of storage currently allocated for the database tables and billed for, rounded up in terabytes.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "allowlistedIps": { + "description": "Optional. Immutable. The list of allowlisted IP addresses for the Autonomous Database.", + "items": { + "type": "string" + }, + "type": "array" + }, + "apexDetails": { + "$ref": "AutonomousDatabaseApex", + "description": "Output only. The details for the Oracle APEX Application Development.", + "readOnly": true + }, + "arePrimaryAllowlistedIpsUsed": { + "description": "Output only. This field indicates the status of Data Guard and Access control for the Autonomous Database. The field's value is null if Data Guard is disabled or Access Control is disabled. The field's value is TRUE if both Data Guard and Access Control are enabled, and the Autonomous Database is using primary IP access control list (ACL) for standby. The field's value is FALSE if both Data Guard and Access Control are enabled, and the Autonomous Database is using a different IP access control list (ACL) for standby compared to primary.", + "readOnly": true, + "type": "boolean" + }, + "autonomousContainerDatabaseId": { + "description": "Output only. The Autonomous Container Database OCID.", + "readOnly": true, + "type": "string" + }, + "availableUpgradeVersions": { + "description": "Output only. The list of available Oracle Database upgrade versions for an Autonomous Database.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "backupRetentionPeriodDays": { + "description": "Optional. Immutable. The retention period for the Autonomous Database. This field is specified in days, can range from 1 day to 60 days, and has a default value of 60 days.", + "format": "int32", + "type": "integer" + }, + "characterSet": { + "description": "Optional. Immutable. The character set for the Autonomous Database. The default is AL32UTF8.", + "type": "string" + }, + "computeCount": { + "description": "Optional. Immutable. The number of compute servers for the Autonomous Database.", + "format": "float", + "type": "number" + }, + "connectionStrings": { + "$ref": "AutonomousDatabaseConnectionStrings", + "description": "Output only. The connection strings used to connect to an Autonomous Database.", + "readOnly": true + }, + "connectionUrls": { + "$ref": "AutonomousDatabaseConnectionUrls", + "description": "Output only. The Oracle Connection URLs for an Autonomous Database.", + "readOnly": true + }, + "cpuCoreCount": { + "description": "Optional. Immutable. The number of CPU cores to be made available to the database.", + "format": "int32", + "type": "integer" + }, + "customerContacts": { + "description": "Optional. Immutable. The list of customer contacts.", + "items": { + "$ref": "CustomerContact" + }, + "type": "array" + }, + "dataGuardRoleChangedTime": { + "description": "Output only. The date and time the Autonomous Data Guard role was changed for the standby Autonomous Database.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "dataSafeState": { + "description": "Output only. The current state of the Data Safe registration for the Autonomous Database.", + "enum": [ + "DATA_SAFE_STATE_UNSPECIFIED", + "REGISTERING", + "REGISTERED", + "DEREGISTERING", + "NOT_REGISTERED", + "FAILED" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Registering data safe state.", + "Registered data safe state.", + "Deregistering data safe state.", + "Not registered data safe state.", + "Failed data safe state." + ], + "readOnly": true, + "type": "string" + }, + "dataStorageSizeGb": { + "description": "Optional. Immutable. The size of the data stored in the database, in gigabytes.", + "format": "int32", + "type": "integer" + }, + "dataStorageSizeTb": { + "description": "Optional. Immutable. The size of the data stored in the database, in terabytes.", + "format": "int32", + "type": "integer" + }, + "databaseManagementState": { + "description": "Output only. The current state of database management for the Autonomous Database.", + "enum": [ + "DATABASE_MANAGEMENT_STATE_UNSPECIFIED", + "ENABLING", + "ENABLED", + "DISABLING", + "NOT_ENABLED", + "FAILED_ENABLING", + "FAILED_DISABLING" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Enabling Database Management state", + "Enabled Database Management state", + "Disabling Database Management state", + "Not Enabled Database Management state", + "Failed enabling Database Management state", + "Failed disabling Database Management state" + ], + "readOnly": true, + "type": "string" + }, + "dbEdition": { + "description": "Optional. Immutable. The edition of the Autonomous Databases.", + "enum": [ + "DATABASE_EDITION_UNSPECIFIED", + "STANDARD_EDITION", + "ENTERPRISE_EDITION" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Standard Database Edition", + "Enterprise Database Edition" + ], + "type": "string" + }, + "dbVersion": { + "description": "Optional. Immutable. The Oracle Database version for the Autonomous Database.", + "type": "string" + }, + "dbWorkload": { + "description": "Required. Immutable. The workload type of the Autonomous Database.", + "enum": [ + "DB_WORKLOAD_UNSPECIFIED", + "OLTP", + "DW", + "AJD", + "APEX" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Autonomous Transaction Processing database.", + "Autonomous Data Warehouse database.", + "Autonomous JSON Database.", + "Autonomous Database with the Oracle APEX Application Development workload type." + ], + "type": "string" + }, + "disasterRecoveryRoleChangedTime": { + "description": "Output only. The date and time the Disaster Recovery role was changed for the standby Autonomous Database.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "encryptionKey": { + "$ref": "EncryptionKey", + "description": "Optional. The encryption key used to encrypt the Autonomous Database. Updating this field will add a new entry in the `encryption_key_history_entries` field with the former version." + }, + "encryptionKeyHistoryEntries": { + "description": "Output only. The history of the encryption keys used to encrypt the Autonomous Database.", + "items": { + "$ref": "EncryptionKeyHistoryEntry" + }, + "readOnly": true, + "type": "array" + }, + "failedDataRecoveryDuration": { + "description": "Output only. This field indicates the number of seconds of data loss during a Data Guard failover.", + "format": "google-duration", + "readOnly": true, + "type": "string" + }, + "isAutoScalingEnabled": { + "description": "Optional. Immutable. This field indicates if auto scaling is enabled for the Autonomous Database CPU core count.", + "type": "boolean" + }, + "isLocalDataGuardEnabled": { + "deprecated": true, + "description": "Output only. Deprecated: Please use `local_data_guard_enabled` instead. This field indicates whether the Autonomous Database has local (in-region) Data Guard enabled.", + "readOnly": true, + "type": "boolean" + }, + "isStorageAutoScalingEnabled": { + "description": "Optional. Immutable. This field indicates if auto scaling is enabled for the Autonomous Database storage.", + "type": "boolean" + }, + "licenseType": { + "description": "Required. Immutable. The license type used for the Autonomous Database.", + "enum": [ + "LICENSE_TYPE_UNSPECIFIED", + "LICENSE_INCLUDED", + "BRING_YOUR_OWN_LICENSE" + ], + "enumDescriptions": [ + "Unspecified", + "License included part of offer", + "Bring your own license" + ], + "type": "string" + }, + "lifecycleDetails": { + "description": "Output only. The details of the current lifestyle state of the Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "localAdgAutoFailoverMaxDataLossLimit": { + "deprecated": true, + "description": "Output only. Deprecated: Please use `local_adg_auto_failover_max_data_loss_limit_duration` instead. This field indicates the maximum data loss limit for an Autonomous Database, in seconds.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "localAdgAutoFailoverMaxDataLossLimitDuration": { + "description": "Optional. This field indicates the maximum data loss limit for an Autonomous Database, in seconds.", + "format": "int32", + "type": "integer" + }, + "localDataGuardEnabled": { + "description": "Optional. Indicates whether the Autonomous Database has a local (in-region) standby database. Not applicable to cross-region Data Guard or dedicated Exadata infrastructure.", + "type": "boolean" + }, + "localDisasterRecoveryType": { + "description": "Output only. This field indicates the local disaster recovery (DR) type of an Autonomous Database.", + "enum": [ + "LOCAL_DISASTER_RECOVERY_TYPE_UNSPECIFIED", + "ADG", + "BACKUP_BASED", + "NOT_AVAILABLE" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Autonomous Data Guard recovery.", + "Backup based recovery.", + "Local disaster recovery is not available." + ], + "readOnly": true, + "type": "string" + }, + "localStandbyDb": { + "$ref": "AutonomousDatabaseStandbySummary", + "description": "Output only. The details of the Autonomous Data Guard standby database.", + "readOnly": true + }, + "maintenanceBeginTime": { + "description": "Output only. The date and time when maintenance will begin.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "maintenanceEndTime": { + "description": "Output only. The date and time when maintenance will end.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "maintenanceScheduleType": { + "description": "Optional. Immutable. The maintenance schedule of the Autonomous Database.", + "enum": [ + "MAINTENANCE_SCHEDULE_TYPE_UNSPECIFIED", + "EARLY", + "REGULAR" + ], + "enumDescriptions": [ + "Default unspecified value.", + "An EARLY maintenance schedule patches the database before the regular scheduled maintenance.", + "A REGULAR maintenance schedule follows the normal maintenance cycle." + ], + "type": "string" + }, + "memoryPerOracleComputeUnitGbs": { + "description": "Output only. The amount of memory enabled per ECPU, in gigabytes.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "memoryTableGbs": { + "description": "Output only. The memory assigned to in-memory tables in an Autonomous Database.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "mtlsConnectionRequired": { + "description": "Optional. Immutable. This field specifies if the Autonomous Database requires mTLS connections.", + "type": "boolean" + }, + "nCharacterSet": { + "description": "Optional. Immutable. The national character set for the Autonomous Database. The default is AL16UTF16.", + "type": "string" + }, + "nextLongTermBackupTime": { + "description": "Output only. The long term backup schedule of the Autonomous Database.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "ociUrl": { + "description": "Output only. The Oracle Cloud Infrastructure link for the Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "ocid": { + "description": "Output only. OCID of the Autonomous Database. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle", + "readOnly": true, + "type": "string" + }, + "openMode": { + "description": "Output only. This field indicates the current mode of the Autonomous Database.", + "enum": [ + "OPEN_MODE_UNSPECIFIED", + "READ_ONLY", + "READ_WRITE" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Read Only Mode", + "Read Write Mode" + ], + "readOnly": true, + "type": "string" + }, + "operationsInsightsState": { + "description": "Output only. This field indicates the state of Operations Insights for the Autonomous Database.", + "enum": [ + "OPERATIONS_INSIGHTS_STATE_UNSPECIFIED", + "ENABLING", + "ENABLED", + "DISABLING", + "NOT_ENABLED", + "FAILED_ENABLING", + "FAILED_DISABLING" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Enabling status for operation insights.", + "Enabled status for operation insights.", + "Disabling status for operation insights.", + "Not Enabled status for operation insights.", + "Failed enabling status for operation insights.", + "Failed disabling status for operation insights." + ], + "readOnly": true, + "type": "string" + }, + "peerDbIds": { + "description": "Output only. The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "permissionLevel": { + "description": "Output only. The permission level of the Autonomous Database.", + "enum": [ + "PERMISSION_LEVEL_UNSPECIFIED", + "RESTRICTED", + "UNRESTRICTED" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Restricted mode allows access only by admin users.", + "Normal access." + ], + "readOnly": true, + "type": "string" + }, + "privateEndpoint": { + "description": "Output only. The private endpoint for the Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "privateEndpointIp": { + "description": "Optional. Immutable. The private endpoint IP address for the Autonomous Database.", + "type": "string" + }, + "privateEndpointLabel": { + "description": "Optional. Immutable. The private endpoint label for the Autonomous Database.", + "type": "string" + }, + "refreshableMode": { + "description": "Output only. The refresh mode of the cloned Autonomous Database.", + "enum": [ + "REFRESHABLE_MODE_UNSPECIFIED", + "AUTOMATIC", + "MANUAL" + ], + "enumDescriptions": [ + "The default unspecified value.", + "AUTOMATIC indicates that the cloned database is automatically refreshed with data from the source Autonomous Database.", + "MANUAL indicates that the cloned database is manually refreshed with data from the source Autonomous Database." + ], + "readOnly": true, + "type": "string" + }, + "refreshableState": { + "description": "Output only. The refresh State of the clone.", + "enum": [ + "REFRESHABLE_STATE_UNSPECIFIED", + "REFRESHING", + "NOT_REFRESHING" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Refreshing", + "Not refreshed" + ], + "readOnly": true, + "type": "string" + }, + "role": { + "description": "Output only. The Data Guard role of the Autonomous Database.", + "enum": [ + "ROLE_UNSPECIFIED", + "PRIMARY", + "STANDBY", + "DISABLED_STANDBY", + "BACKUP_COPY", + "SNAPSHOT_STANDBY" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Primary role", + "Standby role", + "Disabled standby role", + "Backup copy role", + "Snapshot standby role" + ], + "readOnly": true, + "type": "string" + }, + "scheduledOperationDetails": { + "description": "Output only. The list and details of the scheduled operations of the Autonomous Database.", + "items": { + "$ref": "ScheduledOperationDetails" + }, + "readOnly": true, + "type": "array" + }, + "secretId": { + "description": "Optional. Immutable. The ID of the Oracle Cloud Infrastructure vault secret.", + "type": "string" + }, + "serviceAgentEmail": { + "description": "Output only. An Oracle-managed Google Cloud service account on which customers can grant roles to access resources in the customer project.", + "readOnly": true, + "type": "string" + }, + "sqlWebDeveloperUrl": { + "description": "Output only. The SQL Web Developer URL for the Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The current lifecycle state of the Autonomous Database.", + "enum": [ + "STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "STOPPING", + "STOPPED", + "STARTING", + "TERMINATING", + "TERMINATED", + "UNAVAILABLE", + "RESTORE_IN_PROGRESS", + "RESTORE_FAILED", + "BACKUP_IN_PROGRESS", + "SCALE_IN_PROGRESS", + "AVAILABLE_NEEDS_ATTENTION", + "UPDATING", + "MAINTENANCE_IN_PROGRESS", + "RESTARTING", + "RECREATING", + "ROLE_CHANGE_IN_PROGRESS", + "UPGRADING", + "INACCESSIBLE", + "STANDBY" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Indicates that the Autonomous Database is in provisioning state.", + "Indicates that the Autonomous Database is in available state.", + "Indicates that the Autonomous Database is in stopping state.", + "Indicates that the Autonomous Database is in stopped state.", + "Indicates that the Autonomous Database is in starting state.", + "Indicates that the Autonomous Database is in terminating state.", + "Indicates that the Autonomous Database is in terminated state.", + "Indicates that the Autonomous Database is in unavailable state.", + "Indicates that the Autonomous Database restore is in progress.", + "Indicates that the Autonomous Database failed to restore.", + "Indicates that the Autonomous Database backup is in progress.", + "Indicates that the Autonomous Database scale is in progress.", + "Indicates that the Autonomous Database is available but needs attention state.", + "Indicates that the Autonomous Database is in updating state.", + "Indicates that the Autonomous Database's maintenance is in progress state.", + "Indicates that the Autonomous Database is in restarting state.", + "Indicates that the Autonomous Database is in recreating state.", + "Indicates that the Autonomous Database's role change is in progress state.", + "Indicates that the Autonomous Database is in upgrading state.", + "Indicates that the Autonomous Database is in inaccessible state.", + "Indicates that the Autonomous Database is in standby state." + ], + "readOnly": true, + "type": "string" + }, + "supportedCloneRegions": { + "description": "Output only. The list of available regions that can be used to create a clone for the Autonomous Database.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "totalAutoBackupStorageSizeGbs": { + "description": "Output only. The storage space used by automatic backups of Autonomous Database, in gigabytes.", + "format": "float", + "readOnly": true, + "type": "number" + }, + "usedDataStorageSizeTbs": { + "description": "Output only. The storage space used by Autonomous Database, in gigabytes.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "vaultId": { + "description": "Optional. Immutable. The ID of the Oracle Cloud Infrastructure vault.", + "type": "string" + } + }, + "type": "object" + }, + "AutonomousDatabaseStandbySummary": { + "description": "Autonomous Data Guard standby database details. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseStandbySummary", + "id": "AutonomousDatabaseStandbySummary", + "properties": { + "dataGuardRoleChangedTime": { + "description": "Output only. The date and time the Autonomous Data Guard role was switched for the standby Autonomous Database.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "disasterRecoveryRoleChangedTime": { + "description": "Output only. The date and time the Disaster Recovery role was switched for the standby Autonomous Database.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "lagTimeDuration": { + "description": "Output only. The amount of time, in seconds, that the data of the standby database lags in comparison to the data of the primary database.", + "format": "google-duration", + "readOnly": true, + "type": "string" + }, + "lifecycleDetails": { + "description": "Output only. The additional details about the current lifecycle state of the Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The current lifecycle state of the Autonomous Database.", + "enum": [ + "STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "STOPPING", + "STOPPED", + "STARTING", + "TERMINATING", + "TERMINATED", + "UNAVAILABLE", + "RESTORE_IN_PROGRESS", + "RESTORE_FAILED", + "BACKUP_IN_PROGRESS", + "SCALE_IN_PROGRESS", + "AVAILABLE_NEEDS_ATTENTION", + "UPDATING", + "MAINTENANCE_IN_PROGRESS", + "RESTARTING", + "RECREATING", + "ROLE_CHANGE_IN_PROGRESS", + "UPGRADING", + "INACCESSIBLE", + "STANDBY" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Indicates that the Autonomous Database is in provisioning state.", + "Indicates that the Autonomous Database is in available state.", + "Indicates that the Autonomous Database is in stopping state.", + "Indicates that the Autonomous Database is in stopped state.", + "Indicates that the Autonomous Database is in starting state.", + "Indicates that the Autonomous Database is in terminating state.", + "Indicates that the Autonomous Database is in terminated state.", + "Indicates that the Autonomous Database is in unavailable state.", + "Indicates that the Autonomous Database restore is in progress.", + "Indicates that the Autonomous Database failed to restore.", + "Indicates that the Autonomous Database backup is in progress.", + "Indicates that the Autonomous Database scale is in progress.", + "Indicates that the Autonomous Database is available but needs attention state.", + "Indicates that the Autonomous Database is in updating state.", + "Indicates that the Autonomous Database's maintenance is in progress state.", + "Indicates that the Autonomous Database is in restarting state.", + "Indicates that the Autonomous Database is in recreating state.", + "Indicates that the Autonomous Database's role change is in progress state.", + "Indicates that the Autonomous Database is in upgrading state.", + "Indicates that the Autonomous Database is in inaccessible state.", + "Indicates that the Autonomous Database is in standby state." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "AutonomousDbVersion": { + "description": "Details of the Autonomous Database version. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDbVersionSummary/", + "id": "AutonomousDbVersion", + "properties": { + "dbWorkload": { + "description": "Output only. The Autonomous Database workload type.", + "enum": [ + "DB_WORKLOAD_UNSPECIFIED", + "OLTP", + "DW", + "AJD", + "APEX" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Autonomous Transaction Processing database.", + "Autonomous Data Warehouse database.", + "Autonomous JSON Database.", + "Autonomous Database with the Oracle APEX Application Development workload type." + ], + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}", + "type": "string" + }, + "version": { + "description": "Output only. An Oracle Database version for Autonomous Database.", + "readOnly": true, + "type": "string" + }, + "workloadUri": { + "description": "Output only. A URL that points to a detailed description of the Autonomous Database version.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "AzureDataLakeStorageIcebergStorage": { + "description": "The Azure Data Lake Storage Iceberg storage.", + "id": "AzureDataLakeStorageIcebergStorage", + "properties": { + "accountKeySecret": { + "description": "Optional. The account key of Azure Data Lake Storage.", + "type": "string" + }, + "azureAccount": { + "description": "Required. The account of Azure Data Lake Storage.", + "type": "string" + }, + "container": { + "description": "Required. The container of Azure Data Lake Storage.", + "type": "string" + }, + "endpoint": { + "description": "Optional. The endpoint of Azure Data Lake Storage.", + "type": "string" + } + }, + "type": "object" + }, + "BackupDestinationDetails": { + "description": "The details of the database backup destination.", + "id": "BackupDestinationDetails", + "properties": { + "type": { + "description": "Optional. The type of the database backup destination.", + "enum": [ + "BACKUP_DESTINATION_TYPE_UNSPECIFIED", + "NFS", + "RECOVERY_APPLIANCE", + "OBJECT_STORE", + "LOCAL", + "DBRS" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Backup destination type is NFS.", + "Backup destination type is Recovery Appliance.", + "Backup destination type is Object Store.", + "Backup destination type is Local.", + "Backup destination type is DBRS." + ], + "type": "string" + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "CloudAccountDetails": { + "description": "Details of the OCI Cloud Account.", + "id": "CloudAccountDetails", + "properties": { + "accountCreationUri": { + "description": "Output only. URL to create a new account and link.", + "readOnly": true, + "type": "string" + }, + "cloudAccount": { + "description": "Output only. OCI account name.", + "readOnly": true, + "type": "string" + }, + "cloudAccountHomeRegion": { + "description": "Output only. OCI account home region.", + "readOnly": true, + "type": "string" + }, + "linkExistingAccountUri": { + "description": "Output only. URL to link an existing account.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "CloudExadataInfrastructure": { + "description": "Represents CloudExadataInfrastructure resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/", + "id": "CloudExadataInfrastructure", + "properties": { + "createTime": { + "description": "Output only. The date and time that the Exadata Infrastructure was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Optional. User friendly name for this resource.", + "type": "string" + }, + "entitlementId": { + "description": "Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.", + "readOnly": true, + "type": "string" + }, + "gcpOracleZone": { + "description": "Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels or tags associated with the resource.", + "type": "object" + }, + "name": { + "description": "Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}", + "type": "string" + }, + "properties": { + "$ref": "CloudExadataInfrastructureProperties", + "description": "Optional. Various properties of the infra." + } + }, + "type": "object" + }, + "CloudExadataInfrastructureProperties": { + "description": "Various properties of Exadata Infrastructure.", + "id": "CloudExadataInfrastructureProperties", + "properties": { + "activatedStorageCount": { + "description": "Output only. The requested number of additional storage servers activated for the Exadata Infrastructure.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "additionalStorageCount": { + "description": "Output only. The requested number of additional storage servers for the Exadata Infrastructure.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "availableStorageSizeGb": { + "description": "Output only. The available storage can be allocated to the Exadata Infrastructure resource, in gigabytes (GB).", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "computeCount": { + "description": "Optional. The number of compute servers for the Exadata Infrastructure.", + "format": "int32", + "type": "integer" + }, + "computeModel": { + "description": "Output only. The compute model of the Exadata Infrastructure.", + "enum": [ + "COMPUTE_MODEL_UNSPECIFIED", + "COMPUTE_MODEL_ECPU", + "COMPUTE_MODEL_OCPU" + ], + "enumDescriptions": [ + "Unspecified compute model.", + "Abstract measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers.", + "Physical measure of compute resources. OCPUs are based on the physical core of a processor." + ], + "readOnly": true, + "type": "string" + }, + "cpuCount": { + "description": "Output only. The number of enabled CPU cores.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "customerContacts": { + "description": "Optional. The list of customer contacts.", + "items": { + "$ref": "CustomerContact" + }, + "type": "array" + }, + "dataStorageSizeTb": { + "description": "Output only. Size, in terabytes, of the DATA disk group.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "databaseServerType": { + "description": "Output only. The database server type of the Exadata Infrastructure.", + "readOnly": true, + "type": "string" + }, + "dbNodeStorageSizeGb": { + "description": "Output only. The local node storage allocated in GBs.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "dbServerVersion": { + "description": "Output only. The software version of the database servers (dom0) in the Exadata Infrastructure.", + "readOnly": true, + "type": "string" + }, + "maintenanceWindow": { + "$ref": "MaintenanceWindow", + "description": "Optional. Maintenance window for repair." + }, + "maxCpuCount": { + "description": "Output only. The total number of CPU cores available.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "maxDataStorageTb": { + "description": "Output only. The total available DATA disk group size.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "maxDbNodeStorageSizeGb": { + "description": "Output only. The total local node storage available in GBs.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "maxMemoryGb": { + "description": "Output only. The total memory available in GBs.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "memorySizeGb": { + "description": "Output only. The memory allocated in GBs.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "monthlyDbServerVersion": { + "description": "Output only. The monthly software version of the database servers (dom0) in the Exadata Infrastructure. Example: 20.1.15", + "readOnly": true, + "type": "string" + }, + "monthlyStorageServerVersion": { + "description": "Output only. The monthly software version of the storage servers (cells) in the Exadata Infrastructure. Example: 20.1.15", + "readOnly": true, + "type": "string" + }, + "nextMaintenanceRunId": { + "description": "Output only. The OCID of the next maintenance run.", + "readOnly": true, + "type": "string" + }, + "nextMaintenanceRunTime": { + "description": "Output only. The time when the next maintenance run will occur.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "nextSecurityMaintenanceRunTime": { + "description": "Output only. The time when the next security maintenance run will occur.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "ociUrl": { + "description": "Output only. Deep link to the OCI console to view this resource.", + "readOnly": true, + "type": "string" + }, + "ocid": { + "description": "Output only. OCID of created infra. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle", + "readOnly": true, + "type": "string" + }, + "shape": { + "description": "Required. The shape of the Exadata Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance.", + "type": "string" + }, + "state": { + "description": "Output only. The current lifecycle state of the Exadata Infrastructure.", + "enum": [ + "STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "TERMINATING", + "TERMINATED", + "FAILED", + "MAINTENANCE_IN_PROGRESS" + ], + "enumDescriptions": [ + "Default unspecified value.", + "The Exadata Infrastructure is being provisioned.", + "The Exadata Infrastructure is available for use.", + "The Exadata Infrastructure is being updated.", + "The Exadata Infrastructure is being terminated.", + "The Exadata Infrastructure is terminated.", + "The Exadata Infrastructure is in failed state.", + "The Exadata Infrastructure is in maintenance." + ], + "readOnly": true, + "type": "string" + }, + "storageCount": { + "description": "Optional. The number of Cloud Exadata storage servers for the Exadata Infrastructure.", + "format": "int32", + "type": "integer" + }, + "storageServerType": { + "description": "Output only. The storage server type of the Exadata Infrastructure.", + "readOnly": true, + "type": "string" + }, + "storageServerVersion": { + "description": "Output only. The software version of the storage servers (cells) in the Exadata Infrastructure.", + "readOnly": true, + "type": "string" + }, + "totalStorageSizeGb": { + "description": "Optional. The total storage allocated to the Exadata Infrastructure resource, in gigabytes (GB).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "CloudVmCluster": { + "description": "Details of the Cloud VM Cluster resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudVmCluster/", + "id": "CloudVmCluster", + "properties": { + "backupOdbSubnet": { + "description": "Optional. The name of the backup OdbSubnet associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", + "type": "string" + }, + "backupSubnetCidr": { + "description": "Optional. CIDR range of the backup subnet.", + "type": "string" + }, + "cidr": { + "description": "Optional. Network settings. CIDR to use for cluster IP allocation.", + "type": "string" + }, + "createTime": { + "description": "Output only. The date and time that the VM cluster was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Optional. User friendly name for this resource.", + "type": "string" + }, + "exadataInfrastructure": { + "description": "Required. The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}", + "type": "string" + }, + "gcpOracleZone": { + "description": "Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted. This will be the same as the gcp_oracle_zone of the CloudExadataInfrastructure. Example: us-east4-b-r2.", + "readOnly": true, + "type": "string" + }, + "identityConnector": { + "$ref": "IdentityConnector", + "description": "Output only. The identity connector details which will allow OCI to securely access the resources in the customer project.", + "readOnly": true + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels or tags associated with the VM Cluster.", + "type": "object" + }, + "name": { + "description": "Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}", + "type": "string" + }, + "network": { + "description": "Optional. The name of the VPC network. Format: projects/{project}/global/networks/{network}", + "type": "string" + }, + "odbNetwork": { + "description": "Optional. The name of the OdbNetwork associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the odb_subnet and backup_odb_subnet.", + "type": "string" + }, + "odbSubnet": { + "description": "Optional. The name of the OdbSubnet associated with the VM Cluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", + "type": "string" + }, + "properties": { + "$ref": "CloudVmClusterProperties", + "description": "Optional. Various properties of the VM Cluster." + } + }, + "type": "object" + }, + "CloudVmClusterProperties": { + "description": "Various properties and settings associated with Exadata VM cluster.", + "id": "CloudVmClusterProperties", + "properties": { + "clusterName": { + "description": "Optional. OCI Cluster name.", + "type": "string" + }, + "compartmentId": { + "description": "Output only. Compartment ID of cluster.", + "readOnly": true, + "type": "string" + }, + "computeModel": { + "description": "Output only. The compute model of the VM Cluster.", + "enum": [ + "COMPUTE_MODEL_UNSPECIFIED", + "COMPUTE_MODEL_ECPU", + "COMPUTE_MODEL_OCPU" + ], + "enumDescriptions": [ + "Unspecified compute model.", + "Abstract measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers.", + "Physical measure of compute resources. OCPUs are based on the physical core of a processor." + ], + "readOnly": true, + "type": "string" + }, + "cpuCoreCount": { + "description": "Required. Number of enabled CPU cores.", + "format": "int32", + "type": "integer" + }, + "dataStorageSizeTb": { + "description": "Optional. The data disk group size to be allocated in TBs.", + "format": "double", + "type": "number" + }, + "dbNodeStorageSizeGb": { + "description": "Optional. Local storage per VM.", + "format": "int32", + "type": "integer" + }, + "dbServerOcids": { + "description": "Optional. OCID of database servers.", + "items": { + "type": "string" + }, + "type": "array" + }, + "diagnosticsDataCollectionOptions": { + "$ref": "DataCollectionOptions", + "description": "Optional. Data collection options for diagnostics." + }, + "diskRedundancy": { + "description": "Optional. The type of redundancy.", + "enum": [ + "DISK_REDUNDANCY_UNSPECIFIED", + "HIGH", + "NORMAL" + ], + "enumDescriptions": [ + "Unspecified.", + "High - 3 way mirror.", + "Normal - 2 way mirror." + ], + "type": "string" + }, + "dnsListenerIp": { + "description": "Output only. DNS listener IP.", + "readOnly": true, + "type": "string" + }, + "domain": { + "description": "Output only. Parent DNS domain where SCAN DNS and hosts names are qualified. ex: ocispdelegated.ocisp10jvnet.oraclevcn.com", + "readOnly": true, + "type": "string" + }, + "giVersion": { + "description": "Optional. Grid Infrastructure Version.", + "type": "string" + }, + "hostname": { + "description": "Output only. host name without domain. format: \"-\" with some suffix. ex: sp2-yi0xq where \"sp2\" is the hostname_prefix.", + "readOnly": true, + "type": "string" + }, + "hostnamePrefix": { + "description": "Optional. Prefix for VM cluster host names.", + "type": "string" + }, + "licenseType": { + "description": "Required. License type of VM Cluster.", + "enum": [ + "LICENSE_TYPE_UNSPECIFIED", + "LICENSE_INCLUDED", + "BRING_YOUR_OWN_LICENSE" + ], + "enumDescriptions": [ + "Unspecified", + "License included part of offer", + "Bring your own license" + ], + "type": "string" + }, + "localBackupEnabled": { + "description": "Optional. Use local backup.", + "type": "boolean" + }, + "memorySizeGb": { + "description": "Optional. Memory allocated in GBs.", + "format": "int32", + "type": "integer" + }, + "nodeCount": { + "description": "Optional. Number of database servers.", + "format": "int32", + "type": "integer" + }, + "ociUrl": { + "description": "Output only. Deep link to the OCI console to view this resource.", + "readOnly": true, + "type": "string" + }, + "ocid": { + "description": "Output only. Oracle Cloud Infrastructure ID of VM Cluster.", + "readOnly": true, + "type": "string" + }, + "ocpuCount": { + "description": "Optional. OCPU count per VM. Minimum is 0.1.", "format": "float", + "type": "number" + }, + "scanDns": { + "description": "Output only. SCAN DNS name. ex: sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com", + "readOnly": true, + "type": "string" + }, + "scanDnsRecordId": { + "description": "Output only. OCID of scan DNS record.", + "readOnly": true, + "type": "string" + }, + "scanIpIds": { + "description": "Output only. OCIDs of scan IPs.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "scanListenerPortTcp": { + "description": "Output only. SCAN listener port - TCP", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "scanListenerPortTcpSsl": { + "description": "Output only. SCAN listener port - TLS", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "shape": { + "description": "Output only. Shape of VM Cluster.", + "readOnly": true, + "type": "string" + }, + "sparseDiskgroupEnabled": { + "description": "Optional. Use exadata sparse snapshots.", + "type": "boolean" + }, + "sshPublicKeys": { + "description": "Optional. SSH public keys to be stored with cluster.", + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "description": "Output only. State of the cluster.", + "enum": [ + "STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "TERMINATING", + "TERMINATED", + "FAILED", + "MAINTENANCE_IN_PROGRESS" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Indicates that the resource is in provisioning state.", + "Indicates that the resource is in available state.", + "Indicates that the resource is in updating state.", + "Indicates that the resource is in terminating state.", + "Indicates that the resource is in terminated state.", + "Indicates that the resource is in failed state.", + "Indicates that the resource is in maintenance in progress state." + ], + "readOnly": true, + "type": "string" + }, + "storageSizeGb": { + "description": "Output only. The storage allocation for the disk group, in gigabytes (GB).", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "systemVersion": { + "description": "Optional. Operating system version of the image.", + "type": "string" + }, + "timeZone": { + "$ref": "TimeZone", + "description": "Optional. Time zone of VM Cluster to set. Defaults to UTC if not specified." + } + }, + "type": "object" + }, + "CustomerContact": { + "description": "The CustomerContact reference as defined by Oracle. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/CustomerContact", + "id": "CustomerContact", + "properties": { + "email": { + "description": "Required. The email address used by Oracle to send notifications regarding databases and infrastructure.", + "type": "string" + } + }, + "type": "object" + }, + "DataCollectionOptions": { + "description": "Data collection options for diagnostics.", + "id": "DataCollectionOptions", + "properties": { + "diagnosticsEventsEnabled": { + "description": "Optional. Indicates whether diagnostic collection is enabled for the VM cluster", + "type": "boolean" + }, + "healthMonitoringEnabled": { + "description": "Optional. Indicates whether health monitoring is enabled for the VM cluster", + "type": "boolean" + }, + "incidentLogsEnabled": { + "description": "Optional. Indicates whether incident logs and trace collection are enabled for the VM cluster", + "type": "boolean" + } + }, + "type": "object" + }, + "DataCollectionOptionsCommon": { + "description": "Data collection options for diagnostics. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DataCollectionOptions", + "id": "DataCollectionOptionsCommon", + "properties": { + "isDiagnosticsEventsEnabled": { + "description": "Optional. Indicates whether to enable data collection for diagnostics.", + "type": "boolean" + }, + "isHealthMonitoringEnabled": { + "description": "Optional. Indicates whether to enable health monitoring.", + "type": "boolean" + }, + "isIncidentLogsEnabled": { + "description": "Optional. Indicates whether to enable incident logs and trace collection.", + "type": "boolean" + } + }, + "type": "object" + }, + "DataCollectionOptionsDbSystem": { + "description": "Data collection options for DbSystem.", + "id": "DataCollectionOptionsDbSystem", + "properties": { + "isDiagnosticsEventsEnabled": { + "description": "Optional. Indicates whether to enable data collection for diagnostics.", + "type": "boolean" + }, + "isIncidentLogsEnabled": { + "description": "Optional. Indicates whether to enable incident logs and trace collection.", + "type": "boolean" + } + }, + "type": "object" + }, + "Database": { + "description": "Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/", + "id": "Database", + "properties": { + "adminPassword": { + "description": "Optional. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.", + "type": "string" + }, + "adminPasswordSecretVersion": { + "description": "Optional. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.", + "type": "string" + }, + "characterSet": { + "description": "Optional. The character set for the database. The default is AL32UTF8.", + "type": "string" + }, + "createTime": { + "description": "Output only. The date and time that the Database was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "databaseId": { + "description": "Optional. The database ID of the Database.", + "type": "string" + }, + "dbHomeName": { + "description": "Optional. The name of the DbHome resource associated with the Database.", + "type": "string" + }, + "dbName": { + "description": "Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.", + "type": "string" + }, + "dbUniqueName": { + "description": "Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.", + "type": "string" + }, + "gcpOracleZone": { + "description": "Output only. The GCP Oracle zone where the Database is created.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}", + "type": "string" + }, + "ncharacterSet": { + "description": "Optional. The national character set for the database. The default is AL16UTF16.", + "type": "string" + }, + "ociUrl": { + "description": "Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.", + "readOnly": true, + "type": "string" + }, + "opsInsightsStatus": { + "description": "Output only. The Status of Operations Insights for this Database.", + "enum": [ + "OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED", + "ENABLING", + "ENABLED", + "DISABLING", + "NOT_ENABLED", + "FAILED_ENABLING", + "FAILED_DISABLING" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Indicates that the operations insights are being enabled.", + "Indicates that the operations insights are enabled.", + "Indicates that the operations insights are being disabled.", + "Indicates that the operations insights are not enabled.", + "Indicates that the operations insights failed to enable.", + "Indicates that the operations insights failed to disable." + ], + "readOnly": true, + "type": "string" + }, + "pluggableDatabaseId": { + "description": "Optional. The ID of the pluggable database associated with the Database. The ID must be unique within the project and location.", + "type": "string" + }, + "pluggableDatabaseName": { + "description": "Optional. The pluggable database associated with the Database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters.", + "type": "string" + }, + "properties": { + "$ref": "DatabaseProperties", + "description": "Optional. The properties of the Database." + }, + "tdeWalletPassword": { + "description": "Optional. The TDE wallet password for the database. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.", + "type": "string" + }, + "tdeWalletPasswordSecretVersion": { + "description": "Optional. The resource name of a secret version in Secret Manager which contains the TDE wallet password for the database. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.", + "type": "string" + } + }, + "type": "object" + }, + "DatabaseCharacterSet": { + "description": "Details of the Database character set resource.", + "id": "DatabaseCharacterSet", + "properties": { + "characterSet": { + "description": "Output only. The character set name for the Database which is the ID in the resource name.", + "readOnly": true, + "type": "string" + }, + "characterSetType": { + "description": "Output only. The character set type for the Database.", + "enum": [ + "CHARACTER_SET_TYPE_UNSPECIFIED", + "DATABASE", + "NATIONAL" + ], + "enumDescriptions": [ + "Character set type is not specified.", + "Character set type is set to database.", + "Character set type is set to national." + ], + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The name of the Database Character Set resource in the following format: projects/{project}/locations/{region}/databaseCharacterSets/{database_character_set}", + "type": "string" + } + }, + "type": "object" + }, + "DatabaseConnectionStringProfile": { + "description": "The connection string profile to allow clients to group. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DatabaseConnectionStringProfile", + "id": "DatabaseConnectionStringProfile", + "properties": { + "consumerGroup": { + "description": "Output only. The current consumer group being used by the connection.", + "enum": [ + "CONSUMER_GROUP_UNSPECIFIED", + "HIGH", + "MEDIUM", + "LOW", + "TP", + "TPURGENT" + ], + "enumDescriptions": [ + "Default unspecified value.", + "High consumer group.", + "Medium consumer group.", + "Low consumer group.", + "TP consumer group.", + "TPURGENT consumer group." + ], + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Output only. The display name for the database connection.", + "readOnly": true, + "type": "string" + }, + "hostFormat": { + "description": "Output only. The host name format being currently used in connection string.", + "enum": [ + "HOST_FORMAT_UNSPECIFIED", + "FQDN", + "IP" + ], + "enumDescriptions": [ + "Default unspecified value.", + "FQDN", + "IP" + ], + "readOnly": true, + "type": "string" + }, + "isRegional": { + "description": "Output only. This field indicates if the connection string is regional and is only applicable for cross-region Data Guard.", + "readOnly": true, + "type": "boolean" + }, + "protocol": { + "description": "Output only. The protocol being used by the connection.", + "enum": [ + "PROTOCOL_UNSPECIFIED", + "TCP", + "TCPS" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Tcp", + "Tcps" + ], + "readOnly": true, + "type": "string" + }, + "sessionMode": { + "description": "Output only. The current session mode of the connection.", + "enum": [ + "SESSION_MODE_UNSPECIFIED", + "DIRECT", + "INDIRECT" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Direct", + "Indirect" + ], + "readOnly": true, + "type": "string" + }, + "syntaxFormat": { + "description": "Output only. The syntax of the connection string.", + "enum": [ + "SYNTAX_FORMAT_UNSPECIFIED", + "LONG", + "EZCONNECT", + "EZCONNECTPLUS" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Long", + "Ezconnect", + "Ezconnectplus" + ], + "readOnly": true, + "type": "string" + }, + "tlsAuthentication": { + "description": "Output only. This field indicates the TLS authentication type of the connection.", + "enum": [ + "TLS_AUTHENTICATION_UNSPECIFIED", + "SERVER", + "MUTUAL" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Server", + "Mutual" + ], + "readOnly": true, + "type": "string" + }, + "value": { + "description": "Output only. The value of the connection string.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "DatabaseManagementConfig": { + "description": "The configuration of the Database Management service.", + "id": "DatabaseManagementConfig", + "properties": { + "managementState": { + "description": "Output only. The status of the Database Management service.", + "enum": [ + "MANAGEMENT_STATE_UNSPECIFIED", + "ENABLING", + "ENABLED", + "DISABLING", + "DISABLED", + "UPDATING", + "FAILED_ENABLING", + "FAILED_DISABLING", + "FAILED_UPDATING" + ], + "enumDescriptions": [ + "The status is not specified.", + "The Database Management service is enabling.", + "The Database Management service is enabled.", + "The Database Management service is disabling.", + "The Database Management service is disabled.", + "The Database Management service is updating.", + "The Database Management service failed to enable.", + "The Database Management service failed to disable.", + "The Database Management service failed to update." + ], + "readOnly": true, + "type": "string" + }, + "managementType": { + "description": "Output only. The Database Management type.", + "enum": [ + "MANAGEMENT_TYPE_UNSPECIFIED", + "BASIC", + "ADVANCED" + ], + "enumDescriptions": [ + "The type is not specified.", + "Basic Database Management.", + "Advanced Database Management." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "DatabaseProperties": { + "description": "The properties of a Database.", + "id": "DatabaseProperties", + "properties": { + "databaseManagementConfig": { + "$ref": "DatabaseManagementConfig", + "description": "Output only. The Database Management config.", + "readOnly": true + }, + "dbBackupConfig": { + "$ref": "DbBackupConfig", + "description": "Optional. Backup options for the Database." + }, + "dbVersion": { + "description": "Required. The Oracle Database version.", + "type": "string" + }, + "state": { + "description": "Output only. State of the Database.", + "enum": [ + "DATABASE_LIFECYCLE_STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "BACKUP_IN_PROGRESS", + "UPGRADING", + "CONVERTING", + "TERMINATING", + "TERMINATED", + "RESTORE_FAILED", + "FAILED" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Indicates that the resource is in provisioning state.", + "Indicates that the resource is in available state.", + "Indicates that the resource is in updating state.", + "Indicates that the resource is in backup in progress state.", + "Indicates that the resource is in upgrading state.", + "Indicates that the resource is in converting state.", + "Indicates that the resource is in terminating state.", + "Indicates that the resource is in terminated state.", + "Indicates that the resource is in restore failed state.", + "Indicates that the resource is in failed state." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "DbBackupConfig": { + "description": "Backup Options for the Database.", + "id": "DbBackupConfig", + "properties": { + "autoBackupEnabled": { + "description": "Optional. If set to true, enables automatic backups on the database.", + "type": "boolean" + }, + "autoFullBackupDay": { + "description": "Optional. The day of the week on which the full backup should be performed on the database. If no value is provided, it will default to Sunday.", + "enum": [ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY" + ], + "enumDescriptions": [ + "The day of the week is unspecified.", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "type": "string" + }, + "autoFullBackupWindow": { + "description": "Optional. The window in which the full backup should be performed on the database. If no value is provided, the default is anytime.", + "enum": [ + "BACKUP_WINDOW_UNSPECIFIED", + "SLOT_ONE", + "SLOT_TWO", + "SLOT_THREE", + "SLOT_FOUR", + "SLOT_FIVE", + "SLOT_SIX", + "SLOT_SEVEN", + "SLOT_EIGHT", + "SLOT_NINE", + "SLOT_TEN", + "SLOT_ELEVEN", + "SLOT_TWELVE" + ], + "enumDescriptions": [ + "Default unspecified value.", + "12:00 AM - 2:00 AM", + "2:00 AM - 4:00 AM", + "4:00 AM - 6:00 AM", + "6:00 AM - 8:00 AM", + "8:00 AM - 10:00 AM", + "10:00 AM - 12:00 PM", + "12:00 PM - 2:00 PM", + "2:00 PM - 4:00 PM", + "4:00 PM - 6:00 PM", + "6:00 PM - 8:00 PM", + "8:00 PM - 10:00 PM", + "10:00 PM - 12:00 AM" + ], + "type": "string" + }, + "autoIncrementalBackupWindow": { + "description": "Optional. The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day.", + "enum": [ + "BACKUP_WINDOW_UNSPECIFIED", + "SLOT_ONE", + "SLOT_TWO", + "SLOT_THREE", + "SLOT_FOUR", + "SLOT_FIVE", + "SLOT_SIX", + "SLOT_SEVEN", + "SLOT_EIGHT", + "SLOT_NINE", + "SLOT_TEN", + "SLOT_ELEVEN", + "SLOT_TWELVE" + ], + "enumDescriptions": [ + "Default unspecified value.", + "12:00 AM - 2:00 AM", + "2:00 AM - 4:00 AM", + "4:00 AM - 6:00 AM", + "6:00 AM - 8:00 AM", + "8:00 AM - 10:00 AM", + "10:00 AM - 12:00 PM", + "12:00 PM - 2:00 PM", + "2:00 PM - 4:00 PM", + "4:00 PM - 6:00 PM", + "6:00 PM - 8:00 PM", + "8:00 PM - 10:00 PM", + "10:00 PM - 12:00 AM" + ], + "type": "string" + }, + "backupDeletionPolicy": { + "description": "Optional. This defines when the backups will be deleted after Database termination.", + "enum": [ + "BACKUP_DELETION_POLICY_UNSPECIFIED", + "DELETE_IMMEDIATELY", + "DELETE_AFTER_RETENTION_PERIOD" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Keeps the backup for predefined time i.e. 72 hours and then delete permanently.", + "Keeps the backups as per the policy defined for database backups." + ], + "type": "string" + }, + "backupDestinationDetails": { + "description": "Optional. Details of the database backup destinations.", + "items": { + "$ref": "BackupDestinationDetails" + }, + "type": "array" + }, + "retentionPeriodDays": { + "description": "Optional. The number of days an automatic backup is retained before being automatically deleted. This value determines the earliest point in time to which a database can be restored. Min: 1, Max: 60.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "DbHome": { + "description": "Details of the Database Home resource.", + "id": "DbHome", + "properties": { + "database": { + "$ref": "Database", + "description": "Required. The Database resource." + }, + "dbVersion": { + "description": "Required. A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.", + "type": "string" + }, + "displayName": { + "description": "Optional. The display name for the Database Home. The name does not have to be unique within your project.", + "type": "string" + }, + "isUnifiedAuditingEnabled": { + "description": "Optional. Whether unified auditing is enabled for the Database Home.", + "type": "boolean" + } + }, + "type": "object" + }, + "DbNode": { + "description": "Details of the database node resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbNode/", + "id": "DbNode", + "properties": { + "name": { + "description": "Identifier. The name of the database node resource in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}/dbNodes/{db_node}", + "type": "string" + }, + "properties": { + "$ref": "DbNodeProperties", + "description": "Optional. Various properties of the database node." + } + }, + "type": "object" + }, + "DbNodeProperties": { + "description": "Various properties and settings associated with Db node.", + "id": "DbNodeProperties", + "properties": { + "createTime": { + "description": "Output only. The date and time that the database node was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "dbNodeStorageSizeGb": { + "description": "Optional. Local storage per database node.", + "format": "int32", + "type": "integer" + }, + "dbServerOcid": { + "description": "Optional. Database server OCID.", + "type": "string" + }, + "hostname": { + "description": "Optional. DNS", + "type": "string" + }, + "memorySizeGb": { + "description": "Memory allocated in GBs.", + "format": "int32", + "type": "integer" + }, + "ocid": { + "description": "Output only. OCID of database node.", + "readOnly": true, + "type": "string" + }, + "ocpuCount": { + "description": "Optional. OCPU count per database node.", + "format": "int32", + "type": "integer" + }, + "state": { + "description": "Output only. State of the database node.", + "enum": [ + "STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "STOPPING", + "STOPPED", + "STARTING", + "TERMINATING", + "TERMINATED", + "FAILED" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Indicates that the resource is in provisioning state.", + "Indicates that the resource is in available state.", + "Indicates that the resource is in updating state.", + "Indicates that the resource is in stopping state.", + "Indicates that the resource is in stopped state.", + "Indicates that the resource is in starting state.", + "Indicates that the resource is in terminating state.", + "Indicates that the resource is in terminated state.", + "Indicates that the resource is in failed state." + ], + "readOnly": true, + "type": "string" + }, + "totalCpuCoreCount": { + "description": "Total CPU core count of the database node.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "DbServer": { + "description": "Details of the database server resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbServer/", + "id": "DbServer", + "properties": { + "displayName": { + "description": "Optional. User friendly name for this resource.", + "type": "string" + }, + "name": { + "description": "Identifier. The name of the database server resource with the format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}/dbServers/{db_server}", + "type": "string" + }, + "properties": { + "$ref": "DbServerProperties", + "description": "Optional. Various properties of the database server." + } + }, + "type": "object" + }, + "DbServerProperties": { + "description": "Various properties and settings associated with Exadata database server.", + "id": "DbServerProperties", + "properties": { + "dbNodeIds": { + "description": "Output only. OCID of database nodes associated with the database server.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "dbNodeStorageSizeGb": { + "description": "Optional. Local storage per VM.", + "format": "int32", + "type": "integer" + }, + "maxDbNodeStorageSizeGb": { + "description": "Optional. Maximum local storage per VM.", + "format": "int32", + "type": "integer" + }, + "maxMemorySizeGb": { + "description": "Optional. Maximum memory allocated in GBs.", + "format": "int32", + "type": "integer" + }, + "maxOcpuCount": { + "description": "Optional. Maximum OCPU count per database.", + "format": "int32", + "type": "integer" + }, + "memorySizeGb": { + "description": "Optional. Memory allocated in GBs.", + "format": "int32", + "type": "integer" + }, + "ocid": { + "description": "Output only. OCID of database server.", "readOnly": true, - "type": "number" + "type": "string" }, - "dbVersion": { - "description": "Output only. A valid Oracle Database version for Autonomous Database.", + "ocpuCount": { + "description": "Optional. OCPU count per database.", + "format": "int32", + "type": "integer" + }, + "state": { + "description": "Output only. State of the database server.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "AVAILABLE", + "UNAVAILABLE", + "DELETING", + "DELETED" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Indicates that the resource is in creating state.", + "Indicates that the resource is in available state.", + "Indicates that the resource is in unavailable state.", + "Indicates that the resource is in deleting state.", + "Indicates that the resource is in deleted state." + ], "readOnly": true, "type": "string" }, - "endTime": { - "description": "Output only. The date and time the backup completed.", + "vmCount": { + "description": "Optional. Vm count per database.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "DbSystem": { + "description": "Details of the DbSystem (BaseDB) resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystem/", + "id": "DbSystem", + "properties": { + "createTime": { + "description": "Output only. The date and time that the DbSystem was created.", "format": "google-datetime", "readOnly": true, "type": "string" }, - "isAutomaticBackup": { - "description": "Output only. Indicates if the backup is automatic or user initiated.", - "readOnly": true, - "type": "boolean" + "displayName": { + "description": "Required. The display name for the System db. The name does not have to be unique within your project.", + "type": "string" }, - "isLongTermBackup": { - "description": "Output only. Indicates if the backup is long term backup.", + "entitlementId": { + "description": "Output only. The ID of the subscription entitlement associated with the DbSystem", "readOnly": true, - "type": "boolean" + "type": "string" }, - "isRestorable": { - "description": "Output only. Indicates if the backup can be used to restore the Autonomous Database.", - "readOnly": true, - "type": "boolean" + "gcpOracleZone": { + "description": "Optional. The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.", + "type": "string" }, - "keyStoreId": { - "description": "Optional. The OCID of the key store of Oracle Vault.", + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The labels or tags associated with the DbSystem.", + "type": "object" + }, + "name": { + "description": "Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}", "type": "string" }, - "keyStoreWallet": { - "description": "Optional. The wallet name for Oracle Key Vault.", + "ociUrl": { + "description": "Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.", + "readOnly": true, "type": "string" }, - "kmsKeyId": { - "description": "Optional. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.", + "odbNetwork": { + "description": "Optional. The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.", "type": "string" }, - "kmsKeyVersionId": { - "description": "Optional. The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.", + "odbSubnet": { + "description": "Required. The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", "type": "string" }, - "lifecycleDetails": { - "description": "Output only. Additional information about the current lifecycle state.", + "properties": { + "$ref": "DbSystemProperties", + "description": "Optional. The properties of the DbSystem." + } + }, + "type": "object" + }, + "DbSystemInitialStorageSize": { + "description": "Summary of the DbSystem initial storage size.", + "id": "DbSystemInitialStorageSize", + "properties": { + "name": { + "description": "Output only. The name of the resource.", "readOnly": true, "type": "string" }, - "lifecycleState": { - "description": "Output only. The lifecycle state of the backup.", + "properties": { + "$ref": "DbSystemInitialStorageSizeProperties", + "description": "Output only. The properties of the DbSystem initial storage size summary.", + "readOnly": true + } + }, + "type": "object" + }, + "DbSystemInitialStorageSizeProperties": { + "description": "The properties of a DbSystem initial storage size summary.", + "id": "DbSystemInitialStorageSizeProperties", + "properties": { + "launchFromBackupStorageSizeDetails": { + "description": "Output only. List of storage disk details available for launches from backup.", + "items": { + "$ref": "StorageSizeDetails" + }, + "readOnly": true, + "type": "array" + }, + "shapeType": { + "description": "Output only. VM shape platform type", "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "ACTIVE", - "DELETING", - "DELETED", - "FAILED", - "UPDATING" + "SHAPE_TYPE_UNSPECIFIED", + "STANDARD_X86" ], "enumDescriptions": [ - "Default unspecified value.", - "Indicates that the resource is in creating state.", - "Indicates that the resource is in active state.", - "Indicates that the resource is in deleting state.", - "Indicates that the resource is in deleted state.", - "Indicates that the resource is in failed state.", - "Indicates that the resource is in updating state." + "Unspecified shape type.", + "Standard X86." ], "readOnly": true, "type": "string" }, - "ocid": { - "description": "Output only. OCID of the Autonomous Database backup. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle", + "storageManagement": { + "description": "Output only. The storage option used in DB system.", + "enum": [ + "STORAGE_MANAGEMENT_UNSPECIFIED", + "ASM", + "LVM" + ], + "enumDescriptions": [ + "Unspecified storage management.", + "Automatic Storage Management.", + "Logical Volume Management." + ], "readOnly": true, "type": "string" }, - "retentionPeriodDays": { - "description": "Optional. Retention period in days for the backup.", + "storageSizeDetails": { + "description": "Output only. List of storage disk details.", + "items": { + "$ref": "StorageSizeDetails" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "DbSystemOptions": { + "description": "Details of the DbSystem Options.", + "id": "DbSystemOptions", + "properties": { + "storageManagement": { + "description": "Optional. The storage option used in DB system.", + "enum": [ + "STORAGE_MANAGEMENT_UNSPECIFIED", + "ASM", + "LVM" + ], + "enumDescriptions": [ + "The storage management is unspecified.", + "Automatic storage management.", + "Logical Volume management." + ], + "type": "string" + } + }, + "type": "object" + }, + "DbSystemProperties": { + "description": "The properties of a DbSystem.", + "id": "DbSystemProperties", + "properties": { + "computeCount": { + "description": "Required. The number of CPU cores to enable for the DbSystem.", + "format": "int32", + "type": "integer" + }, + "computeModel": { + "description": "Optional. The compute model of the DbSystem.", + "enum": [ + "COMPUTE_MODEL_UNSPECIFIED", + "ECPU", + "OCPU" + ], + "enumDescriptions": [ + "The compute model is unspecified.", + "The compute model is virtual.", + "The compute model is physical." + ], + "type": "string" + }, + "dataCollectionOptions": { + "$ref": "DataCollectionOptionsDbSystem", + "description": "Optional. Data collection options for diagnostics." + }, + "dataStorageSizeGb": { + "description": "Optional. The data storage size in GB that is currently available to DbSystems.", "format": "int32", "type": "integer" }, - "sizeTb": { - "description": "Output only. The backup size in terabytes.", - "format": "float", + "databaseEdition": { + "description": "Required. The database edition of the DbSystem.", + "enum": [ + "DB_SYSTEM_DATABASE_EDITION_UNSPECIFIED", + "STANDARD_EDITION", + "ENTERPRISE_EDITION", + "ENTERPRISE_EDITION_HIGH_PERFORMANCE" + ], + "enumDescriptions": [ + "The database edition is unspecified.", + "The database edition is Standard.", + "The database edition is Enterprise.", + "The database edition is Enterprise Edition." + ], + "type": "string" + }, + "dbHome": { + "$ref": "DbHome", + "description": "Optional. Details for creating a Database Home." + }, + "dbSystemOptions": { + "$ref": "DbSystemOptions", + "description": "Optional. The options for the DbSystem." + }, + "domain": { + "description": "Optional. The host domain name of the DbSystem.", + "type": "string" + }, + "hostname": { + "description": "Output only. The hostname of the DbSystem.", "readOnly": true, - "type": "number" + "type": "string" }, - "startTime": { - "description": "Output only. The date and time the backup started.", - "format": "google-datetime", - "readOnly": true, + "hostnamePrefix": { + "description": "Optional. Prefix for DB System host names.", "type": "string" }, - "type": { - "description": "Output only. The type of the backup.", + "initialDataStorageSizeGb": { + "description": "Required. The initial data storage size in GB.", + "format": "int32", + "type": "integer" + }, + "licenseModel": { + "description": "Required. The license model of the DbSystem.", "enum": [ - "TYPE_UNSPECIFIED", - "INCREMENTAL", - "FULL", - "LONG_TERM" + "LICENSE_MODEL_UNSPECIFIED", + "LICENSE_INCLUDED", + "BRING_YOUR_OWN_LICENSE" ], "enumDescriptions": [ - "Default unspecified value.", - "Incremental backups.", - "Full backups.", - "Long term backups." + "The license model is unspecified.", + "The license model is included.", + "The license model is bring your own license." ], - "readOnly": true, - "type": "string" - }, - "vaultId": { - "description": "Optional. The OCID of the vault.", - "type": "string" - } - }, - "type": "object" - }, - "AutonomousDatabaseCharacterSet": { - "description": "Details of the Autonomous Database character set resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/", - "id": "AutonomousDatabaseCharacterSet", - "properties": { - "characterSet": { - "description": "Output only. The character set name for the Autonomous Database which is the ID in the resource name.", - "readOnly": true, "type": "string" }, - "characterSetType": { - "description": "Output only. The character set type for the Autonomous Database.", + "lifecycleState": { + "description": "Output only. State of the DbSystem.", "enum": [ - "CHARACTER_SET_TYPE_UNSPECIFIED", - "DATABASE", - "NATIONAL" + "DB_SYSTEM_LIFECYCLE_STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "TERMINATING", + "TERMINATED", + "FAILED", + "MIGRATED", + "MAINTENANCE_IN_PROGRESS", + "NEEDS_ATTENTION", + "UPGRADING" ], "enumDescriptions": [ - "Character set type is not specified.", - "Character set type is set to database.", - "Character set type is set to national." + "Default unspecified value.", + "Indicates that the resource is in provisioning state.", + "Indicates that the resource is in available state.", + "Indicates that the resource is in updating state.", + "Indicates that the resource is in terminating state.", + "Indicates that the resource is in terminated state.", + "Indicates that the resource is in failed state.", + "Indicates that the resource has been migrated.", + "Indicates that the resource is in maintenance in progress state.", + "Indicates that the resource needs attention.", + "Indicates that the resource is upgrading." ], "readOnly": true, "type": "string" }, - "name": { - "description": "Identifier. The name of the Autonomous Database Character Set resource in the following format: projects/{project}/locations/{region}/autonomousDatabaseCharacterSets/{autonomous_database_character_set}", - "type": "string" - } - }, - "type": "object" - }, - "AutonomousDatabaseConnectionStrings": { - "description": "The connection string used to connect to the Autonomous Database. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionStrings", - "id": "AutonomousDatabaseConnectionStrings", - "properties": { - "allConnectionStrings": { - "$ref": "AllConnectionStrings", - "description": "Output only. Returns all connection strings that can be used to connect to the Autonomous Database.", - "readOnly": true + "memorySizeGb": { + "description": "Optional. The memory size in GB.", + "format": "int32", + "type": "integer" }, - "dedicated": { - "description": "Output only. The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.", - "readOnly": true, - "type": "string" + "nodeCount": { + "description": "Optional. The number of nodes in the DbSystem.", + "format": "int32", + "type": "integer" }, - "high": { - "description": "Output only. The database service provides the highest level of resources to each SQL statement.", + "ocid": { + "description": "Output only. OCID of the DbSystem.", "readOnly": true, "type": "string" }, - "low": { - "description": "Output only. The database service provides the least level of resources to each SQL statement.", - "readOnly": true, + "privateIp": { + "description": "Optional. The private IP address of the DbSystem.", "type": "string" }, - "medium": { - "description": "Output only. The database service provides a lower level of resources to each SQL statement.", - "readOnly": true, + "recoStorageSizeGb": { + "description": "Optional. The reco/redo storage size in GB.", + "format": "int32", + "type": "integer" + }, + "shape": { + "description": "Required. Shape of DB System.", "type": "string" }, - "profiles": { - "description": "Output only. A list of connection string profiles to allow clients to group, filter, and select values based on the structured metadata.", + "sshPublicKeys": { + "description": "Required. SSH public keys to be stored with the DbSystem.", "items": { - "$ref": "DatabaseConnectionStringProfile" + "type": "string" }, - "readOnly": true, "type": "array" + }, + "timeZone": { + "$ref": "TimeZone", + "description": "Optional. Time zone of the DbSystem." } }, "type": "object" }, - "AutonomousDatabaseConnectionUrls": { - "description": "The URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionUrls", - "id": "AutonomousDatabaseConnectionUrls", + "DbSystemShape": { + "description": "Details of the Database System Shapes resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystemShapeSummary/", + "id": "DbSystemShape", "properties": { - "apexUri": { - "description": "Output only. Oracle Application Express (APEX) URL.", - "readOnly": true, - "type": "string" + "availableCoreCountPerNode": { + "description": "Optional. Number of cores per node.", + "format": "int32", + "type": "integer" }, - "databaseTransformsUri": { - "description": "Output only. The URL of the Database Transforms for the Autonomous Database.", - "readOnly": true, - "type": "string" + "availableDataStorageTb": { + "description": "Optional. Storage per storage server in terabytes.", + "format": "int32", + "type": "integer" }, - "graphStudioUri": { - "description": "Output only. The URL of the Graph Studio for the Autonomous Database.", - "readOnly": true, - "type": "string" + "availableMemoryPerNodeGb": { + "description": "Optional. Memory per database server node in gigabytes.", + "format": "int32", + "type": "integer" }, - "machineLearningNotebookUri": { - "description": "Output only. The URL of the Oracle Machine Learning (OML) Notebook for the Autonomous Database.", - "readOnly": true, - "type": "string" + "maxNodeCount": { + "description": "Optional. Maximum number of database servers.", + "format": "int32", + "type": "integer" }, - "machineLearningUserManagementUri": { - "description": "Output only. The URL of Machine Learning user management the Autonomous Database.", - "readOnly": true, - "type": "string" + "maxStorageCount": { + "description": "Optional. Maximum number of storage servers.", + "format": "int32", + "type": "integer" }, - "mongoDbUri": { - "description": "Output only. The URL of the MongoDB API for the Autonomous Database.", - "readOnly": true, - "type": "string" + "minCoreCountPerNode": { + "description": "Optional. Minimum core count per node.", + "format": "int32", + "type": "integer" }, - "ordsUri": { - "description": "Output only. The Oracle REST Data Services (ORDS) URL of the Web Access for the Autonomous Database.", - "readOnly": true, + "minDbNodeStoragePerNodeGb": { + "description": "Optional. Minimum node storage per database server in gigabytes.", + "format": "int32", + "type": "integer" + }, + "minMemoryPerNodeGb": { + "description": "Optional. Minimum memory per node in gigabytes.", + "format": "int32", + "type": "integer" + }, + "minNodeCount": { + "description": "Optional. Minimum number of database servers.", + "format": "int32", + "type": "integer" + }, + "minStorageCount": { + "description": "Optional. Minimum number of storage servers.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "Identifier. The name of the Database System Shape resource with the format: projects/{project}/locations/{region}/dbSystemShapes/{db_system_shape}", "type": "string" }, - "sqlDevWebUri": { - "description": "Output only. The URL of the Oracle SQL Developer Web for the Autonomous Database.", - "readOnly": true, + "shape": { + "description": "Optional. shape", "type": "string" } }, "type": "object" }, - "AutonomousDatabaseProperties": { - "description": "The properties of an Autonomous Database.", - "id": "AutonomousDatabaseProperties", + "DbVersion": { + "description": "A valid Oracle Database version.", + "id": "DbVersion", "properties": { - "actualUsedDataStorageSizeTb": { - "description": "Output only. The amount of storage currently being used for user and system data, in terabytes.", - "format": "double", + "name": { + "description": "Output only. The name of the DbVersion resource in the following format: projects/{project}/locations/{region}/dbVersions/{db_version}", "readOnly": true, - "type": "number" + "type": "string" }, - "allocatedStorageSizeTb": { - "description": "Output only. The amount of storage currently allocated for the database tables and billed for, rounded up in terabytes.", - "format": "double", + "properties": { + "$ref": "DbVersionProperties", + "description": "Output only. The properties of the DbVersion.", + "readOnly": true + } + }, + "type": "object" + }, + "DbVersionProperties": { + "description": "The properties of a DbVersion.", + "id": "DbVersionProperties", + "properties": { + "isLatestForMajorVersion": { + "description": "Output only. True if this version of the Oracle Database software is the latest version for a release.", "readOnly": true, - "type": "number" + "type": "boolean" }, - "allowlistedIps": { - "description": "Optional. Immutable. The list of allowlisted IP addresses for the Autonomous Database.", - "items": { - "type": "string" - }, - "type": "array" + "isPreviewDbVersion": { + "description": "Output only. True if this version of the Oracle Database software is the preview version.", + "readOnly": true, + "type": "boolean" }, - "apexDetails": { - "$ref": "AutonomousDatabaseApex", - "description": "Output only. The details for the Oracle APEX Application Development.", - "readOnly": true + "isUpgradeSupported": { + "description": "Output only. True if this version of the Oracle Database software is supported for Upgrade.", + "readOnly": true, + "type": "boolean" }, - "arePrimaryAllowlistedIpsUsed": { - "description": "Output only. This field indicates the status of Data Guard and Access control for the Autonomous Database. The field's value is null if Data Guard is disabled or Access Control is disabled. The field's value is TRUE if both Data Guard and Access Control are enabled, and the Autonomous Database is using primary IP access control list (ACL) for standby. The field's value is FALSE if both Data Guard and Access Control are enabled, and the Autonomous Database is using a different IP access control list (ACL) for standby compared to primary.", + "supportsPdb": { + "description": "Output only. True if this version of the Oracle Database software supports pluggable databases.", "readOnly": true, "type": "boolean" }, - "autonomousContainerDatabaseId": { - "description": "Output only. The Autonomous Container Database OCID.", + "version": { + "description": "Output only. A valid Oracle Database version.", "readOnly": true, "type": "string" - }, - "availableUpgradeVersions": { - "description": "Output only. The list of available Oracle Database upgrade versions for an Autonomous Database.", - "items": { + } + }, + "type": "object" + }, + "DefinedTagValue": { + "description": "Wrapper message for the value of a defined tag.", + "id": "DefinedTagValue", + "properties": { + "tags": { + "additionalProperties": { "type": "string" }, + "description": "The tags within the namespace.", + "type": "object" + } + }, + "type": "object" + }, + "DeploymentDiagnosticData": { + "description": "The deployment diagnostic data.", + "id": "DeploymentDiagnosticData", + "properties": { + "bucket": { + "description": "Output only. The bucket name.", "readOnly": true, - "type": "array" - }, - "backupRetentionPeriodDays": { - "description": "Optional. Immutable. The retention period for the Autonomous Database. This field is specified in days, can range from 1 day to 60 days, and has a default value of 60 days.", - "format": "int32", - "type": "integer" - }, - "characterSet": { - "description": "Optional. Immutable. The character set for the Autonomous Database. The default is AL32UTF8.", "type": "string" }, - "computeCount": { - "description": "Optional. Immutable. The number of compute servers for the Autonomous Database.", - "format": "float", - "type": "number" - }, - "connectionStrings": { - "$ref": "AutonomousDatabaseConnectionStrings", - "description": "Output only. The connection strings used to connect to an Autonomous Database.", - "readOnly": true - }, - "connectionUrls": { - "$ref": "AutonomousDatabaseConnectionUrls", - "description": "Output only. The Oracle Connection URLs for an Autonomous Database.", - "readOnly": true - }, - "cpuCoreCount": { - "description": "Optional. Immutable. The number of CPU cores to be made available to the database.", - "format": "int32", - "type": "integer" - }, - "customerContacts": { - "description": "Optional. Immutable. The list of customer contacts.", - "items": { - "$ref": "CustomerContact" - }, - "type": "array" + "diagnosticEndTime": { + "description": "Output only. The time diagnostic end.", + "format": "google-datetime", + "readOnly": true, + "type": "string" }, - "dataGuardRoleChangedTime": { - "description": "Output only. The date and time the Autonomous Data Guard role was changed for the standby Autonomous Database.", + "diagnosticStartTime": { + "description": "Output only. The time diagnostic start.", "format": "google-datetime", "readOnly": true, "type": "string" }, - "dataSafeState": { - "description": "Output only. The current state of the Data Safe registration for the Autonomous Database.", + "diagnosticState": { + "description": "Output only. The diagnostic state.", "enum": [ - "DATA_SAFE_STATE_UNSPECIFIED", - "REGISTERING", - "REGISTERED", - "DEREGISTERING", - "NOT_REGISTERED", + "DIAGNOSTIC_STATE_UNSPECIFIED", + "IN_PROGRESS", + "SUCCEEDED", "FAILED" ], "enumDescriptions": [ - "Default unspecified value.", - "Registering data safe state.", - "Registered data safe state.", - "Deregistering data safe state.", - "Not registered data safe state.", - "Failed data safe state." + "The diagnostic state is unspecified.", + "The diagnostic is in progress.", + "The diagnostic completed successfully.", + "The diagnostic failed." ], "readOnly": true, "type": "string" }, - "dataStorageSizeGb": { - "description": "Optional. Immutable. The size of the data stored in the database, in gigabytes.", - "format": "int32", - "type": "integer" - }, - "dataStorageSizeTb": { - "description": "Optional. Immutable. The size of the data stored in the database, in terabytes.", - "format": "int32", - "type": "integer" - }, - "databaseManagementState": { - "description": "Output only. The current state of database management for the Autonomous Database.", - "enum": [ - "DATABASE_MANAGEMENT_STATE_UNSPECIFIED", - "ENABLING", - "ENABLED", - "DISABLING", - "NOT_ENABLED", - "FAILED_ENABLING", - "FAILED_DISABLING" - ], - "enumDescriptions": [ - "Default unspecified value.", - "Enabling Database Management state", - "Enabled Database Management state", - "Disabling Database Management state", - "Not Enabled Database Management state", - "Failed enabling Database Management state", - "Failed disabling Database Management state" - ], + "namespace": { + "description": "Output only. The namespace name.", "readOnly": true, "type": "string" }, - "dbEdition": { - "description": "Optional. Immutable. The edition of the Autonomous Databases.", - "enum": [ - "DATABASE_EDITION_UNSPECIFIED", - "STANDARD_EDITION", - "ENTERPRISE_EDITION" - ], - "enumDescriptions": [ - "Default unspecified value.", - "Standard Database Edition", - "Enterprise Database Edition" - ], + "object": { + "description": "Output only. The object name.", + "readOnly": true, "type": "string" - }, - "dbVersion": { - "description": "Optional. Immutable. The Oracle Database version for the Autonomous Database.", + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "EncryptionKey": { + "description": "The encryption key used to encrypt the Autonomous Database.", + "id": "EncryptionKey", + "properties": { + "kmsKey": { + "description": "Optional. The KMS key used to encrypt the Autonomous Database. This field is required if the provider is GOOGLE_MANAGED. The name of the KMS key resource in the following format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", "type": "string" }, - "dbWorkload": { - "description": "Required. Immutable. The workload type of the Autonomous Database.", + "provider": { + "description": "Optional. The provider of the encryption key.", "enum": [ - "DB_WORKLOAD_UNSPECIFIED", - "OLTP", - "DW", - "AJD", - "APEX" + "PROVIDER_UNSPECIFIED", + "GOOGLE_MANAGED", + "ORACLE_MANAGED" ], "enumDescriptions": [ "Default unspecified value.", - "Autonomous Transaction Processing database.", - "Autonomous Data Warehouse database.", - "Autonomous JSON Database.", - "Autonomous Database with the Oracle APEX Application Development workload type." + "Google Managed KMS key, if selected, please provide the KMS key name.", + "Oracle Managed." ], "type": "string" - }, - "disasterRecoveryRoleChangedTime": { - "description": "Output only. The date and time the Disaster Recovery role was changed for the standby Autonomous Database.", + } + }, + "type": "object" + }, + "EncryptionKeyHistoryEntry": { + "description": "The history of the encryption keys used to encrypt the Autonomous Database.", + "id": "EncryptionKeyHistoryEntry", + "properties": { + "activationTime": { + "description": "Output only. The date and time when the encryption key was activated on the Autonomous Database..", "format": "google-datetime", "readOnly": true, "type": "string" }, "encryptionKey": { "$ref": "EncryptionKey", - "description": "Optional. The encryption key used to encrypt the Autonomous Database. Updating this field will add a new entry in the `encryption_key_history_entries` field with the former version." - }, - "encryptionKeyHistoryEntries": { - "description": "Output only. The history of the encryption keys used to encrypt the Autonomous Database.", - "items": { - "$ref": "EncryptionKeyHistoryEntry" - }, - "readOnly": true, - "type": "array" - }, - "failedDataRecoveryDuration": { - "description": "Output only. This field indicates the number of seconds of data loss during a Data Guard failover.", - "format": "google-duration", - "readOnly": true, - "type": "string" - }, - "isAutoScalingEnabled": { - "description": "Optional. Immutable. This field indicates if auto scaling is enabled for the Autonomous Database CPU core count.", - "type": "boolean" - }, - "isLocalDataGuardEnabled": { - "deprecated": true, - "description": "Output only. Deprecated: Please use `local_data_guard_enabled` instead. This field indicates whether the Autonomous Database has local (in-region) Data Guard enabled.", - "readOnly": true, - "type": "boolean" - }, - "isStorageAutoScalingEnabled": { - "description": "Optional. Immutable. This field indicates if auto scaling is enabled for the Autonomous Database storage.", - "type": "boolean" - }, - "licenseType": { - "description": "Required. Immutable. The license type used for the Autonomous Database.", - "enum": [ - "LICENSE_TYPE_UNSPECIFIED", - "LICENSE_INCLUDED", - "BRING_YOUR_OWN_LICENSE" - ], - "enumDescriptions": [ - "Unspecified", - "License included part of offer", - "Bring your own license" - ], - "type": "string" + "description": "Output only. The encryption key used to encrypt the Autonomous Database.", + "readOnly": true + } + }, + "type": "object" + }, + "Entitlement": { + "description": "Details of the Entitlement resource.", + "id": "Entitlement", + "properties": { + "cloudAccountDetails": { + "$ref": "CloudAccountDetails", + "description": "Details of the OCI Cloud Account." }, - "lifecycleDetails": { - "description": "Output only. The details of the current lifestyle state of the Autonomous Database.", + "entitlementId": { + "description": "Output only. Google Cloud Marketplace order ID (aka entitlement ID)", "readOnly": true, "type": "string" }, - "localAdgAutoFailoverMaxDataLossLimit": { - "deprecated": true, - "description": "Output only. Deprecated: Please use `local_adg_auto_failover_max_data_loss_limit_duration` instead. This field indicates the maximum data loss limit for an Autonomous Database, in seconds.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "localAdgAutoFailoverMaxDataLossLimitDuration": { - "description": "Optional. This field indicates the maximum data loss limit for an Autonomous Database, in seconds.", - "format": "int32", - "type": "integer" - }, - "localDataGuardEnabled": { - "description": "Optional. Indicates whether the Autonomous Database has a local (in-region) standby database. Not applicable to cross-region Data Guard or dedicated Exadata infrastructure.", - "type": "boolean" + "name": { + "description": "Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}", + "type": "string" }, - "localDisasterRecoveryType": { - "description": "Output only. This field indicates the local disaster recovery (DR) type of an Autonomous Database.", + "state": { + "description": "Output only. Entitlement State.", "enum": [ - "LOCAL_DISASTER_RECOVERY_TYPE_UNSPECIFIED", - "ADG", - "BACKUP_BASED", - "NOT_AVAILABLE" + "STATE_UNSPECIFIED", + "ACCOUNT_NOT_LINKED", + "ACCOUNT_NOT_ACTIVE", + "ACTIVE", + "ACCOUNT_SUSPENDED", + "NOT_APPROVED_IN_PRIVATE_MARKETPLACE" ], "enumDescriptions": [ "Default unspecified value.", - "Autonomous Data Guard recovery.", - "Backup based recovery.", - "Local disaster recovery is not available." + "Account not linked.", + "Account is linked but not active.", + "Entitlement and Account are active.", + "Account is suspended.", + "Entitlement is not approved in private marketplace." ], "readOnly": true, "type": "string" - }, - "localStandbyDb": { - "$ref": "AutonomousDatabaseStandbySummary", - "description": "Output only. The details of the Autonomous Data Guard standby database.", - "readOnly": true - }, - "maintenanceBeginTime": { - "description": "Output only. The date and time when maintenance will begin.", - "format": "google-datetime", - "readOnly": true, + } + }, + "type": "object" + }, + "ExadbVmCluster": { + "description": "ExadbVmCluster represents a cluster of VMs that are used to run Exadata workloads. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/ExadbVmCluster/", + "id": "ExadbVmCluster", + "properties": { + "backupOdbSubnet": { + "description": "Required. Immutable. The name of the backup OdbSubnet associated with the ExadbVmCluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", "type": "string" }, - "maintenanceEndTime": { - "description": "Output only. The date and time when maintenance will end.", + "createTime": { + "description": "Output only. The date and time that the ExadbVmCluster was created.", "format": "google-datetime", "readOnly": true, "type": "string" }, - "maintenanceScheduleType": { - "description": "Optional. Immutable. The maintenance schedule of the Autonomous Database.", - "enum": [ - "MAINTENANCE_SCHEDULE_TYPE_UNSPECIFIED", - "EARLY", - "REGULAR" - ], - "enumDescriptions": [ - "Default unspecified value.", - "An EARLY maintenance schedule patches the database before the regular scheduled maintenance.", - "A REGULAR maintenance schedule follows the normal maintenance cycle." - ], + "displayName": { + "description": "Required. Immutable. The display name for the ExadbVmCluster. The name does not have to be unique within your project. The name must be 1-255 characters long and can only contain alphanumeric characters.", "type": "string" }, - "memoryPerOracleComputeUnitGbs": { - "description": "Output only. The amount of memory enabled per ECPU, in gigabytes.", - "format": "int32", + "entitlementId": { + "description": "Output only. The ID of the subscription entitlement associated with the ExadbVmCluster.", "readOnly": true, - "type": "integer" + "type": "string" }, - "memoryTableGbs": { - "description": "Output only. The memory assigned to in-memory tables in an Autonomous Database.", - "format": "int32", + "gcpOracleZone": { + "description": "Output only. Immutable. The GCP Oracle zone where Oracle ExadbVmCluster is hosted. Example: us-east4-b-r2. During creation, the system will pick the zone assigned to the ExascaleDbStorageVault.", "readOnly": true, - "type": "integer" + "type": "string" }, - "mtlsConnectionRequired": { - "description": "Optional. Immutable. This field specifies if the Autonomous Database requires mTLS connections.", - "type": "boolean" + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The labels or tags associated with the ExadbVmCluster.", + "type": "object" }, - "nCharacterSet": { - "description": "Optional. Immutable. The national character set for the Autonomous Database. The default is AL16UTF16.", + "name": { + "description": "Identifier. The name of the ExadbVmCluster resource in the following format: projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster}", "type": "string" }, - "nextLongTermBackupTime": { - "description": "Output only. The long term backup schedule of the Autonomous Database.", - "format": "google-datetime", - "readOnly": true, + "odbNetwork": { + "description": "Optional. Immutable. The name of the OdbNetwork associated with the ExadbVmCluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.", "type": "string" }, - "ociUrl": { - "description": "Output only. The Oracle Cloud Infrastructure link for the Autonomous Database.", - "readOnly": true, + "odbSubnet": { + "description": "Required. Immutable. The name of the OdbSubnet associated with the ExadbVmCluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", "type": "string" }, - "ocid": { - "description": "Output only. OCID of the Autonomous Database. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle", - "readOnly": true, - "type": "string" + "properties": { + "$ref": "ExadbVmClusterProperties", + "description": "Required. The properties of the ExadbVmCluster." + } + }, + "type": "object" + }, + "ExadbVmClusterProperties": { + "description": "The properties of an ExadbVmCluster.", + "id": "ExadbVmClusterProperties", + "properties": { + "additionalEcpuCountPerNode": { + "description": "Optional. Immutable. The number of additional ECPUs per node for an Exadata VM cluster on exascale infrastructure.", + "format": "int32", + "type": "integer" }, - "openMode": { - "description": "Output only. This field indicates the current mode of the Autonomous Database.", - "enum": [ - "OPEN_MODE_UNSPECIFIED", - "READ_ONLY", - "READ_WRITE" - ], - "enumDescriptions": [ - "Default unspecified value.", - "Read Only Mode", - "Read Write Mode" - ], - "readOnly": true, + "clusterName": { + "description": "Optional. Immutable. The cluster name for Exascale vm cluster. The cluster name must begin with an alphabetic character and may contain hyphens(-) but can not contain underscores(_). It should be not more than 11 characters and is not case sensitive. OCI Cluster name.", "type": "string" }, - "operationsInsightsState": { - "description": "Output only. This field indicates the state of Operations Insights for the Autonomous Database.", - "enum": [ - "OPERATIONS_INSIGHTS_STATE_UNSPECIFIED", - "ENABLING", - "ENABLED", - "DISABLING", - "NOT_ENABLED", - "FAILED_ENABLING", - "FAILED_DISABLING" - ], - "enumDescriptions": [ - "Default unspecified value.", - "Enabling status for operation insights.", - "Enabled status for operation insights.", - "Disabling status for operation insights.", - "Not Enabled status for operation insights.", - "Failed enabling status for operation insights.", - "Failed disabling status for operation insights." - ], - "readOnly": true, - "type": "string" + "dataCollectionOptions": { + "$ref": "DataCollectionOptionsCommon", + "description": "Optional. Immutable. Indicates user preference for data collection options." }, - "peerDbIds": { - "description": "Output only. The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" + "enabledEcpuCountPerNode": { + "description": "Required. Immutable. The number of ECPUs enabled per node for an exadata vm cluster on exascale infrastructure.", + "format": "int32", + "type": "integer" }, - "permissionLevel": { - "description": "Output only. The permission level of the Autonomous Database.", - "enum": [ - "PERMISSION_LEVEL_UNSPECIFIED", - "RESTRICTED", - "UNRESTRICTED" - ], - "enumDescriptions": [ - "Default unspecified value.", - "Restricted mode allows access only by admin users.", - "Normal access." - ], - "readOnly": true, + "exascaleDbStorageVault": { + "description": "Required. Immutable. The name of ExascaleDbStorageVault associated with the ExadbVmCluster. It can refer to an existing ExascaleDbStorageVault. Or a new one can be created during the ExadbVmCluster creation (requires storage_vault_properties to be set). Format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}", "type": "string" }, - "privateEndpoint": { - "description": "Output only. The private endpoint for the Autonomous Database.", + "giVersion": { + "description": "Output only. The Oracle Grid Infrastructure (GI) software version.", "readOnly": true, "type": "string" }, - "privateEndpointIp": { - "description": "Optional. Immutable. The private endpoint IP address for the Autonomous Database.", + "gridImageId": { + "description": "Required. Immutable. Grid Infrastructure Version.", "type": "string" }, - "privateEndpointLabel": { - "description": "Optional. Immutable. The private endpoint label for the Autonomous Database.", + "hostname": { + "description": "Output only. The hostname of the ExadbVmCluster.", + "readOnly": true, "type": "string" }, - "refreshableMode": { - "description": "Output only. The refresh mode of the cloned Autonomous Database.", - "enum": [ - "REFRESHABLE_MODE_UNSPECIFIED", - "AUTOMATIC", - "MANUAL" - ], - "enumDescriptions": [ - "The default unspecified value.", - "AUTOMATIC indicates that the cloned database is automatically refreshed with data from the source Autonomous Database.", - "MANUAL indicates that the cloned database is manually refreshed with data from the source Autonomous Database." - ], - "readOnly": true, + "hostnamePrefix": { + "description": "Required. Immutable. Prefix for VM cluster host names.", "type": "string" }, - "refreshableState": { - "description": "Output only. The refresh State of the clone.", + "licenseModel": { + "description": "Optional. Immutable. The license type of the ExadbVmCluster.", "enum": [ - "REFRESHABLE_STATE_UNSPECIFIED", - "REFRESHING", - "NOT_REFRESHING" + "LICENSE_MODEL_UNSPECIFIED", + "LICENSE_INCLUDED", + "BRING_YOUR_OWN_LICENSE" ], "enumDescriptions": [ - "Default unspecified value.", - "Refreshing", - "Not refreshed" + "Unspecified.", + "Default is license included.", + "Bring your own license." ], - "readOnly": true, "type": "string" - }, - "role": { - "description": "Output only. The Data Guard role of the Autonomous Database.", - "enum": [ - "ROLE_UNSPECIFIED", - "PRIMARY", - "STANDBY", - "DISABLED_STANDBY", - "BACKUP_COPY", - "SNAPSHOT_STANDBY" + }, + "lifecycleState": { + "description": "Output only. State of the cluster.", + "enum": [ + "EXADB_VM_CLUSTER_LIFECYCLE_STATE_UNSPECIFIED", + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "TERMINATING", + "TERMINATED", + "FAILED", + "MAINTENANCE_IN_PROGRESS" ], "enumDescriptions": [ "Default unspecified value.", - "Primary role", - "Standby role", - "Disabled standby role", - "Backup copy role", - "Snapshot standby role" + "Indicates that the resource is in provisioning state.", + "Indicates that the resource is in available state.", + "Indicates that the resource is in updating state.", + "Indicates that the resource is in terminating state.", + "Indicates that the resource is in terminated state.", + "Indicates that the resource is in failed state.", + "Indicates that the resource is in maintenance in progress state." ], "readOnly": true, "type": "string" }, - "scheduledOperationDetails": { - "description": "Output only. The list and details of the scheduled operations of the Autonomous Database.", - "items": { - "$ref": "ScheduledOperationDetails" - }, + "memorySizeGb": { + "description": "Output only. Memory per VM (GB) (Read-only): Shows the amount of memory allocated to each VM. Memory is calculated based on 2.75 GB per Total ECPUs.", + "format": "int32", "readOnly": true, - "type": "array" + "type": "integer" }, - "secretId": { - "description": "Optional. Immutable. The ID of the Oracle Cloud Infrastructure vault secret.", - "type": "string" + "nodeCount": { + "description": "Required. The number of nodes/VMs in the ExadbVmCluster.", + "format": "int32", + "type": "integer" }, - "serviceAgentEmail": { - "description": "Output only. An Oracle-managed Google Cloud service account on which customers can grant roles to access resources in the customer project.", + "ociUri": { + "description": "Output only. Deep link to the OCI console to view this resource.", "readOnly": true, "type": "string" }, - "sqlWebDeveloperUrl": { - "description": "Output only. The SQL Web Developer URL for the Autonomous Database.", - "readOnly": true, - "type": "string" + "scanListenerPortTcp": { + "description": "Optional. Immutable. SCAN listener port - TCP", + "format": "int32", + "type": "integer" }, - "state": { - "description": "Output only. The current lifecycle state of the Autonomous Database.", + "shapeAttribute": { + "description": "Required. Immutable. The shape attribute of the VM cluster. The type of Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE which supports Oracle Database 23ai and later", "enum": [ - "STATE_UNSPECIFIED", - "PROVISIONING", - "AVAILABLE", - "STOPPING", - "STOPPED", - "STARTING", - "TERMINATING", - "TERMINATED", - "UNAVAILABLE", - "RESTORE_IN_PROGRESS", - "RESTORE_FAILED", - "BACKUP_IN_PROGRESS", - "SCALE_IN_PROGRESS", - "AVAILABLE_NEEDS_ATTENTION", - "UPDATING", - "MAINTENANCE_IN_PROGRESS", - "RESTARTING", - "RECREATING", - "ROLE_CHANGE_IN_PROGRESS", - "UPGRADING", - "INACCESSIBLE", - "STANDBY" + "SHAPE_ATTRIBUTE_UNSPECIFIED", + "SMART_STORAGE", + "BLOCK_STORAGE" ], "enumDescriptions": [ "Default unspecified value.", - "Indicates that the Autonomous Database is in provisioning state.", - "Indicates that the Autonomous Database is in available state.", - "Indicates that the Autonomous Database is in stopping state.", - "Indicates that the Autonomous Database is in stopped state.", - "Indicates that the Autonomous Database is in starting state.", - "Indicates that the Autonomous Database is in terminating state.", - "Indicates that the Autonomous Database is in terminated state.", - "Indicates that the Autonomous Database is in unavailable state.", - "Indicates that the Autonomous Database restore is in progress.", - "Indicates that the Autonomous Database failed to restore.", - "Indicates that the Autonomous Database backup is in progress.", - "Indicates that the Autonomous Database scale is in progress.", - "Indicates that the Autonomous Database is available but needs attention state.", - "Indicates that the Autonomous Database is in updating state.", - "Indicates that the Autonomous Database's maintenance is in progress state.", - "Indicates that the Autonomous Database is in restarting state.", - "Indicates that the Autonomous Database is in recreating state.", - "Indicates that the Autonomous Database's role change is in progress state.", - "Indicates that the Autonomous Database is in upgrading state.", - "Indicates that the Autonomous Database is in inaccessible state.", - "Indicates that the Autonomous Database is in standby state." + "Indicates that the resource is in smart storage.", + "Indicates that the resource is in block storage." ], - "readOnly": true, "type": "string" }, - "supportedCloneRegions": { - "description": "Output only. The list of available regions that can be used to create a clone for the Autonomous Database.", + "sshPublicKeys": { + "description": "Required. Immutable. The SSH public keys for the ExadbVmCluster.", "items": { "type": "string" }, - "readOnly": true, "type": "array" }, - "totalAutoBackupStorageSizeGbs": { - "description": "Output only. The storage space used by automatic backups of Autonomous Database, in gigabytes.", - "format": "float", - "readOnly": true, - "type": "number" + "timeZone": { + "$ref": "TimeZone", + "description": "Optional. Immutable. The time zone of the ExadbVmCluster." }, - "usedDataStorageSizeTbs": { - "description": "Output only. The storage space used by Autonomous Database, in gigabytes.", + "vmFileSystemStorage": { + "$ref": "ExadbVmClusterStorageDetails", + "description": "Required. Immutable. Total storage details for the ExadbVmCluster." + } + }, + "type": "object" + }, + "ExadbVmClusterStorageDetails": { + "description": "The storage allocation for the exadbvmcluster, in gigabytes (GB).", + "id": "ExadbVmClusterStorageDetails", + "properties": { + "sizeInGbsPerNode": { + "description": "Required. The storage allocation for the exadbvmcluster per node, in gigabytes (GB). This field is used to calculate the total storage allocation for the exadbvmcluster.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ExascaleDbStorageDetails": { + "description": "The storage details of the ExascaleDbStorageVault.", + "id": "ExascaleDbStorageDetails", + "properties": { + "availableSizeGbs": { + "description": "Output only. The available storage capacity for the ExascaleDbStorageVault, in gigabytes (GB).", "format": "int32", "readOnly": true, "type": "integer" }, - "vaultId": { - "description": "Optional. Immutable. The ID of the Oracle Cloud Infrastructure vault.", - "type": "string" + "totalSizeGbs": { + "description": "Required. The total storage allocation for the ExascaleDbStorageVault, in gigabytes (GB).", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "AutonomousDatabaseStandbySummary": { - "description": "Autonomous Data Guard standby database details. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseStandbySummary", - "id": "AutonomousDatabaseStandbySummary", + "ExascaleDbStorageVault": { + "description": "ExascaleDbStorageVault represents a storage vault exadb vm cluster resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/ExascaleDbStorageVault/", + "id": "ExascaleDbStorageVault", "properties": { - "dataGuardRoleChangedTime": { - "description": "Output only. The date and time the Autonomous Data Guard role was switched for the standby Autonomous Database.", + "createTime": { + "description": "Output only. The date and time when the ExascaleDbStorageVault was created.", "format": "google-datetime", "readOnly": true, "type": "string" }, - "disasterRecoveryRoleChangedTime": { - "description": "Output only. The date and time the Disaster Recovery role was switched for the standby Autonomous Database.", - "format": "google-datetime", + "displayName": { + "description": "Required. The display name for the ExascaleDbStorageVault. The name does not have to be unique within your project. The name must be 1-255 characters long and can only contain alphanumeric characters.", + "type": "string" + }, + "entitlementId": { + "description": "Output only. The ID of the subscription entitlement associated with the ExascaleDbStorageVault.", "readOnly": true, "type": "string" }, - "lagTimeDuration": { - "description": "Output only. The amount of time, in seconds, that the data of the standby database lags in comparison to the data of the primary database.", - "format": "google-duration", + "gcpOracleZone": { + "description": "Optional. The GCP Oracle zone where Oracle ExascaleDbStorageVault is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The labels or tags associated with the ExascaleDbStorageVault.", + "type": "object" + }, + "name": { + "description": "Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}", + "type": "string" + }, + "properties": { + "$ref": "ExascaleDbStorageVaultProperties", + "description": "Required. The properties of the ExascaleDbStorageVault." + } + }, + "type": "object" + }, + "ExascaleDbStorageVaultProperties": { + "description": "The properties of the ExascaleDbStorageVault. next ID: 12", + "id": "ExascaleDbStorageVaultProperties", + "properties": { + "additionalFlashCachePercent": { + "description": "Optional. The size of additional flash cache in percentage of high capacity database storage.", + "format": "int32", + "type": "integer" + }, + "attachedShapeAttributes": { + "description": "Output only. The shape attributes of the VM clusters attached to the ExascaleDbStorageVault.", + "items": { + "enum": [ + "SHAPE_ATTRIBUTE_UNSPECIFIED", + "SMART_STORAGE", + "BLOCK_STORAGE" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Indicates that the resource is in smart storage.", + "Indicates that the resource is in block storage." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "availableShapeAttributes": { + "description": "Output only. The shape attributes available for the VM clusters to be attached to the ExascaleDbStorageVault.", + "items": { + "enum": [ + "SHAPE_ATTRIBUTE_UNSPECIFIED", + "SMART_STORAGE", + "BLOCK_STORAGE" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Indicates that the resource is in smart storage.", + "Indicates that the resource is in block storage." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "description": { + "description": "Optional. The description of the ExascaleDbStorageVault.", + "type": "string" + }, + "exascaleDbStorageDetails": { + "$ref": "ExascaleDbStorageDetails", + "description": "Required. The storage details of the ExascaleDbStorageVault." + }, + "ociUri": { + "description": "Output only. Deep link to the OCI console to view this resource.", "readOnly": true, "type": "string" }, - "lifecycleDetails": { - "description": "Output only. The additional details about the current lifecycle state of the Autonomous Database.", + "ocid": { + "description": "Output only. The OCID for the ExascaleDbStorageVault.", "readOnly": true, "type": "string" }, "state": { - "description": "Output only. The current lifecycle state of the Autonomous Database.", + "description": "Output only. The state of the ExascaleDbStorageVault.", "enum": [ "STATE_UNSPECIFIED", "PROVISIONING", "AVAILABLE", - "STOPPING", - "STOPPED", - "STARTING", + "UPDATING", "TERMINATING", "TERMINATED", - "UNAVAILABLE", - "RESTORE_IN_PROGRESS", - "RESTORE_FAILED", - "BACKUP_IN_PROGRESS", - "SCALE_IN_PROGRESS", - "AVAILABLE_NEEDS_ATTENTION", - "UPDATING", - "MAINTENANCE_IN_PROGRESS", - "RESTARTING", - "RECREATING", - "ROLE_CHANGE_IN_PROGRESS", - "UPGRADING", - "INACCESSIBLE", - "STANDBY" - ], - "enumDescriptions": [ - "Default unspecified value.", - "Indicates that the Autonomous Database is in provisioning state.", - "Indicates that the Autonomous Database is in available state.", - "Indicates that the Autonomous Database is in stopping state.", - "Indicates that the Autonomous Database is in stopped state.", - "Indicates that the Autonomous Database is in starting state.", - "Indicates that the Autonomous Database is in terminating state.", - "Indicates that the Autonomous Database is in terminated state.", - "Indicates that the Autonomous Database is in unavailable state.", - "Indicates that the Autonomous Database restore is in progress.", - "Indicates that the Autonomous Database failed to restore.", - "Indicates that the Autonomous Database backup is in progress.", - "Indicates that the Autonomous Database scale is in progress.", - "Indicates that the Autonomous Database is available but needs attention state.", - "Indicates that the Autonomous Database is in updating state.", - "Indicates that the Autonomous Database's maintenance is in progress state.", - "Indicates that the Autonomous Database is in restarting state.", - "Indicates that the Autonomous Database is in recreating state.", - "Indicates that the Autonomous Database's role change is in progress state.", - "Indicates that the Autonomous Database is in upgrading state.", - "Indicates that the Autonomous Database is in inaccessible state.", - "Indicates that the Autonomous Database is in standby state." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "AutonomousDbVersion": { - "description": "Details of the Autonomous Database version. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDbVersionSummary/", - "id": "AutonomousDbVersion", - "properties": { - "dbWorkload": { - "description": "Output only. The Autonomous Database workload type.", - "enum": [ - "DB_WORKLOAD_UNSPECIFIED", - "OLTP", - "DW", - "AJD", - "APEX" + "FAILED" ], "enumDescriptions": [ - "Default unspecified value.", - "Autonomous Transaction Processing database.", - "Autonomous Data Warehouse database.", - "Autonomous JSON Database.", - "Autonomous Database with the Oracle APEX Application Development workload type." + "The state of the ExascaleDbStorageVault is unspecified.", + "The ExascaleDbStorageVault is being provisioned.", + "The ExascaleDbStorageVault is available.", + "The ExascaleDbStorageVault is being updated.", + "The ExascaleDbStorageVault is being deleted.", + "The ExascaleDbStorageVault has been deleted.", + "The ExascaleDbStorageVault has failed." ], "readOnly": true, "type": "string" }, - "name": { - "description": "Identifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}", - "type": "string" + "timeZone": { + "$ref": "TimeZone", + "description": "Output only. The time zone of the ExascaleDbStorageVault.", + "readOnly": true }, - "version": { - "description": "Output only. An Oracle Database version for Autonomous Database.", + "vmClusterCount": { + "description": "Output only. The number of VM clusters associated with the ExascaleDbStorageVault.", + "format": "int32", "readOnly": true, - "type": "string" + "type": "integer" }, - "workloadUri": { - "description": "Output only. A URL that points to a detailed description of the Autonomous Database version.", + "vmClusterIds": { + "description": "Output only. The list of VM cluster OCIDs associated with the ExascaleDbStorageVault.", + "items": { + "type": "string" + }, "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "FailoverAutonomousDatabaseRequest": { + "description": "The request for `OracleDatabase.FailoverAutonomousDatabase`.", + "id": "FailoverAutonomousDatabaseRequest", + "properties": { + "peerAutonomousDatabase": { + "description": "Optional. The peer database name to fail over to. Required for cross-region standby, and must be omitted for in-region Data Guard.", "type": "string" } }, "type": "object" }, - "BackupDestinationDetails": { - "description": "The details of the database backup destination.", - "id": "BackupDestinationDetails", + "GenerateAutonomousDatabaseWalletRequest": { + "description": "The request for `AutonomousDatabase.GenerateWallet`.", + "id": "GenerateAutonomousDatabaseWalletRequest", "properties": { + "isRegional": { + "description": "Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only.", + "type": "boolean" + }, + "password": { + "description": "Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.", + "type": "string" + }, "type": { - "description": "Optional. The type of the database backup destination.", + "description": "Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.", "enum": [ - "BACKUP_DESTINATION_TYPE_UNSPECIFIED", - "NFS", - "RECOVERY_APPLIANCE", - "OBJECT_STORE", - "LOCAL", - "DBRS" + "GENERATE_TYPE_UNSPECIFIED", + "ALL", + "SINGLE" ], "enumDescriptions": [ "Default unspecified value.", - "Backup destination type is NFS.", - "Backup destination type is Recovery Appliance.", - "Backup destination type is Object Store.", - "Backup destination type is Local.", - "Backup destination type is DBRS." + "Used to generate wallet for all databases in the region.", + "Used to generate wallet for a single database." ], "type": "string" } }, "type": "object" }, - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "type": "object" - }, - "CloudAccountDetails": { - "description": "Details of the OCI Cloud Account.", - "id": "CloudAccountDetails", + "GenerateAutonomousDatabaseWalletResponse": { + "description": "The response for `AutonomousDatabase.GenerateWallet`.", + "id": "GenerateAutonomousDatabaseWalletResponse", "properties": { - "accountCreationUri": { - "description": "Output only. URL to create a new account and link.", + "archiveContent": { + "description": "Output only. The base64 encoded wallet files.", + "format": "byte", "readOnly": true, "type": "string" - }, - "cloudAccount": { - "description": "Output only. OCI account name.", - "readOnly": true, + } + }, + "type": "object" + }, + "GiVersion": { + "description": "Details of the Oracle Grid Infrastructure (GI) version resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/GiVersionSummary/", + "id": "GiVersion", + "properties": { + "name": { + "description": "Identifier. The name of the Oracle Grid Infrastructure (GI) version resource with the format: projects/{project}/locations/{region}/giVersions/{gi_versions}", "type": "string" }, - "cloudAccountHomeRegion": { - "description": "Output only. OCI account home region.", - "readOnly": true, + "version": { + "description": "Optional. version", "type": "string" - }, - "linkExistingAccountUri": { - "description": "Output only. URL to link an existing account.", - "readOnly": true, + } + }, + "type": "object" + }, + "GlueIcebergCatalog": { + "description": "The Glue Iceberg catalog.", + "id": "GlueIcebergCatalog", + "properties": { + "glueId": { + "description": "Required. The catalog ID of Glue.", "type": "string" } }, "type": "object" }, - "CloudExadataInfrastructure": { - "description": "Represents CloudExadataInfrastructure resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/", - "id": "CloudExadataInfrastructure", + "GoldengateAmazonKinesisConnectionProperties": { + "description": "The properties of GoldengateAmazonKinesisConnection.", + "id": "GoldengateAmazonKinesisConnectionProperties", "properties": { - "createTime": { - "description": "Output only. The date and time that the Exadata Infrastructure was created.", - "format": "google-datetime", - "readOnly": true, + "accessKeyId": { + "description": "Optional. Access key ID to access the Amazon Kinesis.", "type": "string" }, - "displayName": { - "description": "Optional. User friendly name for this resource.", + "awsRegion": { + "description": "Optional. The name of the AWS region. If not provided, Goldengate will default to 'us-west-1'.", "type": "string" }, - "entitlementId": { - "description": "Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.", - "readOnly": true, + "endpoint": { + "description": "Optional. The endpoint URL of the Amazon Kinesis service. e.g.: 'https://kinesis.us-east-1.amazonaws.com' If not provided, Goldengate will default to 'https://kinesis..amazonaws.com'.", "type": "string" }, - "gcpOracleZone": { - "description": "Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.", + "secretAccessKeySecret": { + "description": "Optional. Secret access key to access the Amazon Kinesis.", "type": "string" }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Labels or tags associated with the resource.", - "type": "object" - }, - "name": { - "description": "Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}", + "technologyType": { + "description": "Optional. The technology type of AmazonKinesisConnection.", "type": "string" - }, - "properties": { - "$ref": "CloudExadataInfrastructureProperties", - "description": "Optional. Various properties of the infra." } }, "type": "object" }, - "CloudExadataInfrastructureProperties": { - "description": "Various properties of Exadata Infrastructure.", - "id": "CloudExadataInfrastructureProperties", + "GoldengateAmazonRedshiftConnectionProperties": { + "description": "The properties of GoldengateAmazonRedshiftConnection.", + "id": "GoldengateAmazonRedshiftConnectionProperties", "properties": { - "activatedStorageCount": { - "description": "Output only. The requested number of additional storage servers activated for the Exadata Infrastructure.", - "format": "int32", - "readOnly": true, - "type": "integer" + "connectionUrl": { + "description": "Optional. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'", + "type": "string" }, - "additionalStorageCount": { - "description": "Output only. The requested number of additional storage servers for the Exadata Infrastructure.", - "format": "int32", - "readOnly": true, - "type": "integer" + "password": { + "description": "Optional. Input only. The password Oracle Goldengate uses for Amazon Redshift connection in plain text.", + "type": "string" }, - "availableStorageSizeGb": { - "description": "Output only. The available storage can be allocated to the Exadata Infrastructure resource, in gigabytes (GB).", - "format": "int32", - "readOnly": true, - "type": "integer" + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Amazon Redshift connection. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" }, - "computeCount": { - "description": "Optional. The number of compute servers for the Exadata Infrastructure.", - "format": "int32", - "type": "integer" + "technologyType": { + "description": "Optional. The technology type of AmazonRedshiftConnection.", + "type": "string" }, - "computeModel": { - "description": "Output only. The compute model of the Exadata Infrastructure.", - "enum": [ - "COMPUTE_MODEL_UNSPECIFIED", - "COMPUTE_MODEL_ECPU", - "COMPUTE_MODEL_OCPU" - ], - "enumDescriptions": [ - "Unspecified compute model.", - "Abstract measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers.", - "Physical measure of compute resources. OCPUs are based on the physical core of a processor." - ], - "readOnly": true, + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.", + "type": "string" + } + }, + "type": "object" + }, + "GoldengateAmazonS3ConnectionProperties": { + "description": "The properties of GoldengateAmazonS3Connection.", + "id": "GoldengateAmazonS3ConnectionProperties", + "properties": { + "accessKeyId": { + "description": "Optional. Access key ID to access the Amazon S3 bucket.", "type": "string" }, - "cpuCount": { - "description": "Output only. The number of enabled CPU cores.", - "format": "int32", - "readOnly": true, - "type": "integer" + "endpoint": { + "description": "Optional. The Amazon Endpoint for S3.", + "type": "string" }, - "customerContacts": { - "description": "Optional. The list of customer contacts.", - "items": { - "$ref": "CustomerContact" - }, - "type": "array" + "region": { + "description": "Optional. The name of the AWS region where the bucket is created.", + "type": "string" }, - "dataStorageSizeTb": { - "description": "Output only. Size, in terabytes, of the DATA disk group.", - "format": "double", - "readOnly": true, - "type": "number" + "secretAccessKeySecret": { + "description": "Optional. Secret access key to access the Amazon S3 bucket.", + "type": "string" }, - "databaseServerType": { - "description": "Output only. The database server type of the Exadata Infrastructure.", - "readOnly": true, + "technologyType": { + "description": "Optional. The technology type of AmazonS3Connection.", + "type": "string" + } + }, + "type": "object" + }, + "GoldengateAzureDataLakeStorageConnectionProperties": { + "description": "The properties of GoldengateAzureDataLakeStorageConnection.", + "id": "GoldengateAzureDataLakeStorageConnectionProperties", + "properties": { + "account": { + "description": "Optional. Sets the Azure storage account name.", "type": "string" }, - "dbNodeStorageSizeGb": { - "description": "Output only. The local node storage allocated in GBs.", - "format": "int32", - "readOnly": true, - "type": "integer" + "accountKeySecret": { + "description": "Optional. Azure storage account key. This property is required when 'authentication_type' is set to 'SHARED_KEY'.", + "type": "string" }, - "dbServerVersion": { - "description": "Output only. The software version of the database servers (dom0) in the Exadata Infrastructure.", - "readOnly": true, + "authenticationType": { + "description": "Optional. Authentication mechanism to access Azure Data Lake Storage.", + "enum": [ + "AUTHENTICATION_TYPE_UNSPECIFIED", + "SHARED_KEY", + "SHARED_ACCESS_SIGNATURE", + "AZURE_ACTIVE_DIRECTORY" + ], + "enumDescriptions": [ + "Authentication type not specified.", + "Shared key authentication.", + "Shared access signature authentication.", + "Azure active directory authentication." + ], "type": "string" }, - "maintenanceWindow": { - "$ref": "MaintenanceWindow", - "description": "Optional. Maintenance window for repair." + "azureAuthorityHost": { + "description": "Optional. The endpoint used for authentication with Microsoft Entra ID (formerly Azure Active Directory). Default value: https://login.microsoftonline.com", + "type": "string" }, - "maxCpuCount": { - "description": "Output only. The total number of CPU cores available.", - "format": "int32", - "readOnly": true, - "type": "integer" + "azureTenantId": { + "description": "Optional. Azure tenant ID of the application. This property is required when 'authentication_type' is set to 'AZURE_ACTIVE_DIRECTORY'.", + "type": "string" }, - "maxDataStorageTb": { - "description": "Output only. The total available DATA disk group size.", - "format": "double", - "readOnly": true, - "type": "number" + "clientId": { + "description": "Optional. Azure client ID of the application. This property is required when 'authentication_type' is set to 'AZURE_ACTIVE_DIRECTORY'.", + "type": "string" }, - "maxDbNodeStorageSizeGb": { - "description": "Output only. The total local node storage available in GBs.", - "format": "int32", - "readOnly": true, - "type": "integer" + "clientSecret": { + "description": "Optional. Azure client secret (aka application password) for authentication.", + "type": "string" }, - "maxMemoryGb": { - "description": "Output only. The total memory available in GBs.", - "format": "int32", - "readOnly": true, - "type": "integer" + "endpoint": { + "description": "Optional. Azure Storage service endpoint. e.g: https://test.blob.core.windows.net", + "type": "string" }, - "memorySizeGb": { - "description": "Output only. The memory allocated in GBs.", - "format": "int32", - "readOnly": true, - "type": "integer" + "sasTokenSecret": { + "description": "Optional. Credential that uses a shared access signature (SAS) to authenticate to an Azure Service.", + "type": "string" }, - "monthlyDbServerVersion": { - "description": "Output only. The monthly software version of the database servers (dom0) in the Exadata Infrastructure. Example: 20.1.15", - "readOnly": true, + "technologyType": { + "description": "Optional. The technology type of AzureDataLakeStorageConnection.", + "type": "string" + } + }, + "type": "object" + }, + "GoldengateAzureSynapseAnalyticsConnectionProperties": { + "description": "The properties of GoldengateAzureSynapseAnalyticsConnection.", + "id": "GoldengateAzureSynapseAnalyticsConnectionProperties", + "properties": { + "connectionString": { + "description": "Optional. JDBC connection string. e.g.: 'jdbc:sqlserver://.sql.azuresynapse.net:1433;database=;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.sql.azuresynapse.net;loginTimeout=300;'", "type": "string" }, - "monthlyStorageServerVersion": { - "description": "Output only. The monthly software version of the storage servers (cells) in the Exadata Infrastructure. Example: 20.1.15", - "readOnly": true, + "password": { + "description": "Optional. Input only. The password Oracle Goldengate uses for Azure Synapse Analytics connection in plain text.", "type": "string" }, - "nextMaintenanceRunId": { - "description": "Output only. The OCID of the next maintenance run.", - "readOnly": true, + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Azure Synapse Analytics connection. Format: projects/{project}/secrets/{secret}/versions/{version}.", "type": "string" }, - "nextMaintenanceRunTime": { - "description": "Output only. The time when the next maintenance run will occur.", - "format": "google-datetime", - "readOnly": true, + "technologyType": { + "description": "Optional. The technology type of AzureSynapseAnalyticsConnection.", "type": "string" }, - "nextSecurityMaintenanceRunTime": { - "description": "Output only. The time when the next security maintenance run will occur.", + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.", + "type": "string" + } + }, + "type": "object" + }, + "GoldengateBackupSchedule": { + "description": "The backup schedule of the GoldengateDeployment.", + "id": "GoldengateBackupSchedule", + "properties": { + "backupScheduledTime": { + "description": "Output only. The timestamp of when the backup was scheduled.", "format": "google-datetime", "readOnly": true, "type": "string" }, - "ociUrl": { - "description": "Output only. Deep link to the OCI console to view this resource.", + "bucket": { + "description": "Output only. The bucket name.", "readOnly": true, "type": "string" }, - "ocid": { - "description": "Output only. OCID of created infra. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle", + "compartmentId": { + "description": "Output only. The compartment id.", "readOnly": true, "type": "string" }, - "shape": { - "description": "Required. The shape of the Exadata Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance.", - "type": "string" - }, - "state": { - "description": "Output only. The current lifecycle state of the Exadata Infrastructure.", + "frequencyBackupScheduled": { + "description": "Output only. The frequency backup scheduled.", "enum": [ - "STATE_UNSPECIFIED", - "PROVISIONING", - "AVAILABLE", - "UPDATING", - "TERMINATING", - "TERMINATED", - "FAILED", - "MAINTENANCE_IN_PROGRESS" + "FREQUENCY_BACKUP_SCHEDULED_UNSPECIFIED", + "DAILY", + "WEEKLY", + "MONTHLY" ], "enumDescriptions": [ - "Default unspecified value.", - "The Exadata Infrastructure is being provisioned.", - "The Exadata Infrastructure is available for use.", - "The Exadata Infrastructure is being updated.", - "The Exadata Infrastructure is being terminated.", - "The Exadata Infrastructure is terminated.", - "The Exadata Infrastructure is in failed state.", - "The Exadata Infrastructure is in maintenance." + "The frequency backup scheduled is unspecified.", + "The frequency backup scheduled is daily.", + "The frequency backup scheduled is weekly.", + "The frequency backup scheduled is monthly." ], "readOnly": true, "type": "string" }, - "storageCount": { - "description": "Optional. The number of Cloud Exadata storage servers for the Exadata Infrastructure.", - "format": "int32", - "type": "integer" - }, - "storageServerType": { - "description": "Output only. The storage server type of the Exadata Infrastructure.", + "metadataOnly": { + "description": "Output only. If metadata only.", "readOnly": true, - "type": "string" + "type": "boolean" }, - "storageServerVersion": { - "description": "Output only. The software version of the storage servers (cells) in the Exadata Infrastructure.", + "namespace": { + "description": "Output only. The namespace name.", "readOnly": true, "type": "string" - }, - "totalStorageSizeGb": { - "description": "Optional. The total storage allocated to the Exadata Infrastructure resource, in gigabytes (GB).", - "format": "int32", - "type": "integer" } }, "type": "object" }, - "CloudVmCluster": { - "description": "Details of the Cloud VM Cluster resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudVmCluster/", - "id": "CloudVmCluster", + "GoldengateConnection": { + "description": "Details of the GoldengateConnection resource.", + "id": "GoldengateConnection", "properties": { - "backupOdbSubnet": { - "description": "Optional. The name of the backup OdbSubnet associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", - "type": "string" - }, - "backupSubnetCidr": { - "description": "Optional. CIDR range of the backup subnet.", - "type": "string" - }, - "cidr": { - "description": "Optional. Network settings. CIDR to use for cluster IP allocation.", - "type": "string" - }, "createTime": { - "description": "Output only. The date and time that the VM cluster was created.", + "description": "Output only. The date and time that the GoldengateConnection was created.", "format": "google-datetime", "readOnly": true, "type": "string" }, - "displayName": { - "description": "Optional. User friendly name for this resource.", - "type": "string" - }, - "exadataInfrastructure": { - "description": "Required. The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}", + "entitlementId": { + "description": "Output only. The ID of the subscription entitlement associated with the GoldengateConnection.", + "readOnly": true, "type": "string" }, "gcpOracleZone": { - "description": "Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted. This will be the same as the gcp_oracle_zone of the CloudExadataInfrastructure. Example: us-east4-b-r2.", - "readOnly": true, + "description": "Optional. The GCP Oracle zone where Oracle GoldengateConnection is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.", "type": "string" }, - "identityConnector": { - "$ref": "IdentityConnector", - "description": "Output only. The identity connector details which will allow OCI to securely access the resources in the customer project.", - "readOnly": true - }, "labels": { "additionalProperties": { "type": "string" }, - "description": "Optional. Labels or tags associated with the VM Cluster.", + "description": "Optional. The labels or tags associated with the GoldengateConnection.", "type": "object" }, "name": { - "description": "Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}", + "description": "Identifier. The name of the GoldengateConnection resource in the following format: projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection}", "type": "string" }, - "network": { - "description": "Optional. The name of the VPC network. Format: projects/{project}/global/networks/{network}", + "ociUrl": { + "description": "Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.", + "readOnly": true, "type": "string" }, "odbNetwork": { - "description": "Optional. The name of the OdbNetwork associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the odb_subnet and backup_odb_subnet.", + "description": "Optional. The name of the OdbNetwork associated with the GoldengateConnection. The format is projects/{project}/locations/{location}/odbNetworks/{odb_network}. It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.", "type": "string" }, "odbSubnet": { - "description": "Optional. The name of the OdbSubnet associated with the VM Cluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", + "description": "Optional. The name of the OdbSubnet associated with the GoldengateConnection for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", "type": "string" }, "properties": { - "$ref": "CloudVmClusterProperties", - "description": "Optional. Various properties of the VM Cluster." + "$ref": "GoldengateConnectionProperties", + "description": "Required. The properties of the GoldengateConnection." } }, "type": "object" }, - "CloudVmClusterProperties": { - "description": "Various properties and settings associated with Exadata VM cluster.", - "id": "CloudVmClusterProperties", - "properties": { - "clusterName": { - "description": "Optional. OCI Cluster name.", - "type": "string" - }, - "compartmentId": { - "description": "Output only. Compartment ID of cluster.", - "readOnly": true, - "type": "string" - }, - "computeModel": { - "description": "Output only. The compute model of the VM Cluster.", - "enum": [ - "COMPUTE_MODEL_UNSPECIFIED", - "COMPUTE_MODEL_ECPU", - "COMPUTE_MODEL_OCPU" - ], - "enumDescriptions": [ - "Unspecified compute model.", - "Abstract measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers.", - "Physical measure of compute resources. OCPUs are based on the physical core of a processor." - ], - "readOnly": true, - "type": "string" - }, - "cpuCoreCount": { - "description": "Required. Number of enabled CPU cores.", - "format": "int32", - "type": "integer" - }, - "dataStorageSizeTb": { - "description": "Optional. The data disk group size to be allocated in TBs.", - "format": "double", - "type": "number" - }, - "dbNodeStorageSizeGb": { - "description": "Optional. Local storage per VM.", - "format": "int32", - "type": "integer" - }, - "dbServerOcids": { - "description": "Optional. OCID of database servers.", - "items": { - "type": "string" - }, - "type": "array" - }, - "diagnosticsDataCollectionOptions": { - "$ref": "DataCollectionOptions", - "description": "Optional. Data collection options for diagnostics." - }, - "diskRedundancy": { - "description": "Optional. The type of redundancy.", - "enum": [ - "DISK_REDUNDANCY_UNSPECIFIED", - "HIGH", - "NORMAL" - ], - "enumDescriptions": [ - "Unspecified.", - "High - 3 way mirror.", - "Normal - 2 way mirror." - ], + "GoldengateConnectionAssignment": { + "description": "Represents the metadata of a Goldengate Connection Assignment.", + "id": "GoldengateConnectionAssignment", + "properties": { + "createTime": { + "description": "Output only. The time when the connection assignment was created.", + "format": "google-datetime", + "readOnly": true, "type": "string" }, - "dnsListenerIp": { - "description": "Output only. DNS listener IP.", - "readOnly": true, + "displayName": { + "description": "Optional. The display name for the GoldengateConnectionAssignment.", "type": "string" }, - "domain": { - "description": "Output only. Parent DNS domain where SCAN DNS and hosts names are qualified. ex: ocispdelegated.ocisp10jvnet.oraclevcn.com", + "entitlementId": { + "description": "Output only. The OCID of the entitlement linked to this resource.", "readOnly": true, "type": "string" }, - "giVersion": { - "description": "Optional. Grid Infrastructure Version.", + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The labels or tags associated with the GoldengateConnectionAssignment.", + "type": "object" + }, + "name": { + "description": "Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}", "type": "string" }, - "hostname": { - "description": "Output only. host name without domain. format: \"-\" with some suffix. ex: sp2-yi0xq where \"sp2\" is the hostname_prefix.", + "properties": { + "$ref": "GoldengateConnectionAssignmentProperties", + "description": "Required. The properties of the GoldengateConnectionAssignment." + } + }, + "type": "object" + }, + "GoldengateConnectionAssignmentProperties": { + "description": "The properties of a GoldengateConnectionAssignment.", + "id": "GoldengateConnectionAssignmentProperties", + "properties": { + "alias": { + "description": "Output only. Credential store alias.", "readOnly": true, "type": "string" }, - "hostnamePrefix": { - "description": "Optional. Prefix for VM cluster host names.", + "goldengateConnection": { + "description": "Required. The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}", "type": "string" }, - "licenseType": { - "description": "Required. License type of VM Cluster.", + "goldengateDeployment": { + "description": "Required. The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}", + "type": "string" + }, + "ocid": { + "description": "Output only. The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the connection assignment being referenced.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The lifecycle state of the connection assignment.", "enum": [ - "LICENSE_TYPE_UNSPECIFIED", - "LICENSE_INCLUDED", - "BRING_YOUR_OWN_LICENSE" + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "UPDATING", + "DELETING" ], "enumDescriptions": [ - "Unspecified", - "License included part of offer", - "Bring your own license" + "Lifecycle state is unspecified.", + "Connection assignment is being created.", + "Connection assignment is active.", + "Connection assignment failed.", + "Connection assignment is being updated.", + "Connection assignment is being deleted." ], + "readOnly": true, "type": "string" + } + }, + "type": "object" + }, + "GoldengateConnectionProperties": { + "description": "The properties of a GoldengateConnection.", + "id": "GoldengateConnectionProperties", + "properties": { + "amazonKinesisConnectionProperties": { + "$ref": "GoldengateAmazonKinesisConnectionProperties", + "description": "Properties for an Amazon Kinesis connection." }, - "localBackupEnabled": { - "description": "Optional. Use local backup.", - "type": "boolean" + "amazonRedshiftConnectionProperties": { + "$ref": "GoldengateAmazonRedshiftConnectionProperties", + "description": "Properties for an Amazon Redshift connection." }, - "memorySizeGb": { - "description": "Optional. Memory allocated in GBs.", - "format": "int32", - "type": "integer" + "amazonS3ConnectionProperties": { + "$ref": "GoldengateAmazonS3ConnectionProperties", + "description": "Properties for an Amazon S3 connection." }, - "nodeCount": { - "description": "Optional. Number of database servers.", - "format": "int32", - "type": "integer" + "azureDataLakeStorageConnectionProperties": { + "$ref": "GoldengateAzureDataLakeStorageConnectionProperties", + "description": "Properties for an Azure Data Lake Storage Connection." }, - "ociUrl": { - "description": "Output only. Deep link to the OCI console to view this resource.", - "readOnly": true, + "azureSynapseAnalyticsConnectionProperties": { + "$ref": "GoldengateAzureSynapseAnalyticsConnectionProperties", + "description": "Properties for an Azure Synapse Analytics connection." + }, + "connectionType": { + "description": "Required. The connection type.", + "enum": [ + "GOLDENGATE_CONNECTION_TYPE_UNSPECIFIED", + "GOLDENGATE", + "KAFKA", + "KAFKA_SCHEMA_REGISTRY", + "MYSQL", + "JAVA_MESSAGE_SERVICE", + "MICROSOFT_SQLSERVER", + "OCI_OBJECT_STORAGE", + "ORACLE", + "AZURE_DATA_LAKE_STORAGE", + "POSTGRESQL", + "AZURE_SYNAPSE_ANALYTICS", + "SNOWFLAKE", + "AMAZON_S3", + "HDFS", + "ORACLE_AI_DATA_PLATFORM", + "ORACLE_NOSQL", + "MONGODB", + "AMAZON_KINESIS", + "AMAZON_REDSHIFT", + "DB2", + "REDIS", + "ELASTICSEARCH", + "GENERIC", + "GOOGLE_CLOUD_STORAGE", + "GOOGLE_BIGQUERY", + "DATABRICKS", + "GOOGLE_PUBSUB", + "MICROSOFT_FABRIC", + "ICEBERG" + ], + "enumDescriptions": [ + "Connection type unspecified.", + "Goldengate connection type.", + "Kafka connection type.", + "Kafka schema registry connection type.", + "MySQL connection type.", + "Java message service connection type.", + "Microsoft SQL Server connection type.", + "OCI object storage connection type.", + "Oracle connection type.", + "Azure data lake storage connection type.", + "PostgreSQL connection type.", + "Azure synapse analytics connection type.", + "Snowflake connection type.", + "Amazon S3 connection type.", + "HDFS connection type.", + "Oracle AI data platform connection type.", + "Oracle NoSQL connection type.", + "MongoDB connection type.", + "Amazon Kinesis connection type.", + "Amazon Redshift connection type.", + "DB2 connection type.", + "Redis connection type.", + "Elasticsearch connection type.", + "Generic connection type.", + "Google Cloud Storage connection type.", + "Google BigQuery connection type.", + "Databricks connection type.", + "Google Pub/Sub connection type.", + "Microsoft Fabric connection type.", + "Iceberg connection type." + ], + "type": "string" + }, + "databricksConnectionProperties": { + "$ref": "GoldengateDatabricksConnectionProperties", + "description": "Properties for a Databricks connection." + }, + "db2ConnectionProperties": { + "$ref": "GoldengateDb2ConnectionProperties", + "description": "Properties for a DB2 connection." + }, + "description": { + "description": "Optional. Metadata about this specific object.", "type": "string" }, - "ocid": { - "description": "Output only. Oracle Cloud Infrastructure ID of VM Cluster.", - "readOnly": true, + "displayName": { + "description": "Required. An object's Display Name.", "type": "string" }, - "ocpuCount": { - "description": "Optional. OCPU count per VM. Minimum is 0.1.", - "format": "float", - "type": "number" + "elasticsearchConnectionProperties": { + "$ref": "GoldengateElasticsearchConnectionProperties", + "description": "Properties for an Elasticsearch connection." }, - "scanDns": { - "description": "Output only. SCAN DNS name. ex: sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com", - "readOnly": true, - "type": "string" + "genericConnectionProperties": { + "$ref": "GoldengateGenericConnectionProperties", + "description": "Properties for a Generic Connection." }, - "scanDnsRecordId": { - "description": "Output only. OCID of scan DNS record.", - "readOnly": true, - "type": "string" + "goldengateConnectionProperties": { + "$ref": "GoldengateGoldengateConnectionProperties", + "description": "Properties for a Goldengate Connection." }, - "scanIpIds": { - "description": "Output only. OCIDs of scan IPs.", + "googleBigQueryConnectionProperties": { + "$ref": "GoldengateGoogleBigQueryConnectionProperties", + "description": "Properties for a Google BigQuery Connection." + }, + "googleCloudStorageConnectionProperties": { + "$ref": "GoldengateGoogleCloudStorageConnectionProperties", + "description": "Properties for a Google Cloud Storage Connection." + }, + "googlePubsubConnectionProperties": { + "$ref": "GoldengateGooglePubsubConnectionProperties", + "description": "Properties for a Google Pub/Sub connection." + }, + "hdfsConnectionProperties": { + "$ref": "GoldengateHdfsConnectionProperties", + "description": "Properties for an HDFS connection." + }, + "icebergConnectionProperties": { + "$ref": "GoldengateIcebergConnectionProperties", + "description": "Properties for an Iceberg connection." + }, + "ingressIpAddresses": { + "description": "Output only. The Ingress IPs of the GoldengateConnection.", "items": { "type": "string" }, "readOnly": true, "type": "array" }, - "scanListenerPortTcp": { - "description": "Output only. SCAN listener port - TCP", - "format": "int32", - "readOnly": true, - "type": "integer" + "javaMessageServiceConnectionProperties": { + "$ref": "GoldengateJavaMessageServiceConnectionProperties", + "description": "Properties for a Java Message Service connection." }, - "scanListenerPortTcpSsl": { - "description": "Output only. SCAN listener port - TLS", - "format": "int32", - "readOnly": true, - "type": "integer" + "kafkaConnectionProperties": { + "$ref": "GoldengateKafkaConnectionProperties", + "description": "Properties for a Kafka Connection." }, - "shape": { - "description": "Output only. Shape of VM Cluster.", + "kafkaSchemaRegistryConnectionProperties": { + "$ref": "GoldengateKafkaSchemaRegistryConnectionProperties", + "description": "Properties for a Kafka Schema Registry Connection." + }, + "lifecycleDetails": { + "description": "Output only. Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.", "readOnly": true, "type": "string" }, - "sparseDiskgroupEnabled": { - "description": "Optional. Use exadata sparse snapshots.", - "type": "boolean" - }, - "sshPublicKeys": { - "description": "Optional. SSH public keys to be stored with cluster.", - "items": { - "type": "string" - }, - "type": "array" - }, - "state": { - "description": "Output only. State of the cluster.", + "lifecycleState": { + "description": "Output only. The lifecycle state of the connection.", "enum": [ - "STATE_UNSPECIFIED", - "PROVISIONING", - "AVAILABLE", + "GOLDENGATE_CONNECTION_LIFECYCLE_STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", "UPDATING", - "TERMINATING", - "TERMINATED", - "FAILED", - "MAINTENANCE_IN_PROGRESS" + "DELETING", + "DELETED", + "FAILED" ], "enumDescriptions": [ "Default unspecified value.", "Indicates that the resource is in provisioning state.", - "Indicates that the resource is in available state.", + "Indicates that the resource is in active state.", "Indicates that the resource is in updating state.", - "Indicates that the resource is in terminating state.", - "Indicates that the resource is in terminated state.", - "Indicates that the resource is in failed state.", - "Indicates that the resource is in maintenance in progress state." + "Indicates that the resource is in deleting state.", + "Indicates that the resource is in deleted state.", + "Indicates that the resource is in failed state." ], "readOnly": true, "type": "string" }, - "storageSizeGb": { - "description": "Output only. The storage allocation for the disk group, in gigabytes (GB).", - "format": "int32", + "microsoftFabricConnectionProperties": { + "$ref": "GoldengateMicrosoftFabricConnectionProperties", + "description": "Properties for a Microsoft Fabric connection." + }, + "microsoftSqlserverConnectionProperties": { + "$ref": "GoldengateMicrosoftSqlserverConnectionProperties", + "description": "Properties for a Microsoft SQL Server connection." + }, + "mongodbConnectionProperties": { + "$ref": "GoldengateMongodbConnectionProperties", + "description": "Properties for a MongoDB connection." + }, + "mysqlConnectionProperties": { + "$ref": "GoldengateMysqlConnectionProperties", + "description": "Properties for a Mysql Connection." + }, + "ociObjectStorageConnectionProperties": { + "$ref": "GoldengateOciObjectStorageConnectionProperties", + "description": "Properties for an OCI Object Storage Connection." + }, + "ocid": { + "description": "Output only. The [OCID] of the connection being referenced.", "readOnly": true, - "type": "integer" + "type": "string" }, - "systemVersion": { - "description": "Optional. Operating system version of the image.", + "oracleAiDataPlatformConnectionProperties": { + "$ref": "GoldengateOracleAIDataPlatformConnectionProperties", + "description": "Properties for an Oracle AI Data Platform connection." + }, + "oracleConnectionProperties": { + "$ref": "GoldengateOracleConnectionProperties", + "description": "Properties for an Oracle Database Connection." + }, + "oracleNosqlConnectionProperties": { + "$ref": "GoldengateOracleNosqlConnectionProperties", + "description": "Properties for an Oracle NoSQL connection." + }, + "postgresqlConnectionProperties": { + "$ref": "GoldengatePostgresqlConnectionProperties", + "description": "Properties for a PostgreSQL connection." + }, + "redisConnectionProperties": { + "$ref": "GoldengateRedisConnectionProperties", + "description": "Properties for a Redis connection." + }, + "routingMethod": { + "description": "Optional. The routing method for the GoldengateConnection.", + "enum": [ + "GOLDENGATE_CONNECTION_ROUTING_METHOD_UNSPECIFIED", + "SHARED_DEPLOYMENT_ENDPOINT", + "DEDICATED_ENDPOINT" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet.", + "A dedicated private endpoint is created in the target VCN subnet for the connection." + ], "type": "string" }, - "timeZone": { - "$ref": "TimeZone", - "description": "Optional. Time zone of VM Cluster to set. Defaults to UTC if not specified." - } - }, - "type": "object" - }, - "CustomerContact": { - "description": "The CustomerContact reference as defined by Oracle. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/CustomerContact", - "id": "CustomerContact", - "properties": { - "email": { - "description": "Required. The email address used by Oracle to send notifications regarding databases and infrastructure.", + "snowflakeConnectionProperties": { + "$ref": "GoldengateSnowflakeConnectionProperties", + "description": "Properties for a Snowflake connection." + }, + "updateTime": { + "description": "Output only. The time the resource was last updated.", + "format": "google-datetime", + "readOnly": true, "type": "string" } }, "type": "object" }, - "DataCollectionOptions": { - "description": "Data collection options for diagnostics.", - "id": "DataCollectionOptions", + "GoldengateConnectionType": { + "description": "Details of the Goldengate Connection Type resource.", + "id": "GoldengateConnectionType", "properties": { - "diagnosticsEventsEnabled": { - "description": "Optional. Indicates whether diagnostic collection is enabled for the VM cluster", - "type": "boolean" + "connectionType": { + "description": "Output only. The connection type of the Goldengate Connection Type resource.", + "enum": [ + "CONNECTION_TYPE_UNSPECIFIED", + "GOLDENGATE", + "KAFKA", + "KAFKA_SCHEMA_REGISTRY", + "MYSQL", + "JAVA_MESSAGE_SERVICE", + "MICROSOFT_SQLSERVER", + "OCI_OBJECT_STORAGE", + "ORACLE", + "AZURE_DATA_LAKE_STORAGE", + "POSTGRESQL", + "AZURE_SYNAPSE_ANALYTICS", + "SNOWFLAKE", + "AMAZON_S3", + "HDFS", + "ORACLE_AI_DATA_PLATFORM", + "ORACLE_NOSQL", + "MONGODB", + "AMAZON_KINESIS", + "AMAZON_REDSHIFT", + "DB2", + "REDIS", + "ELASTICSEARCH", + "GENERIC", + "GOOGLE_CLOUD_STORAGE", + "GOOGLE_BIGQUERY", + "DATABRICKS", + "GOOGLE_PUBSUB", + "MICROSOFT_FABRIC", + "ICEBERG" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Goldengate Connection Type category is GOLDENGATE.", + "Goldengate Connection Type category is KAFKA.", + "Goldengate Connection Type category is KAFKA_SCHEMA_REGISTRY.", + "Goldengate Connection Type category is MYSQL.", + "Goldengate Connection Type category is JAVA_MESSAGE_SERVICE.", + "Goldengate Connection Type category is MICROSOFT_SQLSERVER.", + "Goldengate Connection Type category is OCI_OBJECT_STORAGE.", + "Goldengate Connection Type category is ORACLE.", + "Goldengate Connection Type category is AZURE_DATA_LAKE_STORAGE.", + "Goldengate Connection Type category is POSTGRESQL.", + "Goldengate Connection Type category is AZURE_SYNAPSE_ANALYTICS.", + "Goldengate Connection Type category is SNOWFLAKE.", + "Goldengate Connection Type category is AMAZON_S3.", + "Goldengate Connection Type category is HDFS.", + "Goldengate Connection Type category is ORACLE_AI_DATA_PLATFORM.", + "Goldengate Connection Type category is ORACLE_NOSQL.", + "Goldengate Connection Type category is MONGODB.", + "Goldengate Connection Type category is AMAZON_KINESIS.", + "Goldengate Connection Type category is AMAZON_REDSHIFT.", + "Goldengate Connection Type category is DB2.", + "Goldengate Connection Type category is REDIS.", + "Goldengate Connection Type category is ELASTICSEARCH.", + "Goldengate Connection Type category is GENERIC.", + "Goldengate Connection Type category is GOOGLE_CLOUD_STORAGE.", + "Goldengate Connection Type category is GOOGLE_BIGQUERY.", + "Goldengate Connection Type category is DATABRICKS.", + "Goldengate Connection Type category is GOOGLE_PUBSUB.", + "Goldengate Connection Type category is MICROSOFT_FABRIC.", + "Goldengate Connection Type category is ICEBERG." + ], + "readOnly": true, + "type": "string" }, - "healthMonitoringEnabled": { - "description": "Optional. Indicates whether health monitoring is enabled for the VM cluster", - "type": "boolean" + "name": { + "description": "Identifier. The name of the Goldengate Connection Type resource with the format: projects/{project}/locations/{region}/goldengateConnectionTypes/{goldengate_connection_type}", + "type": "string" }, - "incidentLogsEnabled": { - "description": "Optional. Indicates whether incident logs and trace collection are enabled for the VM cluster", - "type": "boolean" + "technologyTypes": { + "description": "Output only. The technology type of the Goldengate Connection Type resource.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" } }, "type": "object" }, - "DataCollectionOptionsCommon": { - "description": "Data collection options for diagnostics. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DataCollectionOptions", - "id": "DataCollectionOptionsCommon", + "GoldengateDatabricksConnectionProperties": { + "description": "The properties of GoldengateDatabricksConnection.", + "id": "GoldengateDatabricksConnectionProperties", "properties": { - "isDiagnosticsEventsEnabled": { - "description": "Optional. Indicates whether to enable data collection for diagnostics.", - "type": "boolean" + "authenticationType": { + "description": "Optional. Authentication type for Databricks.", + "enum": [ + "DATABRICKS_AUTHENTICATION_TYPE_UNSPECIFIED", + "PERSONAL_ACCESS_TOKEN", + "OAUTH_M2M" + ], + "enumDescriptions": [ + "Authentication type not specified.", + "Personal access token authentication.", + "OAuth M2M authentication." + ], + "type": "string" }, - "isHealthMonitoringEnabled": { - "description": "Optional. Indicates whether to enable health monitoring.", - "type": "boolean" + "clientId": { + "description": "Optional. OAuth client id, only applicable for authentication_type == OAUTH_M2M", + "type": "string" }, - "isIncidentLogsEnabled": { - "description": "Optional. Indicates whether to enable incident logs and trace collection.", - "type": "boolean" - } - }, - "type": "object" - }, - "DataCollectionOptionsDbSystem": { - "description": "Data collection options for DbSystem.", - "id": "DataCollectionOptionsDbSystem", - "properties": { - "isDiagnosticsEventsEnabled": { - "description": "Optional. Indicates whether to enable data collection for diagnostics.", - "type": "boolean" + "clientSecret": { + "description": "Optional. OAuth client secret, only applicable for authentication_type == OAUTH_M2M", + "type": "string" }, - "isIncidentLogsEnabled": { - "description": "Optional. Indicates whether to enable incident logs and trace collection.", - "type": "boolean" + "connectionUrl": { + "description": "Optional. Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb'", + "type": "string" + }, + "password": { + "description": "Optional. Input only. The password used to connect to Databricks in plain text.", + "type": "string" + }, + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password used to connect to Databricks. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "storageCredential": { + "description": "Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or Cloud Storage.", + "type": "string" + }, + "technologyType": { + "description": "Optional. The technology type of DatabricksConnection.", + "type": "string" } }, "type": "object" }, - "Database": { - "description": "Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/", - "id": "Database", + "GoldengateDb2ConnectionProperties": { + "description": "The properties of GoldengateDb2Connection.", + "id": "GoldengateDb2ConnectionProperties", "properties": { - "adminPassword": { - "description": "Optional. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.", + "additionalAttributes": { + "description": "Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.", + "items": { + "$ref": "NameValuePair" + }, + "type": "array" + }, + "database": { + "description": "Optional. The name of the database.", "type": "string" }, - "adminPasswordSecretVersion": { - "description": "Optional. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.", + "host": { + "description": "Optional. The name or address of a host.", "type": "string" }, - "characterSet": { - "description": "Optional. The character set for the database. The default is AL32UTF8.", + "password": { + "description": "Optional. Input only. The password Oracle Goldengate uses for Db2 connection in plain text.", "type": "string" }, - "createTime": { - "description": "Output only. The date and time that the Database was created.", - "format": "google-datetime", - "readOnly": true, + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Db2 connection. Format: projects/{project}/secrets/{secret}/versions/{version}.", "type": "string" }, - "databaseId": { - "description": "Optional. The database ID of the Database.", + "port": { + "description": "Optional. The port of an endpoint usually specified for a connection.", + "format": "int32", + "type": "integer" + }, + "securityProtocol": { + "description": "Optional. Security protocol for the DB2 database.", + "enum": [ + "DB2_SECURITY_PROTOCOL_UNSPECIFIED", + "PLAIN", + "TLS" + ], + "enumDescriptions": [ + "Security protocol not specified.", + "Plain text communication.", + "Transport Layer Security." + ], "type": "string" }, - "dbHomeName": { - "description": "Optional. The name of the DbHome resource associated with the Database.", + "sslClientKeystashFile": { + "description": "Optional. The keystash file which contains the encrypted password to the key database file. Not supported for IBM Db2 for i.", "type": "string" }, - "dbName": { - "description": "Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.", + "sslClientKeystoredbFile": { + "description": "Optional. The keystore file created at the client containing the server certificate / CA root certificate. Not supported for IBM Db2 for i.", "type": "string" }, - "dbUniqueName": { - "description": "Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.", + "sslServerCertificateFile": { + "description": "Optional. The file which contains the self-signed server certificate / Certificate Authority (CA) certificate.", "type": "string" }, - "gcpOracleZone": { - "description": "Output only. The GCP Oracle zone where the Database is created.", + "technologyType": { + "description": "Optional. The technology type of Db2Connection.", + "type": "string" + }, + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect to the DB2 database.", + "type": "string" + } + }, + "type": "object" + }, + "GoldengateDeployment": { + "description": "GoldengateDeployment Goldengate Deployment resource model.", + "id": "GoldengateDeployment", + "properties": { + "createTime": { + "description": "Output only. The date and time that the GoldengateDeployment was created.", + "format": "google-datetime", "readOnly": true, "type": "string" }, - "name": { - "description": "Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}", + "displayName": { + "description": "Required. The display name for the GoldengateDeployment.", "type": "string" }, - "ncharacterSet": { - "description": "Optional. The national character set for the database. The default is AL16UTF16.", + "entitlementId": { + "description": "Output only. The ID of the subscription entitlement associated with the GoldengateDeployment", + "readOnly": true, + "type": "string" + }, + "gcpOracleZone": { + "description": "Optional. The GCP Oracle zone where Oracle GoldengateDeployment is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The labels or tags associated with the GoldengateDeployment.", + "type": "object" + }, + "name": { + "description": "Identifier. The name of the GoldengateDeployment resource in the following format: projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment}", "type": "string" }, "ociUrl": { @@ -4314,1594 +7681,2092 @@ "readOnly": true, "type": "string" }, - "opsInsightsStatus": { - "description": "Output only. The Status of Operations Insights for this Database.", + "odbNetwork": { + "description": "Optional. The name of the OdbNetwork associated with the GoldengateDeployment.", + "type": "string" + }, + "odbSubnet": { + "description": "Required. The name of the OdbSubnet associated with the GoldengateDeployment for IP allocation.", + "type": "string" + }, + "properties": { + "$ref": "GoldengateDeploymentProperties", + "description": "Required. The properties of the GoldengateDeployment." + } + }, + "type": "object" + }, + "GoldengateDeploymentEnvironment": { + "description": "Details of the Goldengate Deployment Environment resource.", + "id": "GoldengateDeploymentEnvironment", + "properties": { + "autoScalingEnabled": { + "description": "Output only. Whether auto scaling is enabled by default for the Goldengate Deployment Environment resource.", + "readOnly": true, + "type": "boolean" + }, + "category": { + "description": "Output only. The category of the Goldengate Deployment Environment resource.", "enum": [ - "OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED", - "ENABLING", - "ENABLED", - "DISABLING", - "NOT_ENABLED", - "FAILED_ENABLING", - "FAILED_DISABLING" + "DEPLOYMENT_CATEGORY_UNSPECIFIED", + "DATA_REPLICATION_CATEGORY", + "DATA_TRANSFORMS_CATEGORY" ], "enumDescriptions": [ "Default unspecified value.", - "Indicates that the operations insights are being enabled.", - "Indicates that the operations insights are enabled.", - "Indicates that the operations insights are being disabled.", - "Indicates that the operations insights are not enabled.", - "Indicates that the operations insights failed to enable.", - "Indicates that the operations insights failed to disable." + "Goldengate Deployment Environment category is DATA_REPLICATION_CATEGORY.", + "Goldengate Deployment Environment category is DATA_TRANSFORMS_CATEGORY." ], "readOnly": true, "type": "string" }, - "pluggableDatabaseId": { - "description": "Optional. The ID of the pluggable database associated with the Database. The ID must be unique within the project and location.", + "defaultCpuCoreCount": { + "description": "Output only. The default CPU core count of the Goldengate Deployment Environment resource.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "displayName": { + "description": "The display name of the Goldengate Deployment Environment resource.", "type": "string" }, - "pluggableDatabaseName": { - "description": "Optional. The pluggable database associated with the Database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters.", + "environmentType": { + "description": "Output only. The environment type of the Goldengate Deployment Environment resource.", + "enum": [ + "DEPLOYMENT_ENVIRONMENT_TYPE_UNSPECIFIED", + "PRODUCTION", + "DEVELOPMENT_OR_TESTING" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Goldengate Deployment Environment type is PRODUCTION.", + "Goldengate Deployment Environment type is DEVELOPMENT_OR_TESTING." + ], + "readOnly": true, "type": "string" }, - "properties": { - "$ref": "DatabaseProperties", - "description": "Optional. The properties of the Database." + "maxCpuCoreCount": { + "description": "Output only. The max CPU core count of the Goldengate Deployment Environment resource.", + "format": "int32", + "readOnly": true, + "type": "integer" }, - "tdeWalletPassword": { - "description": "Optional. The TDE wallet password for the database. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.", - "type": "string" + "memoryGbPerCpuCore": { + "description": "Output only. The memory per CPU core in GBs of the Goldengate Deployment Environment resource.", + "format": "int32", + "readOnly": true, + "type": "integer" }, - "tdeWalletPasswordSecretVersion": { - "description": "Optional. The resource name of a secret version in Secret Manager which contains the TDE wallet password for the database. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.", + "minCpuCoreCount": { + "description": "Output only. The min CPU core count of the Goldengate Deployment Environment resource.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "name": { + "description": "Identifier. The name of the Goldengate Deployment Environment resource with the format: projects/{project}/locations/{location}/goldengateDeploymentEnvironments/{goldengate_deployment_environment}", "type": "string" + }, + "networkBandwidthGbpsPerCpuCore": { + "description": "Output only. The network bandwidth per CPU core in Gbps of the Goldengate Deployment Environment resource.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "storageUsageLimitGbPerCpuCore": { + "description": "Output only. The storage usage limit per CPU core in GBs of the Goldengate Deployment Environment resource.", + "format": "int32", + "readOnly": true, + "type": "integer" } }, "type": "object" }, - "DatabaseCharacterSet": { - "description": "Details of the Database character set resource.", - "id": "DatabaseCharacterSet", + "GoldengateDeploymentLock": { + "description": "The lock of the GoldengateDeployment.", + "id": "GoldengateDeploymentLock", "properties": { - "characterSet": { - "description": "Output only. The character set name for the Database which is the ID in the resource name.", + "compartmentId": { + "description": "Output only. The compartment id.", "readOnly": true, "type": "string" }, - "characterSetType": { - "description": "Output only. The character set type for the Database.", + "createTime": { + "description": "Output only. The time created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "Output only. The message.", + "readOnly": true, + "type": "string" + }, + "relatedResourceId": { + "description": "Output only. The related resource id.", + "readOnly": true, + "type": "string" + }, + "type": { + "description": "Output only. The type of lock.", "enum": [ - "CHARACTER_SET_TYPE_UNSPECIFIED", - "DATABASE", - "NATIONAL" + "LOCK_TYPE_UNSPECIFIED", + "FULL", + "DELETE" ], "enumDescriptions": [ - "Character set type is not specified.", - "Character set type is set to database.", - "Character set type is set to national." + "The lock type is unspecified.", + "The lock type is full.", + "The lock type is delete." ], "readOnly": true, "type": "string" - }, - "name": { - "description": "Identifier. The name of the Database Character Set resource in the following format: projects/{project}/locations/{region}/databaseCharacterSets/{database_character_set}", - "type": "string" } }, "type": "object" }, - "DatabaseConnectionStringProfile": { - "description": "The connection string profile to allow clients to group. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DatabaseConnectionStringProfile", - "id": "DatabaseConnectionStringProfile", + "GoldengateDeploymentProperties": { + "description": "Properties of GoldengateDeployment.", + "id": "GoldengateDeploymentProperties", "properties": { - "consumerGroup": { - "description": "Output only. The current consumer group being used by the connection.", + "backupSchedule": { + "$ref": "GoldengateBackupSchedule", + "description": "Output only. The backup schedule of the GoldengateDeployment.", + "readOnly": true + }, + "category": { + "description": "Output only. The category of the GoldengateDeployment.", "enum": [ - "CONSUMER_GROUP_UNSPECIFIED", - "HIGH", - "MEDIUM", - "LOW", - "TP", - "TPURGENT" + "GOLDENGATE_DEPLOYMENT_CATEGORY_UNSPECIFIED", + "DATA_REPLICATION", + "DATA_TRANSFORMS" ], "enumDescriptions": [ - "Default unspecified value.", - "High consumer group.", - "Medium consumer group.", - "Low consumer group.", - "TP consumer group.", - "TPURGENT consumer group." + "The category is unspecified.", + "The deployment is data replication.", + "The deployment is data transforms." ], "readOnly": true, "type": "string" }, - "displayName": { - "description": "Output only. The display name for the database connection.", + "cpuCoreCount": { + "description": "Optional. The Minimum number of OCPUs to be made available for this Deployment.", + "format": "int32", + "type": "integer" + }, + "deploymentBackupId": { + "description": "Output only. The deployment backup id of the GoldengateDeployment.", "readOnly": true, "type": "string" }, - "hostFormat": { - "description": "Output only. The host name format being currently used in connection string.", + "deploymentDiagnosticData": { + "$ref": "DeploymentDiagnosticData", + "description": "Output only. The deployment diagnostic data of the GoldengateDeployment.", + "readOnly": true + }, + "deploymentRole": { + "description": "Output only. The deployment role of the GoldengateDeployment.", "enum": [ - "HOST_FORMAT_UNSPECIFIED", - "FQDN", - "IP" + "GOLDENGATE_DEPLOYMENT_ROLE_TYPE_UNSPECIFIED", + "PRIMARY", + "STANDBY" ], "enumDescriptions": [ - "Default unspecified value.", - "FQDN", - "IP" + "The deployment role type is unspecified.", + "The deployment role type is primary.", + "The deployment role type is standby." + ], + "readOnly": true, + "type": "string" + }, + "deploymentType": { + "description": "Required. A valid Goldengate Deployment type. For a list of supported types, use the `ListGoldengateDeploymentTypes` operation.", + "type": "string" + }, + "deploymentUrl": { + "description": "Output only. The deployment url of the GoldengateDeployment.", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. The description of the GoldengateDeployment.", + "type": "string" + }, + "environmentType": { + "description": "Optional. The environment type of the GoldengateDeployment.", + "type": "string" + }, + "fqdn": { + "description": "Output only. The Fully Qualified Domain Name of the GoldengateDeployment.", + "readOnly": true, + "type": "string" + }, + "healthy": { + "description": "Output only. Whether the GoldengateDeployment is healthy.", + "readOnly": true, + "type": "boolean" + }, + "ingressIps": { + "description": "Output only. The ingress ips of the GoldengateDeployment.", + "items": { + "$ref": "IngressIp" + }, + "readOnly": true, + "type": "array" + }, + "isAutoScalingEnabled": { + "description": "Optional. Indicates if auto scaling is enabled for the Deployment's CPU core count.", + "type": "boolean" + }, + "isLatestVersion": { + "description": "Output only. Whether the GoldengateDeployment is of the latest version.", + "readOnly": true, + "type": "boolean" + }, + "isPublic": { + "description": "Output only. Whether the GoldengateDeployment is public.", + "readOnly": true, + "type": "boolean" + }, + "isStorageUtilizationLimitExceeded": { + "description": "Output only. Whether storage utilization limit is exceeded of the GoldengateDeployment.", + "readOnly": true, + "type": "boolean" + }, + "lastBackupScheduleTime": { + "description": "Output only. The time last backup scheduled of the GoldengateDeployment.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "licenseModel": { + "description": "Optional. The Oracle license model that applies to a Deployment.", + "enum": [ + "LICENSE_MODEL_UNSPECIFIED", + "LICENSE_INCLUDED", + "BRING_YOUR_OWN_LICENSE" + ], + "enumDescriptions": [ + "The license model is unspecified.", + "The license model is included.", + "The license model is bring your own license." ], - "readOnly": true, "type": "string" }, - "isRegional": { - "description": "Output only. This field indicates if the connection string is regional and is only applicable for cross-region Data Guard.", + "lifecycleDetails": { + "description": "Output only. The lifecycle details of the GoldengateDeployment.", "readOnly": true, - "type": "boolean" + "type": "string" }, - "protocol": { - "description": "Output only. The protocol being used by the connection.", + "lifecycleState": { + "description": "Output only. State of the GoldengateDeployment.", "enum": [ - "PROTOCOL_UNSPECIFIED", - "TCP", - "TCPS" + "GOLDENGATE_DEPLOYMENT_LIFECYCLE_STATE_UNSPECIFIED", + "CREATING", + "UPDATING", + "ACTIVE", + "INACTIVE", + "DELETING", + "DELETED", + "FAILED", + "NEEDS_ATTENTION", + "IN_PROGRESS", + "CANCELLING", + "CANCELLED", + "SUCCEEDED", + "WAITING" ], "enumDescriptions": [ "Default unspecified value.", - "Tcp", - "Tcps" + "The deployment is being created.", + "The deployment is being updated.", + "The deployment is active.", + "The deployment is inactive.", + "The deployment is being deleted.", + "The deployment is deleted.", + "The deployment failed.", + "The deployment needs attention.", + "The deployment is in progress.", + "The deployment is canceling.", + "The deployment is canceled.", + "The deployment succeeded.", + "The deployment is waiting." ], "readOnly": true, "type": "string" }, - "sessionMode": { - "description": "Output only. The current session mode of the connection.", + "lifecycleSubState": { + "description": "Output only. The lifecycle sub-state of the GoldengateDeployment.", "enum": [ - "SESSION_MODE_UNSPECIFIED", - "DIRECT", - "INDIRECT" + "GOLDENGATE_DEPLOYMENT_LIFECYCLE_SUB_STATE_UNSPECIFIED", + "RECOVERING", + "STARTING", + "STOPPING", + "MOVING", + "UPGRADING", + "RESTORING", + "BACKING_UP", + "ROLLING_BACK" ], "enumDescriptions": [ - "Default unspecified value.", - "Direct", - "Indirect" + "The lifecycle sub-state is unspecified.", + "The deployment is recovering.", + "The deployment is starting.", + "The deployment is stopping.", + "The deployment is moving.", + "The deployment is upgrading.", + "The deployment is restoring.", + "The deployment is backing up.", + "The deployment is rolling back." ], "readOnly": true, "type": "string" }, - "syntaxFormat": { - "description": "Output only. The syntax of the connection string.", - "enum": [ - "SYNTAX_FORMAT_UNSPECIFIED", - "LONG", - "EZCONNECT", - "EZCONNECTPLUS" - ], - "enumDescriptions": [ - "Default unspecified value.", - "Long", - "Ezconnect", - "Ezconnectplus" - ], + "loadBalancerId": { + "description": "Output only. The load balancer id of the GoldengateDeployment.", "readOnly": true, "type": "string" }, - "tlsAuthentication": { - "description": "Output only. This field indicates the TLS authentication type of the connection.", - "enum": [ - "TLS_AUTHENTICATION_UNSPECIFIED", - "SERVER", - "MUTUAL" - ], - "enumDescriptions": [ - "Default unspecified value.", - "Server", - "Mutual" - ], + "loadBalancerSubnetId": { + "description": "Output only. The load balancer subnet id of the GoldengateDeployment.", "readOnly": true, "type": "string" }, - "value": { - "description": "Output only. The value of the connection string.", + "locks": { + "description": "Output only. The locks of the GoldengateDeployment.", + "items": { + "$ref": "GoldengateDeploymentLock" + }, + "readOnly": true, + "type": "array" + }, + "maintenanceConfig": { + "$ref": "GoldengateMaintenanceConfig", + "description": "Optional. The maintenance configuration of the GoldengateDeployment." + }, + "maintenanceWindow": { + "$ref": "GoldengateMaintenanceWindow", + "description": "Optional. The maintenance window of the GoldengateDeployment." + }, + "nextBackupScheduleTime": { + "description": "Output only. The time next backup scheduled of the GoldengateDeployment.", + "format": "google-datetime", "readOnly": true, "type": "string" - } - }, - "type": "object" - }, - "DatabaseManagementConfig": { - "description": "The configuration of the Database Management service.", - "id": "DatabaseManagementConfig", - "properties": { - "managementState": { - "description": "Output only. The status of the Database Management service.", + }, + "nextMaintenanceActionType": { + "description": "Output only. The next maintenance action type of the GoldengateDeployment.", "enum": [ - "MANAGEMENT_STATE_UNSPECIFIED", - "ENABLING", - "ENABLED", - "DISABLING", - "DISABLED", - "UPDATING", - "FAILED_ENABLING", - "FAILED_DISABLING", - "FAILED_UPDATING" + "NEXT_MAINTENANCE_ACTION_TYPE_UNSPECIFIED", + "UPGRADE" ], "enumDescriptions": [ - "The status is not specified.", - "The Database Management service is enabling.", - "The Database Management service is enabled.", - "The Database Management service is disabling.", - "The Database Management service is disabled.", - "The Database Management service is updating.", - "The Database Management service failed to enable.", - "The Database Management service failed to disable.", - "The Database Management service failed to update." + "The next maintenance action type is unspecified.", + "The next maintenance action type is upgrade." ], "readOnly": true, "type": "string" }, - "managementType": { - "description": "Output only. The Database Management type.", - "enum": [ - "MANAGEMENT_TYPE_UNSPECIFIED", - "BASIC", - "ADVANCED" - ], - "enumDescriptions": [ - "The type is not specified.", - "Basic Database Management.", - "Advanced Database Management." - ], + "nextMaintenanceDescription": { + "description": "Output only. The next maintenance description of the GoldengateDeployment.", "readOnly": true, "type": "string" - } - }, - "type": "object" - }, - "DatabaseProperties": { - "description": "The properties of a Database.", - "id": "DatabaseProperties", - "properties": { - "databaseManagementConfig": { - "$ref": "DatabaseManagementConfig", - "description": "Output only. The Database Management config.", - "readOnly": true }, - "dbBackupConfig": { - "$ref": "DbBackupConfig", - "description": "Optional. Backup options for the Database." + "nextMaintenanceTime": { + "description": "Output only. The time of next maintenance of the GoldengateDeployment.", + "format": "google-datetime", + "readOnly": true, + "type": "string" }, - "dbVersion": { - "description": "Required. The Oracle Database version.", + "nsgIds": { + "description": "Output only. The nsg ids of the GoldengateDeployment.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "ocid": { + "description": "Output only. OCID of the GoldengateDeployment.", + "readOnly": true, "type": "string" }, - "state": { - "description": "Output only. State of the Database.", - "enum": [ - "DATABASE_LIFECYCLE_STATE_UNSPECIFIED", - "PROVISIONING", - "AVAILABLE", - "UPDATING", - "BACKUP_IN_PROGRESS", - "UPGRADING", - "CONVERTING", - "TERMINATING", - "TERMINATED", - "RESTORE_FAILED", - "FAILED" - ], - "enumDescriptions": [ - "Default unspecified value.", - "Indicates that the resource is in provisioning state.", - "Indicates that the resource is in available state.", - "Indicates that the resource is in updating state.", - "Indicates that the resource is in backup in progress state.", - "Indicates that the resource is in upgrading state.", - "Indicates that the resource is in converting state.", - "Indicates that the resource is in terminating state.", - "Indicates that the resource is in terminated state.", - "Indicates that the resource is in restore failed state.", - "Indicates that the resource is in failed state." - ], + "oggData": { + "$ref": "GoldengateOggDeployment", + "description": "Required. The ogg data of the GoldengateDeployment." + }, + "oggVersionSupportEndTime": { + "description": "Output only. The time ogg version supported until of the GoldengateDeployment.", + "format": "google-datetime", "readOnly": true, "type": "string" - } - }, - "type": "object" - }, - "DbBackupConfig": { - "description": "Backup Options for the Database.", - "id": "DbBackupConfig", - "properties": { - "autoBackupEnabled": { - "description": "Optional. If set to true, enables automatic backups on the database.", - "type": "boolean" }, - "autoFullBackupDay": { - "description": "Optional. The day of the week on which the full backup should be performed on the database. If no value is provided, it will default to Sunday.", - "enum": [ - "DAY_OF_WEEK_UNSPECIFIED", - "MONDAY", - "TUESDAY", - "WEDNESDAY", - "THURSDAY", - "FRIDAY", - "SATURDAY", - "SUNDAY" - ], - "enumDescriptions": [ - "The day of the week is unspecified.", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], + "placements": { + "description": "Output only. The placements of the GoldengateDeployment.", + "items": { + "$ref": "GoldengatePlacement" + }, + "readOnly": true, + "type": "array" + }, + "privateIpAddress": { + "description": "Output only. The private ip address of the GoldengateDeployment.", + "readOnly": true, "type": "string" }, - "autoFullBackupWindow": { - "description": "Optional. The window in which the full backup should be performed on the database. If no value is provided, the default is anytime.", - "enum": [ - "BACKUP_WINDOW_UNSPECIFIED", - "SLOT_ONE", - "SLOT_TWO", - "SLOT_THREE", - "SLOT_FOUR", - "SLOT_FIVE", - "SLOT_SIX", - "SLOT_SEVEN", - "SLOT_EIGHT", - "SLOT_NINE", - "SLOT_TEN", - "SLOT_ELEVEN", - "SLOT_TWELVE" - ], - "enumDescriptions": [ - "Default unspecified value.", - "12:00 AM - 2:00 AM", - "2:00 AM - 4:00 AM", - "4:00 AM - 6:00 AM", - "6:00 AM - 8:00 AM", - "8:00 AM - 10:00 AM", - "10:00 AM - 12:00 PM", - "12:00 PM - 2:00 PM", - "2:00 PM - 4:00 PM", - "4:00 PM - 6:00 PM", - "6:00 PM - 8:00 PM", - "8:00 PM - 10:00 PM", - "10:00 PM - 12:00 AM" - ], + "publicIpAddress": { + "description": "Output only. The public ip address of the GoldengateDeployment.", + "readOnly": true, "type": "string" }, - "autoIncrementalBackupWindow": { - "description": "Optional. The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day.", + "roleChangeTime": { + "description": "Output only. The time when the role of the GoldengateDeployment was changed.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "storageUtilizationBytes": { + "description": "Output only. The storage utilization in bytes of the GoldengateDeployment.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time the GoldengateDeployment was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "upgradeRequiredTime": { + "description": "Output only. The time upgrade required of the GoldengateDeployment.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoldengateDeploymentType": { + "description": "Details of the Goldengate Deployment Type resource.", + "id": "GoldengateDeploymentType", + "properties": { + "category": { + "description": "Output only. The category of the Goldengate Deployment Type resource.", "enum": [ - "BACKUP_WINDOW_UNSPECIFIED", - "SLOT_ONE", - "SLOT_TWO", - "SLOT_THREE", - "SLOT_FOUR", - "SLOT_FIVE", - "SLOT_SIX", - "SLOT_SEVEN", - "SLOT_EIGHT", - "SLOT_NINE", - "SLOT_TEN", - "SLOT_ELEVEN", - "SLOT_TWELVE" + "DEPLOYMENT_CATEGORY_UNSPECIFIED", + "DATA_REPLICATION_CATEGORY", + "DATA_TRANSFORMS_CATEGORY" ], "enumDescriptions": [ "Default unspecified value.", - "12:00 AM - 2:00 AM", - "2:00 AM - 4:00 AM", - "4:00 AM - 6:00 AM", - "6:00 AM - 8:00 AM", - "8:00 AM - 10:00 AM", - "10:00 AM - 12:00 PM", - "12:00 PM - 2:00 PM", - "2:00 PM - 4:00 PM", - "4:00 PM - 6:00 PM", - "6:00 PM - 8:00 PM", - "8:00 PM - 10:00 PM", - "10:00 PM - 12:00 AM" + "Goldengate Deployment Type category is DATA_REPLICATION_CATEGORY.", + "Goldengate Deployment Type category is DATA_TRANSFORMS_CATEGORY." ], + "readOnly": true, "type": "string" }, - "backupDeletionPolicy": { - "description": "Optional. This defines when the backups will be deleted after Database termination.", + "connectionTypes": { + "description": "Output only. The connection types of the Goldengate Deployment Type resource.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "defaultUsername": { + "description": "Output only. The default username of the Goldengate Deployment Type resource.", + "readOnly": true, + "type": "string" + }, + "deploymentType": { + "description": "Output only. The deployment type of the Goldengate Deployment Type resource.", "enum": [ - "BACKUP_DELETION_POLICY_UNSPECIFIED", - "DELETE_IMMEDIATELY", - "DELETE_AFTER_RETENTION_PERIOD" + "DEPLOYMENT_TYPE_UNSPECIFIED", + "OGG", + "DATABASE_ORACLE", + "BIGDATA", + "DATABASE_MICROSOFT_SQLSERVER", + "DATABASE_MYSQL", + "DATABASE_POSTGRESQL", + "DATABASE_DB2ZOS", + "DATABASE_DB2I", + "GGSA", + "DATA_TRANSFORMS" ], "enumDescriptions": [ "Default unspecified value.", - "Keeps the backup for predefined time i.e. 72 hours and then delete permanently.", - "Keeps the backups as per the policy defined for database backups." + "Goldengate Deployment Type category is OGG.", + "Goldengate Deployment Type category is DATABASE_ORACLE.", + "Goldengate Deployment Type category is BIGDATA.", + "Goldengate Deployment Type category is DATABASE_MICROSOFT_SQLSERVER.", + "Goldengate Deployment Type category is DATABASE_MYSQL.", + "Goldengate Deployment Type category is DATABASE_POSTGRESQL.", + "Goldengate Deployment Type category is DATABASE_DB2ZOS.", + "Goldengate Deployment Type category is DATABASE_DB2I.", + "Goldengate Deployment Type category is GGSA.", + "Goldengate Deployment Type category is DATA_TRANSFORMS." ], + "readOnly": true, "type": "string" }, - "backupDestinationDetails": { - "description": "Optional. Details of the database backup destinations.", + "displayName": { + "description": "Output only. The display name of the Goldengate Deployment Type resource.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The name of the Goldengate Deployment Type resource with the format: projects/{project}/locations/{region}/goldengateDeploymentTypes/{goldengate_deployment_type}", + "type": "string" + }, + "oggVersion": { + "description": "Output only. The Ogg version of the Goldengate Deployment Type resource.", + "readOnly": true, + "type": "string" + }, + "sourceTechnologies": { + "description": "Output only. The source technologies of the Goldengate Deployment Type resource.", "items": { - "$ref": "BackupDestinationDetails" + "type": "string" }, + "readOnly": true, "type": "array" }, - "retentionPeriodDays": { - "description": "Optional. The number of days an automatic backup is retained before being automatically deleted. This value determines the earliest point in time to which a database can be restored. Min: 1, Max: 60.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "DbHome": { - "description": "Details of the Database Home resource.", - "id": "DbHome", - "properties": { - "database": { - "$ref": "Database", - "description": "Required. The Database resource." - }, - "dbVersion": { - "description": "Required. A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.", - "type": "string" + "supportedCapabilities": { + "description": "Output only. The supported capabilities of the Goldengate Deployment Type resource.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" }, - "displayName": { - "description": "Optional. The display name for the Database Home. The name does not have to be unique within your project.", + "supportedTechnologiesUrl": { + "description": "Output only. The supported technologies URL of the Goldengate Deployment Type resource.", + "readOnly": true, "type": "string" }, - "isUnifiedAuditingEnabled": { - "description": "Optional. Whether unified auditing is enabled for the Database Home.", - "type": "boolean" + "targetTechnologies": { + "description": "Output only. The target technologies of the Goldengate Deployment Type resource.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" } }, "type": "object" }, - "DbNode": { - "description": "Details of the database node resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbNode/", - "id": "DbNode", + "GoldengateDeploymentVersion": { + "description": "Details of the Goldengate Deployment Version resource.", + "id": "GoldengateDeploymentVersion", "properties": { "name": { - "description": "Identifier. The name of the database node resource in the following format: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}/dbNodes/{db_node}", + "description": "Identifier. The name of the Goldengate Deployment Version resource with the format: projects/{project}/locations/{location}/goldengateDeploymentVersions/{goldengate_deployment_version}", + "type": "string" + }, + "ocid": { + "description": "Output only. The deployment version ocid of the Goldengate Deployment Version resource.", + "readOnly": true, "type": "string" }, "properties": { - "$ref": "DbNodeProperties", - "description": "Optional. Various properties of the database node." + "$ref": "GoldengateDeploymentVersionProperties", + "description": "Output only. The technology type of the Goldengate Deployment Version resource.", + "readOnly": true } }, "type": "object" }, - "DbNodeProperties": { - "description": "Various properties and settings associated with Db node.", - "id": "DbNodeProperties", + "GoldengateDeploymentVersionProperties": { + "description": "Properties of GoldengateDeploymentVersion.", + "id": "GoldengateDeploymentVersionProperties", "properties": { - "createTime": { - "description": "Output only. The date and time that the database node was created.", - "format": "google-datetime", + "deploymentType": { + "description": "Output only. The deployment type of the Goldengate Deployment Version resource.", + "enum": [ + "DEPLOYMENT_TYPE_UNSPECIFIED", + "OGG", + "DATABASE_ORACLE", + "BIGDATA", + "DATABASE_MICROSOFT_SQLSERVER", + "DATABASE_MYSQL", + "DATABASE_POSTGRESQL", + "DATABASE_DB2ZOS", + "DATABASE_DB2I", + "GGSA", + "DATA_TRANSFORMS" + ], + "enumDescriptions": [ + "Default unspecified value.", + "Goldengate Deployment Type category is OGG.", + "Goldengate Deployment Type category is DATABASE_ORACLE.", + "Goldengate Deployment Type category is BIGDATA.", + "Goldengate Deployment Type category is DATABASE_MICROSOFT_SQLSERVER.", + "Goldengate Deployment Type category is DATABASE_MYSQL.", + "Goldengate Deployment Type category is DATABASE_POSTGRESQL.", + "Goldengate Deployment Type category is DATABASE_DB2ZOS.", + "Goldengate Deployment Type category is DATABASE_DB2I.", + "Goldengate Deployment Type category is GGSA.", + "Goldengate Deployment Type category is DATA_TRANSFORMS." + ], "readOnly": true, "type": "string" }, - "dbNodeStorageSizeGb": { - "description": "Optional. Local storage per database node.", - "format": "int32", - "type": "integer" - }, - "dbServerOcid": { - "description": "Optional. Database server OCID.", - "type": "string" - }, - "hostname": { - "description": "Optional. DNS", + "oggVersion": { + "description": "Output only. The OGG version of the Goldengate Deployment Version resource.", + "readOnly": true, "type": "string" }, - "memorySizeGb": { - "description": "Memory allocated in GBs.", - "format": "int32", - "type": "integer" - }, - "ocid": { - "description": "Output only. OCID of database node.", + "releaseTime": { + "description": "Output only. The release time of the Goldengate Deployment Version resource.", + "format": "google-datetime", "readOnly": true, "type": "string" }, - "ocpuCount": { - "description": "Optional. OCPU count per database node.", - "format": "int32", - "type": "integer" - }, - "state": { - "description": "Output only. State of the database node.", + "releaseType": { + "description": "Output only. The release type of the Goldengate Deployment Version resource.", "enum": [ - "STATE_UNSPECIFIED", - "PROVISIONING", - "AVAILABLE", - "UPDATING", - "STOPPING", - "STOPPED", - "STARTING", - "TERMINATING", - "TERMINATED", - "FAILED" + "DEPLOYMENT_RELEASE_TYPE_UNSPECIFIED", + "MAJOR", + "BUNDLE", + "MINOR" ], "enumDescriptions": [ "Default unspecified value.", - "Indicates that the resource is in provisioning state.", - "Indicates that the resource is in available state.", - "Indicates that the resource is in updating state.", - "Indicates that the resource is in stopping state.", - "Indicates that the resource is in stopped state.", - "Indicates that the resource is in starting state.", - "Indicates that the resource is in terminating state.", - "Indicates that the resource is in terminated state.", - "Indicates that the resource is in failed state." + "Goldengate Deployment Version release type is MAJOR.", + "Goldengate Deployment Version release type is BUNDLE.", + "Goldengate Deployment Version release type is MINOR." ], "readOnly": true, "type": "string" }, - "totalCpuCoreCount": { - "description": "Total CPU core count of the database node.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "DbServer": { - "description": "Details of the database server resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbServer/", - "id": "DbServer", - "properties": { - "displayName": { - "description": "Optional. User friendly name for this resource.", - "type": "string" + "securityFix": { + "description": "Optional. Whether the Goldengate Deployment Version resource is a security fix.", + "type": "boolean" }, - "name": { - "description": "Identifier. The name of the database server resource with the format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}/dbServers/{db_server}", + "supportEndTime": { + "description": "Output only. The support end time of the Goldengate Deployment Version resource.", + "format": "google-datetime", + "readOnly": true, "type": "string" - }, - "properties": { - "$ref": "DbServerProperties", - "description": "Optional. Various properties of the database server." } }, "type": "object" }, - "DbServerProperties": { - "description": "Various properties and settings associated with Exadata database server.", - "id": "DbServerProperties", + "GoldengateElasticsearchConnectionProperties": { + "description": "The properties of GoldengateElasticsearchConnection.", + "id": "GoldengateElasticsearchConnectionProperties", "properties": { - "dbNodeIds": { - "description": "Output only. OCID of database nodes associated with the database server.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "dbNodeStorageSizeGb": { - "description": "Optional. Local storage per VM.", - "format": "int32", - "type": "integer" - }, - "maxDbNodeStorageSizeGb": { - "description": "Optional. Maximum local storage per VM.", - "format": "int32", - "type": "integer" - }, - "maxMemorySizeGb": { - "description": "Optional. Maximum memory allocated in GBs.", - "format": "int32", - "type": "integer" - }, - "maxOcpuCount": { - "description": "Optional. Maximum OCPU count per database.", - "format": "int32", - "type": "integer" + "authenticationType": { + "description": "Optional. Authentication type for Elasticsearch.", + "enum": [ + "ELASTICSEARCH_AUTHENTICATION_TYPE_UNSPECIFIED", + "NONE", + "BASIC" + ], + "enumDescriptions": [ + "Authentication type not specified.", + "No authentication.", + "Basic authentication." + ], + "type": "string" }, - "memorySizeGb": { - "description": "Optional. Memory allocated in GBs.", - "format": "int32", - "type": "integer" + "fingerprint": { + "description": "Optional. Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c'", + "type": "string" }, - "ocid": { - "description": "Output only. OCID of database server.", - "readOnly": true, + "password": { + "description": "Optional. Input only. The password Oracle Goldengate uses for Elastic Search connection in plain text.", "type": "string" }, - "ocpuCount": { - "description": "Optional. OCPU count per database.", - "format": "int32", - "type": "integer" + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Elastic Search connection. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" }, - "state": { - "description": "Output only. State of the database server.", + "securityProtocol": { + "description": "Optional. Security protocol for Elasticsearch.", "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "AVAILABLE", - "UNAVAILABLE", - "DELETING", - "DELETED" - ], - "enumDescriptions": [ - "Default unspecified value.", - "Indicates that the resource is in creating state.", - "Indicates that the resource is in available state.", - "Indicates that the resource is in unavailable state.", - "Indicates that the resource is in deleting state.", - "Indicates that the resource is in deleted state." + "ELASTICSEARCH_SECURITY_PROTOCOL_UNSPECIFIED", + "PLAIN", + "TLS" + ], + "enumDescriptions": [ + "Security protocol not specified.", + "Plain text communication.", + "Transport Layer Security." ], - "readOnly": true, "type": "string" }, - "vmCount": { - "description": "Optional. Vm count per database.", - "format": "int32", - "type": "integer" + "servers": { + "description": "Optional. Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Example: \"server1.example.com:4000,server2.example.com:4000\"", + "type": "string" + }, + "technologyType": { + "description": "Optional. The technology type of ElasticsearchConnection.", + "type": "string" + }, + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.", + "type": "string" } }, "type": "object" }, - "DbSystem": { - "description": "Details of the DbSystem (BaseDB) resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystem/", - "id": "DbSystem", + "GoldengateGenericConnectionProperties": { + "description": "The properties of GoldengateGenericConnectionProperties.", + "id": "GoldengateGenericConnectionProperties", "properties": { - "createTime": { - "description": "Output only. The date and time that the DbSystem was created.", - "format": "google-datetime", - "readOnly": true, + "host": { + "description": "Optional. The host of the GenericConnection.", "type": "string" }, - "displayName": { - "description": "Required. The display name for the System db. The name does not have to be unique within your project.", + "technologyType": { + "description": "Optional. The technology type.", "type": "string" - }, - "entitlementId": { - "description": "Output only. The ID of the subscription entitlement associated with the DbSystem", - "readOnly": true, + } + }, + "type": "object" + }, + "GoldengateGoldengateConnectionProperties": { + "description": "The properties of GoldengateGoldengateConnectionProperties.", + "id": "GoldengateGoldengateConnectionProperties", + "properties": { + "goldengateDeploymentId": { + "description": "Optional. The name of the GoldengateDeployment associated with the GoldengateConnection. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}", "type": "string" }, - "gcpOracleZone": { - "description": "Optional. The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.", + "host": { + "description": "Optional. The host of the GoldengateConnection.", "type": "string" }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. The labels or tags associated with the DbSystem.", - "type": "object" + "password": { + "description": "Optional. Input only. The password used to connect to the Oracle Goldengate in plain text.", + "type": "string" }, - "name": { - "description": "Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}", + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password used to connect to the Oracle Goldengate. Format: projects/{project}/secrets/{secret}/versions/{version}.", "type": "string" }, - "ociUrl": { - "description": "Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.", - "readOnly": true, + "port": { + "description": "Optional. The port of the GoldengateConnection.", + "format": "int32", + "type": "integer" + }, + "technologyType": { + "description": "Optional. The technology type.", "type": "string" }, - "odbNetwork": { - "description": "Optional. The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.", + "username": { + "description": "Optional. The username credential.", + "type": "string" + } + }, + "type": "object" + }, + "GoldengateGoogleBigQueryConnectionProperties": { + "description": "The properties of GoldengateGoogleBigQueryConnectionProperties.", + "id": "GoldengateGoogleBigQueryConnectionProperties", + "properties": { + "serviceAccountKeyFile": { + "description": "Optional. The service account key file Cloud Storage containing the credentials required to use Google BigQuery.", "type": "string" }, - "odbSubnet": { - "description": "Required. The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", + "technologyType": { + "description": "Optional. The technology type.", + "type": "string" + } + }, + "type": "object" + }, + "GoldengateGoogleCloudStorageConnectionProperties": { + "description": "The properties of GoldengateGoogleCloudStorageConnectionProperties.", + "id": "GoldengateGoogleCloudStorageConnectionProperties", + "properties": { + "serviceAccountKeyFile": { + "description": "Optional. The service account key Cloud Storage file containing the credentials required to use Google Cloud Storage.", "type": "string" }, - "properties": { - "$ref": "DbSystemProperties", - "description": "Optional. The properties of the DbSystem." + "technologyType": { + "description": "Optional. The technology type.", + "type": "string" } }, "type": "object" }, - "DbSystemInitialStorageSize": { - "description": "Summary of the DbSystem initial storage size.", - "id": "DbSystemInitialStorageSize", + "GoldengateGooglePubsubConnectionProperties": { + "description": "The properties of GoldengateGooglePubsubConnection.", + "id": "GoldengateGooglePubsubConnectionProperties", "properties": { - "name": { - "description": "Output only. The name of the resource.", - "readOnly": true, + "serviceAccountKeyFile": { + "description": "Optional. The content of the service account key file containing the credentials required to use Google Pub/Sub.", "type": "string" }, - "properties": { - "$ref": "DbSystemInitialStorageSizeProperties", - "description": "Output only. The properties of the DbSystem initial storage size summary.", - "readOnly": true + "technologyType": { + "description": "Optional. The technology type of GooglePubsubConnection.", + "type": "string" } }, "type": "object" }, - "DbSystemInitialStorageSizeProperties": { - "description": "The properties of a DbSystem initial storage size summary.", - "id": "DbSystemInitialStorageSizeProperties", + "GoldengateGroupToRolesMapping": { + "description": "The group to roles mapping of the GoldengateDeployment.", + "id": "GoldengateGroupToRolesMapping", "properties": { - "launchFromBackupStorageSizeDetails": { - "description": "Output only. List of storage disk details available for launches from backup.", - "items": { - "$ref": "StorageSizeDetails" - }, + "administratorGroupId": { + "description": "Output only. The administrator group id.", "readOnly": true, - "type": "array" + "type": "string" }, - "shapeType": { - "description": "Output only. VM shape platform type", - "enum": [ - "SHAPE_TYPE_UNSPECIFIED", - "STANDARD_X86" - ], - "enumDescriptions": [ - "Unspecified shape type.", - "Standard X86." - ], + "operatorGroupId": { + "description": "Output only. The operator group id.", "readOnly": true, "type": "string" }, - "storageManagement": { - "description": "Output only. The storage option used in DB system.", - "enum": [ - "STORAGE_MANAGEMENT_UNSPECIFIED", - "ASM", - "LVM" - ], - "enumDescriptions": [ - "Unspecified storage management.", - "Automatic Storage Management.", - "Logical Volume Management." - ], + "securityGroupId": { + "description": "Output only. The security group id.", "readOnly": true, "type": "string" }, - "storageSizeDetails": { - "description": "Output only. List of storage disk details.", - "items": { - "$ref": "StorageSizeDetails" - }, + "userGroupId": { + "description": "Output only. The user group id.", "readOnly": true, - "type": "array" + "type": "string" } }, "type": "object" }, - "DbSystemOptions": { - "description": "Details of the DbSystem Options.", - "id": "DbSystemOptions", + "GoldengateHdfsConnectionProperties": { + "description": "The properties of GoldengateHdfsConnection.", + "id": "GoldengateHdfsConnectionProperties", "properties": { - "storageManagement": { - "description": "Optional. The storage option used in DB system.", - "enum": [ - "STORAGE_MANAGEMENT_UNSPECIFIED", - "ASM", - "LVM" - ], - "enumDescriptions": [ - "The storage management is unspecified.", - "Automatic storage management.", - "Logical Volume management." - ], + "coreSiteXml": { + "description": "Optional. The content of the Hadoop Distributed File System configuration file (core-site.xml).", + "type": "string" + }, + "technologyType": { + "description": "Optional. The technology type of HdfsConnection.", "type": "string" } }, "type": "object" }, - "DbSystemProperties": { - "description": "The properties of a DbSystem.", - "id": "DbSystemProperties", + "GoldengateIcebergConnectionProperties": { + "description": "The properties of GoldengateIcebergConnection.", + "id": "GoldengateIcebergConnectionProperties", "properties": { - "computeCount": { - "description": "Required. The number of CPU cores to enable for the DbSystem.", - "format": "int32", - "type": "integer" + "catalog": { + "$ref": "IcebergCatalog", + "description": "Required. The Iceberg catalog." }, - "computeModel": { - "description": "Optional. The compute model of the DbSystem.", + "storage": { + "$ref": "IcebergStorage", + "description": "Required. The Iceberg storage." + }, + "technologyType": { + "description": "Required. The technology type of Iceberg connection.", + "type": "string" + } + }, + "type": "object" + }, + "GoldengateJavaMessageServiceConnectionProperties": { + "description": "The properties of GoldengateJavaMessageServiceConnection.", + "id": "GoldengateJavaMessageServiceConnectionProperties", + "properties": { + "authenticationType": { + "description": "Optional. Authentication type for Java Message Service.", "enum": [ - "COMPUTE_MODEL_UNSPECIFIED", - "ECPU", - "OCPU" + "JMS_AUTHENTICATION_TYPE_UNSPECIFIED", + "NONE", + "BASIC" ], "enumDescriptions": [ - "The compute model is unspecified.", - "The compute model is virtual.", - "The compute model is physical." + "Authentication type not specified.", + "No authentication.", + "Basic authentication." ], "type": "string" }, - "dataCollectionOptions": { - "$ref": "DataCollectionOptionsDbSystem", - "description": "Optional. Data collection options for diagnostics." + "connectionFactory": { + "description": "Optional. The Java class implementing javax.jms.ConnectionFactory interface supplied by the JMS provider.", + "type": "string" }, - "dataStorageSizeGb": { - "description": "Optional. The data storage size in GB that is currently available to DbSystems.", - "format": "int32", - "type": "integer" + "connectionUrl": { + "description": "Optional. Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676'", + "type": "string" }, - "databaseEdition": { - "description": "Required. The database edition of the DbSystem.", - "enum": [ - "DB_SYSTEM_DATABASE_EDITION_UNSPECIFIED", - "STANDARD_EDITION", - "ENTERPRISE_EDITION", - "ENTERPRISE_EDITION_HIGH_PERFORMANCE" - ], - "enumDescriptions": [ - "The database edition is unspecified.", - "The database edition is Standard.", - "The database edition is Enterprise.", - "The database edition is Enterprise Edition." - ], + "jndiConnectionFactory": { + "description": "Optional. The Connection Factory can be looked up using this name. e.g.: 'ConnectionFactory'", "type": "string" }, - "dbHome": { - "$ref": "DbHome", - "description": "Optional. Details for creating a Database Home." + "jndiInitialContextFactory": { + "description": "Optional. The implementation of javax.naming.spi.InitialContextFactory interface used to obtain initial naming context.", + "type": "string" }, - "dbSystemOptions": { - "$ref": "DbSystemOptions", - "description": "Optional. The options for the DbSystem." + "jndiProviderUrl": { + "description": "Optional. The URL that Java Message Service will use to contact the JNDI provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000'", + "type": "string" }, - "domain": { - "description": "Optional. The host domain name of the DbSystem.", + "jndiSecurityCredentialsSecret": { + "description": "Optional. The password associated to the principal.", "type": "string" }, - "hostname": { - "description": "Output only. The hostname of the DbSystem.", - "readOnly": true, + "jndiSecurityPrincipal": { + "description": "Optional. Specifies the identity of the principal (user) to be authenticated.", "type": "string" }, - "hostnamePrefix": { - "description": "Optional. Prefix for DB System host names.", + "keyStoreFile": { + "description": "Optional. The content of the KeyStore file.", "type": "string" }, - "initialDataStorageSizeGb": { - "description": "Required. The initial data storage size in GB.", - "format": "int32", - "type": "integer" + "keyStorePassword": { + "description": "Optional. Input only. The KeyStore password in plain text.", + "type": "string" }, - "licenseModel": { - "description": "Required. The license model of the DbSystem.", + "keyStorePasswordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the KeyStore password. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "password": { + "description": "Optional. Input only. The password Oracle Goldengate uses to connect the Java Message Service in plain text.", + "type": "string" + }, + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses to connect the associated Java Message Service. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "securityProtocol": { + "description": "Optional. Security protocol for Java Message Service.", "enum": [ - "LICENSE_MODEL_UNSPECIFIED", - "LICENSE_INCLUDED", - "BRING_YOUR_OWN_LICENSE" + "JMS_SECURITY_PROTOCOL_UNSPECIFIED", + "PLAIN", + "TLS", + "MTLS" ], "enumDescriptions": [ - "The license model is unspecified.", - "The license model is included.", - "The license model is bring your own license." + "Security protocol not specified.", + "Plain text communication.", + "Transport Layer Security.", + "Mutual Transport Layer Security." ], "type": "string" }, - "lifecycleState": { - "description": "Output only. State of the DbSystem.", + "sslKeyPassword": { + "description": "Optional. Input only. The password for the cert inside of the KeyStore in plain text.", + "type": "string" + }, + "sslKeyPasswordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password for the cert inside of the KeyStore. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "technologyType": { + "description": "Optional. The technology type of JavaMessageServiceConnection.", + "type": "string" + }, + "trustStoreFile": { + "description": "Optional. The content of the TrustStore file.", + "type": "string" + }, + "trustStorePassword": { + "description": "Optional. Input only. The TrustStore password in plain text.", + "type": "string" + }, + "trustStorePasswordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the TrustStore password. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "useJndi": { + "description": "Optional. If set to true, Java Naming and Directory Interface (JNDI) properties should be provided.", + "type": "boolean" + }, + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect to the Java Message Service.", + "type": "string" + } + }, + "type": "object" + }, + "GoldengateKafkaConnectionProperties": { + "description": "The properties of GoldengateKafkaConnection.", + "id": "GoldengateKafkaConnectionProperties", + "properties": { + "bootstrapServers": { + "description": "Optional. Kafka bootstrap. Equivalent of bootstrap.servers configuration property in Kafka: list of KafkaBootstrapServer objects specified by host/port. Used for establishing the initial connection to the Kafka cluster. Example: \"server1.example.com:9092,server2.example.com:9092\"", + "items": { + "$ref": "KafkaBootstrapServer" + }, + "type": "array" + }, + "clusterId": { + "description": "Optional. The OCID of the Kafka cluster being referenced from OCI Streaming with Apache Kafka.", + "type": "string" + }, + "consumerPropertiesFile": { + "description": "Optional. The content of the consumer.properties file.", + "type": "string" + }, + "keyStoreFile": { + "description": "Optional. The content of the KeyStore file.", + "type": "string" + }, + "keyStorePassword": { + "description": "Optional. Input only. The KeyStore password in plain text.", + "type": "string" + }, + "keyStorePasswordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the KeyStore password. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "password": { + "description": "Optional. Input only. The password for Kafka basic/SASL auth in plain text.", + "type": "string" + }, + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password for Kafka basic/SASL auth. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "producerPropertiesFile": { + "description": "Optional. The content of the producer.properties file.", + "type": "string" + }, + "securityProtocol": { + "description": "Optional. Security Type for Kafka.", "enum": [ - "DB_SYSTEM_LIFECYCLE_STATE_UNSPECIFIED", - "PROVISIONING", - "AVAILABLE", - "UPDATING", - "TERMINATING", - "TERMINATED", - "FAILED", - "MIGRATED", - "MAINTENANCE_IN_PROGRESS", - "NEEDS_ATTENTION", - "UPGRADING" + "KAFKA_SECURITY_PROTOCOL_UNSPECIFIED", + "SSL", + "SASL_SSL", + "PLAINTEXT", + "SASL_PLAINTEXT" ], "enumDescriptions": [ - "Default unspecified value.", - "Indicates that the resource is in provisioning state.", - "Indicates that the resource is in available state.", - "Indicates that the resource is in updating state.", - "Indicates that the resource is in terminating state.", - "Indicates that the resource is in terminated state.", - "Indicates that the resource is in failed state.", - "Indicates that the resource has been migrated.", - "Indicates that the resource is in maintenance in progress state.", - "Indicates that the resource needs attention.", - "Indicates that the resource is upgrading." + "Security type not specified.", + "SSL security protocol.", + "SASL SSL security protocol.", + "Plaintext security protocol.", + "SASL Plaintext security protocol." ], - "readOnly": true, "type": "string" }, - "memorySizeGb": { - "description": "Optional. The memory size in GB.", - "format": "int32", - "type": "integer" + "sslKeyPassword": { + "description": "Optional. Input only. The password for the cert inside of the KeyStore in plain text.", + "type": "string" }, - "nodeCount": { - "description": "Optional. The number of nodes in the DbSystem.", - "format": "int32", - "type": "integer" + "sslKeyPasswordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password for the cert inside of the KeyStore. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" }, - "ocid": { - "description": "Output only. OCID of the DbSystem.", - "readOnly": true, + "streamPoolId": { + "description": "Optional. The OCID of the stream pool being referenced.", "type": "string" }, - "privateIp": { - "description": "Optional. The private IP address of the DbSystem.", + "technologyType": { + "description": "Optional. The technology type of KafkaConnection.", "type": "string" }, - "recoStorageSizeGb": { - "description": "Optional. The reco/redo storage size in GB.", - "format": "int32", - "type": "integer" + "trustStoreFile": { + "description": "Optional. The content of the TrustStore file.", + "type": "string" }, - "shape": { - "description": "Required. Shape of DB System.", + "trustStorePassword": { + "description": "Optional. Input only. The TrustStore password in plain text.", "type": "string" }, - "sshPublicKeys": { - "description": "Required. SSH public keys to be stored with the DbSystem.", - "items": { - "type": "string" - }, - "type": "array" + "trustStorePasswordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the TrustStore password. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" }, - "timeZone": { - "$ref": "TimeZone", - "description": "Optional. Time zone of the DbSystem." + "useResourcePrincipal": { + "description": "Optional. Specifies that the user intends to authenticate to the instance using a resource principal. Applicable only for OCI Streaming connections.", + "type": "boolean" + }, + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.", + "type": "string" } }, "type": "object" }, - "DbSystemShape": { - "description": "Details of the Database System Shapes resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystemShapeSummary/", - "id": "DbSystemShape", + "GoldengateKafkaSchemaRegistryConnectionProperties": { + "description": "The properties of GoldengateKafkaSchemaRegistryConnection.", + "id": "GoldengateKafkaSchemaRegistryConnectionProperties", "properties": { - "availableCoreCountPerNode": { - "description": "Optional. Number of cores per node.", - "format": "int32", - "type": "integer" + "authenticationType": { + "description": "Optional. Used authentication mechanism to access Schema Registry.", + "enum": [ + "AUTHENTICATION_TYPE_UNSPECIFIED", + "NONE", + "BASIC", + "MUTUAL" + ], + "enumDescriptions": [ + "Authentication type not specified.", + "No authentication.", + "Basic authentication.", + "Mutual authentication." + ], + "type": "string" }, - "availableDataStorageTb": { - "description": "Optional. Storage per storage server in terabytes.", - "format": "int32", - "type": "integer" + "keyStoreFile": { + "description": "Optional. The content of the KeyStore file.", + "type": "string" }, - "availableMemoryPerNodeGb": { - "description": "Optional. Memory per database server node in gigabytes.", - "format": "int32", - "type": "integer" + "keyStorePassword": { + "description": "Optional. Input only. The KeyStore password in plain text.", + "type": "string" }, - "maxNodeCount": { - "description": "Optional. Maximum number of database servers.", - "format": "int32", - "type": "integer" + "keyStorePasswordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the KeyStore password. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" }, - "maxStorageCount": { - "description": "Optional. Maximum number of storage servers.", - "format": "int32", - "type": "integer" + "password": { + "description": "Optional. Input only. The password to access Schema Registry in plain text.", + "type": "string" }, - "minCoreCountPerNode": { - "description": "Optional. Minimum core count per node.", - "format": "int32", - "type": "integer" + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password to access Schema Registry using basic authentication. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" }, - "minDbNodeStoragePerNodeGb": { - "description": "Optional. Minimum node storage per database server in gigabytes.", + "sslKeyPassword": { + "description": "Optional. Input only. The password for the cert inside the KeyStore in plain text.", + "type": "string" + }, + "sslKeyPasswordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password for the cert inside the KeyStore. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "technologyType": { + "description": "Optional. The technology type of KafkaSchemaRegistryConnection.", + "type": "string" + }, + "trustStoreFile": { + "description": "Optional. The content of the TrustStore file.", + "type": "string" + }, + "trustStorePassword": { + "description": "Optional. Input only. The TrustStore password in plain text.", + "type": "string" + }, + "trustStorePasswordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the TrustStore password. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "url": { + "description": "Optional. Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081'", + "type": "string" + }, + "username": { + "description": "Optional. The username to access Schema Registry using basic authentication. This value is injected into 'schema.registry.basic.auth.user.info=user:password' configuration property.", + "type": "string" + } + }, + "type": "object" + }, + "GoldengateMaintenanceConfig": { + "description": "The maintenance configuration of the GoldengateDeployment.", + "id": "GoldengateMaintenanceConfig", + "properties": { + "bundleReleaseUpgradePeriodDays": { + "description": "Optional. Defines auto upgrade period for bundle releases. Manually configured period cannot be longer than service defined period for bundle releases. This period must be shorter or equal to major release upgrade period. Not passing this field during create will equate to using the service default.", "format": "int32", "type": "integer" }, - "minMemoryPerNodeGb": { - "description": "Optional. Minimum memory per node in gigabytes.", + "interimReleaseUpgradePeriodDays": { + "description": "Optional. Defines auto upgrade period for interim releases. This period must be shorter or equal to bundle release upgrade period.", "format": "int32", "type": "integer" }, - "minNodeCount": { - "description": "Optional. Minimum number of database servers.", + "isInterimReleaseAutoUpgradeEnabled": { + "description": "Optional. By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled for interim release, you have to specify interim_release_upgrade_period_days too.", + "type": "boolean" + }, + "majorReleaseUpgradePeriodDays": { + "description": "Optional. Defines auto upgrade period for major releases. Manually configured period cannot be longer than service defined period for major releases. Not passing this field during create will equate to using the service default.", "format": "int32", "type": "integer" }, - "minStorageCount": { - "description": "Optional. Minimum number of storage servers.", + "securityPatchUpgradePeriodDays": { + "description": "Optional. Defines auto upgrade period for releases with security fix. Manually configured period cannot be longer than service defined period for security releases. Not passing this field during create will equate to using the service default.", "format": "int32", "type": "integer" - }, - "name": { - "description": "Identifier. The name of the Database System Shape resource with the format: projects/{project}/locations/{region}/dbSystemShapes/{db_system_shape}", - "type": "string" - }, - "shape": { - "description": "Optional. shape", - "type": "string" } }, "type": "object" }, - "DbVersion": { - "description": "A valid Oracle Database version.", - "id": "DbVersion", + "GoldengateMaintenanceWindow": { + "description": "The maintenance window of the GoldengateDeployment.", + "id": "GoldengateMaintenanceWindow", "properties": { - "name": { - "description": "Output only. The name of the DbVersion resource in the following format: projects/{project}/locations/{region}/dbVersions/{db_version}", - "readOnly": true, + "day": { + "description": "Required. Days of the week.", + "enum": [ + "DAY_OF_WEEK_UNSPECIFIED", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY" + ], + "enumDescriptions": [ + "The day of the week is unspecified.", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], "type": "string" }, - "properties": { - "$ref": "DbVersionProperties", - "description": "Output only. The properties of the DbVersion.", - "readOnly": true + "startHour": { + "description": "Required. Start hour for maintenance period. Hour is in UTC.", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "DbVersionProperties": { - "description": "The properties of a DbVersion.", - "id": "DbVersionProperties", + "GoldengateMicrosoftFabricConnectionProperties": { + "description": "The properties of GoldengateMicrosoftFabricConnection.", + "id": "GoldengateMicrosoftFabricConnectionProperties", "properties": { - "isLatestForMajorVersion": { - "description": "Output only. True if this version of the Oracle Database software is the latest version for a release.", - "readOnly": true, - "type": "boolean" + "clientId": { + "description": "Optional. Azure client ID of the application.", + "type": "string" }, - "isPreviewDbVersion": { - "description": "Output only. True if this version of the Oracle Database software is the preview version.", - "readOnly": true, - "type": "boolean" + "clientSecret": { + "description": "Optional. Client secret associated with the client id.", + "type": "string" }, - "isUpgradeSupported": { - "description": "Output only. True if this version of the Oracle Database software is supported for Upgrade.", - "readOnly": true, - "type": "boolean" + "endpoint": { + "description": "Optional. Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com", + "type": "string" }, - "supportsPdb": { - "description": "Output only. True if this version of the Oracle Database software supports pluggable databases.", - "readOnly": true, - "type": "boolean" + "technologyType": { + "description": "Optional. The technology type of MicrosoftFabricConnection.", + "type": "string" }, - "version": { - "description": "Output only. A valid Oracle Database version.", - "readOnly": true, + "tenantId": { + "description": "Optional. Azure tenant ID of the application.", "type": "string" } }, "type": "object" }, - "DefinedTagValue": { - "description": "Wrapper message for the value of a defined tag.", - "id": "DefinedTagValue", + "GoldengateMicrosoftSqlserverConnectionProperties": { + "description": "The properties of GoldengateMicrosoftSqlserverConnection.", + "id": "GoldengateMicrosoftSqlserverConnectionProperties", "properties": { - "tags": { - "additionalProperties": { - "type": "string" + "additionalAttributes": { + "description": "Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.", + "items": { + "$ref": "NameValuePair" }, - "description": "The tags within the namespace.", - "type": "object" - } - }, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "EncryptionKey": { - "description": "The encryption key used to encrypt the Autonomous Database.", - "id": "EncryptionKey", - "properties": { - "kmsKey": { - "description": "Optional. The KMS key used to encrypt the Autonomous Database. This field is required if the provider is GOOGLE_MANAGED. The name of the KMS key resource in the following format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", + "type": "array" + }, + "database": { + "description": "Optional. The name of the database.", "type": "string" }, - "provider": { - "description": "Optional. The provider of the encryption key.", + "host": { + "description": "Optional. The name or address of a host.", + "type": "string" + }, + "password": { + "description": "Optional. Input only. The password Oracle Goldengate uses for Microsoft SQL Server connection in plain text.", + "type": "string" + }, + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Microsoft SQL Server connection. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "port": { + "description": "Optional. The port of an endpoint usually specified for a connection.", + "format": "int32", + "type": "integer" + }, + "securityProtocol": { + "description": "Optional. Security Type for Microsoft SQL Server.", "enum": [ - "PROVIDER_UNSPECIFIED", - "GOOGLE_MANAGED", - "ORACLE_MANAGED" + "MICROSOFT_SQLSERVER_SECURITY_PROTOCOL_UNSPECIFIED", + "PLAIN", + "TLS" ], "enumDescriptions": [ - "Default unspecified value.", - "Google Managed KMS key, if selected, please provide the KMS key name.", - "Oracle Managed." + "Security type not specified.", + "Plain text communication.", + "Transport Layer Security." ], "type": "string" - } - }, - "type": "object" - }, - "EncryptionKeyHistoryEntry": { - "description": "The history of the encryption keys used to encrypt the Autonomous Database.", - "id": "EncryptionKeyHistoryEntry", - "properties": { - "activationTime": { - "description": "Output only. The date and time when the encryption key was activated on the Autonomous Database..", - "format": "google-datetime", - "readOnly": true, + }, + "serverCertificateValidationRequired": { + "description": "Optional. If set to true, the driver validates the certificate that is sent by the database server.", + "type": "boolean" + }, + "sslCaFile": { + "description": "Optional. Database Certificate - The content of a .pem or .crt file containing the server public key (for 1-way SSL).", "type": "string" }, - "encryptionKey": { - "$ref": "EncryptionKey", - "description": "Output only. The encryption key used to encrypt the Autonomous Database.", - "readOnly": true + "technologyType": { + "description": "Optional. The technology type of MicrosoftSqlserverConnection.", + "type": "string" + }, + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect to the Microsoft SQL Server.", + "type": "string" } }, "type": "object" }, - "Entitlement": { - "description": "Details of the Entitlement resource.", - "id": "Entitlement", + "GoldengateMongodbConnectionProperties": { + "description": "The properties of GoldengateMongodbConnection.", + "id": "GoldengateMongodbConnectionProperties", "properties": { - "cloudAccountDetails": { - "$ref": "CloudAccountDetails", - "description": "Details of the OCI Cloud Account." + "connectionString": { + "description": "Optional. MongoDB connection string. e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'", + "type": "string" }, - "entitlementId": { - "description": "Output only. Google Cloud Marketplace order ID (aka entitlement ID)", - "readOnly": true, + "databaseId": { + "description": "Optional. The OCID of the Oracle Autonomous Json Database.", "type": "string" }, - "name": { - "description": "Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}", + "password": { + "description": "Optional. Input only. The password Oracle Goldengate uses to connect the Mongodb connection in plain text.", "type": "string" }, - "state": { - "description": "Output only. Entitlement State.", + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses to connect the Mongodb connection. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "securityProtocol": { + "description": "Optional. Security Type for MongoDB.", "enum": [ - "STATE_UNSPECIFIED", - "ACCOUNT_NOT_LINKED", - "ACCOUNT_NOT_ACTIVE", - "ACTIVE", - "ACCOUNT_SUSPENDED", - "NOT_APPROVED_IN_PRIVATE_MARKETPLACE" + "MONGODB_SECURITY_PROTOCOL_UNSPECIFIED", + "PLAIN", + "TLS", + "MTLS" ], "enumDescriptions": [ - "Default unspecified value.", - "Account not linked.", - "Account is linked but not active.", - "Entitlement and Account are active.", - "Account is suspended.", - "Entitlement is not approved in private marketplace." + "Security type not specified.", + "Plain text communication.", + "Transport Layer Security.", + "Mutual Transport Layer Security." ], - "readOnly": true, + "type": "string" + }, + "technologyType": { + "description": "Optional. The technology type of MongodbConnection.", + "type": "string" + }, + "tlsCaFile": { + "description": "Optional. Database Certificate - The content of a .pem file, containing the server public key (for 1 and 2-way SSL).", + "type": "string" + }, + "tlsCertificateKeyFile": { + "description": "Optional. Client Certificate - The content of a .pem file, containing the client public key (for 2-way SSL).", + "type": "string" + }, + "tlsCertificateKeyFilePassword": { + "description": "Optional. Input only. The Client Certificate key file password in plain text.", + "type": "string" + }, + "tlsCertificateKeyFilePasswordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the Client Certificate key file password in Secret Manager. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect to the database.", "type": "string" } }, "type": "object" }, - "ExadbVmCluster": { - "description": "ExadbVmCluster represents a cluster of VMs that are used to run Exadata workloads. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/ExadbVmCluster/", - "id": "ExadbVmCluster", + "GoldengateMysqlConnectionProperties": { + "description": "Properties of GoldengateMysqlConnection.", + "id": "GoldengateMysqlConnectionProperties", "properties": { - "backupOdbSubnet": { - "description": "Required. Immutable. The name of the backup OdbSubnet associated with the ExadbVmCluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", + "additionalAttributes": { + "description": "Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.", + "items": { + "$ref": "NameValuePair" + }, + "type": "array" + }, + "database": { + "description": "Optional. The name of the database.", "type": "string" }, - "createTime": { - "description": "Output only. The date and time that the ExadbVmCluster was created.", - "format": "google-datetime", - "readOnly": true, + "dbSystemId": { + "description": "Optional. The OCID of the database system being referenced.", "type": "string" }, - "displayName": { - "description": "Required. Immutable. The display name for the ExadbVmCluster. The name does not have to be unique within your project. The name must be 1-255 characters long and can only contain alphanumeric characters.", + "host": { + "description": "Optional. The name or address of a host.", "type": "string" }, - "entitlementId": { - "description": "Output only. The ID of the subscription entitlement associated with the ExadbVmCluster.", - "readOnly": true, + "password": { + "description": "Optional. Input only. The password Oracle Goldengate uses to connect to MySQL in plain text.", "type": "string" }, - "gcpOracleZone": { - "description": "Output only. Immutable. The GCP Oracle zone where Oracle ExadbVmCluster is hosted. Example: us-east4-b-r2. During creation, the system will pick the zone assigned to the ExascaleDbStorageVault.", - "readOnly": true, + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses to connect to MySQL. Format: projects/{project}/secrets/{secret}/versions/{version}.", "type": "string" }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. The labels or tags associated with the ExadbVmCluster.", - "type": "object" + "port": { + "description": "Optional. The port of an endpoint usually specified for a connection.", + "format": "int32", + "type": "integer" }, - "name": { - "description": "Identifier. The name of the ExadbVmCluster resource in the following format: projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster}", + "securityProtocol": { + "description": "Optional. Security Type for MySQL.", + "enum": [ + "MYSQL_SECURITY_PROTOCOL_UNSPECIFIED", + "PLAIN", + "TLS", + "MTLS" + ], + "enumDescriptions": [ + "Security type not specified.", + "Plain text communication.", + "Transport Layer Security.", + "Mutual Transport Layer Security." + ], "type": "string" }, - "odbNetwork": { - "description": "Optional. Immutable. The name of the OdbNetwork associated with the ExadbVmCluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.", + "sslCaFile": { + "description": "Optional. Database Certificate - The content of a .pem or .crt file containing the server public key (for 1 and 2-way SSL).", "type": "string" }, - "odbSubnet": { - "description": "Required. Immutable. The name of the OdbSubnet associated with the ExadbVmCluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}", + "sslCertFile": { + "description": "Optional. Client Certificate - The content of a .pem or .crt file containing the client public key (for 2-way SSL).", "type": "string" }, - "properties": { - "$ref": "ExadbVmClusterProperties", - "description": "Required. The properties of the ExadbVmCluster." + "sslCrlFile": { + "description": "Optional. The list of certificates revoked by the trusted certificate authorities (Trusted CA).", + "type": "string" + }, + "sslKeyFile": { + "description": "Optional. Client Key - The content of a .pem or .crt file containing the client private key (for 2-way SSL).", + "type": "string" + }, + "sslMode": { + "description": "Optional. SSL modes for MySQL.", + "enum": [ + "SSL_MODE_UNSPECIFIED", + "DISABLED", + "PREFERRED", + "REQUIRED", + "VERIFY_CA", + "VERIFY_IDENTITY" + ], + "enumDescriptions": [ + "SSL mode not specified.", + "SSL is disabled.", + "SSL is preferred.", + "SSL is required.", + "SSL is required and certificate is verified.", + "SSL is required and certificate and hostname are verified." + ], + "type": "string" + }, + "technologyType": { + "description": "Optional. The technology type of MysqlConnection.", + "type": "string" + }, + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.", + "type": "string" } }, "type": "object" }, - "ExadbVmClusterProperties": { - "description": "The properties of an ExadbVmCluster.", - "id": "ExadbVmClusterProperties", + "GoldengateOciObjectStorageConnectionProperties": { + "description": "The properties of GoldengateOciObjectStorageConnection.", + "id": "GoldengateOciObjectStorageConnectionProperties", "properties": { - "additionalEcpuCountPerNode": { - "description": "Optional. Immutable. The number of additional ECPUs per node for an Exadata VM cluster on exascale infrastructure.", - "format": "int32", - "type": "integer" + "privateKeyFile": { + "description": "Optional. The content of the private key file (PEM file) corresponding to the API key of the fingerprint.", + "type": "string" }, - "clusterName": { - "description": "Optional. Immutable. The cluster name for Exascale vm cluster. The cluster name must begin with an alphabetic character and may contain hyphens(-) but can not contain underscores(_). It should be not more than 11 characters and is not case sensitive. OCI Cluster name.", + "privateKeyPassphraseSecret": { + "description": "Optional. The passphrase of the private key.", "type": "string" }, - "dataCollectionOptions": { - "$ref": "DataCollectionOptionsCommon", - "description": "Optional. Immutable. Indicates user preference for data collection options." + "publicKeyFingerprint": { + "description": "Optional. The fingerprint of the API Key of the user specified by the userId.", + "type": "string" }, - "enabledEcpuCountPerNode": { - "description": "Required. Immutable. The number of ECPUs enabled per node for an exadata vm cluster on exascale infrastructure.", - "format": "int32", - "type": "integer" + "region": { + "description": "Optional. The name of the region of OCI Object Storage. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.", + "type": "string" }, - "exascaleDbStorageVault": { - "description": "Required. Immutable. The name of ExascaleDbStorageVault associated with the ExadbVmCluster. It can refer to an existing ExascaleDbStorageVault. Or a new one can be created during the ExadbVmCluster creation (requires storage_vault_properties to be set). Format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}", + "technologyType": { + "description": "Optional. The technology type of OciObjectStorageConnection.", "type": "string" }, - "giVersion": { - "description": "Output only. The Oracle Grid Infrastructure (GI) software version.", - "readOnly": true, + "tenancyId": { + "description": "Optional. The OCID of the related OCI tenancy.", "type": "string" }, - "gridImageId": { - "description": "Required. Immutable. Grid Infrastructure Version.", + "useResourcePrincipal": { + "description": "Optional. Specifies that the user intends to authenticate to the instance using a resource principal.", + "type": "boolean" + }, + "userId": { + "description": "Optional. The OCID of the OCI user who will access the Object Storage. The user must have write access to the bucket they want to connect to.", + "type": "string" + } + }, + "type": "object" + }, + "GoldengateOggDeployment": { + "description": "The Ogg data of the GoldengateDeployment.", + "id": "GoldengateOggDeployment", + "properties": { + "adminPassword": { + "description": "Optional. The Goldengate deployment console password in plain text.", "type": "string" }, - "hostname": { - "description": "Output only. The hostname of the ExadbVmCluster.", - "readOnly": true, + "adminPasswordSecretVersion": { + "description": "Optional. Input only. The Goldengate deployment console password secret version.", "type": "string" }, - "hostnamePrefix": { - "description": "Required. Immutable. Prefix for VM cluster host names.", + "adminUsername": { + "description": "Required. The Goldengate deployment console username.", "type": "string" }, - "licenseModel": { - "description": "Optional. Immutable. The license type of the ExadbVmCluster.", + "certificate": { + "description": "Output only. The certificate of the GoldengateDeployment.", + "readOnly": true, + "type": "string" + }, + "credentialStore": { + "description": "Output only. The credential store of the GoldengateDeployment.", "enum": [ - "LICENSE_MODEL_UNSPECIFIED", - "LICENSE_INCLUDED", - "BRING_YOUR_OWN_LICENSE" + "CREDENTIAL_STORE_UNSPECIFIED", + "GOLDENGATE", + "IAM" ], "enumDescriptions": [ - "Unspecified.", - "Default is license included.", - "Bring your own license." + "The credential store is unspecified.", + "The credential store is Goldengate.", + "The credential store is IAM." ], + "readOnly": true, "type": "string" }, - "lifecycleState": { - "description": "Output only. State of the cluster.", + "deployment": { + "description": "Required. The name given to the Goldengate service deployment. The name must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.", + "type": "string" + }, + "groupRolesMapping": { + "$ref": "GoldengateGroupToRolesMapping", + "description": "Output only. The group to roles mapping of the GoldengateDeployment.", + "readOnly": true + }, + "identityDomainId": { + "description": "Output only. The identity domain id of the GoldengateDeployment.", + "readOnly": true, + "type": "string" + }, + "oggVersion": { + "description": "Optional. Version of OGG", + "type": "string" + }, + "passwordSecretId": { + "description": "Output only. The password secret id of the GoldengateDeployment.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoldengateOracleAIDataPlatformConnectionProperties": { + "description": "The properties of GoldengateOracleAIDataPlatformConnection.", + "id": "GoldengateOracleAIDataPlatformConnectionProperties", + "properties": { + "connectionUrl": { + "description": "Optional. Connection URL. It must start with 'jdbc:spark://'", + "type": "string" + }, + "privateKeyFile": { + "description": "Optional. The content of the private key file (PEM file) corresponding to the API key of the fingerprint.", + "type": "string" + }, + "privateKeyPassphraseSecret": { + "description": "Optional. The passphrase of the private key.", + "type": "string" + }, + "publicKeyFingerprint": { + "description": "Optional. The fingerprint of the API Key of the user specified by the user_id.", + "type": "string" + }, + "region": { + "description": "Optional. The name of the region. e.g.: us-ashburn-1", + "type": "string" + }, + "technologyType": { + "description": "Optional. The technology type of OracleAiDataPlatformConnection.", + "type": "string" + }, + "tenancyId": { + "description": "Optional. The OCID of the related OCI tenancy.", + "type": "string" + }, + "useResourcePrincipal": { + "description": "Optional. Specifies that the user intends to authenticate to the instance using a resource principal.", + "type": "boolean" + }, + "userId": { + "description": "Optional. The OCID of the OCI user who will access.", + "type": "string" + } + }, + "type": "object" + }, + "GoldengateOracleConnectionProperties": { + "description": "The properties of Goldengate Oracle Database Connection.", + "id": "GoldengateOracleConnectionProperties", + "properties": { + "authenticationMode": { + "description": "Optional. Authentication mode.", "enum": [ - "EXADB_VM_CLUSTER_LIFECYCLE_STATE_UNSPECIFIED", - "PROVISIONING", - "AVAILABLE", - "UPDATING", - "TERMINATING", - "TERMINATED", - "FAILED", - "MAINTENANCE_IN_PROGRESS" + "ORACLE_AUTHENTICATION_MODE_UNSPECIFIED", + "TLS", + "MTLS" ], "enumDescriptions": [ - "Default unspecified value.", - "Indicates that the resource is in provisioning state.", - "Indicates that the resource is in available state.", - "Indicates that the resource is in updating state.", - "Indicates that the resource is in terminating state.", - "Indicates that the resource is in terminated state.", - "Indicates that the resource is in failed state.", - "Indicates that the resource is in maintenance in progress state." + "Authentication mode not specified.", + "TLS authentication mode.", + "MTLS authentication mode." ], - "readOnly": true, "type": "string" }, - "memorySizeGb": { - "description": "Output only. Memory per VM (GB) (Read-only): Shows the amount of memory allocated to each VM. Memory is calculated based on 2.75 GB per Total ECPUs.", - "format": "int32", - "readOnly": true, - "type": "integer" + "connectionString": { + "description": "Optional. Connect descriptor or Easy Connect Naming method used to connect to a database.", + "type": "string" }, - "nodeCount": { - "description": "Required. The number of nodes/VMs in the ExadbVmCluster.", - "format": "int32", - "type": "integer" + "gcpOracleDatabaseId": { + "description": "Optional. Database instance id of database in Oracle Database @ Google Cloud. If gcp_oracle_database_id is provided, connection_string must be empty.", + "type": "string" }, - "ociUri": { - "description": "Output only. Deep link to the OCI console to view this resource.", - "readOnly": true, + "password": { + "description": "Optional. Input only. The password Oracle Goldengate uses in plain text.", "type": "string" }, - "scanListenerPortTcp": { - "description": "Optional. Immutable. SCAN listener port - TCP", - "format": "int32", - "type": "integer" + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" }, - "shapeAttribute": { - "description": "Required. Immutable. The shape attribute of the VM cluster. The type of Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE which supports Oracle Database 23ai and later", + "sessionMode": { + "description": "Optional. The mode of the database connection session to be established by the data client.", "enum": [ - "SHAPE_ATTRIBUTE_UNSPECIFIED", - "SMART_STORAGE", - "BLOCK_STORAGE" + "SESSION_MODE_UNSPECIFIED", + "DIRECT", + "REDIRECT" ], "enumDescriptions": [ "Default unspecified value.", - "Indicates that the resource is in smart storage.", - "Indicates that the resource is in block storage." + "Indicates that the resource is using direct session mode.", + "Indicates that the resource is using redirect session mode." ], "type": "string" }, - "sshPublicKeys": { - "description": "Required. Immutable. The SSH public keys for the ExadbVmCluster.", - "items": { - "type": "string" - }, - "type": "array" + "technologyType": { + "description": "Optional. The technology type.", + "type": "string" }, - "timeZone": { - "$ref": "TimeZone", - "description": "Optional. Immutable. The time zone of the ExadbVmCluster." + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect.", + "type": "string" }, - "vmFileSystemStorage": { - "$ref": "ExadbVmClusterStorageDetails", - "description": "Required. Immutable. Total storage details for the ExadbVmCluster." + "walletFile": { + "description": "Optional. The wallet contents Oracle Goldengate uses to make connections to a database.", + "type": "string" } }, "type": "object" }, - "ExadbVmClusterStorageDetails": { - "description": "The storage allocation for the exadbvmcluster, in gigabytes (GB).", - "id": "ExadbVmClusterStorageDetails", + "GoldengateOracleNosqlConnectionProperties": { + "description": "The properties of GoldengateOracleNosqlConnection.", + "id": "GoldengateOracleNosqlConnectionProperties", "properties": { - "sizeInGbsPerNode": { - "description": "Required. The storage allocation for the exadbvmcluster per node, in gigabytes (GB). This field is used to calculate the total storage allocation for the exadbvmcluster.", - "format": "int32", - "type": "integer" + "privateKeyFile": { + "description": "Optional. The content of the private key file (PEM file) corresponding to the API key of the fingerprint.", + "type": "string" + }, + "privateKeyPassphraseSecret": { + "description": "Optional. The passphrase of the private key.", + "type": "string" + }, + "publicKeyFingerprint": { + "description": "Optional. The fingerprint of the API Key of the user specified by the userId.", + "type": "string" + }, + "region": { + "description": "Optional. The name of the region. e.g.: us-ashburn-1", + "type": "string" + }, + "technologyType": { + "description": "Optional. The technology type of OracleNosqlConnection.", + "type": "string" + }, + "tenancyId": { + "description": "Optional. The OCID of the OCI tenancy.", + "type": "string" + }, + "useResourcePrincipal": { + "description": "Optional. Specifies that the user intends to authenticate to the instance using a resource principal.", + "type": "boolean" + }, + "userId": { + "description": "Optional. The OCID of the OCI user who will access the Oracle NoSQL database.", + "type": "string" } }, "type": "object" }, - "ExascaleDbStorageDetails": { - "description": "The storage details of the ExascaleDbStorageVault.", - "id": "ExascaleDbStorageDetails", + "GoldengatePlacement": { + "description": "The placement of the GoldengateDeployment.", + "id": "GoldengatePlacement", "properties": { - "availableSizeGbs": { - "description": "Output only. The available storage capacity for the ExascaleDbStorageVault, in gigabytes (GB).", - "format": "int32", + "availabilityDomain": { + "description": "Output only. The availability domain.", "readOnly": true, - "type": "integer" + "type": "string" }, - "totalSizeGbs": { - "description": "Required. The total storage allocation for the ExascaleDbStorageVault, in gigabytes (GB).", - "format": "int32", - "type": "integer" + "faultDomain": { + "description": "Output only. The fault domain.", + "readOnly": true, + "type": "string" } }, "type": "object" }, - "ExascaleDbStorageVault": { - "description": "ExascaleDbStorageVault represents a storage vault exadb vm cluster resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/ExascaleDbStorageVault/", - "id": "ExascaleDbStorageVault", + "GoldengatePostgresqlConnectionProperties": { + "description": "The properties of GoldengatePostgresqlConnection.", + "id": "GoldengatePostgresqlConnectionProperties", "properties": { - "createTime": { - "description": "Output only. The date and time when the ExascaleDbStorageVault was created.", - "format": "google-datetime", - "readOnly": true, + "additionalAttributes": { + "description": "Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.", + "items": { + "$ref": "NameValuePair" + }, + "type": "array" + }, + "database": { + "description": "Optional. The name of the database.", "type": "string" }, - "displayName": { - "description": "Required. The display name for the ExascaleDbStorageVault. The name does not have to be unique within your project. The name must be 1-255 characters long and can only contain alphanumeric characters.", + "dbSystemId": { + "description": "Optional. The OCID of the database system being referenced.", "type": "string" }, - "entitlementId": { - "description": "Output only. The ID of the subscription entitlement associated with the ExascaleDbStorageVault.", - "readOnly": true, + "host": { + "description": "Optional. The name or address of a host.", "type": "string" }, - "gcpOracleZone": { - "description": "Optional. The GCP Oracle zone where Oracle ExascaleDbStorageVault is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.", + "password": { + "description": "Optional. Input only. The password Oracle Goldengate uses for PostgreSQL connection in plain text.", "type": "string" }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. The labels or tags associated with the ExascaleDbStorageVault.", - "type": "object" + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for PostgreSQL connection. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" }, - "name": { - "description": "Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}", + "port": { + "description": "Optional. The port of an endpoint usually specified for a connection.", + "format": "int32", + "type": "integer" + }, + "securityProtocol": { + "description": "Optional. Security protocol for PostgreSQL.", + "enum": [ + "POSTGRESQL_SECURITY_PROTOCOL_UNSPECIFIED", + "PLAIN", + "TLS", + "MTLS" + ], + "enumDescriptions": [ + "Security protocol not specified.", + "Plain text communication.", + "Transport Layer Security.", + "Mutual Transport Layer Security." + ], "type": "string" }, - "properties": { - "$ref": "ExascaleDbStorageVaultProperties", - "description": "Required. The properties of the ExascaleDbStorageVault." + "sslCaFile": { + "description": "Optional. The certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL.", + "type": "string" + }, + "sslCertFile": { + "description": "Optional. The certificate of the PostgreSQL server.", + "type": "string" + }, + "sslCrlFile": { + "description": "Optional. The list of certificates revoked by the trusted certificate authorities (Trusted CA).", + "type": "string" + }, + "sslKeyFile": { + "description": "Optional. The private key of the PostgreSQL server.", + "type": "string" + }, + "sslMode": { + "description": "Optional. SSL modes for PostgreSQL.", + "enum": [ + "POSTGRESQL_SSL_MODE_UNSPECIFIED", + "PREFER", + "REQUIRE", + "VERIFY_CA", + "VERIFY_FULL" + ], + "enumDescriptions": [ + "SSL mode not specified.", + "Prefer SSL.", + "Require SSL.", + "Verify Certificate Authority.", + "Verify Full." + ], + "type": "string" + }, + "technologyType": { + "description": "Optional. The technology type of PostgresqlConnection.", + "type": "string" + }, + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.", + "type": "string" } }, "type": "object" }, - "ExascaleDbStorageVaultProperties": { - "description": "The properties of the ExascaleDbStorageVault. next ID: 12", - "id": "ExascaleDbStorageVaultProperties", + "GoldengateRedisConnectionProperties": { + "description": "The properties of GoldengateRedisConnection.", + "id": "GoldengateRedisConnectionProperties", "properties": { - "additionalFlashCachePercent": { - "description": "Optional. The size of additional flash cache in percentage of high capacity database storage.", - "format": "int32", - "type": "integer" + "authenticationType": { + "description": "Optional. Authentication type for Redis.", + "enum": [ + "REDIS_AUTHENTICATION_TYPE_UNSPECIFIED", + "NONE", + "BASIC" + ], + "enumDescriptions": [ + "Authentication type not specified.", + "No authentication.", + "Basic authentication." + ], + "type": "string" }, - "attachedShapeAttributes": { - "description": "Output only. The shape attributes of the VM clusters attached to the ExascaleDbStorageVault.", - "items": { - "enum": [ - "SHAPE_ATTRIBUTE_UNSPECIFIED", - "SMART_STORAGE", - "BLOCK_STORAGE" - ], - "enumDescriptions": [ - "Default unspecified value.", - "Indicates that the resource is in smart storage.", - "Indicates that the resource is in block storage." - ], - "type": "string" - }, - "readOnly": true, - "type": "array" + "keyStoreFile": { + "description": "Optional. The content of the KeyStore file.", + "type": "string" }, - "availableShapeAttributes": { - "description": "Output only. The shape attributes available for the VM clusters to be attached to the ExascaleDbStorageVault.", - "items": { - "enum": [ - "SHAPE_ATTRIBUTE_UNSPECIFIED", - "SMART_STORAGE", - "BLOCK_STORAGE" - ], - "enumDescriptions": [ - "Default unspecified value.", - "Indicates that the resource is in smart storage.", - "Indicates that the resource is in block storage." - ], - "type": "string" - }, - "readOnly": true, - "type": "array" + "keyStorePassword": { + "description": "Optional. Input only. The KeyStore password in plain text.", + "type": "string" }, - "description": { - "description": "Optional. The description of the ExascaleDbStorageVault.", + "keyStorePasswordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the KeyStore password. Format: projects/{project}/secrets/{secret}/versions/{version}.", "type": "string" }, - "exascaleDbStorageDetails": { - "$ref": "ExascaleDbStorageDetails", - "description": "Required. The storage details of the ExascaleDbStorageVault." + "password": { + "description": "Optional. Input only. The password Oracle Goldengate uses for Redis connection in plain text.", + "type": "string" }, - "ociUri": { - "description": "Output only. Deep link to the OCI console to view this resource.", - "readOnly": true, + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Redis connection. Format: projects/{project}/secrets/{secret}/versions/{version}.", "type": "string" }, - "ocid": { - "description": "Output only. The OCID for the ExascaleDbStorageVault.", - "readOnly": true, + "redisClusterId": { + "description": "Optional. The OCID of the Redis cluster.", "type": "string" }, - "state": { - "description": "Output only. The state of the ExascaleDbStorageVault.", + "securityProtocol": { + "description": "Optional. Security protocol for Redis.", "enum": [ - "STATE_UNSPECIFIED", - "PROVISIONING", - "AVAILABLE", - "UPDATING", - "TERMINATING", - "TERMINATED", - "FAILED" + "REDIS_SECURITY_PROTOCOL_UNSPECIFIED", + "PLAIN", + "TLS", + "MTLS" ], "enumDescriptions": [ - "The state of the ExascaleDbStorageVault is unspecified.", - "The ExascaleDbStorageVault is being provisioned.", - "The ExascaleDbStorageVault is available.", - "The ExascaleDbStorageVault is being updated.", - "The ExascaleDbStorageVault is being deleted.", - "The ExascaleDbStorageVault has been deleted.", - "The ExascaleDbStorageVault has failed." + "Security protocol not specified.", + "Plain text communication.", + "Transport Layer Security.", + "Mutual Transport Layer Security." ], - "readOnly": true, "type": "string" }, - "timeZone": { - "$ref": "TimeZone", - "description": "Output only. The time zone of the ExascaleDbStorageVault.", - "readOnly": true + "servers": { + "description": "Optional. Comma separated list of Redis server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 6379. Example: \"server1.example.com:6379,server2.example.com:6379\"", + "type": "string" }, - "vmClusterCount": { - "description": "Output only. The number of VM clusters associated with the ExascaleDbStorageVault.", - "format": "int32", - "readOnly": true, - "type": "integer" + "technologyType": { + "description": "Optional. The technology type of RedisConnection.", + "type": "string" }, - "vmClusterIds": { - "description": "Output only. The list of VM cluster OCIDs associated with the ExascaleDbStorageVault.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "FailoverAutonomousDatabaseRequest": { - "description": "The request for `OracleDatabase.FailoverAutonomousDatabase`.", - "id": "FailoverAutonomousDatabaseRequest", - "properties": { - "peerAutonomousDatabase": { - "description": "Optional. The peer database name to fail over to. Required for cross-region standby, and must be omitted for in-region Data Guard.", + "trustStoreFile": { + "description": "Optional. The content of the TrustStore file.", + "type": "string" + }, + "trustStorePassword": { + "description": "Optional. Input only. The TrustStore password in plain text.", + "type": "string" + }, + "trustStorePasswordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the TrustStore password. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.", "type": "string" } }, "type": "object" }, - "GenerateAutonomousDatabaseWalletRequest": { - "description": "The request for `AutonomousDatabase.GenerateWallet`.", - "id": "GenerateAutonomousDatabaseWalletRequest", + "GoldengateSnowflakeConnectionProperties": { + "description": "The properties of GoldengateSnowflakeConnection.", + "id": "GoldengateSnowflakeConnectionProperties", "properties": { - "isRegional": { - "description": "Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only.", - "type": "boolean" - }, - "password": { - "description": "Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.", - "type": "string" - }, - "type": { - "description": "Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.", + "authenticationType": { + "description": "Optional. Used authentication mechanism to access Snowflake.", "enum": [ - "GENERATE_TYPE_UNSPECIFIED", - "ALL", - "SINGLE" + "AUTHENTICATION_TYPE_UNSPECIFIED", + "BASIC", + "KEY_PAIR" ], "enumDescriptions": [ - "Default unspecified value.", - "Used to generate wallet for all databases in the region.", - "Used to generate wallet for a single database." + "Authentication type not specified.", + "Basic authentication.", + "Key pair authentication." ], "type": "string" + }, + "connectionUrl": { + "description": "Optional. JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db='", + "type": "string" + }, + "password": { + "description": "Optional. Input only. The password Oracle Goldengate uses to connect to Snowflake platform in plain text.", + "type": "string" + }, + "passwordSecretVersion": { + "description": "Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses to connect to Snowflake platform. Format: projects/{project}/secrets/{secret}/versions/{version}.", + "type": "string" + }, + "privateKeyFile": { + "description": "Optional. The content of private key file in PEM format.", + "type": "string" + }, + "privateKeyPassphraseSecret": { + "description": "Optional. Password if the private key file is encrypted.", + "type": "string" + }, + "technologyType": { + "description": "Optional. The technology type of SnowflakeConnection.", + "type": "string" + }, + "username": { + "description": "Optional. The username Oracle Goldengate uses to connect to Snowflake.", + "type": "string" } }, "type": "object" }, - "GenerateAutonomousDatabaseWalletResponse": { - "description": "The response for `AutonomousDatabase.GenerateWallet`.", - "id": "GenerateAutonomousDatabaseWalletResponse", + "GoogleCloudStorageIcebergStorage": { + "description": "The Google Cloud Storage Iceberg storage.", + "id": "GoogleCloudStorageIcebergStorage", "properties": { - "archiveContent": { - "description": "Output only. The base64 encoded wallet files.", - "format": "byte", - "readOnly": true, + "bucket": { + "description": "Required. The bucket of Google Cloud Storage.", + "type": "string" + }, + "projectId": { + "description": "Required. The project ID of Google Cloud Storage.", + "type": "string" + }, + "serviceAccountKeyFile": { + "description": "Optional. The service account key file of Google Cloud Storage.", "type": "string" } }, "type": "object" }, - "GiVersion": { - "description": "Details of the Oracle Grid Infrastructure (GI) version resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/GiVersionSummary/", - "id": "GiVersion", + "IcebergCatalog": { + "description": "The Iceberg catalog details.", + "id": "IcebergCatalog", "properties": { - "name": { - "description": "Identifier. The name of the Oracle Grid Infrastructure (GI) version resource with the format: projects/{project}/locations/{region}/giVersions/{gi_versions}", + "catalogType": { + "description": "Required. The type of Iceberg catalog.", + "enum": [ + "CATALOG_TYPE_UNSPECIFIED", + "GLUE", + "HADOOP", + "NESSIE", + "POLARIS", + "REST" + ], + "enumDescriptions": [ + "Catalog type not specified.", + "Glue catalog.", + "Hadoop catalog.", + "Nessie catalog.", + "Polaris catalog.", + "REST catalog." + ], "type": "string" }, - "version": { - "description": "Optional. version", + "glueIcebergCatalog": { + "$ref": "GlueIcebergCatalog", + "description": "The Glue Iceberg catalog." + }, + "nessieIcebergCatalog": { + "$ref": "NessieIcebergCatalog", + "description": "The Nessie Iceberg catalog." + }, + "polarisIcebergCatalog": { + "$ref": "PolarisIcebergCatalog", + "description": "The Polaris Iceberg catalog." + }, + "restIcebergCatalog": { + "$ref": "RestIcebergCatalog", + "description": "The REST Iceberg catalog." + } + }, + "type": "object" + }, + "IcebergStorage": { + "description": "The Iceberg storage details.", + "id": "IcebergStorage", + "properties": { + "amazonS3IcebergStorage": { + "$ref": "AmazonS3IcebergStorage", + "description": "The Amazon S3 Iceberg storage." + }, + "azureDataLakeStorageIcebergStorage": { + "$ref": "AzureDataLakeStorageIcebergStorage", + "description": "The Azure Data Lake Storage Iceberg storage." + }, + "googleCloudStorageIcebergStorage": { + "$ref": "GoogleCloudStorageIcebergStorage", + "description": "The Google Cloud Storage Iceberg storage." + }, + "storageType": { + "description": "Required. The type of Iceberg storage.", + "enum": [ + "STORAGE_TYPE_UNSPECIFIED", + "AMAZON_S3", + "GOOGLE_CLOUD_STORAGE", + "AZURE_DATA_LAKE_STORAGE" + ], + "enumDescriptions": [ + "Storage type not specified.", + "Amazon S3 storage.", + "Google Cloud Storage storage.", + "Azure Data Lake Storage storage." + ], "type": "string" } }, @@ -5938,6 +9803,38 @@ }, "type": "object" }, + "IngressIp": { + "description": "The ingress IPs of the GoldengateDeployment.", + "id": "IngressIp", + "properties": { + "ingressIpAddress": { + "description": "Output only. The ingress IP.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "KafkaBootstrapServer": { + "description": "Represents a Kafka bootstrap server with host name, optional port defaults to 9092, and an optional private ip.", + "id": "KafkaBootstrapServer", + "properties": { + "host": { + "description": "Required. The name or address of a host.", + "type": "string" + }, + "port": { + "description": "Optional. The port of an endpoint usually specified for a connection.", + "format": "int32", + "type": "integer" + }, + "privateIpAddress": { + "description": "Optional. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.", + "type": "string" + } + }, + "type": "object" + }, "ListAutonomousDatabaseBackupsResponse": { "description": "The response for `AutonomousDatabaseBackup.List`.", "id": "ListAutonomousDatabaseBackupsResponse", @@ -6304,6 +10201,181 @@ }, "type": "object" }, + "ListGoldengateConnectionAssignmentsResponse": { + "description": "Response message for listing GoldengateConnectionAssignments.", + "id": "ListGoldengateConnectionAssignmentsResponse", + "properties": { + "goldengateConnectionAssignments": { + "description": "The list of GoldengateConnectionAssignments.", + "items": { + "$ref": "GoldengateConnectionAssignment" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which 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": "Unreachable locations when listing resources across all locations using wildcard location '-'.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListGoldengateConnectionTypesResponse": { + "description": "Message for response to listing GoldengateConnectionTypes", + "id": "ListGoldengateConnectionTypesResponse", + "properties": { + "goldengateConnectionTypes": { + "description": "The list of GoldengateConnectionType", + "items": { + "$ref": "GoldengateConnectionType" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which 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": "Unordered list. Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListGoldengateConnectionsResponse": { + "description": "The response for `GoldengateConnection.List`.", + "id": "ListGoldengateConnectionsResponse", + "properties": { + "goldengateConnections": { + "description": "The list of GoldengateConnections.", + "items": { + "$ref": "GoldengateConnection" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Optional. Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListGoldengateDeploymentEnvironmentsResponse": { + "description": "Message for response to listing GoldengateDeploymentEnvironments", + "id": "ListGoldengateDeploymentEnvironmentsResponse", + "properties": { + "goldengateDeploymentEnvironments": { + "description": "The list of GoldengateDeploymentEnvironment", + "items": { + "$ref": "GoldengateDeploymentEnvironment" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return. If this field is empty, there are no subsequent pages.", + "type": "string" + }, + "unreachable": { + "description": "Unordered list. Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListGoldengateDeploymentTypesResponse": { + "description": "Message for response to listing GoldengateDeploymentTypes", + "id": "ListGoldengateDeploymentTypesResponse", + "properties": { + "goldengateDeploymentTypes": { + "description": "The list of GoldengateDeploymentType", + "items": { + "$ref": "GoldengateDeploymentType" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which 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": "Unordered list. The resource names of locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListGoldengateDeploymentVersionsResponse": { + "description": "Message for response to listing GoldengateDeploymentVersions", + "id": "ListGoldengateDeploymentVersionsResponse", + "properties": { + "goldengateDeploymentVersions": { + "description": "The list of GoldengateDeploymentVersion", + "items": { + "$ref": "GoldengateDeploymentVersion" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which 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": "Unordered list. Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListGoldengateDeploymentsResponse": { + "description": "The response for `GoldengateDeployment.List`.", + "id": "ListGoldengateDeploymentsResponse", + "properties": { + "goldengateDeployments": { + "description": "The list of GoldengateDeployments.", + "items": { + "$ref": "GoldengateDeployment" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Optional. Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ListLocationsResponse": { "description": "The response message for Locations.ListLocations.", "id": "ListLocationsResponse", @@ -6630,6 +10702,36 @@ }, "type": "object" }, + "NameValuePair": { + "description": "A name-value pair representing an attribute entry usable in a list of attributes.", + "id": "NameValuePair", + "properties": { + "key": { + "description": "Required. The name of the property entry.", + "type": "string" + }, + "value": { + "description": "Required. The value of the property entry.", + "type": "string" + } + }, + "type": "object" + }, + "NessieIcebergCatalog": { + "description": "The Nessie Iceberg catalog.", + "id": "NessieIcebergCatalog", + "properties": { + "branch": { + "description": "Required. The Nessie branch.", + "type": "string" + }, + "uri": { + "description": "Required. The Nessie uri.", + "type": "string" + } + }, + "type": "object" + }, "OdbNetwork": { "description": "Represents OdbNetwork resource.", "id": "OdbNetwork", @@ -7036,6 +11138,33 @@ }, "type": "object" }, + "PolarisIcebergCatalog": { + "description": "The Polaris Iceberg catalog.", + "id": "PolarisIcebergCatalog", + "properties": { + "clientId": { + "description": "Required. The Polaris client ID.", + "type": "string" + }, + "clientSecret": { + "description": "Optional. The Polaris client secret.", + "type": "string" + }, + "polarisCatalog": { + "description": "Required. The catalog name within Polaris.", + "type": "string" + }, + "principalRole": { + "description": "Required. The Polaris principal role.", + "type": "string" + }, + "uri": { + "description": "Required. The Polaris uri.", + "type": "string" + } + }, + "type": "object" + }, "RemoveVirtualMachineExadbVmClusterRequest": { "description": "The request for `ExadbVmCluster.RemoveVirtualMachine`.", "id": "RemoveVirtualMachineExadbVmClusterRequest", @@ -7054,6 +11183,21 @@ }, "type": "object" }, + "RestIcebergCatalog": { + "description": "The REST Iceberg catalog.", + "id": "RestIcebergCatalog", + "properties": { + "properties": { + "description": "Optional. The content of the configuration file containing additional properties for the REST catalog.", + "type": "string" + }, + "uri": { + "description": "Required. The REST uri.", + "type": "string" + } + }, + "type": "object" + }, "RestartAutonomousDatabaseRequest": { "description": "The request for `AutonomousDatabase.Restart`.", "id": "RestartAutonomousDatabaseRequest", @@ -7135,6 +11279,12 @@ "properties": {}, "type": "object" }, + "StartGoldengateDeploymentRequest": { + "description": "The request for `GoldengateDeployment.Start`.", + "id": "StartGoldengateDeploymentRequest", + "properties": {}, + "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", @@ -7168,6 +11318,12 @@ "properties": {}, "type": "object" }, + "StopGoldengateDeploymentRequest": { + "description": "The request for `GoldengateDeployment.Stop`.", + "id": "StopGoldengateDeploymentRequest", + "properties": {}, + "type": "object" + }, "StorageSizeDetails": { "description": "The initial storage size, in gigabytes, that is applicable for virtual machine DBSystem.", "id": "StorageSizeDetails", @@ -7198,6 +11354,82 @@ }, "type": "object" }, + "TestConnectionAssignmentError": { + "description": "Error details for TestGoldengateConnectionAssignment.", + "id": "TestConnectionAssignmentError", + "properties": { + "action": { + "description": "The text describing the action required to fix the issue.", + "type": "string" + }, + "code": { + "description": "A short error code that defines the error, meant for programmatic parsing.", + "type": "string" + }, + "issue": { + "description": "The text describing the root cause of the reported issue.", + "type": "string" + }, + "message": { + "description": "A human-readable error message.", + "type": "string" + } + }, + "type": "object" + }, + "TestGoldengateConnectionAssignmentRequest": { + "description": "Request message for TestGoldengateConnectionAssignment.", + "id": "TestGoldengateConnectionAssignmentRequest", + "properties": { + "type": { + "description": "Optional. The type of the test of the assigned connection. The only type actually supported is DEFAULT.", + "enum": [ + "TEST_TYPE_UNSPECIFIED", + "DEFAULT" + ], + "enumDescriptions": [ + "The default value. This value is unused.", + "The default connection test." + ], + "type": "string" + } + }, + "type": "object" + }, + "TestGoldengateConnectionAssignmentResponse": { + "description": "The result of the connectivity test performed between the Goldengate deployment and the associated database / service.", + "id": "TestGoldengateConnectionAssignmentResponse", + "properties": { + "error": { + "$ref": "TestConnectionAssignmentError", + "description": "Error details if test connection failed." + }, + "errors": { + "description": "List of test connection assignment error objects.", + "items": { + "$ref": "TestConnectionAssignmentError" + }, + "type": "array" + }, + "resultType": { + "description": "Type of the result i.e. Success, Failure or Timeout.", + "enum": [ + "RESULT_TYPE_UNSPECIFIED", + "SUCCEEDED", + "FAILED", + "TIMED_OUT" + ], + "enumDescriptions": [ + "Result type is unspecified.", + "Test connection succeeded.", + "Test connection failed.", + "Test connection timed out." + ], + "type": "string" + } + }, + "type": "object" + }, "TimeOfDay": { "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", "id": "TimeOfDay", diff --git a/src/apis/oracledatabase/v1.ts b/src/apis/oracledatabase/v1.ts index 0e94166609..e30d91fdb0 100644 --- a/src/apis/oracledatabase/v1.ts +++ b/src/apis/oracledatabase/v1.ts @@ -141,6 +141,35 @@ export namespace oracledatabase_v1 { */ medium?: string | null; } + /** + * The Amazon S3 Iceberg storage. + */ + export interface Schema$AmazonS3IcebergStorage { + /** + * Required. The access key ID of Amazon S3. + */ + accessKeyId?: string | null; + /** + * Required. The bucket of Amazon S3. + */ + bucket?: string | null; + /** + * Optional. The endpoint of Amazon S3. + */ + endpoint?: string | null; + /** + * Required. The region of Amazon S3. + */ + region?: string | null; + /** + * Required. The scheme type of Amazon S3. + */ + schemeType?: string | null; + /** + * Optional. The secret access key of Amazon S3. + */ + secretAccessKeySecret?: string | null; + } /** * Details of the Autonomous Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/ */ @@ -727,6 +756,27 @@ export namespace oracledatabase_v1 { */ workloadUri?: string | null; } + /** + * The Azure Data Lake Storage Iceberg storage. + */ + export interface Schema$AzureDataLakeStorageIcebergStorage { + /** + * Optional. The account key of Azure Data Lake Storage. + */ + accountKeySecret?: string | null; + /** + * Required. The account of Azure Data Lake Storage. + */ + azureAccount?: string | null; + /** + * Required. The container of Azure Data Lake Storage. + */ + container?: string | null; + /** + * Optional. The endpoint of Azure Data Lake Storage. + */ + endpoint?: string | null; + } /** * The details of the database backup destination. */ @@ -1789,6 +1839,35 @@ export namespace oracledatabase_v1 { */ tags?: {[key: string]: string} | null; } + /** + * The deployment diagnostic data. + */ + export interface Schema$DeploymentDiagnosticData { + /** + * Output only. The bucket name. + */ + bucket?: string | null; + /** + * Output only. The time diagnostic end. + */ + diagnosticEndTime?: string | null; + /** + * Output only. The time diagnostic start. + */ + diagnosticStartTime?: string | null; + /** + * Output only. The diagnostic state. + */ + diagnosticState?: string | null; + /** + * Output only. The namespace name. + */ + namespace?: string | null; + /** + * Output only. The object name. + */ + object?: string | null; + } /** * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} */ @@ -2119,849 +2198,3116 @@ export namespace oracledatabase_v1 { version?: string | null; } /** - * The identity connector details which will allow OCI to securely access the resources in the customer project. + * The Glue Iceberg catalog. */ - export interface Schema$IdentityConnector { - /** - * Output only. The connection state of the identity connector. - */ - connectionState?: string | null; + export interface Schema$GlueIcebergCatalog { /** - * Output only. A google managed service account on which customers can grant roles to access resources in the customer project. Example: `p176944527254-55-75119d87fd8f@gcp-sa-oci.iam.gserviceaccount.com` + * Required. The catalog ID of Glue. */ - serviceAgentEmail?: string | null; + glueId?: string | null; } /** - * The response for `AutonomousDatabaseBackup.List`. + * The properties of GoldengateAmazonKinesisConnection. */ - export interface Schema$ListAutonomousDatabaseBackupsResponse { + export interface Schema$GoldengateAmazonKinesisConnectionProperties { /** - * The list of Autonomous Database Backups. + * Optional. Access key ID to access the Amazon Kinesis. */ - autonomousDatabaseBackups?: Schema$AutonomousDatabaseBackup[]; + accessKeyId?: string | null; /** - * A token identifying a page of results the server should return. + * Optional. The name of the AWS region. If not provided, Goldengate will default to 'us-west-1'. */ - nextPageToken?: string | null; - } - /** - * The response for `AutonomousDatabaseCharacterSet.List`. - */ - export interface Schema$ListAutonomousDatabaseCharacterSetsResponse { + awsRegion?: string | null; /** - * The list of Autonomous Database Character Sets. + * Optional. The endpoint URL of the Amazon Kinesis service. e.g.: 'https://kinesis.us-east-1.amazonaws.com' If not provided, Goldengate will default to 'https://kinesis..amazonaws.com'. */ - autonomousDatabaseCharacterSets?: Schema$AutonomousDatabaseCharacterSet[]; + endpoint?: string | null; /** - * A token identifying a page of results the server should return. + * Optional. Secret access key to access the Amazon Kinesis. */ - nextPageToken?: string | null; + secretAccessKeySecret?: string | null; + /** + * Optional. The technology type of AmazonKinesisConnection. + */ + technologyType?: string | null; } /** - * The response for `AutonomousDatabase.List`. + * The properties of GoldengateAmazonRedshiftConnection. */ - export interface Schema$ListAutonomousDatabasesResponse { + export interface Schema$GoldengateAmazonRedshiftConnectionProperties { /** - * The list of Autonomous Databases. + * Optional. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' */ - autonomousDatabases?: Schema$AutonomousDatabase[]; + connectionUrl?: string | null; /** - * A token identifying a page of results the server should return. + * Optional. Input only. The password Oracle Goldengate uses for Amazon Redshift connection in plain text. */ - nextPageToken?: string | null; + password?: string | null; /** - * Unreachable locations when listing resources across all locations using wildcard location '-'. + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Amazon Redshift connection. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. */ - unreachable?: string[] | null; - } - /** - * The response for `AutonomousDbVersion.List`. - */ - export interface Schema$ListAutonomousDbVersionsResponse { + passwordSecretVersion?: string | null; /** - * The list of Autonomous Database versions. + * Optional. The technology type of AmazonRedshiftConnection. */ - autonomousDbVersions?: Schema$AutonomousDbVersion[]; + technologyType?: string | null; /** - * A token identifying a page of results the server should return. + * Optional. The username Oracle Goldengate uses to connect the associated system of the given technology. */ - nextPageToken?: string | null; + username?: string | null; } /** - * The response for `CloudExadataInfrastructures.list`. + * The properties of GoldengateAmazonS3Connection. */ - export interface Schema$ListCloudExadataInfrastructuresResponse { + export interface Schema$GoldengateAmazonS3ConnectionProperties { /** - * The list of Exadata Infrastructures. + * Optional. Access key ID to access the Amazon S3 bucket. */ - cloudExadataInfrastructures?: Schema$CloudExadataInfrastructure[]; + accessKeyId?: string | null; /** - * A token for fetching next page of response. + * Optional. The Amazon Endpoint for S3. */ - nextPageToken?: string | null; + endpoint?: string | null; /** - * Unreachable locations when listing resources across all locations using wildcard location '-'. + * Optional. The name of the AWS region where the bucket is created. */ - unreachable?: string[] | null; + region?: string | null; + /** + * Optional. Secret access key to access the Amazon S3 bucket. + */ + secretAccessKeySecret?: string | null; + /** + * Optional. The technology type of AmazonS3Connection. + */ + technologyType?: string | null; } /** - * The response for `CloudVmCluster.List`. + * The properties of GoldengateAzureDataLakeStorageConnection. */ - export interface Schema$ListCloudVmClustersResponse { + export interface Schema$GoldengateAzureDataLakeStorageConnectionProperties { /** - * The list of VM Clusters. + * Optional. Sets the Azure storage account name. */ - cloudVmClusters?: Schema$CloudVmCluster[]; + account?: string | null; /** - * A token to fetch the next page of results. + * Optional. Azure storage account key. This property is required when 'authentication_type' is set to 'SHARED_KEY'. */ - nextPageToken?: string | null; + accountKeySecret?: string | null; /** - * Unreachable locations when listing resources across all locations using wildcard location '-'. + * Optional. Authentication mechanism to access Azure Data Lake Storage. */ - unreachable?: string[] | null; - } - /** - * The response for `DatabaseCharacterSet.List`. - */ - export interface Schema$ListDatabaseCharacterSetsResponse { + authenticationType?: string | null; /** - * The list of DatabaseCharacterSets. + * Optional. The endpoint used for authentication with Microsoft Entra ID (formerly Azure Active Directory). Default value: https://login.microsoftonline.com */ - databaseCharacterSets?: Schema$DatabaseCharacterSet[]; + azureAuthorityHost?: string | null; /** - * A token identifying a page of results the server should return. + * Optional. Azure tenant ID of the application. This property is required when 'authentication_type' is set to 'AZURE_ACTIVE_DIRECTORY'. */ - nextPageToken?: string | null; - } - /** - * The response for `Database.List`. - */ - export interface Schema$ListDatabasesResponse { + azureTenantId?: string | null; /** - * The list of Databases. + * Optional. Azure client ID of the application. This property is required when 'authentication_type' is set to 'AZURE_ACTIVE_DIRECTORY'. */ - databases?: Schema$Database[]; + clientId?: string | null; /** - * A token identifying a page of results the server should return. + * Optional. Azure client secret (aka application password) for authentication. */ - nextPageToken?: string | null; - } - /** - * The response for `DbNode.List`. - */ - export interface Schema$ListDbNodesResponse { + clientSecret?: string | null; /** - * The list of DB Nodes + * Optional. Azure Storage service endpoint. e.g: https://test.blob.core.windows.net */ - dbNodes?: Schema$DbNode[]; + endpoint?: string | null; /** - * A token identifying a page of results the node should return. + * Optional. Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. */ - nextPageToken?: string | null; + sasTokenSecret?: string | null; + /** + * Optional. The technology type of AzureDataLakeStorageConnection. + */ + technologyType?: string | null; } /** - * The response for `DbServer.List`. + * The properties of GoldengateAzureSynapseAnalyticsConnection. */ - export interface Schema$ListDbServersResponse { + export interface Schema$GoldengateAzureSynapseAnalyticsConnectionProperties { /** - * The list of database servers. + * Optional. JDBC connection string. e.g.: 'jdbc:sqlserver://.sql.azuresynapse.net:1433;database=;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.sql.azuresynapse.net;loginTimeout=300;' */ - dbServers?: Schema$DbServer[]; + connectionString?: string | null; /** - * A token identifying a page of results the server should return. + * Optional. Input only. The password Oracle Goldengate uses for Azure Synapse Analytics connection in plain text. */ - nextPageToken?: string | null; - } - /** - * The response for `DbSystemInitialStorageSizes.List`. - */ - export interface Schema$ListDbSystemInitialStorageSizesResponse { + password?: string | null; /** - * The list of DbSystemInitialStorageSizes. + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Azure Synapse Analytics connection. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. */ - dbSystemInitialStorageSizes?: Schema$DbSystemInitialStorageSize[]; + passwordSecretVersion?: string | null; /** - * A token identifying a page of results the server should return. + * Optional. The technology type of AzureSynapseAnalyticsConnection. */ - nextPageToken?: string | null; + technologyType?: string | null; + /** + * Optional. The username Oracle Goldengate uses to connect the associated system of the given technology. + */ + username?: string | null; } /** - * The response for `DbSystemShape.List`. + * The backup schedule of the GoldengateDeployment. */ - export interface Schema$ListDbSystemShapesResponse { + export interface Schema$GoldengateBackupSchedule { /** - * The list of Database System shapes. + * Output only. The timestamp of when the backup was scheduled. */ - dbSystemShapes?: Schema$DbSystemShape[]; + backupScheduledTime?: string | null; /** - * A token identifying a page of results the server should return. + * Output only. The bucket name. */ - nextPageToken?: string | null; - } - /** - * The response for `DbSystem.List`. - */ - export interface Schema$ListDbSystemsResponse { + bucket?: string | null; /** - * The list of DbSystems. + * Output only. The compartment id. */ - dbSystems?: Schema$DbSystem[]; + compartmentId?: string | null; /** - * A token identifying a page of results the server should return. + * Output only. The frequency backup scheduled. */ - nextPageToken?: string | null; + frequencyBackupScheduled?: string | null; /** - * Unreachable locations when listing resources across all locations using wildcard location '-'. + * Output only. If metadata only. */ - unreachable?: string[] | null; + metadataOnly?: boolean | null; + /** + * Output only. The namespace name. + */ + namespace?: string | null; } /** - * The response for `DbVersions.List`. + * Details of the GoldengateConnection resource. */ - export interface Schema$ListDbVersionsResponse { + export interface Schema$GoldengateConnection { /** - * The list of DbVersions. + * Output only. The date and time that the GoldengateConnection was created. */ - dbVersions?: Schema$DbVersion[]; + createTime?: string | null; /** - * A token identifying a page of results the server should return. + * Output only. The ID of the subscription entitlement associated with the GoldengateConnection. */ - nextPageToken?: string | null; - } - /** - * The response for `Entitlement.List`. - */ - export interface Schema$ListEntitlementsResponse { + entitlementId?: string | null; /** - * The list of Entitlements + * Optional. The GCP Oracle zone where Oracle GoldengateConnection is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability. */ - entitlements?: Schema$Entitlement[]; + gcpOracleZone?: string | null; /** - * A token identifying a page of results the server should return. + * Optional. The labels or tags associated with the GoldengateConnection. */ - nextPageToken?: string | null; - } - /** - * The response for `ExadbVmCluster.List`. - */ - export interface Schema$ListExadbVmClustersResponse { + labels?: {[key: string]: string} | null; /** - * The list of ExadbVmClusters. + * Identifier. The name of the GoldengateConnection resource in the following format: projects/{project\}/locations/{region\}/goldengateConnections/{goldengate_connection\} */ - exadbVmClusters?: Schema$ExadbVmCluster[]; + name?: string | null; /** - * A token identifying a page of results the server should return. + * Output only. HTTPS link to OCI resources exposed to Customer via UI Interface. */ - nextPageToken?: string | null; + ociUrl?: string | null; /** - * Unreachable locations when listing resources across all locations using wildcard location '-'. + * Optional. The name of the OdbNetwork associated with the GoldengateConnection. The format is projects/{project\}/locations/{location\}/odbNetworks/{odb_network\}. It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet. */ - unreachable?: string[] | null; + odbNetwork?: string | null; + /** + * Optional. The name of the OdbSubnet associated with the GoldengateConnection for IP allocation. Format: projects/{project\}/locations/{location\}/odbNetworks/{odb_network\}/odbSubnets/{odb_subnet\} + */ + odbSubnet?: string | null; + /** + * Required. The properties of the GoldengateConnection. + */ + properties?: Schema$GoldengateConnectionProperties; } /** - * The response for `ExascaleDbStorageVault.List`. + * Represents the metadata of a Goldengate Connection Assignment. */ - export interface Schema$ListExascaleDbStorageVaultsResponse { + export interface Schema$GoldengateConnectionAssignment { /** - * The ExascaleDbStorageVaults. + * Output only. The time when the connection assignment was created. */ - exascaleDbStorageVaults?: Schema$ExascaleDbStorageVault[]; + createTime?: string | null; /** - * A token identifying a page of results the server should return. If present, the next page token can be provided to a subsequent ListExascaleDbStorageVaults call to list the next page. If empty, there are no more pages. + * Optional. The display name for the GoldengateConnectionAssignment. */ - nextPageToken?: string | null; + displayName?: string | null; /** - * Unreachable locations when listing resources across all locations using wildcard location '-'. + * Output only. The OCID of the entitlement linked to this resource. */ - unreachable?: string[] | null; - } - /** - * The response for `GiVersion.List`. - */ - export interface Schema$ListGiVersionsResponse { + entitlementId?: string | null; /** - * The list of Oracle Grid Infrastructure (GI) versions. + * Optional. The labels or tags associated with the GoldengateConnectionAssignment. */ - giVersions?: Schema$GiVersion[]; + labels?: {[key: string]: string} | null; /** - * A token identifying a page of results the server should return. + * Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project\}/locations/{region\}/goldengateConnectionAssignments/{goldengate_connection_assignment\} */ - nextPageToken?: string | null; + name?: string | null; + /** + * Required. The properties of the GoldengateConnectionAssignment. + */ + properties?: Schema$GoldengateConnectionAssignmentProperties; } /** - * The response message for Locations.ListLocations. + * The properties of a GoldengateConnectionAssignment. */ - export interface Schema$ListLocationsResponse { + export interface Schema$GoldengateConnectionAssignmentProperties { /** - * A list of locations that matches the specified filter in the request. + * Output only. Credential store alias. */ - locations?: Schema$Location[]; + alias?: string | null; /** - * The standard List next-page token. + * Required. The GoldengateConnection resource to be assigned. Format: projects/{project\}/locations/{location\}/goldengateConnections/{goldengate_connection\} */ - nextPageToken?: string | null; - } - /** - * The response for `MinorVersion.List`. - */ - export interface Schema$ListMinorVersionsResponse { + goldengateConnection?: string | null; /** - * The list of MinorVersions. + * Required. The GoldenGateDeployment to assign the connection to. Format: projects/{project\}/locations/{location\}/goldengateDeployments/{goldengate_deployment\} */ - minorVersions?: Schema$MinorVersion[]; + goldengateDeployment?: string | null; /** - * A token identifying a page of results the server should return. + * Output only. The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the connection assignment being referenced. */ - nextPageToken?: string | null; + ocid?: string | null; + /** + * Output only. The lifecycle state of the connection assignment. + */ + state?: string | null; } /** - * The response for `OdbNetwork.List`. + * The properties of a GoldengateConnection. */ - export interface Schema$ListOdbNetworksResponse { + export interface Schema$GoldengateConnectionProperties { /** - * A token identifying a page of results the server should return. + * Properties for an Amazon Kinesis connection. */ - nextPageToken?: string | null; + amazonKinesisConnectionProperties?: Schema$GoldengateAmazonKinesisConnectionProperties; /** - * The list of ODB Networks. + * Properties for an Amazon Redshift connection. */ - odbNetworks?: Schema$OdbNetwork[]; + amazonRedshiftConnectionProperties?: Schema$GoldengateAmazonRedshiftConnectionProperties; /** - * Unreachable locations when listing resources across all locations using wildcard location '-'. + * Properties for an Amazon S3 connection. */ - unreachable?: string[] | null; - } - /** - * The response for `OdbSubnet.List`. - */ - export interface Schema$ListOdbSubnetsResponse { + amazonS3ConnectionProperties?: Schema$GoldengateAmazonS3ConnectionProperties; /** - * A token identifying a page of results the server should return. + * Properties for an Azure Data Lake Storage Connection. */ - nextPageToken?: string | null; + azureDataLakeStorageConnectionProperties?: Schema$GoldengateAzureDataLakeStorageConnectionProperties; /** - * The list of ODB Subnets. + * Properties for an Azure Synapse Analytics connection. */ - odbSubnets?: Schema$OdbSubnet[]; + azureSynapseAnalyticsConnectionProperties?: Schema$GoldengateAzureSynapseAnalyticsConnectionProperties; /** - * Unreachable locations when listing resources across all locations using wildcard location '-'. + * Required. The connection type. */ - unreachable?: string[] | null; - } - /** - * The response message for Operations.ListOperations. - */ - export interface Schema$ListOperationsResponse { + connectionType?: string | null; /** - * The standard List next-page token. + * Properties for a Databricks connection. */ - nextPageToken?: string | null; + databricksConnectionProperties?: Schema$GoldengateDatabricksConnectionProperties; /** - * A list of operations that matches the specified filter in the request. + * Properties for a DB2 connection. */ - operations?: Schema$Operation[]; + db2ConnectionProperties?: Schema$GoldengateDb2ConnectionProperties; /** - * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations. + * Optional. Metadata about this specific object. */ - unreachable?: string[] | null; - } - /** - * The response for `PluggableDatabase.List`. - */ - export interface Schema$ListPluggableDatabasesResponse { + description?: string | null; /** - * A token identifying a page of results the server should return. + * Required. An object's Display Name. */ - nextPageToken?: string | null; + displayName?: string | null; /** - * The list of PluggableDatabases. + * Properties for an Elasticsearch connection. */ - pluggableDatabases?: Schema$PluggableDatabase[]; - } - /** - * A resource that represents a Google Cloud location. - */ - export interface Schema$Location { + elasticsearchConnectionProperties?: Schema$GoldengateElasticsearchConnectionProperties; /** - * The friendly name for this location, typically a nearby city name. For example, "Tokyo". + * Properties for a Generic Connection. */ - displayName?: string | null; + genericConnectionProperties?: Schema$GoldengateGenericConnectionProperties; /** - * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"\} + * Properties for a Goldengate Connection. */ - labels?: {[key: string]: string} | null; + goldengateConnectionProperties?: Schema$GoldengateGoldengateConnectionProperties; /** - * The canonical id for this location. For example: `"us-east1"`. + * Properties for a Google BigQuery Connection. */ - locationId?: string | null; + googleBigQueryConnectionProperties?: Schema$GoldengateGoogleBigQueryConnectionProperties; /** - * Service-specific metadata. For example the available capacity at the given location. + * Properties for a Google Cloud Storage Connection. */ - metadata?: {[key: string]: any} | null; + googleCloudStorageConnectionProperties?: Schema$GoldengateGoogleCloudStorageConnectionProperties; /** - * Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` + * Properties for a Google Pub/Sub connection. */ - name?: string | null; - } - /** - * Metadata for a given Location. - */ - export interface Schema$LocationMetadata { + googlePubsubConnectionProperties?: Schema$GoldengateGooglePubsubConnectionProperties; /** - * Output only. Google Cloud Platform Oracle zones in a location. + * Properties for an HDFS connection. */ - gcpOracleZones?: string[] | null; - } - /** - * Maintenance window as defined by Oracle. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/MaintenanceWindow - */ - export interface Schema$MaintenanceWindow { + hdfsConnectionProperties?: Schema$GoldengateHdfsConnectionProperties; /** - * Optional. Determines the amount of time the system will wait before the start of each database server patching operation. Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive). + * Properties for an Iceberg connection. */ - customActionTimeoutMins?: number | null; + icebergConnectionProperties?: Schema$GoldengateIcebergConnectionProperties; /** - * Optional. Days during the week when maintenance should be performed. + * Output only. The Ingress IPs of the GoldengateConnection. */ - daysOfWeek?: string[] | null; + ingressIpAddresses?: string[] | null; /** - * Optional. The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are: 0 - represents time slot 0:00 - 3:59 UTC 4 - represents time slot 4:00 - 7:59 UTC 8 - represents time slot 8:00 - 11:59 UTC 12 - represents time slot 12:00 - 15:59 UTC 16 - represents time slot 16:00 - 19:59 UTC 20 - represents time slot 20:00 - 23:59 UTC + * Properties for a Java Message Service connection. */ - hoursOfDay?: number[] | null; + javaMessageServiceConnectionProperties?: Schema$GoldengateJavaMessageServiceConnectionProperties; /** - * Optional. If true, enables the configuration of a custom action timeout (waiting period) between database server patching operations. + * Properties for a Kafka Connection. */ - isCustomActionTimeoutEnabled?: boolean | null; + kafkaConnectionProperties?: Schema$GoldengateKafkaConnectionProperties; /** - * Optional. Lead time window allows user to set a lead time to prepare for a down time. The lead time is in weeks and valid value is between 1 to 4. + * Properties for a Kafka Schema Registry Connection. */ - leadTimeWeek?: number | null; + kafkaSchemaRegistryConnectionProperties?: Schema$GoldengateKafkaSchemaRegistryConnectionProperties; /** - * Optional. Months during the year when maintenance should be performed. + * Output only. Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. */ - months?: string[] | null; + lifecycleDetails?: string | null; /** - * Optional. Cloud CloudExadataInfrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING. + * Output only. The lifecycle state of the connection. */ - patchingMode?: string | null; + lifecycleState?: string | null; /** - * Optional. The maintenance window scheduling preference. + * Properties for a Microsoft Fabric connection. */ - preference?: string | null; + microsoftFabricConnectionProperties?: Schema$GoldengateMicrosoftFabricConnectionProperties; /** - * Optional. Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. + * Properties for a Microsoft SQL Server connection. */ - weeksOfMonth?: number[] | null; - } - /** - * MinorVersion represents a minor version of a GI. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/GiMinorVersionSummary/ - */ - export interface Schema$MinorVersion { + microsoftSqlserverConnectionProperties?: Schema$GoldengateMicrosoftSqlserverConnectionProperties; /** - * Optional. The ID of the Grid Image. + * Properties for a MongoDB connection. */ - gridImageId?: string | null; + mongodbConnectionProperties?: Schema$GoldengateMongodbConnectionProperties; /** - * Identifier. The name of the MinorVersion resource with the format: projects/{project\}/locations/{region\}/giVersions/{gi_version\}/minorVersions/{minor_version\} + * Properties for a Mysql Connection. */ - name?: string | null; + mysqlConnectionProperties?: Schema$GoldengateMysqlConnectionProperties; /** - * Optional. The valid Oracle grid infrastructure software version. + * Output only. The [OCID] of the connection being referenced. */ - version?: string | null; - } - /** - * Represents OdbNetwork resource. - */ - export interface Schema$OdbNetwork { + ocid?: string | null; /** - * Output only. The date and time that the OdbNetwork was created. + * Properties for an OCI Object Storage Connection. */ - createTime?: string | null; + ociObjectStorageConnectionProperties?: Schema$GoldengateOciObjectStorageConnectionProperties; /** - * Output only. The ID of the subscription entitlement associated with the OdbNetwork. + * Properties for an Oracle AI Data Platform connection. */ - entitlementId?: string | null; + oracleAiDataPlatformConnectionProperties?: Schema$GoldengateOracleAIDataPlatformConnectionProperties; /** - * Optional. The GCP Oracle zone where OdbNetwork is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability. + * Properties for an Oracle Database Connection. */ - gcpOracleZone?: string | null; + oracleConnectionProperties?: Schema$GoldengateOracleConnectionProperties; /** - * Optional. Labels or tags associated with the resource. + * Properties for an Oracle NoSQL connection. */ - labels?: {[key: string]: string} | null; + oracleNosqlConnectionProperties?: Schema$GoldengateOracleNosqlConnectionProperties; /** - * Identifier. The name of the OdbNetwork resource in the following format: projects/{project\}/locations/{region\}/odbNetworks/{odb_network\} + * Properties for a PostgreSQL connection. */ - name?: string | null; + postgresqlConnectionProperties?: Schema$GoldengatePostgresqlConnectionProperties; /** - * Required. The name of the VPC network in the following format: projects/{project\}/global/networks/{network\} + * Properties for a Redis connection. */ - network?: string | null; + redisConnectionProperties?: Schema$GoldengateRedisConnectionProperties; /** - * Output only. State of the ODB Network. + * Optional. The routing method for the GoldengateConnection. */ - state?: string | null; + routingMethod?: string | null; + /** + * Properties for a Snowflake connection. + */ + snowflakeConnectionProperties?: Schema$GoldengateSnowflakeConnectionProperties; + /** + * Output only. The time the resource was last updated. + */ + updateTime?: string | null; } /** - * Represents OdbSubnet resource. + * Details of the Goldengate Connection Type resource. */ - export interface Schema$OdbSubnet { + export interface Schema$GoldengateConnectionType { /** - * Required. The CIDR range of the subnet. + * Output only. The connection type of the Goldengate Connection Type resource. */ - cidrRange?: string | null; + connectionType?: string | null; /** - * Output only. The date and time that the OdbNetwork was created. + * Identifier. The name of the Goldengate Connection Type resource with the format: projects/{project\}/locations/{region\}/goldengateConnectionTypes/{goldengate_connection_type\} */ - createTime?: string | null; + name?: string | null; /** - * Optional. Labels or tags associated with the resource. + * Output only. The technology type of the Goldengate Connection Type resource. */ - labels?: {[key: string]: string} | null; + technologyTypes?: string[] | null; + } + /** + * The properties of GoldengateDatabricksConnection. + */ + export interface Schema$GoldengateDatabricksConnectionProperties { /** - * Identifier. The name of the OdbSubnet resource in the following format: projects/{project\}/locations/{location\}/odbNetworks/{odb_network\}/odbSubnets/{odb_subnet\} + * Optional. Authentication type for Databricks. */ - name?: string | null; + authenticationType?: string | null; /** - * Required. Purpose of the subnet. + * Optional. OAuth client id, only applicable for authentication_type == OAUTH_M2M */ - purpose?: string | null; + clientId?: string | null; /** - * Output only. State of the ODB Subnet. + * Optional. OAuth client secret, only applicable for authentication_type == OAUTH_M2M */ - state?: string | null; - } - /** - * This resource represents a long-running operation that is the result of a network API call. - */ - export interface Schema$Operation { + clientSecret?: string | null; /** - * If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + * Optional. Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' */ - done?: boolean | null; + connectionUrl?: string | null; /** - * The error result of the operation in case of failure or cancellation. + * Optional. Input only. The password used to connect to Databricks in plain text. */ - error?: Schema$Status; + password?: string | null; /** - * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password used to connect to Databricks. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. */ - metadata?: {[key: string]: any} | null; + passwordSecretVersion?: string | null; /** - * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`. + * Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or Cloud Storage. */ - name?: string | null; + storageCredential?: string | null; /** - * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + * Optional. The technology type of DatabricksConnection. */ - response?: {[key: string]: any} | null; + technologyType?: string | null; } /** - * Represents the metadata of the long-running operation. + * The properties of GoldengateDb2Connection. */ - export interface Schema$OperationMetadata { + export interface Schema$GoldengateDb2ConnectionProperties { /** - * Output only. API version used to start the operation. + * Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string. */ - apiVersion?: string | null; + additionalAttributes?: Schema$NameValuePair[]; /** - * Output only. The time the operation was created. + * Optional. The name of the database. */ - createTime?: string | null; + database?: string | null; /** - * Output only. The time the operation finished running. + * Optional. The name or address of a host. */ - endTime?: string | null; + host?: string | null; /** - * Output only. An estimated percentage of the operation that has been completed at a given moment of time, between 0 and 100. + * Optional. Input only. The password Oracle Goldengate uses for Db2 connection in plain text. */ - percentComplete?: number | null; + password?: string | null; /** - * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Db2 connection. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. */ - requestedCancellation?: boolean | null; + passwordSecretVersion?: string | null; /** - * Output only. The status of the operation. + * Optional. The port of an endpoint usually specified for a connection. */ - statusMessage?: string | null; + port?: number | null; /** - * Output only. Server-defined resource path for the target of the operation. + * Optional. Security protocol for the DB2 database. */ - target?: string | null; + securityProtocol?: string | null; /** - * Output only. Name of the verb executed by the operation. + * Optional. The keystash file which contains the encrypted password to the key database file. Not supported for IBM Db2 for i. */ - verb?: string | null; + sslClientKeystashFile?: string | null; + /** + * Optional. The keystore file created at the client containing the server certificate / CA root certificate. Not supported for IBM Db2 for i. + */ + sslClientKeystoredbFile?: string | null; + /** + * Optional. The file which contains the self-signed server certificate / Certificate Authority (CA) certificate. + */ + sslServerCertificateFile?: string | null; + /** + * Optional. The technology type of Db2Connection. + */ + technologyType?: string | null; + /** + * Optional. The username Oracle Goldengate uses to connect to the DB2 database. + */ + username?: string | null; } /** - * The PluggableDatabase resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/PluggableDatabase/ + * GoldengateDeployment Goldengate Deployment resource model. */ - export interface Schema$PluggableDatabase { + export interface Schema$GoldengateDeployment { /** - * Output only. The date and time that the PluggableDatabase was created. + * Output only. The date and time that the GoldengateDeployment was created. */ createTime?: string | null; /** - * Identifier. The name of the PluggableDatabase resource in the following format: projects/{project\}/locations/{region\}/pluggableDatabases/{pluggable_database\} + * Required. The display name for the GoldengateDeployment. */ - name?: string | null; + displayName?: string | null; /** - * Output only. HTTPS link to OCI resources exposed to Customer via UI Interface. + * Output only. The ID of the subscription entitlement associated with the GoldengateDeployment */ - ociUrl?: string | null; + entitlementId?: string | null; /** - * Optional. The properties of the PluggableDatabase. + * Optional. The GCP Oracle zone where Oracle GoldengateDeployment is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability. */ - properties?: Schema$PluggableDatabaseProperties; - } - /** - * The connection strings used to connect to the Oracle Database. - */ - export interface Schema$PluggableDatabaseConnectionStrings { + gcpOracleZone?: string | null; /** - * Optional. All connection strings to use to connect to the pluggable database. + * Optional. The labels or tags associated with the GoldengateDeployment. */ - allConnectionStrings?: {[key: string]: string} | null; + labels?: {[key: string]: string} | null; /** - * Optional. The default connection string to use to connect to the pluggable database. + * Identifier. The name of the GoldengateDeployment resource in the following format: projects/{project\}/locations/{region\}/goldengateDeployments/{goldengate_deployment\} */ - pdbDefault?: string | null; + name?: string | null; /** - * Optional. The default connection string to use to connect to the pluggable database using IP. + * Output only. HTTPS link to OCI resources exposed to Customer via UI Interface. */ - pdbIpDefault?: string | null; - } - /** - * The Pluggable Database Node Level Details. - */ - export interface Schema$PluggableDatabaseNodeLevelDetails { + ociUrl?: string | null; /** - * Required. The Node name of the Database home. + * Optional. The name of the OdbNetwork associated with the GoldengateDeployment. */ - nodeName?: string | null; + odbNetwork?: string | null; /** - * Required. The mode that the pluggable database is in to open it. + * Required. The name of the OdbSubnet associated with the GoldengateDeployment for IP allocation. */ - openMode?: string | null; + odbSubnet?: string | null; /** - * Required. The OCID of the Pluggable Database. + * Required. The properties of the GoldengateDeployment. */ - pluggableDatabaseId?: string | null; + properties?: Schema$GoldengateDeploymentProperties; } /** - * The properties of a PluggableDatabase. + * Details of the Goldengate Deployment Environment resource. */ - export interface Schema$PluggableDatabaseProperties { + export interface Schema$GoldengateDeploymentEnvironment { /** - * Required. The OCID of the compartment. + * Output only. Whether auto scaling is enabled by default for the Goldengate Deployment Environment resource. */ - compartmentId?: string | null; + autoScalingEnabled?: boolean | null; /** - * Optional. The Connection strings used to connect to the Oracle Database. + * Output only. The category of the Goldengate Deployment Environment resource. */ - connectionStrings?: Schema$PluggableDatabaseConnectionStrings; + category?: string | null; /** - * Required. The OCID of the CDB. + * Output only. The default CPU core count of the Goldengate Deployment Environment resource. */ - containerDatabaseOcid?: string | null; + defaultCpuCoreCount?: number | null; /** - * Output only. The configuration of the Database Management service. + * The display name of the Goldengate Deployment Environment resource. */ - databaseManagementConfig?: Schema$DatabaseManagementConfig; + displayName?: string | null; /** - * Optional. Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Output only. The environment type of the Goldengate Deployment Environment resource. */ - definedTags?: {[key: string]: Schema$DefinedTagValue} | null; + environmentType?: string | null; /** - * Optional. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + * Output only. The max CPU core count of the Goldengate Deployment Environment resource. */ - freeformTags?: {[key: string]: string} | null; + maxCpuCoreCount?: number | null; /** - * Optional. The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it. + * Output only. The memory per CPU core in GBs of the Goldengate Deployment Environment resource. */ - isRestricted?: boolean | null; + memoryGbPerCpuCore?: number | null; /** - * Output only. Additional information about the current lifecycle state. + * Output only. The min CPU core count of the Goldengate Deployment Environment resource. */ - lifecycleDetails?: string | null; + minCpuCoreCount?: number | null; /** - * Output only. The current state of the pluggable database. + * Identifier. The name of the Goldengate Deployment Environment resource with the format: projects/{project\}/locations/{location\}/goldengateDeploymentEnvironments/{goldengate_deployment_environment\} */ - lifecycleState?: string | null; + name?: string | null; /** - * Output only. The OCID of the pluggable database. + * Output only. The network bandwidth per CPU core in Gbps of the Goldengate Deployment Environment resource. */ - ocid?: string | null; + networkBandwidthGbpsPerCpuCore?: number | null; /** - * Output only. The status of Operations Insights for this Database. + * Output only. The storage usage limit per CPU core in GBs of the Goldengate Deployment Environment resource. */ - operationsInsightsState?: string | null; + storageUsageLimitGbPerCpuCore?: number | null; + } + /** + * The lock of the GoldengateDeployment. + */ + export interface Schema$GoldengateDeploymentLock { /** - * Required. The database name. + * Output only. The compartment id. */ - pdbName?: string | null; + compartmentId?: string | null; /** - * Optional. Pluggable Database Node Level Details + * Output only. The time created. */ - pdbNodeLevelDetails?: Schema$PluggableDatabaseNodeLevelDetails[]; + createTime?: string | null; + /** + * Output only. The message. + */ + message?: string | null; + /** + * Output only. The related resource id. + */ + relatedResourceId?: string | null; + /** + * Output only. The type of lock. + */ + type?: string | null; } /** - * The request for `ExadbVmCluster.RemoveVirtualMachine`. + * Properties of GoldengateDeployment. */ - export interface Schema$RemoveVirtualMachineExadbVmClusterRequest { + export interface Schema$GoldengateDeploymentProperties { /** - * Required. The list of host names of db nodes to be removed from the ExadbVmCluster. + * Output only. The backup schedule of the GoldengateDeployment. */ - hostnames?: string[] | null; + backupSchedule?: Schema$GoldengateBackupSchedule; /** - * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Output only. The category of the GoldengateDeployment. */ - requestId?: string | null; + category?: string | null; + /** + * Optional. The Minimum number of OCPUs to be made available for this Deployment. + */ + cpuCoreCount?: number | null; + /** + * Output only. The deployment backup id of the GoldengateDeployment. + */ + deploymentBackupId?: string | null; + /** + * Output only. The deployment diagnostic data of the GoldengateDeployment. + */ + deploymentDiagnosticData?: Schema$DeploymentDiagnosticData; + /** + * Output only. The deployment role of the GoldengateDeployment. + */ + deploymentRole?: string | null; + /** + * Required. A valid Goldengate Deployment type. For a list of supported types, use the `ListGoldengateDeploymentTypes` operation. + */ + deploymentType?: string | null; + /** + * Output only. The deployment url of the GoldengateDeployment. + */ + deploymentUrl?: string | null; + /** + * Optional. The description of the GoldengateDeployment. + */ + description?: string | null; + /** + * Optional. The environment type of the GoldengateDeployment. + */ + environmentType?: string | null; + /** + * Output only. The Fully Qualified Domain Name of the GoldengateDeployment. + */ + fqdn?: string | null; + /** + * Output only. Whether the GoldengateDeployment is healthy. + */ + healthy?: boolean | null; + /** + * Output only. The ingress ips of the GoldengateDeployment. + */ + ingressIps?: Schema$IngressIp[]; + /** + * Optional. Indicates if auto scaling is enabled for the Deployment's CPU core count. + */ + isAutoScalingEnabled?: boolean | null; + /** + * Output only. Whether the GoldengateDeployment is of the latest version. + */ + isLatestVersion?: boolean | null; + /** + * Output only. Whether the GoldengateDeployment is public. + */ + isPublic?: boolean | null; + /** + * Output only. Whether storage utilization limit is exceeded of the GoldengateDeployment. + */ + isStorageUtilizationLimitExceeded?: boolean | null; + /** + * Output only. The time last backup scheduled of the GoldengateDeployment. + */ + lastBackupScheduleTime?: string | null; + /** + * Optional. The Oracle license model that applies to a Deployment. + */ + licenseModel?: string | null; + /** + * Output only. The lifecycle details of the GoldengateDeployment. + */ + lifecycleDetails?: string | null; + /** + * Output only. State of the GoldengateDeployment. + */ + lifecycleState?: string | null; + /** + * Output only. The lifecycle sub-state of the GoldengateDeployment. + */ + lifecycleSubState?: string | null; + /** + * Output only. The load balancer id of the GoldengateDeployment. + */ + loadBalancerId?: string | null; + /** + * Output only. The load balancer subnet id of the GoldengateDeployment. + */ + loadBalancerSubnetId?: string | null; + /** + * Output only. The locks of the GoldengateDeployment. + */ + locks?: Schema$GoldengateDeploymentLock[]; + /** + * Optional. The maintenance configuration of the GoldengateDeployment. + */ + maintenanceConfig?: Schema$GoldengateMaintenanceConfig; + /** + * Optional. The maintenance window of the GoldengateDeployment. + */ + maintenanceWindow?: Schema$GoldengateMaintenanceWindow; + /** + * Output only. The time next backup scheduled of the GoldengateDeployment. + */ + nextBackupScheduleTime?: string | null; + /** + * Output only. The next maintenance action type of the GoldengateDeployment. + */ + nextMaintenanceActionType?: string | null; + /** + * Output only. The next maintenance description of the GoldengateDeployment. + */ + nextMaintenanceDescription?: string | null; + /** + * Output only. The time of next maintenance of the GoldengateDeployment. + */ + nextMaintenanceTime?: string | null; + /** + * Output only. The nsg ids of the GoldengateDeployment. + */ + nsgIds?: string[] | null; + /** + * Output only. OCID of the GoldengateDeployment. + */ + ocid?: string | null; + /** + * Required. The ogg data of the GoldengateDeployment. + */ + oggData?: Schema$GoldengateOggDeployment; + /** + * Output only. The time ogg version supported until of the GoldengateDeployment. + */ + oggVersionSupportEndTime?: string | null; + /** + * Output only. The placements of the GoldengateDeployment. + */ + placements?: Schema$GoldengatePlacement[]; + /** + * Output only. The private ip address of the GoldengateDeployment. + */ + privateIpAddress?: string | null; + /** + * Output only. The public ip address of the GoldengateDeployment. + */ + publicIpAddress?: string | null; + /** + * Output only. The time when the role of the GoldengateDeployment was changed. + */ + roleChangeTime?: string | null; + /** + * Output only. The storage utilization in bytes of the GoldengateDeployment. + */ + storageUtilizationBytes?: string | null; + /** + * Output only. The time the GoldengateDeployment was updated. + */ + updateTime?: string | null; + /** + * Output only. The time upgrade required of the GoldengateDeployment. + */ + upgradeRequiredTime?: string | null; } /** - * The request for `AutonomousDatabase.Restart`. + * Details of the Goldengate Deployment Type resource. */ - export interface Schema$RestartAutonomousDatabaseRequest {} + export interface Schema$GoldengateDeploymentType { + /** + * Output only. The category of the Goldengate Deployment Type resource. + */ + category?: string | null; + /** + * Output only. The connection types of the Goldengate Deployment Type resource. + */ + connectionTypes?: string[] | null; + /** + * Output only. The default username of the Goldengate Deployment Type resource. + */ + defaultUsername?: string | null; + /** + * Output only. The deployment type of the Goldengate Deployment Type resource. + */ + deploymentType?: string | null; + /** + * Output only. The display name of the Goldengate Deployment Type resource. + */ + displayName?: string | null; + /** + * Identifier. The name of the Goldengate Deployment Type resource with the format: projects/{project\}/locations/{region\}/goldengateDeploymentTypes/{goldengate_deployment_type\} + */ + name?: string | null; + /** + * Output only. The Ogg version of the Goldengate Deployment Type resource. + */ + oggVersion?: string | null; + /** + * Output only. The source technologies of the Goldengate Deployment Type resource. + */ + sourceTechnologies?: string[] | null; + /** + * Output only. The supported capabilities of the Goldengate Deployment Type resource. + */ + supportedCapabilities?: string[] | null; + /** + * Output only. The supported technologies URL of the Goldengate Deployment Type resource. + */ + supportedTechnologiesUrl?: string | null; + /** + * Output only. The target technologies of the Goldengate Deployment Type resource. + */ + targetTechnologies?: string[] | null; + } /** - * The request for `AutonomousDatabase.Restore`. + * Details of the Goldengate Deployment Version resource. */ - export interface Schema$RestoreAutonomousDatabaseRequest { + export interface Schema$GoldengateDeploymentVersion { /** - * Required. The time and date to restore the database to. + * Identifier. The name of the Goldengate Deployment Version resource with the format: projects/{project\}/locations/{location\}/goldengateDeploymentVersions/{goldengate_deployment_version\} */ - restoreTime?: string | null; + name?: string | null; + /** + * Output only. The deployment version ocid of the Goldengate Deployment Version resource. + */ + ocid?: string | null; + /** + * Output only. The technology type of the Goldengate Deployment Version resource. + */ + properties?: Schema$GoldengateDeploymentVersionProperties; } /** - * Details of scheduled operation. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/ScheduledOperationDetails + * Properties of GoldengateDeploymentVersion. */ - export interface Schema$ScheduledOperationDetails { + export interface Schema$GoldengateDeploymentVersionProperties { /** - * Output only. Day of week. + * Output only. The deployment type of the Goldengate Deployment Version resource. */ - dayOfWeek?: string | null; + deploymentType?: string | null; /** - * Output only. Auto start time. + * Output only. The OGG version of the Goldengate Deployment Version resource. */ - startTime?: Schema$TimeOfDay; + oggVersion?: string | null; /** - * Output only. Auto stop time. + * Output only. The release time of the Goldengate Deployment Version resource. */ - stopTime?: Schema$TimeOfDay; + releaseTime?: string | null; + /** + * Output only. The release type of the Goldengate Deployment Version resource. + */ + releaseType?: string | null; + /** + * Optional. Whether the Goldengate Deployment Version resource is a security fix. + */ + securityFix?: boolean | null; + /** + * Output only. The support end time of the Goldengate Deployment Version resource. + */ + supportEndTime?: string | null; } /** - * The source configuration for the standby Autonomous Database. + * The properties of GoldengateElasticsearchConnection. */ - export interface Schema$SourceConfig { + export interface Schema$GoldengateElasticsearchConnectionProperties { /** - * Optional. This field specifies if the replication of automatic backups is enabled when creating a Data Guard. + * Optional. Authentication type for Elasticsearch. */ - automaticBackupsReplicationEnabled?: boolean | null; + authenticationType?: string | null; /** - * Optional. The name of the primary Autonomous Database that is used to create a Peer Autonomous Database from a source. + * Optional. Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c' */ - autonomousDatabase?: string | null; + fingerprint?: string | null; + /** + * Optional. Input only. The password Oracle Goldengate uses for Elastic Search connection in plain text. + */ + password?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Elastic Search connection. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + passwordSecretVersion?: string | null; + /** + * Optional. Security protocol for Elasticsearch. + */ + securityProtocol?: string | null; + /** + * Optional. Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Example: "server1.example.com:4000,server2.example.com:4000" + */ + servers?: string | null; + /** + * Optional. The technology type of ElasticsearchConnection. + */ + technologyType?: string | null; + /** + * Optional. The username Oracle Goldengate uses to connect the associated system of the given technology. + */ + username?: string | null; } /** - * The request for `AutonomousDatabase.Start`. + * The properties of GoldengateGenericConnectionProperties. */ - export interface Schema$StartAutonomousDatabaseRequest {} + export interface Schema$GoldengateGenericConnectionProperties { + /** + * Optional. The host of the GenericConnection. + */ + host?: string | null; + /** + * Optional. The technology type. + */ + technologyType?: 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). + * The properties of GoldengateGoldengateConnectionProperties. */ - export interface Schema$Status { + export interface Schema$GoldengateGoldengateConnectionProperties { /** - * The status code, which should be an enum value of google.rpc.Code. + * Optional. The name of the GoldengateDeployment associated with the GoldengateConnection. Format: projects/{project\}/locations/{location\}/goldengateDeployments/{goldengate_deployment\} */ - code?: number | null; + goldengateDeploymentId?: string | null; /** - * A list of messages that carry the error details. There is a common set of message types for APIs to use. + * Optional. The host of the GoldengateConnection. */ - details?: Array<{[key: string]: any}> | null; + host?: string | null; /** - * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + * Optional. Input only. The password used to connect to the Oracle Goldengate in plain text. */ - message?: string | null; + password?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password used to connect to the Oracle Goldengate. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + passwordSecretVersion?: string | null; + /** + * Optional. The port of the GoldengateConnection. + */ + port?: number | null; + /** + * Optional. The technology type. + */ + technologyType?: string | null; + /** + * Optional. The username credential. + */ + username?: string | null; } /** - * The request for `AutonomousDatabase.Stop`. + * The properties of GoldengateGoogleBigQueryConnectionProperties. */ - export interface Schema$StopAutonomousDatabaseRequest {} + export interface Schema$GoldengateGoogleBigQueryConnectionProperties { + /** + * Optional. The service account key file Cloud Storage containing the credentials required to use Google BigQuery. + */ + serviceAccountKeyFile?: string | null; + /** + * Optional. The technology type. + */ + technologyType?: string | null; + } /** - * The initial storage size, in gigabytes, that is applicable for virtual machine DBSystem. + * The properties of GoldengateGoogleCloudStorageConnectionProperties. */ - export interface Schema$StorageSizeDetails { + export interface Schema$GoldengateGoogleCloudStorageConnectionProperties { /** - * Output only. The data storage size, in gigabytes, that is applicable for virtual machine DBSystem. + * Optional. The service account key Cloud Storage file containing the credentials required to use Google Cloud Storage. */ - dataStorageSizeInGbs?: number | null; + serviceAccountKeyFile?: string | null; /** - * Output only. The RECO/REDO storage size, in gigabytes, that is applicable for virtual machine DBSystem. + * Optional. The technology type. */ - recoStorageSizeInGbs?: number | null; + technologyType?: string | null; } /** - * The request for `OracleDatabase.SwitchoverAutonomousDatabase`. + * The properties of GoldengateGooglePubsubConnection. */ - export interface Schema$SwitchoverAutonomousDatabaseRequest { + export interface Schema$GoldengateGooglePubsubConnectionProperties { /** - * Optional. The peer database name to switch over to. Required for cross-region standby, and must be omitted for in-region Data Guard. + * Optional. The content of the service account key file containing the credentials required to use Google Pub/Sub. */ - peerAutonomousDatabase?: string | null; + serviceAccountKeyFile?: string | null; + /** + * Optional. The technology type of GooglePubsubConnection. + */ + technologyType?: string | null; } /** - * Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. + * The group to roles mapping of the GoldengateDeployment. */ - export interface Schema$TimeOfDay { + export interface Schema$GoldengateGroupToRolesMapping { /** - * Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + * Output only. The administrator group id. */ - hours?: number | null; + administratorGroupId?: string | null; /** - * Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + * Output only. The operator group id. */ - minutes?: number | null; + operatorGroupId?: string | null; /** - * Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + * Output only. The security group id. */ - nanos?: number | null; + securityGroupId?: string | null; /** - * Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + * Output only. The user group id. */ - seconds?: number | null; + userGroupId?: string | null; } /** - * Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). + * The properties of GoldengateHdfsConnection. */ - export interface Schema$TimeZone { + export interface Schema$GoldengateHdfsConnectionProperties { /** - * IANA Time Zone Database time zone. For example "America/New_York". + * Optional. The content of the Hadoop Distributed File System configuration file (core-site.xml). */ - id?: string | null; + coreSiteXml?: string | null; /** - * Optional. IANA Time Zone Database version number. For example "2019a". + * Optional. The technology type of HdfsConnection. */ - version?: string | null; + technologyType?: string | null; } - - export class Resource$Projects { - context: APIRequestContext; - locations: Resource$Projects$Locations; - constructor(context: APIRequestContext) { - this.context = context; - this.locations = new Resource$Projects$Locations(this.context); - } + /** + * The properties of GoldengateIcebergConnection. + */ + export interface Schema$GoldengateIcebergConnectionProperties { + /** + * Required. The Iceberg catalog. + */ + catalog?: Schema$IcebergCatalog; + /** + * Required. The Iceberg storage. + */ + storage?: Schema$IcebergStorage; + /** + * Required. The technology type of Iceberg connection. + */ + technologyType?: string | null; } - - export class Resource$Projects$Locations { - context: APIRequestContext; - autonomousDatabaseBackups: Resource$Projects$Locations$Autonomousdatabasebackups; - autonomousDatabaseCharacterSets: Resource$Projects$Locations$Autonomousdatabasecharactersets; - autonomousDatabases: Resource$Projects$Locations$Autonomousdatabases; - autonomousDbVersions: Resource$Projects$Locations$Autonomousdbversions; - cloudExadataInfrastructures: Resource$Projects$Locations$Cloudexadatainfrastructures; - cloudVmClusters: Resource$Projects$Locations$Cloudvmclusters; + /** + * The properties of GoldengateJavaMessageServiceConnection. + */ + export interface Schema$GoldengateJavaMessageServiceConnectionProperties { + /** + * Optional. Authentication type for Java Message Service. + */ + authenticationType?: string | null; + /** + * Optional. The Java class implementing javax.jms.ConnectionFactory interface supplied by the JMS provider. + */ + connectionFactory?: string | null; + /** + * Optional. Connection URL of the Java Message Service, specifying the protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' + */ + connectionUrl?: string | null; + /** + * Optional. The Connection Factory can be looked up using this name. e.g.: 'ConnectionFactory' + */ + jndiConnectionFactory?: string | null; + /** + * Optional. The implementation of javax.naming.spi.InitialContextFactory interface used to obtain initial naming context. + */ + jndiInitialContextFactory?: string | null; + /** + * Optional. The URL that Java Message Service will use to contact the JNDI provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000' + */ + jndiProviderUrl?: string | null; + /** + * Optional. The password associated to the principal. + */ + jndiSecurityCredentialsSecret?: string | null; + /** + * Optional. Specifies the identity of the principal (user) to be authenticated. + */ + jndiSecurityPrincipal?: string | null; + /** + * Optional. The content of the KeyStore file. + */ + keyStoreFile?: string | null; + /** + * Optional. Input only. The KeyStore password in plain text. + */ + keyStorePassword?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the KeyStore password. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + keyStorePasswordSecretVersion?: string | null; + /** + * Optional. Input only. The password Oracle Goldengate uses to connect the Java Message Service in plain text. + */ + password?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses to connect the associated Java Message Service. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + passwordSecretVersion?: string | null; + /** + * Optional. Security protocol for Java Message Service. + */ + securityProtocol?: string | null; + /** + * Optional. Input only. The password for the cert inside of the KeyStore in plain text. + */ + sslKeyPassword?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password for the cert inside of the KeyStore. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + sslKeyPasswordSecretVersion?: string | null; + /** + * Optional. The technology type of JavaMessageServiceConnection. + */ + technologyType?: string | null; + /** + * Optional. The content of the TrustStore file. + */ + trustStoreFile?: string | null; + /** + * Optional. Input only. The TrustStore password in plain text. + */ + trustStorePassword?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the TrustStore password. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + trustStorePasswordSecretVersion?: string | null; + /** + * Optional. If set to true, Java Naming and Directory Interface (JNDI) properties should be provided. + */ + useJndi?: boolean | null; + /** + * Optional. The username Oracle Goldengate uses to connect to the Java Message Service. + */ + username?: string | null; + } + /** + * The properties of GoldengateKafkaConnection. + */ + export interface Schema$GoldengateKafkaConnectionProperties { + /** + * Optional. Kafka bootstrap. Equivalent of bootstrap.servers configuration property in Kafka: list of KafkaBootstrapServer objects specified by host/port. Used for establishing the initial connection to the Kafka cluster. Example: "server1.example.com:9092,server2.example.com:9092" + */ + bootstrapServers?: Schema$KafkaBootstrapServer[]; + /** + * Optional. The OCID of the Kafka cluster being referenced from OCI Streaming with Apache Kafka. + */ + clusterId?: string | null; + /** + * Optional. The content of the consumer.properties file. + */ + consumerPropertiesFile?: string | null; + /** + * Optional. The content of the KeyStore file. + */ + keyStoreFile?: string | null; + /** + * Optional. Input only. The KeyStore password in plain text. + */ + keyStorePassword?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the KeyStore password. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + keyStorePasswordSecretVersion?: string | null; + /** + * Optional. Input only. The password for Kafka basic/SASL auth in plain text. + */ + password?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password for Kafka basic/SASL auth. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + passwordSecretVersion?: string | null; + /** + * Optional. The content of the producer.properties file. + */ + producerPropertiesFile?: string | null; + /** + * Optional. Security Type for Kafka. + */ + securityProtocol?: string | null; + /** + * Optional. Input only. The password for the cert inside of the KeyStore in plain text. + */ + sslKeyPassword?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password for the cert inside of the KeyStore. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + sslKeyPasswordSecretVersion?: string | null; + /** + * Optional. The OCID of the stream pool being referenced. + */ + streamPoolId?: string | null; + /** + * Optional. The technology type of KafkaConnection. + */ + technologyType?: string | null; + /** + * Optional. The content of the TrustStore file. + */ + trustStoreFile?: string | null; + /** + * Optional. Input only. The TrustStore password in plain text. + */ + trustStorePassword?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the TrustStore password. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + trustStorePasswordSecretVersion?: string | null; + /** + * Optional. Specifies that the user intends to authenticate to the instance using a resource principal. Applicable only for OCI Streaming connections. + */ + useResourcePrincipal?: boolean | null; + /** + * Optional. The username Oracle Goldengate uses to connect the associated system of the given technology. + */ + username?: string | null; + } + /** + * The properties of GoldengateKafkaSchemaRegistryConnection. + */ + export interface Schema$GoldengateKafkaSchemaRegistryConnectionProperties { + /** + * Optional. Used authentication mechanism to access Schema Registry. + */ + authenticationType?: string | null; + /** + * Optional. The content of the KeyStore file. + */ + keyStoreFile?: string | null; + /** + * Optional. Input only. The KeyStore password in plain text. + */ + keyStorePassword?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the KeyStore password. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + keyStorePasswordSecretVersion?: string | null; + /** + * Optional. Input only. The password to access Schema Registry in plain text. + */ + password?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password to access Schema Registry using basic authentication. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + passwordSecretVersion?: string | null; + /** + * Optional. Input only. The password for the cert inside the KeyStore in plain text. + */ + sslKeyPassword?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password for the cert inside the KeyStore. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + sslKeyPasswordSecretVersion?: string | null; + /** + * Optional. The technology type of KafkaSchemaRegistryConnection. + */ + technologyType?: string | null; + /** + * Optional. The content of the TrustStore file. + */ + trustStoreFile?: string | null; + /** + * Optional. Input only. The TrustStore password in plain text. + */ + trustStorePassword?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the TrustStore password. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + trustStorePasswordSecretVersion?: string | null; + /** + * Optional. Kafka Schema Registry URL. e.g.: 'https://server1.us.oracle.com:8081' + */ + url?: string | null; + /** + * Optional. The username to access Schema Registry using basic authentication. This value is injected into 'schema.registry.basic.auth.user.info=user:password' configuration property. + */ + username?: string | null; + } + /** + * The maintenance configuration of the GoldengateDeployment. + */ + export interface Schema$GoldengateMaintenanceConfig { + /** + * Optional. Defines auto upgrade period for bundle releases. Manually configured period cannot be longer than service defined period for bundle releases. This period must be shorter or equal to major release upgrade period. Not passing this field during create will equate to using the service default. + */ + bundleReleaseUpgradePeriodDays?: number | null; + /** + * Optional. Defines auto upgrade period for interim releases. This period must be shorter or equal to bundle release upgrade period. + */ + interimReleaseUpgradePeriodDays?: number | null; + /** + * Optional. By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled for interim release, you have to specify interim_release_upgrade_period_days too. + */ + isInterimReleaseAutoUpgradeEnabled?: boolean | null; + /** + * Optional. Defines auto upgrade period for major releases. Manually configured period cannot be longer than service defined period for major releases. Not passing this field during create will equate to using the service default. + */ + majorReleaseUpgradePeriodDays?: number | null; + /** + * Optional. Defines auto upgrade period for releases with security fix. Manually configured period cannot be longer than service defined period for security releases. Not passing this field during create will equate to using the service default. + */ + securityPatchUpgradePeriodDays?: number | null; + } + /** + * The maintenance window of the GoldengateDeployment. + */ + export interface Schema$GoldengateMaintenanceWindow { + /** + * Required. Days of the week. + */ + day?: string | null; + /** + * Required. Start hour for maintenance period. Hour is in UTC. + */ + startHour?: number | null; + } + /** + * The properties of GoldengateMicrosoftFabricConnection. + */ + export interface Schema$GoldengateMicrosoftFabricConnectionProperties { + /** + * Optional. Azure client ID of the application. + */ + clientId?: string | null; + /** + * Optional. Client secret associated with the client id. + */ + clientSecret?: string | null; + /** + * Optional. Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com + */ + endpoint?: string | null; + /** + * Optional. The technology type of MicrosoftFabricConnection. + */ + technologyType?: string | null; + /** + * Optional. Azure tenant ID of the application. + */ + tenantId?: string | null; + } + /** + * The properties of GoldengateMicrosoftSqlserverConnection. + */ + export interface Schema$GoldengateMicrosoftSqlserverConnectionProperties { + /** + * Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string. + */ + additionalAttributes?: Schema$NameValuePair[]; + /** + * Optional. The name of the database. + */ + database?: string | null; + /** + * Optional. The name or address of a host. + */ + host?: string | null; + /** + * Optional. Input only. The password Oracle Goldengate uses for Microsoft SQL Server connection in plain text. + */ + password?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Microsoft SQL Server connection. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + passwordSecretVersion?: string | null; + /** + * Optional. The port of an endpoint usually specified for a connection. + */ + port?: number | null; + /** + * Optional. Security Type for Microsoft SQL Server. + */ + securityProtocol?: string | null; + /** + * Optional. If set to true, the driver validates the certificate that is sent by the database server. + */ + serverCertificateValidationRequired?: boolean | null; + /** + * Optional. Database Certificate - The content of a .pem or .crt file containing the server public key (for 1-way SSL). + */ + sslCaFile?: string | null; + /** + * Optional. The technology type of MicrosoftSqlserverConnection. + */ + technologyType?: string | null; + /** + * Optional. The username Oracle Goldengate uses to connect to the Microsoft SQL Server. + */ + username?: string | null; + } + /** + * The properties of GoldengateMongodbConnection. + */ + export interface Schema$GoldengateMongodbConnectionProperties { + /** + * Optional. MongoDB connection string. e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords' + */ + connectionString?: string | null; + /** + * Optional. The OCID of the Oracle Autonomous Json Database. + */ + databaseId?: string | null; + /** + * Optional. Input only. The password Oracle Goldengate uses to connect the Mongodb connection in plain text. + */ + password?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses to connect the Mongodb connection. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + passwordSecretVersion?: string | null; + /** + * Optional. Security Type for MongoDB. + */ + securityProtocol?: string | null; + /** + * Optional. The technology type of MongodbConnection. + */ + technologyType?: string | null; + /** + * Optional. Database Certificate - The content of a .pem file, containing the server public key (for 1 and 2-way SSL). + */ + tlsCaFile?: string | null; + /** + * Optional. Client Certificate - The content of a .pem file, containing the client public key (for 2-way SSL). + */ + tlsCertificateKeyFile?: string | null; + /** + * Optional. Input only. The Client Certificate key file password in plain text. + */ + tlsCertificateKeyFilePassword?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the Client Certificate key file password in Secret Manager. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + tlsCertificateKeyFilePasswordSecretVersion?: string | null; + /** + * Optional. The username Oracle Goldengate uses to connect to the database. + */ + username?: string | null; + } + /** + * Properties of GoldengateMysqlConnection. + */ + export interface Schema$GoldengateMysqlConnectionProperties { + /** + * Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string. + */ + additionalAttributes?: Schema$NameValuePair[]; + /** + * Optional. The name of the database. + */ + database?: string | null; + /** + * Optional. The OCID of the database system being referenced. + */ + dbSystemId?: string | null; + /** + * Optional. The name or address of a host. + */ + host?: string | null; + /** + * Optional. Input only. The password Oracle Goldengate uses to connect to MySQL in plain text. + */ + password?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses to connect to MySQL. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + passwordSecretVersion?: string | null; + /** + * Optional. The port of an endpoint usually specified for a connection. + */ + port?: number | null; + /** + * Optional. Security Type for MySQL. + */ + securityProtocol?: string | null; + /** + * Optional. Database Certificate - The content of a .pem or .crt file containing the server public key (for 1 and 2-way SSL). + */ + sslCaFile?: string | null; + /** + * Optional. Client Certificate - The content of a .pem or .crt file containing the client public key (for 2-way SSL). + */ + sslCertFile?: string | null; + /** + * Optional. The list of certificates revoked by the trusted certificate authorities (Trusted CA). + */ + sslCrlFile?: string | null; + /** + * Optional. Client Key - The content of a .pem or .crt file containing the client private key (for 2-way SSL). + */ + sslKeyFile?: string | null; + /** + * Optional. SSL modes for MySQL. + */ + sslMode?: string | null; + /** + * Optional. The technology type of MysqlConnection. + */ + technologyType?: string | null; + /** + * Optional. The username Oracle Goldengate uses to connect the associated system of the given technology. + */ + username?: string | null; + } + /** + * The properties of GoldengateOciObjectStorageConnection. + */ + export interface Schema$GoldengateOciObjectStorageConnectionProperties { + /** + * Optional. The content of the private key file (PEM file) corresponding to the API key of the fingerprint. + */ + privateKeyFile?: string | null; + /** + * Optional. The passphrase of the private key. + */ + privateKeyPassphraseSecret?: string | null; + /** + * Optional. The fingerprint of the API Key of the user specified by the userId. + */ + publicKeyFingerprint?: string | null; + /** + * Optional. The name of the region of OCI Object Storage. e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region. + */ + region?: string | null; + /** + * Optional. The technology type of OciObjectStorageConnection. + */ + technologyType?: string | null; + /** + * Optional. The OCID of the related OCI tenancy. + */ + tenancyId?: string | null; + /** + * Optional. Specifies that the user intends to authenticate to the instance using a resource principal. + */ + useResourcePrincipal?: boolean | null; + /** + * Optional. The OCID of the OCI user who will access the Object Storage. The user must have write access to the bucket they want to connect to. + */ + userId?: string | null; + } + /** + * The Ogg data of the GoldengateDeployment. + */ + export interface Schema$GoldengateOggDeployment { + /** + * Optional. The Goldengate deployment console password in plain text. + */ + adminPassword?: string | null; + /** + * Optional. Input only. The Goldengate deployment console password secret version. + */ + adminPasswordSecretVersion?: string | null; + /** + * Required. The Goldengate deployment console username. + */ + adminUsername?: string | null; + /** + * Output only. The certificate of the GoldengateDeployment. + */ + certificate?: string | null; + /** + * Output only. The credential store of the GoldengateDeployment. + */ + credentialStore?: string | null; + /** + * Required. The name given to the Goldengate service deployment. The name must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter. + */ + deployment?: string | null; + /** + * Output only. The group to roles mapping of the GoldengateDeployment. + */ + groupRolesMapping?: Schema$GoldengateGroupToRolesMapping; + /** + * Output only. The identity domain id of the GoldengateDeployment. + */ + identityDomainId?: string | null; + /** + * Optional. Version of OGG + */ + oggVersion?: string | null; + /** + * Output only. The password secret id of the GoldengateDeployment. + */ + passwordSecretId?: string | null; + } + /** + * The properties of GoldengateOracleAIDataPlatformConnection. + */ + export interface Schema$GoldengateOracleAIDataPlatformConnectionProperties { + /** + * Optional. Connection URL. It must start with 'jdbc:spark://' + */ + connectionUrl?: string | null; + /** + * Optional. The content of the private key file (PEM file) corresponding to the API key of the fingerprint. + */ + privateKeyFile?: string | null; + /** + * Optional. The passphrase of the private key. + */ + privateKeyPassphraseSecret?: string | null; + /** + * Optional. The fingerprint of the API Key of the user specified by the user_id. + */ + publicKeyFingerprint?: string | null; + /** + * Optional. The name of the region. e.g.: us-ashburn-1 + */ + region?: string | null; + /** + * Optional. The technology type of OracleAiDataPlatformConnection. + */ + technologyType?: string | null; + /** + * Optional. The OCID of the related OCI tenancy. + */ + tenancyId?: string | null; + /** + * Optional. Specifies that the user intends to authenticate to the instance using a resource principal. + */ + useResourcePrincipal?: boolean | null; + /** + * Optional. The OCID of the OCI user who will access. + */ + userId?: string | null; + } + /** + * The properties of Goldengate Oracle Database Connection. + */ + export interface Schema$GoldengateOracleConnectionProperties { + /** + * Optional. Authentication mode. + */ + authenticationMode?: string | null; + /** + * Optional. Connect descriptor or Easy Connect Naming method used to connect to a database. + */ + connectionString?: string | null; + /** + * Optional. Database instance id of database in Oracle Database @ Google Cloud. If gcp_oracle_database_id is provided, connection_string must be empty. + */ + gcpOracleDatabaseId?: string | null; + /** + * Optional. Input only. The password Oracle Goldengate uses in plain text. + */ + password?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + passwordSecretVersion?: string | null; + /** + * Optional. The mode of the database connection session to be established by the data client. + */ + sessionMode?: string | null; + /** + * Optional. The technology type. + */ + technologyType?: string | null; + /** + * Optional. The username Oracle Goldengate uses to connect. + */ + username?: string | null; + /** + * Optional. The wallet contents Oracle Goldengate uses to make connections to a database. + */ + walletFile?: string | null; + } + /** + * The properties of GoldengateOracleNosqlConnection. + */ + export interface Schema$GoldengateOracleNosqlConnectionProperties { + /** + * Optional. The content of the private key file (PEM file) corresponding to the API key of the fingerprint. + */ + privateKeyFile?: string | null; + /** + * Optional. The passphrase of the private key. + */ + privateKeyPassphraseSecret?: string | null; + /** + * Optional. The fingerprint of the API Key of the user specified by the userId. + */ + publicKeyFingerprint?: string | null; + /** + * Optional. The name of the region. e.g.: us-ashburn-1 + */ + region?: string | null; + /** + * Optional. The technology type of OracleNosqlConnection. + */ + technologyType?: string | null; + /** + * Optional. The OCID of the OCI tenancy. + */ + tenancyId?: string | null; + /** + * Optional. Specifies that the user intends to authenticate to the instance using a resource principal. + */ + useResourcePrincipal?: boolean | null; + /** + * Optional. The OCID of the OCI user who will access the Oracle NoSQL database. + */ + userId?: string | null; + } + /** + * The placement of the GoldengateDeployment. + */ + export interface Schema$GoldengatePlacement { + /** + * Output only. The availability domain. + */ + availabilityDomain?: string | null; + /** + * Output only. The fault domain. + */ + faultDomain?: string | null; + } + /** + * The properties of GoldengatePostgresqlConnection. + */ + export interface Schema$GoldengatePostgresqlConnectionProperties { + /** + * Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string. + */ + additionalAttributes?: Schema$NameValuePair[]; + /** + * Optional. The name of the database. + */ + database?: string | null; + /** + * Optional. The OCID of the database system being referenced. + */ + dbSystemId?: string | null; + /** + * Optional. The name or address of a host. + */ + host?: string | null; + /** + * Optional. Input only. The password Oracle Goldengate uses for PostgreSQL connection in plain text. + */ + password?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for PostgreSQL connection. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + passwordSecretVersion?: string | null; + /** + * Optional. The port of an endpoint usually specified for a connection. + */ + port?: number | null; + /** + * Optional. Security protocol for PostgreSQL. + */ + securityProtocol?: string | null; + /** + * Optional. The certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. + */ + sslCaFile?: string | null; + /** + * Optional. The certificate of the PostgreSQL server. + */ + sslCertFile?: string | null; + /** + * Optional. The list of certificates revoked by the trusted certificate authorities (Trusted CA). + */ + sslCrlFile?: string | null; + /** + * Optional. The private key of the PostgreSQL server. + */ + sslKeyFile?: string | null; + /** + * Optional. SSL modes for PostgreSQL. + */ + sslMode?: string | null; + /** + * Optional. The technology type of PostgresqlConnection. + */ + technologyType?: string | null; + /** + * Optional. The username Oracle Goldengate uses to connect the associated system of the given technology. + */ + username?: string | null; + } + /** + * The properties of GoldengateRedisConnection. + */ + export interface Schema$GoldengateRedisConnectionProperties { + /** + * Optional. Authentication type for Redis. + */ + authenticationType?: string | null; + /** + * Optional. The content of the KeyStore file. + */ + keyStoreFile?: string | null; + /** + * Optional. Input only. The KeyStore password in plain text. + */ + keyStorePassword?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the KeyStore password. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + keyStorePasswordSecretVersion?: string | null; + /** + * Optional. Input only. The password Oracle Goldengate uses for Redis connection in plain text. + */ + password?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Redis connection. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + passwordSecretVersion?: string | null; + /** + * Optional. The OCID of the Redis cluster. + */ + redisClusterId?: string | null; + /** + * Optional. Security protocol for Redis. + */ + securityProtocol?: string | null; + /** + * Optional. Comma separated list of Redis server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 6379. Example: "server1.example.com:6379,server2.example.com:6379" + */ + servers?: string | null; + /** + * Optional. The technology type of RedisConnection. + */ + technologyType?: string | null; + /** + * Optional. The content of the TrustStore file. + */ + trustStoreFile?: string | null; + /** + * Optional. Input only. The TrustStore password in plain text. + */ + trustStorePassword?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the TrustStore password. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + trustStorePasswordSecretVersion?: string | null; + /** + * Optional. The username Oracle Goldengate uses to connect the associated system of the given technology. + */ + username?: string | null; + } + /** + * The properties of GoldengateSnowflakeConnection. + */ + export interface Schema$GoldengateSnowflakeConnectionProperties { + /** + * Optional. Used authentication mechanism to access Snowflake. + */ + authenticationType?: string | null; + /** + * Optional. JDBC connection URL. e.g.: 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + */ + connectionUrl?: string | null; + /** + * Optional. Input only. The password Oracle Goldengate uses to connect to Snowflake platform in plain text. + */ + password?: string | null; + /** + * Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses to connect to Snowflake platform. Format: projects/{project\}/secrets/{secret\}/versions/{version\}. + */ + passwordSecretVersion?: string | null; + /** + * Optional. The content of private key file in PEM format. + */ + privateKeyFile?: string | null; + /** + * Optional. Password if the private key file is encrypted. + */ + privateKeyPassphraseSecret?: string | null; + /** + * Optional. The technology type of SnowflakeConnection. + */ + technologyType?: string | null; + /** + * Optional. The username Oracle Goldengate uses to connect to Snowflake. + */ + username?: string | null; + } + /** + * The Google Cloud Storage Iceberg storage. + */ + export interface Schema$GoogleCloudStorageIcebergStorage { + /** + * Required. The bucket of Google Cloud Storage. + */ + bucket?: string | null; + /** + * Required. The project ID of Google Cloud Storage. + */ + projectId?: string | null; + /** + * Optional. The service account key file of Google Cloud Storage. + */ + serviceAccountKeyFile?: string | null; + } + /** + * The Iceberg catalog details. + */ + export interface Schema$IcebergCatalog { + /** + * Required. The type of Iceberg catalog. + */ + catalogType?: string | null; + /** + * The Glue Iceberg catalog. + */ + glueIcebergCatalog?: Schema$GlueIcebergCatalog; + /** + * The Nessie Iceberg catalog. + */ + nessieIcebergCatalog?: Schema$NessieIcebergCatalog; + /** + * The Polaris Iceberg catalog. + */ + polarisIcebergCatalog?: Schema$PolarisIcebergCatalog; + /** + * The REST Iceberg catalog. + */ + restIcebergCatalog?: Schema$RestIcebergCatalog; + } + /** + * The Iceberg storage details. + */ + export interface Schema$IcebergStorage { + /** + * The Amazon S3 Iceberg storage. + */ + amazonS3IcebergStorage?: Schema$AmazonS3IcebergStorage; + /** + * The Azure Data Lake Storage Iceberg storage. + */ + azureDataLakeStorageIcebergStorage?: Schema$AzureDataLakeStorageIcebergStorage; + /** + * The Google Cloud Storage Iceberg storage. + */ + googleCloudStorageIcebergStorage?: Schema$GoogleCloudStorageIcebergStorage; + /** + * Required. The type of Iceberg storage. + */ + storageType?: string | null; + } + /** + * The identity connector details which will allow OCI to securely access the resources in the customer project. + */ + export interface Schema$IdentityConnector { + /** + * Output only. The connection state of the identity connector. + */ + connectionState?: string | null; + /** + * Output only. A google managed service account on which customers can grant roles to access resources in the customer project. Example: `p176944527254-55-75119d87fd8f@gcp-sa-oci.iam.gserviceaccount.com` + */ + serviceAgentEmail?: string | null; + } + /** + * The ingress IPs of the GoldengateDeployment. + */ + export interface Schema$IngressIp { + /** + * Output only. The ingress IP. + */ + ingressIpAddress?: string | null; + } + /** + * Represents a Kafka bootstrap server with host name, optional port defaults to 9092, and an optional private ip. + */ + export interface Schema$KafkaBootstrapServer { + /** + * Required. The name or address of a host. + */ + host?: string | null; + /** + * Optional. The port of an endpoint usually specified for a connection. + */ + port?: number | null; + /** + * Optional. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. + */ + privateIpAddress?: string | null; + } + /** + * The response for `AutonomousDatabaseBackup.List`. + */ + export interface Schema$ListAutonomousDatabaseBackupsResponse { + /** + * The list of Autonomous Database Backups. + */ + autonomousDatabaseBackups?: Schema$AutonomousDatabaseBackup[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * The response for `AutonomousDatabaseCharacterSet.List`. + */ + export interface Schema$ListAutonomousDatabaseCharacterSetsResponse { + /** + * The list of Autonomous Database Character Sets. + */ + autonomousDatabaseCharacterSets?: Schema$AutonomousDatabaseCharacterSet[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * The response for `AutonomousDatabase.List`. + */ + export interface Schema$ListAutonomousDatabasesResponse { + /** + * The list of Autonomous Databases. + */ + autonomousDatabases?: Schema$AutonomousDatabase[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + */ + unreachable?: string[] | null; + } + /** + * The response for `AutonomousDbVersion.List`. + */ + export interface Schema$ListAutonomousDbVersionsResponse { + /** + * The list of Autonomous Database versions. + */ + autonomousDbVersions?: Schema$AutonomousDbVersion[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * The response for `CloudExadataInfrastructures.list`. + */ + export interface Schema$ListCloudExadataInfrastructuresResponse { + /** + * The list of Exadata Infrastructures. + */ + cloudExadataInfrastructures?: Schema$CloudExadataInfrastructure[]; + /** + * A token for fetching next page of response. + */ + nextPageToken?: string | null; + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + */ + unreachable?: string[] | null; + } + /** + * The response for `CloudVmCluster.List`. + */ + export interface Schema$ListCloudVmClustersResponse { + /** + * The list of VM Clusters. + */ + cloudVmClusters?: Schema$CloudVmCluster[]; + /** + * A token to fetch the next page of results. + */ + nextPageToken?: string | null; + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + */ + unreachable?: string[] | null; + } + /** + * The response for `DatabaseCharacterSet.List`. + */ + export interface Schema$ListDatabaseCharacterSetsResponse { + /** + * The list of DatabaseCharacterSets. + */ + databaseCharacterSets?: Schema$DatabaseCharacterSet[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * The response for `Database.List`. + */ + export interface Schema$ListDatabasesResponse { + /** + * The list of Databases. + */ + databases?: Schema$Database[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * The response for `DbNode.List`. + */ + export interface Schema$ListDbNodesResponse { + /** + * The list of DB Nodes + */ + dbNodes?: Schema$DbNode[]; + /** + * A token identifying a page of results the node should return. + */ + nextPageToken?: string | null; + } + /** + * The response for `DbServer.List`. + */ + export interface Schema$ListDbServersResponse { + /** + * The list of database servers. + */ + dbServers?: Schema$DbServer[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * The response for `DbSystemInitialStorageSizes.List`. + */ + export interface Schema$ListDbSystemInitialStorageSizesResponse { + /** + * The list of DbSystemInitialStorageSizes. + */ + dbSystemInitialStorageSizes?: Schema$DbSystemInitialStorageSize[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * The response for `DbSystemShape.List`. + */ + export interface Schema$ListDbSystemShapesResponse { + /** + * The list of Database System shapes. + */ + dbSystemShapes?: Schema$DbSystemShape[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * The response for `DbSystem.List`. + */ + export interface Schema$ListDbSystemsResponse { + /** + * The list of DbSystems. + */ + dbSystems?: Schema$DbSystem[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + */ + unreachable?: string[] | null; + } + /** + * The response for `DbVersions.List`. + */ + export interface Schema$ListDbVersionsResponse { + /** + * The list of DbVersions. + */ + dbVersions?: Schema$DbVersion[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * The response for `Entitlement.List`. + */ + export interface Schema$ListEntitlementsResponse { + /** + * The list of Entitlements + */ + entitlements?: Schema$Entitlement[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * The response for `ExadbVmCluster.List`. + */ + export interface Schema$ListExadbVmClustersResponse { + /** + * The list of ExadbVmClusters. + */ + exadbVmClusters?: Schema$ExadbVmCluster[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + */ + unreachable?: string[] | null; + } + /** + * The response for `ExascaleDbStorageVault.List`. + */ + export interface Schema$ListExascaleDbStorageVaultsResponse { + /** + * The ExascaleDbStorageVaults. + */ + exascaleDbStorageVaults?: Schema$ExascaleDbStorageVault[]; + /** + * A token identifying a page of results the server should return. If present, the next page token can be provided to a subsequent ListExascaleDbStorageVaults call to list the next page. If empty, there are no more pages. + */ + nextPageToken?: string | null; + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + */ + unreachable?: string[] | null; + } + /** + * The response for `GiVersion.List`. + */ + export interface Schema$ListGiVersionsResponse { + /** + * The list of Oracle Grid Infrastructure (GI) versions. + */ + giVersions?: Schema$GiVersion[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * Response message for listing GoldengateConnectionAssignments. + */ + export interface Schema$ListGoldengateConnectionAssignmentsResponse { + /** + * The list of GoldengateConnectionAssignments. + */ + goldengateConnectionAssignments?: Schema$GoldengateConnectionAssignment[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + */ + unreachable?: string[] | null; + } + /** + * The response for `GoldengateConnection.List`. + */ + export interface Schema$ListGoldengateConnectionsResponse { + /** + * The list of GoldengateConnections. + */ + goldengateConnections?: Schema$GoldengateConnection[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Optional. Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Message for response to listing GoldengateConnectionTypes + */ + export interface Schema$ListGoldengateConnectionTypesResponse { + /** + * The list of GoldengateConnectionType + */ + goldengateConnectionTypes?: Schema$GoldengateConnectionType[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * Unordered list. Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Message for response to listing GoldengateDeploymentEnvironments + */ + export interface Schema$ListGoldengateDeploymentEnvironmentsResponse { + /** + * The list of GoldengateDeploymentEnvironment + */ + goldengateDeploymentEnvironments?: Schema$GoldengateDeploymentEnvironment[]; + /** + * A token identifying a page of results the server should return. If this field is empty, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * Unordered list. Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * The response for `GoldengateDeployment.List`. + */ + export interface Schema$ListGoldengateDeploymentsResponse { + /** + * The list of GoldengateDeployments. + */ + goldengateDeployments?: Schema$GoldengateDeployment[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Optional. Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Message for response to listing GoldengateDeploymentTypes + */ + export interface Schema$ListGoldengateDeploymentTypesResponse { + /** + * The list of GoldengateDeploymentType + */ + goldengateDeploymentTypes?: Schema$GoldengateDeploymentType[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * Unordered list. The resource names of locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Message for response to listing GoldengateDeploymentVersions + */ + export interface Schema$ListGoldengateDeploymentVersionsResponse { + /** + * The list of GoldengateDeploymentVersion + */ + goldengateDeploymentVersions?: Schema$GoldengateDeploymentVersion[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + /** + * Unordered list. Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * The response message for Locations.ListLocations. + */ + export interface Schema$ListLocationsResponse { + /** + * A list of locations that matches the specified filter in the request. + */ + locations?: Schema$Location[]; + /** + * The standard List next-page token. + */ + nextPageToken?: string | null; + } + /** + * The response for `MinorVersion.List`. + */ + export interface Schema$ListMinorVersionsResponse { + /** + * The list of MinorVersions. + */ + minorVersions?: Schema$MinorVersion[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + } + /** + * The response for `OdbNetwork.List`. + */ + export interface Schema$ListOdbNetworksResponse { + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * The list of ODB Networks. + */ + odbNetworks?: Schema$OdbNetwork[]; + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + */ + unreachable?: string[] | null; + } + /** + * The response for `OdbSubnet.List`. + */ + export interface Schema$ListOdbSubnetsResponse { + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * The list of ODB Subnets. + */ + odbSubnets?: Schema$OdbSubnet[]; + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + */ + unreachable?: string[] | null; + } + /** + * The response message for Operations.ListOperations. + */ + export interface Schema$ListOperationsResponse { + /** + * The standard List next-page token. + */ + nextPageToken?: string | null; + /** + * A list of operations that matches the specified filter in the request. + */ + operations?: Schema$Operation[]; + /** + * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations. + */ + unreachable?: string[] | null; + } + /** + * The response for `PluggableDatabase.List`. + */ + export interface Schema$ListPluggableDatabasesResponse { + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * The list of PluggableDatabases. + */ + pluggableDatabases?: Schema$PluggableDatabase[]; + } + /** + * A resource that represents a Google Cloud location. + */ + export interface Schema$Location { + /** + * The friendly name for this location, typically a nearby city name. For example, "Tokyo". + */ + displayName?: string | null; + /** + * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"\} + */ + labels?: {[key: string]: string} | null; + /** + * The canonical id for this location. For example: `"us-east1"`. + */ + locationId?: string | null; + /** + * Service-specific metadata. For example the available capacity at the given location. + */ + metadata?: {[key: string]: any} | null; + /** + * Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` + */ + name?: string | null; + } + /** + * Metadata for a given Location. + */ + export interface Schema$LocationMetadata { + /** + * Output only. Google Cloud Platform Oracle zones in a location. + */ + gcpOracleZones?: string[] | null; + } + /** + * Maintenance window as defined by Oracle. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/MaintenanceWindow + */ + export interface Schema$MaintenanceWindow { + /** + * Optional. Determines the amount of time the system will wait before the start of each database server patching operation. Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive). + */ + customActionTimeoutMins?: number | null; + /** + * Optional. Days during the week when maintenance should be performed. + */ + daysOfWeek?: string[] | null; + /** + * Optional. The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are: 0 - represents time slot 0:00 - 3:59 UTC 4 - represents time slot 4:00 - 7:59 UTC 8 - represents time slot 8:00 - 11:59 UTC 12 - represents time slot 12:00 - 15:59 UTC 16 - represents time slot 16:00 - 19:59 UTC 20 - represents time slot 20:00 - 23:59 UTC + */ + hoursOfDay?: number[] | null; + /** + * Optional. If true, enables the configuration of a custom action timeout (waiting period) between database server patching operations. + */ + isCustomActionTimeoutEnabled?: boolean | null; + /** + * Optional. Lead time window allows user to set a lead time to prepare for a down time. The lead time is in weeks and valid value is between 1 to 4. + */ + leadTimeWeek?: number | null; + /** + * Optional. Months during the year when maintenance should be performed. + */ + months?: string[] | null; + /** + * Optional. Cloud CloudExadataInfrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING. + */ + patchingMode?: string | null; + /** + * Optional. The maintenance window scheduling preference. + */ + preference?: string | null; + /** + * Optional. Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. + */ + weeksOfMonth?: number[] | null; + } + /** + * MinorVersion represents a minor version of a GI. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/GiMinorVersionSummary/ + */ + export interface Schema$MinorVersion { + /** + * Optional. The ID of the Grid Image. + */ + gridImageId?: string | null; + /** + * Identifier. The name of the MinorVersion resource with the format: projects/{project\}/locations/{region\}/giVersions/{gi_version\}/minorVersions/{minor_version\} + */ + name?: string | null; + /** + * Optional. The valid Oracle grid infrastructure software version. + */ + version?: string | null; + } + /** + * A name-value pair representing an attribute entry usable in a list of attributes. + */ + export interface Schema$NameValuePair { + /** + * Required. The name of the property entry. + */ + key?: string | null; + /** + * Required. The value of the property entry. + */ + value?: string | null; + } + /** + * The Nessie Iceberg catalog. + */ + export interface Schema$NessieIcebergCatalog { + /** + * Required. The Nessie branch. + */ + branch?: string | null; + /** + * Required. The Nessie uri. + */ + uri?: string | null; + } + /** + * Represents OdbNetwork resource. + */ + export interface Schema$OdbNetwork { + /** + * Output only. The date and time that the OdbNetwork was created. + */ + createTime?: string | null; + /** + * Output only. The ID of the subscription entitlement associated with the OdbNetwork. + */ + entitlementId?: string | null; + /** + * Optional. The GCP Oracle zone where OdbNetwork is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability. + */ + gcpOracleZone?: string | null; + /** + * Optional. Labels or tags associated with the resource. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. The name of the OdbNetwork resource in the following format: projects/{project\}/locations/{region\}/odbNetworks/{odb_network\} + */ + name?: string | null; + /** + * Required. The name of the VPC network in the following format: projects/{project\}/global/networks/{network\} + */ + network?: string | null; + /** + * Output only. State of the ODB Network. + */ + state?: string | null; + } + /** + * Represents OdbSubnet resource. + */ + export interface Schema$OdbSubnet { + /** + * Required. The CIDR range of the subnet. + */ + cidrRange?: string | null; + /** + * Output only. The date and time that the OdbNetwork was created. + */ + createTime?: string | null; + /** + * Optional. Labels or tags associated with the resource. + */ + labels?: {[key: string]: string} | null; + /** + * Identifier. The name of the OdbSubnet resource in the following format: projects/{project\}/locations/{location\}/odbNetworks/{odb_network\}/odbSubnets/{odb_subnet\} + */ + name?: string | null; + /** + * Required. Purpose of the subnet. + */ + purpose?: string | null; + /** + * Output only. State of the ODB Subnet. + */ + state?: string | null; + } + /** + * This resource represents a long-running operation that is the result of a network API call. + */ + export interface Schema$Operation { + /** + * If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + */ + done?: boolean | null; + /** + * The error result of the operation in case of failure or cancellation. + */ + error?: Schema$Status; + /** + * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + */ + metadata?: {[key: string]: any} | null; + /** + * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`. + */ + name?: string | null; + /** + * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + */ + response?: {[key: string]: any} | null; + } + /** + * Represents the metadata of the long-running operation. + */ + export interface Schema$OperationMetadata { + /** + * Output only. API version used to start the operation. + */ + apiVersion?: string | null; + /** + * Output only. The time the operation was created. + */ + createTime?: string | null; + /** + * Output only. The time the operation finished running. + */ + endTime?: string | null; + /** + * Output only. An estimated percentage of the operation that has been completed at a given moment of time, between 0 and 100. + */ + percentComplete?: number | null; + /** + * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + */ + requestedCancellation?: boolean | null; + /** + * Output only. The status of the operation. + */ + statusMessage?: string | null; + /** + * Output only. Server-defined resource path for the target of the operation. + */ + target?: string | null; + /** + * Output only. Name of the verb executed by the operation. + */ + verb?: string | null; + } + /** + * The PluggableDatabase resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/PluggableDatabase/ + */ + export interface Schema$PluggableDatabase { + /** + * Output only. The date and time that the PluggableDatabase was created. + */ + createTime?: string | null; + /** + * Identifier. The name of the PluggableDatabase resource in the following format: projects/{project\}/locations/{region\}/pluggableDatabases/{pluggable_database\} + */ + name?: string | null; + /** + * Output only. HTTPS link to OCI resources exposed to Customer via UI Interface. + */ + ociUrl?: string | null; + /** + * Optional. The properties of the PluggableDatabase. + */ + properties?: Schema$PluggableDatabaseProperties; + } + /** + * The connection strings used to connect to the Oracle Database. + */ + export interface Schema$PluggableDatabaseConnectionStrings { + /** + * Optional. All connection strings to use to connect to the pluggable database. + */ + allConnectionStrings?: {[key: string]: string} | null; + /** + * Optional. The default connection string to use to connect to the pluggable database. + */ + pdbDefault?: string | null; + /** + * Optional. The default connection string to use to connect to the pluggable database using IP. + */ + pdbIpDefault?: string | null; + } + /** + * The Pluggable Database Node Level Details. + */ + export interface Schema$PluggableDatabaseNodeLevelDetails { + /** + * Required. The Node name of the Database home. + */ + nodeName?: string | null; + /** + * Required. The mode that the pluggable database is in to open it. + */ + openMode?: string | null; + /** + * Required. The OCID of the Pluggable Database. + */ + pluggableDatabaseId?: string | null; + } + /** + * The properties of a PluggableDatabase. + */ + export interface Schema$PluggableDatabaseProperties { + /** + * Required. The OCID of the compartment. + */ + compartmentId?: string | null; + /** + * Optional. The Connection strings used to connect to the Oracle Database. + */ + connectionStrings?: Schema$PluggableDatabaseConnectionStrings; + /** + * Required. The OCID of the CDB. + */ + containerDatabaseOcid?: string | null; + /** + * Output only. The configuration of the Database Management service. + */ + databaseManagementConfig?: Schema$DatabaseManagementConfig; + /** + * Optional. Defined tags for this resource. Each key is predefined and scoped to a namespace. + */ + definedTags?: {[key: string]: Schema$DefinedTagValue} | null; + /** + * Optional. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + */ + freeformTags?: {[key: string]: string} | null; + /** + * Optional. The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it. + */ + isRestricted?: boolean | null; + /** + * Output only. Additional information about the current lifecycle state. + */ + lifecycleDetails?: string | null; + /** + * Output only. The current state of the pluggable database. + */ + lifecycleState?: string | null; + /** + * Output only. The OCID of the pluggable database. + */ + ocid?: string | null; + /** + * Output only. The status of Operations Insights for this Database. + */ + operationsInsightsState?: string | null; + /** + * Required. The database name. + */ + pdbName?: string | null; + /** + * Optional. Pluggable Database Node Level Details + */ + pdbNodeLevelDetails?: Schema$PluggableDatabaseNodeLevelDetails[]; + } + /** + * The Polaris Iceberg catalog. + */ + export interface Schema$PolarisIcebergCatalog { + /** + * Required. The Polaris client ID. + */ + clientId?: string | null; + /** + * Optional. The Polaris client secret. + */ + clientSecret?: string | null; + /** + * Required. The catalog name within Polaris. + */ + polarisCatalog?: string | null; + /** + * Required. The Polaris principal role. + */ + principalRole?: string | null; + /** + * Required. The Polaris uri. + */ + uri?: string | null; + } + /** + * The request for `ExadbVmCluster.RemoveVirtualMachine`. + */ + export interface Schema$RemoveVirtualMachineExadbVmClusterRequest { + /** + * Required. The list of host names of db nodes to be removed from the ExadbVmCluster. + */ + hostnames?: string[] | null; + /** + * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string | null; + } + /** + * The request for `AutonomousDatabase.Restart`. + */ + export interface Schema$RestartAutonomousDatabaseRequest {} + /** + * The REST Iceberg catalog. + */ + export interface Schema$RestIcebergCatalog { + /** + * Optional. The content of the configuration file containing additional properties for the REST catalog. + */ + properties?: string | null; + /** + * Required. The REST uri. + */ + uri?: string | null; + } + /** + * The request for `AutonomousDatabase.Restore`. + */ + export interface Schema$RestoreAutonomousDatabaseRequest { + /** + * Required. The time and date to restore the database to. + */ + restoreTime?: string | null; + } + /** + * Details of scheduled operation. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/ScheduledOperationDetails + */ + export interface Schema$ScheduledOperationDetails { + /** + * Output only. Day of week. + */ + dayOfWeek?: string | null; + /** + * Output only. Auto start time. + */ + startTime?: Schema$TimeOfDay; + /** + * Output only. Auto stop time. + */ + stopTime?: Schema$TimeOfDay; + } + /** + * The source configuration for the standby Autonomous Database. + */ + export interface Schema$SourceConfig { + /** + * Optional. This field specifies if the replication of automatic backups is enabled when creating a Data Guard. + */ + automaticBackupsReplicationEnabled?: boolean | null; + /** + * Optional. The name of the primary Autonomous Database that is used to create a Peer Autonomous Database from a source. + */ + autonomousDatabase?: string | null; + } + /** + * The request for `AutonomousDatabase.Start`. + */ + export interface Schema$StartAutonomousDatabaseRequest {} + /** + * The request for `GoldengateDeployment.Start`. + */ + export interface Schema$StartGoldengateDeploymentRequest {} + /** + * 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). + */ + export interface Schema$Status { + /** + * The status code, which should be an enum value of google.rpc.Code. + */ + code?: number | null; + /** + * A list of messages that carry the error details. There is a common set of message types for APIs to use. + */ + details?: Array<{[key: string]: any}> | null; + /** + * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + */ + message?: string | null; + } + /** + * The request for `AutonomousDatabase.Stop`. + */ + export interface Schema$StopAutonomousDatabaseRequest {} + /** + * The request for `GoldengateDeployment.Stop`. + */ + export interface Schema$StopGoldengateDeploymentRequest {} + /** + * The initial storage size, in gigabytes, that is applicable for virtual machine DBSystem. + */ + export interface Schema$StorageSizeDetails { + /** + * Output only. The data storage size, in gigabytes, that is applicable for virtual machine DBSystem. + */ + dataStorageSizeInGbs?: number | null; + /** + * Output only. The RECO/REDO storage size, in gigabytes, that is applicable for virtual machine DBSystem. + */ + recoStorageSizeInGbs?: number | null; + } + /** + * The request for `OracleDatabase.SwitchoverAutonomousDatabase`. + */ + export interface Schema$SwitchoverAutonomousDatabaseRequest { + /** + * Optional. The peer database name to switch over to. Required for cross-region standby, and must be omitted for in-region Data Guard. + */ + peerAutonomousDatabase?: string | null; + } + /** + * Error details for TestGoldengateConnectionAssignment. + */ + export interface Schema$TestConnectionAssignmentError { + /** + * The text describing the action required to fix the issue. + */ + action?: string | null; + /** + * A short error code that defines the error, meant for programmatic parsing. + */ + code?: string | null; + /** + * The text describing the root cause of the reported issue. + */ + issue?: string | null; + /** + * A human-readable error message. + */ + message?: string | null; + } + /** + * Request message for TestGoldengateConnectionAssignment. + */ + export interface Schema$TestGoldengateConnectionAssignmentRequest { + /** + * Optional. The type of the test of the assigned connection. The only type actually supported is DEFAULT. + */ + type?: string | null; + } + /** + * The result of the connectivity test performed between the Goldengate deployment and the associated database / service. + */ + export interface Schema$TestGoldengateConnectionAssignmentResponse { + /** + * Error details if test connection failed. + */ + error?: Schema$TestConnectionAssignmentError; + /** + * List of test connection assignment error objects. + */ + errors?: Schema$TestConnectionAssignmentError[]; + /** + * Type of the result i.e. Success, Failure or Timeout. + */ + resultType?: string | null; + } + /** + * Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. + */ + export interface Schema$TimeOfDay { + /** + * Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + */ + hours?: number | null; + /** + * Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + */ + minutes?: number | null; + /** + * Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + */ + nanos?: number | null; + /** + * Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + */ + seconds?: number | null; + } + /** + * Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). + */ + export interface Schema$TimeZone { + /** + * IANA Time Zone Database time zone. For example "America/New_York". + */ + id?: string | null; + /** + * Optional. IANA Time Zone Database version number. For example "2019a". + */ + version?: string | null; + } + + export class Resource$Projects { + context: APIRequestContext; + locations: Resource$Projects$Locations; + constructor(context: APIRequestContext) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + + export class Resource$Projects$Locations { + context: APIRequestContext; + autonomousDatabaseBackups: Resource$Projects$Locations$Autonomousdatabasebackups; + autonomousDatabaseCharacterSets: Resource$Projects$Locations$Autonomousdatabasecharactersets; + autonomousDatabases: Resource$Projects$Locations$Autonomousdatabases; + autonomousDbVersions: Resource$Projects$Locations$Autonomousdbversions; + cloudExadataInfrastructures: Resource$Projects$Locations$Cloudexadatainfrastructures; + cloudVmClusters: Resource$Projects$Locations$Cloudvmclusters; databaseCharacterSets: Resource$Projects$Locations$Databasecharactersets; databases: Resource$Projects$Locations$Databases; dbSystemInitialStorageSizes: Resource$Projects$Locations$Dbsysteminitialstoragesizes; @@ -2972,65 +5318,3833 @@ export namespace oracledatabase_v1 { exadbVmClusters: Resource$Projects$Locations$Exadbvmclusters; exascaleDbStorageVaults: Resource$Projects$Locations$Exascaledbstoragevaults; giVersions: Resource$Projects$Locations$Giversions; + goldengateConnectionAssignments: Resource$Projects$Locations$Goldengateconnectionassignments; + goldengateConnections: Resource$Projects$Locations$Goldengateconnections; + goldengateConnectionTypes: Resource$Projects$Locations$Goldengateconnectiontypes; + goldengateDeploymentEnvironments: Resource$Projects$Locations$Goldengatedeploymentenvironments; + goldengateDeployments: Resource$Projects$Locations$Goldengatedeployments; + goldengateDeploymentTypes: Resource$Projects$Locations$Goldengatedeploymenttypes; + goldengateDeploymentVersions: Resource$Projects$Locations$Goldengatedeploymentversions; odbNetworks: Resource$Projects$Locations$Odbnetworks; operations: Resource$Projects$Locations$Operations; pluggableDatabases: Resource$Projects$Locations$Pluggabledatabases; constructor(context: APIRequestContext) { this.context = context; - this.autonomousDatabaseBackups = - new Resource$Projects$Locations$Autonomousdatabasebackups(this.context); - this.autonomousDatabaseCharacterSets = - new Resource$Projects$Locations$Autonomousdatabasecharactersets( - this.context - ); - this.autonomousDatabases = - new Resource$Projects$Locations$Autonomousdatabases(this.context); - this.autonomousDbVersions = - new Resource$Projects$Locations$Autonomousdbversions(this.context); - this.cloudExadataInfrastructures = - new Resource$Projects$Locations$Cloudexadatainfrastructures( - this.context - ); - this.cloudVmClusters = new Resource$Projects$Locations$Cloudvmclusters( - this.context - ); - this.databaseCharacterSets = - new Resource$Projects$Locations$Databasecharactersets(this.context); - this.databases = new Resource$Projects$Locations$Databases(this.context); - this.dbSystemInitialStorageSizes = - new Resource$Projects$Locations$Dbsysteminitialstoragesizes( - this.context + this.autonomousDatabaseBackups = + new Resource$Projects$Locations$Autonomousdatabasebackups(this.context); + this.autonomousDatabaseCharacterSets = + new Resource$Projects$Locations$Autonomousdatabasecharactersets( + this.context + ); + this.autonomousDatabases = + new Resource$Projects$Locations$Autonomousdatabases(this.context); + this.autonomousDbVersions = + new Resource$Projects$Locations$Autonomousdbversions(this.context); + this.cloudExadataInfrastructures = + new Resource$Projects$Locations$Cloudexadatainfrastructures( + this.context + ); + this.cloudVmClusters = new Resource$Projects$Locations$Cloudvmclusters( + this.context + ); + this.databaseCharacterSets = + new Resource$Projects$Locations$Databasecharactersets(this.context); + this.databases = new Resource$Projects$Locations$Databases(this.context); + this.dbSystemInitialStorageSizes = + new Resource$Projects$Locations$Dbsysteminitialstoragesizes( + this.context + ); + this.dbSystems = new Resource$Projects$Locations$Dbsystems(this.context); + this.dbSystemShapes = new Resource$Projects$Locations$Dbsystemshapes( + this.context + ); + this.dbVersions = new Resource$Projects$Locations$Dbversions( + this.context + ); + this.entitlements = new Resource$Projects$Locations$Entitlements( + this.context + ); + this.exadbVmClusters = new Resource$Projects$Locations$Exadbvmclusters( + this.context + ); + this.exascaleDbStorageVaults = + new Resource$Projects$Locations$Exascaledbstoragevaults(this.context); + this.giVersions = new Resource$Projects$Locations$Giversions( + this.context + ); + this.goldengateConnectionAssignments = + new Resource$Projects$Locations$Goldengateconnectionassignments( + this.context + ); + this.goldengateConnections = + new Resource$Projects$Locations$Goldengateconnections(this.context); + this.goldengateConnectionTypes = + new Resource$Projects$Locations$Goldengateconnectiontypes(this.context); + this.goldengateDeploymentEnvironments = + new Resource$Projects$Locations$Goldengatedeploymentenvironments( + this.context + ); + this.goldengateDeployments = + new Resource$Projects$Locations$Goldengatedeployments(this.context); + this.goldengateDeploymentTypes = + new Resource$Projects$Locations$Goldengatedeploymenttypes(this.context); + this.goldengateDeploymentVersions = + new Resource$Projects$Locations$Goldengatedeploymentversions( + this.context + ); + this.odbNetworks = new Resource$Projects$Locations$Odbnetworks( + this.context + ); + this.operations = new Resource$Projects$Locations$Operations( + this.context + ); + this.pluggableDatabases = + new Resource$Projects$Locations$Pluggabledatabases(this.context); + } + + /** + * Gets information about a location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await oracledatabase.projects.locations.get({ + * // Resource name for the location. + * name: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "displayName": "my_displayName", + * // "labels": {}, + * // "locationId": "my_locationId", + * // "metadata": {}, + * // "name": "my_name" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.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 information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await oracledatabase.projects.locations.list({ + * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. + * extraLocationTypes: 'placeholder-value', + * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + * filter: 'placeholder-value', + * // The resource that owns the locations collection, if applicable. + * name: 'projects/my-project', + * // The maximum number of results to return. If not set, the service selects a default. + * pageSize: 'placeholder-value', + * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + * pageToken: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "locations": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}/locations').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); + } + } + } + + export interface Params$Resource$Projects$Locations$Get extends StandardParameters { + /** + * Resource name for the location. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$List extends StandardParameters { + /** + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. + */ + extraLocationTypes?: string[]; + /** + * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + */ + filter?: string; + /** + * The resource that owns the locations collection, if applicable. + */ + name?: string; + /** + * The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + } + + export class Resource$Projects$Locations$Autonomousdatabasebackups { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists the long-term and automatic backups of an Autonomous Database. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.autonomousDatabaseBackups.list({ + * // Optional. An expression for filtering the results of the request. Only the **autonomous_database_id** field is supported in the following format: `autonomous_database_id="{autonomous_database_id\}"`. The accepted values must be a valid Autonomous Database ID, limited to the naming restrictions of the ID: ^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$). The ID must start with a letter, end with a letter or a number, and be a maximum of 63 characters. + * filter: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Backups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "autonomousDatabaseBackups": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Autonomousdatabasebackups$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Autonomousdatabasebackups$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Autonomousdatabasebackups$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Autonomousdatabasebackups$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Autonomousdatabasebackups$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabasebackups$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabasebackups$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabasebackups$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/autonomousDatabaseBackups').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$Autonomousdatabasebackups$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. Only the **autonomous_database_id** field is supported in the following format: `autonomous_database_id="{autonomous_database_id\}"`. The accepted values must be a valid Autonomous Database ID, limited to the naming restrictions of the ID: ^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$). The ID must start with a letter, end with a letter or a number, and be a maximum of 63 characters. + */ + filter?: string; + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Backups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + } + + export class Resource$Projects$Locations$Autonomousdatabasecharactersets { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists Autonomous Database Character Sets in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.autonomousDatabaseCharacterSets.list( + * { + * // Optional. An expression for filtering the results of the request. Only the **character_set_type** field is supported in the following format: `character_set_type="{characterSetType\}"`. Accepted values include `DATABASE` and `NATIONAL`. + * filter: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Character Sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for the Autonomous Database in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "autonomousDatabaseCharacterSets": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Autonomousdatabasecharactersets$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+parent}/autonomousDatabaseCharacterSets' + ).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$Autonomousdatabasecharactersets$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. Only the **character_set_type** field is supported in the following format: `character_set_type="{characterSetType\}"`. Accepted values include `DATABASE` and `NATIONAL`. + */ + filter?: string; + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Character Sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. The parent value for the Autonomous Database in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + } + + export class Resource$Projects$Locations$Autonomousdatabases { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new Autonomous Database in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.autonomousDatabases.create({ + * // Required. The ID of the Autonomous Database to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + * autonomousDatabaseId: 'placeholder-value', + * // Required. The name of the parent in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "adminPassword": "my_adminPassword", + * // "adminPasswordSecretVersion": "my_adminPasswordSecretVersion", + * // "cidr": "my_cidr", + * // "createTime": "my_createTime", + * // "database": "my_database", + * // "disasterRecoverySupportedLocations": [], + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "labels": {}, + * // "name": "my_name", + * // "network": "my_network", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "peerAutonomousDatabases": [], + * // "properties": {}, + * // "sourceConfig": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Autonomousdatabases$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabases$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabases$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/autonomousDatabases').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single Autonomous Database. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.autonomousDatabases.delete({ + * // Required. The name of the resource in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Autonomousdatabases$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Autonomousdatabases$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabases$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabases$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.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); + } + } + + /** + * Initiates a failover to target autonomous database from the associated primary database. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.autonomousDatabases.failover({ + * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "peerAutonomousDatabase": "my_peerAutonomousDatabase" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + failover( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Failover, + options: StreamMethodOptions + ): Promise>; + failover( + params?: Params$Resource$Projects$Locations$Autonomousdatabases$Failover, + options?: MethodOptions + ): Promise>; + failover( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Failover, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + failover( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Failover, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + failover( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Failover, + callback: BodyResponseCallback + ): void; + failover(callback: BodyResponseCallback): void; + failover( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabases$Failover + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Failover; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabases$Failover; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:failover').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Generates a wallet for an Autonomous Database. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.autonomousDatabases.generateWallet({ + * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "isRegional": false, + * // "password": "my_password", + * // "type": "my_type" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "archiveContent": "my_archiveContent" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + generateWallet( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, + options: StreamMethodOptions + ): Promise>; + generateWallet( + params?: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + generateWallet( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + generateWallet( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + generateWallet( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, + callback: BodyResponseCallback + ): void; + generateWallet( + callback: BodyResponseCallback + ): void; + generateWallet( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:generateWallet').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + + /** + * Gets the details of a single Autonomous Database. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await oracledatabase.projects.locations.autonomousDatabases.get({ + * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "adminPassword": "my_adminPassword", + * // "adminPasswordSecretVersion": "my_adminPasswordSecretVersion", + * // "cidr": "my_cidr", + * // "createTime": "my_createTime", + * // "database": "my_database", + * // "disasterRecoverySupportedLocations": [], + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "labels": {}, + * // "name": "my_name", + * // "network": "my_network", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "peerAutonomousDatabases": [], + * // "properties": {}, + * // "sourceConfig": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Autonomousdatabases$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Autonomousdatabases$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabases$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabases$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.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 the Autonomous Databases in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await oracledatabase.projects.locations.autonomousDatabases.list({ + * // Optional. An expression for filtering the results of the request. + * filter: 'placeholder-value', + * // Optional. An expression for ordering the results of the request. + * orderBy: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous Database will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for the Autonomous Database in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "autonomousDatabases": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Autonomousdatabases$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Autonomousdatabases$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Autonomousdatabases$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Autonomousdatabases$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Autonomousdatabases$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabases$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabases$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabases$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/autonomousDatabases').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 + ); + } + } + + /** + * Updates the parameters of a single Autonomous Database. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await oracledatabase.projects.locations.autonomousDatabases.patch( + * { + * // Identifier. The name of the Autonomous Database resource in the following format: projects/{project\}/locations/{region\}/autonomousDatabases/{autonomous_database\} + * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. Field mask is used to specify the fields to be overwritten in the Exadata resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "adminPassword": "my_adminPassword", + * // "adminPasswordSecretVersion": "my_adminPasswordSecretVersion", + * // "cidr": "my_cidr", + * // "createTime": "my_createTime", + * // "database": "my_database", + * // "disasterRecoverySupportedLocations": [], + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "labels": {}, + * // "name": "my_name", + * // "network": "my_network", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "peerAutonomousDatabases": [], + * // "properties": {}, + * // "sourceConfig": {} + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + patch( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Autonomousdatabases$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabases$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabases$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Restarts an Autonomous Database. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.autonomousDatabases.restart({ + * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // {} + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + restart( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, + options: StreamMethodOptions + ): Promise>; + restart( + params?: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, + options?: MethodOptions + ): Promise>; + restart( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + restart( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + restart( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, + callback: BodyResponseCallback + ): void; + restart(callback: BodyResponseCallback): void; + restart( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabases$Restart + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Restart; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabases$Restart; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:restart').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Restores a single Autonomous Database. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.autonomousDatabases.restore({ + * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "restoreTime": "my_restoreTime" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + restore( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, + options: StreamMethodOptions + ): Promise>; + restore( + params?: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, + options?: MethodOptions + ): Promise>; + restore( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + restore( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + restore( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, + callback: BodyResponseCallback + ): void; + restore(callback: BodyResponseCallback): void; + restore( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabases$Restore + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Restore; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabases$Restore; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:restore').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Starts an Autonomous Database. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await oracledatabase.projects.locations.autonomousDatabases.start( + * { + * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // {} + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + start( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Start, + options: StreamMethodOptions + ): Promise>; + start( + params?: Params$Resource$Projects$Locations$Autonomousdatabases$Start, + options?: MethodOptions + ): Promise>; + start( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Start, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + start( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Start, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + start( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Start, + callback: BodyResponseCallback + ): void; + start(callback: BodyResponseCallback): void; + start( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabases$Start + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Start; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabases$Start; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:start').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Stops an Autonomous Database. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await oracledatabase.projects.locations.autonomousDatabases.stop({ + * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // {} + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + stop( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, + options: StreamMethodOptions + ): Promise>; + stop( + params?: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, + options?: MethodOptions + ): Promise>; + stop( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + stop( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + stop( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, + callback: BodyResponseCallback + ): void; + stop(callback: BodyResponseCallback): void; + stop( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabases$Stop + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Stop; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabases$Stop; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Initiates a switchover of specified autonomous database to the associated peer database. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.autonomousDatabases.switchover({ + * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "peerAutonomousDatabase": "my_peerAutonomousDatabase" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + switchover( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, + options: StreamMethodOptions + ): Promise>; + switchover( + params?: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, + options?: MethodOptions + ): Promise>; + switchover( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + switchover( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + switchover( + params: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, + callback: BodyResponseCallback + ): void; + switchover(callback: BodyResponseCallback): void; + switchover( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdatabases$Switchover + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Switchover; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdatabases$Switchover; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:switchover').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Autonomousdatabases$Create extends StandardParameters { + /** + * Required. The ID of the Autonomous Database to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + */ + autonomousDatabaseId?: string; + /** + * Required. The name of the parent in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + /** + * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AutonomousDatabase; + } + export interface Params$Resource$Projects$Locations$Autonomousdatabases$Delete extends StandardParameters { + /** + * Required. The name of the resource in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + */ + name?: string; + /** + * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Autonomousdatabases$Failover extends StandardParameters { + /** + * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FailoverAutonomousDatabaseRequest; + } + export interface Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet extends StandardParameters { + /** + * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GenerateAutonomousDatabaseWalletRequest; + } + export interface Params$Resource$Projects$Locations$Autonomousdatabases$Get extends StandardParameters { + /** + * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Autonomousdatabases$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. + */ + filter?: string; + /** + * Optional. An expression for ordering the results of the request. + */ + orderBy?: string; + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous Database will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. The parent value for the Autonomous Database in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Autonomousdatabases$Patch extends StandardParameters { + /** + * Identifier. The name of the Autonomous Database resource in the following format: projects/{project\}/locations/{region\}/autonomousDatabases/{autonomous_database\} + */ + name?: string; + /** + * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the Exadata resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AutonomousDatabase; + } + export interface Params$Resource$Projects$Locations$Autonomousdatabases$Restart extends StandardParameters { + /** + * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RestartAutonomousDatabaseRequest; + } + export interface Params$Resource$Projects$Locations$Autonomousdatabases$Restore extends StandardParameters { + /** + * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RestoreAutonomousDatabaseRequest; + } + export interface Params$Resource$Projects$Locations$Autonomousdatabases$Start extends StandardParameters { + /** + * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$StartAutonomousDatabaseRequest; + } + export interface Params$Resource$Projects$Locations$Autonomousdatabases$Stop extends StandardParameters { + /** + * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$StopAutonomousDatabaseRequest; + } + export interface Params$Resource$Projects$Locations$Autonomousdatabases$Switchover extends StandardParameters { + /** + * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SwitchoverAutonomousDatabaseRequest; + } + + export class Resource$Projects$Locations$Autonomousdbversions { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists all the available Autonomous Database versions for a project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await oracledatabase.projects.locations.autonomousDbVersions.list( + * { + * // Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for the Autonomous Database in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "autonomousDbVersions": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Autonomousdbversions$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Autonomousdbversions$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Autonomousdbversions$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Autonomousdbversions$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Autonomousdbversions$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Autonomousdbversions$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Autonomousdbversions$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Autonomousdbversions$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/autonomousDbVersions').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$Autonomousdbversions$List extends StandardParameters { + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. The parent value for the Autonomous Database in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + } + + export class Resource$Projects$Locations$Cloudexadatainfrastructures { + context: APIRequestContext; + dbServers: Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers; + constructor(context: APIRequestContext) { + this.context = context; + this.dbServers = + new Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers( + this.context + ); + } + + /** + * Creates a new Exadata Infrastructure in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.cloudExadataInfrastructures.create({ + * // Required. The ID of the Exadata Infrastructure to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + * cloudExadataInfrastructureId: 'placeholder-value', + * // Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "labels": {}, + * // "name": "my_name", + * // "properties": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. + */ + create( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+parent}/cloudExadataInfrastructures' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a single Exadata Infrastructure. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.cloudExadataInfrastructures.delete({ + * // Optional. If set to true, all VM clusters for this Exadata Infrastructure will be deleted. An Exadata Infrastructure can only be deleted once all its VM clusters have been deleted. + * force: 'placeholder-value', + * // Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project\}/locations/{location\}/cloudExadataInfrastructures/{cloud_exadata_infrastructure\}. + * name: 'projects/my-project/locations/my-location/cloudExadataInfrastructures/my-cloudExadataInfrastructure', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Cloudexadatainfrastructures$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.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 Exadata Infrastructure. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.cloudExadataInfrastructures.get({ + * // Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project\}/locations/{location\}/cloudExadataInfrastructures/{cloud_exadata_infrastructure\}. + * name: 'projects/my-project/locations/my-location/cloudExadataInfrastructures/my-cloudExadataInfrastructure', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "labels": {}, + * // "name": "my_name", + * // "properties": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Cloudexadatainfrastructures$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.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 Exadata Infrastructures in a given project and location. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.cloudExadataInfrastructures.list({ + * // Optional. An expression for filtering the results of the request. + * filter: 'placeholder-value', + * // Optional. An expression for ordering the results of the request. + * orderBy: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, at most 50 Exadata infrastructures will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "cloudExadataInfrastructures": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Cloudexadatainfrastructures$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+parent}/cloudExadataInfrastructures' + ).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$Cloudexadatainfrastructures$Create extends StandardParameters { + /** + * Required. The ID of the Exadata Infrastructure to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + */ + cloudExadataInfrastructureId?: string; + /** + * Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + /** + * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CloudExadataInfrastructure; + } + export interface Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete extends StandardParameters { + /** + * Optional. If set to true, all VM clusters for this Exadata Infrastructure will be deleted. An Exadata Infrastructure can only be deleted once all its VM clusters have been deleted. + */ + force?: boolean; + /** + * Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project\}/locations/{location\}/cloudExadataInfrastructures/{cloud_exadata_infrastructure\}. + */ + name?: string; + /** + * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get extends StandardParameters { + /** + * Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project\}/locations/{location\}/cloudExadataInfrastructures/{cloud_exadata_infrastructure\}. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. + */ + filter?: string; + /** + * Optional. An expression for ordering the results of the request. + */ + orderBy?: string; + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 Exadata infrastructures will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + } + + export class Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists the database servers of an Exadata Infrastructure instance. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.cloudExadataInfrastructures.dbServers.list( + * { + * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 db servers will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for database server in the following format: projects/{project\}/locations/{location\}/cloudExadataInfrastructures/{cloudExadataInfrastructure\}. + * parent: + * 'projects/my-project/locations/my-location/cloudExadataInfrastructures/my-cloudExadataInfrastructure', + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "dbServers": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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$Cloudexadatainfrastructures$Dbservers$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/dbServers').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback ); - this.dbSystems = new Resource$Projects$Locations$Dbsystems(this.context); - this.dbSystemShapes = new Resource$Projects$Locations$Dbsystemshapes( - this.context - ); - this.dbVersions = new Resource$Projects$Locations$Dbversions( - this.context - ); - this.entitlements = new Resource$Projects$Locations$Entitlements( - this.context - ); - this.exadbVmClusters = new Resource$Projects$Locations$Exadbvmclusters( - this.context - ); - this.exascaleDbStorageVaults = - new Resource$Projects$Locations$Exascaledbstoragevaults(this.context); - this.giVersions = new Resource$Projects$Locations$Giversions( - this.context - ); - this.odbNetworks = new Resource$Projects$Locations$Odbnetworks( - this.context - ); - this.operations = new Resource$Projects$Locations$Operations( + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List extends StandardParameters { + /** + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 db servers will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. The parent value for database server in the following format: projects/{project\}/locations/{location\}/cloudExadataInfrastructures/{cloudExadataInfrastructure\}. + */ + parent?: string; + } + + export class Resource$Projects$Locations$Cloudvmclusters { + context: APIRequestContext; + dbNodes: Resource$Projects$Locations$Cloudvmclusters$Dbnodes; + constructor(context: APIRequestContext) { + this.context = context; + this.dbNodes = new Resource$Projects$Locations$Cloudvmclusters$Dbnodes( this.context ); - this.pluggableDatabases = - new Resource$Projects$Locations$Pluggabledatabases(this.context); } /** - * Gets information about a location. + * Creates a new VM Cluster in a given project and location. * @example * ```js * // Before running the sample: @@ -3059,19 +9173,44 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.get({ - * // Resource name for the location. - * name: 'projects/my-project/locations/my-location', + * const res = await oracledatabase.projects.locations.cloudVmClusters.create({ + * // Required. The ID of the VM Cluster to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + * cloudVmClusterId: 'placeholder-value', + * // Required. The name of the parent in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "backupOdbSubnet": "my_backupOdbSubnet", + * // "backupSubnetCidr": "my_backupSubnetCidr", + * // "cidr": "my_cidr", + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "exadataInfrastructure": "my_exadataInfrastructure", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "identityConnector": {}, + * // "labels": {}, + * // "name": "my_name", + * // "network": "my_network", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "properties": {} + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "displayName": "my_displayName", - * // "labels": {}, - * // "locationId": "my_locationId", + * // "done": false, + * // "error": {}, * // "metadata": {}, - * // "name": "my_name" + * // "name": "my_name", + * // "response": {} * // } * } * @@ -3087,53 +9226,54 @@ export namespace oracledatabase_v1 { * @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$Get, + create( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Get, + create( + params?: Params$Resource$Projects$Locations$Cloudvmclusters$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Cloudvmclusters$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Get; + {}) as Params$Resource$Projects$Locations$Cloudvmclusters$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Get; + params = + {} as Params$Resource$Projects$Locations$Cloudvmclusters$Create; options = {}; } @@ -3147,29 +9287,32 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/cloudVmClusters').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. + * Deletes a single VM Cluster. * @example * ```js * // Before running the sample: @@ -3198,24 +9341,23 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.list({ - * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. - * extraLocationTypes: 'placeholder-value', - * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). - * filter: 'placeholder-value', - * // The resource that owns the locations collection, if applicable. - * name: 'projects/my-project', - * // The maximum number of results to return. If not set, the service selects a default. - * pageSize: 'placeholder-value', - * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. - * pageToken: 'placeholder-value', + * const res = await oracledatabase.projects.locations.cloudVmClusters.delete({ + * // Optional. If set to true, all child resources for the VM Cluster will be deleted. A VM Cluster can only be deleted once all its child resources have been deleted. + * force: 'placeholder-value', + * // Required. The name of the Cloud VM Cluster in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloud_vm_cluster\}. + * name: 'projects/my-project/locations/my-location/cloudVmClusters/my-cloudVmCluster', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "locations": [], - * // "nextPageToken": "my_nextPageToken" + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -3231,55 +9373,54 @@ export namespace oracledatabase_v1 { * @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$List, + delete( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$List, + delete( + params?: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Cloudvmclusters$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$List; + {}) as Params$Resource$Projects$Locations$Cloudvmclusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$List; + params = + {} as Params$Resource$Projects$Locations$Cloudvmclusters$Delete; options = {}; } @@ -3293,11 +9434,8 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}/locations').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options @@ -3308,53 +9446,17 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Get extends StandardParameters { - /** - * Resource name for the location. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$List extends StandardParameters { - /** - * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. - */ - extraLocationTypes?: string[]; - /** - * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). - */ - filter?: string; - /** - * The resource that owns the locations collection, if applicable. - */ - name?: string; - /** - * The maximum number of results to return. If not set, the service selects a default. - */ - pageSize?: number; - /** - * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. - */ - pageToken?: string; - } - - export class Resource$Projects$Locations$Autonomousdatabasebackups { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Lists the long-term and automatic backups of an Autonomous Database. + * Gets details of a single VM Cluster. * @example * ```js * // Before running the sample: @@ -3383,23 +9485,28 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await oracledatabase.projects.locations.autonomousDatabaseBackups.list({ - * // Optional. An expression for filtering the results of the request. Only the **autonomous_database_id** field is supported in the following format: `autonomous_database_id="{autonomous_database_id\}"`. The accepted values must be a valid Autonomous Database ID, limited to the naming restrictions of the ID: ^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$). The ID must start with a letter, end with a letter or a number, and be a maximum of 63 characters. - * filter: 'placeholder-value', - * // Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Backups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = await oracledatabase.projects.locations.cloudVmClusters.get({ + * // Required. The name of the Cloud VM Cluster in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloud_vm_cluster\}. + * name: 'projects/my-project/locations/my-location/cloudVmClusters/my-cloudVmCluster', + * }); * console.log(res.data); * * // Example response * // { - * // "autonomousDatabaseBackups": [], - * // "nextPageToken": "my_nextPageToken" + * // "backupOdbSubnet": "my_backupOdbSubnet", + * // "backupSubnetCidr": "my_backupSubnetCidr", + * // "cidr": "my_cidr", + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "exadataInfrastructure": "my_exadataInfrastructure", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "identityConnector": {}, + * // "labels": {}, + * // "name": "my_name", + * // "network": "my_network", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "properties": {} * // } * } * @@ -3415,62 +9522,53 @@ export namespace oracledatabase_v1 { * @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$Autonomousdatabasebackups$List, + get( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Get, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Autonomousdatabasebackups$List, + get( + params?: Params$Resource$Projects$Locations$Cloudvmclusters$Get, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Autonomousdatabasebackups$List, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Autonomousdatabasebackups$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Autonomousdatabasebackups$List, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Get, + callback: BodyResponseCallback ): void; - list( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabasebackups$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Cloudvmclusters$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabasebackups$List; + {}) as Params$Resource$Projects$Locations$Cloudvmclusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Autonomousdatabasebackups$List; + params = {} as Params$Resource$Projects$Locations$Cloudvmclusters$Get; options = {}; } @@ -3484,60 +9582,29 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/autonomousDatabaseBackups').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Autonomousdatabasebackups$List extends StandardParameters { - /** - * Optional. An expression for filtering the results of the request. Only the **autonomous_database_id** field is supported in the following format: `autonomous_database_id="{autonomous_database_id\}"`. The accepted values must be a valid Autonomous Database ID, limited to the naming restrictions of the ID: ^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$). The ID must start with a letter, end with a letter or a number, and be a maximum of 63 characters. - */ - filter?: string; - /** - * Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Backups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - */ - pageSize?: number; - /** - * Optional. A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project\}/locations/{location\}. - */ - parent?: string; - } - - export class Resource$Projects$Locations$Autonomousdatabasecharactersets { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Lists Autonomous Database Character Sets in a given project and location. + * Lists the VM Clusters in a given project and location. * @example * ```js * // Before running the sample: @@ -3566,25 +9633,23 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await oracledatabase.projects.locations.autonomousDatabaseCharacterSets.list( - * { - * // Optional. An expression for filtering the results of the request. Only the **character_set_type** field is supported in the following format: `character_set_type="{characterSetType\}"`. Accepted values include `DATABASE` and `NATIONAL`. - * filter: 'placeholder-value', - * // Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Character Sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The parent value for the Autonomous Database in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * }, - * ); + * const res = await oracledatabase.projects.locations.cloudVmClusters.list({ + * // Optional. An expression for filtering the results of the request. + * filter: 'placeholder-value', + * // Optional. The number of VM clusters to return. If unspecified, at most 50 VM clusters will be returned. The maximum value is 1,000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying the page of results the server returns. + * pageToken: 'placeholder-value', + * // Required. The name of the parent in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "autonomousDatabaseCharacterSets": [], - * // "nextPageToken": "my_nextPageToken" + * // "cloudVmClusters": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -3601,61 +9666,56 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List, + params: Params$Resource$Projects$Locations$Cloudvmclusters$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List, + params?: Params$Resource$Projects$Locations$Cloudvmclusters$List, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; + ): Promise>; list( - params: Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List, + params: Params$Resource$Projects$Locations$Cloudvmclusters$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List, + params: Params$Resource$Projects$Locations$Cloudvmclusters$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Cloudvmclusters$List, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Cloudvmclusters$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List; + {}) as Params$Resource$Projects$Locations$Cloudvmclusters$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List; + params = {} as Params$Resource$Projects$Locations$Cloudvmclusters$List; options = {}; } @@ -3669,9 +9729,10 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+parent}/autonomousDatabaseCharacterSets' - ).replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+parent}/cloudVmClusters').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', apiVersion: '', }, @@ -3683,45 +9744,82 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Autonomousdatabasecharactersets$List extends StandardParameters { + export interface Params$Resource$Projects$Locations$Cloudvmclusters$Create extends StandardParameters { /** - * Optional. An expression for filtering the results of the request. Only the **character_set_type** field is supported in the following format: `character_set_type="{characterSetType\}"`. Accepted values include `DATABASE` and `NATIONAL`. + * Required. The ID of the VM Cluster to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + */ + cloudVmClusterId?: string; + /** + * Required. The name of the parent in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + /** + * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CloudVmCluster; + } + export interface Params$Resource$Projects$Locations$Cloudvmclusters$Delete extends StandardParameters { + /** + * Optional. If set to true, all child resources for the VM Cluster will be deleted. A VM Cluster can only be deleted once all its child resources have been deleted. + */ + force?: boolean; + /** + * Required. The name of the Cloud VM Cluster in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloud_vm_cluster\}. + */ + name?: string; + /** + * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Cloudvmclusters$Get extends StandardParameters { + /** + * Required. The name of the Cloud VM Cluster in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloud_vm_cluster\}. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Cloudvmclusters$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. */ filter?: string; /** - * Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Character Sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. The number of VM clusters to return. If unspecified, at most 50 VM clusters will be returned. The maximum value is 1,000. */ pageSize?: number; /** - * Optional. A token identifying a page of results the server should return. + * Optional. A token identifying the page of results the server returns. */ pageToken?: string; /** - * Required. The parent value for the Autonomous Database in the following format: projects/{project\}/locations/{location\}. + * Required. The name of the parent in the following format: projects/{project\}/locations/{location\}. */ parent?: string; } - export class Resource$Projects$Locations$Autonomousdatabases { + export class Resource$Projects$Locations$Cloudvmclusters$Dbnodes { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Creates a new Autonomous Database in a given project and location. + * Lists the database nodes of a VM Cluster. * @example * ```js * // Before running the sample: @@ -3748,49 +9846,24 @@ export namespace oracledatabase_v1 { * // Acquire an auth client, and bind it to all future calls * const authClient = await auth.getClient(); * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await oracledatabase.projects.locations.autonomousDatabases.create({ - * // Required. The ID of the Autonomous Database to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. - * autonomousDatabaseId: 'placeholder-value', - * // Required. The name of the parent in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "adminPassword": "my_adminPassword", - * // "adminPasswordSecretVersion": "my_adminPasswordSecretVersion", - * // "cidr": "my_cidr", - * // "createTime": "my_createTime", - * // "database": "my_database", - * // "disasterRecoverySupportedLocations": [], - * // "displayName": "my_displayName", - * // "entitlementId": "my_entitlementId", - * // "labels": {}, - * // "name": "my_name", - * // "network": "my_network", - * // "odbNetwork": "my_odbNetwork", - * // "odbSubnet": "my_odbSubnet", - * // "peerAutonomousDatabases": [], - * // "properties": {}, - * // "sourceConfig": {} - * // } - * }, + * + * // Do the magic + * const res = + * await oracledatabase.projects.locations.cloudVmClusters.dbNodes.list({ + * // Optional. The maximum number of items to return. If unspecified, at most 50 db nodes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the node should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for database node in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloudVmCluster\}. . + * parent: + * 'projects/my-project/locations/my-location/cloudVmClusters/my-cloudVmCluster', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "dbNodes": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -3806,54 +9879,54 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Create, + list( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Autonomousdatabases$Create, + list( + params?: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Create, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabases$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Create; + {}) as Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Autonomousdatabases$Create; + {} as Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List; options = {}; } @@ -3867,11 +9940,11 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/autonomousDatabases').replace( + url: (rootUrl + '/v1/{+parent}/dbNodes').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options @@ -3882,17 +9955,39 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List extends StandardParameters { /** - * Deletes a single Autonomous Database. + * Optional. The maximum number of items to return. If unspecified, at most 50 db nodes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the node should return. + */ + pageToken?: string; + /** + * Required. The parent value for database node in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloudVmCluster\}. . + */ + parent?: string; + } + + export class Resource$Projects$Locations$Databasecharactersets { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * List DatabaseCharacterSets for the given project and location. * @example * ```js * // Before running the sample: @@ -3922,21 +10017,22 @@ export namespace oracledatabase_v1 { * * // Do the magic * const res = - * await oracledatabase.projects.locations.autonomousDatabases.delete({ - * // Required. The name of the resource in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', - * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', + * await oracledatabase.projects.locations.databaseCharacterSets.list({ + * // Optional. An expression for filtering the results of the request. Only the **character_set_type** field is supported in the following format: `character_set_type="{characterSetType\}"`. Accepted values include `DATABASE` and `NATIONAL`. + * filter: 'placeholder-value', + * // Optional. The maximum number of DatabaseCharacterSets to return. The service may return fewer than this value. If unspecified, at most 50 DatabaseCharacterSets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListDatabaseCharacterSets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDatabaseCharacterSets` must match the call that provided the page token. + * pageToken: 'placeholder-value', + * // Required. The parent value for DatabaseCharacterSets in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "databaseCharacterSets": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -3952,54 +10048,62 @@ export namespace oracledatabase_v1 { * @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$Autonomousdatabases$Delete, + list( + params: Params$Resource$Projects$Locations$Databasecharactersets$List, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Autonomousdatabases$Delete, + list( + params?: Params$Resource$Projects$Locations$Databasecharactersets$List, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Delete, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Databasecharactersets$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Databasecharactersets$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Delete, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Databasecharactersets$List, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabases$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Databasecharactersets$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Delete; + {}) as Params$Resource$Projects$Locations$Databasecharactersets$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Autonomousdatabases$Delete; + {} as Params$Resource$Projects$Locations$Databasecharactersets$List; options = {}; } @@ -4013,29 +10117,60 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+parent}/databaseCharacterSets').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } + } + export interface Params$Resource$Projects$Locations$Databasecharactersets$List extends StandardParameters { /** - * Initiates a failover to target autonomous database from the associated primary database. + * Optional. An expression for filtering the results of the request. Only the **character_set_type** field is supported in the following format: `character_set_type="{characterSetType\}"`. Accepted values include `DATABASE` and `NATIONAL`. + */ + filter?: string; + /** + * Optional. The maximum number of DatabaseCharacterSets to return. The service may return fewer than this value. If unspecified, at most 50 DatabaseCharacterSets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListDatabaseCharacterSets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDatabaseCharacterSets` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent value for DatabaseCharacterSets in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + } + + export class Resource$Projects$Locations$Databases { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets details of a single Database. * @example * ```js * // Before running the sample: @@ -4064,28 +10199,32 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await oracledatabase.projects.locations.autonomousDatabases.failover({ - * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "peerAutonomousDatabase": "my_peerAutonomousDatabase" - * // } - * }, - * }); + * const res = await oracledatabase.projects.locations.databases.get({ + * // Required. The name of the Database resource in the following format: projects/{project\}/locations/{region\}/databases/{database\} + * name: 'projects/my-project/locations/my-location/databases/my-database', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "adminPassword": "my_adminPassword", + * // "adminPasswordSecretVersion": "my_adminPasswordSecretVersion", + * // "characterSet": "my_characterSet", + * // "createTime": "my_createTime", + * // "databaseId": "my_databaseId", + * // "dbHomeName": "my_dbHomeName", + * // "dbName": "my_dbName", + * // "dbUniqueName": "my_dbUniqueName", + * // "gcpOracleZone": "my_gcpOracleZone", * // "name": "my_name", - * // "response": {} + * // "ncharacterSet": "my_ncharacterSet", + * // "ociUrl": "my_ociUrl", + * // "opsInsightsStatus": "my_opsInsightsStatus", + * // "pluggableDatabaseId": "my_pluggableDatabaseId", + * // "pluggableDatabaseName": "my_pluggableDatabaseName", + * // "properties": {}, + * // "tdeWalletPassword": "my_tdeWalletPassword", + * // "tdeWalletPasswordSecretVersion": "my_tdeWalletPasswordSecretVersion" * // } * } * @@ -4101,54 +10240,53 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - failover( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Failover, + get( + params: Params$Resource$Projects$Locations$Databases$Get, options: StreamMethodOptions ): Promise>; - failover( - params?: Params$Resource$Projects$Locations$Autonomousdatabases$Failover, + get( + params?: Params$Resource$Projects$Locations$Databases$Get, options?: MethodOptions - ): Promise>; - failover( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Failover, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Databases$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - failover( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Failover, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Databases$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - failover( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Failover, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Databases$Get, + callback: BodyResponseCallback ): void; - failover(callback: BodyResponseCallback): void; - failover( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabases$Failover - | BodyResponseCallback + | Params$Resource$Projects$Locations$Databases$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Failover; + {}) as Params$Resource$Projects$Locations$Databases$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Autonomousdatabases$Failover; + params = {} as Params$Resource$Projects$Locations$Databases$Get; options = {}; } @@ -4162,11 +10300,8 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:failover').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options @@ -4177,17 +10312,17 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Generates a wallet for an Autonomous Database. + * Lists all the Databases for the given project, location and DbSystem. * @example * ```js * // Before running the sample: @@ -4216,26 +10351,22 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await oracledatabase.projects.locations.autonomousDatabases.generateWallet({ - * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "isRegional": false, - * // "password": "my_password", - * // "type": "my_type" - * // } - * }, - * }); + * const res = await oracledatabase.projects.locations.databases.list({ + * // Optional. An expression for filtering the results of the request. list for container databases is supported only with a valid dbSystem (full resource name) filter in this format: `dbSystem="projects/{project\}/locations/{location\}/dbSystems/{dbSystemId\}"` + * filter: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 Databases will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. + * pageToken: 'placeholder-value', + * // Required. The parent resource name in the following format: projects/{project\}/locations/{region\} + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "archiveContent": "my_archiveContent" + * // "databases": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -4251,62 +10382,55 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - generateWallet( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, + list( + params: Params$Resource$Projects$Locations$Databases$List, options: StreamMethodOptions ): Promise>; - generateWallet( - params?: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, + list( + params?: Params$Resource$Projects$Locations$Databases$List, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - generateWallet( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Databases$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - generateWallet( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, + list( + params: Params$Resource$Projects$Locations$Databases$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - generateWallet( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - generateWallet( - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Databases$List, + callback: BodyResponseCallback ): void; - generateWallet( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet - | BodyResponseCallback + | Params$Resource$Projects$Locations$Databases$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet; + {}) as Params$Resource$Projects$Locations$Databases$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet; + params = {} as Params$Resource$Projects$Locations$Databases$List; options = {}; } @@ -4320,34 +10444,64 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:generateWallet').replace( + url: (rootUrl + '/v1/{+parent}/databases').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Databases$Get extends StandardParameters { /** - * Gets the details of a single Autonomous Database. + * Required. The name of the Database resource in the following format: projects/{project\}/locations/{region\}/databases/{database\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Databases$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. list for container databases is supported only with a valid dbSystem (full resource name) filter in this format: `dbSystem="projects/{project\}/locations/{location\}/dbSystems/{dbSystemId\}"` + */ + filter?: string; + /** + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 Databases will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. + */ + pageToken?: string; + /** + * Required. The parent resource name in the following format: projects/{project\}/locations/{region\} + */ + parent?: string; + } + + export class Resource$Projects$Locations$Dbsysteminitialstoragesizes { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists all the DbSystemInitialStorageSizes for the given project and location. * @example * ```js * // Before running the sample: @@ -4376,30 +10530,21 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.autonomousDatabases.get({ - * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', - * }); + * const res = + * await oracledatabase.projects.locations.dbSystemInitialStorageSizes.list({ + * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 DbSystemInitialStorageSizes will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. + * pageToken: 'placeholder-value', + * // Required. The parent value for the DbSystemInitialStorageSize resource with the format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "adminPassword": "my_adminPassword", - * // "adminPasswordSecretVersion": "my_adminPasswordSecretVersion", - * // "cidr": "my_cidr", - * // "createTime": "my_createTime", - * // "database": "my_database", - * // "disasterRecoverySupportedLocations": [], - * // "displayName": "my_displayName", - * // "entitlementId": "my_entitlementId", - * // "labels": {}, - * // "name": "my_name", - * // "network": "my_network", - * // "odbNetwork": "my_odbNetwork", - * // "odbSubnet": "my_odbSubnet", - * // "peerAutonomousDatabases": [], - * // "properties": {}, - * // "sourceConfig": {} + * // "dbSystemInitialStorageSizes": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -4415,54 +10560,62 @@ export namespace oracledatabase_v1 { * @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$Autonomousdatabases$Get, + list( + params: Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Autonomousdatabases$Get, + list( + params?: Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Get, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Get, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabases$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Get; + {}) as Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Autonomousdatabases$Get; + {} as Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List; options = {}; } @@ -4476,29 +10629,55 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: ( + rootUrl + '/v1/{+parent}/dbSystemInitialStorageSizes' + ).replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } + } + + export interface Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List extends StandardParameters { + /** + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 DbSystemInitialStorageSizes will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. + */ + pageToken?: string; + /** + * Required. The parent value for the DbSystemInitialStorageSize resource with the format: projects/{project\}/locations/{location\} + */ + parent?: string; + } + + export class Resource$Projects$Locations$Dbsystems { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } /** - * Lists the Autonomous Databases in a given project and location. + * Creates a new DbSystem in a given project and location. * @example * ```js * // Before running the sample: @@ -4527,25 +10706,40 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.autonomousDatabases.list({ - * // Optional. An expression for filtering the results of the request. - * filter: 'placeholder-value', - * // Optional. An expression for ordering the results of the request. - * orderBy: 'placeholder-value', - * // Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous Database will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The parent value for the Autonomous Database in the following format: projects/{project\}/locations/{location\}. + * const res = await oracledatabase.projects.locations.dbSystems.create({ + * // Required. The ID of the DbSystem to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + * dbSystemId: 'placeholder-value', + * // Required. The value for parent of the DbSystem in the following format: projects/{project\}/locations/{location\}. * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "labels": {}, + * // "name": "my_name", + * // "ociUrl": "my_ociUrl", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "properties": {} + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "autonomousDatabases": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -4561,58 +10755,53 @@ export namespace oracledatabase_v1 { * @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$Autonomousdatabases$List, + create( + params: Params$Resource$Projects$Locations$Dbsystems$Create, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Autonomousdatabases$List, + create( + params?: Params$Resource$Projects$Locations$Dbsystems$Create, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Autonomousdatabases$List, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Dbsystems$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Autonomousdatabases$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Autonomousdatabases$List, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Dbsystems$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Dbsystems$Create, + callback: BodyResponseCallback ): void; - list( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabases$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Dbsystems$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabases$List; + {}) as Params$Resource$Projects$Locations$Dbsystems$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Autonomousdatabases$List; + params = {} as Params$Resource$Projects$Locations$Dbsystems$Create; options = {}; } @@ -4626,11 +10815,11 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/autonomousDatabases').replace( + url: (rootUrl + '/v1/{+parent}/dbSystems').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options @@ -4641,19 +10830,17 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single Autonomous Database. + * Deletes a single DbSystem. * @example * ```js * // Before running the sample: @@ -4682,39 +10869,12 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.autonomousDatabases.patch( - * { - * // Identifier. The name of the Autonomous Database resource in the following format: projects/{project\}/locations/{region\}/autonomousDatabases/{autonomous_database\} - * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', - * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Optional. Field mask is used to specify the fields to be overwritten in the Exadata resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "adminPassword": "my_adminPassword", - * // "adminPasswordSecretVersion": "my_adminPasswordSecretVersion", - * // "cidr": "my_cidr", - * // "createTime": "my_createTime", - * // "database": "my_database", - * // "disasterRecoverySupportedLocations": [], - * // "displayName": "my_displayName", - * // "entitlementId": "my_entitlementId", - * // "labels": {}, - * // "name": "my_name", - * // "network": "my_network", - * // "odbNetwork": "my_odbNetwork", - * // "odbSubnet": "my_odbSubnet", - * // "peerAutonomousDatabases": [], - * // "properties": {}, - * // "sourceConfig": {} - * // } - * }, - * }, - * ); + * const res = await oracledatabase.projects.locations.dbSystems.delete({ + * // Required. The name of the DbSystem in the following format: projects/{project\}/locations/{location\}/dbSystems/{db_system\}. + * name: 'projects/my-project/locations/my-location/dbSystems/my-dbSystem', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); * console.log(res.data); * * // Example response @@ -4739,32 +10899,32 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Patch, + delete( + params: Params$Resource$Projects$Locations$Dbsystems$Delete, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Autonomousdatabases$Patch, + delete( + params?: Params$Resource$Projects$Locations$Dbsystems$Delete, options?: MethodOptions ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Patch, + delete( + params: Params$Resource$Projects$Locations$Dbsystems$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Patch, + delete( + params: Params$Resource$Projects$Locations$Dbsystems$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Patch, + delete( + params: Params$Resource$Projects$Locations$Dbsystems$Delete, callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabases$Patch + | Params$Resource$Projects$Locations$Dbsystems$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -4780,13 +10940,12 @@ export namespace oracledatabase_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Patch; + {}) as Params$Resource$Projects$Locations$Dbsystems$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Autonomousdatabases$Patch; + params = {} as Params$Resource$Projects$Locations$Dbsystems$Delete; options = {}; } @@ -4801,7 +10960,7 @@ export namespace oracledatabase_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'DELETE', apiVersion: '', }, options @@ -4822,7 +10981,7 @@ export namespace oracledatabase_v1 { } /** - * Restarts an Autonomous Database. + * Gets details of a single DbSystem. * @example * ```js * // Before running the sample: @@ -4851,26 +11010,24 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await oracledatabase.projects.locations.autonomousDatabases.restart({ - * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // {} - * }, - * }); + * const res = await oracledatabase.projects.locations.dbSystems.get({ + * // Required. The name of the DbSystem in the following format: projects/{project\}/locations/{location\}/dbSystems/{db_system\}. + * name: 'projects/my-project/locations/my-location/dbSystems/my-dbSystem', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "ociUrl": "my_ociUrl", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "properties": {} * // } * } * @@ -4886,54 +11043,53 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - restart( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, + get( + params: Params$Resource$Projects$Locations$Dbsystems$Get, options: StreamMethodOptions ): Promise>; - restart( - params?: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, + get( + params?: Params$Resource$Projects$Locations$Dbsystems$Get, options?: MethodOptions - ): Promise>; - restart( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Dbsystems$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - restart( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Dbsystems$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - restart( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Restart, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Dbsystems$Get, + callback: BodyResponseCallback ): void; - restart(callback: BodyResponseCallback): void; - restart( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabases$Restart - | BodyResponseCallback + | Params$Resource$Projects$Locations$Dbsystems$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Restart; + {}) as Params$Resource$Projects$Locations$Dbsystems$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Autonomousdatabases$Restart; + params = {} as Params$Resource$Projects$Locations$Dbsystems$Get; options = {}; } @@ -4947,11 +11103,8 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:restart').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options @@ -4962,17 +11115,17 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Restores a single Autonomous Database. + * Lists all the DbSystems for the given project and location. * @example * ```js * // Before running the sample: @@ -5001,28 +11154,25 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await oracledatabase.projects.locations.autonomousDatabases.restore({ - * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "restoreTime": "my_restoreTime" - * // } - * }, - * }); + * const res = await oracledatabase.projects.locations.dbSystems.list({ + * // Optional. An expression for filtering the results of the request. + * filter: 'placeholder-value', + * // Optional. An expression for ordering the results of the request. + * orderBy: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, at most 50 DbSystems will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for DbSystems in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "dbSystems": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -5038,54 +11188,55 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - restore( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, + list( + params: Params$Resource$Projects$Locations$Dbsystems$List, options: StreamMethodOptions ): Promise>; - restore( - params?: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, + list( + params?: Params$Resource$Projects$Locations$Dbsystems$List, options?: MethodOptions - ): Promise>; - restore( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Dbsystems$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - restore( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Dbsystems$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - restore( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Restore, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Dbsystems$List, + callback: BodyResponseCallback ): void; - restore(callback: BodyResponseCallback): void; - restore( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabases$Restore - | BodyResponseCallback + | Params$Resource$Projects$Locations$Dbsystems$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Restore; + {}) as Params$Resource$Projects$Locations$Dbsystems$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Autonomousdatabases$Restore; + params = {} as Params$Resource$Projects$Locations$Dbsystems$List; options = {}; } @@ -5099,32 +11250,97 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:restore').replace( + url: (rootUrl + '/v1/{+parent}/dbSystems').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + + export interface Params$Resource$Projects$Locations$Dbsystems$Create extends StandardParameters { + /** + * Required. The ID of the DbSystem to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + */ + dbSystemId?: string; + /** + * Required. The value for parent of the DbSystem in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; /** - * Starts an Autonomous Database. + * Request body metadata + */ + requestBody?: Schema$DbSystem; + } + export interface Params$Resource$Projects$Locations$Dbsystems$Delete extends StandardParameters { + /** + * Required. The name of the DbSystem in the following format: projects/{project\}/locations/{location\}/dbSystems/{db_system\}. + */ + name?: string; + /** + * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Dbsystems$Get extends StandardParameters { + /** + * Required. The name of the DbSystem in the following format: projects/{project\}/locations/{location\}/dbSystems/{db_system\}. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Dbsystems$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. + */ + filter?: string; + /** + * Optional. An expression for ordering the results of the request. + */ + orderBy?: string; + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 DbSystems will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. The parent value for DbSystems in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + } + + export class Resource$Projects$Locations$Dbsystemshapes { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists the database system shapes available for the project and location. * @example * ```js * // Before running the sample: @@ -5153,27 +11369,22 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.autonomousDatabases.start( - * { - * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // {} - * }, - * }, - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * const res = await oracledatabase.projects.locations.dbSystemShapes.list({ + * // Optional. An expression for filtering the results of the request. Only the gcp_oracle_zone_id field is supported in this format: `gcp_oracle_zone_id="{gcp_oracle_zone_id\}"`. + * filter: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, at most 50 database system shapes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for Database System Shapes in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "dbSystemShapes": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -5189,54 +11400,57 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - start( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Start, + list( + params: Params$Resource$Projects$Locations$Dbsystemshapes$List, options: StreamMethodOptions ): Promise>; - start( - params?: Params$Resource$Projects$Locations$Autonomousdatabases$Start, + list( + params?: Params$Resource$Projects$Locations$Dbsystemshapes$List, options?: MethodOptions - ): Promise>; - start( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Start, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Dbsystemshapes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - start( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Start, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Dbsystemshapes$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - start( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Start, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Dbsystemshapes$List, + callback: BodyResponseCallback ): void; - start(callback: BodyResponseCallback): void; - start( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabases$Start - | BodyResponseCallback + | Params$Resource$Projects$Locations$Dbsystemshapes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Start; + {}) as Params$Resource$Projects$Locations$Dbsystemshapes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Autonomousdatabases$Start; + params = {} as Params$Resource$Projects$Locations$Dbsystemshapes$List; options = {}; } @@ -5250,29 +11464,58 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:start').replace(/([^:]\/)\/+/g, '$1'), - method: 'POST', + url: (rootUrl + '/v1/{+parent}/dbSystemShapes').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Dbsystemshapes$List extends StandardParameters { /** - * Stops an Autonomous Database. + * Optional. An expression for filtering the results of the request. Only the gcp_oracle_zone_id field is supported in this format: `gcp_oracle_zone_id="{gcp_oracle_zone_id\}"`. + */ + filter?: string; + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 database system shapes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. The parent value for Database System Shapes in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + } + + export class Resource$Projects$Locations$Dbversions { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * List DbVersions for the given project and location. * @example * ```js * // Before running the sample: @@ -5301,25 +11544,22 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.autonomousDatabases.stop({ - * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // {} - * }, + * const res = await oracledatabase.projects.locations.dbVersions.list({ + * // Optional. Filter expression that matches a subset of the DbVersions to show. The supported filter for dbSystem creation is `db_system_shape = {db_system_shape\} AND storage_management = {storage_management\}`. If no filter is provided, all DbVersions will be returned. + * filter: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 DbVersions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. + * pageToken: 'placeholder-value', + * // Required. The parent value for the DbVersion resource with the format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "dbVersions": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -5335,54 +11575,55 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - stop( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, + list( + params: Params$Resource$Projects$Locations$Dbversions$List, options: StreamMethodOptions ): Promise>; - stop( - params?: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, + list( + params?: Params$Resource$Projects$Locations$Dbversions$List, options?: MethodOptions - ): Promise>; - stop( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Dbversions$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - stop( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Dbversions$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - stop( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Stop, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Dbversions$List, + callback: BodyResponseCallback ): void; - stop(callback: BodyResponseCallback): void; - stop( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabases$Stop - | BodyResponseCallback + | Params$Resource$Projects$Locations$Dbversions$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Stop; + {}) as Params$Resource$Projects$Locations$Dbversions$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Autonomousdatabases$Stop; + params = {} as Params$Resource$Projects$Locations$Dbversions$List; options = {}; } @@ -5396,29 +11637,58 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:stop').replace(/([^:]\/)\/+/g, '$1'), - method: 'POST', + url: (rootUrl + '/v1/{+parent}/dbVersions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Dbversions$List extends StandardParameters { /** - * Initiates a switchover of specified autonomous database to the associated peer database. + * Optional. Filter expression that matches a subset of the DbVersions to show. The supported filter for dbSystem creation is `db_system_shape = {db_system_shape\} AND storage_management = {storage_management\}`. If no filter is provided, all DbVersions will be returned. + */ + filter?: string; + /** + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 DbVersions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. + */ + pageToken?: string; + /** + * Required. The parent value for the DbVersion resource with the format: projects/{project\}/locations/{location\} + */ + parent?: string; + } + + export class Resource$Projects$Locations$Entitlements { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists the entitlements in a given project. * @example * ```js * // Before running the sample: @@ -5447,28 +11717,20 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await oracledatabase.projects.locations.autonomousDatabases.switchover({ - * // Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - * name: 'projects/my-project/locations/my-location/autonomousDatabases/my-autonomousDatabase', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "peerAutonomousDatabase": "my_peerAutonomousDatabase" - * // } - * }, - * }); + * const res = await oracledatabase.projects.locations.entitlements.list({ + * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 entitlements will be returned. The maximum value is 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for the entitlement in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "entitlements": [], + * // "nextPageToken": "my_nextPageToken" * // } * } * @@ -5484,54 +11746,55 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - switchover( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, + list( + params: Params$Resource$Projects$Locations$Entitlements$List, options: StreamMethodOptions ): Promise>; - switchover( - params?: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, - options?: MethodOptions - ): Promise>; - switchover( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, + list( + params?: Params$Resource$Projects$Locations$Entitlements$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Entitlements$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - switchover( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Entitlements$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - switchover( - params: Params$Resource$Projects$Locations$Autonomousdatabases$Switchover, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Entitlements$List, + callback: BodyResponseCallback ): void; - switchover(callback: BodyResponseCallback): void; - switchover( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdatabases$Switchover - | BodyResponseCallback + | Params$Resource$Projects$Locations$Entitlements$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdatabases$Switchover; + {}) as Params$Resource$Projects$Locations$Entitlements$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Autonomousdatabases$Switchover; + params = {} as Params$Resource$Projects$Locations$Entitlements$List; options = {}; } @@ -5545,99 +11808,34 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:switchover').replace( + url: (rootUrl + '/v1/{+parent}/entitlements').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Autonomousdatabases$Create extends StandardParameters { - /** - * Required. The ID of the Autonomous Database to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. - */ - autonomousDatabaseId?: string; - /** - * Required. The name of the parent in the following format: projects/{project\}/locations/{location\}. - */ - parent?: string; - /** - * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$AutonomousDatabase; - } - export interface Params$Resource$Projects$Locations$Autonomousdatabases$Delete extends StandardParameters { - /** - * Required. The name of the resource in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - */ - name?: string; - /** - * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Autonomousdatabases$Failover extends StandardParameters { - /** - * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - */ - name?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$FailoverAutonomousDatabaseRequest; - } - export interface Params$Resource$Projects$Locations$Autonomousdatabases$Generatewallet extends StandardParameters { - /** - * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - */ - name?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GenerateAutonomousDatabaseWalletRequest; - } - export interface Params$Resource$Projects$Locations$Autonomousdatabases$Get extends StandardParameters { - /** - * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Autonomousdatabases$List extends StandardParameters { - /** - * Optional. An expression for filtering the results of the request. - */ - filter?: string; - /** - * Optional. An expression for ordering the results of the request. - */ - orderBy?: string; + export interface Params$Resource$Projects$Locations$Entitlements$List extends StandardParameters { /** - * Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous Database will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 entitlements will be returned. The maximum value is 1000. */ pageSize?: number; /** @@ -5645,93 +11843,187 @@ export namespace oracledatabase_v1 { */ pageToken?: string; /** - * Required. The parent value for the Autonomous Database in the following format: projects/{project\}/locations/{location\}. + * Required. The parent value for the entitlement in the following format: projects/{project\}/locations/{location\}. */ parent?: string; } - export interface Params$Resource$Projects$Locations$Autonomousdatabases$Patch extends StandardParameters { - /** - * Identifier. The name of the Autonomous Database resource in the following format: projects/{project\}/locations/{region\}/autonomousDatabases/{autonomous_database\} - */ - name?: string; - /** - * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the Exadata resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$AutonomousDatabase; - } - export interface Params$Resource$Projects$Locations$Autonomousdatabases$Restart extends StandardParameters { - /** - * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - */ - name?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$RestartAutonomousDatabaseRequest; - } - export interface Params$Resource$Projects$Locations$Autonomousdatabases$Restore extends StandardParameters { - /** - * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - */ - name?: string; - /** - * Request body metadata - */ - requestBody?: Schema$RestoreAutonomousDatabaseRequest; - } - export interface Params$Resource$Projects$Locations$Autonomousdatabases$Start extends StandardParameters { - /** - * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - */ - name?: string; + export class Resource$Projects$Locations$Exadbvmclusters { + context: APIRequestContext; + dbNodes: Resource$Projects$Locations$Exadbvmclusters$Dbnodes; + constructor(context: APIRequestContext) { + this.context = context; + this.dbNodes = new Resource$Projects$Locations$Exadbvmclusters$Dbnodes( + this.context + ); + } /** - * Request body metadata - */ - requestBody?: Schema$StartAutonomousDatabaseRequest; - } - export interface Params$Resource$Projects$Locations$Autonomousdatabases$Stop extends StandardParameters { - /** - * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. + * Creates a new Exadb (Exascale) VM Cluster resource. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/oracledatabase.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const oracledatabase = google.oracledatabase('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await oracledatabase.projects.locations.exadbVmClusters.create({ + * // Required. The ID of the ExadbVmCluster to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + * exadbVmClusterId: 'placeholder-value', + * // Required. The value for parent of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "backupOdbSubnet": "my_backupOdbSubnet", + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "labels": {}, + * // "name": "my_name", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "properties": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @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. */ - name?: string; + create( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Exadbvmclusters$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Exadbvmclusters$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Exadbvmclusters$Create; + let options = (optionsOrCallback || {}) as MethodOptions; - /** - * Request body metadata - */ - requestBody?: Schema$StopAutonomousDatabaseRequest; - } - export interface Params$Resource$Projects$Locations$Autonomousdatabases$Switchover extends StandardParameters { - /** - * Required. The name of the Autonomous Database in the following format: projects/{project\}/locations/{location\}/autonomousDatabases/{autonomous_database\}. - */ - name?: string; + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Exadbvmclusters$Create; + options = {}; + } - /** - * Request body metadata - */ - requestBody?: Schema$SwitchoverAutonomousDatabaseRequest; - } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } - export class Resource$Projects$Locations$Autonomousdbversions { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + const rootUrl = + options.rootUrl || 'https://oracledatabase.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/exadbVmClusters').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } } /** - * Lists all the available Autonomous Database versions for a project and location. + * Deletes a single Exadb (Exascale) VM Cluster. * @example * ```js * // Before running the sample: @@ -5760,22 +12052,21 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.autonomousDbVersions.list( - * { - * // Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The parent value for the Autonomous Database in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * }, - * ); + * const res = await oracledatabase.projects.locations.exadbVmClusters.delete({ + * // Required. The name of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}/exadbVmClusters/{exadb_vm_cluster\}. + * name: 'projects/my-project/locations/my-location/exadbVmClusters/my-exadbVmCluster', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "autonomousDbVersions": [], - * // "nextPageToken": "my_nextPageToken" + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -5791,62 +12082,54 @@ export namespace oracledatabase_v1 { * @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$Autonomousdbversions$List, + delete( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Autonomousdbversions$List, + delete( + params?: Params$Resource$Projects$Locations$Exadbvmclusters$Delete, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Autonomousdbversions$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Autonomousdbversions$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Autonomousdbversions$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Autonomousdbversions$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Exadbvmclusters$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Autonomousdbversions$List; + {}) as Params$Resource$Projects$Locations$Exadbvmclusters$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Autonomousdbversions$List; + {} as Params$Resource$Projects$Locations$Exadbvmclusters$Delete; options = {}; } @@ -5860,61 +12143,29 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/autonomousDbVersions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Autonomousdbversions$List extends StandardParameters { - /** - * Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - */ - pageSize?: number; - /** - * Optional. A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. The parent value for the Autonomous Database in the following format: projects/{project\}/locations/{location\}. - */ - parent?: string; - } - - export class Resource$Projects$Locations$Cloudexadatainfrastructures { - context: APIRequestContext; - dbServers: Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers; - constructor(context: APIRequestContext) { - this.context = context; - this.dbServers = - new Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers( - this.context - ); - } /** - * Creates a new Exadata Infrastructure in a given project and location. + * Gets details of a single Exadb (Exascale) VM Cluster. * @example * ```js * // Before running the sample: @@ -5943,38 +12194,24 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await oracledatabase.projects.locations.cloudExadataInfrastructures.create({ - * // Required. The ID of the Exadata Infrastructure to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. - * cloudExadataInfrastructureId: 'placeholder-value', - * // Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "displayName": "my_displayName", - * // "entitlementId": "my_entitlementId", - * // "gcpOracleZone": "my_gcpOracleZone", - * // "labels": {}, - * // "name": "my_name", - * // "properties": {} - * // } - * }, - * }); + * const res = await oracledatabase.projects.locations.exadbVmClusters.get({ + * // Required. The name of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}/exadbVmClusters/{exadb_vm_cluster\}. + * name: 'projects/my-project/locations/my-location/exadbVmClusters/my-exadbVmCluster', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "backupOdbSubnet": "my_backupOdbSubnet", + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "properties": {} * // } * } * @@ -5990,54 +12227,53 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, + get( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Get, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, + get( + params?: Params$Resource$Projects$Locations$Exadbvmclusters$Get, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Get, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Exadbvmclusters$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create; + {}) as Params$Resource$Projects$Locations$Exadbvmclusters$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create; + params = {} as Params$Resource$Projects$Locations$Exadbvmclusters$Get; options = {}; } @@ -6051,31 +12287,29 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+parent}/cloudExadataInfrastructures' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes a single Exadata Infrastructure. + * Lists all the Exadb (Exascale) VM Clusters for the given project and location. * @example * ```js * // Before running the sample: @@ -6104,24 +12338,25 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await oracledatabase.projects.locations.cloudExadataInfrastructures.delete({ - * // Optional. If set to true, all VM clusters for this Exadata Infrastructure will be deleted. An Exadata Infrastructure can only be deleted once all its VM clusters have been deleted. - * force: 'placeholder-value', - * // Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project\}/locations/{location\}/cloudExadataInfrastructures/{cloud_exadata_infrastructure\}. - * name: 'projects/my-project/locations/my-location/cloudExadataInfrastructures/my-cloudExadataInfrastructure', - * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * }); + * const res = await oracledatabase.projects.locations.exadbVmClusters.list({ + * // Optional. An expression for filtering the results of the request. + * filter: 'placeholder-value', + * // Optional. An expression for ordering the results of the request. + * orderBy: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, at most 50 ExadbVmClusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for ExadbVmClusters in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "exadbVmClusters": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -6137,54 +12372,57 @@ export namespace oracledatabase_v1 { * @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$Cloudexadatainfrastructures$Delete, + list( + params: Params$Resource$Projects$Locations$Exadbvmclusters$List, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete, + list( + params?: Params$Resource$Projects$Locations$Exadbvmclusters$List, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Exadbvmclusters$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Exadbvmclusters$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Exadbvmclusters$List, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Exadbvmclusters$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete; + {}) as Params$Resource$Projects$Locations$Exadbvmclusters$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete; + params = {} as Params$Resource$Projects$Locations$Exadbvmclusters$List; options = {}; } @@ -6198,29 +12436,32 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+parent}/exadbVmClusters').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets details of a single Exadata Infrastructure. + * Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to existing exadb vm cluster, only pass the node count. * @example * ```js * // Before running the sample: @@ -6249,22 +12490,40 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await oracledatabase.projects.locations.cloudExadataInfrastructures.get({ - * // Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project\}/locations/{location\}/cloudExadataInfrastructures/{cloud_exadata_infrastructure\}. - * name: 'projects/my-project/locations/my-location/cloudExadataInfrastructures/my-cloudExadataInfrastructure', - * }); + * const res = await oracledatabase.projects.locations.exadbVmClusters.patch({ + * // Identifier. The name of the ExadbVmCluster resource in the following format: projects/{project\}/locations/{region\}/exadbVmClusters/{exadb_vm_cluster\} + * name: 'projects/my-project/locations/my-location/exadbVmClusters/my-exadbVmCluster', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. A mask specifying which fields in th VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided then all the fields in the VM Cluster are overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "backupOdbSubnet": "my_backupOdbSubnet", + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "labels": {}, + * // "name": "my_name", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "properties": {} + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", - * // "displayName": "my_displayName", - * // "entitlementId": "my_entitlementId", - * // "gcpOracleZone": "my_gcpOracleZone", - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "properties": {} + * // "response": {} * // } * } * @@ -6280,58 +12539,53 @@ export namespace oracledatabase_v1 { * @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$Cloudexadatainfrastructures$Get, + patch( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Patch, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get, + patch( + params?: Params$Resource$Projects$Locations$Exadbvmclusters$Patch, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get, + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Patch, + callback: BodyResponseCallback ): void; - get( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Exadbvmclusters$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get; + {}) as Params$Resource$Projects$Locations$Exadbvmclusters$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get; + params = {} as Params$Resource$Projects$Locations$Exadbvmclusters$Patch; options = {}; } @@ -6346,7 +12600,7 @@ export namespace oracledatabase_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options @@ -6357,17 +12611,17 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists Exadata Infrastructures in a given project and location. + * Removes virtual machines from an existing exadb vm cluster. * @example * ```js * // Before running the sample: @@ -6397,25 +12651,30 @@ export namespace oracledatabase_v1 { * * // Do the magic * const res = - * await oracledatabase.projects.locations.cloudExadataInfrastructures.list({ - * // Optional. An expression for filtering the results of the request. - * filter: 'placeholder-value', - * // Optional. An expression for ordering the results of the request. - * orderBy: 'placeholder-value', - * // Optional. The maximum number of items to return. If unspecified, at most 50 Exadata infrastructures will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * }); + * await oracledatabase.projects.locations.exadbVmClusters.removeVirtualMachine( + * { + * // Required. The name of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}/exadbVmClusters/{exadb_vm_cluster\}. + * name: 'projects/my-project/locations/my-location/exadbVmClusters/my-exadbVmCluster', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "hostnames": [], + * // "requestId": "my_requestId" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "cloudExadataInfrastructures": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -6431,62 +12690,56 @@ export namespace oracledatabase_v1 { * @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$Cloudexadatainfrastructures$List, + removeVirtualMachine( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List, + removeVirtualMachine( + params?: Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List, + ): Promise>; + removeVirtualMachine( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + removeVirtualMachine( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List, - callback: BodyResponseCallback + removeVirtualMachine( + params: Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + removeVirtualMachine( + callback: BodyResponseCallback ): void; - list( + removeVirtualMachine( paramsOrCallback?: - | Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List; + {}) as Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List; + {} as Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine; options = {}; } @@ -6500,58 +12753,53 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+parent}/cloudExadataInfrastructures' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+name}:removeVirtualMachine').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Create extends StandardParameters { + export interface Params$Resource$Projects$Locations$Exadbvmclusters$Create extends StandardParameters { /** - * Required. The ID of the Exadata Infrastructure to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + * Required. The ID of the ExadbVmCluster to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. */ - cloudExadataInfrastructureId?: string; + exadbVmClusterId?: string; /** - * Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project\}/locations/{location\}. + * Required. The value for parent of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}. */ parent?: string; /** - * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: string; /** * Request body metadata */ - requestBody?: Schema$CloudExadataInfrastructure; + requestBody?: Schema$ExadbVmCluster; } - export interface Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Delete extends StandardParameters { - /** - * Optional. If set to true, all VM clusters for this Exadata Infrastructure will be deleted. An Exadata Infrastructure can only be deleted once all its VM clusters have been deleted. - */ - force?: boolean; + export interface Params$Resource$Projects$Locations$Exadbvmclusters$Delete extends StandardParameters { /** - * Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project\}/locations/{location\}/cloudExadataInfrastructures/{cloud_exadata_infrastructure\}. + * Required. The name of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}/exadbVmClusters/{exadb_vm_cluster\}. */ name?: string; /** @@ -6559,13 +12807,13 @@ export namespace oracledatabase_v1 { */ requestId?: string; } - export interface Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Get extends StandardParameters { + export interface Params$Resource$Projects$Locations$Exadbvmclusters$Get extends StandardParameters { /** - * Required. The name of the Cloud Exadata Infrastructure in the following format: projects/{project\}/locations/{location\}/cloudExadataInfrastructures/{cloud_exadata_infrastructure\}. + * Required. The name of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}/exadbVmClusters/{exadb_vm_cluster\}. */ name?: string; } - export interface Params$Resource$Projects$Locations$Cloudexadatainfrastructures$List extends StandardParameters { + export interface Params$Resource$Projects$Locations$Exadbvmclusters$List extends StandardParameters { /** * Optional. An expression for filtering the results of the request. */ @@ -6575,7 +12823,7 @@ export namespace oracledatabase_v1 { */ orderBy?: string; /** - * Optional. The maximum number of items to return. If unspecified, at most 50 Exadata infrastructures will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. The maximum number of items to return. If unspecified, at most 50 ExadbVmClusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ pageSize?: number; /** @@ -6583,19 +12831,49 @@ export namespace oracledatabase_v1 { */ pageToken?: string; /** - * Required. The parent value for CloudExadataInfrastructure in the following format: projects/{project\}/locations/{location\}. + * Required. The parent value for ExadbVmClusters in the following format: projects/{project\}/locations/{location\}. */ parent?: string; } + export interface Params$Resource$Projects$Locations$Exadbvmclusters$Patch extends StandardParameters { + /** + * Identifier. The name of the ExadbVmCluster resource in the following format: projects/{project\}/locations/{region\}/exadbVmClusters/{exadb_vm_cluster\} + */ + name?: string; + /** + * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. A mask specifying which fields in th VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided then all the fields in the VM Cluster are overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ExadbVmCluster; + } + export interface Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine extends StandardParameters { + /** + * Required. The name of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}/exadbVmClusters/{exadb_vm_cluster\}. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RemoveVirtualMachineExadbVmClusterRequest; + } - export class Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers { + export class Resource$Projects$Locations$Exadbvmclusters$Dbnodes { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Lists the database servers of an Exadata Infrastructure instance. + * Lists the database nodes of a VM Cluster. * @example * ```js * // Before running the sample: @@ -6625,22 +12903,20 @@ export namespace oracledatabase_v1 { * * // Do the magic * const res = - * await oracledatabase.projects.locations.cloudExadataInfrastructures.dbServers.list( - * { - * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 db servers will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The parent value for database server in the following format: projects/{project\}/locations/{location\}/cloudExadataInfrastructures/{cloudExadataInfrastructure\}. - * parent: - * 'projects/my-project/locations/my-location/cloudExadataInfrastructures/my-cloudExadataInfrastructure', - * }, - * ); + * await oracledatabase.projects.locations.exadbVmClusters.dbNodes.list({ + * // Optional. The maximum number of items to return. If unspecified, at most 50 db nodes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the node should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for database node in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloudVmCluster\}. . + * parent: + * 'projects/my-project/locations/my-location/exadbVmClusters/my-exadbVmCluster', + * }); * console.log(res.data); * * // Example response * // { - * // "dbServers": [], + * // "dbNodes": [], * // "nextPageToken": "my_nextPageToken" * // } * } @@ -6658,55 +12934,53 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List, + params: Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List, + params?: Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List, options?: MethodOptions - ): Promise>; + ): Promise>; list( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List, + params: Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; + list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List; + {}) as Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List; + {} as Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List; options = {}; } @@ -6720,7 +12994,7 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/dbServers').replace( + url: (rootUrl + '/v1/{+parent}/dbNodes').replace( /([^:]\/)\/+/g, '$1' ), @@ -6735,43 +13009,39 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Cloudexadatainfrastructures$Dbservers$List extends StandardParameters { + export interface Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List extends StandardParameters { /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 db servers will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + * Optional. The maximum number of items to return. If unspecified, at most 50 db nodes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ pageSize?: number; /** - * Optional. A token identifying a page of results the server should return. + * Optional. A token identifying a page of results the node should return. */ pageToken?: string; /** - * Required. The parent value for database server in the following format: projects/{project\}/locations/{location\}/cloudExadataInfrastructures/{cloudExadataInfrastructure\}. + * Required. The parent value for database node in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloudVmCluster\}. . */ parent?: string; } - export class Resource$Projects$Locations$Cloudvmclusters { + export class Resource$Projects$Locations$Exascaledbstoragevaults { context: APIRequestContext; - dbNodes: Resource$Projects$Locations$Cloudvmclusters$Dbnodes; constructor(context: APIRequestContext) { this.context = context; - this.dbNodes = new Resource$Projects$Locations$Cloudvmclusters$Dbnodes( - this.context - ); } /** - * Creates a new VM Cluster in a given project and location. + * Creates a new ExascaleDB Storage Vault resource. * @example * ```js * // Before running the sample: @@ -6800,35 +13070,29 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.cloudVmClusters.create({ - * // Required. The ID of the VM Cluster to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. - * cloudVmClusterId: 'placeholder-value', - * // Required. The name of the parent in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', + * const res = + * await oracledatabase.projects.locations.exascaleDbStorageVaults.create({ + * // Required. The ID of the ExascaleDbStorageVault to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + * exascaleDbStorageVaultId: 'placeholder-value', + * // Required. The value for parent of the ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "backupOdbSubnet": "my_backupOdbSubnet", - * // "backupSubnetCidr": "my_backupSubnetCidr", - * // "cidr": "my_cidr", - * // "createTime": "my_createTime", - * // "displayName": "my_displayName", - * // "exadataInfrastructure": "my_exadataInfrastructure", - * // "gcpOracleZone": "my_gcpOracleZone", - * // "identityConnector": {}, - * // "labels": {}, - * // "name": "my_name", - * // "network": "my_network", - * // "odbNetwork": "my_odbNetwork", - * // "odbSubnet": "my_odbSubnet", - * // "properties": {} - * // } - * }, - * }); + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "labels": {}, + * // "name": "my_name", + * // "properties": {} + * // } + * }, + * }); * console.log(res.data); * * // Example response @@ -6854,31 +13118,31 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ create( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Create, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create, options: StreamMethodOptions ): Promise>; create( - params?: Params$Resource$Projects$Locations$Cloudvmclusters$Create, + params?: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create, options?: MethodOptions ): Promise>; create( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Create, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; create( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Create, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; create( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Create, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create, callback: BodyResponseCallback ): void; create(callback: BodyResponseCallback): void; create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Cloudvmclusters$Create + | Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -6894,13 +13158,13 @@ export namespace oracledatabase_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Cloudvmclusters$Create; + {}) as Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Cloudvmclusters$Create; + {} as Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create; options = {}; } @@ -6914,7 +13178,7 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/cloudVmClusters').replace( + url: (rootUrl + '/v1/{+parent}/exascaleDbStorageVaults').replace( /([^:]\/)\/+/g, '$1' ), @@ -6939,7 +13203,7 @@ export namespace oracledatabase_v1 { } /** - * Deletes a single VM Cluster. + * Deletes a single ExascaleDB Storage Vault. * @example * ```js * // Before running the sample: @@ -6968,14 +13232,13 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.cloudVmClusters.delete({ - * // Optional. If set to true, all child resources for the VM Cluster will be deleted. A VM Cluster can only be deleted once all its child resources have been deleted. - * force: 'placeholder-value', - * // Required. The name of the Cloud VM Cluster in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloud_vm_cluster\}. - * name: 'projects/my-project/locations/my-location/cloudVmClusters/my-cloudVmCluster', - * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * }); + * const res = + * await oracledatabase.projects.locations.exascaleDbStorageVaults.delete({ + * // Required. The name of the ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}/exascaleDbStorageVaults/{exascale_db_storage_vault\}. + * name: 'projects/my-project/locations/my-location/exascaleDbStorageVaults/my-exascaleDbStorageVault', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); * console.log(res.data); * * // Example response @@ -7001,31 +13264,31 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ delete( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete, options: StreamMethodOptions ): Promise>; delete( - params?: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, + params?: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete, options?: MethodOptions ): Promise>; delete( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Delete, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete, callback: BodyResponseCallback ): void; delete(callback: BodyResponseCallback): void; delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Cloudvmclusters$Delete + | Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -7041,13 +13304,13 @@ export namespace oracledatabase_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Cloudvmclusters$Delete; + {}) as Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Cloudvmclusters$Delete; + {} as Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete; options = {}; } @@ -7083,7 +13346,7 @@ export namespace oracledatabase_v1 { } /** - * Gets details of a single VM Cluster. + * Gets details of a single ExascaleDB Storage Vault. * @example * ```js * // Before running the sample: @@ -7112,27 +13375,21 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.cloudVmClusters.get({ - * // Required. The name of the Cloud VM Cluster in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloud_vm_cluster\}. - * name: 'projects/my-project/locations/my-location/cloudVmClusters/my-cloudVmCluster', - * }); + * const res = + * await oracledatabase.projects.locations.exascaleDbStorageVaults.get({ + * // Required. The name of the ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}/exascaleDbStorageVaults/{exascale_db_storage_vault\}. + * name: 'projects/my-project/locations/my-location/exascaleDbStorageVaults/my-exascaleDbStorageVault', + * }); * console.log(res.data); * * // Example response * // { - * // "backupOdbSubnet": "my_backupOdbSubnet", - * // "backupSubnetCidr": "my_backupSubnetCidr", - * // "cidr": "my_cidr", * // "createTime": "my_createTime", * // "displayName": "my_displayName", - * // "exadataInfrastructure": "my_exadataInfrastructure", + * // "entitlementId": "my_entitlementId", * // "gcpOracleZone": "my_gcpOracleZone", - * // "identityConnector": {}, * // "labels": {}, * // "name": "my_name", - * // "network": "my_network", - * // "odbNetwork": "my_odbNetwork", - * // "odbSubnet": "my_odbSubnet", * // "properties": {} * // } * } @@ -7150,52 +13407,55 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Get, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get, options: StreamMethodOptions ): Promise>; get( - params?: Params$Resource$Projects$Locations$Cloudvmclusters$Get, + params?: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get, options?: MethodOptions - ): Promise>; + ): Promise>; get( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Get, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Cloudvmclusters$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Cloudvmclusters$Get; + {}) as Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Cloudvmclusters$Get; + params = + {} as Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get; options = {}; } @@ -7221,17 +13481,17 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists the VM Clusters in a given project and location. + * Lists all the ExascaleDB Storage Vaults for the given project and location. * @example * ```js * // Before running the sample: @@ -7260,21 +13520,24 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.cloudVmClusters.list({ - * // Optional. An expression for filtering the results of the request. - * filter: 'placeholder-value', - * // Optional. The number of VM clusters to return. If unspecified, at most 50 VM clusters will be returned. The maximum value is 1,000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying the page of results the server returns. - * pageToken: 'placeholder-value', - * // Required. The name of the parent in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = + * await oracledatabase.projects.locations.exascaleDbStorageVaults.list({ + * // Optional. An expression for filtering the results of the request. Filter the list as specified in https://google.aip.dev/160. + * filter: 'placeholder-value', + * // Optional. An expression for ordering the results of the request. Order results as specified in https://google.aip.dev/132. + * orderBy: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, at most 50 ExascaleDbStorageVaults will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "cloudVmClusters": [], + * // "exascaleDbStorageVaults": [], * // "nextPageToken": "my_nextPageToken", * // "unreachable": [] * // } @@ -7293,56 +13556,61 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Cloudvmclusters$List, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Cloudvmclusters$List, + params?: Params$Resource$Projects$Locations$Exascaledbstoragevaults$List, options?: MethodOptions - ): Promise>; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( - params: Params$Resource$Projects$Locations$Cloudvmclusters$List, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Cloudvmclusters$List, + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Cloudvmclusters$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$List, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Cloudvmclusters$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Exascaledbstoragevaults$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Cloudvmclusters$List; + {}) as Params$Resource$Projects$Locations$Exascaledbstoragevaults$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Cloudvmclusters$List; + params = + {} as Params$Resource$Projects$Locations$Exascaledbstoragevaults$List; options = {}; } @@ -7356,7 +13624,7 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/cloudVmClusters').replace( + url: (rootUrl + '/v1/{+parent}/exascaleDbStorageVaults').replace( /([^:]\/)\/+/g, '$1' ), @@ -7371,42 +13639,40 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } } - export interface Params$Resource$Projects$Locations$Cloudvmclusters$Create extends StandardParameters { + export interface Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create extends StandardParameters { /** - * Required. The ID of the VM Cluster to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + * Required. The ID of the ExascaleDbStorageVault to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. */ - cloudVmClusterId?: string; + exascaleDbStorageVaultId?: string; /** - * Required. The name of the parent in the following format: projects/{project\}/locations/{location\}. + * Required. The value for parent of the ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}. */ parent?: string; /** - * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: string; /** * Request body metadata */ - requestBody?: Schema$CloudVmCluster; + requestBody?: Schema$ExascaleDbStorageVault; } - export interface Params$Resource$Projects$Locations$Cloudvmclusters$Delete extends StandardParameters { - /** - * Optional. If set to true, all child resources for the VM Cluster will be deleted. A VM Cluster can only be deleted once all its child resources have been deleted. - */ - force?: boolean; + export interface Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete extends StandardParameters { /** - * Required. The name of the Cloud VM Cluster in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloud_vm_cluster\}. + * Required. The name of the ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}/exascaleDbStorageVaults/{exascale_db_storage_vault\}. */ name?: string; /** @@ -7414,39 +13680,46 @@ export namespace oracledatabase_v1 { */ requestId?: string; } - export interface Params$Resource$Projects$Locations$Cloudvmclusters$Get extends StandardParameters { + export interface Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get extends StandardParameters { /** - * Required. The name of the Cloud VM Cluster in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloud_vm_cluster\}. + * Required. The name of the ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}/exascaleDbStorageVaults/{exascale_db_storage_vault\}. */ name?: string; } - export interface Params$Resource$Projects$Locations$Cloudvmclusters$List extends StandardParameters { + export interface Params$Resource$Projects$Locations$Exascaledbstoragevaults$List extends StandardParameters { /** - * Optional. An expression for filtering the results of the request. + * Optional. An expression for filtering the results of the request. Filter the list as specified in https://google.aip.dev/160. */ filter?: string; /** - * Optional. The number of VM clusters to return. If unspecified, at most 50 VM clusters will be returned. The maximum value is 1,000. + * Optional. An expression for ordering the results of the request. Order results as specified in https://google.aip.dev/132. + */ + orderBy?: string; + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 ExascaleDbStorageVaults will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ pageSize?: number; /** - * Optional. A token identifying the page of results the server returns. + * Optional. A token identifying a page of results the server should return. */ pageToken?: string; /** - * Required. The name of the parent in the following format: projects/{project\}/locations/{location\}. + * Required. The parent value for ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}. */ parent?: string; } - export class Resource$Projects$Locations$Cloudvmclusters$Dbnodes { + export class Resource$Projects$Locations$Giversions { context: APIRequestContext; + minorVersions: Resource$Projects$Locations$Giversions$Minorversions; constructor(context: APIRequestContext) { this.context = context; + this.minorVersions = + new Resource$Projects$Locations$Giversions$Minorversions(this.context); } /** - * Lists the database nodes of a VM Cluster. + * Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and location. * @example * ```js * // Before running the sample: @@ -7475,21 +13748,21 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await oracledatabase.projects.locations.cloudVmClusters.dbNodes.list({ - * // Optional. The maximum number of items to return. If unspecified, at most 50 db nodes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the node should return. - * pageToken: 'placeholder-value', - * // Required. The parent value for database node in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloudVmCluster\}. . - * parent: - * 'projects/my-project/locations/my-location/cloudVmClusters/my-cloudVmCluster', - * }); + * const res = await oracledatabase.projects.locations.giVersions.list({ + * // Optional. An expression for filtering the results of the request. Only the shape, gcp_oracle_zone and gi_version fields are supported in this format: `shape="{shape\}"`. + * filter: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 Oracle Grid Infrastructure (GI) versions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent value for Grid Infrastructure Version in the following format: Format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "dbNodes": [], + * // "giVersions": [], * // "nextPageToken": "my_nextPageToken" * // } * } @@ -7507,53 +13780,54 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, + params: Params$Resource$Projects$Locations$Giversions$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, + params?: Params$Resource$Projects$Locations$Giversions$List, options?: MethodOptions - ): Promise>; + ): Promise>; list( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, + params: Params$Resource$Projects$Locations$Giversions$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Giversions$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Giversions$List, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; + list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Giversions$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List; + {}) as Params$Resource$Projects$Locations$Giversions$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List; + params = {} as Params$Resource$Projects$Locations$Giversions$List; options = {}; } @@ -7567,7 +13841,7 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/dbNodes').replace( + url: (rootUrl + '/v1/{+parent}/giVersions').replace( /([^:]\/)\/+/g, '$1' ), @@ -7582,39 +13856,43 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Cloudvmclusters$Dbnodes$List extends StandardParameters { + export interface Params$Resource$Projects$Locations$Giversions$List extends StandardParameters { /** - * Optional. The maximum number of items to return. If unspecified, at most 50 db nodes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. An expression for filtering the results of the request. Only the shape, gcp_oracle_zone and gi_version fields are supported in this format: `shape="{shape\}"`. + */ + filter?: string; + /** + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 Oracle Grid Infrastructure (GI) versions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. */ pageSize?: number; /** - * Optional. A token identifying a page of results the node should return. + * Optional. A token identifying a page of results the server should return. */ pageToken?: string; /** - * Required. The parent value for database node in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloudVmCluster\}. . + * Required. The parent value for Grid Infrastructure Version in the following format: Format: projects/{project\}/locations/{location\}. */ parent?: string; } - export class Resource$Projects$Locations$Databasecharactersets { + export class Resource$Projects$Locations$Giversions$Minorversions { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * List DatabaseCharacterSets for the given project and location. + * Lists all the valid minor versions for the given project, location, gi version and shape family. * @example * ```js * // Before running the sample: @@ -7644,21 +13922,22 @@ export namespace oracledatabase_v1 { * * // Do the magic * const res = - * await oracledatabase.projects.locations.databaseCharacterSets.list({ - * // Optional. An expression for filtering the results of the request. Only the **character_set_type** field is supported in the following format: `character_set_type="{characterSetType\}"`. Accepted values include `DATABASE` and `NATIONAL`. + * await oracledatabase.projects.locations.giVersions.minorVersions.list({ + * // Optional. An expression for filtering the results of the request. Only shapeFamily and gcp_oracle_zone_id are supported in this format: `shape_family="{shapeFamily\}" AND gcp_oracle_zone_id="{gcp_oracle_zone_id\}"`. * filter: 'placeholder-value', - * // Optional. The maximum number of DatabaseCharacterSets to return. The service may return fewer than this value. If unspecified, at most 50 DatabaseCharacterSets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 System Versions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. * pageSize: 'placeholder-value', - * // Optional. A page token, received from a previous `ListDatabaseCharacterSets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDatabaseCharacterSets` must match the call that provided the page token. + * // Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. * pageToken: 'placeholder-value', - * // Required. The parent value for DatabaseCharacterSets in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', + * // Required. The parent value for the MinorVersion resource with the format: projects/{project\}/locations/{location\}/giVersions/{gi_version\} + * parent: + * 'projects/my-project/locations/my-location/giVersions/my-giVersion', * }); * console.log(res.data); * * // Example response * // { - * // "databaseCharacterSets": [], + * // "minorVersions": [], * // "nextPageToken": "my_nextPageToken" * // } * } @@ -7676,61 +13955,57 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Databasecharactersets$List, + params: Params$Resource$Projects$Locations$Giversions$Minorversions$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Databasecharactersets$List, + params?: Params$Resource$Projects$Locations$Giversions$Minorversions$List, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; + ): Promise>; list( - params: Params$Resource$Projects$Locations$Databasecharactersets$List, + params: Params$Resource$Projects$Locations$Giversions$Minorversions$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Databasecharactersets$List, + params: Params$Resource$Projects$Locations$Giversions$Minorversions$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Databasecharactersets$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Giversions$Minorversions$List, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Databasecharactersets$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Giversions$Minorversions$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Databasecharactersets$List; + {}) as Params$Resource$Projects$Locations$Giversions$Minorversions$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Databasecharactersets$List; + {} as Params$Resource$Projects$Locations$Giversions$Minorversions$List; options = {}; } @@ -7744,7 +14019,7 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/databaseCharacterSets').replace( + url: (rootUrl + '/v1/{+parent}/minorVersions').replace( /([^:]\/)\/+/g, '$1' ), @@ -7759,45 +14034,43 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Databasecharactersets$List extends StandardParameters { + export interface Params$Resource$Projects$Locations$Giversions$Minorversions$List extends StandardParameters { /** - * Optional. An expression for filtering the results of the request. Only the **character_set_type** field is supported in the following format: `character_set_type="{characterSetType\}"`. Accepted values include `DATABASE` and `NATIONAL`. + * Optional. An expression for filtering the results of the request. Only shapeFamily and gcp_oracle_zone_id are supported in this format: `shape_family="{shapeFamily\}" AND gcp_oracle_zone_id="{gcp_oracle_zone_id\}"`. */ filter?: string; /** - * Optional. The maximum number of DatabaseCharacterSets to return. The service may return fewer than this value. If unspecified, at most 50 DatabaseCharacterSets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 System Versions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. */ pageSize?: number; /** - * Optional. A page token, received from a previous `ListDatabaseCharacterSets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDatabaseCharacterSets` must match the call that provided the page token. + * Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. */ pageToken?: string; /** - * Required. The parent value for DatabaseCharacterSets in the following format: projects/{project\}/locations/{location\}. + * Required. The parent value for the MinorVersion resource with the format: projects/{project\}/locations/{location\}/giVersions/{gi_version\} */ parent?: string; } - export class Resource$Projects$Locations$Databases { + export class Resource$Projects$Locations$Goldengateconnectionassignments { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Gets details of a single Database. + * Creates a new GoldengateConnectionAssignment in a given project and location. * @example * ```js * // Before running the sample: @@ -7826,32 +14099,39 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.databases.get({ - * // Required. The name of the Database resource in the following format: projects/{project\}/locations/{region\}/databases/{database\} - * name: 'projects/my-project/locations/my-location/databases/my-database', - * }); + * const res = + * await oracledatabase.projects.locations.goldengateConnectionAssignments.create( + * { + * // Required. The ID of the GoldengateConnectionAssignment to create. + * goldengateConnectionAssignmentId: 'placeholder-value', + * // Required. The parent resource where this GoldengateConnectionAssignment will be created. Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "labels": {}, + * // "name": "my_name", + * // "properties": {} + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "adminPassword": "my_adminPassword", - * // "adminPasswordSecretVersion": "my_adminPasswordSecretVersion", - * // "characterSet": "my_characterSet", - * // "createTime": "my_createTime", - * // "databaseId": "my_databaseId", - * // "dbHomeName": "my_dbHomeName", - * // "dbName": "my_dbName", - * // "dbUniqueName": "my_dbUniqueName", - * // "gcpOracleZone": "my_gcpOracleZone", + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "ncharacterSet": "my_ncharacterSet", - * // "ociUrl": "my_ociUrl", - * // "opsInsightsStatus": "my_opsInsightsStatus", - * // "pluggableDatabaseId": "my_pluggableDatabaseId", - * // "pluggableDatabaseName": "my_pluggableDatabaseName", - * // "properties": {}, - * // "tdeWalletPassword": "my_tdeWalletPassword", - * // "tdeWalletPasswordSecretVersion": "my_tdeWalletPasswordSecretVersion" + * // "response": {} * // } * } * @@ -7867,53 +14147,54 @@ export namespace oracledatabase_v1 { * @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$Databases$Get, + create( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Databases$Get, + create( + params?: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Databases$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Databases$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Databases$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Databases$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengateconnectionassignments$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Databases$Get; + {}) as Params$Resource$Projects$Locations$Goldengateconnectionassignments$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Databases$Get; + params = + {} as Params$Resource$Projects$Locations$Goldengateconnectionassignments$Create; options = {}; } @@ -7927,29 +14208,31 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: ( + rootUrl + '/v1/{+parent}/goldengateConnectionAssignments' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists all the Databases for the given project, location and DbSystem. + * Deletes a single GoldengateConnectionAssignment. * @example * ```js * // Before running the sample: @@ -7978,22 +14261,24 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.databases.list({ - * // Optional. An expression for filtering the results of the request. list for container databases is supported only with a valid dbSystem (full resource name) filter in this format: `dbSystem="projects/{project\}/locations/{location\}/dbSystems/{dbSystemId\}"` - * filter: 'placeholder-value', - * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 Databases will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. - * pageToken: 'placeholder-value', - * // Required. The parent resource name in the following format: projects/{project\}/locations/{region\} - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = + * await oracledatabase.projects.locations.goldengateConnectionAssignments.delete( + * { + * // Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{project\}/locations/{location\}/goldengateConnectionAssignments/{goldengate_connection_assignment\} + * name: 'projects/my-project/locations/my-location/goldengateConnectionAssignments/my-goldengateConnectionAssignment', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "databases": [], - * // "nextPageToken": "my_nextPageToken" + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -8009,55 +14294,54 @@ export namespace oracledatabase_v1 { * @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$Databases$List, + delete( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Databases$List, + delete( + params?: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Delete, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Databases$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Databases$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Databases$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Delete, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Databases$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengateconnectionassignments$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Databases$List; + {}) as Params$Resource$Projects$Locations$Goldengateconnectionassignments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Databases$List; + params = + {} as Params$Resource$Projects$Locations$Goldengateconnectionassignments$Delete; options = {}; } @@ -8071,64 +14355,29 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/databases').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Databases$Get extends StandardParameters { - /** - * Required. The name of the Database resource in the following format: projects/{project\}/locations/{region\}/databases/{database\} - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Databases$List extends StandardParameters { - /** - * Optional. An expression for filtering the results of the request. list for container databases is supported only with a valid dbSystem (full resource name) filter in this format: `dbSystem="projects/{project\}/locations/{location\}/dbSystems/{dbSystemId\}"` - */ - filter?: string; - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 Databases will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. - */ - pageSize?: number; - /** - * Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. - */ - pageToken?: string; - /** - * Required. The parent resource name in the following format: projects/{project\}/locations/{region\} - */ - parent?: string; - } - - export class Resource$Projects$Locations$Dbsysteminitialstoragesizes { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Lists all the DbSystemInitialStorageSizes for the given project and location. + * Gets details of a single GoldengateConnectionAssignment. * @example * ```js * // Before running the sample: @@ -8158,20 +14407,22 @@ export namespace oracledatabase_v1 { * * // Do the magic * const res = - * await oracledatabase.projects.locations.dbSystemInitialStorageSizes.list({ - * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 DbSystemInitialStorageSizes will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. - * pageToken: 'placeholder-value', - * // Required. The parent value for the DbSystemInitialStorageSize resource with the format: projects/{project\}/locations/{location\} - * parent: 'projects/my-project/locations/my-location', - * }); + * await oracledatabase.projects.locations.goldengateConnectionAssignments.get( + * { + * // Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/{project\}/locations/{location\}/goldengateConnectionAssignments/{goldengate_connection_assignment\} + * name: 'projects/my-project/locations/my-location/goldengateConnectionAssignments/my-goldengateConnectionAssignment', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "dbSystemInitialStorageSizes": [], - * // "nextPageToken": "my_nextPageToken" + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "labels": {}, + * // "name": "my_name", + * // "properties": {} * // } * } * @@ -8187,62 +14438,58 @@ export namespace oracledatabase_v1 { * @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$Dbsysteminitialstoragesizes$List, + get( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Get, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List, + get( + params?: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Get, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List, + get( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Get, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + get( + callback: BodyResponseCallback ): void; - list( + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengateconnectionassignments$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List; + {}) as Params$Resource$Projects$Locations$Goldengateconnectionassignments$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List; + {} as Params$Resource$Projects$Locations$Goldengateconnectionassignments$Get; options = {}; } @@ -8256,55 +14503,31 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/v1/{+parent}/dbSystemInitialStorageSizes' - ).replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } - } - - export interface Params$Resource$Projects$Locations$Dbsysteminitialstoragesizes$List extends StandardParameters { - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 DbSystemInitialStorageSizes will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. - */ - pageSize?: number; - /** - * Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. - */ - pageToken?: string; - /** - * Required. The parent value for the DbSystemInitialStorageSize resource with the format: projects/{project\}/locations/{location\} - */ - parent?: string; - } - - export class Resource$Projects$Locations$Dbsystems { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a new DbSystem in a given project and location. + * Lists GoldengateConnectionAssignments in a given project and location. * @example * ```js * // Before running the sample: @@ -8333,40 +14556,28 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.dbSystems.create({ - * // Required. The ID of the DbSystem to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. - * dbSystemId: 'placeholder-value', - * // Required. The value for parent of the DbSystem in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "displayName": "my_displayName", - * // "entitlementId": "my_entitlementId", - * // "gcpOracleZone": "my_gcpOracleZone", - * // "labels": {}, - * // "name": "my_name", - * // "ociUrl": "my_ociUrl", - * // "odbNetwork": "my_odbNetwork", - * // "odbSubnet": "my_odbSubnet", - * // "properties": {} - * // } - * }, - * }); + * const res = + * await oracledatabase.projects.locations.goldengateConnectionAssignments.list( + * { + * // Optional. A filter expression that filters GoldengateConnectionAssignments listed in the response. + * filter: 'placeholder-value', + * // Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "DESC" after a field name for descending. + * orderBy: 'placeholder-value', + * // Optional. The maximum number of GoldengateConnectionAssignments to return. The service may return fewer than this value. If unspecified, at most 50 GoldengateConnectionAssignments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous `ListGoldengateConnectionAssignments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGoldengateConnectionAssignments` must match the call that provided the page token. + * pageToken: 'placeholder-value', + * // Required. The parent value for the GoldengateConnectionAssignments. Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "goldengateConnectionAssignments": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -8382,53 +14593,62 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Dbsystems$Create, + list( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Dbsystems$Create, + list( + params?: Params$Resource$Projects$Locations$Goldengateconnectionassignments$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Dbsystems$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Dbsystems$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Dbsystems$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Dbsystems$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengateconnectionassignments$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Dbsystems$Create; + {}) as Params$Resource$Projects$Locations$Goldengateconnectionassignments$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Dbsystems$Create; + params = + {} as Params$Resource$Projects$Locations$Goldengateconnectionassignments$List; options = {}; } @@ -8442,11 +14662,10 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/dbSystems').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: ( + rootUrl + '/v1/{+parent}/goldengateConnectionAssignments' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options @@ -8457,17 +14676,19 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Deletes a single DbSystem. + * Tests a single GoldengateConnectionAssignment. * @example * ```js * // Before running the sample: @@ -8496,21 +14717,28 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.dbSystems.delete({ - * // Required. The name of the DbSystem in the following format: projects/{project\}/locations/{location\}/dbSystems/{db_system\}. - * name: 'projects/my-project/locations/my-location/dbSystems/my-dbSystem', - * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * }); + * const res = + * await oracledatabase.projects.locations.goldengateConnectionAssignments.test( + * { + * // Required. Name of the connection assignment for which to test connection. projects/{project\}/locations/{region\}/goldengateConnectionAssignments/{goldengate_connection_assignment\} + * name: 'projects/my-project/locations/my-location/goldengateConnectionAssignments/my-goldengateConnectionAssignment', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "type": "my_type" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "errors": [], + * // "resultType": "my_resultType" * // } * } * @@ -8526,53 +14754,62 @@ export namespace oracledatabase_v1 { * @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$Dbsystems$Delete, + test( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Test, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Dbsystems$Delete, + test( + params?: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Test, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Dbsystems$Delete, + ): Promise< + GaxiosResponseWithHTTP2 + >; + test( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Test, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Dbsystems$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + test( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Test, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Dbsystems$Delete, - callback: BodyResponseCallback + test( + params: Params$Resource$Projects$Locations$Goldengateconnectionassignments$Test, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + test( + callback: BodyResponseCallback + ): void; + test( paramsOrCallback?: - | Params$Resource$Projects$Locations$Dbsystems$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengateconnectionassignments$Test + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Dbsystems$Delete; + {}) as Params$Resource$Projects$Locations$Goldengateconnectionassignments$Test; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Dbsystems$Delete; + params = + {} as Params$Resource$Projects$Locations$Goldengateconnectionassignments$Test; options = {}; } @@ -8586,8 +14823,8 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+name}:test').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', apiVersion: '', }, options @@ -8598,17 +14835,95 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } + } + export interface Params$Resource$Projects$Locations$Goldengateconnectionassignments$Create extends StandardParameters { /** - * Gets details of a single DbSystem. + * Required. The ID of the GoldengateConnectionAssignment to create. + */ + goldengateConnectionAssignmentId?: string; + /** + * Required. The parent resource where this GoldengateConnectionAssignment will be created. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoldengateConnectionAssignment; + } + export interface Params$Resource$Projects$Locations$Goldengateconnectionassignments$Delete extends StandardParameters { + /** + * Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{project\}/locations/{location\}/goldengateConnectionAssignments/{goldengate_connection_assignment\} + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Goldengateconnectionassignments$Get extends StandardParameters { + /** + * Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/{project\}/locations/{location\}/goldengateConnectionAssignments/{goldengate_connection_assignment\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Goldengateconnectionassignments$List extends StandardParameters { + /** + * Optional. A filter expression that filters GoldengateConnectionAssignments listed in the response. + */ + filter?: string; + /** + * Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "DESC" after a field name for descending. + */ + orderBy?: string; + /** + * Optional. The maximum number of GoldengateConnectionAssignments to return. The service may return fewer than this value. If unspecified, at most 50 GoldengateConnectionAssignments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListGoldengateConnectionAssignments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGoldengateConnectionAssignments` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent value for the GoldengateConnectionAssignments. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Goldengateconnectionassignments$Test extends StandardParameters { + /** + * Required. Name of the connection assignment for which to test connection. projects/{project\}/locations/{region\}/goldengateConnectionAssignments/{goldengate_connection_assignment\} + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestGoldengateConnectionAssignmentRequest; + } + + export class Resource$Projects$Locations$Goldengateconnections { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new GoldengateConnection in a given project and location. * @example * ```js * // Before running the sample: @@ -8637,24 +14952,40 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.dbSystems.get({ - * // Required. The name of the DbSystem in the following format: projects/{project\}/locations/{location\}/dbSystems/{db_system\}. - * name: 'projects/my-project/locations/my-location/dbSystems/my-dbSystem', - * }); + * const res = + * await oracledatabase.projects.locations.goldengateConnections.create({ + * // Required. The ID of the GoldengateConnection to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + * goldengateConnectionId: 'placeholder-value', + * // Required. The value for parent of the GoldengateConnection in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "entitlementId": "my_entitlementId", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "labels": {}, + * // "name": "my_name", + * // "ociUrl": "my_ociUrl", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "properties": {} + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", - * // "displayName": "my_displayName", - * // "entitlementId": "my_entitlementId", - * // "gcpOracleZone": "my_gcpOracleZone", - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "ociUrl": "my_ociUrl", - * // "odbNetwork": "my_odbNetwork", - * // "odbSubnet": "my_odbSubnet", - * // "properties": {} + * // "response": {} * // } * } * @@ -8670,53 +15001,54 @@ export namespace oracledatabase_v1 { * @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$Dbsystems$Get, + create( + params: Params$Resource$Projects$Locations$Goldengateconnections$Create, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Dbsystems$Get, + create( + params?: Params$Resource$Projects$Locations$Goldengateconnections$Create, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Dbsystems$Get, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Goldengateconnections$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Dbsystems$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Goldengateconnections$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Dbsystems$Get, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Goldengateconnections$Create, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Dbsystems$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengateconnections$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Dbsystems$Get; + {}) as Params$Resource$Projects$Locations$Goldengateconnections$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Dbsystems$Get; + params = + {} as Params$Resource$Projects$Locations$Goldengateconnections$Create; options = {}; } @@ -8730,29 +15062,32 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+parent}/goldengateConnections').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists all the DbSystems for the given project and location. + * Deletes a single GoldengateConnection. * @example * ```js * // Before running the sample: @@ -8781,25 +15116,22 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.dbSystems.list({ - * // Optional. An expression for filtering the results of the request. - * filter: 'placeholder-value', - * // Optional. An expression for ordering the results of the request. - * orderBy: 'placeholder-value', - * // Optional. The maximum number of items to return. If unspecified, at most 50 DbSystems will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The parent value for DbSystems in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = + * await oracledatabase.projects.locations.goldengateConnections.delete({ + * // Required. The name of the GoldengateConnection in the following format: projects/{project\}/locations/{location\}/goldengateConnections/{goldengate_connection\}. + * name: 'projects/my-project/locations/my-location/goldengateConnections/my-goldengateConnection', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "dbSystems": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -8815,55 +15147,54 @@ export namespace oracledatabase_v1 { * @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$Dbsystems$List, + delete( + params: Params$Resource$Projects$Locations$Goldengateconnections$Delete, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Dbsystems$List, + delete( + params?: Params$Resource$Projects$Locations$Goldengateconnections$Delete, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Dbsystems$List, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Goldengateconnections$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Dbsystems$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Goldengateconnections$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Dbsystems$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Goldengateconnections$Delete, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Dbsystems$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengateconnections$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Dbsystems$List; + {}) as Params$Resource$Projects$Locations$Goldengateconnections$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Dbsystems$List; + params = + {} as Params$Resource$Projects$Locations$Goldengateconnections$Delete; options = {}; } @@ -8877,97 +15208,29 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/dbSystems').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Dbsystems$Create extends StandardParameters { - /** - * Required. The ID of the DbSystem to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. - */ - dbSystemId?: string; - /** - * Required. The value for parent of the DbSystem in the following format: projects/{project\}/locations/{location\}. - */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$DbSystem; - } - export interface Params$Resource$Projects$Locations$Dbsystems$Delete extends StandardParameters { - /** - * Required. The name of the DbSystem in the following format: projects/{project\}/locations/{location\}/dbSystems/{db_system\}. - */ - name?: string; - /** - * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Dbsystems$Get extends StandardParameters { - /** - * Required. The name of the DbSystem in the following format: projects/{project\}/locations/{location\}/dbSystems/{db_system\}. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Dbsystems$List extends StandardParameters { - /** - * Optional. An expression for filtering the results of the request. - */ - filter?: string; - /** - * Optional. An expression for ordering the results of the request. - */ - orderBy?: string; - /** - * Optional. The maximum number of items to return. If unspecified, at most 50 DbSystems will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - */ - pageSize?: number; - /** - * Optional. A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. The parent value for DbSystems in the following format: projects/{project\}/locations/{location\}. - */ - parent?: string; - } - - export class Resource$Projects$Locations$Dbsystemshapes { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Lists the database system shapes available for the project and location. + * Gets details of a single GoldengateConnection. * @example * ```js * // Before running the sample: @@ -8996,22 +15259,25 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.dbSystemShapes.list({ - * // Optional. An expression for filtering the results of the request. Only the gcp_oracle_zone_id field is supported in this format: `gcp_oracle_zone_id="{gcp_oracle_zone_id\}"`. - * filter: 'placeholder-value', - * // Optional. The maximum number of items to return. If unspecified, at most 50 database system shapes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The parent value for Database System Shapes in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = await oracledatabase.projects.locations.goldengateConnections.get( + * { + * // Required. The name of the GoldengateConnection in the following format: projects/{project\}/locations/{location\}/goldengateConnections/{goldengate_connection\}. + * name: 'projects/my-project/locations/my-location/goldengateConnections/my-goldengateConnection', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "dbSystemShapes": [], - * // "nextPageToken": "my_nextPageToken" + * // "createTime": "my_createTime", + * // "entitlementId": "my_entitlementId", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "labels": {}, + * // "name": "my_name", + * // "ociUrl": "my_ociUrl", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "properties": {} * // } * } * @@ -9027,57 +15293,56 @@ export namespace oracledatabase_v1 { * @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$Dbsystemshapes$List, + get( + params: Params$Resource$Projects$Locations$Goldengateconnections$Get, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Dbsystemshapes$List, + get( + params?: Params$Resource$Projects$Locations$Goldengateconnections$Get, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Dbsystemshapes$List, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Goldengateconnections$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Dbsystemshapes$List, + get( + params: Params$Resource$Projects$Locations$Goldengateconnections$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Dbsystemshapes$List, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Goldengateconnections$Get, + callback: BodyResponseCallback ): void; - list( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Dbsystemshapes$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengateconnections$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Dbsystemshapes$List; + {}) as Params$Resource$Projects$Locations$Goldengateconnections$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Dbsystemshapes$List; + params = + {} as Params$Resource$Projects$Locations$Goldengateconnections$Get; options = {}; } @@ -9091,58 +15356,29 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/dbSystemShapes').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}').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$Dbsystemshapes$List extends StandardParameters { - /** - * Optional. An expression for filtering the results of the request. Only the gcp_oracle_zone_id field is supported in this format: `gcp_oracle_zone_id="{gcp_oracle_zone_id\}"`. - */ - filter?: string; - /** - * Optional. The maximum number of items to return. If unspecified, at most 50 database system shapes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - */ - pageSize?: number; - /** - * Optional. A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. The parent value for Database System Shapes in the following format: projects/{project\}/locations/{location\}. - */ - parent?: string; - } - - export class Resource$Projects$Locations$Dbversions { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } } /** - * List DbVersions for the given project and location. + * Lists all the GoldengateConnections for the given project and location. * @example * ```js * // Before running the sample: @@ -9171,22 +15407,26 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.dbVersions.list({ - * // Optional. Filter expression that matches a subset of the DbVersions to show. The supported filter for dbSystem creation is `db_system_shape = {db_system_shape\} AND storage_management = {storage_management\}`. If no filter is provided, all DbVersions will be returned. - * filter: 'placeholder-value', - * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 DbVersions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. - * pageToken: 'placeholder-value', - * // Required. The parent value for the DbVersion resource with the format: projects/{project\}/locations/{location\} - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = + * await oracledatabase.projects.locations.goldengateConnections.list({ + * // Optional. An expression for filtering the results of the request. + * filter: 'placeholder-value', + * // Optional. An expression for ordering the results of the request. + * orderBy: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, at most 50 GoldengateConnections will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A page token, received from a previous ListGoldengateConnections call. Provide this to retrieve the subsequent page. + * pageToken: 'placeholder-value', + * // Required. The parent value for GoldengateConnections in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "dbVersions": [], - * // "nextPageToken": "my_nextPageToken" + * // "goldengateConnections": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -9203,54 +15443,61 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Dbversions$List, + params: Params$Resource$Projects$Locations$Goldengateconnections$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Dbversions$List, + params?: Params$Resource$Projects$Locations$Goldengateconnections$List, options?: MethodOptions - ): Promise>; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( - params: Params$Resource$Projects$Locations$Dbversions$List, + params: Params$Resource$Projects$Locations$Goldengateconnections$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Dbversions$List, + params: Params$Resource$Projects$Locations$Goldengateconnections$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Dbversions$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Goldengateconnections$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Dbversions$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengateconnections$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Dbversions$List; + {}) as Params$Resource$Projects$Locations$Goldengateconnections$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Dbversions$List; + params = + {} as Params$Resource$Projects$Locations$Goldengateconnections$List; options = {}; } @@ -9264,7 +15511,7 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/dbVersions').replace( + url: (rootUrl + '/v1/{+parent}/goldengateConnections').replace( /([^:]\/)\/+/g, '$1' ), @@ -9279,43 +15526,84 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } } - export interface Params$Resource$Projects$Locations$Dbversions$List extends StandardParameters { + export interface Params$Resource$Projects$Locations$Goldengateconnections$Create extends StandardParameters { /** - * Optional. Filter expression that matches a subset of the DbVersions to show. The supported filter for dbSystem creation is `db_system_shape = {db_system_shape\} AND storage_management = {storage_management\}`. If no filter is provided, all DbVersions will be returned. + * Required. The ID of the GoldengateConnection to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + */ + goldengateConnectionId?: string; + /** + * Required. The value for parent of the GoldengateConnection in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoldengateConnection; + } + export interface Params$Resource$Projects$Locations$Goldengateconnections$Delete extends StandardParameters { + /** + * Required. The name of the GoldengateConnection in the following format: projects/{project\}/locations/{location\}/goldengateConnections/{goldengate_connection\}. + */ + name?: string; + /** + * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Goldengateconnections$Get extends StandardParameters { + /** + * Required. The name of the GoldengateConnection in the following format: projects/{project\}/locations/{location\}/goldengateConnections/{goldengate_connection\}. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Goldengateconnections$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. */ filter?: string; /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 DbVersions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + * Optional. An expression for ordering the results of the request. + */ + orderBy?: string; + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 GoldengateConnections will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ pageSize?: number; /** - * Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. + * Optional. A page token, received from a previous ListGoldengateConnections call. Provide this to retrieve the subsequent page. */ pageToken?: string; /** - * Required. The parent value for the DbVersion resource with the format: projects/{project\}/locations/{location\} + * Required. The parent value for GoldengateConnections in the following format: projects/{project\}/locations/{location\}. */ parent?: string; } - export class Resource$Projects$Locations$Entitlements { + export class Resource$Projects$Locations$Goldengateconnectiontypes { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Lists the entitlements in a given project. + * Gets details of a single GoldengateConnectionType. * @example * ```js * // Before running the sample: @@ -9344,20 +15632,18 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.entitlements.list({ - * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 entitlements will be returned. The maximum value is 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The parent value for the entitlement in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = + * await oracledatabase.projects.locations.goldengateConnectionTypes.get({ + * // Required. Name of the resource in the format: projects/{project\}/locations/{location\}/goldengateConnectionTypes/{goldengate_connection_type\} + * name: 'projects/my-project/locations/my-location/goldengateConnectionTypes/my-goldengateConnectionType', + * }); * console.log(res.data); * * // Example response * // { - * // "entitlements": [], - * // "nextPageToken": "my_nextPageToken" + * // "connectionType": "my_connectionType", + * // "name": "my_name", + * // "technologyTypes": [] * // } * } * @@ -9373,55 +15659,56 @@ export namespace oracledatabase_v1 { * @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$Entitlements$List, + get( + params: Params$Resource$Projects$Locations$Goldengateconnectiontypes$Get, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Entitlements$List, + get( + params?: Params$Resource$Projects$Locations$Goldengateconnectiontypes$Get, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Entitlements$List, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Goldengateconnectiontypes$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Entitlements$List, + get( + params: Params$Resource$Projects$Locations$Goldengateconnectiontypes$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Entitlements$List, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Goldengateconnectiontypes$Get, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Entitlements$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengateconnectiontypes$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Entitlements$List; + {}) as Params$Resource$Projects$Locations$Goldengateconnectiontypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Entitlements$List; + params = + {} as Params$Resource$Projects$Locations$Goldengateconnectiontypes$Get; options = {}; } @@ -9435,58 +15722,29 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/entitlements').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Entitlements$List extends StandardParameters { - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 entitlements will be returned. The maximum value is 1000. - */ - pageSize?: number; - /** - * Optional. A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. The parent value for the entitlement in the following format: projects/{project\}/locations/{location\}. - */ - parent?: string; - } - - export class Resource$Projects$Locations$Exadbvmclusters { - context: APIRequestContext; - dbNodes: Resource$Projects$Locations$Exadbvmclusters$Dbnodes; - constructor(context: APIRequestContext) { - this.context = context; - this.dbNodes = new Resource$Projects$Locations$Exadbvmclusters$Dbnodes( - this.context - ); - } /** - * Creates a new Exadb (Exascale) VM Cluster resource. + * Lists GoldengateConnectionTypes in a given project and location. * @example * ```js * // Before running the sample: @@ -9515,40 +15773,24 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.exadbVmClusters.create({ - * // Required. The ID of the ExadbVmCluster to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. - * exadbVmClusterId: 'placeholder-value', - * // Required. The value for parent of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "backupOdbSubnet": "my_backupOdbSubnet", - * // "createTime": "my_createTime", - * // "displayName": "my_displayName", - * // "entitlementId": "my_entitlementId", - * // "gcpOracleZone": "my_gcpOracleZone", - * // "labels": {}, - * // "name": "my_name", - * // "odbNetwork": "my_odbNetwork", - * // "odbSubnet": "my_odbSubnet", - * // "properties": {} - * // } - * }, - * }); + * const res = + * await oracledatabase.projects.locations.goldengateConnectionTypes.list({ + * // Optional. An expression for filtering the results of the request. The connection_type field must be specified in the format: `connection_type="ORACLE"`. + * filter: 'placeholder-value', + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. Parent value for ListGoldengateConnectionTypesRequest Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "goldengateConnectionTypes": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -9564,54 +15806,62 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Create, + list( + params: Params$Resource$Projects$Locations$Goldengateconnectiontypes$List, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Exadbvmclusters$Create, + list( + params?: Params$Resource$Projects$Locations$Goldengateconnectiontypes$List, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Create, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Goldengateconnectiontypes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Goldengateconnectiontypes$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Create, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Goldengateconnectiontypes$List, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Exadbvmclusters$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengateconnectiontypes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Exadbvmclusters$Create; + {}) as Params$Resource$Projects$Locations$Goldengateconnectiontypes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Exadbvmclusters$Create; + {} as Params$Resource$Projects$Locations$Goldengateconnectiontypes$List; options = {}; } @@ -9625,11 +15875,11 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/exadbVmClusters').replace( + url: (rootUrl + '/v1/{+parent}/goldengateConnectionTypes').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options @@ -9640,17 +15890,51 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } + } + export interface Params$Resource$Projects$Locations$Goldengateconnectiontypes$Get extends StandardParameters { /** - * Deletes a single Exadb (Exascale) VM Cluster. + * Required. Name of the resource in the format: projects/{project\}/locations/{location\}/goldengateConnectionTypes/{goldengate_connection_type\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Goldengateconnectiontypes$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. The connection_type field must be specified in the format: `connection_type="ORACLE"`. + */ + filter?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. Parent value for ListGoldengateConnectionTypesRequest Format: projects/{project\}/locations/{location\} + */ + parent?: string; + } + + export class Resource$Projects$Locations$Goldengatedeploymentenvironments { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets details of a single GoldengateDeploymentEnvironment. * @example * ```js * // Before running the sample: @@ -9679,21 +15963,28 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.exadbVmClusters.delete({ - * // Required. The name of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}/exadbVmClusters/{exadb_vm_cluster\}. - * name: 'projects/my-project/locations/my-location/exadbVmClusters/my-exadbVmCluster', - * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * }); + * const res = + * await oracledatabase.projects.locations.goldengateDeploymentEnvironments.get( + * { + * // Required. Name of the resource with the format: projects/{project\}/locations/{location\}/goldengateDeploymentEnvironments/{goldengate_deployment_environment\} + * name: 'projects/my-project/locations/my-location/goldengateDeploymentEnvironments/my-goldengateDeploymentEnvironment', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "autoScalingEnabled": false, + * // "category": "my_category", + * // "defaultCpuCoreCount": 0, + * // "displayName": "my_displayName", + * // "environmentType": "my_environmentType", + * // "maxCpuCoreCount": 0, + * // "memoryGbPerCpuCore": 0, + * // "minCpuCoreCount": 0, * // "name": "my_name", - * // "response": {} + * // "networkBandwidthGbpsPerCpuCore": 0, + * // "storageUsageLimitGbPerCpuCore": 0 * // } * } * @@ -9709,54 +16000,58 @@ export namespace oracledatabase_v1 { * @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$Exadbvmclusters$Delete, + get( + params: Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$Get, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Exadbvmclusters$Delete, + get( + params?: Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$Get, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Delete, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Delete, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$Get, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + get( + callback: BodyResponseCallback + ): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Exadbvmclusters$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Exadbvmclusters$Delete; + {}) as Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Exadbvmclusters$Delete; + {} as Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$Get; options = {}; } @@ -9771,7 +16066,7 @@ export namespace oracledatabase_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'GET', apiVersion: '', }, options @@ -9782,17 +16077,19 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Gets details of a single Exadb (Exascale) VM Cluster. + * Lists GoldengateDeploymentEnvironments in a given project and location. * @example * ```js * // Before running the sample: @@ -9821,24 +16118,24 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.exadbVmClusters.get({ - * // Required. The name of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}/exadbVmClusters/{exadb_vm_cluster\}. - * name: 'projects/my-project/locations/my-location/exadbVmClusters/my-exadbVmCluster', - * }); + * const res = + * await oracledatabase.projects.locations.goldengateDeploymentEnvironments.list( + * { + * // Optional. The maximum number of items to return. If unspecified, at most 50 deployment environments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * pageSize: 'placeholder-value', + * // Optional. A token identifying a page of results the server should return. + * pageToken: 'placeholder-value', + * // Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "backupOdbSubnet": "my_backupOdbSubnet", - * // "createTime": "my_createTime", - * // "displayName": "my_displayName", - * // "entitlementId": "my_entitlementId", - * // "gcpOracleZone": "my_gcpOracleZone", - * // "labels": {}, - * // "name": "my_name", - * // "odbNetwork": "my_odbNetwork", - * // "odbSubnet": "my_odbSubnet", - * // "properties": {} + * // "goldengateDeploymentEnvironments": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -9854,53 +16151,62 @@ export namespace oracledatabase_v1 { * @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$Exadbvmclusters$Get, + list( + params: Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$List, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Exadbvmclusters$Get, + list( + params?: Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$List, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Get, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Get, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$List, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Exadbvmclusters$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Exadbvmclusters$Get; + {}) as Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Exadbvmclusters$Get; + params = + {} as Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$List; options = {}; } @@ -9914,29 +16220,61 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: ( + rootUrl + '/v1/{+parent}/goldengateDeploymentEnvironments' + ).replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } + } + export interface Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$Get extends StandardParameters { /** - * Lists all the Exadb (Exascale) VM Clusters for the given project and location. + * Required. Name of the resource with the format: projects/{project\}/locations/{location\}/goldengateDeploymentEnvironments/{goldengate_deployment_environment\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Goldengatedeploymentenvironments$List extends StandardParameters { + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 deployment environments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. Format: projects/{project\}/locations/{location\} + */ + parent?: string; + } + + export class Resource$Projects$Locations$Goldengatedeployments { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new GoldengateDeployment in a given project and location. * @example * ```js * // Before running the sample: @@ -9965,25 +16303,41 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.exadbVmClusters.list({ - * // Optional. An expression for filtering the results of the request. - * filter: 'placeholder-value', - * // Optional. An expression for ordering the results of the request. - * orderBy: 'placeholder-value', - * // Optional. The maximum number of items to return. If unspecified, at most 50 ExadbVmClusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The parent value for ExadbVmClusters in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = + * await oracledatabase.projects.locations.goldengateDeployments.create({ + * // Required. The ID of the GoldengateDeployment to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + * goldengateDeploymentId: 'placeholder-value', + * // Required. The value for parent of the GoldengateDeployment in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "labels": {}, + * // "name": "my_name", + * // "ociUrl": "my_ociUrl", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "properties": {} + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "exadbVmClusters": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -9999,57 +16353,54 @@ export namespace oracledatabase_v1 { * @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$Exadbvmclusters$List, + create( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Create, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Exadbvmclusters$List, + create( + params?: Params$Resource$Projects$Locations$Goldengatedeployments$Create, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Exadbvmclusters$List, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Exadbvmclusters$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Exadbvmclusters$List, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Create, + callback: BodyResponseCallback ): void; - list( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Exadbvmclusters$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengatedeployments$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Exadbvmclusters$List; + {}) as Params$Resource$Projects$Locations$Goldengatedeployments$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Exadbvmclusters$List; + params = + {} as Params$Resource$Projects$Locations$Goldengatedeployments$Create; options = {}; } @@ -10063,11 +16414,11 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/exadbVmClusters').replace( + url: (rootUrl + '/v1/{+parent}/goldengateDeployments').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options @@ -10078,17 +16429,17 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to existing exadb vm cluster, only pass the node count. + * Deletes a single GoldengateDeployment. * @example * ```js * // Before running the sample: @@ -10117,31 +16468,13 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.exadbVmClusters.patch({ - * // Identifier. The name of the ExadbVmCluster resource in the following format: projects/{project\}/locations/{region\}/exadbVmClusters/{exadb_vm_cluster\} - * name: 'projects/my-project/locations/my-location/exadbVmClusters/my-exadbVmCluster', - * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Optional. A mask specifying which fields in th VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided then all the fields in the VM Cluster are overwritten. - * updateMask: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "backupOdbSubnet": "my_backupOdbSubnet", - * // "createTime": "my_createTime", - * // "displayName": "my_displayName", - * // "entitlementId": "my_entitlementId", - * // "gcpOracleZone": "my_gcpOracleZone", - * // "labels": {}, - * // "name": "my_name", - * // "odbNetwork": "my_odbNetwork", - * // "odbSubnet": "my_odbSubnet", - * // "properties": {} - * // } - * }, - * }); + * const res = + * await oracledatabase.projects.locations.goldengateDeployments.delete({ + * // Required. The name of the GoldengateDeployment in the following format: projects/{project\}/locations/{location\}/goldengateDeployments/{goldengate_deployment\}. + * name: 'projects/my-project/locations/my-location/goldengateDeployments/my-goldengateDeployment', + * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); * console.log(res.data); * * // Example response @@ -10166,32 +16499,32 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Patch, + delete( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Delete, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Exadbvmclusters$Patch, + delete( + params?: Params$Resource$Projects$Locations$Goldengatedeployments$Delete, options?: MethodOptions ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Patch, + delete( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Patch, + delete( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Patch, + delete( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Delete, callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Exadbvmclusters$Patch + | Params$Resource$Projects$Locations$Goldengatedeployments$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -10207,12 +16540,13 @@ export namespace oracledatabase_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Exadbvmclusters$Patch; + {}) as Params$Resource$Projects$Locations$Goldengatedeployments$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Exadbvmclusters$Patch; + params = + {} as Params$Resource$Projects$Locations$Goldengatedeployments$Delete; options = {}; } @@ -10227,7 +16561,7 @@ export namespace oracledatabase_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'DELETE', apiVersion: '', }, options @@ -10248,7 +16582,7 @@ export namespace oracledatabase_v1 { } /** - * Removes virtual machines from an existing exadb vm cluster. + * Gets details of a single GoldengateDeployment. * @example * ```js * // Before running the sample: @@ -10277,31 +16611,26 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await oracledatabase.projects.locations.exadbVmClusters.removeVirtualMachine( - * { - * // Required. The name of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}/exadbVmClusters/{exadb_vm_cluster\}. - * name: 'projects/my-project/locations/my-location/exadbVmClusters/my-exadbVmCluster', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "hostnames": [], - * // "requestId": "my_requestId" - * // } - * }, - * }, - * ); + * const res = await oracledatabase.projects.locations.goldengateDeployments.get( + * { + * // Required. The name of the GoldengateDeployment in the following format: projects/{project\}/locations/{location\}/goldengateDeployments/{goldengate_deployment\}. + * name: 'projects/my-project/locations/my-location/goldengateDeployments/my-goldengateDeployment', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "createTime": "my_createTime", + * // "displayName": "my_displayName", + * // "entitlementId": "my_entitlementId", + * // "gcpOracleZone": "my_gcpOracleZone", + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "ociUrl": "my_ociUrl", + * // "odbNetwork": "my_odbNetwork", + * // "odbSubnet": "my_odbSubnet", + * // "properties": {} * // } * } * @@ -10317,190 +16646,92 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - removeVirtualMachine( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine, + get( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Get, options: StreamMethodOptions ): Promise>; - removeVirtualMachine( - params?: Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine, + get( + params?: Params$Resource$Projects$Locations$Goldengatedeployments$Get, options?: MethodOptions - ): Promise>; - removeVirtualMachine( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - removeVirtualMachine( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - removeVirtualMachine( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - removeVirtualMachine( - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Get, + callback: BodyResponseCallback ): void; - removeVirtualMachine( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengatedeployments$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://oracledatabase.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}:removeVirtualMachine').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Exadbvmclusters$Create extends StandardParameters { - /** - * Required. The ID of the ExadbVmCluster to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. - */ - exadbVmClusterId?: string; - /** - * Required. The value for parent of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}. - */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$ExadbVmCluster; - } - export interface Params$Resource$Projects$Locations$Exadbvmclusters$Delete extends StandardParameters { - /** - * Required. The name of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}/exadbVmClusters/{exadb_vm_cluster\}. - */ - name?: string; - /** - * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Exadbvmclusters$Get extends StandardParameters { - /** - * Required. The name of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}/exadbVmClusters/{exadb_vm_cluster\}. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Exadbvmclusters$List extends StandardParameters { - /** - * Optional. An expression for filtering the results of the request. - */ - filter?: string; - /** - * Optional. An expression for ordering the results of the request. - */ - orderBy?: string; - /** - * Optional. The maximum number of items to return. If unspecified, at most 50 ExadbVmClusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - */ - pageSize?: number; - /** - * Optional. A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. The parent value for ExadbVmClusters in the following format: projects/{project\}/locations/{location\}. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Exadbvmclusters$Patch extends StandardParameters { - /** - * Identifier. The name of the ExadbVmCluster resource in the following format: projects/{project\}/locations/{region\}/exadbVmClusters/{exadb_vm_cluster\} - */ - name?: string; - /** - * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. A mask specifying which fields in th VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided then all the fields in the VM Cluster are overwritten. - */ - updateMask?: string; + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Goldengatedeployments$Get; + let options = (optionsOrCallback || {}) as MethodOptions; - /** - * Request body metadata - */ - requestBody?: Schema$ExadbVmCluster; - } - export interface Params$Resource$Projects$Locations$Exadbvmclusters$Removevirtualmachine extends StandardParameters { - /** - * Required. The name of the ExadbVmCluster in the following format: projects/{project\}/locations/{location\}/exadbVmClusters/{exadb_vm_cluster\}. - */ - name?: string; + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Goldengatedeployments$Get; + options = {}; + } - /** - * Request body metadata - */ - requestBody?: Schema$RemoveVirtualMachineExadbVmClusterRequest; - } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } - export class Resource$Projects$Locations$Exadbvmclusters$Dbnodes { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + const rootUrl = + options.rootUrl || 'https://oracledatabase.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 the database nodes of a VM Cluster. + * Lists all the GoldengateDeployments for the given project and location. * @example * ```js * // Before running the sample: @@ -10530,21 +16761,25 @@ export namespace oracledatabase_v1 { * * // Do the magic * const res = - * await oracledatabase.projects.locations.exadbVmClusters.dbNodes.list({ - * // Optional. The maximum number of items to return. If unspecified, at most 50 db nodes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * await oracledatabase.projects.locations.goldengateDeployments.list({ + * // Optional. An expression for filtering the results of the request. + * filter: 'placeholder-value', + * // Optional. An expression for ordering the results of the request. + * orderBy: 'placeholder-value', + * // Optional. The maximum number of items to return. If unspecified, at most 50 GoldengateDeployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the node should return. + * // Optional. A page token, received from a previous ListGoldengateDeployments call. Provide this to retrieve the subsequent page. * pageToken: 'placeholder-value', - * // Required. The parent value for database node in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloudVmCluster\}. . - * parent: - * 'projects/my-project/locations/my-location/exadbVmClusters/my-exadbVmCluster', + * // Required. The parent value for GoldengateDeployments in the following format: projects/{project\}/locations/{location\}. + * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "dbNodes": [], - * // "nextPageToken": "my_nextPageToken" + * // "goldengateDeployments": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -10561,53 +16796,61 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List, + params: Params$Resource$Projects$Locations$Goldengatedeployments$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List, + params?: Params$Resource$Projects$Locations$Goldengatedeployments$List, options?: MethodOptions - ): Promise>; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List, + params: Params$Resource$Projects$Locations$Goldengatedeployments$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Goldengatedeployments$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Goldengatedeployments$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengatedeployments$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List; + {}) as Params$Resource$Projects$Locations$Goldengatedeployments$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List; + {} as Params$Resource$Projects$Locations$Goldengatedeployments$List; options = {}; } @@ -10621,7 +16864,7 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/dbNodes').replace( + url: (rootUrl + '/v1/{+parent}/goldengateDeployments').replace( /([^:]\/)\/+/g, '$1' ), @@ -10636,39 +16879,19 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } - } - - export interface Params$Resource$Projects$Locations$Exadbvmclusters$Dbnodes$List extends StandardParameters { - /** - * Optional. The maximum number of items to return. If unspecified, at most 50 db nodes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - */ - pageSize?: number; - /** - * Optional. A token identifying a page of results the node should return. - */ - pageToken?: string; - /** - * Required. The parent value for database node in the following format: projects/{project\}/locations/{location\}/cloudVmClusters/{cloudVmCluster\}. . - */ - parent?: string; - } - - export class Resource$Projects$Locations$Exascaledbstoragevaults { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a new ExascaleDB Storage Vault resource. + * Starts a single GoldengateDeployment. * @example * ```js * // Before running the sample: @@ -10698,26 +16921,14 @@ export namespace oracledatabase_v1 { * * // Do the magic * const res = - * await oracledatabase.projects.locations.exascaleDbStorageVaults.create({ - * // Required. The ID of the ExascaleDbStorageVault to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. - * exascaleDbStorageVaultId: 'placeholder-value', - * // Required. The value for parent of the ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', + * await oracledatabase.projects.locations.goldengateDeployments.start({ + * // Required. The name of the Goldengate Deployment in the following format: projects/{project\}/locations/{location\}/goldengateDeployments/{goldengate_deployment\}. + * name: 'projects/my-project/locations/my-location/goldengateDeployments/my-goldengateDeployment', * * // Request body metadata * requestBody: { * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "displayName": "my_displayName", - * // "entitlementId": "my_entitlementId", - * // "gcpOracleZone": "my_gcpOracleZone", - * // "labels": {}, - * // "name": "my_name", - * // "properties": {} - * // } + * // {} * }, * }); * console.log(res.data); @@ -10744,32 +16955,32 @@ export namespace oracledatabase_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create, + start( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Start, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create, + start( + params?: Params$Resource$Projects$Locations$Goldengatedeployments$Start, options?: MethodOptions ): Promise>; - create( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create, + start( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Start, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create, + start( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Start, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create, + start( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Start, callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + start(callback: BodyResponseCallback): void; + start( paramsOrCallback?: - | Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create + | Params$Resource$Projects$Locations$Goldengatedeployments$Start | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -10785,13 +16996,13 @@ export namespace oracledatabase_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create; + {}) as Params$Resource$Projects$Locations$Goldengatedeployments$Start; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create; + {} as Params$Resource$Projects$Locations$Goldengatedeployments$Start; options = {}; } @@ -10805,18 +17016,15 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/exascaleDbStorageVaults').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}:start').replace(/([^:]\/)\/+/g, '$1'), method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { @@ -10830,7 +17038,7 @@ export namespace oracledatabase_v1 { } /** - * Deletes a single ExascaleDB Storage Vault. + * Stops a single GoldengateDeployment. * @example * ```js * // Before running the sample: @@ -10860,11 +17068,15 @@ export namespace oracledatabase_v1 { * * // Do the magic * const res = - * await oracledatabase.projects.locations.exascaleDbStorageVaults.delete({ - * // Required. The name of the ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}/exascaleDbStorageVaults/{exascale_db_storage_vault\}. - * name: 'projects/my-project/locations/my-location/exascaleDbStorageVaults/my-exascaleDbStorageVault', - * // Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', + * await oracledatabase.projects.locations.goldengateDeployments.stop({ + * // Required. The name of the Goldengate Deployment in the following format: projects/{project\}/locations/{location\}/goldengateDeployments/{goldengate_deployment\}. + * name: 'projects/my-project/locations/my-location/goldengateDeployments/my-goldengateDeployment', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // {} + * }, * }); * console.log(res.data); * @@ -10890,32 +17102,32 @@ export namespace oracledatabase_v1 { * @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$Exascaledbstoragevaults$Delete, + stop( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Stop, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete, + stop( + params?: Params$Resource$Projects$Locations$Goldengatedeployments$Stop, options?: MethodOptions ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete, + stop( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Stop, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete, + stop( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Stop, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete, + stop( + params: Params$Resource$Projects$Locations$Goldengatedeployments$Stop, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + stop(callback: BodyResponseCallback): void; + stop( paramsOrCallback?: - | Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete + | Params$Resource$Projects$Locations$Goldengatedeployments$Stop | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -10931,13 +17143,13 @@ export namespace oracledatabase_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete; + {}) as Params$Resource$Projects$Locations$Goldengatedeployments$Stop; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete; + {} as Params$Resource$Projects$Locations$Goldengatedeployments$Stop; options = {}; } @@ -10951,8 +17163,8 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+name}:stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', apiVersion: '', }, options @@ -10971,9 +17183,96 @@ export namespace oracledatabase_v1 { return createAPIRequest(parameters); } } + } + + export interface Params$Resource$Projects$Locations$Goldengatedeployments$Create extends StandardParameters { + /** + * Required. The ID of the GoldengateDeployment to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. + */ + goldengateDeploymentId?: string; + /** + * Required. The value for parent of the GoldengateDeployment in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoldengateDeployment; + } + export interface Params$Resource$Projects$Locations$Goldengatedeployments$Delete extends StandardParameters { + /** + * Required. The name of the GoldengateDeployment in the following format: projects/{project\}/locations/{location\}/goldengateDeployments/{goldengate_deployment\}. + */ + name?: string; + /** + * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Goldengatedeployments$Get extends StandardParameters { + /** + * Required. The name of the GoldengateDeployment in the following format: projects/{project\}/locations/{location\}/goldengateDeployments/{goldengate_deployment\}. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Goldengatedeployments$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. + */ + filter?: string; + /** + * Optional. An expression for ordering the results of the request. + */ + orderBy?: string; + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 GoldengateDeployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous ListGoldengateDeployments call. Provide this to retrieve the subsequent page. + */ + pageToken?: string; + /** + * Required. The parent value for GoldengateDeployments in the following format: projects/{project\}/locations/{location\}. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Goldengatedeployments$Start extends StandardParameters { + /** + * Required. The name of the Goldengate Deployment in the following format: projects/{project\}/locations/{location\}/goldengateDeployments/{goldengate_deployment\}. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$StartGoldengateDeploymentRequest; + } + export interface Params$Resource$Projects$Locations$Goldengatedeployments$Stop extends StandardParameters { + /** + * Required. The name of the Goldengate Deployment in the following format: projects/{project\}/locations/{location\}/goldengateDeployments/{goldengate_deployment\}. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$StopGoldengateDeploymentRequest; + } + + export class Resource$Projects$Locations$Goldengatedeploymenttypes { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } /** - * Gets details of a single ExascaleDB Storage Vault. + * Gets details of a single GoldenGateDeploymentType. * @example * ```js * // Before running the sample: @@ -11003,21 +17302,25 @@ export namespace oracledatabase_v1 { * * // Do the magic * const res = - * await oracledatabase.projects.locations.exascaleDbStorageVaults.get({ - * // Required. The name of the ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}/exascaleDbStorageVaults/{exascale_db_storage_vault\}. - * name: 'projects/my-project/locations/my-location/exascaleDbStorageVaults/my-exascaleDbStorageVault', + * await oracledatabase.projects.locations.goldengateDeploymentTypes.get({ + * // Required. The name of the GoldengateDeploymentType to retrieve. Format: projects/{project\}/locations/{location\}/goldengateDeploymentTypes/{goldengate_deployment_type\} + * name: 'projects/my-project/locations/my-location/goldengateDeploymentTypes/my-goldengateDeploymentType', * }); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", + * // "category": "my_category", + * // "connectionTypes": [], + * // "defaultUsername": "my_defaultUsername", + * // "deploymentType": "my_deploymentType", * // "displayName": "my_displayName", - * // "entitlementId": "my_entitlementId", - * // "gcpOracleZone": "my_gcpOracleZone", - * // "labels": {}, * // "name": "my_name", - * // "properties": {} + * // "oggVersion": "my_oggVersion", + * // "sourceTechnologies": [], + * // "supportedCapabilities": [], + * // "supportedTechnologiesUrl": "my_supportedTechnologiesUrl", + * // "targetTechnologies": [] * // } * } * @@ -11034,55 +17337,55 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get, + params: Params$Resource$Projects$Locations$Goldengatedeploymenttypes$Get, options: StreamMethodOptions ): Promise>; get( - params?: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get, + params?: Params$Resource$Projects$Locations$Goldengatedeploymenttypes$Get, options?: MethodOptions - ): Promise>; + ): Promise>; get( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get, + params: Params$Resource$Projects$Locations$Goldengatedeploymenttypes$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get, + params: Params$Resource$Projects$Locations$Goldengatedeploymenttypes$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Goldengatedeploymenttypes$Get, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengatedeploymenttypes$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get; + {}) as Params$Resource$Projects$Locations$Goldengatedeploymenttypes$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get; + {} as Params$Resource$Projects$Locations$Goldengatedeploymenttypes$Get; options = {}; } @@ -11108,17 +17411,17 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists all the ExascaleDB Storage Vaults for the given project and location. + * Lists GoldenGateDeploymentTypes in a given project and location. * @example * ```js * // Before running the sample: @@ -11148,23 +17451,23 @@ export namespace oracledatabase_v1 { * * // Do the magic * const res = - * await oracledatabase.projects.locations.exascaleDbStorageVaults.list({ - * // Optional. An expression for filtering the results of the request. Filter the list as specified in https://google.aip.dev/160. + * await oracledatabase.projects.locations.goldengateDeploymentTypes.list({ + * // Optional. An expression for filtering the results of the request. Either the deployment_type and ogg_version fields must be specified in the format: `deployment_type="DATABASE_ORACLE"` or `ogg_version="version"`. Allowed values for deployment_type are: `DATABASE_ORACLE`, `BIGDATA`, `DATABASE_MICROSOFT_SQLSERVER`, `DATABASE_MYSQL`, `DATABASE_POSTGRESQL`, `DATABASE_DB2ZOS`, `DATABASE_DB2I`, `GGSA`, `DATA_TRANSFORMS`. * filter: 'placeholder-value', - * // Optional. An expression for ordering the results of the request. Order results as specified in https://google.aip.dev/132. + * // Optional. Hint for how to order the results * orderBy: 'placeholder-value', - * // Optional. The maximum number of items to return. If unspecified, at most 50 ExascaleDbStorageVaults will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. * pageSize: 'placeholder-value', * // Optional. A token identifying a page of results the server should return. * pageToken: 'placeholder-value', - * // Required. The parent value for ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}. + * // Required. The parent resource. Format: projects/{project\}/locations/{location\} * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "exascaleDbStorageVaults": [], + * // "goldengateDeploymentTypes": [], * // "nextPageToken": "my_nextPageToken", * // "unreachable": [] * // } @@ -11183,61 +17486,61 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$List, + params: Params$Resource$Projects$Locations$Goldengatedeploymenttypes$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Exascaledbstoragevaults$List, + params?: Params$Resource$Projects$Locations$Goldengatedeploymenttypes$List, options?: MethodOptions ): Promise< - GaxiosResponseWithHTTP2 + GaxiosResponseWithHTTP2 >; list( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$List, + params: Params$Resource$Projects$Locations$Goldengatedeploymenttypes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$List, + params: Params$Resource$Projects$Locations$Goldengatedeploymenttypes$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Exascaledbstoragevaults$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Goldengatedeploymenttypes$List, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Exascaledbstoragevaults$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengatedeploymenttypes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void | Promise< - GaxiosResponseWithHTTP2 + GaxiosResponseWithHTTP2 > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Exascaledbstoragevaults$List; + {}) as Params$Resource$Projects$Locations$Goldengatedeploymenttypes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Exascaledbstoragevaults$List; + {} as Params$Resource$Projects$Locations$Goldengatedeploymenttypes$List; options = {}; } @@ -11251,7 +17554,7 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/exascaleDbStorageVaults').replace( + url: (rootUrl + '/v1/{+parent}/goldengateDeploymentTypes').replace( /([^:]\/)\/+/g, '$1' ), @@ -11266,64 +17569,35 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( + return createAPIRequest( parameters ); } } } - export interface Params$Resource$Projects$Locations$Exascaledbstoragevaults$Create extends StandardParameters { - /** - * Required. The ID of the ExascaleDbStorageVault to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. - */ - exascaleDbStorageVaultId?: string; - /** - * Required. The value for parent of the ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}. - */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$ExascaleDbStorageVault; - } - export interface Params$Resource$Projects$Locations$Exascaledbstoragevaults$Delete extends StandardParameters { - /** - * Required. The name of the ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}/exascaleDbStorageVaults/{exascale_db_storage_vault\}. - */ - name?: string; - /** - * Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Exascaledbstoragevaults$Get extends StandardParameters { + export interface Params$Resource$Projects$Locations$Goldengatedeploymenttypes$Get extends StandardParameters { /** - * Required. The name of the ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}/exascaleDbStorageVaults/{exascale_db_storage_vault\}. + * Required. The name of the GoldengateDeploymentType to retrieve. Format: projects/{project\}/locations/{location\}/goldengateDeploymentTypes/{goldengate_deployment_type\} */ name?: string; } - export interface Params$Resource$Projects$Locations$Exascaledbstoragevaults$List extends StandardParameters { + export interface Params$Resource$Projects$Locations$Goldengatedeploymenttypes$List extends StandardParameters { /** - * Optional. An expression for filtering the results of the request. Filter the list as specified in https://google.aip.dev/160. + * Optional. An expression for filtering the results of the request. Either the deployment_type and ogg_version fields must be specified in the format: `deployment_type="DATABASE_ORACLE"` or `ogg_version="version"`. Allowed values for deployment_type are: `DATABASE_ORACLE`, `BIGDATA`, `DATABASE_MICROSOFT_SQLSERVER`, `DATABASE_MYSQL`, `DATABASE_POSTGRESQL`, `DATABASE_DB2ZOS`, `DATABASE_DB2I`, `GGSA`, `DATA_TRANSFORMS`. */ filter?: string; /** - * Optional. An expression for ordering the results of the request. Order results as specified in https://google.aip.dev/132. + * Optional. Hint for how to order the results */ orderBy?: string; /** - * Optional. The maximum number of items to return. If unspecified, at most 50 ExascaleDbStorageVaults will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */ pageSize?: number; /** @@ -11331,22 +17605,19 @@ export namespace oracledatabase_v1 { */ pageToken?: string; /** - * Required. The parent value for ExascaleDbStorageVault in the following format: projects/{project\}/locations/{location\}. + * Required. The parent resource. Format: projects/{project\}/locations/{location\} */ parent?: string; } - export class Resource$Projects$Locations$Giversions { + export class Resource$Projects$Locations$Goldengatedeploymentversions { context: APIRequestContext; - minorVersions: Resource$Projects$Locations$Giversions$Minorversions; constructor(context: APIRequestContext) { this.context = context; - this.minorVersions = - new Resource$Projects$Locations$Giversions$Minorversions(this.context); } /** - * Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and location. + * Gets details of a single GoldengateDeploymentVersion. * @example * ```js * // Before running the sample: @@ -11375,22 +17646,18 @@ export namespace oracledatabase_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await oracledatabase.projects.locations.giVersions.list({ - * // Optional. An expression for filtering the results of the request. Only the shape, gcp_oracle_zone and gi_version fields are supported in this format: `shape="{shape\}"`. - * filter: 'placeholder-value', - * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 Oracle Grid Infrastructure (GI) versions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The parent value for Grid Infrastructure Version in the following format: Format: projects/{project\}/locations/{location\}. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = + * await oracledatabase.projects.locations.goldengateDeploymentVersions.get({ + * // Required. The name of the GoldengateDeploymentVersion to retrieve. Format: projects/{project\}/locations/{location\}/goldengateDeploymentVersions/{goldengate_deployment_version\} + * name: 'projects/my-project/locations/my-location/goldengateDeploymentVersions/my-goldengateDeploymentVersion', + * }); * console.log(res.data); * * // Example response * // { - * // "giVersions": [], - * // "nextPageToken": "my_nextPageToken" + * // "name": "my_name", + * // "ocid": "my_ocid", + * // "properties": {} * // } * } * @@ -11406,55 +17673,58 @@ export namespace oracledatabase_v1 { * @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$Giversions$List, + get( + params: Params$Resource$Projects$Locations$Goldengatedeploymentversions$Get, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Giversions$List, + get( + params?: Params$Resource$Projects$Locations$Goldengatedeploymentversions$Get, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Giversions$List, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Goldengatedeploymentversions$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Giversions$List, + get( + params: Params$Resource$Projects$Locations$Goldengatedeploymentversions$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Giversions$List, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Goldengatedeploymentversions$Get, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + get( + callback: BodyResponseCallback + ): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Giversions$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengatedeploymentversions$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Giversions$List; + {}) as Params$Resource$Projects$Locations$Goldengatedeploymentversions$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Giversions$List; + params = + {} as Params$Resource$Projects$Locations$Goldengatedeploymentversions$Get; options = {}; } @@ -11468,58 +17738,29 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/giVersions').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Giversions$List extends StandardParameters { - /** - * Optional. An expression for filtering the results of the request. Only the shape, gcp_oracle_zone and gi_version fields are supported in this format: `shape="{shape\}"`. - */ - filter?: string; - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 Oracle Grid Infrastructure (GI) versions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. - */ - pageSize?: number; - /** - * Optional. A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. The parent value for Grid Infrastructure Version in the following format: Format: projects/{project\}/locations/{location\}. - */ - parent?: string; - } - - export class Resource$Projects$Locations$Giversions$Minorversions { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Lists all the valid minor versions for the given project, location, gi version and shape family. + * Lists GoldengateDeploymentVersions in a given project and location. * @example * ```js * // Before running the sample: @@ -11549,23 +17790,23 @@ export namespace oracledatabase_v1 { * * // Do the magic * const res = - * await oracledatabase.projects.locations.giVersions.minorVersions.list({ - * // Optional. An expression for filtering the results of the request. Only shapeFamily and gcp_oracle_zone_id are supported in this format: `shape_family="{shapeFamily\}" AND gcp_oracle_zone_id="{gcp_oracle_zone_id\}"`. + * await oracledatabase.projects.locations.goldengateDeploymentVersions.list({ + * // Optional. An expression for filtering the results of the request. Either the deployment_id and deployment_type fields must be specified in the format: `deployment_id="id"` or `deployment_type="DATABASE_ORACLE"`. * filter: 'placeholder-value', - * // Optional. The maximum number of items to return. If unspecified, a maximum of 50 System Versions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. * pageSize: 'placeholder-value', - * // Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. + * // Optional. A token identifying a page of results the server should return. * pageToken: 'placeholder-value', - * // Required. The parent value for the MinorVersion resource with the format: projects/{project\}/locations/{location\}/giVersions/{gi_version\} - * parent: - * 'projects/my-project/locations/my-location/giVersions/my-giVersion', + * // Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: projects/{project\}/locations/{location\} + * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "minorVersions": [], - * // "nextPageToken": "my_nextPageToken" + * // "goldengateDeploymentVersions": [], + * // "nextPageToken": "my_nextPageToken", + * // "unreachable": [] * // } * } * @@ -11582,57 +17823,61 @@ export namespace oracledatabase_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Giversions$Minorversions$List, + params: Params$Resource$Projects$Locations$Goldengatedeploymentversions$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Giversions$Minorversions$List, + params?: Params$Resource$Projects$Locations$Goldengatedeploymentversions$List, options?: MethodOptions - ): Promise>; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( - params: Params$Resource$Projects$Locations$Giversions$Minorversions$List, + params: Params$Resource$Projects$Locations$Goldengatedeploymentversions$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Giversions$Minorversions$List, + params: Params$Resource$Projects$Locations$Goldengatedeploymentversions$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Giversions$Minorversions$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Goldengatedeploymentversions$List, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + callback: BodyResponseCallback ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Giversions$Minorversions$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Goldengatedeploymentversions$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Giversions$Minorversions$List; + {}) as Params$Resource$Projects$Locations$Goldengatedeploymentversions$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Giversions$Minorversions$List; + {} as Params$Resource$Projects$Locations$Goldengatedeploymentversions$List; options = {}; } @@ -11646,10 +17891,9 @@ export namespace oracledatabase_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/minorVersions').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: ( + rootUrl + '/v1/{+parent}/goldengateDeploymentVersions' + ).replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, @@ -11661,31 +17905,39 @@ export namespace oracledatabase_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } } - export interface Params$Resource$Projects$Locations$Giversions$Minorversions$List extends StandardParameters { + export interface Params$Resource$Projects$Locations$Goldengatedeploymentversions$Get extends StandardParameters { /** - * Optional. An expression for filtering the results of the request. Only shapeFamily and gcp_oracle_zone_id are supported in this format: `shape_family="{shapeFamily\}" AND gcp_oracle_zone_id="{gcp_oracle_zone_id\}"`. + * Required. The name of the GoldengateDeploymentVersion to retrieve. Format: projects/{project\}/locations/{location\}/goldengateDeploymentVersions/{goldengate_deployment_version\} + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Goldengatedeploymentversions$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. Either the deployment_id and deployment_type fields must be specified in the format: `deployment_id="id"` or `deployment_type="DATABASE_ORACLE"`. */ filter?: string; /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 System Versions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. */ pageSize?: number; /** - * Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token. + * Optional. A token identifying a page of results the server should return. */ pageToken?: string; /** - * Required. The parent value for the MinorVersion resource with the format: projects/{project\}/locations/{location\}/giVersions/{gi_version\} + * Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: projects/{project\}/locations/{location\} */ parent?: string; } From 4600d543cc23299fadbfb4b38529aee59a95037a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:40 +0000 Subject: [PATCH 57/69] feat(places): update the API #### places:v1 The following keys were added: - schemas.GoogleMapsPlacesV1Place.properties.transitStation.$ref - schemas.GoogleMapsPlacesV1Place.properties.transitStation.description - schemas.GoogleMapsPlacesV1TransitAgency.description - schemas.GoogleMapsPlacesV1TransitAgency.id - schemas.GoogleMapsPlacesV1TransitAgency.properties.displayName.$ref - schemas.GoogleMapsPlacesV1TransitAgency.properties.displayName.description - schemas.GoogleMapsPlacesV1TransitAgency.properties.fareUrl.description - schemas.GoogleMapsPlacesV1TransitAgency.properties.fareUrl.type - schemas.GoogleMapsPlacesV1TransitAgency.properties.icon.$ref - schemas.GoogleMapsPlacesV1TransitAgency.properties.icon.description - schemas.GoogleMapsPlacesV1TransitAgency.properties.lines.description - schemas.GoogleMapsPlacesV1TransitAgency.properties.lines.items.$ref - schemas.GoogleMapsPlacesV1TransitAgency.properties.lines.type - schemas.GoogleMapsPlacesV1TransitAgency.properties.url.description - schemas.GoogleMapsPlacesV1TransitAgency.properties.url.type - schemas.GoogleMapsPlacesV1TransitAgency.type - schemas.GoogleMapsPlacesV1TransitIcon.description - schemas.GoogleMapsPlacesV1TransitIcon.id - schemas.GoogleMapsPlacesV1TransitIcon.properties.nameIncluded.description - schemas.GoogleMapsPlacesV1TransitIcon.properties.nameIncluded.type - schemas.GoogleMapsPlacesV1TransitIcon.properties.url.description - schemas.GoogleMapsPlacesV1TransitIcon.properties.url.type - schemas.GoogleMapsPlacesV1TransitIcon.type - schemas.GoogleMapsPlacesV1TransitLine.description - schemas.GoogleMapsPlacesV1TransitLine.id - schemas.GoogleMapsPlacesV1TransitLine.properties.backgroundColor.description - schemas.GoogleMapsPlacesV1TransitLine.properties.backgroundColor.type - schemas.GoogleMapsPlacesV1TransitLine.properties.displayName.$ref - schemas.GoogleMapsPlacesV1TransitLine.properties.displayName.description - schemas.GoogleMapsPlacesV1TransitLine.properties.icon.$ref - schemas.GoogleMapsPlacesV1TransitLine.properties.icon.description - schemas.GoogleMapsPlacesV1TransitLine.properties.id.description - schemas.GoogleMapsPlacesV1TransitLine.properties.id.type - schemas.GoogleMapsPlacesV1TransitLine.properties.shortDisplayName.$ref - schemas.GoogleMapsPlacesV1TransitLine.properties.shortDisplayName.description - schemas.GoogleMapsPlacesV1TransitLine.properties.textColor.description - schemas.GoogleMapsPlacesV1TransitLine.properties.textColor.type - schemas.GoogleMapsPlacesV1TransitLine.properties.url.description - schemas.GoogleMapsPlacesV1TransitLine.properties.url.type - schemas.GoogleMapsPlacesV1TransitLine.properties.vehicleIcon.$ref - schemas.GoogleMapsPlacesV1TransitLine.properties.vehicleIcon.description - schemas.GoogleMapsPlacesV1TransitLine.properties.vehicleType.description - schemas.GoogleMapsPlacesV1TransitLine.properties.vehicleType.enum - schemas.GoogleMapsPlacesV1TransitLine.properties.vehicleType.enumDescriptions - schemas.GoogleMapsPlacesV1TransitLine.properties.vehicleType.type - schemas.GoogleMapsPlacesV1TransitLine.type - schemas.GoogleMapsPlacesV1TransitStation.description - schemas.GoogleMapsPlacesV1TransitStation.id - schemas.GoogleMapsPlacesV1TransitStation.properties.agencies.description - schemas.GoogleMapsPlacesV1TransitStation.properties.agencies.items.$ref - schemas.GoogleMapsPlacesV1TransitStation.properties.agencies.type - schemas.GoogleMapsPlacesV1TransitStation.properties.displayName.$ref - schemas.GoogleMapsPlacesV1TransitStation.properties.displayName.description - schemas.GoogleMapsPlacesV1TransitStation.properties.stops.description - schemas.GoogleMapsPlacesV1TransitStation.properties.stops.items.$ref - schemas.GoogleMapsPlacesV1TransitStation.properties.stops.type - schemas.GoogleMapsPlacesV1TransitStation.type - schemas.GoogleMapsPlacesV1TransitStop.description - schemas.GoogleMapsPlacesV1TransitStop.id - schemas.GoogleMapsPlacesV1TransitStop.properties.displayName.$ref - schemas.GoogleMapsPlacesV1TransitStop.properties.displayName.description - schemas.GoogleMapsPlacesV1TransitStop.properties.id.description - schemas.GoogleMapsPlacesV1TransitStop.properties.id.type - schemas.GoogleMapsPlacesV1TransitStop.properties.location.$ref - schemas.GoogleMapsPlacesV1TransitStop.properties.location.description - schemas.GoogleMapsPlacesV1TransitStop.properties.platformCode.$ref - schemas.GoogleMapsPlacesV1TransitStop.properties.platformCode.description - schemas.GoogleMapsPlacesV1TransitStop.properties.signageText.$ref - schemas.GoogleMapsPlacesV1TransitStop.properties.signageText.description - schemas.GoogleMapsPlacesV1TransitStop.properties.stopCode.$ref - schemas.GoogleMapsPlacesV1TransitStop.properties.stopCode.description - schemas.GoogleMapsPlacesV1TransitStop.properties.wheelchairAccessibleEntrance.description - schemas.GoogleMapsPlacesV1TransitStop.properties.wheelchairAccessibleEntrance.type - schemas.GoogleMapsPlacesV1TransitStop.type --- discovery/places-v1.json | 202 ++++++++++++++++++++++++++++++++++++++- src/apis/places/v1.ts | 134 ++++++++++++++++++++++++++ 2 files changed, 335 insertions(+), 1 deletion(-) diff --git a/discovery/places-v1.json b/discovery/places-v1.json index dfbd99945e..9893952e57 100644 --- a/discovery/places-v1.json +++ b/discovery/places-v1.json @@ -280,7 +280,7 @@ } } }, - "revision": "20260323", + "revision": "20260517", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -1357,6 +1357,10 @@ "$ref": "GoogleTypeTimeZone", "description": "IANA Time Zone Database time zone. For example \"America/New_York\"." }, + "transitStation": { + "$ref": "GoogleMapsPlacesV1TransitStation", + "description": "The transit station information for the place." + }, "types": { "description": "A set of type tags for this result. For example, \"political\" and \"locality\". For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types", "items": { @@ -2384,6 +2388,202 @@ }, "type": "object" }, + "GoogleMapsPlacesV1TransitAgency": { + "description": "Represents a transit agency.", + "id": "GoogleMapsPlacesV1TransitAgency", + "properties": { + "displayName": { + "$ref": "GoogleTypeLocalizedText", + "description": "Agency name (e.g. \"VTA\") in the requested language." + }, + "fareUrl": { + "description": "The URL of the agency's fare details page.", + "type": "string" + }, + "icon": { + "$ref": "GoogleMapsPlacesV1TransitIcon", + "description": "Icon identifier for localized branded icon of a transit system (e.g. London Underground) which should be used instead of TransitLine.vehicle_icon in the UI." + }, + "lines": { + "description": "The transit lines that are served by this agency.", + "items": { + "$ref": "GoogleMapsPlacesV1TransitLine" + }, + "type": "array" + }, + "url": { + "description": "The URL of the agency's homepage.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1TransitIcon": { + "description": "Icon for a transit line, vehicle, or agency.", + "id": "GoogleMapsPlacesV1TransitIcon", + "properties": { + "nameIncluded": { + "description": "Whether the name is contained in the icon and there is no need to display it next to the icon.", + "type": "boolean" + }, + "url": { + "description": "The URL of the icon.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1TransitLine": { + "description": "Represents a single transit line.", + "id": "GoogleMapsPlacesV1TransitLine", + "properties": { + "backgroundColor": { + "description": "The background color of the labels for this transit line in #RRGGBB hex format, e.g. #909CE1. This color can also be used for drawing shapes for this transit line.", + "type": "string" + }, + "displayName": { + "$ref": "GoogleTypeLocalizedText", + "description": "The long name for this transit line (e.g. \"Sunnydale local\")." + }, + "icon": { + "$ref": "GoogleMapsPlacesV1TransitIcon", + "description": "Icon identifier for this particular line (e.g. subway lines in New York)." + }, + "id": { + "description": "The id of the transit line that can be used to uniquely identify the line among other transit lines in the same transit station. This identifier is not guaranteed to be stable across different responses.", + "type": "string" + }, + "shortDisplayName": { + "$ref": "GoogleTypeLocalizedText", + "description": "The short name for this transit line (e.g. \"S2\")." + }, + "textColor": { + "description": "The text color of labels for this transit line in #RRGGBB hex format, e.g. #909CE1.", + "type": "string" + }, + "url": { + "description": "The URL of a webpage with details about this line.", + "type": "string" + }, + "vehicleIcon": { + "$ref": "GoogleMapsPlacesV1TransitIcon", + "description": "Icon identifier for this particular vehicle type." + }, + "vehicleType": { + "description": "The type of vehicle using this line.", + "enum": [ + "VEHICLE_TYPE_UNSPECIFIED", + "RAIL", + "METRO_RAIL", + "SUBWAY", + "TRAM", + "MONORAIL", + "HEAVY_RAIL", + "COMMUTER_TRAIN", + "HIGH_SPEED_TRAIN", + "LONG_DISTANCE_TRAIN", + "BUS", + "INTERCITY_BUS", + "TROLLEYBUS", + "SHARE_TAXI", + "COACH", + "FERRY", + "CABLE_CAR", + "GONDOLA_LIFT", + "FUNICULAR", + "SPECIAL", + "HORSE_CARRIAGE", + "AIRPLANE" + ], + "enumDescriptions": [ + "Default value when vehicle type is not specified.", + "Rail.", + "Metro rail.", + "Subway.", + "Tram.", + "Monorail.", + "Heavy rail.", + "Commuter train.", + "High speed train.", + "Long distance train.", + "Bus.", + "Intercity bus.", + "Trolleybus.", + "Share taxi.", + "Coach.", + "Ferry.", + "Cable car.", + "Gondola lift.", + "Funicular.", + "Special.", + "Horse carriage.", + "Airplane." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1TransitStation": { + "description": "Represents transit-specific information for a place.", + "id": "GoogleMapsPlacesV1TransitStation", + "properties": { + "agencies": { + "description": "The transit agencies that serve this station.", + "items": { + "$ref": "GoogleMapsPlacesV1TransitAgency" + }, + "type": "array" + }, + "displayName": { + "$ref": "GoogleTypeLocalizedText", + "description": "The name of the station in the local language." + }, + "stops": { + "description": "Transit stops at this station.", + "items": { + "$ref": "GoogleMapsPlacesV1TransitStop" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1TransitStop": { + "description": "Represents a transit stop within a station. This is a specific location where passengers board and alight transit vehicles, such as a platform or bus bay. This is distinct from a `Departure`, which is an event of a vehicle leaving a stop at a specific time.", + "id": "GoogleMapsPlacesV1TransitStop", + "properties": { + "displayName": { + "$ref": "GoogleTypeLocalizedText", + "description": "The name of the stop." + }, + "id": { + "description": "The id of the transit stop that can be used to uniquely identify the stop among other transit stops in the same transit station. This identifier is not guaranteed to be stable across different responses.", + "type": "string" + }, + "location": { + "$ref": "GoogleTypeLatLng", + "description": "The stop's location." + }, + "platformCode": { + "$ref": "GoogleTypeLocalizedText", + "description": "The platform code represented by this stop. It can be formatted in any way. (eg: \"2\", \"Platform 2\", \"2-4\", or \"1x\")." + }, + "signageText": { + "$ref": "GoogleTypeLocalizedText", + "description": "The verbatim text written on the signboard for this platform, e.g. \"Towards Central\" or \"East side & Brooklyn\". When `platform_code` is absent, this field is potentially the only identifier for the platform; however, both `platform_code` and `signage_text` may be set simultaneously." + }, + "stopCode": { + "$ref": "GoogleTypeLocalizedText", + "description": "Human readable identifier of the stop, used by transit agencies to distinguish stops with the same name." + }, + "wheelchairAccessibleEntrance": { + "description": "Wheelchair accessibility of this stop. This field indicates whether there is an accessible path from outside the station to the stop. It does not indicate whether it is possible to board a vehicle from the stop.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleTypeDate": { "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", "id": "GoogleTypeDate", diff --git a/src/apis/places/v1.ts b/src/apis/places/v1.ts index c44eb45e47..919cda0f1e 100644 --- a/src/apis/places/v1.ts +++ b/src/apis/places/v1.ts @@ -909,6 +909,10 @@ export namespace places_v1 { * IANA Time Zone Database time zone. For example "America/New_York". */ timeZone?: Schema$GoogleTypeTimeZone; + /** + * The transit station information for the place. + */ + transitStation?: Schema$GoogleMapsPlacesV1TransitStation; /** * A set of type tags for this result. For example, "political" and "locality". For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types */ @@ -1674,6 +1678,135 @@ export namespace places_v1 { */ searchUri?: string | null; } + /** + * Represents a transit agency. + */ + export interface Schema$GoogleMapsPlacesV1TransitAgency { + /** + * Agency name (e.g. "VTA") in the requested language. + */ + displayName?: Schema$GoogleTypeLocalizedText; + /** + * The URL of the agency's fare details page. + */ + fareUrl?: string | null; + /** + * Icon identifier for localized branded icon of a transit system (e.g. London Underground) which should be used instead of TransitLine.vehicle_icon in the UI. + */ + icon?: Schema$GoogleMapsPlacesV1TransitIcon; + /** + * The transit lines that are served by this agency. + */ + lines?: Schema$GoogleMapsPlacesV1TransitLine[]; + /** + * The URL of the agency's homepage. + */ + url?: string | null; + } + /** + * Icon for a transit line, vehicle, or agency. + */ + export interface Schema$GoogleMapsPlacesV1TransitIcon { + /** + * Whether the name is contained in the icon and there is no need to display it next to the icon. + */ + nameIncluded?: boolean | null; + /** + * The URL of the icon. + */ + url?: string | null; + } + /** + * Represents a single transit line. + */ + export interface Schema$GoogleMapsPlacesV1TransitLine { + /** + * The background color of the labels for this transit line in #RRGGBB hex format, e.g. #909CE1. This color can also be used for drawing shapes for this transit line. + */ + backgroundColor?: string | null; + /** + * The long name for this transit line (e.g. "Sunnydale local"). + */ + displayName?: Schema$GoogleTypeLocalizedText; + /** + * Icon identifier for this particular line (e.g. subway lines in New York). + */ + icon?: Schema$GoogleMapsPlacesV1TransitIcon; + /** + * The id of the transit line that can be used to uniquely identify the line among other transit lines in the same transit station. This identifier is not guaranteed to be stable across different responses. + */ + id?: string | null; + /** + * The short name for this transit line (e.g. "S2"). + */ + shortDisplayName?: Schema$GoogleTypeLocalizedText; + /** + * The text color of labels for this transit line in #RRGGBB hex format, e.g. #909CE1. + */ + textColor?: string | null; + /** + * The URL of a webpage with details about this line. + */ + url?: string | null; + /** + * Icon identifier for this particular vehicle type. + */ + vehicleIcon?: Schema$GoogleMapsPlacesV1TransitIcon; + /** + * The type of vehicle using this line. + */ + vehicleType?: string | null; + } + /** + * Represents transit-specific information for a place. + */ + export interface Schema$GoogleMapsPlacesV1TransitStation { + /** + * The transit agencies that serve this station. + */ + agencies?: Schema$GoogleMapsPlacesV1TransitAgency[]; + /** + * The name of the station in the local language. + */ + displayName?: Schema$GoogleTypeLocalizedText; + /** + * Transit stops at this station. + */ + stops?: Schema$GoogleMapsPlacesV1TransitStop[]; + } + /** + * Represents a transit stop within a station. This is a specific location where passengers board and alight transit vehicles, such as a platform or bus bay. This is distinct from a `Departure`, which is an event of a vehicle leaving a stop at a specific time. + */ + export interface Schema$GoogleMapsPlacesV1TransitStop { + /** + * The name of the stop. + */ + displayName?: Schema$GoogleTypeLocalizedText; + /** + * The id of the transit stop that can be used to uniquely identify the stop among other transit stops in the same transit station. This identifier is not guaranteed to be stable across different responses. + */ + id?: string | null; + /** + * The stop's location. + */ + location?: Schema$GoogleTypeLatLng; + /** + * The platform code represented by this stop. It can be formatted in any way. (eg: "2", "Platform 2", "2-4", or "1x"). + */ + platformCode?: Schema$GoogleTypeLocalizedText; + /** + * The verbatim text written on the signboard for this platform, e.g. "Towards Central" or "East side & Brooklyn". When `platform_code` is absent, this field is potentially the only identifier for the platform; however, both `platform_code` and `signage_text` may be set simultaneously. + */ + signageText?: Schema$GoogleTypeLocalizedText; + /** + * Human readable identifier of the stop, used by transit agencies to distinguish stops with the same name. + */ + stopCode?: Schema$GoogleTypeLocalizedText; + /** + * Wheelchair accessibility of this stop. This field indicates whether there is an accessible path from outside the station to the stop. It does not indicate whether it is possible to board a vehicle from the stop. + */ + wheelchairAccessibleEntrance?: boolean | null; + } /** * Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp */ @@ -2093,6 +2226,7 @@ export namespace places_v1 { * // "subDestinations": [], * // "takeout": false, * // "timeZone": {}, + * // "transitStation": {}, * // "types": [], * // "userRatingCount": 0, * // "utcOffsetMinutes": 0, From 7b4b5047cc0141773335c9162294c18ec675d39c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:40 +0000 Subject: [PATCH 58/69] fix(recaptchaenterprise): update the API #### recaptchaenterprise:v1 The following keys were changed: - schemas.GoogleCloudRecaptchaenterpriseV1Bot.properties.name.description --- discovery/recaptchaenterprise-v1.json | 4 ++-- src/apis/recaptchaenterprise/v1.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discovery/recaptchaenterprise-v1.json b/discovery/recaptchaenterprise-v1.json index a146540fdc..725b494bf6 100644 --- a/discovery/recaptchaenterprise-v1.json +++ b/discovery/recaptchaenterprise-v1.json @@ -786,7 +786,7 @@ } } }, - "revision": "20260426", + "revision": "20260505", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "schemas": { "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": { @@ -1203,7 +1203,7 @@ "type": "string" }, "name": { - "description": "Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case.", + "description": "Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case. Current example values include the following: * google-agent * browser-base * chat-gpt * aws-bedrock * cybaa-bot * cloudflare * payhawk Ensure that your applications can handle identifier values not explicitly listed here. Deprecated values might take some time to stop showing up in responses. New values can be pushed so this list should be taken as non exhaustive.", "type": "string" } }, diff --git a/src/apis/recaptchaenterprise/v1.ts b/src/apis/recaptchaenterprise/v1.ts index 12bde18149..717033ac61 100644 --- a/src/apis/recaptchaenterprise/v1.ts +++ b/src/apis/recaptchaenterprise/v1.ts @@ -348,7 +348,7 @@ export namespace recaptchaenterprise_v1 { */ botType?: string | null; /** - * Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case. + * Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case. Current example values include the following: * google-agent * browser-base * chat-gpt * aws-bedrock * cybaa-bot * cloudflare * payhawk Ensure that your applications can handle identifier values not explicitly listed here. Deprecated values might take some time to stop showing up in responses. New values can be pushed so this list should be taken as non exhaustive. */ name?: string | null; } From dd6871d445cfec5b5cd7437783cb7e600ca38ec4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:40 +0000 Subject: [PATCH 59/69] fix(retail): update the API #### retail:v2alpha The following keys were changed: - resources.projects.resources.locations.resources.catalogs.methods.patch.parameters.updateMask.description - resources.projects.resources.locations.resources.catalogs.methods.updateAttributesConfig.parameters.updateMask.description - resources.projects.resources.locations.resources.catalogs.methods.updateCompletionConfig.parameters.updateMask.description - schemas.GoogleCloudRetailV2alphaReplaceCatalogAttributeRequest.properties.updateMask.description #### retail:v2beta The following keys were changed: - resources.projects.resources.locations.resources.catalogs.methods.patch.parameters.updateMask.description - resources.projects.resources.locations.resources.catalogs.methods.updateAttributesConfig.parameters.updateMask.description - resources.projects.resources.locations.resources.catalogs.methods.updateCompletionConfig.parameters.updateMask.description - schemas.GoogleCloudRetailV2betaReplaceCatalogAttributeRequest.properties.updateMask.description #### retail:v2 The following keys were changed: - resources.projects.resources.locations.resources.catalogs.methods.patch.parameters.updateMask.description - resources.projects.resources.locations.resources.catalogs.methods.updateAttributesConfig.parameters.updateMask.description - resources.projects.resources.locations.resources.catalogs.methods.updateCompletionConfig.parameters.updateMask.description - schemas.GoogleCloudRetailV2ReplaceCatalogAttributeRequest.properties.updateMask.description --- discovery/retail-v2.json | 10 +++++----- discovery/retail-v2alpha.json | 10 +++++----- discovery/retail-v2beta.json | 10 +++++----- src/apis/retail/v2.ts | 14 +++++++------- src/apis/retail/v2alpha.ts | 14 +++++++------- src/apis/retail/v2beta.ts | 14 +++++++------- 6 files changed, 36 insertions(+), 36 deletions(-) diff --git a/discovery/retail-v2.json b/discovery/retail-v2.json index 6bf97bd066..5b07750669 100644 --- a/discovery/retail-v2.json +++ b/discovery/retail-v2.json @@ -384,7 +384,7 @@ "type": "string" }, "updateMask": { - "description": "Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", + "description": "Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -446,7 +446,7 @@ "type": "string" }, "updateMask": { - "description": "Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.", + "description": "Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -480,7 +480,7 @@ "type": "string" }, "updateMask": { - "description": "Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.", + "description": "Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2353,7 +2353,7 @@ } } }, - "revision": "20260423", + "revision": "20260507", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -5403,7 +5403,7 @@ "description": "Required. The updated CatalogAttribute." }, "updateMask": { - "description": "Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.", + "description": "Optional. Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.", "format": "google-fieldmask", "type": "string" } diff --git a/discovery/retail-v2alpha.json b/discovery/retail-v2alpha.json index 41fe295ca7..f8e84fbc36 100644 --- a/discovery/retail-v2alpha.json +++ b/discovery/retail-v2alpha.json @@ -582,7 +582,7 @@ "type": "string" }, "updateMask": { - "description": "Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", + "description": "Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -644,7 +644,7 @@ "type": "string" }, "updateMask": { - "description": "Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.", + "description": "Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -678,7 +678,7 @@ "type": "string" }, "updateMask": { - "description": "Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.", + "description": "Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2874,7 +2874,7 @@ } } }, - "revision": "20260423", + "revision": "20260507", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -7283,7 +7283,7 @@ "description": "Required. The updated CatalogAttribute." }, "updateMask": { - "description": "Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.", + "description": "Optional. Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.", "format": "google-fieldmask", "type": "string" } diff --git a/discovery/retail-v2beta.json b/discovery/retail-v2beta.json index 71df9a58b8..f35d7887f4 100644 --- a/discovery/retail-v2beta.json +++ b/discovery/retail-v2beta.json @@ -445,7 +445,7 @@ "type": "string" }, "updateMask": { - "description": "Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", + "description": "Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -507,7 +507,7 @@ "type": "string" }, "updateMask": { - "description": "Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.", + "description": "Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -541,7 +541,7 @@ "type": "string" }, "updateMask": { - "description": "Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.", + "description": "Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2498,7 +2498,7 @@ } } }, - "revision": "20260423", + "revision": "20260507", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -7213,7 +7213,7 @@ "description": "Required. The updated CatalogAttribute." }, "updateMask": { - "description": "Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.", + "description": "Optional. Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.", "format": "google-fieldmask", "type": "string" } diff --git a/src/apis/retail/v2.ts b/src/apis/retail/v2.ts index bdc197a3ed..c72fc968ae 100644 --- a/src/apis/retail/v2.ts +++ b/src/apis/retail/v2.ts @@ -3295,7 +3295,7 @@ export namespace retail_v2 { */ catalogAttribute?: Schema$GoogleCloudRetailV2CatalogAttribute; /** - * Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated. + * Optional. Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated. */ updateMask?: string | null; } @@ -5775,7 +5775,7 @@ export namespace retail_v2 { * const res = await retail.projects.locations.catalogs.patch({ * // Required. Immutable. The fully qualified resource name of the catalog. * name: 'projects/my-project/locations/my-location/catalogs/my-catalog', - * // Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. + * // Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. * updateMask: 'placeholder-value', * * // Request body metadata @@ -6075,7 +6075,7 @@ export namespace retail_v2 { * const res = await retail.projects.locations.catalogs.updateAttributesConfig({ * // Required. Immutable. The fully qualified resource name of the attribute config. Format: `projects/x/locations/x/catalogs/x/attributesConfig` * name: 'projects/my-project/locations/my-location/catalogs/my-catalog/attributesConfig', - * // Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated. + * // Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated. * updateMask: 'placeholder-value', * * // Request body metadata @@ -6234,7 +6234,7 @@ export namespace retail_v2 { * const res = await retail.projects.locations.catalogs.updateCompletionConfig({ * // Required. Immutable. Fully qualified name `projects/x/locations/x/catalogs/x/completionConfig` * name: 'projects/my-project/locations/my-location/catalogs/my-catalog/completionConfig', - * // Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated. + * // Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated. * updateMask: 'placeholder-value', * * // Request body metadata @@ -6976,7 +6976,7 @@ export namespace retail_v2 { */ name?: string; /** - * Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. + * Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. */ updateMask?: string; @@ -7002,7 +7002,7 @@ export namespace retail_v2 { */ name?: string; /** - * Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated. + * Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated. */ updateMask?: string; @@ -7017,7 +7017,7 @@ export namespace retail_v2 { */ name?: string; /** - * Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated. + * Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated. */ updateMask?: string; diff --git a/src/apis/retail/v2alpha.ts b/src/apis/retail/v2alpha.ts index c9b7a5061d..2686663d75 100644 --- a/src/apis/retail/v2alpha.ts +++ b/src/apis/retail/v2alpha.ts @@ -2845,7 +2845,7 @@ export namespace retail_v2alpha { */ catalogAttribute?: Schema$GoogleCloudRetailV2alphaCatalogAttribute; /** - * Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated. + * Optional. Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated. */ updateMask?: string | null; } @@ -7240,7 +7240,7 @@ export namespace retail_v2alpha { * const res = await retail.projects.locations.catalogs.patch({ * // Required. Immutable. The fully qualified resource name of the catalog. * name: 'projects/my-project/locations/my-location/catalogs/my-catalog', - * // Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. + * // Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. * updateMask: 'placeholder-value', * * // Request body metadata @@ -7544,7 +7544,7 @@ export namespace retail_v2alpha { * const res = await retail.projects.locations.catalogs.updateAttributesConfig({ * // Required. Immutable. The fully qualified resource name of the attribute config. Format: `projects/x/locations/x/catalogs/x/attributesConfig` * name: 'projects/my-project/locations/my-location/catalogs/my-catalog/attributesConfig', - * // Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated. + * // Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated. * updateMask: 'placeholder-value', * * // Request body metadata @@ -7703,7 +7703,7 @@ export namespace retail_v2alpha { * const res = await retail.projects.locations.catalogs.updateCompletionConfig({ * // Required. Immutable. Fully qualified name `projects/x/locations/x/catalogs/x/completionConfig` * name: 'projects/my-project/locations/my-location/catalogs/my-catalog/completionConfig', - * // Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated. + * // Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated. * updateMask: 'placeholder-value', * * // Request body metadata @@ -8445,7 +8445,7 @@ export namespace retail_v2alpha { */ name?: string; /** - * Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. + * Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. */ updateMask?: string; @@ -8471,7 +8471,7 @@ export namespace retail_v2alpha { */ name?: string; /** - * Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated. + * Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated. */ updateMask?: string; @@ -8486,7 +8486,7 @@ export namespace retail_v2alpha { */ name?: string; /** - * Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated. + * Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated. */ updateMask?: string; diff --git a/src/apis/retail/v2beta.ts b/src/apis/retail/v2beta.ts index 70e7089749..184e25e245 100644 --- a/src/apis/retail/v2beta.ts +++ b/src/apis/retail/v2beta.ts @@ -3087,7 +3087,7 @@ export namespace retail_v2beta { */ catalogAttribute?: Schema$GoogleCloudRetailV2betaCatalogAttribute; /** - * Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated. + * Optional. Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated. */ updateMask?: string | null; } @@ -6253,7 +6253,7 @@ export namespace retail_v2beta { * const res = await retail.projects.locations.catalogs.patch({ * // Required. Immutable. The fully qualified resource name of the catalog. * name: 'projects/my-project/locations/my-location/catalogs/my-catalog', - * // Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. + * // Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. * updateMask: 'placeholder-value', * * // Request body metadata @@ -6557,7 +6557,7 @@ export namespace retail_v2beta { * const res = await retail.projects.locations.catalogs.updateAttributesConfig({ * // Required. Immutable. The fully qualified resource name of the attribute config. Format: `projects/x/locations/x/catalogs/x/attributesConfig` * name: 'projects/my-project/locations/my-location/catalogs/my-catalog/attributesConfig', - * // Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated. + * // Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated. * updateMask: 'placeholder-value', * * // Request body metadata @@ -6716,7 +6716,7 @@ export namespace retail_v2beta { * const res = await retail.projects.locations.catalogs.updateCompletionConfig({ * // Required. Immutable. Fully qualified name `projects/x/locations/x/catalogs/x/completionConfig` * name: 'projects/my-project/locations/my-location/catalogs/my-catalog/completionConfig', - * // Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated. + * // Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated. * updateMask: 'placeholder-value', * * // Request body metadata @@ -7458,7 +7458,7 @@ export namespace retail_v2beta { */ name?: string; /** - * Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. + * Optional. Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. */ updateMask?: string; @@ -7484,7 +7484,7 @@ export namespace retail_v2beta { */ name?: string; /** - * Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated. + * Optional. Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated. */ updateMask?: string; @@ -7499,7 +7499,7 @@ export namespace retail_v2beta { */ name?: string; /** - * Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated. + * Optional. Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated. */ updateMask?: string; From 0c6f7e10918387912a10866fa617f837011e6b86 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:40 +0000 Subject: [PATCH 60/69] feat(run)!: update the API BREAKING CHANGE: This release has breaking changes. #### run:v1 The following keys were deleted: - schemas.GoogleDevtoolsCloudbuildV1BuildStep.properties.results.readOnly The following keys were changed: - schemas.GoogleDevtoolsCloudbuildV1BuildStep.properties.results.description - schemas.ObjectMeta.properties.annotations.description #### run:v2 The following keys were deleted: - schemas.GoogleDevtoolsCloudbuildV1BuildStep.properties.results.readOnly The following keys were changed: - schemas.GoogleDevtoolsCloudbuildV1BuildStep.properties.results.description --- discovery/run-v1.json | 7 +++---- discovery/run-v2.json | 5 ++--- src/apis/run/v1.ts | 4 ++-- src/apis/run/v2.ts | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/discovery/run-v1.json b/discovery/run-v1.json index 5176728ec5..0e05a88e38 100644 --- a/discovery/run-v1.json +++ b/discovery/run-v1.json @@ -3612,7 +3612,7 @@ } } }, - "revision": "20260501", + "revision": "20260512", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -5066,11 +5066,10 @@ "readOnly": true }, "results": { - "description": "Output only. Declaration of results for this build step.", + "description": "Declaration of results for this build step.", "items": { "$ref": "GoogleDevtoolsCloudbuildV1StepResult" }, - "readOnly": true, "type": "array" }, "script": { @@ -6923,7 +6922,7 @@ "additionalProperties": { "type": "string" }, - "description": "Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/base-images`: Service, Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/build-base-image`: Service. * `run.googleapis.com/build-enable-automatic-updates`: Service. * `run.googleapis.com/build-environment-variables`: Service. * `run.googleapis.com/build-function-target`: Service, Revision. * `run.googleapis.com/build-id`: Service, Revision. * `run.googleapis.com/build-image-uri`: Service. * `run.googleapis.com/build-name`: Service. * `run.googleapis.com/build-service-account`: Service. * `run.googleapis.com/build-source-location`: Service, Revision. * `run.googleapis.com/build-worker-pool`: Service. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision . * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/default-url-disabled`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/gpu-zonal-redundancy-disabled`: Revision. * `run.googleapis.com/health-check-disabled`: Revision. * `run.googleapis.com/ingress`: Service, Instance. * `run.googleapis.com/invoker-iam-disabled`: Service, Instance. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/minScale`: Service. * `run.googleapis.com/maxScale`: Service. * `run.googleapis.com/manualInstanceCount`: Service. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. `run.googleapis.com/scalingMode`: Service. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.", + "description": "Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/base-images`: Service, Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/build-base-image`: Service. * `run.googleapis.com/build-enable-automatic-updates`: Service. * `run.googleapis.com/build-environment-variables`: Service. * `run.googleapis.com/build-function-target`: Service, Revision. * `run.googleapis.com/build-id`: Service, Revision. * `run.googleapis.com/build-image-uri`: Service. * `run.googleapis.com/build-name`: Service. * `run.googleapis.com/build-service-account`: Service. * `run.googleapis.com/build-source-location`: Service, Revision. * `run.googleapis.com/build-worker-pool`: Service. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution . * `run.googleapis.com/container-dependencies`: Revision . * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/default-url-disabled`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution . * `run.googleapis.com/execution-environment`: Revision, Execution . * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/gpu-zonal-redundancy-disabled`: Revision. * `run.googleapis.com/health-check-disabled`: Revision. * `run.googleapis.com/ingress`: Service, Instance. * `run.googleapis.com/invoker-iam-disabled`: Service, Instance. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/minScale`: Service. * `run.googleapis.com/maxScale`: Service. * `run.googleapis.com/manualInstanceCount`: Service. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. `run.googleapis.com/scalingMode`: Service. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution . * `run.googleapis.com/vpc-access-egress`: Revision, Execution.", "type": "object" }, "clusterName": { diff --git a/discovery/run-v2.json b/discovery/run-v2.json index e33e30b71f..570121424e 100644 --- a/discovery/run-v2.json +++ b/discovery/run-v2.json @@ -2610,7 +2610,7 @@ } } }, - "revision": "20260501", + "revision": "20260512", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -6702,11 +6702,10 @@ "readOnly": true }, "results": { - "description": "Output only. Declaration of results for this build step.", + "description": "Declaration of results for this build step.", "items": { "$ref": "GoogleDevtoolsCloudbuildV1StepResult" }, - "readOnly": true, "type": "array" }, "script": { diff --git a/src/apis/run/v1.ts b/src/apis/run/v1.ts index 3d5372c7ad..3c54f4273a 100644 --- a/src/apis/run/v1.ts +++ b/src/apis/run/v1.ts @@ -1114,7 +1114,7 @@ export namespace run_v1 { */ pullTiming?: Schema$GoogleDevtoolsCloudbuildV1TimeSpan; /** - * Output only. Declaration of results for this build step. + * Declaration of results for this build step. */ results?: Schema$GoogleDevtoolsCloudbuildV1StepResult[]; /** @@ -2520,7 +2520,7 @@ export namespace run_v1 { */ export interface Schema$ObjectMeta { /** - * Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/base-images`: Service, Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/build-base-image`: Service. * `run.googleapis.com/build-enable-automatic-updates`: Service. * `run.googleapis.com/build-environment-variables`: Service. * `run.googleapis.com/build-function-target`: Service, Revision. * `run.googleapis.com/build-id`: Service, Revision. * `run.googleapis.com/build-image-uri`: Service. * `run.googleapis.com/build-name`: Service. * `run.googleapis.com/build-service-account`: Service. * `run.googleapis.com/build-source-location`: Service, Revision. * `run.googleapis.com/build-worker-pool`: Service. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision . * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/default-url-disabled`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/gpu-zonal-redundancy-disabled`: Revision. * `run.googleapis.com/health-check-disabled`: Revision. * `run.googleapis.com/ingress`: Service, Instance. * `run.googleapis.com/invoker-iam-disabled`: Service, Instance. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/minScale`: Service. * `run.googleapis.com/maxScale`: Service. * `run.googleapis.com/manualInstanceCount`: Service. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. `run.googleapis.com/scalingMode`: Service. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution. + * Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/base-images`: Service, Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/build-base-image`: Service. * `run.googleapis.com/build-enable-automatic-updates`: Service. * `run.googleapis.com/build-environment-variables`: Service. * `run.googleapis.com/build-function-target`: Service, Revision. * `run.googleapis.com/build-id`: Service, Revision. * `run.googleapis.com/build-image-uri`: Service. * `run.googleapis.com/build-name`: Service. * `run.googleapis.com/build-service-account`: Service. * `run.googleapis.com/build-source-location`: Service, Revision. * `run.googleapis.com/build-worker-pool`: Service. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution . * `run.googleapis.com/container-dependencies`: Revision . * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/default-url-disabled`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution . * `run.googleapis.com/execution-environment`: Revision, Execution . * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/gpu-zonal-redundancy-disabled`: Revision. * `run.googleapis.com/health-check-disabled`: Revision. * `run.googleapis.com/ingress`: Service, Instance. * `run.googleapis.com/invoker-iam-disabled`: Service, Instance. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/minScale`: Service. * `run.googleapis.com/maxScale`: Service. * `run.googleapis.com/manualInstanceCount`: Service. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. `run.googleapis.com/scalingMode`: Service. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution . * `run.googleapis.com/vpc-access-egress`: Revision, Execution. */ annotations?: {[key: string]: string} | null; /** diff --git a/src/apis/run/v2.ts b/src/apis/run/v2.ts index 9d9f2a2051..a19ccaca09 100644 --- a/src/apis/run/v2.ts +++ b/src/apis/run/v2.ts @@ -2824,7 +2824,7 @@ export namespace run_v2 { */ pullTiming?: Schema$GoogleDevtoolsCloudbuildV1TimeSpan; /** - * Output only. Declaration of results for this build step. + * Declaration of results for this build step. */ results?: Schema$GoogleDevtoolsCloudbuildV1StepResult[]; /** From 5791c906771d88ce8c3c606a8996ef7a1291718c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:40 +0000 Subject: [PATCH 61/69] fix(sqladmin): update the API #### sqladmin:v1beta4 The following keys were changed: - schemas.Settings.properties.edition.description - schemas.Settings.properties.edition.enum - schemas.Settings.properties.edition.enumDescriptions #### sqladmin:v1 The following keys were changed: - schemas.Settings.properties.edition.description - schemas.Settings.properties.edition.enum - schemas.Settings.properties.edition.enumDescriptions --- discovery/sqladmin-v1.json | 10 ++++++---- discovery/sqladmin-v1beta4.json | 10 ++++++---- src/apis/sqladmin/README.md | 2 +- src/apis/sqladmin/v1.ts | 2 +- src/apis/sqladmin/v1beta4.ts | 2 +- 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/discovery/sqladmin-v1.json b/discovery/sqladmin-v1.json index 447f9a5111..335b192b88 100644 --- a/discovery/sqladmin-v1.json +++ b/discovery/sqladmin-v1.json @@ -3022,7 +3022,7 @@ } } }, - "revision": "20260424", + "revision": "20260510", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -8106,16 +8106,18 @@ "type": "array" }, "edition": { - "description": "Optional. The edition of the instance.", + "description": "Optional. The edition type of the Cloud SQL instance.", "enum": [ "EDITION_UNSPECIFIED", "ENTERPRISE", - "ENTERPRISE_PLUS" + "ENTERPRISE_PLUS", + "DEVELOPER" ], "enumDescriptions": [ "The instance did not specify the edition.", "The instance is an enterprise edition.", - "The instance is an Enterprise Plus edition." + "The instance is an Enterprise Plus edition.", + "This instance is a Cloud SQL developer edition instance." ], "type": "string" }, diff --git a/discovery/sqladmin-v1beta4.json b/discovery/sqladmin-v1beta4.json index aa412e37de..e00c7504d3 100644 --- a/discovery/sqladmin-v1beta4.json +++ b/discovery/sqladmin-v1beta4.json @@ -3022,7 +3022,7 @@ } } }, - "revision": "20260424", + "revision": "20260510", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -8116,16 +8116,18 @@ "type": "array" }, "edition": { - "description": "Optional. The edition of the instance.", + "description": "Optional. The edition type of the Cloud SQL instance.", "enum": [ "EDITION_UNSPECIFIED", "ENTERPRISE", - "ENTERPRISE_PLUS" + "ENTERPRISE_PLUS", + "DEVELOPER" ], "enumDescriptions": [ "The instance did not specify the edition.", "The instance is an enterprise edition.", - "The instance is an Enterprise Plus edition." + "The instance is an Enterprise Plus edition.", + "This instance is a Cloud SQL developer edition instance." ], "type": "string" }, diff --git a/src/apis/sqladmin/README.md b/src/apis/sqladmin/README.md index 0a0ea26295..d388dac379 100644 --- a/src/apis/sqladmin/README.md +++ b/src/apis/sqladmin/README.md @@ -2,7 +2,7 @@ # sqladmin -> API for Cloud SQL database instance management +> Cloud SQL Admin API ## Support status **Note**: Google provides multiple libraries for this service. This library is in diff --git a/src/apis/sqladmin/v1.ts b/src/apis/sqladmin/v1.ts index f6d2d68c9b..c349996b5f 100644 --- a/src/apis/sqladmin/v1.ts +++ b/src/apis/sqladmin/v1.ts @@ -2697,7 +2697,7 @@ export namespace sqladmin_v1 { */ denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[]; /** - * Optional. The edition of the instance. + * Optional. The edition type of the Cloud SQL instance. */ edition?: string | null; /** diff --git a/src/apis/sqladmin/v1beta4.ts b/src/apis/sqladmin/v1beta4.ts index eb4453d998..eea114bea7 100644 --- a/src/apis/sqladmin/v1beta4.ts +++ b/src/apis/sqladmin/v1beta4.ts @@ -2700,7 +2700,7 @@ export namespace sqladmin_v1beta4 { */ denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[]; /** - * Optional. The edition of the instance. + * Optional. The edition type of the Cloud SQL instance. */ edition?: string | null; /** From 41ff6b64c1ee06f2b20571e2bead4ae668d8d5e1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:40 +0000 Subject: [PATCH 62/69] feat(tagmanager): update the API #### tagmanager:v2 The following keys were added: - schemas.CompilerErrorLite.id - schemas.CompilerErrorLite.properties.errorMessage.type - schemas.CompilerErrorLite.properties.errorType.enum - schemas.CompilerErrorLite.properties.errorType.enumDescriptions - schemas.CompilerErrorLite.properties.errorType.type - schemas.CompilerErrorLite.type - schemas.CreateContainerVersionResponse.properties.compilerErrors.description - schemas.CreateContainerVersionResponse.properties.compilerErrors.items.$ref - schemas.CreateContainerVersionResponse.properties.compilerErrors.type - schemas.PublishContainerVersionResponse.properties.compilerErrors.description - schemas.PublishContainerVersionResponse.properties.compilerErrors.items.$ref - schemas.PublishContainerVersionResponse.properties.compilerErrors.type - schemas.QuickPreviewResponse.properties.compilerErrors.description - schemas.QuickPreviewResponse.properties.compilerErrors.items.$ref - schemas.QuickPreviewResponse.properties.compilerErrors.type --- discovery/tagmanager-v2.json | 133 ++++++++++++++++++++++++++++++++++- src/apis/tagmanager/v2.ts | 19 +++++ 2 files changed, 151 insertions(+), 1 deletion(-) diff --git a/discovery/tagmanager-v2.json b/discovery/tagmanager-v2.json index 896b04404f..7d77edd8cd 100644 --- a/discovery/tagmanager-v2.json +++ b/discovery/tagmanager-v2.json @@ -3986,7 +3986,7 @@ } } }, - "revision": "20260304", + "revision": "20260511", "rootUrl": "https://tagmanager.googleapis.com/", "schemas": { "Account": { @@ -4405,6 +4405,116 @@ }, "type": "object" }, + "CompilerErrorLite": { + "id": "CompilerErrorLite", + "properties": { + "errorMessage": { + "type": "string" + }, + "errorType": { + "enum": [ + "unknownErrorType", + "duplicateAutoEventName", + "duplicateConditionId", + "duplicateDefaultMacro", + "duplicateTagName", + "internalCompilerError", + "invalidMacroKey", + "invalidNumberPredicateArgs", + "invalidMacroFormat", + "invalidMacroNameReference", + "invalidMacroParameter", + "invalidUsageContext", + "invalidRegex", + "macroCycle", + "unknownConditionId", + "unknownMacroInstance", + "invalidManualEscaping", + "invalidHtmlCssJs", + "macroInCommentsError", + "jsCompilerError", + "jsonError", + "invalidTagParameter", + "javascriptTooLong", + "unknownTagInstance", + "invalidTagReference", + "unknownTriggerId", + "customTriggerMissingEventFilter", + "duplicateTriggerId", + "unsupportedTriggerType", + "invalidTriggerParameter", + "duplicateExperimentId", + "pixieCompilerError", + "macroNotServerSideResolvable", + "invalidBlockingTrigger", + "lineTooLong", + "invalidTypeInSelect", + "gaExperimentMacroIsDeprecated", + "unsafeHtmlContent", + "unsafeHtmlAttributeValue", + "unsafeCssContent", + "parameterReferenceNotFound", + "invalidCustomTemplateRuntimeCode", + "conflictingDestinationRouting", + "missingRequiredActivity", + "unresolvableDestinationTag", + "invalidDestinationTag", + "tosRequiredForThirdPartyTags" + ], + "enumDescriptions": [ + "Unknown error type. Place holder for the enum's default value; not valid.", + "There are multiple auto-event instances with the same name. parent - N EntityKeys each with their auto_event_key populated.", + "There are multiple conditions with the same id. parent - N EntityKeys each with their condition_key populated.", + "There are multiple default macros with the same name. parent - N EntityKeys each with their macro_key populated. context - The macro name.", + "There are multiple tag instances with the same name. parent - N EntityKeys each with their tag_key populated.", + "An internal compiler invariant was broken. parent - 1 EntityKey which may have macro_key, condition_key, or tag_key populated. It's also possible that no keys are populated. context - An internal string (shouldn't be shown to the user) describing the problem.", + "An macro instance key was invalid e.g. foo#bar parent - 1 EntityKey with one of the following populated: macro_key, condition_key, tag_key. context - The string of the invalid name.", + "Wrong number of args passed to a predicate. parent - 1 EntityKey with its condition_key populated.", + "Macro format was invalid e.g. foo#bar parent - 1 EntityKey with one of the following populated: condition_key, tag_key. context - The full string of the invalid macro and surrounding literals.", + "A macro name was referenced instead of a macro key. parent - 1 EntityKey with one of the following populated: condition_key, tag_key. context - The name of the invalid macro name.", + "Macro had an invalid parameter. This could be anything from a parameter being a complex type or a macro parameter containing a macro reference. parent - 1 EntityKey with its macro_key populated. context - The value of the offending parameter if it is string-able.", + "Usage context of a container was invalid. Currently, this error can occur when a container context specifies both web and mobile. The UI shouldn't allowed creating such a mixed container. parent - not set context - The description of the context", + "Contents of an Regex predicate had an invalid pattern. parent - 1 EntityKey with one of the following populated: condition_key. context - The offending pattern.", + "There was a macro whose resolution would depend on itself. parent - N EntityKeys each with their macro_key, trigger_key, or condition_key populated. This represents the macro cycle. context - Empty.", + "A condition id was used which doesn't exist in the conditions list. parent - 1 EntityKey with its tag_key populated. context - The integer id of the missing conditional.", + "A macro name was used which doesn't exist in the macro list. parent - 1 EntityKey with one of the following populated: condition_key, tag_key. context - The name of the missing macro instance.", + "User-provided escaping inappropriate for the context in which it is used. parent - 1 EntityKey with one of the following populated: macro_key, condition_key, tag_key. context - Empty.", + "Auto-escaped content is not valid HTML, CSS or JavaScript. parent - 1 EntityKey with one of the following populated: tag_key. context - Empty.", + "Macro reference found inside an HTML, CSS or JavaScript comment. parent - 1 EntityKey with one of the following populated: tag_key. context - Empty.", + "Contents of an HTML script tag could not be compiled by JsCompiler. parent - 1 EntityKey with one of the following populated: tag_key. context - Empty.", + "Contents of a ConfigurationValue script tag could not be parsed by the JSON parser. parent - 1 EntityKey with one of the following populated: tag_key. context - Empty.", + "Tag had an invalid parameter. This could be anything from a parameter being a complex type or a macro parameter containing a macro reference. parent - 1 EntityKey with its tag_key populated. context - The value of the offending parameter if it is string-able.", + "An arbitrary HTML tag contains a piece of javascript with too many contiguous non-whitespace characters (e.g. a long array with no spaces between elements or an extremely long variable name).", + "A tag name was used which doesn't exist in the input tag list. parent - 1 EntityKey with tag_key populated. context - The name of the missing tag instance.", + "A tag name was used which doesn't exist in the compiled tag list. This happens if a tag is dependent on another tag, but the other tag has no rules attached to it and is pruned in the compiler. parent - 1 EntityKey with tag_key populated. context - The name of the missing tag instance.", + "A trigger id was used which doesn't exist in the triggers list. parent - 1 EntityKey parent of the unknown trigger. context - The id of the missing trigger instance.", + "A trigger of type custom trigger was created that doesn't include a custom event filter. parent - 1 EntityKey with its trigger_key populated. context - Empty.", + "There are multiple triggers with the same id. parent - N EntityKeys each with their trigger_key populated. context - Empty.", + "There is an unknown or unsupported trigger type. parent - 1 EntityKey with its trigger_key populated. context - The trigger type.", + "A trigger has an invalid parameter. parent - 1 EntityKey with its trigger_key populated. context - The invalid field.", + "There are multiple experiments with the same id. parent - N EntityKeys each with their experiment_key populated. context - Empty.", + "Contents of a pixie tag/macro could not be compiled by Pixie Parser. parent - 1 EntityKey with one of the following populated: tag_key, macro_key. context - Empty.", + "The macro cannot be resolved at server side. parent - 1 EntityKey indicating the entity in which this macro is used. context - The macro name.", + "The trigger cannot be used in blocking predicates (i.e. only All/Some pages triggers work for AMP, NS etc.) parent - 1 EntityKey indicating the tag in which this trigger is used. context - The trigger name.", + "A line in the input text is too long.", + "The value of a SELECT parameter in a vendor template instance does not point to an allowed vendor template instance. For details, see the documentation of the typesInSelect property in a vendor template. parent - 1 EntityKey indicating the tag/macro with this parameter. context - The parameter name.", + "The input container version contains a deprecated GA content experiment macro that needs to be removed.", + "Reminder: new error types will be treated as internal errors and trigger alerts unless they are handled in j/c/g/analytics/containertag/compiler/ErrorReporter.java&l=104 Please also remember to add new error types to CTUI at j/c/g/analytics/containertag/ui/app/components/container/compilererror/ HTML is not sanitized and contains unsafe content.", + "HTML attribute is not sanitized and the value is unsafe.", + "CSS is not sanitized and contains unsafe content.", + "The specified parameter was not found in the referenced entity. parent - 1 EntityKey with tag_key populated. context - The missing parameter in the form of \".\".", + "The custom template has invalid runtime code. parent - Entity key for the custom template. context - The error message.", + "The container version contains a Google tag tag and a destination tag that use the same destination ID. parent - Entity key for the conflicting Google tag. context - The Google tag tag name.", + "The container version has routing destinations, but is missing required activity instances. parent - Empty. context - Empty. proposed_change - The proposed change to add the missing activities.", + "The container version contains a product destination tag with a destination ID value that cannot be resolved statically. parent - Entity key of the destination tag. context - The name of the variable that could not be resolved. If the destination ID was a template value, then this will be the serialized value.", + "The container version contains a product destination tag with a destination ID value that is in an invalid format. parent - Entity key of the destination tag. context - The invalid destination ID.", + "GTM ToS is required for publishing versions with 3P tags. parent - not set context - Empty." + ], + "type": "string" + } + }, + "type": "object" + }, "Condition": { "description": "Represents a predicate.", "id": "Condition", @@ -4851,6 +4961,13 @@ "description": "Compiler errors or not.", "type": "boolean" }, + "compilerErrors": { + "description": "Compiler error details.", + "items": { + "$ref": "CompilerErrorLite" + }, + "type": "array" + }, "containerVersion": { "$ref": "ContainerVersion", "description": "The container version created." @@ -5685,6 +5802,13 @@ "description": "Compiler errors or not.", "type": "boolean" }, + "compilerErrors": { + "description": "Compiler error details.", + "items": { + "$ref": "CompilerErrorLite" + }, + "type": "array" + }, "containerVersion": { "$ref": "ContainerVersion", "description": "The container version created." @@ -5700,6 +5824,13 @@ "description": "Were there compiler errors or not.", "type": "boolean" }, + "compilerErrors": { + "description": "Compiler error details.", + "items": { + "$ref": "CompilerErrorLite" + }, + "type": "array" + }, "containerVersion": { "$ref": "ContainerVersion", "description": "The quick previewed container version." diff --git a/src/apis/tagmanager/v2.ts b/src/apis/tagmanager/v2.ts index 9c271718d9..0d0a6ac75f 100644 --- a/src/apis/tagmanager/v2.ts +++ b/src/apis/tagmanager/v2.ts @@ -265,6 +265,10 @@ export namespace tagmanager_v2 { */ workspaceId?: string | null; } + export interface Schema$CompilerErrorLite { + errorMessage?: string | null; + errorType?: string | null; + } /** * Represents a predicate. */ @@ -579,6 +583,10 @@ export namespace tagmanager_v2 { * Compiler errors or not. */ compilerError?: boolean | null; + /** + * Compiler error details. + */ + compilerErrors?: Schema$CompilerErrorLite[]; /** * The container version created. */ @@ -1210,6 +1218,10 @@ export namespace tagmanager_v2 { * Compiler errors or not. */ compilerError?: boolean | null; + /** + * Compiler error details. + */ + compilerErrors?: Schema$CompilerErrorLite[]; /** * The container version created. */ @@ -1223,6 +1235,10 @@ export namespace tagmanager_v2 { * Were there compiler errors or not. */ compilerError?: boolean | null; + /** + * Compiler error details. + */ + compilerErrors?: Schema$CompilerErrorLite[]; /** * The quick previewed container version. */ @@ -5926,6 +5942,7 @@ export namespace tagmanager_v2 { * // Example response * // { * // "compilerError": false, + * // "compilerErrors": [], * // "containerVersion": {} * // } * } @@ -7334,6 +7351,7 @@ export namespace tagmanager_v2 { * // Example response * // { * // "compilerError": false, + * // "compilerErrors": [], * // "containerVersion": {}, * // "newWorkspacePath": "my_newWorkspacePath", * // "syncStatus": {} @@ -8050,6 +8068,7 @@ export namespace tagmanager_v2 { * // Example response * // { * // "compilerError": false, + * // "compilerErrors": [], * // "containerVersion": {}, * // "syncStatus": {} * // } From 12f9d00194952ff516d6ce8dfd5108ba2cf25602 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:40 +0000 Subject: [PATCH 63/69] fix(threatintelligence): update the API #### threatintelligence:v1beta The following keys were changed: - endpoints - schemas.Alert.properties.aiSummary.description - schemas.AlertDocument.properties.aiSummary.description --- discovery/threatintelligence-v1beta.json | 21 ++++++++++++++++++--- src/apis/threatintelligence/v1beta.ts | 4 ++-- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/discovery/threatintelligence-v1beta.json b/discovery/threatintelligence-v1beta.json index c861e8773b..6f485b85a3 100644 --- a/discovery/threatintelligence-v1beta.json +++ b/discovery/threatintelligence-v1beta.json @@ -20,6 +20,21 @@ "description": "Regional Endpoint", "endpointUrl": "https://threatintelligence.us-central1.rep.googleapis.com/", "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://threatintelligence.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://threatintelligence.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://threatintelligence.us.rep.googleapis.com/", + "location": "us" } ], "fullyEncodeReservedExpansion": true, @@ -817,7 +832,7 @@ } } }, - "revision": "20260428", + "revision": "20260513", "rootUrl": "https://threatintelligence.googleapis.com/", "schemas": { "Alert": { @@ -825,7 +840,7 @@ "id": "Alert", "properties": { "aiSummary": { - "description": "Optional. AI summary of the finding.", + "description": "Optional. AI summary of the alert.", "type": "string" }, "audit": { @@ -969,7 +984,7 @@ "id": "AlertDocument", "properties": { "aiSummary": { - "description": "Output only. AI summary of the finding.", + "description": "Output only. AI summary of the document.", "readOnly": true, "type": "string" }, diff --git a/src/apis/threatintelligence/v1beta.ts b/src/apis/threatintelligence/v1beta.ts index 59d373b39e..f082d57514 100644 --- a/src/apis/threatintelligence/v1beta.ts +++ b/src/apis/threatintelligence/v1beta.ts @@ -129,7 +129,7 @@ export namespace threatintelligence_v1beta { */ export interface Schema$Alert { /** - * Optional. AI summary of the finding. + * Optional. AI summary of the alert. */ aiSummary?: string | null; /** @@ -219,7 +219,7 @@ export namespace threatintelligence_v1beta { */ export interface Schema$AlertDocument { /** - * Output only. AI summary of the finding. + * Output only. AI summary of the document. */ aiSummary?: string | null; /** From 7d3e94c7e3271f877059e4cd07392236b332bb7a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:40 +0000 Subject: [PATCH 64/69] feat(walletobjects): update the API #### walletobjects:v1 The following keys were added: - schemas.Media.properties.sha512Hash.description - schemas.Media.properties.sha512Hash.format - schemas.Media.properties.sha512Hash.type --- discovery/walletobjects-v1.json | 7 ++++++- src/apis/walletobjects/v1.ts | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/discovery/walletobjects-v1.json b/discovery/walletobjects-v1.json index 1f9fa10211..c9b89304ad 100644 --- a/discovery/walletobjects-v1.json +++ b/discovery/walletobjects-v1.json @@ -2713,7 +2713,7 @@ } } }, - "revision": "20260508", + "revision": "20260511", "rootUrl": "https://walletobjects.googleapis.com/", "schemas": { "ActivationOptions": { @@ -7314,6 +7314,11 @@ "format": "byte", "type": "string" }, + "sha512Hash": { + "description": "Scotty-provided SHA512 hash for an upload.", + "format": "byte", + "type": "string" + }, "timestamp": { "description": "Time at which the media data was last updated, in milliseconds since UNIX epoch", "format": "uint64", diff --git a/src/apis/walletobjects/v1.ts b/src/apis/walletobjects/v1.ts index 45dec8f20b..71655495bf 100644 --- a/src/apis/walletobjects/v1.ts +++ b/src/apis/walletobjects/v1.ts @@ -2876,6 +2876,10 @@ export namespace walletobjects_v1 { * Scotty-provided SHA256 hash for an upload. */ sha256Hash?: string | null; + /** + * Scotty-provided SHA512 hash for an upload. + */ + sha512Hash?: string | null; /** * Time at which the media data was last updated, in milliseconds since UNIX epoch */ @@ -17540,6 +17544,7 @@ export namespace walletobjects_v1 { * // "referenceType": "my_referenceType", * // "sha1Hash": "my_sha1Hash", * // "sha256Hash": "my_sha256Hash", + * // "sha512Hash": "my_sha512Hash", * // "timestamp": "my_timestamp", * // "token": "my_token" * // } From 644d442c18a1f2b10d3e9fc4e83a3d3e065dc099 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:41 +0000 Subject: [PATCH 65/69] fix(webrisk): update the API #### webrisk:v1 The following keys were changed: - resources.projects.resources.submissions.methods.create.description --- discovery/webrisk-v1.json | 4 ++-- src/apis/webrisk/v1.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discovery/webrisk-v1.json b/discovery/webrisk-v1.json index 7ecf779bff..14620fe08c 100644 --- a/discovery/webrisk-v1.json +++ b/discovery/webrisk-v1.json @@ -275,7 +275,7 @@ "submissions": { "methods": { "create": { - "description": "Creates a Submission of a URI suspected of containing phishing content to be reviewed. If the result verifies the existence of malicious phishing content, the site will be added to the [Google's Social Engineering lists](https://support.google.com/webmasters/answer/6350487/) in order to protect users that could get exposed to this threat in the future. Only allowlisted projects can use this method during Early Access. Please reach out to Sales or your customer engineer to obtain access.", + "description": "Creates a Submission of a URI suspected of containing phishing content for review. If the review confirms malicious phishing content, Google adds the site to [Google's Social Engineering lists](https://support.google.com/webmasters/answer/6350487/) to help protect users. Only allowlisted projects can use this method during Early Access. To obtain access, contact Sales or your customer engineer.", "flatPath": "v1/projects/{projectsId}/submissions", "httpMethod": "POST", "id": "webrisk.projects.submissions.create", @@ -425,7 +425,7 @@ } } }, - "revision": "20251202", + "revision": "20260517", "rootUrl": "https://webrisk.googleapis.com/", "schemas": { "GoogleCloudWebriskV1ComputeThreatListDiffResponse": { diff --git a/src/apis/webrisk/v1.ts b/src/apis/webrisk/v1.ts index f8099a8474..ce811d1082 100644 --- a/src/apis/webrisk/v1.ts +++ b/src/apis/webrisk/v1.ts @@ -1161,7 +1161,7 @@ export namespace webrisk_v1 { } /** - * Creates a Submission of a URI suspected of containing phishing content to be reviewed. If the result verifies the existence of malicious phishing content, the site will be added to the [Google's Social Engineering lists](https://support.google.com/webmasters/answer/6350487/) in order to protect users that could get exposed to this threat in the future. Only allowlisted projects can use this method during Early Access. Please reach out to Sales or your customer engineer to obtain access. + * Creates a Submission of a URI suspected of containing phishing content for review. If the review confirms malicious phishing content, Google adds the site to [Google's Social Engineering lists](https://support.google.com/webmasters/answer/6350487/) to help protect users. Only allowlisted projects can use this method during Early Access. To obtain access, contact Sales or your customer engineer. * @example * ```js * // Before running the sample: From d8e3aa6ecb474d21a3d05ac95cbf69121651c455 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:41 +0000 Subject: [PATCH 66/69] feat(workspaceevents): update the API #### workspaceevents:v1 The following keys were added: - auth.oauth2.scopes.https://www.googleapis.com/auth/chat.users.availability.description - auth.oauth2.scopes.https://www.googleapis.com/auth/chat.users.availability.readonly.description - schemas.DriveOptions.description - schemas.DriveOptions.id - schemas.DriveOptions.properties.includeDescendants.description - schemas.DriveOptions.properties.includeDescendants.type - schemas.DriveOptions.type - schemas.Subscription.properties.driveOptions.$ref - schemas.Subscription.properties.driveOptions.description The following keys were changed: - resources.operations.methods.get.scopes - resources.subscriptions.methods.create.scopes - resources.subscriptions.methods.delete.scopes - resources.subscriptions.methods.get.scopes - resources.subscriptions.methods.list.scopes - resources.subscriptions.methods.patch.scopes - resources.subscriptions.methods.reactivate.scopes --- discovery/workspaceevents-v1.json | 37 ++++++++++++++++++++++++++++++- src/apis/workspaceevents/v1.ts | 30 +++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) diff --git a/discovery/workspaceevents-v1.json b/discovery/workspaceevents-v1.json index a88adb44e5..1a24ede3ca 100644 --- a/discovery/workspaceevents-v1.json +++ b/discovery/workspaceevents-v1.json @@ -44,6 +44,12 @@ "https://www.googleapis.com/auth/chat.spaces.readonly": { "description": "View chat and spaces in Google Chat" }, + "https://www.googleapis.com/auth/chat.users.availability": { + "description": "See and change your availability status in Google Chat." + }, + "https://www.googleapis.com/auth/chat.users.availability.readonly": { + "description": "See your availability status in Google Chat." + }, "https://www.googleapis.com/auth/chat.users.readstate": { "description": "View and modify last read time for Google Chat conversations" }, @@ -223,6 +229,8 @@ "https://www.googleapis.com/auth/chat.messages.readonly", "https://www.googleapis.com/auth/chat.spaces", "https://www.googleapis.com/auth/chat.spaces.readonly", + "https://www.googleapis.com/auth/chat.users.availability", + "https://www.googleapis.com/auth/chat.users.availability.readonly", "https://www.googleapis.com/auth/chat.users.readstate", "https://www.googleapis.com/auth/chat.users.readstate.readonly", "https://www.googleapis.com/auth/drive", @@ -272,6 +280,8 @@ "https://www.googleapis.com/auth/chat.messages.readonly", "https://www.googleapis.com/auth/chat.spaces", "https://www.googleapis.com/auth/chat.spaces.readonly", + "https://www.googleapis.com/auth/chat.users.availability", + "https://www.googleapis.com/auth/chat.users.availability.readonly", "https://www.googleapis.com/auth/chat.users.readstate", "https://www.googleapis.com/auth/chat.users.readstate.readonly", "https://www.googleapis.com/auth/drive", @@ -329,6 +339,8 @@ "https://www.googleapis.com/auth/chat.messages.readonly", "https://www.googleapis.com/auth/chat.spaces", "https://www.googleapis.com/auth/chat.spaces.readonly", + "https://www.googleapis.com/auth/chat.users.availability", + "https://www.googleapis.com/auth/chat.users.availability.readonly", "https://www.googleapis.com/auth/chat.users.readstate", "https://www.googleapis.com/auth/chat.users.readstate.readonly", "https://www.googleapis.com/auth/drive", @@ -371,6 +383,8 @@ "https://www.googleapis.com/auth/chat.messages.readonly", "https://www.googleapis.com/auth/chat.spaces", "https://www.googleapis.com/auth/chat.spaces.readonly", + "https://www.googleapis.com/auth/chat.users.availability", + "https://www.googleapis.com/auth/chat.users.availability.readonly", "https://www.googleapis.com/auth/chat.users.readstate", "https://www.googleapis.com/auth/chat.users.readstate.readonly", "https://www.googleapis.com/auth/drive", @@ -420,6 +434,8 @@ "https://www.googleapis.com/auth/chat.messages.readonly", "https://www.googleapis.com/auth/chat.spaces", "https://www.googleapis.com/auth/chat.spaces.readonly", + "https://www.googleapis.com/auth/chat.users.availability", + "https://www.googleapis.com/auth/chat.users.availability.readonly", "https://www.googleapis.com/auth/chat.users.readstate", "https://www.googleapis.com/auth/chat.users.readstate.readonly", "https://www.googleapis.com/auth/drive", @@ -480,6 +496,8 @@ "https://www.googleapis.com/auth/chat.messages.readonly", "https://www.googleapis.com/auth/chat.spaces", "https://www.googleapis.com/auth/chat.spaces.readonly", + "https://www.googleapis.com/auth/chat.users.availability", + "https://www.googleapis.com/auth/chat.users.availability.readonly", "https://www.googleapis.com/auth/chat.users.readstate", "https://www.googleapis.com/auth/chat.users.readstate.readonly", "https://www.googleapis.com/auth/drive", @@ -529,6 +547,8 @@ "https://www.googleapis.com/auth/chat.messages.readonly", "https://www.googleapis.com/auth/chat.spaces", "https://www.googleapis.com/auth/chat.spaces.readonly", + "https://www.googleapis.com/auth/chat.users.availability", + "https://www.googleapis.com/auth/chat.users.availability.readonly", "https://www.googleapis.com/auth/chat.users.readstate", "https://www.googleapis.com/auth/chat.users.readstate.readonly", "https://www.googleapis.com/auth/drive", @@ -765,7 +785,7 @@ } } }, - "revision": "20260422", + "revision": "20260517", "rootUrl": "https://workspaceevents.googleapis.com/", "schemas": { "Artifact": { @@ -851,6 +871,17 @@ }, "type": "object" }, + "DriveOptions": { + "description": "Additional supported options for serving Drive events.", + "id": "DriveOptions", + "properties": { + "includeDescendants": { + "description": "Optional. Immutable. For subscriptions to Google Drive events, whether to receive events about Drive files that are children of the target folder or shared drive. * If `false`, the subscription only receives events about changes to the folder or shared drive that's specified as the `targetResource`. * If `true`, the `mimeType` field of the `file` resource must be set to `application/vnd.google-apps.folder`. For details, see [Google Drive event types](https://developers.google.com/workspace/events/guides/events-drive#event-types).", + "type": "boolean" + } + }, + "type": "object" + }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "Empty", @@ -1197,6 +1228,10 @@ "readOnly": true, "type": "string" }, + "driveOptions": { + "$ref": "DriveOptions", + "description": "Optional. Features that are supported only for subscriptions on Drive resources." + }, "etag": { "description": "Optional. This checksum is computed by the server based on the value of other fields, and might be sent on update requests to ensure the client has an up-to-date value before proceeding.", "type": "string" diff --git a/src/apis/workspaceevents/v1.ts b/src/apis/workspaceevents/v1.ts index c98044803b..3361bf6864 100644 --- a/src/apis/workspaceevents/v1.ts +++ b/src/apis/workspaceevents/v1.ts @@ -184,6 +184,15 @@ export namespace workspaceevents_v1 { export interface Schema$DataPart { data?: {[key: string]: any} | null; } + /** + * Additional supported options for serving Drive events. + */ + export interface Schema$DriveOptions { + /** + * Optional. Immutable. For subscriptions to Google Drive events, whether to receive events about Drive files that are children of the target folder or shared drive. * If `false`, the subscription only receives events about changes to the folder or shared drive that's specified as the `targetResource`. * If `true`, the `mimeType` field of the `file` resource must be set to `application/vnd.google-apps.folder`. For details, see [Google Drive event types](https://developers.google.com/workspace/events/guides/events-drive#event-types). + */ + includeDescendants?: boolean | null; + } /** * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} */ @@ -417,6 +426,10 @@ export namespace workspaceevents_v1 { * Output only. The time when the subscription is created. */ createTime?: string | null; + /** + * Optional. Features that are supported only for subscriptions on Drive resources. + */ + driveOptions?: Schema$DriveOptions; /** * Optional. This checksum is computed by the server based on the value of other fields, and might be sent on update requests to ensure the client has an up-to-date value before proceeding. */ @@ -786,6 +799,8 @@ export namespace workspaceevents_v1 { * 'https://www.googleapis.com/auth/chat.messages.readonly', * 'https://www.googleapis.com/auth/chat.spaces', * 'https://www.googleapis.com/auth/chat.spaces.readonly', + * 'https://www.googleapis.com/auth/chat.users.availability', + * 'https://www.googleapis.com/auth/chat.users.availability.readonly', * 'https://www.googleapis.com/auth/chat.users.readstate', * 'https://www.googleapis.com/auth/chat.users.readstate.readonly', * 'https://www.googleapis.com/auth/drive', @@ -961,6 +976,8 @@ export namespace workspaceevents_v1 { * 'https://www.googleapis.com/auth/chat.messages.readonly', * 'https://www.googleapis.com/auth/chat.spaces', * 'https://www.googleapis.com/auth/chat.spaces.readonly', + * 'https://www.googleapis.com/auth/chat.users.availability', + * 'https://www.googleapis.com/auth/chat.users.availability.readonly', * 'https://www.googleapis.com/auth/chat.users.readstate', * 'https://www.googleapis.com/auth/chat.users.readstate.readonly', * 'https://www.googleapis.com/auth/drive', @@ -988,6 +1005,7 @@ export namespace workspaceevents_v1 { * // { * // "authority": "my_authority", * // "createTime": "my_createTime", + * // "driveOptions": {}, * // "etag": "my_etag", * // "eventTypes": [], * // "expireTime": "my_expireTime", @@ -1143,6 +1161,8 @@ export namespace workspaceevents_v1 { * 'https://www.googleapis.com/auth/chat.messages.readonly', * 'https://www.googleapis.com/auth/chat.spaces', * 'https://www.googleapis.com/auth/chat.spaces.readonly', + * 'https://www.googleapis.com/auth/chat.users.availability', + * 'https://www.googleapis.com/auth/chat.users.availability.readonly', * 'https://www.googleapis.com/auth/chat.users.readstate', * 'https://www.googleapis.com/auth/chat.users.readstate.readonly', * 'https://www.googleapis.com/auth/drive', @@ -1307,6 +1327,8 @@ export namespace workspaceevents_v1 { * 'https://www.googleapis.com/auth/chat.messages.readonly', * 'https://www.googleapis.com/auth/chat.spaces', * 'https://www.googleapis.com/auth/chat.spaces.readonly', + * 'https://www.googleapis.com/auth/chat.users.availability', + * 'https://www.googleapis.com/auth/chat.users.availability.readonly', * 'https://www.googleapis.com/auth/chat.users.readstate', * 'https://www.googleapis.com/auth/chat.users.readstate.readonly', * 'https://www.googleapis.com/auth/drive', @@ -1334,6 +1356,7 @@ export namespace workspaceevents_v1 { * // { * // "authority": "my_authority", * // "createTime": "my_createTime", + * // "driveOptions": {}, * // "etag": "my_etag", * // "eventTypes": [], * // "expireTime": "my_expireTime", @@ -1477,6 +1500,8 @@ export namespace workspaceevents_v1 { * 'https://www.googleapis.com/auth/chat.messages.readonly', * 'https://www.googleapis.com/auth/chat.spaces', * 'https://www.googleapis.com/auth/chat.spaces.readonly', + * 'https://www.googleapis.com/auth/chat.users.availability', + * 'https://www.googleapis.com/auth/chat.users.availability.readonly', * 'https://www.googleapis.com/auth/chat.users.readstate', * 'https://www.googleapis.com/auth/chat.users.readstate.readonly', * 'https://www.googleapis.com/auth/drive', @@ -1644,6 +1669,8 @@ export namespace workspaceevents_v1 { * 'https://www.googleapis.com/auth/chat.messages.readonly', * 'https://www.googleapis.com/auth/chat.spaces', * 'https://www.googleapis.com/auth/chat.spaces.readonly', + * 'https://www.googleapis.com/auth/chat.users.availability', + * 'https://www.googleapis.com/auth/chat.users.availability.readonly', * 'https://www.googleapis.com/auth/chat.users.readstate', * 'https://www.googleapis.com/auth/chat.users.readstate.readonly', * 'https://www.googleapis.com/auth/drive', @@ -1675,6 +1702,7 @@ export namespace workspaceevents_v1 { * // { * // "authority": "my_authority", * // "createTime": "my_createTime", + * // "driveOptions": {}, * // "etag": "my_etag", * // "eventTypes": [], * // "expireTime": "my_expireTime", @@ -1834,6 +1862,8 @@ export namespace workspaceevents_v1 { * 'https://www.googleapis.com/auth/chat.messages.readonly', * 'https://www.googleapis.com/auth/chat.spaces', * 'https://www.googleapis.com/auth/chat.spaces.readonly', + * 'https://www.googleapis.com/auth/chat.users.availability', + * 'https://www.googleapis.com/auth/chat.users.availability.readonly', * 'https://www.googleapis.com/auth/chat.users.readstate', * 'https://www.googleapis.com/auth/chat.users.readstate.readonly', * 'https://www.googleapis.com/auth/drive', From 1538dbf77aad1e56131982b87437003dda2b082a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:41 +0000 Subject: [PATCH 67/69] feat(workstations): update the API #### workstations:v1beta The following keys were added: - schemas.Workstation.properties.persistentDirectories.description - schemas.Workstation.properties.persistentDirectories.items.$ref - schemas.Workstation.properties.persistentDirectories.type - schemas.WorkstationGceRegionalPersistentDisk.description - schemas.WorkstationGceRegionalPersistentDisk.id - schemas.WorkstationGceRegionalPersistentDisk.properties.name.description - schemas.WorkstationGceRegionalPersistentDisk.properties.name.type - schemas.WorkstationGceRegionalPersistentDisk.properties.sizeGb.description - schemas.WorkstationGceRegionalPersistentDisk.properties.sizeGb.format - schemas.WorkstationGceRegionalPersistentDisk.properties.sizeGb.type - schemas.WorkstationGceRegionalPersistentDisk.type - schemas.WorkstationPersistentDirectory.description - schemas.WorkstationPersistentDirectory.id - schemas.WorkstationPersistentDirectory.properties.gcePd.$ref - schemas.WorkstationPersistentDirectory.properties.gcePd.deprecated - schemas.WorkstationPersistentDirectory.properties.gcePd.description - schemas.WorkstationPersistentDirectory.properties.mountPath.description - schemas.WorkstationPersistentDirectory.properties.mountPath.type - schemas.WorkstationPersistentDirectory.properties.sizeGb.description - schemas.WorkstationPersistentDirectory.properties.sizeGb.format - schemas.WorkstationPersistentDirectory.properties.sizeGb.type - schemas.WorkstationPersistentDirectory.type --- discovery/workstations-v1beta.json | 46 +++++++++++++++++++++++++++++- src/apis/workstations/v1beta.ts | 37 ++++++++++++++++++++++++ 2 files changed, 82 insertions(+), 1 deletion(-) diff --git a/discovery/workstations-v1beta.json b/discovery/workstations-v1beta.json index 07287cac83..907094212f 100644 --- a/discovery/workstations-v1beta.json +++ b/discovery/workstations-v1beta.json @@ -1175,7 +1175,7 @@ } } }, - "revision": "20260413", + "revision": "20260506", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "Accelerator": { @@ -2355,6 +2355,13 @@ "description": "Identifier. Full name of this workstation.", "type": "string" }, + "persistentDirectories": { + "description": "Optional. Directories to persist across workstation sessions.", + "items": { + "$ref": "WorkstationPersistentDirectory" + }, + "type": "array" + }, "reconciling": { "description": "Output only. Indicates whether this workstation is currently being updated to match its intended state.", "readOnly": true, @@ -2724,6 +2731,43 @@ } }, "type": "object" + }, + "WorkstationGceRegionalPersistentDisk": { + "description": "A Persistent Directory backed by a Compute Engine regional persistent disk within the workstation.", + "id": "WorkstationGceRegionalPersistentDisk", + "properties": { + "name": { + "description": "The name of the persistent directory.", + "type": "string" + }, + "sizeGb": { + "description": "Required. The desired size of the persistent directory in GB.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "WorkstationPersistentDirectory": { + "description": "A directory to persist across workstation sessions. Updates to this field will only take effect on this workstation after it is restarted.", + "id": "WorkstationPersistentDirectory", + "properties": { + "gcePd": { + "$ref": "WorkstationGceRegionalPersistentDisk", + "deprecated": true, + "description": "A PersistentDirectory backed by a Compute Engine persistent disk." + }, + "mountPath": { + "description": "Optional. The mount path of the persistent directory.", + "type": "string" + }, + "sizeGb": { + "description": "Optional. Size of the persistent directory in GB. If specified in an update request, this is the desired size of the directory.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/src/apis/workstations/v1beta.ts b/src/apis/workstations/v1beta.ts index b1f21c57ea..8aaa3d6eb4 100644 --- a/src/apis/workstations/v1beta.ts +++ b/src/apis/workstations/v1beta.ts @@ -993,6 +993,10 @@ export namespace workstations_v1beta { * Identifier. Full name of this workstation. */ name?: string | null; + /** + * Optional. Directories to persist across workstation sessions. + */ + persistentDirectories?: Schema$WorkstationPersistentDirectory[]; /** * Output only. Indicates whether this workstation is currently being updated to match its intended state. */ @@ -1265,6 +1269,36 @@ export namespace workstations_v1beta { */ updateTime?: string | null; } + /** + * A Persistent Directory backed by a Compute Engine regional persistent disk within the workstation. + */ + export interface Schema$WorkstationGceRegionalPersistentDisk { + /** + * The name of the persistent directory. + */ + name?: string | null; + /** + * Required. The desired size of the persistent directory in GB. + */ + sizeGb?: number | null; + } + /** + * A directory to persist across workstation sessions. Updates to this field will only take effect on this workstation after it is restarted. + */ + export interface Schema$WorkstationPersistentDirectory { + /** + * A PersistentDirectory backed by a Compute Engine persistent disk. + */ + gcePd?: Schema$WorkstationGceRegionalPersistentDisk; + /** + * Optional. The mount path of the persistent directory. + */ + mountPath?: string | null; + /** + * Optional. Size of the persistent directory in GB. If specified in an update request, this is the desired size of the directory. + */ + sizeGb?: number | null; + } export class Resource$Projects { context: APIRequestContext; @@ -4466,6 +4500,7 @@ export namespace workstations_v1beta { * // "kmsKey": "my_kmsKey", * // "labels": {}, * // "name": "my_name", + * // "persistentDirectories": [], * // "reconciling": false, * // "runtimeHost": {}, * // "satisfiesPzi": false, @@ -4943,6 +4978,7 @@ export namespace workstations_v1beta { * // "kmsKey": "my_kmsKey", * // "labels": {}, * // "name": "my_name", + * // "persistentDirectories": [], * // "reconciling": false, * // "runtimeHost": {}, * // "satisfiesPzi": false, @@ -5559,6 +5595,7 @@ export namespace workstations_v1beta { * // "kmsKey": "my_kmsKey", * // "labels": {}, * // "name": "my_name", + * // "persistentDirectories": [], * // "reconciling": false, * // "runtimeHost": {}, * // "satisfiesPzi": false, From 3acc824f400c15c0a16968cc4fa9d6d946e8ec91 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 25 May 2026 01:48:41 +0000 Subject: [PATCH 68/69] feat: regenerate index files --- discovery/apigee-v1.json | 7 +- discovery/clouderrorreporting-v1beta1.json | 191 ++++++++++++++-- discovery/cloudtrace-v1.json | 239 ++++++++++++++++++++- discovery/cloudtrace-v2.json | 239 ++++++++++++++++++++- discovery/cloudtrace-v2beta1.json | 239 ++++++++++++++++++++- discovery/config-v1.json | 34 ++- discovery/datalineage-v1.json | 14 +- discovery/dfareporting-v4.json | 8 +- discovery/dfareporting-v5.json | 8 +- discovery/gmailpostmastertools-v2.json | 6 +- discovery/healthcare-v1.json | 8 +- discovery/healthcare-v1beta1.json | 34 ++- discovery/index.json | 19 +- discovery/observability-v1.json | 82 ++++++- discovery/osconfig-v1.json | 9 +- discovery/osconfig-v1alpha.json | 9 +- discovery/osconfig-v1beta.json | 9 +- discovery/osconfig-v2.json | 9 +- discovery/osconfig-v2beta.json | 9 +- discovery/servicemanagement-v1.json | 8 +- src/apis/index.ts | 6 + src/index.ts | 1 + 22 files changed, 1143 insertions(+), 45 deletions(-) diff --git a/discovery/apigee-v1.json b/discovery/apigee-v1.json index 6385784b0d..32e9e48105 100644 --- a/discovery/apigee-v1.json +++ b/discovery/apigee-v1.json @@ -11964,7 +11964,7 @@ } } }, - "revision": "20260430", + "revision": "20260511", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { @@ -12781,6 +12781,11 @@ "format": "int64", "type": "string" }, + "mcp": { + "description": "Output only. Whether this proxy revision is detected as an MCP (Model Context Protocol) proxy. A proxy revision is identified as MCP if it has a proxy endpoint with the `/mcp` base path that routes to the MCP target URL.", + "readOnly": true, + "type": "boolean" + }, "name": { "description": "Name of the API proxy.", "type": "string" diff --git a/discovery/clouderrorreporting-v1beta1.json b/discovery/clouderrorreporting-v1beta1.json index fae8d5e878..45e2f7a8cf 100644 --- a/discovery/clouderrorreporting-v1beta1.json +++ b/discovery/clouderrorreporting-v1beta1.json @@ -21,26 +21,121 @@ "endpointUrl": "https://clouderrorreporting.us.rep.googleapis.com/", "location": "us" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://clouderrorreporting.asia-east1.rep.googleapis.com/", "location": "asia-east1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.asia-southeast3.rep.googleapis.com/", + "location": "asia-southeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://clouderrorreporting.australia-southeast1.rep.googleapis.com/", "location": "australia-southeast1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, { "description": "Regional Endpoint", "endpointUrl": "https://clouderrorreporting.europe-north1.rep.googleapis.com/", "location": "europe-north1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.europe-north2.rep.googleapis.com/", + "location": "europe-north2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://clouderrorreporting.europe-west1.rep.googleapis.com/", "location": "europe-west1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, { "description": "Regional Endpoint", "endpointUrl": "https://clouderrorreporting.europe-west6.rep.googleapis.com/", @@ -51,6 +146,66 @@ "endpointUrl": "https://clouderrorreporting.europe-west8.rep.googleapis.com/", "location": "europe-west8" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://clouderrorreporting.us-east4.rep.googleapis.com/", @@ -58,33 +213,43 @@ }, { "description": "Regional Endpoint", - "endpointUrl": "https://clouderrorreporting.us-west8.rep.googleapis.com/", - "location": "us-west8" + "endpointUrl": "https://clouderrorreporting.us-east5.rep.googleapis.com/", + "location": "us-east5" }, { "description": "Regional Endpoint", - "endpointUrl": "https://clouderrorreporting.asia-northeast2.rep.googleapis.com/", - "location": "asia-northeast2" + "endpointUrl": "https://clouderrorreporting.us-east7.rep.googleapis.com/", + "location": "us-east7" }, { "description": "Regional Endpoint", - "endpointUrl": "https://clouderrorreporting.asia-northeast3.rep.googleapis.com/", - "location": "asia-northeast3" + "endpointUrl": "https://clouderrorreporting.us-south1.rep.googleapis.com/", + "location": "us-south1" }, { "description": "Regional Endpoint", - "endpointUrl": "https://clouderrorreporting.asia-south1.rep.googleapis.com/", - "location": "asia-south1" + "endpointUrl": "https://clouderrorreporting.us-west1.rep.googleapis.com/", + "location": "us-west1" }, { "description": "Regional Endpoint", - "endpointUrl": "https://clouderrorreporting.asia-south2.rep.googleapis.com/", - "location": "asia-south2" + "endpointUrl": "https://clouderrorreporting.us-west2.rep.googleapis.com/", + "location": "us-west2" }, { "description": "Regional Endpoint", - "endpointUrl": "https://clouderrorreporting.asia-southeast1.rep.googleapis.com/", - "location": "asia-southeast1" + "endpointUrl": "https://clouderrorreporting.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://clouderrorreporting.us-west8.rep.googleapis.com/", + "location": "us-west8" } ], "fullyEncodeReservedExpansion": true, @@ -800,7 +965,7 @@ } } }, - "revision": "20260424", + "revision": "20260508", "rootUrl": "https://clouderrorreporting.googleapis.com/", "schemas": { "DeleteEventsResponse": { diff --git a/discovery/cloudtrace-v1.json b/discovery/cloudtrace-v1.json index 064f15eba4..29ae12d0be 100644 --- a/discovery/cloudtrace-v1.json +++ b/discovery/cloudtrace-v1.json @@ -21,6 +21,243 @@ "description": "Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry. ", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/trace/", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-north2.rep.googleapis.com/", + "location": "europe-north2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-east7.rep.googleapis.com/", + "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west8.rep.googleapis.com/", + "location": "us-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us.rep.googleapis.com/", + "location": "us" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.eu.rep.googleapis.com/", + "location": "eu" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -257,7 +494,7 @@ } } }, - "revision": "20251003", + "revision": "20260508", "rootUrl": "https://cloudtrace.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/cloudtrace-v2.json b/discovery/cloudtrace-v2.json index 62c87d03ea..fe4efc5124 100644 --- a/discovery/cloudtrace-v2.json +++ b/discovery/cloudtrace-v2.json @@ -18,6 +18,243 @@ "description": "Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry. ", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/trace/", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-north2.rep.googleapis.com/", + "location": "europe-north2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-east7.rep.googleapis.com/", + "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west8.rep.googleapis.com/", + "location": "us-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us.rep.googleapis.com/", + "location": "us" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.eu.rep.googleapis.com/", + "location": "eu" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -181,7 +418,7 @@ } } }, - "revision": "20251003", + "revision": "20260508", "rootUrl": "https://cloudtrace.googleapis.com/", "schemas": { "Annotation": { diff --git a/discovery/cloudtrace-v2beta1.json b/discovery/cloudtrace-v2beta1.json index 37d43e71b9..4b82a710f1 100644 --- a/discovery/cloudtrace-v2beta1.json +++ b/discovery/cloudtrace-v2beta1.json @@ -21,6 +21,243 @@ "description": "Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry. ", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/trace/", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-north2.rep.googleapis.com/", + "location": "europe-north2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-east7.rep.googleapis.com/", + "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us-west8.rep.googleapis.com/", + "location": "us-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.us.rep.googleapis.com/", + "location": "us" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://cloudtrace.eu.rep.googleapis.com/", + "location": "eu" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -273,7 +510,7 @@ } } }, - "revision": "20251003", + "revision": "20260508", "rootUrl": "https://cloudtrace.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/config-v1.json b/discovery/config-v1.json index 11f6cbc5e8..b9304ec7da 100644 --- a/discovery/config-v1.json +++ b/discovery/config-v1.json @@ -15,6 +15,38 @@ "description": "Creates and manages Google Cloud Platform resources and infrastructure.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/infrastructure-manager/docs", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://config.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://config.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://config.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://config.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://config.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://config.us-east7.rep.googleapis.com/", + "location": "us-east7" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -1736,7 +1768,7 @@ } } }, - "revision": "20260422", + "revision": "20260513", "rootUrl": "https://config.googleapis.com/", "schemas": { "ApplyResults": { diff --git a/discovery/datalineage-v1.json b/discovery/datalineage-v1.json index 743aafea35..5b0fcdd052 100644 --- a/discovery/datalineage-v1.json +++ b/discovery/datalineage-v1.json @@ -4,6 +4,12 @@ "scopes": { "https://www.googleapis.com/auth/cloud-platform": { "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + }, + "https://www.googleapis.com/auth/datalineage.read-write": { + "description": "See, edit, configure, and delete your Google Cloud Data Lineage data and see the email address for your Google Account" + }, + "https://www.googleapis.com/auth/datalineage.readonly": { + "description": "See your Google Cloud Data Lineage data and the email address of your Google Account" } } } @@ -581,7 +587,9 @@ "$ref": "GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/datalineage.read-write", + "https://www.googleapis.com/auth/datalineage.readonly" ] }, "searchLinks": { @@ -1275,7 +1283,7 @@ } } }, - "revision": "20260506", + "revision": "20260515", "rootUrl": "https://datalineage.googleapis.com/", "schemas": { "GoogleCloudDatacatalogLineageConfigmanagementV1Config": { @@ -1375,7 +1383,7 @@ "type": "integer" }, "pageToken": { - "description": "The page token received from a previous `BatchSearchLinkProcesses` call. Use it to get the next page. When requesting subsequent pages of a response, remember that all parameters must match the values you provided in the original request.", + "description": "Optional. The page token received from a previous `BatchSearchLinkProcesses` call. Use it to get the next page. When requesting subsequent pages of a response, remember that all parameters must match the values you provided in the original request.", "type": "string" } }, diff --git a/discovery/dfareporting-v4.json b/discovery/dfareporting-v4.json index 7cf9cb6996..c6b97fff34 100644 --- a/discovery/dfareporting-v4.json +++ b/discovery/dfareporting-v4.json @@ -10465,7 +10465,7 @@ } } }, - "revision": "20260326", + "revision": "20260511", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "Account": { @@ -12993,7 +12993,8 @@ "CREATIVE_AUTHORING_SOURCE_TYPEFACE_AI", "CREATIVE_AUTHORING_SOURCE_REMBRAND", "CREATIVE_AUTHORING_SOURCE_TRACKTO_STUDIO", - "CREATIVE_AUTHORING_SOURCE_BORNLOGIC" + "CREATIVE_AUTHORING_SOURCE_BORNLOGIC", + "CREATIVE_AUTHORING_SOURCE_BEGEN_AI" ], "enumDescriptions": [ "DCM-UI or external API used to author the creative.", @@ -13005,7 +13006,8 @@ "Creative authoring source is Typeface.ai.", "Creative authoring source is Rembrand.", "Creative authoring source is Trackto.", - "Creative authoring source is Bornlogic." + "Creative authoring source is Bornlogic.", + "Creative authoring source is BEGEN_AI." ], "type": "string" }, diff --git a/discovery/dfareporting-v5.json b/discovery/dfareporting-v5.json index 9e5ad52cec..1f9dcde39d 100644 --- a/discovery/dfareporting-v5.json +++ b/discovery/dfareporting-v5.json @@ -10091,7 +10091,7 @@ } } }, - "revision": "20260326", + "revision": "20260511", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "Account": { @@ -12585,7 +12585,8 @@ "CREATIVE_AUTHORING_SOURCE_TYPEFACE_AI", "CREATIVE_AUTHORING_SOURCE_REMBRAND", "CREATIVE_AUTHORING_SOURCE_TRACKTO_STUDIO", - "CREATIVE_AUTHORING_SOURCE_BORNLOGIC" + "CREATIVE_AUTHORING_SOURCE_BORNLOGIC", + "CREATIVE_AUTHORING_SOURCE_BEGEN_AI" ], "enumDescriptions": [ "DCM-UI or external API used to author the creative.", @@ -12597,7 +12598,8 @@ "Creative authoring source is Typeface.ai.", "Creative authoring source is Rembrand.", "Creative authoring source is Trackto.", - "Creative authoring source is Bornlogic." + "Creative authoring source is Bornlogic.", + "Creative authoring source is BEGEN_AI." ], "type": "string" }, diff --git a/discovery/gmailpostmastertools-v2.json b/discovery/gmailpostmastertools-v2.json index 1843bcf844..ebb7c6fd3a 100644 --- a/discovery/gmailpostmastertools-v2.json +++ b/discovery/gmailpostmastertools-v2.json @@ -254,7 +254,7 @@ } } }, - "revision": "20260209", + "revision": "20260512", "rootUrl": "https://gmailpostmastertools.googleapis.com/", "schemas": { "BaseMetric": { @@ -276,8 +276,8 @@ ], "enumDescriptions": [ "Unspecified standard metric. This value should not be used directly.", - "Predefined metric for Feedback Loop (FBL) id.", - "Predefined metric for Feedback Loop (FBL) spam rate. Filter must be of type feedback_loop_id = \"\" where is one valid feedback loop ids.", + "Predefined metric for Feedback Loop (FBL) id. The `filter` field supports selecting the aggregation key type. Supported format: `aggregation_key_type` = \"\". Supported values: * `FROM_HEADER`: (Default) The metric includes messages with From: header domain matching the requested domain. * `ALL_DKIM`: The metric includes messages with one of the signed DKIM domains matching the requested domain.", + "Predefined metric for Feedback Loop (FBL) spam rate. The `filter` field requires a `feedback_loop_id` and optionally accepts an `aggregation_key_type`. Supported formats are: * `feedback_loop_id` = \"\" * `feedback_loop_id` = \"\" AND `aggregation_key_type` = \"\" If `aggregation_key_type` is omitted, it defaults to `FROM_HEADER`. Supported values: * `FROM_HEADER`: (Default) The metric includes messages with From: header domain matching the requested domain. * `ALL_DKIM`: The metric includes messages with one of the signed DKIM domains matching the requested domain.", "Predefined metric for spam rate.", "The success rate of authentication mechanisms (DKIM, SPF, DMARC). Filter must be of type auth_type = \"\" where is one of: [spf, dkim, dmarc]", "The rate of messages that were TLS encrypted in transit Filter must be of type traffic_direction = \"\" where is one of: [inbound, outbound]", diff --git a/discovery/healthcare-v1.json b/discovery/healthcare-v1.json index 7dd2a5a62b..1ee952500b 100644 --- a/discovery/healthcare-v1.json +++ b/discovery/healthcare-v1.json @@ -148,7 +148,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -5171,7 +5171,7 @@ } } }, - "revision": "20260421", + "revision": "20260512", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { @@ -5629,6 +5629,10 @@ "description": "Optional. If provided, only resources updated before or atthis time are deleted. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", "type": "string" }, + "validateOnly": { + "description": "Optional. If set to true, the request will only perform a dry run. By default (once the behavior change is fully rolled out), this will default to true. During the transition period, the default depends on the Mendel flag status for the project.", + "type": "boolean" + }, "versionConfig": { "description": "Optional. Specifies which version of the resources to delete.", "enum": [ diff --git a/discovery/healthcare-v1beta1.json b/discovery/healthcare-v1beta1.json index 5f43f47908..4bf78e188a 100644 --- a/discovery/healthcare-v1beta1.json +++ b/discovery/healthcare-v1beta1.json @@ -148,7 +148,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -5718,7 +5718,7 @@ } } }, - "revision": "20260421", + "revision": "20260519", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { @@ -6236,6 +6236,10 @@ "description": "Optional. If provided, only resources updated before or atthis time are deleted. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", "type": "string" }, + "validateOnly": { + "description": "Optional. If set to true, the request will only perform a dry run. By default (once the behavior change is fully rolled out), this will default to true. During the transition period, the default depends on the Mendel flag status for the project.", + "type": "boolean" + }, "versionConfig": { "description": "Optional. Specifies which version of the resources to delete.", "enum": [ @@ -6697,6 +6701,25 @@ "properties": {}, "type": "object" }, + "CustomRegex": { + "description": "Defines a custom regular expression pattern to detect and redact in the image.", + "id": "CustomRegex", + "properties": { + "groupIndexes": { + "description": "Optional. The capturing group indexes to redact. skip_request_analyics: true", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "pattern": { + "description": "Optional. The regular expression pattern to match.", + "type": "string" + } + }, + "type": "object" + }, "Dataset": { "description": "A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.", "id": "Dataset", @@ -8356,6 +8379,13 @@ }, "type": "array" }, + "customRegexes": { + "description": "Optional. Custom regex patterns to redact from the image.", + "items": { + "$ref": "CustomRegex" + }, + "type": "array" + }, "excludeInfoTypes": { "description": "InfoTypes to skip redacting, overriding those used by `text_redaction_mode`. Can only be used when `text_redaction_mode` is set to `REDACT_SENSITIVE_TEXT` or `REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS`.", "items": { diff --git a/discovery/index.json b/discovery/index.json index 61eb315fbc..3a20176b1a 100644 --- a/discovery/index.json +++ b/discovery/index.json @@ -1740,6 +1740,21 @@ "title": "Cloud Location Finder API", "version": "v1" }, + { + "description": "", + "discoveryRestUrl": "https://cloudnumberregistry.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://docs.cloud.google.com/number-registry/reference/rest", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "id": "cloudnumberregistry:v1alpha", + "kind": "discovery#directoryItem", + "name": "cloudnumberregistry", + "preferred": true, + "title": "Cloud Number Registry API", + "version": "v1alpha" + }, { "description": "Manages continuous profiling information.", "discoveryRestUrl": "https://cloudprofiler.googleapis.com/$discovery/rest?version=v2", @@ -6787,7 +6802,7 @@ "version": "v1" }, { - "description": "API for Cloud SQL database instance management", + "description": "Cloud SQL Admin API", "discoveryRestUrl": "https://sqladmin.googleapis.com/$discovery/rest?version=v1beta4", "documentationLink": "https://cloud.google.com/sql/docs", "icons": { @@ -6802,7 +6817,7 @@ "version": "v1beta4" }, { - "description": "API for Cloud SQL database instance management", + "description": "Cloud SQL Admin API", "discoveryRestUrl": "https://sqladmin.googleapis.com/$discovery/rest?version=v1", "documentationLink": "https://cloud.google.com/sql/docs", "icons": { diff --git a/discovery/observability-v1.json b/discovery/observability-v1.json index ec48a5e0ce..01ed8d84eb 100644 --- a/discovery/observability-v1.json +++ b/discovery/observability-v1.json @@ -31,6 +31,11 @@ "endpointUrl": "https://observability.asia-east2.rep.googleapis.com/", "location": "asia-east2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://observability.asia-northeast2.rep.googleapis.com/", @@ -51,6 +56,11 @@ "endpointUrl": "https://observability.asia-south2.rep.googleapis.com/", "location": "asia-south2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://observability.asia-southeast2.rep.googleapis.com/", @@ -61,21 +71,56 @@ "endpointUrl": "https://observability.asia-southeast3.rep.googleapis.com/", "location": "asia-southeast3" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://observability.australia-southeast2.rep.googleapis.com/", "location": "australia-southeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://observability.europe-north2.rep.googleapis.com/", "location": "europe-north2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://observability.europe-west1.rep.googleapis.com/", "location": "europe-west1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, { "description": "Regional Endpoint", "endpointUrl": "https://observability.europe-west3.rep.googleapis.com/", @@ -101,6 +146,21 @@ "endpointUrl": "https://observability.me-central1.rep.googleapis.com/", "location": "me-central1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://observability.northamerica-northeast2.rep.googleapis.com/", @@ -111,6 +171,11 @@ "endpointUrl": "https://observability.northamerica-south1.rep.googleapis.com/", "location": "northamerica-south1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://observability.southamerica-west1.rep.googleapis.com/", @@ -121,11 +186,21 @@ "endpointUrl": "https://observability.us-central1.rep.googleapis.com/", "location": "us-central1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, { "description": "Regional Endpoint", "endpointUrl": "https://observability.us-east1.rep.googleapis.com/", "location": "us-east1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, { "description": "Regional Endpoint", "endpointUrl": "https://observability.us-east5.rep.googleapis.com/", @@ -151,6 +226,11 @@ "endpointUrl": "https://observability.us-west3.rep.googleapis.com/", "location": "us-west3" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://observability.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, { "description": "Regional Endpoint", "endpointUrl": "https://observability.us.rep.googleapis.com/", @@ -1646,7 +1726,7 @@ } } }, - "revision": "20260423", + "revision": "20260514", "rootUrl": "https://observability.googleapis.com/", "schemas": { "Bucket": { diff --git a/discovery/osconfig-v1.json b/discovery/osconfig-v1.json index 0792453067..3457907290 100644 --- a/discovery/osconfig-v1.json +++ b/discovery/osconfig-v1.json @@ -15,6 +15,13 @@ "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/compute/docs/osconfig/rest", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://osconfig.us-east7.rep.googleapis.com/", + "location": "us-east7" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -1083,7 +1090,7 @@ } } }, - "revision": "20260423", + "revision": "20260507", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptSettings": { diff --git a/discovery/osconfig-v1alpha.json b/discovery/osconfig-v1alpha.json index bd33b2e15d..3de02750f0 100644 --- a/discovery/osconfig-v1alpha.json +++ b/discovery/osconfig-v1alpha.json @@ -15,6 +15,13 @@ "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/compute/docs/osconfig/rest", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://osconfig.us-east7.rep.googleapis.com/", + "location": "us-east7" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -707,7 +714,7 @@ } } }, - "revision": "20260423", + "revision": "20260507", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CVSSv3": { diff --git a/discovery/osconfig-v1beta.json b/discovery/osconfig-v1beta.json index e905f26f8d..89db86a6c2 100644 --- a/discovery/osconfig-v1beta.json +++ b/discovery/osconfig-v1beta.json @@ -15,6 +15,13 @@ "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/compute/docs/osconfig/rest", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://osconfig.us-east7.rep.googleapis.com/", + "location": "us-east7" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -689,7 +696,7 @@ } } }, - "revision": "20260423", + "revision": "20260507", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptRepository": { diff --git a/discovery/osconfig-v2.json b/discovery/osconfig-v2.json index 12d9a3df3b..de96aede93 100644 --- a/discovery/osconfig-v2.json +++ b/discovery/osconfig-v2.json @@ -15,6 +15,13 @@ "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/compute/docs/osconfig/rest", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://osconfig.us-east7.rep.googleapis.com/", + "location": "us-east7" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -1072,7 +1079,7 @@ } } }, - "revision": "20260423", + "revision": "20260507", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/discovery/osconfig-v2beta.json b/discovery/osconfig-v2beta.json index 38c5db2808..d0267a7fba 100644 --- a/discovery/osconfig-v2beta.json +++ b/discovery/osconfig-v2beta.json @@ -15,6 +15,13 @@ "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/compute/docs/osconfig/rest", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://osconfig.us-east7.rep.googleapis.com/", + "location": "us-east7" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -1072,7 +1079,7 @@ } } }, - "revision": "20260423", + "revision": "20260507", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/discovery/servicemanagement-v1.json b/discovery/servicemanagement-v1.json index 4b7c1bf2c7..6dbbb74803 100644 --- a/discovery/servicemanagement-v1.json +++ b/discovery/servicemanagement-v1.json @@ -835,7 +835,7 @@ } } }, - "revision": "20260406", + "revision": "20260430", "rootUrl": "https://servicemanagement.googleapis.com/", "schemas": { "Advice": { @@ -3178,7 +3178,8 @@ "STREET_VIEW", "SHOPPING", "GEO", - "GENERATIVE_AI" + "GENERATIVE_AI", + "HEALTH" ], "enumDescriptions": [ "Not useful.", @@ -3188,7 +3189,8 @@ "Street View Org.", "Shopping Org.", "Geo Org.", - "Generative AI - https://developers.generativeai.google" + "Generative AI - https://developers.generativeai.google", + "Health Org." ], "type": "string" }, diff --git a/src/apis/index.ts b/src/apis/index.ts index e36352b62b..4d41d08515 100644 --- a/src/apis/index.ts +++ b/src/apis/index.ts @@ -229,6 +229,10 @@ import { VERSIONS as cloudlocationfinderVersions, cloudlocationfinder, } from './cloudlocationfinder'; +import { + VERSIONS as cloudnumberregistryVersions, + cloudnumberregistry, +} from './cloudnumberregistry'; import { VERSIONS as cloudprofilerVersions, cloudprofiler, @@ -878,6 +882,7 @@ export const APIS: APIList = { cloudiot: cloudiotVersions, cloudkms: cloudkmsVersions, cloudlocationfinder: cloudlocationfinderVersions, + cloudnumberregistry: cloudnumberregistryVersions, cloudprofiler: cloudprofilerVersions, cloudresourcemanager: cloudresourcemanagerVersions, cloudscheduler: cloudschedulerVersions, @@ -1205,6 +1210,7 @@ export class GeneratedAPIs { cloudiot = cloudiot; cloudkms = cloudkms; cloudlocationfinder = cloudlocationfinder; + cloudnumberregistry = cloudnumberregistry; cloudprofiler = cloudprofiler; cloudresourcemanager = cloudresourcemanager; cloudscheduler = cloudscheduler; diff --git a/src/index.ts b/src/index.ts index 3b486b9ce3..7ba8360d5a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -159,6 +159,7 @@ export {cloudiot_v1} from './apis/cloudiot/v1'; export {cloudkms_v1} from './apis/cloudkms/v1'; export {cloudlocationfinder_v1} from './apis/cloudlocationfinder/v1'; export {cloudlocationfinder_v1alpha} from './apis/cloudlocationfinder/v1alpha'; +export {cloudnumberregistry_v1alpha} from './apis/cloudnumberregistry/v1alpha'; export {cloudprofiler_v2} from './apis/cloudprofiler/v2'; export {cloudresourcemanager_v1} from './apis/cloudresourcemanager/v1'; export {cloudresourcemanager_v1beta1} from './apis/cloudresourcemanager/v1beta1'; From 8150b0c9efc90ec2b26b5469d4839e7b4ddf6fd1 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 25 May 2026 01:51:28 +0000 Subject: [PATCH 69/69] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- release-please-config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release-please-config.json b/release-please-config.json index a021081de6..7fe3401161 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -325,6 +325,7 @@ "src/apis/ces": {}, "src/apis/agentregistry": {}, "src/apis/developerknowledge": {}, - "src/apis/health": {} + "src/apis/health": {}, + "src/apis/cloudnumberregistry": {} } } \ No newline at end of file