From 24846e81aa8f487b8d30b4d1b31c945e9968ec42 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Thu, 12 Oct 2023 07:59:42 -0700 Subject: [PATCH] feat: run the generator (#3362) * feat(adsense): update the API #### adsense:v2 The following keys were added: - resources.accounts.resources.policyIssues.methods.get.description - resources.accounts.resources.policyIssues.methods.get.flatPath - resources.accounts.resources.policyIssues.methods.get.httpMethod - resources.accounts.resources.policyIssues.methods.get.id - resources.accounts.resources.policyIssues.methods.get.parameterOrder - resources.accounts.resources.policyIssues.methods.get.parameters.name.description - resources.accounts.resources.policyIssues.methods.get.parameters.name.location - resources.accounts.resources.policyIssues.methods.get.parameters.name.pattern - resources.accounts.resources.policyIssues.methods.get.parameters.name.required - resources.accounts.resources.policyIssues.methods.get.parameters.name.type - resources.accounts.resources.policyIssues.methods.get.path - resources.accounts.resources.policyIssues.methods.get.response.$ref - resources.accounts.resources.policyIssues.methods.get.scopes - resources.accounts.resources.policyIssues.methods.list.description - resources.accounts.resources.policyIssues.methods.list.flatPath - resources.accounts.resources.policyIssues.methods.list.httpMethod - resources.accounts.resources.policyIssues.methods.list.id - resources.accounts.resources.policyIssues.methods.list.parameterOrder - resources.accounts.resources.policyIssues.methods.list.parameters.pageSize.description - resources.accounts.resources.policyIssues.methods.list.parameters.pageSize.format - resources.accounts.resources.policyIssues.methods.list.parameters.pageSize.location - resources.accounts.resources.policyIssues.methods.list.parameters.pageSize.type - resources.accounts.resources.policyIssues.methods.list.parameters.pageToken.description - resources.accounts.resources.policyIssues.methods.list.parameters.pageToken.location - resources.accounts.resources.policyIssues.methods.list.parameters.pageToken.type - resources.accounts.resources.policyIssues.methods.list.parameters.parent.description - resources.accounts.resources.policyIssues.methods.list.parameters.parent.location - resources.accounts.resources.policyIssues.methods.list.parameters.parent.pattern - resources.accounts.resources.policyIssues.methods.list.parameters.parent.required - resources.accounts.resources.policyIssues.methods.list.parameters.parent.type - resources.accounts.resources.policyIssues.methods.list.path - resources.accounts.resources.policyIssues.methods.list.response.$ref - resources.accounts.resources.policyIssues.methods.list.scopes - schemas.ListPolicyIssuesResponse.description - schemas.ListPolicyIssuesResponse.id - schemas.ListPolicyIssuesResponse.properties.nextPageToken.description - schemas.ListPolicyIssuesResponse.properties.nextPageToken.type - schemas.ListPolicyIssuesResponse.properties.policyIssues.description - schemas.ListPolicyIssuesResponse.properties.policyIssues.items.$ref - schemas.ListPolicyIssuesResponse.properties.policyIssues.type - schemas.ListPolicyIssuesResponse.type - schemas.PolicyIssue.description - schemas.PolicyIssue.id - schemas.PolicyIssue.properties.action.description - schemas.PolicyIssue.properties.action.enum - schemas.PolicyIssue.properties.action.enumDescriptions - schemas.PolicyIssue.properties.action.type - schemas.PolicyIssue.properties.adClients.description - schemas.PolicyIssue.properties.adClients.items.type - schemas.PolicyIssue.properties.adClients.type - schemas.PolicyIssue.properties.adRequestCount.description - schemas.PolicyIssue.properties.adRequestCount.format - schemas.PolicyIssue.properties.adRequestCount.type - schemas.PolicyIssue.properties.entityType.description - schemas.PolicyIssue.properties.entityType.enum - schemas.PolicyIssue.properties.entityType.enumDescriptions - schemas.PolicyIssue.properties.entityType.type - schemas.PolicyIssue.properties.firstDetectedDate.$ref - schemas.PolicyIssue.properties.firstDetectedDate.description - schemas.PolicyIssue.properties.lastDetectedDate.$ref - schemas.PolicyIssue.properties.lastDetectedDate.description - schemas.PolicyIssue.properties.name.description - schemas.PolicyIssue.properties.name.type - schemas.PolicyIssue.properties.policyTopics.description - schemas.PolicyIssue.properties.policyTopics.items.$ref - schemas.PolicyIssue.properties.policyTopics.type - schemas.PolicyIssue.properties.site.description - schemas.PolicyIssue.properties.site.type - schemas.PolicyIssue.properties.siteSection.description - schemas.PolicyIssue.properties.siteSection.type - schemas.PolicyIssue.properties.uri.description - schemas.PolicyIssue.properties.uri.type - schemas.PolicyIssue.properties.warningEscalationDate.$ref - schemas.PolicyIssue.properties.warningEscalationDate.description - schemas.PolicyIssue.type - schemas.PolicyTopic.description - schemas.PolicyTopic.id - schemas.PolicyTopic.properties.mustFix.description - schemas.PolicyTopic.properties.mustFix.type - schemas.PolicyTopic.properties.topic.description - schemas.PolicyTopic.properties.topic.type - schemas.PolicyTopic.type * feat(alloydb): update the API #### alloydb:v1beta The following keys were added: - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.type The following keys were changed: - schemas.Instance.properties.readPoolConfig.description - schemas.NetworkConfig.properties.allocatedIpRange.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.eventTime.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.name.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.resourceName.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalClass.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalId.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enumDescriptions #### alloydb:v1 The following keys were added: - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.type The following keys were changed: - schemas.Instance.properties.readPoolConfig.description - schemas.NetworkConfig.properties.allocatedIpRange.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.eventTime.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.name.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.resourceName.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalClass.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalId.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enumDescriptions * feat(cloudtasks)!: update the API BREAKING CHANGE: This release has breaking changes. #### cloudtasks:v2beta2 The following keys were deleted: - resources.projects.resources.locations.methods.updateCmekConfig.parameters.locationsId.location - resources.projects.resources.locations.methods.updateCmekConfig.parameters.locationsId.required - resources.projects.resources.locations.methods.updateCmekConfig.parameters.locationsId.type - resources.projects.resources.locations.methods.updateCmekConfig.parameters.projectsId.location - resources.projects.resources.locations.methods.updateCmekConfig.parameters.projectsId.required - resources.projects.resources.locations.methods.updateCmekConfig.parameters.projectsId.type The following keys were added: - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.description - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.location - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.pattern - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.required - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.type The following keys were changed: - resources.projects.resources.locations.methods.updateCmekConfig.parameterOrder - resources.projects.resources.locations.methods.updateCmekConfig.path #### cloudtasks:v2beta3 The following keys were deleted: - resources.projects.resources.locations.methods.updateCmekConfig.parameters.locationsId.location - resources.projects.resources.locations.methods.updateCmekConfig.parameters.locationsId.required - resources.projects.resources.locations.methods.updateCmekConfig.parameters.locationsId.type - resources.projects.resources.locations.methods.updateCmekConfig.parameters.projectsId.location - resources.projects.resources.locations.methods.updateCmekConfig.parameters.projectsId.required - resources.projects.resources.locations.methods.updateCmekConfig.parameters.projectsId.type The following keys were added: - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.description - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.location - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.pattern - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.required - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.type The following keys were changed: - resources.projects.resources.locations.methods.updateCmekConfig.parameterOrder - resources.projects.resources.locations.methods.updateCmekConfig.path #### cloudtasks:v2 The following keys were added: - resources.projects.resources.locations.methods.getCmekConfig.description - resources.projects.resources.locations.methods.getCmekConfig.flatPath - resources.projects.resources.locations.methods.getCmekConfig.httpMethod - resources.projects.resources.locations.methods.getCmekConfig.id - resources.projects.resources.locations.methods.getCmekConfig.parameterOrder - resources.projects.resources.locations.methods.getCmekConfig.parameters.name.description - resources.projects.resources.locations.methods.getCmekConfig.parameters.name.location - resources.projects.resources.locations.methods.getCmekConfig.parameters.name.pattern - resources.projects.resources.locations.methods.getCmekConfig.parameters.name.required - resources.projects.resources.locations.methods.getCmekConfig.parameters.name.type - resources.projects.resources.locations.methods.getCmekConfig.path - resources.projects.resources.locations.methods.getCmekConfig.response.$ref - resources.projects.resources.locations.methods.getCmekConfig.scopes - resources.projects.resources.locations.methods.updateCmekConfig.description - resources.projects.resources.locations.methods.updateCmekConfig.flatPath - resources.projects.resources.locations.methods.updateCmekConfig.httpMethod - resources.projects.resources.locations.methods.updateCmekConfig.id - resources.projects.resources.locations.methods.updateCmekConfig.parameterOrder - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.description - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.location - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.pattern - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.required - resources.projects.resources.locations.methods.updateCmekConfig.parameters.name.type - resources.projects.resources.locations.methods.updateCmekConfig.parameters.updateMask.description - resources.projects.resources.locations.methods.updateCmekConfig.parameters.updateMask.format - resources.projects.resources.locations.methods.updateCmekConfig.parameters.updateMask.location - resources.projects.resources.locations.methods.updateCmekConfig.parameters.updateMask.type - resources.projects.resources.locations.methods.updateCmekConfig.path - resources.projects.resources.locations.methods.updateCmekConfig.request.$ref - resources.projects.resources.locations.methods.updateCmekConfig.response.$ref - resources.projects.resources.locations.methods.updateCmekConfig.scopes - schemas.CmekConfig.description - schemas.CmekConfig.id - schemas.CmekConfig.properties.kmsKey.description - schemas.CmekConfig.properties.kmsKey.type - schemas.CmekConfig.properties.name.description - schemas.CmekConfig.properties.name.readOnly - schemas.CmekConfig.properties.name.type - schemas.CmekConfig.type * feat(containeranalysis)!: update the API BREAKING CHANGE: This release has breaking changes. #### containeranalysis:v1alpha1 The following keys were deleted: - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource.properties.sourceFetcher.description - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource.properties.sourceFetcher.enum - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource.properties.sourceFetcher.enumDescriptions - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource.properties.sourceFetcher.type #### containeranalysis:v1 The following keys were deleted: - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource.properties.sourceFetcher.description - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource.properties.sourceFetcher.enum - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource.properties.sourceFetcher.enumDescriptions - schemas.ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource.properties.sourceFetcher.type * feat(gkeonprem): update the API #### gkeonprem:v1 The following keys were added: - schemas.VmwareAdminCluster.properties.preparedSecrets.$ref - schemas.VmwareAdminCluster.properties.preparedSecrets.description - schemas.VmwareAdminPreparedSecretsConfig.description - schemas.VmwareAdminPreparedSecretsConfig.id - schemas.VmwareAdminPreparedSecretsConfig.properties.enabled.description - schemas.VmwareAdminPreparedSecretsConfig.properties.enabled.type - schemas.VmwareAdminPreparedSecretsConfig.type The following keys were changed: - schemas.BareMetalAdminCluster.description - schemas.BareMetalCluster.description * feat(notebooks)!: update the API BREAKING CHANGE: This release has breaking changes. #### notebooks:v1 The following keys were deleted: - resources.projects.resources.locations.resources.instances.methods.migrate.description - resources.projects.resources.locations.resources.instances.methods.migrate.flatPath - resources.projects.resources.locations.resources.instances.methods.migrate.httpMethod - resources.projects.resources.locations.resources.instances.methods.migrate.id - resources.projects.resources.locations.resources.instances.methods.migrate.parameterOrder - resources.projects.resources.locations.resources.instances.methods.migrate.parameters.name.description - resources.projects.resources.locations.resources.instances.methods.migrate.parameters.name.location - resources.projects.resources.locations.resources.instances.methods.migrate.parameters.name.pattern - resources.projects.resources.locations.resources.instances.methods.migrate.parameters.name.required - resources.projects.resources.locations.resources.instances.methods.migrate.parameters.name.type - resources.projects.resources.locations.resources.instances.methods.migrate.path - resources.projects.resources.locations.resources.instances.methods.migrate.request.$ref - resources.projects.resources.locations.resources.instances.methods.migrate.response.$ref - resources.projects.resources.locations.resources.instances.methods.migrate.scopes - resources.projects.resources.locations.resources.runtimes.methods.migrate.description - resources.projects.resources.locations.resources.runtimes.methods.migrate.flatPath - resources.projects.resources.locations.resources.runtimes.methods.migrate.httpMethod - resources.projects.resources.locations.resources.runtimes.methods.migrate.id - resources.projects.resources.locations.resources.runtimes.methods.migrate.parameterOrder - resources.projects.resources.locations.resources.runtimes.methods.migrate.parameters.name.description - resources.projects.resources.locations.resources.runtimes.methods.migrate.parameters.name.location - resources.projects.resources.locations.resources.runtimes.methods.migrate.parameters.name.pattern - resources.projects.resources.locations.resources.runtimes.methods.migrate.parameters.name.required - resources.projects.resources.locations.resources.runtimes.methods.migrate.parameters.name.type - resources.projects.resources.locations.resources.runtimes.methods.migrate.path - resources.projects.resources.locations.resources.runtimes.methods.migrate.request.$ref - resources.projects.resources.locations.resources.runtimes.methods.migrate.response.$ref - resources.projects.resources.locations.resources.runtimes.methods.migrate.scopes - schemas.MigrateInstanceRequest.description - schemas.MigrateInstanceRequest.id - schemas.MigrateInstanceRequest.properties.postStartupScriptOption.description - schemas.MigrateInstanceRequest.properties.postStartupScriptOption.enum - schemas.MigrateInstanceRequest.properties.postStartupScriptOption.enumDescriptions - schemas.MigrateInstanceRequest.properties.postStartupScriptOption.type - schemas.MigrateInstanceRequest.type - schemas.MigrateRuntimeRequest.description - schemas.MigrateRuntimeRequest.id - schemas.MigrateRuntimeRequest.properties.network.description - schemas.MigrateRuntimeRequest.properties.network.type - schemas.MigrateRuntimeRequest.properties.postStartupScriptOption.description - schemas.MigrateRuntimeRequest.properties.postStartupScriptOption.enum - schemas.MigrateRuntimeRequest.properties.postStartupScriptOption.enumDescriptions - schemas.MigrateRuntimeRequest.properties.postStartupScriptOption.type - schemas.MigrateRuntimeRequest.properties.requestId.description - schemas.MigrateRuntimeRequest.properties.requestId.type - schemas.MigrateRuntimeRequest.properties.serviceAccount.description - schemas.MigrateRuntimeRequest.properties.serviceAccount.type - schemas.MigrateRuntimeRequest.properties.subnet.description - schemas.MigrateRuntimeRequest.properties.subnet.type - schemas.MigrateRuntimeRequest.type The following keys were changed: - schemas.InstanceMigrationEligibility.properties.warnings.items.enumDescriptions * feat(recommender): update the API #### recommender:v1beta1 The following keys were added: - schemas.GoogleCloudRecommenderV1beta1CostProjection.properties.costInLocalCurrency.$ref - schemas.GoogleCloudRecommenderV1beta1CostProjection.properties.costInLocalCurrency.description - schemas.GoogleCloudRecommenderV1beta1Recommendation.properties.targetResources.description - schemas.GoogleCloudRecommenderV1beta1Recommendation.properties.targetResources.items.type - schemas.GoogleCloudRecommenderV1beta1Recommendation.properties.targetResources.type * feat(run): update the API #### run:v1 The following keys were added: - schemas.RevisionStatus.properties.desiredReplicas.description - schemas.RevisionStatus.properties.desiredReplicas.format - schemas.RevisionStatus.properties.desiredReplicas.readOnly - schemas.RevisionStatus.properties.desiredReplicas.type * feat: regenerate index files --------- Co-authored-by: Yoshi Automation --- discovery/adsense-v2.json | 189 +++++++++++++- discovery/aiplatform-v1.json | 86 +++---- discovery/aiplatform-v1beta1.json | 100 ++++---- discovery/alloydb-v1.json | 120 ++++++++- discovery/alloydb-v1beta.json | 120 ++++++++- discovery/clouddeploy-v1.json | 25 +- discovery/cloudtasks-v2.json | 77 +++++- discovery/cloudtasks-v2beta2.json | 16 +- discovery/cloudtasks-v2beta3.json | 16 +- discovery/containeranalysis-v1.json | 16 +- discovery/containeranalysis-v1alpha1.json | 16 +- discovery/dataflow-v1b3.json | 4 +- discovery/dataproc-v1.json | 2 +- discovery/gkeonprem-v1.json | 21 +- discovery/logging-v2.json | 4 +- discovery/notebooks-v1.json | 118 +-------- discovery/pubsub-v1beta1a.json | 4 +- discovery/pubsub-v1beta2.json | 2 +- discovery/recommender-v1beta1.json | 13 +- discovery/run-v1.json | 8 +- src/apis/adsense/v2.ts | 287 ++++++++++++++++++++++ src/apis/alloydb/v1.ts | 18 +- src/apis/alloydb/v1beta.ts | 18 +- src/apis/cloudtasks/v2.ts | 204 +++++++++++++++ src/apis/cloudtasks/v2beta2.ts | 17 +- src/apis/cloudtasks/v2beta3.ts | 17 +- src/apis/containeranalysis/v1.ts | 4 - src/apis/containeranalysis/v1alpha1.ts | 4 - src/apis/gkeonprem/v1.ts | 17 +- src/apis/notebooks/v1.ts | 232 ----------------- src/apis/recommender/v1beta1.ts | 8 + src/apis/run/v1.ts | 4 + 32 files changed, 1193 insertions(+), 594 deletions(-) diff --git a/discovery/adsense-v2.json b/discovery/adsense-v2.json index 0ad6aabc5e..f3aecfad66 100644 --- a/discovery/adsense-v2.json +++ b/discovery/adsense-v2.json @@ -837,6 +837,72 @@ } } }, + "policyIssues": { + "methods": { + "get": { + "description": "Gets information about the selected policy issue.", + "flatPath": "v2/accounts/{accountsId}/policyIssues/{policyIssuesId}", + "httpMethod": "GET", + "id": "adsense.accounts.policyIssues.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the policy issue. Format: accounts/{account}/policyIssues/{policy_issue}", + "location": "path", + "pattern": "^accounts/[^/]+/policyIssues/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "PolicyIssue" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense" + ] + }, + "list": { + "description": "Lists all the policy issues for the specified account.", + "flatPath": "v2/accounts/{accountsId}/policyIssues", + "httpMethod": "GET", + "id": "adsense.accounts.policyIssues.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of policy issues to include in the response, used for paging. If unspecified, at most 10000 policy issues will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListPolicyIssues` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPolicyIssues` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The account for which policy issues are being retrieved. Format: accounts/{account}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/policyIssues", + "response": { + "$ref": "ListPolicyIssuesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense", + "https://www.googleapis.com/auth/adsense.readonly" + ] + } + } + }, "reports": { "methods": { "generate": { @@ -1844,7 +1910,7 @@ } } }, - "revision": "20230706", + "revision": "20231011", "rootUrl": "https://adsense.googleapis.com/", "schemas": { "Account": { @@ -2391,6 +2457,24 @@ }, "type": "object" }, + "ListPolicyIssuesResponse": { + "description": "Response definition for the policy issues list rpc. Policy issues are reported only if the publisher has at least one AFC ad client in READY or GETTING_READY state. If the publisher has no such AFC ad client, the response will be an empty list.", + "id": "ListPolicyIssuesResponse", + "properties": { + "nextPageToken": { + "description": "Continuation token used to page through policy issues. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", + "type": "string" + }, + "policyIssues": { + "description": "The policy issues returned in the list response.", + "items": { + "$ref": "PolicyIssue" + }, + "type": "array" + } + }, + "type": "object" + }, "ListSavedReportsResponse": { "description": "Response definition for the saved reports list rpc.", "id": "ListSavedReportsResponse", @@ -2467,6 +2551,109 @@ }, "type": "object" }, + "PolicyIssue": { + "description": "Representation of a policy issue for a single entity (site, site-section, or page). All issues for a single entity are represented by a single PolicyIssue resource, though that PolicyIssue can have multiple causes (or \"topics\") that can change over time. Policy issues are removed if there are no issues detected recently or if there's a recent successful appeal for the entity.", + "id": "PolicyIssue", + "properties": { + "action": { + "description": "Required. The most severe action taken on the entity over the past seven days.", + "enum": [ + "ENFORCEMENT_ACTION_UNSPECIFIED", + "WARNED", + "AD_SERVING_RESTRICTED", + "AD_SERVING_DISABLED", + "AD_SERVED_WITH_CLICK_CONFIRMATION" + ], + "enumDescriptions": [ + "The action is unspecified.", + "No ad serving enforcement is currently present, but enforcement will start on the `warning_escalation_date` if the issue is not resolved.", + "Ad serving demand has been restricted on the entity.", + "Ad serving has been disabled on the entity.", + "Ads are being served for the entity but Confirmed Click is being applied to the ads. See https://support.google.com/adsense/answer/10025624." + ], + "type": "string" + }, + "adClients": { + "description": "Optional. List of ad clients associated with the policy issue (either as the primary ad client or an associated host/secondary ad client). In the latter case, this will be an ad client that is not owned by the current account.", + "items": { + "type": "string" + }, + "type": "array" + }, + "adRequestCount": { + "description": "Required. Total number of ad requests affected by the policy violations over the past seven days.", + "format": "int64", + "type": "string" + }, + "entityType": { + "description": "Required. Type of the entity indicating if the entity is a site, site-section, or page.", + "enum": [ + "ENTITY_TYPE_UNSPECIFIED", + "SITE", + "SITE_SECTION", + "PAGE" + ], + "enumDescriptions": [ + "The entity type is unspecified.", + "The enforced entity is an entire website.", + "The enforced entity is a particular section of a website. All the pages with this prefix are enforced.", + "The enforced entity is a single web page." + ], + "type": "string" + }, + "firstDetectedDate": { + "$ref": "Date", + "description": "Required. The date (in the America/Los_Angeles timezone) when policy violations were first detected on the entity." + }, + "lastDetectedDate": { + "$ref": "Date", + "description": "Required. The date (in the America/Los_Angeles timezone) when policy violations were last detected on the entity." + }, + "name": { + "description": "Required. Resource name of the entity with policy issues. Format: accounts/{account}/policyIssues/{policy_issue}", + "type": "string" + }, + "policyTopics": { + "description": "Required. Unordered list. The policy topics that this entity was found to violate over the past seven days.", + "items": { + "$ref": "PolicyTopic" + }, + "type": "array" + }, + "site": { + "description": "Required. Hostname/domain of the entity (for example \"foo.com\" or \"www.foo.com\"). This _should_ be a bare domain/host name without any protocol. This will be present for all policy issues.", + "type": "string" + }, + "siteSection": { + "description": "Optional. Prefix of the site-section having policy issues (For example \"foo.com/bar-section\"). This will be present if the `entity_type` is `SITE_SECTION` and will be absent for other entity types.", + "type": "string" + }, + "uri": { + "description": "Optional. URI of the page having policy violations (for example \"foo.com/bar\" or \"www.foo.com/bar\"). This will be present if the `entity_type` is `PAGE` and will be absent for other entity types.", + "type": "string" + }, + "warningEscalationDate": { + "$ref": "Date", + "description": "Optional. The date (in the America/Los_Angeles timezone) when the entity will have ad serving demand restricted or ad serving disabled. This is present only for issues with a `WARNED` enforcement action. See https://support.google.com/adsense/answer/11066888." + } + }, + "type": "object" + }, + "PolicyTopic": { + "description": "Information about a particular policy topic. A policy topic represents a single class of policy issue that can impact ad serving for your site. For example, sexual content or having ads that obscure your content. A single policy issue can have multiple policy topics for a single entity.", + "id": "PolicyTopic", + "properties": { + "mustFix": { + "description": "Required. Indicates if this is a policy violation or not. When the value is true, issues that are instances of this topic must be addressed to remain in compliance with the partner's agreements with Google. A false value indicates that it's not mandatory to fix the issues but advertising demand might be restricted.", + "type": "boolean" + }, + "topic": { + "description": "Required. The policy topic. For example, \"sexual-content\" or \"ads-obscuring-content\".\"", + "type": "string" + } + }, + "type": "object" + }, "ReportResult": { "description": "Result of a generated report.", "id": "ReportResult", diff --git a/discovery/aiplatform-v1.json b/discovery/aiplatform-v1.json index 0a160b64d1..df82f9a4b2 100644 --- a/discovery/aiplatform-v1.json +++ b/discovery/aiplatform-v1.json @@ -25,63 +25,63 @@ "endpointUrl": "https://asia-east1-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://asia-east2-aiplatform.googleapis.com/", + "description": "Locational Endpoint", "location": "asia-east2", - "description": "Locational Endpoint" + "endpointUrl": "https://asia-east2-aiplatform.googleapis.com/" }, { "description": "Locational Endpoint", - "endpointUrl": "https://asia-northeast1-aiplatform.googleapis.com/", - "location": "asia-northeast1" + "location": "asia-northeast1", + "endpointUrl": "https://asia-northeast1-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://asia-northeast2-aiplatform.googleapis.com/", "location": "asia-northeast2", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "endpointUrl": "https://asia-northeast2-aiplatform.googleapis.com/" }, { - "location": "asia-northeast3", "description": "Locational Endpoint", - "endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/" + "endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/", + "location": "asia-northeast3" }, { - "endpointUrl": "https://asia-south1-aiplatform.googleapis.com/", "location": "asia-south1", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "endpointUrl": "https://asia-south1-aiplatform.googleapis.com/" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-southeast1-aiplatform.googleapis.com/", - "location": "asia-southeast1", - "description": "Locational Endpoint" + "location": "asia-southeast1" }, { "description": "Locational Endpoint", - "location": "asia-southeast2", - "endpointUrl": "https://asia-southeast2-aiplatform.googleapis.com/" + "endpointUrl": "https://asia-southeast2-aiplatform.googleapis.com/", + "location": "asia-southeast2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://australia-southeast1-aiplatform.googleapis.com/", - "location": "australia-southeast1", - "description": "Locational Endpoint" + "location": "australia-southeast1" }, { - "location": "australia-southeast2", "description": "Locational Endpoint", - "endpointUrl": "https://australia-southeast2-aiplatform.googleapis.com/" + "endpointUrl": "https://australia-southeast2-aiplatform.googleapis.com/", + "location": "australia-southeast2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-central2-aiplatform.googleapis.com/", - "location": "europe-central2", - "description": "Locational Endpoint" + "location": "europe-central2" }, { - "endpointUrl": "https://europe-north1-aiplatform.googleapis.com/", "location": "europe-north1", + "endpointUrl": "https://europe-north1-aiplatform.googleapis.com/", "description": "Locational Endpoint" }, { - "location": "europe-southwest1", "description": "Locational Endpoint", + "location": "europe-southwest1", "endpointUrl": "https://europe-southwest1-aiplatform.googleapis.com/" }, { @@ -90,8 +90,8 @@ "description": "Locational Endpoint" }, { - "description": "Locational Endpoint", "location": "europe-west2", + "description": "Locational Endpoint", "endpointUrl": "https://europe-west2-aiplatform.googleapis.com/" }, { @@ -100,28 +100,28 @@ "location": "europe-west3" }, { - "description": "Locational Endpoint", "location": "europe-west4", + "description": "Locational Endpoint", "endpointUrl": "https://europe-west4-aiplatform.googleapis.com/" }, { "location": "europe-west6", - "description": "Locational Endpoint", - "endpointUrl": "https://europe-west6-aiplatform.googleapis.com/" + "endpointUrl": "https://europe-west6-aiplatform.googleapis.com/", + "description": "Locational Endpoint" }, { - "location": "europe-west8", "description": "Locational Endpoint", - "endpointUrl": "https://europe-west8-aiplatform.googleapis.com/" + "endpointUrl": "https://europe-west8-aiplatform.googleapis.com/", + "location": "europe-west8" }, { - "description": "Locational Endpoint", "endpointUrl": "https://europe-west9-aiplatform.googleapis.com/", + "description": "Locational Endpoint", "location": "europe-west9" }, { - "endpointUrl": "https://me-west1-aiplatform.googleapis.com/", "location": "me-west1", + "endpointUrl": "https://me-west1-aiplatform.googleapis.com/", "description": "Locational Endpoint" }, { @@ -130,14 +130,14 @@ "endpointUrl": "https://northamerica-northeast1-aiplatform.googleapis.com/" }, { - "location": "northamerica-northeast2", "endpointUrl": "https://northamerica-northeast2-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "location": "northamerica-northeast2" }, { - "endpointUrl": "https://southamerica-east1-aiplatform.googleapis.com/", "description": "Locational Endpoint", - "location": "southamerica-east1" + "location": "southamerica-east1", + "endpointUrl": "https://southamerica-east1-aiplatform.googleapis.com/" }, { "endpointUrl": "https://southamerica-west1-aiplatform.googleapis.com/", @@ -146,17 +146,17 @@ }, { "description": "Locational Endpoint", - "location": "us-central1", - "endpointUrl": "https://us-central1-aiplatform.googleapis.com/" + "endpointUrl": "https://us-central1-aiplatform.googleapis.com/", + "location": "us-central1" }, { + "description": "Locational Endpoint", "location": "us-central2", - "endpointUrl": "https://us-central2-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "endpointUrl": "https://us-central2-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://us-east1-aiplatform.googleapis.com/", "description": "Locational Endpoint", + "endpointUrl": "https://us-east1-aiplatform.googleapis.com/", "location": "us-east1" }, { @@ -176,8 +176,8 @@ }, { "location": "us-west2", - "description": "Locational Endpoint", - "endpointUrl": "https://us-west2-aiplatform.googleapis.com/" + "endpointUrl": "https://us-west2-aiplatform.googleapis.com/", + "description": "Locational Endpoint" }, { "description": "Locational Endpoint", @@ -185,9 +185,9 @@ "location": "us-west3" }, { + "location": "us-west4", "description": "Locational Endpoint", - "endpointUrl": "https://us-west4-aiplatform.googleapis.com/", - "location": "us-west4" + "endpointUrl": "https://us-west4-aiplatform.googleapis.com/" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/aiplatform-v1beta1.json b/discovery/aiplatform-v1beta1.json index 5a0198963f..3c51a13112 100644 --- a/discovery/aiplatform-v1beta1.json +++ b/discovery/aiplatform-v1beta1.json @@ -25,29 +25,29 @@ "endpointUrl": "https://asia-east1-aiplatform.googleapis.com/" }, { - "description": "Locational Endpoint", "endpointUrl": "https://asia-east2-aiplatform.googleapis.com/", + "description": "Locational Endpoint", "location": "asia-east2" }, { "endpointUrl": "https://asia-northeast1-aiplatform.googleapis.com/", - "description": "Locational Endpoint", - "location": "asia-northeast1" + "location": "asia-northeast1", + "description": "Locational Endpoint" }, { - "location": "asia-northeast2", "description": "Locational Endpoint", - "endpointUrl": "https://asia-northeast2-aiplatform.googleapis.com/" + "endpointUrl": "https://asia-northeast2-aiplatform.googleapis.com/", + "location": "asia-northeast2" }, { + "location": "asia-northeast3", "description": "Locational Endpoint", - "endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/", - "location": "asia-northeast3" + "endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/" }, { - "endpointUrl": "https://asia-south1-aiplatform.googleapis.com/", + "location": "asia-south1", "description": "Locational Endpoint", - "location": "asia-south1" + "endpointUrl": "https://asia-south1-aiplatform.googleapis.com/" }, { "description": "Locational Endpoint", @@ -56,12 +56,12 @@ }, { "endpointUrl": "https://asia-southeast2-aiplatform.googleapis.com/", - "description": "Locational Endpoint", - "location": "asia-southeast2" + "location": "asia-southeast2", + "description": "Locational Endpoint" }, { - "description": "Locational Endpoint", "endpointUrl": "https://australia-southeast1-aiplatform.googleapis.com/", + "description": "Locational Endpoint", "location": "australia-southeast1" }, { @@ -70,24 +70,24 @@ "endpointUrl": "https://australia-southeast2-aiplatform.googleapis.com/" }, { - "location": "europe-central2", "description": "Locational Endpoint", + "location": "europe-central2", "endpointUrl": "https://europe-central2-aiplatform.googleapis.com/" }, { - "location": "europe-north1", "description": "Locational Endpoint", - "endpointUrl": "https://europe-north1-aiplatform.googleapis.com/" + "endpointUrl": "https://europe-north1-aiplatform.googleapis.com/", + "location": "europe-north1" }, { - "description": "Locational Endpoint", "location": "europe-southwest1", + "description": "Locational Endpoint", "endpointUrl": "https://europe-southwest1-aiplatform.googleapis.com/" }, { + "location": "europe-west1", "description": "Locational Endpoint", - "endpointUrl": "https://europe-west1-aiplatform.googleapis.com/", - "location": "europe-west1" + "endpointUrl": "https://europe-west1-aiplatform.googleapis.com/" }, { "description": "Locational Endpoint", @@ -95,64 +95,64 @@ "location": "europe-west2" }, { + "endpointUrl": "https://europe-west3-aiplatform.googleapis.com/", "location": "europe-west3", - "description": "Locational Endpoint", - "endpointUrl": "https://europe-west3-aiplatform.googleapis.com/" + "description": "Locational Endpoint" }, { - "location": "europe-west4", "endpointUrl": "https://europe-west4-aiplatform.googleapis.com/", + "location": "europe-west4", "description": "Locational Endpoint" }, { + "location": "europe-west6", "endpointUrl": "https://europe-west6-aiplatform.googleapis.com/", - "description": "Locational Endpoint", - "location": "europe-west6" + "description": "Locational Endpoint" }, { - "description": "Locational Endpoint", + "endpointUrl": "https://europe-west8-aiplatform.googleapis.com/", "location": "europe-west8", - "endpointUrl": "https://europe-west8-aiplatform.googleapis.com/" + "description": "Locational Endpoint" }, { - "endpointUrl": "https://europe-west9-aiplatform.googleapis.com/", "location": "europe-west9", - "description": "Locational Endpoint" + "description": "Locational Endpoint", + "endpointUrl": "https://europe-west9-aiplatform.googleapis.com/" }, { "description": "Locational Endpoint", - "location": "me-west1", - "endpointUrl": "https://me-west1-aiplatform.googleapis.com/" + "endpointUrl": "https://me-west1-aiplatform.googleapis.com/", + "location": "me-west1" }, { - "description": "Locational Endpoint", + "endpointUrl": "https://northamerica-northeast1-aiplatform.googleapis.com/", "location": "northamerica-northeast1", - "endpointUrl": "https://northamerica-northeast1-aiplatform.googleapis.com/" + "description": "Locational Endpoint" }, { + "endpointUrl": "https://northamerica-northeast2-aiplatform.googleapis.com/", "location": "northamerica-northeast2", - "description": "Locational Endpoint", - "endpointUrl": "https://northamerica-northeast2-aiplatform.googleapis.com/" + "description": "Locational Endpoint" }, { - "description": "Locational Endpoint", + "endpointUrl": "https://southamerica-east1-aiplatform.googleapis.com/", "location": "southamerica-east1", - "endpointUrl": "https://southamerica-east1-aiplatform.googleapis.com/" + "description": "Locational Endpoint" }, { + "description": "Locational Endpoint", "location": "southamerica-west1", - "endpointUrl": "https://southamerica-west1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "endpointUrl": "https://southamerica-west1-aiplatform.googleapis.com/" }, { + "endpointUrl": "https://us-central1-aiplatform.googleapis.com/", "description": "Locational Endpoint", - "location": "us-central1", - "endpointUrl": "https://us-central1-aiplatform.googleapis.com/" + "location": "us-central1" }, { - "description": "Locational Endpoint", "location": "us-central2", - "endpointUrl": "https://us-central2-aiplatform.googleapis.com/" + "endpointUrl": "https://us-central2-aiplatform.googleapis.com/", + "description": "Locational Endpoint" }, { "description": "Locational Endpoint", @@ -161,8 +161,8 @@ }, { "location": "us-east4", - "description": "Locational Endpoint", - "endpointUrl": "https://us-east4-aiplatform.googleapis.com/" + "endpointUrl": "https://us-east4-aiplatform.googleapis.com/", + "description": "Locational Endpoint" }, { "location": "us-south1", @@ -170,24 +170,24 @@ "description": "Locational Endpoint" }, { - "endpointUrl": "https://us-west1-aiplatform.googleapis.com/", "description": "Locational Endpoint", + "endpointUrl": "https://us-west1-aiplatform.googleapis.com/", "location": "us-west1" }, { + "endpointUrl": "https://us-west2-aiplatform.googleapis.com/", "location": "us-west2", - "description": "Locational Endpoint", - "endpointUrl": "https://us-west2-aiplatform.googleapis.com/" + "description": "Locational Endpoint" }, { + "location": "us-west3", "description": "Locational Endpoint", - "endpointUrl": "https://us-west3-aiplatform.googleapis.com/", - "location": "us-west3" + "endpointUrl": "https://us-west3-aiplatform.googleapis.com/" }, { + "location": "us-west4", "endpointUrl": "https://us-west4-aiplatform.googleapis.com/", - "description": "Locational Endpoint", - "location": "us-west4" + "description": "Locational Endpoint" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/alloydb-v1.json b/discovery/alloydb-v1.json index cf38dfd786..454a454429 100644 --- a/discovery/alloydb-v1.json +++ b/discovery/alloydb-v1.json @@ -1489,7 +1489,7 @@ } } }, - "revision": "20230918", + "revision": "20231006", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AutomatedBackupPolicy": { @@ -2369,7 +2369,7 @@ }, "readPoolConfig": { "$ref": "ReadPoolConfig", - "description": "Read pool specific config." + "description": "Read pool instance configuration. This is required if the value of instanceType is READ_POOL." }, "reconciling": { "description": "Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.", @@ -2622,7 +2622,7 @@ "id": "NetworkConfig", "properties": { "allocatedIpRange": { - "description": "Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: \"google-managed-services-default\". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Field name is intended to be consistent with CloudSQL.", + "description": "Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: \"google-managed-services-default\". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.", "type": "string" }, "network": { @@ -3129,7 +3129,7 @@ "type": "string" }, "eventTime": { - "description": "The last time at which the event described by this signal took place", + "description": "Required. The last time at which the event described by this signal took place", "format": "google-datetime", "type": "string" }, @@ -3138,7 +3138,7 @@ "type": "string" }, "name": { - "description": "The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc.", + "description": "Required. The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc.", "type": "string" }, "provider": { @@ -3168,11 +3168,11 @@ "type": "string" }, "resourceName": { - "description": "Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", + "description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", "type": "string" }, "signalClass": { - "description": "The class of the signal, such as if it's a THREAT or VULNERABILITY.", + "description": "Required. The class of the signal, such as if it's a THREAT or VULNERABILITY.", "enum": [ "CLASS_UNSPECIFIED", "THREAT", @@ -3192,7 +3192,109 @@ "type": "string" }, "signalId": { - "description": "Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal.", + "description": "Required. Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal.", + "type": "string" + }, + "signalType": { + "description": "Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc.", + "enum": [ + "SIGNAL_TYPE_UNSPECIFIED", + "SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES", + "SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS", + "SIGNAL_TYPE_NO_PROMOTABLE_REPLICA", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", + "SIGNAL_TYPE_SHORT_BACKUP_RETENTION", + "SIGNAL_TYPE_LAST_BACKUP_FAILED", + "SIGNAL_TYPE_LAST_BACKUP_OLD", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0", + "SIGNAL_TYPE_VIOLATES_NIST_800_53", + "SIGNAL_TYPE_VIOLATES_ISO_27001", + "SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1", + "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING", + "SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED", + "SIGNAL_TYPE_VERBOSE_ERROR_LOGGING", + "SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED", + "SIGNAL_TYPE_LOGGING_MOST_ERRORS", + "SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS", + "SIGNAL_TYPE_MINIMAL_ERROR_LOGGING", + "SIGNAL_TYPE_QUERY_STATISTICS_LOGGED", + "SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME", + "SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS", + "SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS", + "SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS", + "SIGNAL_TYPE_LOGGING_QUERY_STATISTICS", + "SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES", + "SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED", + "SIGNAL_TYPE_USER_OPTIONS_CONFIGURED", + "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", + "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_NO_ROOT_PASSWORD", + "SIGNAL_TYPE_WEAK_ROOT_PASSWORD", + "SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED", + "SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED", + "SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING", + "SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS", + "SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS", + "SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED", + "SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED", + "SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO", + "SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS", + "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED", + "SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED" + ], + "enumDescriptions": [ + "Unspecified.", + "Represents if the resource is available in multiple zones or not.", + "Represents if a resource is available in multiple regions.", + "Represents if a resource has a promotable replica.", + "Represents if a resource has an automated backup policy.", + "Represents if a resources has a short backup retention period.", + "Represents if the last backup of a resource failed.", + "Represents if the last backup of a resource is older than some threshold value.", + "Represents if a resource violates CIS GCP Foundation 2.0.", + "Represents if a resource violates CIS GCP Foundation 1.3.", + "Represents if a resource violates CIS GCP Foundation 1.2.", + "Represents if a resource violates CIS GCP Foundation 1.1.", + "Represents if a resource violates CIS GCP Foundation 1.0.", + "Represents if a resource violates NIST 800-53.", + "Represents if a resource violates ISO-27001.", + "Represents if a resource violates PCI-DSS v3.2.1.", + "LINT.IfChange(scc_signals) Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).", + "Represents if the log_lock_waits database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance is not set appropriately.", + "Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance does not have an appropriate severity level.", + "Represents if the log_min_messages database flag for a Cloud SQL for PostgreSQL instance is not set to warning or another recommended value.", + "Represents if the databaseFlags property of instance metadata for the log_executor_status field is set to on.", + "Represents if the log_hostname database flag for a Cloud SQL for PostgreSQL instance is not set to off.", + "Represents if the log_parser_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", + "Represents if the log_planner_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", + "Represents if the log_statement database flag for a Cloud SQL for PostgreSQL instance is not set to DDL (all data definition statements).", + "Represents if the log_statement_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", + "Represents if the log_temp_files database flag for a Cloud SQL for PostgreSQL instance is not set to \"0\". (NOTE: 0 = ON)", + "Represents if the user connections database flag for a Cloud SQL for SQL Server instance is configured.", + "Represents if the user options database flag for Cloud SQL SQL Server instance is configured or not.", + "Represents if a resource is exposed to public access.", + "Represents if a resources requires all incoming connections to use SSL or not.", + "Represents if a Cloud SQL database has a password configured for the root account or not.", + "Represents if a Cloud SQL database has a weak password configured for the root account.", + "Represents if a SQL database instance is not encrypted with customer-managed encryption keys (CMEK).", + "Represents if The contained database authentication database flag for a Cloud SQL for SQL Server instance is not set to off.", + "Represents if the cross_db_ownership_chaining database flag for a Cloud SQL for SQL Server instance is not set to off.", + "Represents if he external scripts enabled database flag for a Cloud SQL for SQL Server instance is not set to off.", + "Represents if the local_infile database flag for a Cloud SQL for MySQL instance is not set to off.", + "Represents if the log_connections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_disconnections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_min_duration_statement database flag for a Cloud SQL for PostgreSQL instance is not set to -1.", + "Represents if the remote access database flag for a Cloud SQL for SQL Server instance is not set to off.", + "Represents if the skip_show_database database flag for a Cloud SQL for MySQL instance is not set to on.", + "Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on. LINT.ThenChange(//depot/google3/storage/databasecenter/ingestion/borgjob/message_adapter/health_signal_feed/health_signal_mapping.h)" + ], "type": "string" }, "state": { @@ -3332,12 +3434,14 @@ "enum": [ "INSTANCE_TYPE_UNSPECIFIED", "PRIMARY", + "SECONDARY", "READ_REPLICA", "OTHER" ], "enumDescriptions": [ "", "A regular primary database instance.", + "A cluster or an instance acting as a secondary.", "An instance acting as a read-replica.", "For rest of the other categories." ], diff --git a/discovery/alloydb-v1beta.json b/discovery/alloydb-v1beta.json index 937fdc02fb..c1825008ee 100644 --- a/discovery/alloydb-v1beta.json +++ b/discovery/alloydb-v1beta.json @@ -1486,7 +1486,7 @@ } } }, - "revision": "20230918", + "revision": "20231006", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AutomatedBackupPolicy": { @@ -2390,7 +2390,7 @@ }, "readPoolConfig": { "$ref": "ReadPoolConfig", - "description": "Read pool specific config." + "description": "Read pool instance configuration. This is required if the value of instanceType is READ_POOL." }, "reconciling": { "description": "Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.", @@ -2647,7 +2647,7 @@ "id": "NetworkConfig", "properties": { "allocatedIpRange": { - "description": "Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: \"google-managed-services-default\". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Field name is intended to be consistent with CloudSQL.", + "description": "Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: \"google-managed-services-default\". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.", "type": "string" }, "network": { @@ -3154,7 +3154,7 @@ "type": "string" }, "eventTime": { - "description": "The last time at which the event described by this signal took place", + "description": "Required. The last time at which the event described by this signal took place", "format": "google-datetime", "type": "string" }, @@ -3163,7 +3163,7 @@ "type": "string" }, "name": { - "description": "The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc.", + "description": "Required. The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc.", "type": "string" }, "provider": { @@ -3193,11 +3193,11 @@ "type": "string" }, "resourceName": { - "description": "Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", + "description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", "type": "string" }, "signalClass": { - "description": "The class of the signal, such as if it's a THREAT or VULNERABILITY.", + "description": "Required. The class of the signal, such as if it's a THREAT or VULNERABILITY.", "enum": [ "CLASS_UNSPECIFIED", "THREAT", @@ -3217,7 +3217,109 @@ "type": "string" }, "signalId": { - "description": "Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal.", + "description": "Required. Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal.", + "type": "string" + }, + "signalType": { + "description": "Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc.", + "enum": [ + "SIGNAL_TYPE_UNSPECIFIED", + "SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES", + "SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS", + "SIGNAL_TYPE_NO_PROMOTABLE_REPLICA", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", + "SIGNAL_TYPE_SHORT_BACKUP_RETENTION", + "SIGNAL_TYPE_LAST_BACKUP_FAILED", + "SIGNAL_TYPE_LAST_BACKUP_OLD", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0", + "SIGNAL_TYPE_VIOLATES_NIST_800_53", + "SIGNAL_TYPE_VIOLATES_ISO_27001", + "SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1", + "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING", + "SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED", + "SIGNAL_TYPE_VERBOSE_ERROR_LOGGING", + "SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED", + "SIGNAL_TYPE_LOGGING_MOST_ERRORS", + "SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS", + "SIGNAL_TYPE_MINIMAL_ERROR_LOGGING", + "SIGNAL_TYPE_QUERY_STATISTICS_LOGGED", + "SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME", + "SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS", + "SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS", + "SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS", + "SIGNAL_TYPE_LOGGING_QUERY_STATISTICS", + "SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES", + "SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED", + "SIGNAL_TYPE_USER_OPTIONS_CONFIGURED", + "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", + "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_NO_ROOT_PASSWORD", + "SIGNAL_TYPE_WEAK_ROOT_PASSWORD", + "SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED", + "SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED", + "SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING", + "SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS", + "SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS", + "SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED", + "SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED", + "SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO", + "SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS", + "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED", + "SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED" + ], + "enumDescriptions": [ + "Unspecified.", + "Represents if the resource is available in multiple zones or not.", + "Represents if a resource is available in multiple regions.", + "Represents if a resource has a promotable replica.", + "Represents if a resource has an automated backup policy.", + "Represents if a resources has a short backup retention period.", + "Represents if the last backup of a resource failed.", + "Represents if the last backup of a resource is older than some threshold value.", + "Represents if a resource violates CIS GCP Foundation 2.0.", + "Represents if a resource violates CIS GCP Foundation 1.3.", + "Represents if a resource violates CIS GCP Foundation 1.2.", + "Represents if a resource violates CIS GCP Foundation 1.1.", + "Represents if a resource violates CIS GCP Foundation 1.0.", + "Represents if a resource violates NIST 800-53.", + "Represents if a resource violates ISO-27001.", + "Represents if a resource violates PCI-DSS v3.2.1.", + "LINT.IfChange(scc_signals) Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).", + "Represents if the log_lock_waits database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance is not set appropriately.", + "Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance does not have an appropriate severity level.", + "Represents if the log_min_messages database flag for a Cloud SQL for PostgreSQL instance is not set to warning or another recommended value.", + "Represents if the databaseFlags property of instance metadata for the log_executor_status field is set to on.", + "Represents if the log_hostname database flag for a Cloud SQL for PostgreSQL instance is not set to off.", + "Represents if the log_parser_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", + "Represents if the log_planner_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", + "Represents if the log_statement database flag for a Cloud SQL for PostgreSQL instance is not set to DDL (all data definition statements).", + "Represents if the log_statement_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", + "Represents if the log_temp_files database flag for a Cloud SQL for PostgreSQL instance is not set to \"0\". (NOTE: 0 = ON)", + "Represents if the user connections database flag for a Cloud SQL for SQL Server instance is configured.", + "Represents if the user options database flag for Cloud SQL SQL Server instance is configured or not.", + "Represents if a resource is exposed to public access.", + "Represents if a resources requires all incoming connections to use SSL or not.", + "Represents if a Cloud SQL database has a password configured for the root account or not.", + "Represents if a Cloud SQL database has a weak password configured for the root account.", + "Represents if a SQL database instance is not encrypted with customer-managed encryption keys (CMEK).", + "Represents if The contained database authentication database flag for a Cloud SQL for SQL Server instance is not set to off.", + "Represents if the cross_db_ownership_chaining database flag for a Cloud SQL for SQL Server instance is not set to off.", + "Represents if he external scripts enabled database flag for a Cloud SQL for SQL Server instance is not set to off.", + "Represents if the local_infile database flag for a Cloud SQL for MySQL instance is not set to off.", + "Represents if the log_connections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_disconnections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_min_duration_statement database flag for a Cloud SQL for PostgreSQL instance is not set to -1.", + "Represents if the remote access database flag for a Cloud SQL for SQL Server instance is not set to off.", + "Represents if the skip_show_database database flag for a Cloud SQL for MySQL instance is not set to on.", + "Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on. LINT.ThenChange(//depot/google3/storage/databasecenter/ingestion/borgjob/message_adapter/health_signal_feed/health_signal_mapping.h)" + ], "type": "string" }, "state": { @@ -3357,12 +3459,14 @@ "enum": [ "INSTANCE_TYPE_UNSPECIFIED", "PRIMARY", + "SECONDARY", "READ_REPLICA", "OTHER" ], "enumDescriptions": [ "", "A regular primary database instance.", + "A cluster or an instance acting as a secondary.", "An instance acting as a read-replica.", "For rest of the other categories." ], diff --git a/discovery/clouddeploy-v1.json b/discovery/clouddeploy-v1.json index d439e07ab1..5c467b82cf 100644 --- a/discovery/clouddeploy-v1.json +++ b/discovery/clouddeploy-v1.json @@ -1479,7 +1479,7 @@ } } }, - "revision": "20231004", + "revision": "20230920", "rootUrl": "https://clouddeploy.googleapis.com/", "schemas": { "AbandonReleaseRequest": { @@ -1635,7 +1635,6 @@ "TYPE_PROCESS_ABORTED", "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", - "TYPE_ROLLOUT_UPDATE", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -1645,7 +1644,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -1655,7 +1653,6 @@ "A process aborted.", "Restriction check failed.", "Resource deleted.", - "Rollout updated.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -1700,7 +1697,6 @@ "TYPE_PROCESS_ABORTED", "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", - "TYPE_ROLLOUT_UPDATE", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -1710,7 +1706,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -1720,7 +1715,6 @@ "A process aborted.", "Restriction check failed.", "Resource deleted.", - "Rollout updated.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -2091,7 +2085,6 @@ "TYPE_PROCESS_ABORTED", "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", - "TYPE_ROLLOUT_UPDATE", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -2101,7 +2094,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -2111,7 +2103,6 @@ "A process aborted.", "Restriction check failed.", "Resource deleted.", - "Rollout updated.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -2613,7 +2604,6 @@ "TYPE_PROCESS_ABORTED", "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", - "TYPE_ROLLOUT_UPDATE", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -2623,7 +2613,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -2633,7 +2622,6 @@ "A process aborted.", "Restriction check failed.", "Resource deleted.", - "Rollout updated.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -3452,7 +3440,6 @@ "TYPE_PROCESS_ABORTED", "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", - "TYPE_ROLLOUT_UPDATE", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -3462,7 +3449,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -3472,7 +3458,6 @@ "A process aborted.", "Restriction check failed.", "Resource deleted.", - "Rollout updated.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -3817,7 +3802,6 @@ "TYPE_PROCESS_ABORTED", "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", - "TYPE_ROLLOUT_UPDATE", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -3827,7 +3811,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -3837,7 +3820,6 @@ "A process aborted.", "Restriction check failed.", "Resource deleted.", - "Rollout updated.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -4201,7 +4183,6 @@ "TYPE_PROCESS_ABORTED", "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", - "TYPE_ROLLOUT_UPDATE", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -4211,7 +4192,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -4221,7 +4201,6 @@ "A process aborted.", "Restriction check failed.", "Resource deleted.", - "Rollout updated.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -4240,7 +4219,6 @@ "CLOUD_BUILD_UNAVAILABLE", "EXECUTION_FAILED", "CLOUD_BUILD_REQUEST_FAILED", - "VERIFICATION_CONFIG_NOT_FOUND", "CUSTOM_ACTION_NOT_FOUND" ], "enumDescriptions": [ @@ -4248,7 +4226,6 @@ "Cloud Build is not available, either because it is not enabled or because Cloud Deploy has insufficient permissions. See [required permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).", "The render operation did not complete successfully; check Cloud Build logs.", "Cloud Build failed to fulfill Cloud Deploy's request. See failure_message for additional details.", - "The render operation did not complete successfully because the verification stanza required for verify was not found on the skaffold configuration.", "The render operation did not complete successfully because the custom action required for predeploy or postdeploy was not found in the skaffold configuration. See failure_message for additional details." ], "readOnly": true, diff --git a/discovery/cloudtasks-v2.json b/discovery/cloudtasks-v2.json index a1cef1228a..2aaf3eb29f 100644 --- a/discovery/cloudtasks-v2.json +++ b/discovery/cloudtasks-v2.json @@ -134,6 +134,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getCmekConfig": { + "description": "Gets the CMEK config. Gets the Customer Managed Encryption Key configured with the Cloud Tasks lcoation. By default there is no kms_key configured.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/cmekConfig", + "httpMethod": "GET", + "id": "cloudtasks.projects.locations.getCmekConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The config. For example: projects/PROJECT_ID/locations/LOCATION_ID/CmekConfig`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "CmekConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists information about the supported locations for this service.", "flatPath": "v2/projects/{projectsId}/locations", @@ -174,6 +199,40 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "updateCmekConfig": { + "description": "Creates or Updates a CMEK config. Updates the Customer Managed Encryption Key assotiated with the Cloud Tasks location (Creates if the key does not already exist). All new tasks created in the location will be encrypted at-rest with the KMS-key provided in the config.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/cmekConfig", + "httpMethod": "PATCH", + "id": "cloudtasks.projects.locations.updateCmekConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "List of fields to be updated in this request.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+name}", + "request": { + "$ref": "CmekConfig" + }, + "response": { + "$ref": "CmekConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -685,7 +744,7 @@ } } }, - "revision": "20230906", + "revision": "20230929", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AppEngineHttpRequest": { @@ -810,6 +869,22 @@ }, "type": "object" }, + "CmekConfig": { + "description": "CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer’s hands.", + "id": "CmekConfig", + "properties": { + "kmsKey": { + "description": "Resource name of the Cloud KMS key, of the form `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will be used to encrypt the Queues & Tasks in the region. Setting this as blank will turn off CMEK encryption.", + "type": "string" + }, + "name": { + "description": "Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "CreateTaskRequest": { "description": "Request message for CreateTask.", "id": "CreateTaskRequest", diff --git a/discovery/cloudtasks-v2beta2.json b/discovery/cloudtasks-v2beta2.json index d5e0ef2fab..c21c742346 100644 --- a/discovery/cloudtasks-v2beta2.json +++ b/discovery/cloudtasks-v2beta2.json @@ -238,17 +238,13 @@ "httpMethod": "PATCH", "id": "cloudtasks.projects.locations.updateCmekConfig", "parameterOrder": [ - "projectsId", - "locationsId" + "name" ], "parameters": { - "locationsId": { - "location": "path", - "required": true, - "type": "string" - }, - "projectsId": { + "name": { + "description": "Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`", "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$", "required": true, "type": "string" }, @@ -259,7 +255,7 @@ "type": "string" } }, - "path": "v2beta2/projects/{projectsId}/locations/{locationsId}/cmekConfig", + "path": "v2beta2/{+name}", "request": { "$ref": "CmekConfig" }, @@ -939,7 +935,7 @@ } } }, - "revision": "20230906", + "revision": "20230929", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AcknowledgeTaskRequest": { diff --git a/discovery/cloudtasks-v2beta3.json b/discovery/cloudtasks-v2beta3.json index cc311e51ff..5e20dd2bcc 100644 --- a/discovery/cloudtasks-v2beta3.json +++ b/discovery/cloudtasks-v2beta3.json @@ -206,17 +206,13 @@ "httpMethod": "PATCH", "id": "cloudtasks.projects.locations.updateCmekConfig", "parameterOrder": [ - "projectsId", - "locationsId" + "name" ], "parameters": { - "locationsId": { - "location": "path", - "required": true, - "type": "string" - }, - "projectsId": { + "name": { + "description": "Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`", "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$", "required": true, "type": "string" }, @@ -227,7 +223,7 @@ "type": "string" } }, - "path": "v2beta3/projects/{projectsId}/locations/{locationsId}/cmekConfig", + "path": "v2beta3/{+name}", "request": { "$ref": "CmekConfig" }, @@ -795,7 +791,7 @@ } } }, - "revision": "20230927", + "revision": "20230929", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AppEngineHttpQueue": { diff --git a/discovery/containeranalysis-v1.json b/discovery/containeranalysis-v1.json index 121629355c..b530807ff1 100644 --- a/discovery/containeranalysis-v1.json +++ b/discovery/containeranalysis-v1.json @@ -755,7 +755,7 @@ } } }, - "revision": "20231006", + "revision": "20230929", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -2913,20 +2913,6 @@ "object": { "description": "Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", "type": "string" - }, - "sourceFetcher": { - "description": "Optional. Option to specify the tool to fetch the source file for the build.", - "enum": [ - "SOURCE_FETCHER_UNSPECIFIED", - "GSUTIL", - "GCS_FETCHER" - ], - "enumDescriptions": [ - "Unspecified defaults to GSUTIL.", - "Use the \"gsutil\" tool to download the source file.", - "Use the Cloud Storage Fetcher tool to download the source file." - ], - "type": "string" } }, "type": "object" diff --git a/discovery/containeranalysis-v1alpha1.json b/discovery/containeranalysis-v1alpha1.json index 3f5535f6ab..368e07f355 100644 --- a/discovery/containeranalysis-v1alpha1.json +++ b/discovery/containeranalysis-v1alpha1.json @@ -1233,7 +1233,7 @@ } } }, - "revision": "20231006", + "revision": "20230929", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AnalysisCompleted": { @@ -3202,20 +3202,6 @@ "object": { "description": "Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", "type": "string" - }, - "sourceFetcher": { - "description": "Optional. Option to specify the tool to fetch the source file for the build.", - "enum": [ - "SOURCE_FETCHER_UNSPECIFIED", - "GSUTIL", - "GCS_FETCHER" - ], - "enumDescriptions": [ - "Unspecified defaults to GSUTIL.", - "Use the \"gsutil\" tool to download the source file.", - "Use the Cloud Storage Fetcher tool to download the source file." - ], - "type": "string" } }, "type": "object" diff --git a/discovery/dataflow-v1b3.json b/discovery/dataflow-v1b3.json index 18f2f42f80..cbaaf41225 100644 --- a/discovery/dataflow-v1b3.json +++ b/discovery/dataflow-v1b3.json @@ -27,8 +27,8 @@ "endpoints": [ { "endpointUrl": "https://dataflow.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "description": "Regional Endpoint", + "location": "me-central2" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/dataproc-v1.json b/discovery/dataproc-v1.json index 79ee497de5..85f013de8a 100644 --- a/discovery/dataproc-v1.json +++ b/discovery/dataproc-v1.json @@ -17,8 +17,8 @@ "documentationLink": "https://cloud.google.com/dataproc/", "endpoints": [ { - "endpointUrl": "https://dataproc.me-central2.rep.googleapis.com/", "location": "me-central2", + "endpointUrl": "https://dataproc.me-central2.rep.googleapis.com/", "description": "Regional Endpoint" } ], diff --git a/discovery/gkeonprem-v1.json b/discovery/gkeonprem-v1.json index 79dd7a4c28..f603f58507 100644 --- a/discovery/gkeonprem-v1.json +++ b/discovery/gkeonprem-v1.json @@ -2996,7 +2996,7 @@ } } }, - "revision": "20230925", + "revision": "20231004", "rootUrl": "https://gkeonprem.googleapis.com/", "schemas": { "Authorization": { @@ -3029,7 +3029,7 @@ "type": "object" }, "BareMetalAdminCluster": { - "description": "## Resource that represents a bare metal admin cluster.", + "description": "Resource that represents a bare metal admin cluster. LINT.IfChange", "id": "BareMetalAdminCluster", "properties": { "annotations": { @@ -3532,7 +3532,7 @@ "type": "object" }, "BareMetalCluster": { - "description": "Resource that represents a bare metal user cluster.", + "description": "Resource that represents a bare metal user cluster. LINT.IfChange", "id": "BareMetalCluster", "properties": { "adminClusterMembership": { @@ -5503,6 +5503,10 @@ "$ref": "VmwarePlatformConfig", "description": "The VMware platform configuration." }, + "preparedSecrets": { + "$ref": "VmwareAdminPreparedSecretsConfig", + "description": "The VMware admin cluster prepared secrets configuration." + }, "reconciling": { "description": "Output only. If set, there are currently changes in flight to the VMware admin cluster.", "readOnly": true, @@ -5712,6 +5716,17 @@ }, "type": "object" }, + "VmwareAdminPreparedSecretsConfig": { + "description": "VmwareAdminPreparedSecretsConfig represents configuration for admin cluster prepared secrets.", + "id": "VmwareAdminPreparedSecretsConfig", + "properties": { + "enabled": { + "description": "Whether prepared secrets is enabled.", + "type": "boolean" + } + }, + "type": "object" + }, "VmwareAdminSeesawConfig": { "description": "VmwareSeesawConfig represents configuration parameters for an already existing Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update Seesaw configurations it can only bind a pre-existing configuration to a new user cluster. IMPORTANT: When attempting to create a user cluster with a pre-existing Seesaw load balancer you will need to follow some preparation steps before calling the 'CreateVmwareCluster' API method. First you will need to create the user cluster's namespace via kubectl. The namespace will need to use the following naming convention : -gke-onprem-mgmt or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.local_name' to disambiguate collisions; for more context see the documentation of 'VmwareCluster.local_name'. Once the namespace is created you will need to create a secret resource via kubectl. This secret will contain copies of your Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain Seesaw's SSH and Cert credentials. The credentials must be keyed with the following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-ssh-ca-key', 'seesaw-ssh-ca-cert'.", "id": "VmwareAdminSeesawConfig", diff --git a/discovery/logging-v2.json b/discovery/logging-v2.json index d8fa3f54b6..dbf2600ac4 100644 --- a/discovery/logging-v2.json +++ b/discovery/logging-v2.json @@ -29,9 +29,9 @@ "documentationLink": "https://cloud.google.com/logging/docs/", "endpoints": [ { - "endpointUrl": "https://logging.me-central2.rep.googleapis.com/", + "description": "Regional Endpoint", "location": "me-central2", - "description": "Regional Endpoint" + "endpointUrl": "https://logging.me-central2.rep.googleapis.com/" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/notebooks-v1.json b/discovery/notebooks-v1.json index 5ad58301a1..0407c17b04 100644 --- a/discovery/notebooks-v1.json +++ b/discovery/notebooks-v1.json @@ -692,34 +692,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "migrate": { - "description": "Migrates an existing User-Managed Notebook to Workbench Instances.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:migrate", - "httpMethod": "POST", - "id": "notebooks.projects.locations.instances.migrate", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:migrate", - "request": { - "$ref": "MigrateInstanceRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "register": { "description": "Registers an existing legacy notebook instance to the Notebooks API server. Legacy instances are instances created with the legacy Compute Engine calls. They are not manageable by the Notebooks API out of the box. This call makes these instances manageable by the Notebooks API.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances:register", @@ -1521,34 +1493,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "migrate": { - "description": "Migrate an existing Runtime to a new Workbench Instance.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:migrate", - "httpMethod": "POST", - "id": "notebooks.projects.locations.runtimes.migrate", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:migrate", - "request": { - "$ref": "MigrateRuntimeRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "patch": { "description": "Update Notebook Runtime configuration.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}", @@ -2008,7 +1952,7 @@ } } }, - "revision": "20231003", + "revision": "20230926", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2891,7 +2835,7 @@ ], "enumDescriptions": [ "Default type.", - "The UmN uses an machine type that's unsupported in WbI. It will be migrated with the default machine type e2-standard-4. Users can change the machine type after the migration.", + "The UmN uses an machine type that's unsupported in WbI. It will be migrated with the default machine type n2-standard-4. Users can change the machine type after the migration.", "The UmN uses an accelerator type that's unsupported in WbI. It will be migrated without an accelerator. User can attach an accelerator after the migration.", "The UmN uses an operating system that's unsupported in WbI (e.g. Debian 10, Ubuntu). It will be replaced with Debian 11 in WbI.", "This UmN is configured with no_remove_data_disk, which is no longer available in WbI.", @@ -3238,64 +3182,6 @@ }, "type": "object" }, - "MigrateInstanceRequest": { - "description": "Request for migrating a User-Managed Notebook to Workbench Instances.", - "id": "MigrateInstanceRequest", - "properties": { - "postStartupScriptOption": { - "description": "Optional. Specifies the behavior of post startup script during migration.", - "enum": [ - "POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED", - "POST_STARTUP_SCRIPT_OPTION_SKIP", - "POST_STARTUP_SCRIPT_OPTION_RERUN" - ], - "enumDescriptions": [ - "Post startup script option is not specified. Default is POST_STARTUP_SCRIPT_OPTION_SKIP.", - "Not migrate the post startup script to the new Workbench Instance.", - "Redownload and rerun the same post startup script as the User-Managed Notebook." - ], - "type": "string" - } - }, - "type": "object" - }, - "MigrateRuntimeRequest": { - "description": "Request for migrating a Runtime to a Workbench Instance.", - "id": "MigrateRuntimeRequest", - "properties": { - "network": { - "description": "Optional. Name of the VPC that the new Instance is in. This is required if the Runtime uses google-managed network. If the Runtime uses customer-owned network, it will reuse the same VPC, and this field must be empty. Format: `projects/{project_id}/global/networks/{network_id}`", - "type": "string" - }, - "postStartupScriptOption": { - "description": "Optional. Specifies the behavior of post startup script during migration.", - "enum": [ - "POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED", - "POST_STARTUP_SCRIPT_OPTION_SKIP", - "POST_STARTUP_SCRIPT_OPTION_RERUN" - ], - "enumDescriptions": [ - "Post startup script option is not specified. Default is POST_STARTUP_SCRIPT_OPTION_SKIP.", - "Not migrate the post startup script to the new Workbench Instance.", - "Redownload and rerun the same post startup script as the Google-Managed Notebook." - ], - "type": "string" - }, - "requestId": { - "description": "Optional. Idempotent request UUID.", - "type": "string" - }, - "serviceAccount": { - "description": "Optional. The service account to be included in the Compute Engine instance of the new Workbench Instance when the Runtime uses \"single user only\" mode for permission. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. When the Runtime uses service account mode for permission, it will reuse the same service account, and this field must be empty.", - "type": "string" - }, - "subnet": { - "description": "Optional. Name of the subnet that the new Instance is in. This is required if the Runtime uses google-managed network. If the Runtime uses customer-owned network, it will reuse the same subnet, and this field must be empty. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`", - "type": "string" - } - }, - "type": "object" - }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", diff --git a/discovery/pubsub-v1beta1a.json b/discovery/pubsub-v1beta1a.json index 2973822c7a..e6a2c02bba 100644 --- a/discovery/pubsub-v1beta1a.json +++ b/discovery/pubsub-v1beta1a.json @@ -20,9 +20,9 @@ "documentationLink": "https://cloud.google.com/pubsub/docs", "endpoints": [ { - "description": "Regional Endpoint", "location": "me-central2", - "endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/" + "endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/", + "description": "Regional Endpoint" } ], "icons": { diff --git a/discovery/pubsub-v1beta2.json b/discovery/pubsub-v1beta2.json index 438241e090..c011f53288 100644 --- a/discovery/pubsub-v1beta2.json +++ b/discovery/pubsub-v1beta2.json @@ -20,8 +20,8 @@ "documentationLink": "https://cloud.google.com/pubsub/docs", "endpoints": [ { - "location": "me-central2", "description": "Regional Endpoint", + "location": "me-central2", "endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/" } ], diff --git a/discovery/recommender-v1beta1.json b/discovery/recommender-v1beta1.json index 9f78c23536..4153ea30b1 100644 --- a/discovery/recommender-v1beta1.json +++ b/discovery/recommender-v1beta1.json @@ -1748,7 +1748,7 @@ } } }, - "revision": "20230917", + "revision": "20231008", "rootUrl": "https://recommender.googleapis.com/", "schemas": { "GoogleCloudRecommenderV1beta1CostProjection": { @@ -1759,6 +1759,10 @@ "$ref": "GoogleTypeMoney", "description": "An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units. A user's permissions may affect whether the cost is computed using list prices or custom contract prices." }, + "costInLocalCurrency": { + "$ref": "GoogleTypeMoney", + "description": "The approximate cost savings in the billing account's local currency." + }, "duration": { "description": "Duration for which this cost applies.", "format": "google-duration", @@ -2309,6 +2313,13 @@ "$ref": "GoogleCloudRecommenderV1beta1RecommendationStateInfo", "description": "Information for state. Contains state and metadata." }, + "targetResources": { + "description": "Fully qualified resource names that this recommendation is targeting.", + "items": { + "type": "string" + }, + "type": "array" + }, "xorGroupId": { "description": "Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied.", "type": "string" diff --git a/discovery/run-v1.json b/discovery/run-v1.json index 5b5e0cc221..0550212372 100644 --- a/discovery/run-v1.json +++ b/discovery/run-v1.json @@ -2289,7 +2289,7 @@ } } }, - "revision": "20231001", + "revision": "20231008", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -3934,6 +3934,12 @@ }, "type": "array" }, + "desiredReplicas": { + "description": "Output only. The desired number of instances running this revision. For Cloud Run, this only includes instances provisioned using the minScale annotation. It does not include instances created by autoscaling.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "imageDigest": { "description": "ImageDigest holds the resolved digest for the image specified within .Spec.Container.Image. The digest is resolved during the creation of Revision. This field holds the digest value regardless of whether a tag or digest was originally specified in the Container object.", "type": "string" diff --git a/src/apis/adsense/v2.ts b/src/apis/adsense/v2.ts index ee4deaae28..13364eecb6 100644 --- a/src/apis/adsense/v2.ts +++ b/src/apis/adsense/v2.ts @@ -470,6 +470,19 @@ export namespace adsense_v2 { */ payments?: Schema$Payment[]; } + /** + * Response definition for the policy issues list rpc. Policy issues are reported only if the publisher has at least one AFC ad client in READY or GETTING_READY state. If the publisher has no such AFC ad client, the response will be an empty list. + */ + export interface Schema$ListPolicyIssuesResponse { + /** + * Continuation token used to page through policy issues. To retrieve the next page of the results, set the next request's "page_token" value to this. + */ + nextPageToken?: string | null; + /** + * The policy issues returned in the list response. + */ + policyIssues?: Schema$PolicyIssue[]; + } /** * Response definition for the saved reports list rpc. */ @@ -526,6 +539,72 @@ export namespace adsense_v2 { */ name?: string | null; } + /** + * Representation of a policy issue for a single entity (site, site-section, or page). All issues for a single entity are represented by a single PolicyIssue resource, though that PolicyIssue can have multiple causes (or "topics") that can change over time. Policy issues are removed if there are no issues detected recently or if there's a recent successful appeal for the entity. + */ + export interface Schema$PolicyIssue { + /** + * Required. The most severe action taken on the entity over the past seven days. + */ + action?: string | null; + /** + * Optional. List of ad clients associated with the policy issue (either as the primary ad client or an associated host/secondary ad client). In the latter case, this will be an ad client that is not owned by the current account. + */ + adClients?: string[] | null; + /** + * Required. Total number of ad requests affected by the policy violations over the past seven days. + */ + adRequestCount?: string | null; + /** + * Required. Type of the entity indicating if the entity is a site, site-section, or page. + */ + entityType?: string | null; + /** + * Required. The date (in the America/Los_Angeles timezone) when policy violations were first detected on the entity. + */ + firstDetectedDate?: Schema$Date; + /** + * Required. The date (in the America/Los_Angeles timezone) when policy violations were last detected on the entity. + */ + lastDetectedDate?: Schema$Date; + /** + * Required. Resource name of the entity with policy issues. Format: accounts/{account\}/policyIssues/{policy_issue\} + */ + name?: string | null; + /** + * Required. Unordered list. The policy topics that this entity was found to violate over the past seven days. + */ + policyTopics?: Schema$PolicyTopic[]; + /** + * Required. Hostname/domain of the entity (for example "foo.com" or "www.foo.com"). This _should_ be a bare domain/host name without any protocol. This will be present for all policy issues. + */ + site?: string | null; + /** + * Optional. Prefix of the site-section having policy issues (For example "foo.com/bar-section"). This will be present if the `entity_type` is `SITE_SECTION` and will be absent for other entity types. + */ + siteSection?: string | null; + /** + * Optional. URI of the page having policy violations (for example "foo.com/bar" or "www.foo.com/bar"). This will be present if the `entity_type` is `PAGE` and will be absent for other entity types. + */ + uri?: string | null; + /** + * Optional. The date (in the America/Los_Angeles timezone) when the entity will have ad serving demand restricted or ad serving disabled. This is present only for issues with a `WARNED` enforcement action. See https://support.google.com/adsense/answer/11066888. + */ + warningEscalationDate?: Schema$Date; + } + /** + * Information about a particular policy topic. A policy topic represents a single class of policy issue that can impact ad serving for your site. For example, sexual content or having ads that obscure your content. A single policy issue can have multiple policy topics for a single entity. + */ + export interface Schema$PolicyTopic { + /** + * Required. Indicates if this is a policy violation or not. When the value is true, issues that are instances of this topic must be addressed to remain in compliance with the partner's agreements with Google. A false value indicates that it's not mandatory to fix the issues but advertising demand might be restricted. + */ + mustFix?: boolean | null; + /** + * Required. The policy topic. For example, "sexual-content" or "ads-obscuring-content"." + */ + topic?: string | null; + } /** * Result of a generated report. */ @@ -646,6 +725,7 @@ export namespace adsense_v2 { adclients: Resource$Accounts$Adclients; alerts: Resource$Accounts$Alerts; payments: Resource$Accounts$Payments; + policyIssues: Resource$Accounts$Policyissues; reports: Resource$Accounts$Reports; sites: Resource$Accounts$Sites; constructor(context: APIRequestContext) { @@ -653,6 +733,7 @@ export namespace adsense_v2 { this.adclients = new Resource$Accounts$Adclients(this.context); this.alerts = new Resource$Accounts$Alerts(this.context); this.payments = new Resource$Accounts$Payments(this.context); + this.policyIssues = new Resource$Accounts$Policyissues(this.context); this.reports = new Resource$Accounts$Reports(this.context); this.sites = new Resource$Accounts$Sites(this.context); } @@ -2999,6 +3080,212 @@ export namespace adsense_v2 { parent?: string; } + export class Resource$Accounts$Policyissues { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets information about the selected policy issue. + * + * @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$Accounts$Policyissues$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Accounts$Policyissues$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Accounts$Policyissues$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Accounts$Policyissues$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Accounts$Policyissues$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Accounts$Policyissues$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Policyissues$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Policyissues$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://adsense.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists all the policy issues for the specified account. + * + * @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$Accounts$Policyissues$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Accounts$Policyissues$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Accounts$Policyissues$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Accounts$Policyissues$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Accounts$Policyissues$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Accounts$Policyissues$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Policyissues$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Policyissues$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://adsense.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+parent}/policyIssues').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Accounts$Policyissues$Get + extends StandardParameters { + /** + * Required. Name of the policy issue. Format: accounts/{account\}/policyIssues/{policy_issue\} + */ + name?: string; + } + export interface Params$Resource$Accounts$Policyissues$List + extends StandardParameters { + /** + * The maximum number of policy issues to include in the response, used for paging. If unspecified, at most 10000 policy issues will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + */ + pageSize?: number; + /** + * A page token, received from a previous `ListPolicyIssues` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPolicyIssues` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The account for which policy issues are being retrieved. Format: accounts/{account\} + */ + parent?: string; + } + export class Resource$Accounts$Reports { context: APIRequestContext; saved: Resource$Accounts$Reports$Saved; diff --git a/src/apis/alloydb/v1.ts b/src/apis/alloydb/v1.ts index 585c2ccf7b..ab0647aa8f 100644 --- a/src/apis/alloydb/v1.ts +++ b/src/apis/alloydb/v1.ts @@ -681,7 +681,7 @@ export namespace alloydb_v1 { */ queryInsightsConfig?: Schema$QueryInsightsInstanceConfig; /** - * Read pool specific config. + * Read pool instance configuration. This is required if the value of instanceType is READ_POOL. */ readPoolConfig?: Schema$ReadPoolConfig; /** @@ -843,7 +843,7 @@ export namespace alloydb_v1 { */ export interface Schema$NetworkConfig { /** - * Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: "google-managed-services-default". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Field name is intended to be consistent with CloudSQL. + * Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: "google-managed-services-default". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL. */ allocatedIpRange?: string | null; /** @@ -1187,7 +1187,7 @@ export namespace alloydb_v1 { */ description?: string | null; /** - * The last time at which the event described by this signal took place + * Required. The last time at which the event described by this signal took place */ eventTime?: string | null; /** @@ -1195,7 +1195,7 @@ export namespace alloydb_v1 { */ externalUri?: string | null; /** - * The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc. + * Required. The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc. */ name?: string | null; /** @@ -1207,17 +1207,21 @@ export namespace alloydb_v1 { */ resourceContainer?: string | null; /** - * Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel + * Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel */ resourceName?: string | null; /** - * The class of the signal, such as if it's a THREAT or VULNERABILITY. + * Required. The class of the signal, such as if it's a THREAT or VULNERABILITY. */ signalClass?: string | null; /** - * Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal. + * Required. Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal. */ signalId?: string | null; + /** + * Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc. + */ + signalType?: string | null; state?: string | null; } /** diff --git a/src/apis/alloydb/v1beta.ts b/src/apis/alloydb/v1beta.ts index 8bacbc20a1..13382b1dcb 100644 --- a/src/apis/alloydb/v1beta.ts +++ b/src/apis/alloydb/v1beta.ts @@ -693,7 +693,7 @@ export namespace alloydb_v1beta { */ queryInsightsConfig?: Schema$QueryInsightsInstanceConfig; /** - * Read pool specific config. + * Read pool instance configuration. This is required if the value of instanceType is READ_POOL. */ readPoolConfig?: Schema$ReadPoolConfig; /** @@ -859,7 +859,7 @@ export namespace alloydb_v1beta { */ export interface Schema$NetworkConfig { /** - * Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: "google-managed-services-default". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Field name is intended to be consistent with CloudSQL. + * Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: "google-managed-services-default". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL. */ allocatedIpRange?: string | null; /** @@ -1203,7 +1203,7 @@ export namespace alloydb_v1beta { */ description?: string | null; /** - * The last time at which the event described by this signal took place + * Required. The last time at which the event described by this signal took place */ eventTime?: string | null; /** @@ -1211,7 +1211,7 @@ export namespace alloydb_v1beta { */ externalUri?: string | null; /** - * The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc. + * Required. The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc. */ name?: string | null; /** @@ -1223,17 +1223,21 @@ export namespace alloydb_v1beta { */ resourceContainer?: string | null; /** - * Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel + * Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel */ resourceName?: string | null; /** - * The class of the signal, such as if it's a THREAT or VULNERABILITY. + * Required. The class of the signal, such as if it's a THREAT or VULNERABILITY. */ signalClass?: string | null; /** - * Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal. + * Required. Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal. */ signalId?: string | null; + /** + * Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc. + */ + signalType?: string | null; state?: string | null; } /** diff --git a/src/apis/cloudtasks/v2.ts b/src/apis/cloudtasks/v2.ts index 25be9443e2..5983e9164a 100644 --- a/src/apis/cloudtasks/v2.ts +++ b/src/apis/cloudtasks/v2.ts @@ -208,6 +208,19 @@ export namespace cloudtasks_v2 { */ role?: string | null; } + /** + * CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer’s hands. + */ + export interface Schema$CmekConfig { + /** + * Resource name of the Cloud KMS key, of the form `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will be used to encrypt the Queues & Tasks in the region. Setting this as blank will turn off CMEK encryption. + */ + kmsKey?: string | null; + /** + * Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig` + */ + name?: string | null; + } /** * Request message for CreateTask. */ @@ -700,6 +713,90 @@ export namespace cloudtasks_v2 { } } + /** + * Gets the CMEK config. Gets the Customer Managed Encryption Key configured with the Cloud Tasks lcoation. By default there is no kms_key configured. + * + * @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. + */ + getCmekConfig( + params: Params$Resource$Projects$Locations$Getcmekconfig, + options: StreamMethodOptions + ): GaxiosPromise; + getCmekConfig( + params?: Params$Resource$Projects$Locations$Getcmekconfig, + options?: MethodOptions + ): GaxiosPromise; + getCmekConfig( + params: Params$Resource$Projects$Locations$Getcmekconfig, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getCmekConfig( + params: Params$Resource$Projects$Locations$Getcmekconfig, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getCmekConfig( + params: Params$Resource$Projects$Locations$Getcmekconfig, + callback: BodyResponseCallback + ): void; + getCmekConfig(callback: BodyResponseCallback): void; + getCmekConfig( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Getcmekconfig + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Getcmekconfig; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Getcmekconfig; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, + 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. * @@ -791,6 +888,90 @@ export namespace cloudtasks_v2 { return createAPIRequest(parameters); } } + + /** + * Creates or Updates a CMEK config. Updates the Customer Managed Encryption Key assotiated with the Cloud Tasks location (Creates if the key does not already exist). All new tasks created in the location will be encrypted at-rest with the KMS-key provided in the config. + * + * @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. + */ + updateCmekConfig( + params: Params$Resource$Projects$Locations$Updatecmekconfig, + options: StreamMethodOptions + ): GaxiosPromise; + updateCmekConfig( + params?: Params$Resource$Projects$Locations$Updatecmekconfig, + options?: MethodOptions + ): GaxiosPromise; + updateCmekConfig( + params: Params$Resource$Projects$Locations$Updatecmekconfig, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + updateCmekConfig( + params: Params$Resource$Projects$Locations$Updatecmekconfig, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + updateCmekConfig( + params: Params$Resource$Projects$Locations$Updatecmekconfig, + callback: BodyResponseCallback + ): void; + updateCmekConfig(callback: BodyResponseCallback): void; + updateCmekConfig( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Updatecmekconfig + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Updatecmekconfig; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Updatecmekconfig; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, + 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 @@ -800,6 +981,13 @@ export namespace cloudtasks_v2 { */ name?: string; } + export interface Params$Resource$Projects$Locations$Getcmekconfig + extends StandardParameters { + /** + * Required. The config. For example: projects/PROJECT_ID/locations/LOCATION_ID/CmekConfig` + */ + name?: string; + } export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** @@ -819,6 +1007,22 @@ export namespace cloudtasks_v2 { */ pageToken?: string; } + export interface Params$Resource$Projects$Locations$Updatecmekconfig + extends StandardParameters { + /** + * Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig` + */ + name?: string; + /** + * List of fields to be updated in this request. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CmekConfig; + } export class Resource$Projects$Locations$Queues { context: APIRequestContext; diff --git a/src/apis/cloudtasks/v2beta2.ts b/src/apis/cloudtasks/v2beta2.ts index 96829a0006..b0111a4652 100644 --- a/src/apis/cloudtasks/v2beta2.ts +++ b/src/apis/cloudtasks/v2beta2.ts @@ -1335,17 +1335,14 @@ export namespace cloudtasks_v2beta2 { const parameters = { options: Object.assign( { - url: ( - rootUrl + - '/v2beta2/projects/{projectsId}/locations/{locationsId}/cmekConfig' - ).replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'PATCH', }, options ), params, - requiredParams: ['projectsId', 'locationsId'], - pathParams: ['locationsId', 'projectsId'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { @@ -1395,13 +1392,9 @@ export namespace cloudtasks_v2beta2 { export interface Params$Resource$Projects$Locations$Updatecmekconfig extends StandardParameters { /** - * - */ - locationsId?: string; - /** - * + * Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig` */ - projectsId?: string; + name?: string; /** * List of fields to be updated in this request. */ diff --git a/src/apis/cloudtasks/v2beta3.ts b/src/apis/cloudtasks/v2beta3.ts index 20a63cad79..a621679fb4 100644 --- a/src/apis/cloudtasks/v2beta3.ts +++ b/src/apis/cloudtasks/v2beta3.ts @@ -1153,17 +1153,14 @@ export namespace cloudtasks_v2beta3 { const parameters = { options: Object.assign( { - url: ( - rootUrl + - '/v2beta3/projects/{projectsId}/locations/{locationsId}/cmekConfig' - ).replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'PATCH', }, options ), params, - requiredParams: ['projectsId', 'locationsId'], - pathParams: ['locationsId', 'projectsId'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { @@ -1213,13 +1210,9 @@ export namespace cloudtasks_v2beta3 { export interface Params$Resource$Projects$Locations$Updatecmekconfig extends StandardParameters { /** - * - */ - locationsId?: string; - /** - * + * Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig` */ - projectsId?: string; + name?: string; /** * List of fields to be updated in this request. */ diff --git a/src/apis/containeranalysis/v1.ts b/src/apis/containeranalysis/v1.ts index 7e94cd50bd..0b7f313e59 100644 --- a/src/apis/containeranalysis/v1.ts +++ b/src/apis/containeranalysis/v1.ts @@ -1317,10 +1317,6 @@ export namespace containeranalysis_v1 { * Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */ object?: string | null; - /** - * Optional. Option to specify the tool to fetch the source file for the build. - */ - sourceFetcher?: string | null; } /** * Location of the source manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher). diff --git a/src/apis/containeranalysis/v1alpha1.ts b/src/apis/containeranalysis/v1alpha1.ts index 80e63e3558..6da6ea5ad2 100644 --- a/src/apis/containeranalysis/v1alpha1.ts +++ b/src/apis/containeranalysis/v1alpha1.ts @@ -1298,10 +1298,6 @@ export namespace containeranalysis_v1alpha1 { * Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */ object?: string | null; - /** - * Optional. Option to specify the tool to fetch the source file for the build. - */ - sourceFetcher?: string | null; } /** * Location of the source manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher). diff --git a/src/apis/gkeonprem/v1.ts b/src/apis/gkeonprem/v1.ts index 862e9fefbc..7119e7164a 100644 --- a/src/apis/gkeonprem/v1.ts +++ b/src/apis/gkeonprem/v1.ts @@ -147,7 +147,7 @@ export namespace gkeonprem_v1 { value?: string | null; } /** - * ## Resource that represents a bare metal admin cluster. + * Resource that represents a bare metal admin cluster. LINT.IfChange */ export interface Schema$BareMetalAdminCluster { /** @@ -531,7 +531,7 @@ export namespace gkeonprem_v1 { ipAddress?: string | null; } /** - * Resource that represents a bare metal user cluster. + * Resource that represents a bare metal user cluster. LINT.IfChange */ export interface Schema$BareMetalCluster { /** @@ -1917,6 +1917,10 @@ export namespace gkeonprem_v1 { * The VMware platform configuration. */ platformConfig?: Schema$VmwarePlatformConfig; + /** + * The VMware admin cluster prepared secrets configuration. + */ + preparedSecrets?: Schema$VmwareAdminPreparedSecretsConfig; /** * Output only. If set, there are currently changes in flight to the VMware admin cluster. */ @@ -2069,6 +2073,15 @@ export namespace gkeonprem_v1 { */ vcenterNetwork?: string | null; } + /** + * VmwareAdminPreparedSecretsConfig represents configuration for admin cluster prepared secrets. + */ + export interface Schema$VmwareAdminPreparedSecretsConfig { + /** + * Whether prepared secrets is enabled. + */ + enabled?: boolean | null; + } /** * VmwareSeesawConfig represents configuration parameters for an already existing Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update Seesaw configurations it can only bind a pre-existing configuration to a new user cluster. IMPORTANT: When attempting to create a user cluster with a pre-existing Seesaw load balancer you will need to follow some preparation steps before calling the 'CreateVmwareCluster' API method. First you will need to create the user cluster's namespace via kubectl. The namespace will need to use the following naming convention : -gke-onprem-mgmt or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.local_name' to disambiguate collisions; for more context see the documentation of 'VmwareCluster.local_name'. Once the namespace is created you will need to create a secret resource via kubectl. This secret will contain copies of your Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain Seesaw's SSH and Cert credentials. The credentials must be keyed with the following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-ssh-ca-key', 'seesaw-ssh-ca-cert'. */ diff --git a/src/apis/notebooks/v1.ts b/src/apis/notebooks/v1.ts index cc948b8400..54f2bf320a 100644 --- a/src/apis/notebooks/v1.ts +++ b/src/apis/notebooks/v1.ts @@ -918,40 +918,6 @@ export namespace notebooks_v1 { */ name?: string | null; } - /** - * Request for migrating a User-Managed Notebook to Workbench Instances. - */ - export interface Schema$MigrateInstanceRequest { - /** - * Optional. Specifies the behavior of post startup script during migration. - */ - postStartupScriptOption?: string | null; - } - /** - * Request for migrating a Runtime to a Workbench Instance. - */ - export interface Schema$MigrateRuntimeRequest { - /** - * Optional. Name of the VPC that the new Instance is in. This is required if the Runtime uses google-managed network. If the Runtime uses customer-owned network, it will reuse the same VPC, and this field must be empty. Format: `projects/{project_id\}/global/networks/{network_id\}` - */ - network?: string | null; - /** - * Optional. Specifies the behavior of post startup script during migration. - */ - postStartupScriptOption?: string | null; - /** - * Optional. Idempotent request UUID. - */ - requestId?: string | null; - /** - * Optional. The service account to be included in the Compute Engine instance of the new Workbench Instance when the Runtime uses "single user only" mode for permission. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. When the Runtime uses service account mode for permission, it will reuse the same service account, and this field must be empty. - */ - serviceAccount?: string | null; - /** - * Optional. Name of the subnet that the new Instance is in. This is required if the Runtime uses google-managed network. If the Runtime uses customer-owned network, it will reuse the same subnet, and this field must be empty. Format: `projects/{project_id\}/regions/{region\}/subnetworks/{subnetwork_id\}` - */ - subnet?: string | null; - } /** * This resource represents a long-running operation that is the result of a network API call. */ @@ -3520,93 +3486,6 @@ export namespace notebooks_v1 { } } - /** - * Migrates an existing User-Managed Notebook to Workbench Instances. - * - * @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. - */ - migrate( - params: Params$Resource$Projects$Locations$Instances$Migrate, - options: StreamMethodOptions - ): GaxiosPromise; - migrate( - params?: Params$Resource$Projects$Locations$Instances$Migrate, - options?: MethodOptions - ): GaxiosPromise; - migrate( - params: Params$Resource$Projects$Locations$Instances$Migrate, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - migrate( - params: Params$Resource$Projects$Locations$Instances$Migrate, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - migrate( - params: Params$Resource$Projects$Locations$Instances$Migrate, - callback: BodyResponseCallback - ): void; - migrate(callback: BodyResponseCallback): void; - migrate( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Instances$Migrate - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Instances$Migrate; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Instances$Migrate; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://notebooks.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}:migrate').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - /** * Registers an existing legacy notebook instance to the Notebooks API server. Legacy instances are instances created with the legacy Compute Engine calls. They are not manageable by the Notebooks API out of the box. This call makes these instances manageable by the Notebooks API. * @@ -5195,18 +5074,6 @@ export namespace notebooks_v1 { */ parent?: string; } - export interface Params$Resource$Projects$Locations$Instances$Migrate - extends StandardParameters { - /** - * Required. Format: `projects/{project_id\}/locations/{location\}/instances/{instance_id\}` - */ - name?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$MigrateInstanceRequest; - } export interface Params$Resource$Projects$Locations$Instances$Register extends StandardParameters { /** @@ -6336,93 +6203,6 @@ export namespace notebooks_v1 { } } - /** - * Migrate an existing Runtime to a new Workbench Instance. - * - * @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. - */ - migrate( - params: Params$Resource$Projects$Locations$Runtimes$Migrate, - options: StreamMethodOptions - ): GaxiosPromise; - migrate( - params?: Params$Resource$Projects$Locations$Runtimes$Migrate, - options?: MethodOptions - ): GaxiosPromise; - migrate( - params: Params$Resource$Projects$Locations$Runtimes$Migrate, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - migrate( - params: Params$Resource$Projects$Locations$Runtimes$Migrate, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - migrate( - params: Params$Resource$Projects$Locations$Runtimes$Migrate, - callback: BodyResponseCallback - ): void; - migrate(callback: BodyResponseCallback): void; - migrate( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Runtimes$Migrate - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Runtimes$Migrate; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Runtimes$Migrate; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://notebooks.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}:migrate').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - /** * Update Notebook Runtime configuration. * @@ -7381,18 +7161,6 @@ export namespace notebooks_v1 { */ parent?: string; } - export interface Params$Resource$Projects$Locations$Runtimes$Migrate - extends StandardParameters { - /** - * Required. Format: `projects/{project_id\}/locations/{location\}/runtimes/{runtime_id\}` - */ - name?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$MigrateRuntimeRequest; - } export interface Params$Resource$Projects$Locations$Runtimes$Patch extends StandardParameters { /** diff --git a/src/apis/recommender/v1beta1.ts b/src/apis/recommender/v1beta1.ts index 079ead3592..6d6394dafe 100644 --- a/src/apis/recommender/v1beta1.ts +++ b/src/apis/recommender/v1beta1.ts @@ -142,6 +142,10 @@ export namespace recommender_v1beta1 { * An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units. A user's permissions may affect whether the cost is computed using list prices or custom contract prices. */ cost?: Schema$GoogleTypeMoney; + /** + * The approximate cost savings in the billing account's local currency. + */ + costInLocalCurrency?: Schema$GoogleTypeMoney; /** * Duration for which this cost applies. */ @@ -515,6 +519,10 @@ export namespace recommender_v1beta1 { * Information for state. Contains state and metadata. */ stateInfo?: Schema$GoogleCloudRecommenderV1beta1RecommendationStateInfo; + /** + * Fully qualified resource names that this recommendation is targeting. + */ + targetResources?: string[] | null; /** * Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied. */ diff --git a/src/apis/run/v1.ts b/src/apis/run/v1.ts index 66f7f6acfd..2a3eb6c7bd 100644 --- a/src/apis/run/v1.ts +++ b/src/apis/run/v1.ts @@ -1403,6 +1403,10 @@ export namespace run_v1 { * Conditions communicate information about ongoing/complete reconciliation processes that bring the "spec" inline with the observed state of the world. As a Revision is being prepared, it will incrementally update conditions. Revision-specific conditions include: * `ResourcesAvailable`: `True` when underlying resources have been provisioned. * `ContainerHealthy`: `True` when the Revision readiness check completes. * `Active`: `True` when the Revision may receive traffic. */ conditions?: Schema$GoogleCloudRunV1Condition[]; + /** + * Output only. The desired number of instances running this revision. For Cloud Run, this only includes instances provisioned using the minScale annotation. It does not include instances created by autoscaling. + */ + desiredReplicas?: number | null; /** * ImageDigest holds the resolved digest for the image specified within .Spec.Container.Image. The digest is resolved during the creation of Revision. This field holds the digest value regardless of whether a tag or digest was originally specified in the Container object. */